Peter Steinberger
3b3c540896
refactor: remove dead branches and test-only helpers ( #121345 )
...
* refactor: remove dead branches and test-only helpers
* fix: preserve codex cleanup error causes
* fix: preserve gateway error code compatibility
* chore: update plugin sdk api baseline
* docs: fix live cache runner path
2026-08-10 06:47:43 -07:00
Vincent Koc
892907bf25
fix(agents): bound Code Mode repair retries ( #115729 )
2026-07-29 15:26:00 +08:00
Peter Steinberger
681535cb8b
fix(code-mode): bound and simplify worker lifecycles ( #114945 )
...
* fix(code-mode): bound and simplify worker lifecycles
* fix(code-mode): keep worker input internal
* fix(code-mode): retry failed wasm initialization safely
* docs(code-mode): explain live node tool budget invariant
* test(code-mode): prove hostless promises fail without worker churn
2026-07-28 02:08:17 -04:00
Peter Steinberger
61bd5af77e
feat(code-mode): first-class skills access ( #114894 )
...
* feat(agents): add code mode skills access
* test(agents): enforce code mode skills prompt parity
* fix(agents): drop stale code mode catalog binding
* test(agents): align embedded skill entry mock
2026-07-28 00:32:03 -04:00
Peter Steinberger
e1ced6de50
fix(code-mode): preserve concurrent tool execution safely ( #114884 )
...
* fix(code-mode): preserve concurrent tool execution safely
* fix(code-mode): keep worker settlement type private
2026-07-27 23:45:21 -04:00
Peter Steinberger
ea707382fd
feat(code-mode): first-class nodes API ( #114877 )
...
* feat(agents): add nodes to code mode
* fix(agents): add code mode nodes discovery hint
2026-07-27 23:03:23 -04:00
Peter Steinberger
3a39dbcdfd
fix(agents): harden code mode module isolation ( #114742 )
2026-07-27 16:38:44 -04:00
Peter Steinberger
0090768b51
refactor(agents): remove runtime migration fallbacks and post-split duplication ( #114355 )
...
* refactor(agents): deduplicate native hook relay facade
* refactor(agents): centralize recovery notice transport
* refactor(agents): share subagent session store readers
* refactor(agents): remove retired runner branches
* refactor(agents): remove runtime orphan-session migration
* refactor(agents): carry prepared session targets
* chore(plugin-sdk): refresh agent harness API baseline
* fix(agents): type shared subagent store entries
* docs(agents): clarify runtime migration invariants
* fix(agents): constrain session target inheritance
* Revert "fix(agents): constrain session target inheritance"
This reverts commit b44cfe73960c422897047ae17adcc13e024dbef9.
* Revert "refactor(agents): carry prepared session targets"
This reverts commit 5abe0a8156c1af1b02cce7ca2be610fd3fe59372.
* fix(agents): align migration ownership and relay exports
* fix(agents): preserve harness compatibility aliases
* fix(agents): trim unused relay options export
2026-07-27 08:02:53 -04:00
Vincent Koc
061b94ad71
refactor(agents): reuse code mode JSON sanitizer ( #112999 )
2026-07-23 18:07:20 +08:00
Peter Steinberger
104691f822
feat(swarm): add QuickJS guest orchestration ( #111298 )
...
* feat(swarm): add QuickJS guest orchestration (#110325 )
* fix(agents): turn-stable swarm replay identity — distinct exec invocations cannot collide
* fix(agents): turn-stable swarm replay identity — distinct exec invocations cannot collide
* fix(agents): turn-stable swarm replay identity — distinct exec invocations cannot collide
2026-07-19 03:58:59 -07:00
Peter Steinberger
57cc2ca308
improve: reduce compact tool orchestration turns ( #109596 )
...
* perf(agents): streamline compact tool orchestration
* fix(agents): preserve compact schema narrowing
* refactor(agents): focus legacy tool-search guidance
* fix(agents): defer MCP compact schema hints
* chore: drop release-owned changelog edit
2026-07-16 20:53:42 -07:00
Peter Steinberger
b39e1cf66f
perf(agents): drain code-mode bridge calls inline within one exec turn ( #109290 )
...
Code mode previously suspended to the model with a waiting result for every
awaited tools.search/describe/call, forcing one wait tool turn per await
(turns = tool calls + 1). Bridge calls now resolve inline within the exec
deadline and resume the QuickJS snapshot host-side, matching the namespace
auto-drain path. Restart-safe runs keep their existing no-drain semantics.
Live proof across OpenAI/Anthropic/Google: ~45% fewer turns and ~45% fewer
input tokens at equal success rate.
Also landed with the same contract:
- one shared wall-clock deadline per exec/wait call (initial worker, inline
drain rounds, and resumed guest interrupt budget all share it)
- park the snapshot instead of resuming when the remaining budget could not
survive VM restore, so near-deadline settles stay recoverable
- abort now terminates the guest worker, skips resume, and drops suspended
runs instead of pinning process-global slots until TTL, reported with the
existing aborted failure code
- exec description omits API.list/MCP/namespace guidance when the run catalog
has no MCP tools or namespaces, so models stop probing an empty surface
- API.list tolerates a trailing-slash prefix like API.list("mcp/")
2026-07-16 13:30:07 -07:00
Peter Steinberger
a34bed409d
refactor(code-mode): consume QuickJS handles
2026-07-14 06:04:09 -07:00
Peter Steinberger
c3505182ba
refactor(code-mode): use quickjs-wasi defaults
2026-07-13 14:12:52 -07:00
Peter Steinberger
6df498c3cd
refactor: canonicalize binary operation results ( #106049 )
...
* refactor(normalization-core): promote shared result type
* refactor(agent-core): reuse canonical error coercion
* refactor: discriminate internal operation results
* docs: establish shared result convention
* fix(agent-core): preserve error coercion facade
* build: derive package entries from exports
* fix(plugins): resolve shared result subpath
* fix(ci): align Result integration guards
* build: refresh plugin SDK API baseline
* fix(agent-core): preserve toError compatibility
2026-07-13 00:39:43 -07:00
qingminlong
08da0d3861
fix(code-mode): report UTF-8 API file byte counts ( #104244 )
...
* fix(code-mode): report UTF-8 API file byte counts
* fix(code-mode): report UTF-8 API file byte counts
* chore(changelog): keep release notes release-owned
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-07-11 05:10:46 -07:00
Dallin Romney
4f4e9a4c78
refactor(shared): consolidate core record guards ( #99359 )
2026-07-02 22:13:17 -07:00
Wynne668
dff45cae4c
fix(code-mode): surface QuickJS error name and message to the model ( #95906 )
...
* fix(code-mode): surface QuickJS error name and message to the model
* fix(code-mode): preserve host error diagnostics
---------
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-07-01 03:07:09 -07:00
mushuiyu886
01abe0a33d
fix(agents): suggest recovery for unknown tool ids ( #93374 )
...
Merged via squash.
Prepared head SHA: bee84e4eb8
Co-authored-by: mushuiyu886 <266724580+mushuiyu886@users.noreply.github.com >
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com >
Reviewed-by: @vincentkoc
2026-06-23 14:20:09 +08:00
Vincent Koc
1b7a6a3138
refactor(code-mode): share VM execution lifecycle
2026-06-22 20:10:43 +08:00
Vincent Koc
2e44610ba2
refactor(agents): dedupe code mode json serialization
2026-06-18 12:38:02 +08:00
Peter Steinberger
31a1034cb5
docs: document code mode helpers
2026-06-04 09:10:13 -04:00
Peter Steinberger
9877f31fdd
docs: document code mode bridge
2026-06-04 01:19:45 -04:00
Peter Steinberger
b653d94918
chore(lint): enable no-useless-assignment
2026-05-31 22:40:48 +01:00
Peter Steinberger
e681569536
feat: add code-mode MCP API files
...
* feat: add code-mode MCP API files
* fix: satisfy code-mode MCP lint
2026-05-31 21:29:06 +01:00
Peter Steinberger
53a9f13cf4
chore(lint): reduce lint suppressions
2026-05-31 11:17:16 +01:00
Peter Steinberger
59694e86d9
chore(lint): enable structured clone rules
2026-05-31 08:34:28 +01:00
Peter Steinberger
287687da20
feat: add internal code mode namespaces ( #88043 )
...
* feat: add internal code mode namespaces
* test: add code mode namespace live proof
* test: add live code mode Docker repro
* chore: keep code mode docker repro out of package scripts
* fix: break code mode namespace type cycle
* fix: clean code mode namespace ci drift
* fix: route code mode namespaces through tools
* fix: preserve explicit agent global sessions
* docs: explain code mode namespace registry
* test: cap realtime websocket payload
* fix: normalize code mode timeout results
* fix: satisfy code mode timeout lint
* chore: rerun code mode CI
* ci: extend node shard silence watchdog
* test: avoid child process mock deadlocks
* test: fix code mode repro shebang
* fix: scope explicit agent sentinel sessions
* test: preserve child process mock actual loader
* fix: dispatch namespace tools by exact id
* test: satisfy restart execFile mock type
2026-05-30 22:42:57 +01:00
Vincent Koc
13c77f00c3
fix(agents): classify code mode deadline interrupts
2026-05-30 18:47:42 +01:00
Peter Steinberger
c2c29588f4
chore: update dependency pins
2026-05-28 18:10:39 +01:00
Peter Steinberger
6814525867
fix: preserve code mode failure output
2026-05-26 00:54:00 +01:00
Kaspre
edab653178
fix(code-mode): return structured worker error codes
2026-05-22 10:36:18 +01:00
Peter Steinberger
0db0979365
fix: harden code mode runtime
2026-05-15 04:16:07 +01:00
Peter Steinberger
0844e771a8
feat: add generic code mode runtime
2026-05-15 04:16:07 +01:00