Repository navigation
fix(desktop): make VNC observation read-only - #23
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 51708f34e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "-forever", | ||
| "-shared", | ||
| "-nopw", | ||
| "-viewonly", |
There was a problem hiding this comment.
Preserve a working secret-entry path
With VNC now unconditionally started as -viewonly, users can no longer type into the lab app through the only live-view channel. The MCP request_user_input guidance in packages/mcp-server/src/tools/user.ts still tells agents to have humans enter passwords/API keys/OTP codes directly into the app “e.g. via VNC”; in those secret-entry flows the user’s keystrokes will be ignored and the agent will stall waiting for confirmation. Please either update that guidance to a supported input path or keep a separate explicitly writable/supervised channel for this case.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in f74d303. Normal --vnc remains server-enforced read-only, while new explicit --vnc-control creates a writable VNC path for human password/API-key/OTP entry. The mode is recorded in session metadata, exposed through CLI/MCP creation, documented as uncoordinated with agent input, and covered by argv plus live fake-VNC session tests. request_user_input guidance now points to the supported flag.
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Changed
--vncsessions server-enforced read-only with-viewonlywhile retaining loopback-only, shared, no-password behavior.--vnc-controlfor human password/API-key/OTP entry and record the VNC mode in session metadata.This is PR 1 of the computer-use roadmap.
picklab watchremains for the later #15 slice.Validated
bun run typecheckbun run test— 562 passed, 2 skipped locallybun run test:coverage— thresholds metbun run buildCI=trueand x11vnc is absentNot tested locally
Risk
--vnc-controlis intentionally writable but does not yet coordinate with agent input; users must pause agent actions while entering a secret. Lease-coordinated takeover remains a later slice.Refs #15
Refs #17