Skip to content

feat: integrate timeroute/wslc-rs fork + native container logs - #5

Merged
timeroute merged 2 commits into
mainfrom
cursor/wslc-fork-native-logs-dd67
Oct 10, 2026
Merged

timeroute merged 2 commits into
mainfrom
cursor/wslc-fork-native-logs-dd67

Conversation

@timeroute

@timeroute timeroute commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

Stop vendoring wslc-rs and depend on the maintained fork timeroute/wslc-rs via a pinned git rev. Wire container Logs through the fork’s LogsOptions API.

Changes

  • Cargo.toml: wslc = { git = "https://github.com/timeroute/wslc-rs", rev = "9fbcd72…" } (includes merged Sdk::load retry fix from fork PR 修复:空控制台窗口 + TitleBar 设置按钮无响应 #3)
  • Remove vendor/wslc-rs/
  • live.rs: Container::logs(LogsOptions::new().tail(200).timestamps(true)) instead of exec log-file scraping
  • README: how to bump the fork rev after your patches

Notes

  • Fork Logs still go through wslc --session <name> container logs (C SDK has no Logs export yet). Requires wslc.exe on PATH (or WSLC_CLI_PATH). Uses the desktop session name wslc-desktop.
  • Do not enable follow in the UI path (sync call would hang).

Test plan

  • cargo test on Linux agent
  • Windows MSI CI (prior commit)
  • Windows MSI CI on this rev bump
  • Windows: open Logs on a running container → CLI-backed log lines
Open in Web Open in Cursor 

cursoragent and others added 2 commits October 10, 2026 11:53
Switch from vendored path dep to git pin on the fork tip; wire
Container::logs(LogsOptions) instead of exec log scraping.

Co-authored-by: 绿岸公式 <chinesejar@gmail.com>
Pin timeroute/wslc-rs @ 9fbcd72 (merged retryable Sdk::load).
Remove obsolete patches/wslc-sys-sdk-load-retryable.patch.

Co-authored-by: 绿岸公式 <chinesejar@gmail.com>
@timeroute
timeroute marked this pull request as ready for review October 10, 2026 12:35
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@timeroute
timeroute merged commit 04f4fd0 into main Oct 10, 2026
1 check passed
@timeroute
timeroute deleted the cursor/wslc-fork-native-logs-dd67 branch October 11, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants