Skip to content

Adopt Synara features: simulator transport, CLI usage reports, WebMCP, MCP proposals, draft previews - #2009

Merged
currentbits merged 12 commits into
mainfrom
coder/synara-adoption
Nov 12, 2026
Merged

currentbits merged 12 commits into
mainfrom
coder/synara-adoption

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Brings over the features shortlisted from researching Synara and its merged PRs. Research: docs/research/2026-11-12-synara.md.

What changes for users

  • iOS Simulator: faster input and live display through an H.264/IOSurface transport. The helper's sandbox allows only those two additions.
  • Browser annotations: element picking stays active while you capture several annotations into one draft.
  • Usage: a separate report of local Claude Code and Codex CLI sessions read from disk. Its costs are marked as estimates, not subscription charges.
  • Browser preview WebMCP: agents can list, call and cancel tools that the open page registers. Access is scoped to that document.
  • MCP connector proposals: agents can propose adding or removing a connector. It only installs after you approve it in chat on the owning computer.
  • Draft previews: hover or focus the pencil marker on a thread card to read its unsent draft. This reuses the marker from Unsent-draft marker, pin and settle shortcuts, next/previous turn and PageUp/PageDown #1770.

Integration notes

The batch was cherry-picked onto current main because the original branch was based on a stale local main. Conflicts with tab audio mute, bug reports, mentions and fusion were additive, and both sides are kept. Compact cards and static renders still show no draft marker, as on main.

Verification

  • Typecheck and IPC preload sync pass. 3,989 of 3,989 renderer tests pass and vite build succeeds.
  • 6,274 Electron tests ran in a CI-like environment. The 19 Cloud Connect failures came from a missing local jose install; once it was installed, those files passed 17 of 17.
  • The local signed package boot probe passes. The packaged helper sources compile, and all nine sandbox checks pass.
  • Not covered: notarization and live-provider handshakes.

Details: docs/research/2026-11-12-synara-batch-verification.md.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T15:16:20.667180Z 70aa770 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 70aa770b35

ℹ️ 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".

Comment thread electron/ipc-insights.js Outdated
if (scope !== "solenta" && scope !== "cli") throw new Error("Invalid usage scope");
if (scope === "cli") {
return cliUsage.read({
instances: require("./services.js").instanceAuthProbes(ctx.store),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pass the user-data path when resolving CLI instance homes

For Claude or Codex instances configured with isolatedHome: true, this call omits ctx.userDataPath. instanceAuthProbes passes that argument to instanceEnv, which deliberately leaves the configuration-directory variable unset when no user-data path is supplied. Consequently, rootsFor never discovers those instances’ provider-homes/<id>/<provider> directories, and the CLI usage report silently excludes their sessions without reporting partial coverage. Pass ctx.userDataPath, as the provider-limits handler already does, so isolated accounts contribute to the report.

Useful? React with 👍 / 👎.

@currentbits

Copy link
Copy Markdown
Owner Author

Fixed the Codex finding in 2605fe8. The CLI usage scope now passes ctx.userDataPath to instanceAuthProbes, as usage:providerLimits already does, so sessions from isolated-home Claude and Codex instances are counted. A regression test in cli-session-usage.test.js fails without the fix.

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