Uh oh!
There was an error while loading. Please reload this page.
feat(codemode): support JSON callbacks - #38006
Merged
Merged
Conversation
Uh oh!
There was an error while loading. Please reload this page.
github-actionsBot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 21, 2026
* upstream/v2: feat(codemode): support JSON callbacks (anomalyco#38006)
github-actionsBot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 21, 2026
* upstream/v2: (23 commits) refactor(codemode): simplify model-facing wording (anomalyco#38042) fix(core): enforce patch EOF anchors (anomalyco#38039) fix(tui): prevent autocomplete search flicker (anomalyco#38128) refactor(core): break plugin host cycle (anomalyco#38120) refactor: extract shared util package (anomalyco#37828) fix: preserve runtime option defaults (anomalyco#38118) refactor(tui): simplify mini footer status line (anomalyco#38112) mini: settle on wait and durable pending (anomalyco#37984) test(app): stabilize offset observer test (anomalyco#38044) feat(codemode): support bounded async iteration (anomalyco#38040) fix(core): normalize CRLF patch lines (anomalyco#38038) fix(core): accept padded patch markers (anomalyco#38036) fix(core): compose successive patch updates (anomalyco#38034) feat(codemode): support labeled control flow (anomalyco#38035) fix(core): improve patch errors (anomalyco#38016) fix(server): allow authenticated CORS preflight (anomalyco#38026) feat(codemode): support JSON callbacks (anomalyco#38006) fix: remove legacy sdk from ci builds removed packages/opencode fix(server): preserve v1 auth compatibility ...
github-actionsBot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 21, 2026
* upstream/v2: (24 commits) feat(cli): port ACP to V2 (anomalyco#37907) refactor(codemode): simplify model-facing wording (anomalyco#38042) fix(core): enforce patch EOF anchors (anomalyco#38039) fix(tui): prevent autocomplete search flicker (anomalyco#38128) refactor(core): break plugin host cycle (anomalyco#38120) refactor: extract shared util package (anomalyco#37828) fix: preserve runtime option defaults (anomalyco#38118) refactor(tui): simplify mini footer status line (anomalyco#38112) mini: settle on wait and durable pending (anomalyco#37984) test(app): stabilize offset observer test (anomalyco#38044) feat(codemode): support bounded async iteration (anomalyco#38040) fix(core): normalize CRLF patch lines (anomalyco#38038) fix(core): accept padded patch markers (anomalyco#38036) fix(core): compose successive patch updates (anomalyco#38034) feat(codemode): support labeled control flow (anomalyco#38035) fix(core): improve patch errors (anomalyco#38016) fix(server): allow authenticated CORS preflight (anomalyco#38026) feat(codemode): support JSON callbacks (anomalyco#38006) fix: remove legacy sdk from ci builds removed packages/opencode ...
github-actionsBot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 21, 2026
* upstream/v2: (24 commits) feat(cli): port ACP to V2 (anomalyco#37907) refactor(codemode): simplify model-facing wording (anomalyco#38042) fix(core): enforce patch EOF anchors (anomalyco#38039) fix(tui): prevent autocomplete search flicker (anomalyco#38128) refactor(core): break plugin host cycle (anomalyco#38120) refactor: extract shared util package (anomalyco#37828) fix: preserve runtime option defaults (anomalyco#38118) refactor(tui): simplify mini footer status line (anomalyco#38112) mini: settle on wait and durable pending (anomalyco#37984) test(app): stabilize offset observer test (anomalyco#38044) feat(codemode): support bounded async iteration (anomalyco#38040) fix(core): normalize CRLF patch lines (anomalyco#38038) fix(core): accept padded patch markers (anomalyco#38036) fix(core): compose successive patch updates (anomalyco#38034) feat(codemode): support labeled control flow (anomalyco#38035) fix(core): improve patch errors (anomalyco#38016) fix(server): allow authenticated CORS preflight (anomalyco#38026) feat(codemode): support JSON callbacks (anomalyco#38006) fix: remove legacy sdk from ci builds removed packages/opencode ...
github-actionsBot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 21, 2026
* upstream/v2: (26 commits) fix(core): refresh model catalog every five minutes (anomalyco#38142) feat(util): configure package publishing (anomalyco#38129) feat(cli): port ACP to V2 (anomalyco#37907) refactor(codemode): simplify model-facing wording (anomalyco#38042) fix(core): enforce patch EOF anchors (anomalyco#38039) fix(tui): prevent autocomplete search flicker (anomalyco#38128) refactor(core): break plugin host cycle (anomalyco#38120) refactor: extract shared util package (anomalyco#37828) fix: preserve runtime option defaults (anomalyco#38118) refactor(tui): simplify mini footer status line (anomalyco#38112) mini: settle on wait and durable pending (anomalyco#37984) test(app): stabilize offset observer test (anomalyco#38044) feat(codemode): support bounded async iteration (anomalyco#38040) fix(core): normalize CRLF patch lines (anomalyco#38038) fix(core): accept padded patch markers (anomalyco#38036) fix(core): compose successive patch updates (anomalyco#38034) feat(codemode): support labeled control flow (anomalyco#38035) fix(core): improve patch errors (anomalyco#38016) fix(server): allow authenticated CORS preflight (anomalyco#38026) feat(codemode): support JSON callbacks (anomalyco#38006) ...
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 freeto 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
JSON.parserevivers andJSON.stringifyfunction replacersTest262 coverage
Adapted relevant cases from Test262 revision
250f204f23a9249ff204be2baec29600faae7b75, matching the revision used by the existing CodeMode parity suites. Coverage includes reviver traversal/deletion/root replacement and replacer traversal/results/errors/array property lists.Intentional boundaries
this; callbacks receive key/value arguments without holder context.__proto__,constructor,prototype) remain rejected before callback traversalVerification
bun test(982 pass)bun typecheck