Skip to content

feat: follow control-plane theme in embedded UIs and register AIS once - #13

Merged
dufangshi merged 1 commit into
mainfrom
feat/embed-ui-follow-theme
Sep 5, 2026
Merged

dufangshi merged 1 commit into
mainfrom
feat/embed-ui-follow-theme

Conversation

@dufangshi

Copy link
Copy Markdown
Contributor

Summary

  • Embedded Agent Interface iframes follow Treer Light/Dark (theme query, iframe color-scheme, treer:embed-theme postMessage).
  • AIS registration happens once at Agent start. Repeating treer interface register still rewrites registered_at and remounts the UI, which is the intended contract.
  • ACP launcher and ais-kit sidecar no longer refresh registration every 20 seconds (that loop was remounting thread UI).
  • Pins Remote Codex UI to c8d5006 on feat/treer-presentation-flags.

Test plan

  • pnpm typecheck in web
  • Playwright e2e/embed-ui.spec.ts (theme follow + registered_at remount)
  • ACP launcher profile unit tests

Pass Treer Light/Dark into the Agent Interface iframe and keep the
iframe key tied to registered_at so a real re-register remounts the UI.
ACP and ais-kit now register the interface once at start instead of
refreshing every 20 seconds, which was remounting the thread UI.
@dufangshi
dufangshi merged commit d93e6a9 into main Sep 5, 2026
1 check passed
@dufangshi
dufangshi deleted the feat/embed-ui-follow-theme branch September 5, 2026 03:14
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