Repository navigation
feat(monaco-editor): add Octane binding - #441
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
zhsama
marked this pull request as ready for review
July 31, 2026 17:58
leonidaz
marked this pull request as draft
July 31, 2026 22:06
Preserve the latest root scripts while keeping Monaco in binding typechecks. Add Monaco to llms.txt, refresh eval lockfile digests, and update React parity integrity evidence.
zhsama
marked this pull request as ready for review
August 4, 2026 09:52
…binding # Conflicts: # docs/packages.md # packages/hook-form/audit/react-parity.json # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl # pnpm-workspace.yaml
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 324dc96. Configure here.
…binding # Conflicts: # docs/binding-parity-gaps.md # docs/bindings-status.md # docs/packages.md # package.json # packages/hook-form/audit/react-parity.json # packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl # packages/octane-mcp-server/src/bridge.js # pnpm-lock.yaml # website/public/llms.txt
Contributor
Author
|
I’ve resolved the merge conflicts against the latest main and addressed the remaining review feedback. The fixes are pushed, and the Monaco package tests (27/27), typecheck, generated-file checks, and formatting checks pass. |
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
@octanejs/monaco-editor, matching the public@monaco-editor/[email protected]Editor, DiffEditor, loader, anduseMonacosurface without a React runtime.Why
Changes
mainworkspace scripts and refresh generated/parity metadata required by CI.Validation
pnpm --dir packages/monaco-editor test— 4 files / 25 testspnpm --dir packages/monaco-editor typecheckpnpm changeset:checkandpnpm tsrx-decls:checkpnpm test— 1,533 files / 16,243 testspnpm typecheckpnpm react-parity:validateandpnpm react-parity:checkpnpm syncpnpm format:checkRisk / follow-ups
Provenance
agent-authored)Note
Medium Risk
New editor binding with complex async loader and model ownership semantics; SSR/hydration for live Monaco is explicitly not yet verified separately.
Overview
Introduces
@octanejs/monaco-editor, a new framework binding that mirrors@monaco-editor/[email protected](Editor,DiffEditor,loader,useMonaco, and the public prop/callback types) on compiled Octane components with no React runtime.monaco-editorand@monaco-editor/loaderare consumed unchanged; the adapter layer is re-authored in TSRX with client-only Monaco construction behind a deterministic SSR loading shell.The implementation adds controlled value/path/language/theme/options sync, view-state restoration keyed by model identity, validation callbacks, loader cancelation guards, and ownership-aware model leasing/disposal (including
keepCurrent*Modeland shared path models). Vitest coverage spans editor/diff behavior, loader races, public export parity vs upstream, and type tests; workspace CI wiresbindings:typecheck, a vitest project, generated docs/inventory/status, CLIoctane-data, and a patch changeset.Reviewed by Cursor Bugbot for commit cdadd22. Bugbot is set up for automated code reviews on this repo. Configure here.