Skip to content

Hide managed private Chrome artifacts in Work-only mode - #109

Open
moritzWa wants to merge 1 commit into
mainfrom
private-artifact-windows
Open

moritzWa wants to merge 1 commit into
mainfrom
private-artifact-windows

Conversation

@moritzWa

Copy link
Copy Markdown
Owner

What changes

  • The shell's existing artifact open path can ask Better Agent View to route local HTML/SVG from its originating OpenCode session. Work opens fall through. Private opens create an exact, registered Chrome tab; no new model tool or extension.
  • The existing view toggle closes only registered tabs in Work-only and reopens them from disk in All Sessions. Opens requested during Work-only wait until All Sessions. This intentionally does not preserve JavaScript state.
  • Uses a local owner-only registry, checks Chrome launch/window/tab identity and exact URL, and serializes opens with the toggle. No existing-tab adoption, MCP changes, or upload.

Verified

  • Full macOS Rust suite (including the Work-only PTY and origin classification integration tests); focused artifact regressions again after tightening tab mutation checks.
  • AppleScript compiles on macOS; shell wrapper self-test and mock route checks passed.
  • Live visible Chrome Automation still needs a disposable macOS GUI smoke test: keep an unregistered duplicate URL and an unrelated window open; open one managed artifact, toggle Work-only and back, and confirm only the managed tab closes/reappears. No host browser was changed.

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.

1 participant