Skip to content

feat(mygo): expose desktop host input, geometry and theme APIs - #276

Merged
tiensonqin merged 7 commits into
mainfrom
host-theme-defaults
Oct 25, 2026
Merged

tiensonqin merged 7 commits into
mainfrom
host-theme-defaults

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Expose production embedding APIs needed by the native desktop host, with one coherent pinned MyGo revision:

  • Backend.InputNode resolves committed input ancestry and rejects remounted node incarnations.
  • Backend.TextGeometry / CommittedBounds expose committed, expiring retained text geometry without re-shaping or a second editable document.
  • Backend.SetThemeDefaults / ResolveColor install per-window authored palettes with subtree scoping; ComputeThemeVariables / ResolveThemeValue handle nested variables and invalid cycles.

Includes the input and text-geometry branches and pins the combined MyGo runtime. Lifetimes, migration examples and compatibility rules are recorded in docs/api-migrations.md.

Validated locally: go test ./..., go test -race ./..., go vet ./..., go build ./... in platform/mygo, using the downloaded pinned dependency, without a workspace override. No UI-driven testing.

Link to Devin session: https://app.devin.ai/sessions/4a14d15bc6d44d18a9254cd088d5cc5e
Open in Devin Desktop: https://app.devin.ai/desktop/session/4a14d15bc6d44d18a9254cd088d5cc5e?variant=devin
Requested by: @tiensonqin

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot changed the title feat(mygo): expose host theme defaults and scoped color resolution feat(mygo): expose desktop host input, geometry and theme APIs Oct 25, 2026
@tiensonqin
tiensonqin merged commit cef0788 into main Oct 25, 2026
15 checks passed
@tiensonqin
tiensonqin deleted the host-theme-defaults branch October 25, 2026 20:51
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