Skip to content

Connect Cloud opens the solver toggle's connect flow (#200 AC6) - #201

Merged
kateebonner merged 1 commit into
mainfrom
kate/connect-cloud-reroute-200
Jul 22, 2026
Merged

kateebonner merged 1 commit into
mainfrom
kate/connect-cloud-reroute-200

Conversation

@kateebonner

Copy link
Copy Markdown
Contributor

Extension-side of #200 — with the solver toggle owning the Company Compute connection (fork PR harmoniqs/opencode#45), every entrance converges on that one flow:

  • Amico: Connect Cloud now opens/reveals the chat panel and deep-links the defaults capsule straight into its compute-connect form (new open-compute-connect bridge envelope, posted now + 1.5s for fresh-panel iframe timing; app side is idempotent within a 15s freshness window). The legacy input-box prompt survives only as the no-server fallback.
  • Bridge relay: extension→iframe lane forwards the new envelope kind.
  • Agent copy: the unconnected-HP refusal names the solver control first, with the palette command described as the same flow.

Verification: pnpm run typecheck clean (amico-run + extension) · extension 713/718 pass (5 pre-existing skips) · no test coverage existed on the old copy/command wiring.

Depends on harmoniqs/opencode#45 reaching a vendored release — until the repin, the deep-link envelope lands in an app that doesn't listen for it (harmless no-op; the fallback copy still guides users).

Closes #200

🤖 Generated with Claude Code

… AC6)

The solver toggle owns the Company Compute connection (fork PR harmoniqs/opencode#45),
so every entrance now converges on that ONE ui flow:

- amicode.setCloudKey deep-links the chat panel into the capsule's connect
  form via a new 'open-compute-connect' bridge envelope (posted now + 1.5s so
  a freshly created panel's iframe catches it; app-side idempotent within its
  freshness window). Legacy input-box prompt remains only as the fallback
  when no ready server exists to host the panel.
- chat_panel relay: the extension→iframe lane forwards the new envelope kind
  (allowlist unchanged otherwise).
- agent routing copy points at the solver control first, naming the palette
  command as the same flow.

Closes #200

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kateebonner
kateebonner marked this pull request as ready for review July 22, 2026 20:01
@kateebonner
kateebonner merged commit d5a5282 into main Jul 22, 2026
5 checks passed
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.

Relocate Company Compute connection into the HP solver toggle

1 participant