stitchkit 0.132.2 → 0.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +181 -1
- package/dist/agent-executor/acp/v1-connect.d.ts +12 -1
- package/dist/agent-executor/acp/v1-connect.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-driver.d.ts +3 -1
- package/dist/agent-executor/acp/v1-driver.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-handlers.d.ts +9 -1
- package/dist/agent-executor/acp/v1-handlers.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-permission.d.ts +3 -2
- package/dist/agent-executor/acp/v1-permission.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-probe.d.ts +10 -1
- package/dist/agent-executor/acp/v1-probe.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-session.d.ts +11 -2
- package/dist/agent-executor/acp/v1-session.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-turn.d.ts +13 -10
- package/dist/agent-executor/acp/v1-turn.d.ts.map +1 -1
- package/dist/agent-executor/claude/cli-driver.d.ts +6 -0
- package/dist/agent-executor/claude/cli-driver.d.ts.map +1 -1
- package/dist/agent-executor/claude/record-router.d.ts +44 -0
- package/dist/agent-executor/claude/record-router.d.ts.map +1 -0
- package/dist/agent-executor/claude/session.d.ts +2 -0
- package/dist/agent-executor/claude/session.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/controls.d.ts +1 -0
- package/dist/agent-executor/claude-sdk/controls.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/driver.d.ts +20 -2
- package/dist/agent-executor/claude-sdk/driver.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/engine-spawn.d.ts +18 -0
- package/dist/agent-executor/claude-sdk/engine-spawn.d.ts.map +1 -0
- package/dist/agent-executor/claude-sdk/query-loop.d.ts +9 -7
- package/dist/agent-executor/claude-sdk/query-loop.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/query-manager.d.ts +42 -0
- package/dist/agent-executor/claude-sdk/query-manager.d.ts.map +1 -0
- package/dist/agent-executor/claude-sdk/query-options.d.ts +4 -1
- package/dist/agent-executor/claude-sdk/query-options.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/session.d.ts.map +1 -1
- package/dist/agent-executor/codex/capabilities.d.ts +8 -0
- package/dist/agent-executor/codex/capabilities.d.ts.map +1 -0
- package/dist/agent-executor/codex/connect.d.ts +6 -1
- package/dist/agent-executor/codex/connect.d.ts.map +1 -1
- package/dist/agent-executor/codex/driver.d.ts +10 -0
- package/dist/agent-executor/codex/driver.d.ts.map +1 -1
- package/dist/agent-executor/codex/event-routing.d.ts +23 -1
- package/dist/agent-executor/codex/event-routing.d.ts.map +1 -1
- package/dist/agent-executor/codex/handlers.d.ts +24 -4
- package/dist/agent-executor/codex/handlers.d.ts.map +1 -1
- package/dist/agent-executor/codex/limits.d.ts +17 -0
- package/dist/agent-executor/codex/limits.d.ts.map +1 -1
- package/dist/agent-executor/codex/request-answers.d.ts +23 -3
- package/dist/agent-executor/codex/request-answers.d.ts.map +1 -1
- package/dist/agent-executor/codex/session-bind.d.ts +6 -1
- package/dist/agent-executor/codex/session-bind.d.ts.map +1 -1
- package/dist/agent-executor/codex/session-types.d.ts +5 -1
- package/dist/agent-executor/codex/session-types.d.ts.map +1 -1
- package/dist/agent-executor/codex/session.d.ts.map +1 -1
- package/dist/agent-executor/codex/shared-server.d.ts.map +1 -1
- package/dist/agent-executor/codex/shared-thread.d.ts +7 -7
- package/dist/agent-executor/codex/shared-thread.d.ts.map +1 -1
- package/dist/agent-executor/codex/thread-open.d.ts +12 -3
- package/dist/agent-executor/codex/thread-open.d.ts.map +1 -1
- package/dist/agent-executor/engine-requests.d.ts +42 -0
- package/dist/agent-executor/engine-requests.d.ts.map +1 -1
- package/dist/agent-executor/handoff-schemas.d.ts.map +1 -1
- package/dist/agent-executor/handoff.d.ts.map +1 -1
- package/dist/agent-executor/image-input.d.ts +6 -5
- package/dist/agent-executor/image-input.d.ts.map +1 -1
- package/dist/agent-executor/profile.d.ts +3 -5
- package/dist/agent-executor/profile.d.ts.map +1 -1
- package/dist/agent-executor/session-primitives.d.ts +64 -3
- package/dist/agent-executor/session-primitives.d.ts.map +1 -1
- package/dist/agent-executor/testing/claude-sdk-stubs.d.ts +5 -0
- package/dist/agent-executor/testing/claude-sdk-stubs.d.ts.map +1 -0
- package/dist/agent-executor/testing/conformance-lifecycle.d.ts +11 -0
- package/dist/agent-executor/testing/conformance-lifecycle.d.ts.map +1 -0
- package/dist/agent-executor/testing/conformance-support.d.ts +23 -0
- package/dist/agent-executor/testing/conformance-support.d.ts.map +1 -0
- package/dist/agent-executor/testing/conformance.d.ts +7 -2
- package/dist/agent-executor/testing/conformance.d.ts.map +1 -1
- package/dist/agent-executor/testing/consumer-stubs.d.ts +5 -3
- package/dist/agent-executor/testing/consumer-stubs.d.ts.map +1 -1
- package/dist/agent-executor/testing/fake-codex-app-server.d.ts +5 -1
- package/dist/agent-executor/testing/fake-codex-app-server.d.ts.map +1 -1
- package/dist/agent-executor/testing/replay-driver.d.ts +6 -0
- package/dist/agent-executor/testing/replay-driver.d.ts.map +1 -1
- package/dist/agent-executor/testing/replay-gate.d.ts +4 -1
- package/dist/agent-executor/testing/replay-gate.d.ts.map +1 -1
- package/dist/agent-runtime/deferred-tool-types.d.ts +2 -0
- package/dist/agent-runtime/deferred-tool-types.d.ts.map +1 -1
- package/dist/agent-runtime/deferred-tools.d.ts.map +1 -1
- package/dist/agent-runtime/sql-rows.d.ts +10 -10
- package/dist/agent-runtime/store-conformance-lifecycle.d.ts +20 -20
- package/dist/agent-runtime/store-conformance-support.d.ts +10 -10
- package/dist/agent-runtime/terminal-commit.d.ts +10 -10
- package/dist/browser/client.d.ts.map +1 -1
- package/dist/browser/operation-refusal.d.ts +10 -0
- package/dist/browser/operation-refusal.d.ts.map +1 -0
- package/dist/contract/client-types.d.ts +13 -4
- package/dist/contract/client-types.d.ts.map +1 -1
- package/dist/contract/define-validation.d.ts +6 -0
- package/dist/contract/define-validation.d.ts.map +1 -1
- package/dist/contract/define.d.ts +3 -0
- package/dist/contract/define.d.ts.map +1 -1
- package/dist/contract/errors-factory.d.ts +8 -2
- package/dist/contract/errors-factory.d.ts.map +1 -1
- package/dist/contract/errors.d.ts +9 -0
- package/dist/contract/errors.d.ts.map +1 -1
- package/dist/contract/fingerprint.d.ts +4 -1
- package/dist/contract/fingerprint.d.ts.map +1 -1
- package/dist/contract/operation-refusals.d.ts +51 -0
- package/dist/contract/operation-refusals.d.ts.map +1 -0
- package/dist/contract/tool-options.d.ts +4 -0
- package/dist/contract/tool-options.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/acp.js +254 -196
- package/dist/entrypoints/agent-executor/claude-sdk.js +467 -294
- package/dist/entrypoints/agent-executor/claude.js +130 -99
- package/dist/entrypoints/agent-executor/codex.js +441 -314
- package/dist/entrypoints/agent-executor/testing/claude-sdk.d.ts +3 -0
- package/dist/entrypoints/agent-executor/testing/claude-sdk.d.ts.map +1 -0
- package/dist/entrypoints/agent-executor/testing/claude-sdk.js +329 -0
- package/dist/entrypoints/agent-executor/testing.d.ts +1 -2
- package/dist/entrypoints/agent-executor/testing.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/testing.js +413 -667
- package/dist/entrypoints/agent-executor.d.ts +1 -1
- package/dist/entrypoints/agent-executor.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor.js +12 -12
- package/dist/entrypoints/agent-runtime/browser.js +2 -2
- package/dist/entrypoints/agent-runtime/coding-tools.js +3 -3
- package/dist/entrypoints/agent-runtime/harness.js +8 -8
- package/dist/entrypoints/agent-runtime/postgres.js +5 -5
- package/dist/entrypoints/agent-runtime/realtime.js +2 -2
- package/dist/entrypoints/agent-runtime/sandbox.js +3 -3
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +6 -6
- package/dist/entrypoints/agent-runtime/sqlite/node.js +6 -6
- package/dist/entrypoints/agent-runtime/testing.js +5 -5
- package/dist/entrypoints/agent-runtime.js +26 -18
- package/dist/entrypoints/application/grammy.js +1 -1
- package/dist/entrypoints/application.js +2 -2
- package/dist/entrypoints/cli.js +8 -8
- package/dist/entrypoints/contract.d.ts +3 -2
- package/dist/entrypoints/contract.d.ts.map +1 -1
- package/dist/entrypoints/contract.js +6 -4
- package/dist/entrypoints/files/packaging.d.ts +4 -1
- package/dist/entrypoints/files/packaging.d.ts.map +1 -1
- package/dist/entrypoints/files/packaging.js +868 -167
- package/dist/entrypoints/files.js +1 -1
- package/dist/entrypoints/handler.js +7 -7
- package/dist/entrypoints/http.js +2 -2
- package/dist/entrypoints/index.js +10 -8
- package/dist/entrypoints/node.js +11 -11
- package/dist/entrypoints/observability.js +1 -1
- package/dist/entrypoints/process/bootstrap.d.ts +3 -0
- package/dist/entrypoints/process/bootstrap.d.ts.map +1 -0
- package/dist/entrypoints/process/bootstrap.js +16 -0
- package/dist/entrypoints/process.js +7 -7
- package/dist/entrypoints/realtime.js +3 -3
- package/dist/entrypoints/remote.js +8 -7
- package/dist/entrypoints/server.js +30 -14
- package/dist/entrypoints/service-host/macos.js +72 -206
- package/dist/entrypoints/service-host/work.d.ts +15 -0
- package/dist/entrypoints/service-host/work.d.ts.map +1 -0
- package/dist/entrypoints/service-host/work.js +676 -0
- package/dist/entrypoints/service-host.js +146 -536
- package/dist/entrypoints/telegram/screens.js +4 -4
- package/dist/entrypoints/telegram.js +4 -4
- package/dist/entrypoints/testing.d.ts +2 -1
- package/dist/entrypoints/testing.d.ts.map +1 -1
- package/dist/entrypoints/testing.js +27 -8
- package/dist/entrypoints/tools/agent.js +6 -6
- package/dist/entrypoints/tools/connections.js +2 -2
- package/dist/entrypoints/tools/invoker.js +5 -5
- package/dist/entrypoints/tools/mcp.js +8 -6
- package/dist/entrypoints/tools/toolkit.js +11 -9
- package/dist/entrypoints/tools.js +19 -17
- package/dist/entrypoints/tracking/contract.js +1 -1
- package/dist/entrypoints/tracking/performance.js +3 -3
- package/dist/files/client-artifact.d.ts +14 -42
- package/dist/files/client-artifact.d.ts.map +1 -1
- package/dist/files/client-build.d.ts +57 -0
- package/dist/files/client-build.d.ts.map +1 -0
- package/dist/files/client-declarations.d.ts +35 -0
- package/dist/files/client-declarations.d.ts.map +1 -0
- package/dist/files/client-package-contract.d.ts +162 -0
- package/dist/files/client-package-contract.d.ts.map +1 -0
- package/dist/files/client-package-proof.d.ts +38 -0
- package/dist/files/client-package-proof.d.ts.map +1 -0
- package/dist/files/client-package.d.ts +17 -0
- package/dist/files/client-package.d.ts.map +1 -0
- package/dist/files/declaration-specifiers.d.ts +30 -0
- package/dist/files/declaration-specifiers.d.ts.map +1 -0
- package/dist/{index-v759mzed.js → index-02r5sq9p.js} +36 -23
- package/dist/{index-0r15pkjq.js → index-0k1ba0ss.js} +1 -1
- package/dist/{index-znd1b57f.js → index-1dn2wjq6.js} +5 -4
- package/dist/{index-p06z7g7w.js → index-1p8q0yrt.js} +6 -5
- package/dist/{index-wa6h4tz6.js → index-1qwd54n3.js} +6 -5
- package/dist/index-2dzc7mv9.js +174 -0
- package/dist/index-2mz8hj58.js +155 -0
- package/dist/{index-17qgm6xe.js → index-34k82crg.js} +2 -2
- package/dist/index-3mcbr8sx.js +349 -0
- package/dist/{index-ybdq8kk2.js → index-3y2tzhr8.js} +3 -3
- package/dist/{index-fgahdc7s.js → index-5n3a8hd8.js} +5 -3
- package/dist/{index-jb4m241t.js → index-6918kxbf.js} +45 -1
- package/dist/{index-n3bm7zqq.js → index-6kmjcm81.js} +4 -4
- package/dist/{index-akf0xkrm.js → index-78da4g74.js} +1 -1
- package/dist/{index-9pv126eh.js → index-7fjbdga8.js} +7 -1
- package/dist/{index-zhshhxew.js → index-8jf4bt7v.js} +1 -1
- package/dist/{index-p16q492v.js → index-8t9dr41h.js} +18 -5
- package/dist/{index-xq4s9mka.js → index-8yt3rwe7.js} +1 -1
- package/dist/{index-39c2hj6h.js → index-9c76vfxf.js} +7 -3
- package/dist/index-9ft4n9j1.js +432 -0
- package/dist/{index-sd4e5x5j.js → index-9wdrwx3b.js} +8 -7
- package/dist/{index-z114ax5e.js → index-an7vcmwf.js} +49 -2
- package/dist/{index-pzhqydxb.js → index-d04w81fz.js} +1 -1
- package/dist/index-d2drhb9c.js +219 -0
- package/dist/{index-8gmmdz7k.js → index-dacxr7nf.js} +1 -1
- package/dist/{index-dnzxxf8a.js → index-dm6nxkn1.js} +1 -1
- package/dist/index-dxft2mnm.js +42 -0
- package/dist/{index-rxh3qy4x.js → index-fzd477xk.js} +1 -1
- package/dist/{index-xgae0bn7.js → index-g4gstmp1.js} +2 -2
- package/dist/{index-athc412x.js → index-g5fgeb6v.js} +1 -1
- package/dist/{index-z9d74jmb.js → index-gbhj370g.js} +3 -3
- package/dist/{index-3fym4j8n.js → index-gtaaxe9d.js} +1 -1
- package/dist/{index-v59pxmf1.js → index-jpecjm30.js} +2 -2
- package/dist/index-k9g061ma.js +164 -0
- package/dist/{index-669374qc.js → index-ma26mfnt.js} +84 -315
- package/dist/{index-ryxb427v.js → index-msxf2r8x.js} +16 -3
- package/dist/{index-rbd2rq3z.js → index-nr4fhfn4.js} +1 -1
- package/dist/{index-qa2jjb65.js → index-pbekeqzm.js} +1 -1
- package/dist/{index-mkfhpk11.js → index-pq6g1k9t.js} +2 -2
- package/dist/{index-gya4hwh3.js → index-pws5c3x6.js} +21 -1
- package/dist/{index-x2fb37t0.js → index-q427q23r.js} +3 -2
- package/dist/{index-jcrj0b8z.js → index-qggqqja2.js} +39 -2
- package/dist/{index-jxtg307y.js → index-rkjfzs0a.js} +1 -1
- package/dist/{index-5tdc0q43.js → index-rw8ze745.js} +5 -3
- package/dist/index-s43tr4my.js +129 -0
- package/dist/{index-f9p62ean.js → index-stpy56r3.js} +175 -249
- package/dist/index-t5g5rm9n.js +213 -0
- package/dist/{index-z20pdxeb.js → index-tmv3ez1h.js} +3 -3
- package/dist/{index-dcsxj68j.js → index-tqjamnax.js} +1 -1
- package/dist/{index-j15dhkda.js → index-wddcfbng.js} +1 -325
- package/dist/{index-9sfhje6y.js → index-wh70tmpd.js} +24 -234
- package/dist/index-wxjv4sqx.js +82 -0
- package/dist/{index-qhjmmsm2.js → index-x46y9z26.js} +2 -2
- package/dist/{index-nk0cy9g1.js → index-y53cqwke.js} +1 -1
- package/dist/{index-sv5svtq7.js → index-y68gavb5.js} +1 -1
- package/dist/{index-5y7j383h.js → index-yrhw10ef.js} +1 -1
- package/dist/process/bootstrap.d.ts +12 -0
- package/dist/process/bootstrap.d.ts.map +1 -0
- package/dist/process/owner-loss-guard.d.ts +2 -9
- package/dist/process/owner-loss-guard.d.ts.map +1 -1
- package/dist/process/work-root.d.ts +20 -0
- package/dist/process/work-root.d.ts.map +1 -0
- package/dist/server/contract-identity.d.ts.map +1 -1
- package/dist/server/contract-method.d.ts +12 -0
- package/dist/server/contract-method.d.ts.map +1 -1
- package/dist/server/implement.d.ts.map +1 -1
- package/dist/server/openapi.d.ts.map +1 -1
- package/dist/server/types.d.ts +10 -9
- package/dist/server/types.d.ts.map +1 -1
- package/dist/service-host/host-adapter.d.ts +2 -0
- package/dist/service-host/host-adapter.d.ts.map +1 -1
- package/dist/service-host/work/command.d.ts +72 -0
- package/dist/service-host/work/command.d.ts.map +1 -0
- package/dist/service-host/work/errors.d.ts +29 -0
- package/dist/service-host/work/errors.d.ts.map +1 -0
- package/dist/service-host/work/host.d.ts +38 -0
- package/dist/service-host/work/host.d.ts.map +1 -0
- package/dist/service-host/work/launch.d.ts +51 -0
- package/dist/service-host/work/launch.d.ts.map +1 -0
- package/dist/service-host/work/membership.d.ts +51 -0
- package/dist/service-host/work/membership.d.ts.map +1 -0
- package/dist/service-host/work/origin.d.ts +79 -0
- package/dist/service-host/work/origin.d.ts.map +1 -0
- package/dist/service-host/work/owner.d.ts +45 -0
- package/dist/service-host/work/owner.d.ts.map +1 -0
- package/dist/service-host/work/placement.d.ts +55 -0
- package/dist/service-host/work/placement.d.ts.map +1 -0
- package/dist/service-host/work/probe.d.ts +24 -0
- package/dist/service-host/work/probe.d.ts.map +1 -0
- package/dist/service-host/work/scope-command.d.ts +68 -0
- package/dist/service-host/work/scope-command.d.ts.map +1 -0
- package/dist/sync/session.d.ts +4 -1
- package/dist/sync/session.d.ts.map +1 -1
- package/dist/testing/surface-manifest-digest.d.ts +2 -0
- package/dist/testing/surface-manifest-digest.d.ts.map +1 -1
- package/dist/testing/surface-manifest.d.ts +32 -3
- package/dist/testing/surface-manifest.d.ts.map +1 -1
- package/dist/tools/agent.d.ts +2 -0
- package/dist/tools/agent.d.ts.map +1 -1
- package/dist/tools/cli/stream-surface.d.ts.map +1 -1
- package/dist/tools/internal/mcp-projection.d.ts +58 -0
- package/dist/tools/internal/mcp-projection.d.ts.map +1 -0
- package/dist/tools/internal/surface-projector.d.ts +3 -47
- package/dist/tools/internal/surface-projector.d.ts.map +1 -1
- package/dist/tools/invoker.d.ts +2 -0
- package/dist/tools/invoker.d.ts.map +1 -1
- package/dist/tools/manifest.d.ts +2 -0
- package/dist/tools/manifest.d.ts.map +1 -1
- package/dist/tools/mcp/handler.d.ts.map +1 -1
- package/dist/tools/mcp/lazy-discovery.d.ts.map +1 -1
- package/dist/tools/mcp/mount.d.ts +4 -0
- package/dist/tools/mcp/mount.d.ts.map +1 -1
- package/dist/tools/mcp/prepare.d.ts +5 -2
- package/dist/tools/mcp/prepare.d.ts.map +1 -1
- package/dist/tools/mount.d.ts +2 -0
- package/dist/tools/mount.d.ts.map +1 -1
- package/dist/tools/remote.d.ts.map +1 -1
- package/dist/tools/schema/nesting-limit.d.ts +8 -0
- package/dist/tools/schema/nesting-limit.d.ts.map +1 -0
- package/dist/tools/schema/presentation.d.ts +7 -0
- package/dist/tools/schema/presentation.d.ts.map +1 -1
- package/dist/tools/surface.d.ts.map +1 -1
- package/llms/agent-executor-acp.txt +3 -3
- package/llms/agent-executor-claude-sdk.txt +1 -1
- package/llms/agent-executor-claude.txt +1 -1
- package/llms/agent-executor-codex.txt +1 -1
- package/llms/agent-executor-testing-claude-sdk.txt +28 -0
- package/llms/agent-executor-testing.txt +7 -8
- package/llms/agent-executor.txt +27 -4
- package/llms/agent-runtime.txt +1 -1
- package/llms/contract.txt +8 -2
- package/llms/files-packaging.txt +11 -6
- package/llms/process-bootstrap.txt +18 -0
- package/llms/process.2.txt +215 -18
- package/llms/process.txt +130 -92
- package/llms/server.4.txt +49 -1
- package/llms/service-host-work.txt +34 -0
- package/llms/stitchkit.2.txt +31 -0
- package/llms/stitchkit.txt +78 -75
- package/llms/sync.txt +5 -2
- package/llms/testing.txt +1 -0
- package/llms/tools.2.txt +747 -775
- package/llms/tools.3.txt +846 -210
- package/llms/tools.4.txt +226 -0
- package/llms/tools.txt +3 -790
- package/llms/{upgrading-0.128.0-0.132.0.txt → upgrading-0.128.0-0.133.0.txt} +194 -6
- package/llms/upgrading.txt +1 -1
- package/llms-full.txt +746 -135
- package/llms.txt +18 -16
- package/package.json +12 -4
- package/dist/entrypoints/process/owner-loss.d.ts +0 -3
- package/dist/entrypoints/process/owner-loss.d.ts.map +0 -1
- package/dist/entrypoints/process/owner-loss.js +0 -7
- package/llms/process-owner-loss.txt +0 -18
|
@@ -1,27 +1,197 @@
|
|
|
1
|
-
# Upgrading 0.128.0 → 0.
|
|
1
|
+
# Upgrading 0.128.0 → 0.133.0 — stitchkit docs slice
|
|
2
2
|
|
|
3
3
|
> Generated from the `docs/` tree by `bun run gen:llms`. The index of all slices is
|
|
4
4
|
> `llms.txt` in this package.
|
|
5
5
|
|
|
6
|
-
Contains: Guide: Upgrading, 0.128.0 → 0.
|
|
6
|
+
Contains: Guide: Upgrading, 0.128.0 → 0.133.0 (docs/guide/upgrading.md)
|
|
7
7
|
|
|
8
8
|
==============================================================================
|
|
9
|
-
# Guide: Upgrading, 0.128.0 → 0.
|
|
9
|
+
# Guide: Upgrading, 0.128.0 → 0.133.0 (docs/guide/upgrading.md)
|
|
10
10
|
==============================================================================
|
|
11
11
|
|
|
12
|
+
## Released migration: 0.133.0
|
|
13
|
+
|
|
14
|
+
### executor-testing-claude-sdk-subpath
|
|
15
|
+
|
|
16
|
+
**Who must act:** tests that import `createFakeClaudeSdkQuery`, `createStubClaudeSdkSession` or a `FakeClaudeSdk*` type from `stitchkit/agent-executor/testing`.
|
|
17
|
+
|
|
18
|
+
Import them from `stitchkit/agent-executor/testing/claude-sdk`. Nothing else changes: the functions, their options and `StubOverrides` (still exported by `stitchkit/agent-executor/testing`) are the same.
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
// Before
|
|
22
|
+
import { createFakeClaudeSdkQuery, createStubClaudeSdkSession } from 'stitchkit/agent-executor/testing';
|
|
23
|
+
// After
|
|
24
|
+
import { createFakeClaudeSdkQuery, createStubClaudeSdkSession } from 'stitchkit/agent-executor/testing/claude-sdk';
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`stitchkit/agent-executor/testing` no longer names the types of `@anthropic-ai/claude-agent-sdk`, so a project that tests a Codex or ACP driver needs neither the SDK nor `skipLibCheck`.
|
|
28
|
+
|
|
29
|
+
### executor-profile-env-sanitizer
|
|
30
|
+
|
|
31
|
+
**Who must act:** callers of `sanitizeProfileEnv` from `stitchkit/agent-executor`.
|
|
32
|
+
|
|
33
|
+
The function is removed: it dropped a variable whose name the profile schema refuses, so one bad name had two outcomes. Pass the variables to the profile and let `ExecutorProfileConfigSchema` refuse a bad name, or filter in the application where dropping is a decision:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
// Before
|
|
37
|
+
const env = sanitizeProfileEnv(untrusted);
|
|
38
|
+
// After
|
|
39
|
+
const env = Object.fromEntries(
|
|
40
|
+
Object.entries(untrusted).filter(
|
|
41
|
+
(entry): entry is [string, string] =>
|
|
42
|
+
typeof entry[1] === 'string' && EXECUTOR_ENV_KEY_PATTERN.test(entry[0]),
|
|
43
|
+
),
|
|
44
|
+
);
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### executor-conformance-lifecycle
|
|
48
|
+
|
|
49
|
+
**Who must act:** tests that run `runAgentEngineConformance` (`stitchkit/agent-executor/testing`) on a driver written outside this package.
|
|
50
|
+
|
|
51
|
+
The kit now proves what a driver does when its session stops, and fails by the name of the rule a driver breaks. The drivers of this package and the replay driver pass. For your own driver, make each of these true:
|
|
52
|
+
|
|
53
|
+
- `open({ signal })` rejects with `signal.reason` when the signal is already aborted, and when it aborts while `open` runs — the kit aborts it from `onStartupPhase`. A driver that reports no startup phase is not asked the second.
|
|
54
|
+
- An abort while a turn runs fails that turn's `deltas` with `signal.reason`; afterwards `turn.respond()` and `session.startTurn()` reject with the same reason.
|
|
55
|
+
- `turn.interrupt()` resolves, without an error, once the turn ended, the signal aborted or the session closed.
|
|
56
|
+
- `session.close()` during a turn fails the turn's `deltas` instead of leaving them open, resolves when called twice at once and again later, and `onStartupPhase` is not called after it.
|
|
57
|
+
- `(await driver.info()).capabilities` equals `driver.capabilities` — both absent, or the same object by value.
|
|
58
|
+
|
|
59
|
+
```ts
|
|
60
|
+
// Before: nothing followed the caller's signal, and the kit did not ask.
|
|
61
|
+
async open(input) {
|
|
62
|
+
return openSession(input.profile, input.cwd);
|
|
63
|
+
}
|
|
64
|
+
// After
|
|
65
|
+
async open(input) {
|
|
66
|
+
input.signal?.throwIfAborted();
|
|
67
|
+
const session = await openSession(input.profile, input.cwd);
|
|
68
|
+
input.signal?.addEventListener('abort', () => session.fail(input.signal?.reason), { once: true });
|
|
69
|
+
return session;
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Each wait in these checks is bounded at 10 s and a hang fails as `… did not settle within 10000 ms`; give the conformance test a timeout above that (the tests of this package use 30–60 s), or the runner's own timeout reports the hang without the name.
|
|
74
|
+
|
|
75
|
+
### codex-owned-thread-unsubscribe
|
|
76
|
+
|
|
77
|
+
**Who must act:** callers of `stitchkit/agent-executor/codex` that call `unsubscribeThread` on a thread their own driver opened.
|
|
78
|
+
|
|
79
|
+
`CodexSession.unsubscribeThread()` without a `threadId`, with the session's own id, or with the id of any thread open on the same shared server now rejects with `TypeError`. Close the session instead: `close()` interrupts the thread's turn, answers what it still holds and unsubscribes it, and a shared server frees its slot.
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
// Before: detached the thread behind the driver; a shared server kept counting it.
|
|
83
|
+
await session.unsubscribeThread();
|
|
84
|
+
await server.unsubscribeThread({ threadId: session.nativeThreadId });
|
|
85
|
+
// After: one way to detach a thread the driver opened.
|
|
86
|
+
await session.close();
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
A thread the driver did not open — an external TUI thread, a sibling client's thread — is still unsubscribed with one raw `thread/unsubscribe`.
|
|
90
|
+
|
|
91
|
+
### process-bootstrap-rename
|
|
92
|
+
|
|
93
|
+
**Who must act:** single-file applications (a `bun build` output that routes its own argv) that import `stitchkit/process/owner-loss`.
|
|
94
|
+
|
|
95
|
+
The narrow bootstrap entry now carries every invocation the package starts for itself — the owner-loss guard of `runNativeCommand` and the process root of `stitchkit/service-host/work` — so both the subpath and the function are renamed. Nothing else changes: call it once before your argv dispatcher and skip the dispatcher when it returns `true`.
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
// Before
|
|
99
|
+
import { bootstrapNativeCommandOwnerLoss } from 'stitchkit/process/owner-loss';
|
|
100
|
+
if (!bootstrapNativeCommandOwnerLoss()) await main();
|
|
101
|
+
// After
|
|
102
|
+
import { bootstrapPackageProcess } from 'stitchkit/process/bootstrap';
|
|
103
|
+
if (!bootstrapPackageProcess()) await main();
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The rename is mechanical; these two commands find every site:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
rg "stitchkit/process/owner-loss" .
|
|
110
|
+
rg "bootstrapNativeCommandOwnerLoss" .
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
An application that does not bundle itself into one file, or that never imported the old subpath, has nothing to do.
|
|
114
|
+
|
|
115
|
+
### client-artifact-package-option
|
|
116
|
+
|
|
117
|
+
**Who must act:** builds that call `buildClientArtifact` (`stitchkit/files/packaging`) with `package` or `executable`, or read `artifact.package`.
|
|
118
|
+
|
|
119
|
+
`buildClientArtifact` now builds the self-contained file and its hash, nothing else. Find the calls:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
rg "buildClientArtifact" .
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
1. A call with `executable` and no `package`: rename the option.
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
// Before
|
|
129
|
+
await buildClientArtifact({ entry, outFile, executable: '/opt/bun/bin/bun' });
|
|
130
|
+
// After
|
|
131
|
+
await buildClientArtifact({ entry, outFile, executables: { bun: '/opt/bun/bin/bun' } });
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
2. A call with `package`: the npm archive is built by `buildClientPackage`. It builds from the
|
|
135
|
+
entry itself, not from the bundled file, so keep the `buildClientArtifact` call only if you
|
|
136
|
+
still ship the single file.
|
|
137
|
+
|
|
138
|
+
```ts
|
|
139
|
+
// Before
|
|
140
|
+
const artifact = await buildClientArtifact({
|
|
141
|
+
entry: 'src/api-client.ts',
|
|
142
|
+
outFile: 'dist/api-client.js',
|
|
143
|
+
forbiddenModules: ['src/terminal/'],
|
|
144
|
+
package: { name: '@acme/api-client', version: '1.4.0', outDir: 'dist', exports: ['createApiClient'] },
|
|
145
|
+
});
|
|
146
|
+
publish(artifact.package.tarball);
|
|
147
|
+
// After
|
|
148
|
+
const client = await buildClientPackage({
|
|
149
|
+
name: '@acme/api-client',
|
|
150
|
+
version: '1.4.0',
|
|
151
|
+
entries: { '.': 'src/api-client.ts' },
|
|
152
|
+
tsconfig: 'tsconfig.json',
|
|
153
|
+
peerDependencies: { zod: '^4.6.0' },
|
|
154
|
+
forbiddenModules: ['src/terminal/'],
|
|
155
|
+
outDir: 'dist',
|
|
156
|
+
proof: { exports: { '.': ['createApiClient'] } },
|
|
157
|
+
});
|
|
158
|
+
publish(client.tarball);
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
What differs from the old archive, and may refuse a client the old one packed:
|
|
162
|
+
|
|
163
|
+
- The entry is a `.ts` or `.tsx` module under the directory of `tsconfig`, and a `typescript`
|
|
164
|
+
package is installed in the project: the archive now carries declarations.
|
|
165
|
+
- A package the client imports is bundled unless you list it in `peerDependencies` or
|
|
166
|
+
`dependencies`. A public type that names a package you did not list is refused as
|
|
167
|
+
`declaration-dependency` — list it, usually as a peer.
|
|
168
|
+
- The main module moves from `index.js` to `dist/<path under the tsconfig directory>.js`, behind
|
|
169
|
+
`exports`. A consumer that imports the package by name is unaffected; one that reached for
|
|
170
|
+
`<package>/index.js` imports the package name instead.
|
|
171
|
+
- A failure is a `ClientPackageError` with a `reason` (`missing-export` for a name in
|
|
172
|
+
`proof.exports`), not an `Error` to match by message.
|
|
173
|
+
|
|
174
|
+
[The guide](native-io.md#a-typed-client-as-an-npm-package) describes the options and every refusal.
|
|
175
|
+
|
|
12
176
|
## Released migration: 0.132.0
|
|
13
177
|
|
|
14
178
|
### saved-sync-cursor-zero
|
|
15
179
|
|
|
16
|
-
**Who must act:** users of `stitchkit/sync` whose cursor reader returns zero for an uninitialized replica.
|
|
180
|
+
**Who must act:** users of `stitchkit/sync` whose cursor reader returns zero for an uninitialized replica, or whose `beginFullSync` resets the saved cursor to zero.
|
|
17
181
|
|
|
18
182
|
Return `null` until the first snapshot completes. A saved `0` requests the incremental feed after version zero.
|
|
183
|
+
`beginFullSync` follows the same rule: reset the saved cursor to `null`, not to `0`, or a session
|
|
184
|
+
restarted before the snapshot's first page was saved reads the feed instead of starting the snapshot again.
|
|
19
185
|
|
|
20
186
|
```ts
|
|
21
187
|
// Before: a missing row and a completed snapshot at zero shared the same marker.
|
|
22
188
|
readCursor: () => row?.version ?? 0
|
|
23
189
|
// After: preserve every published server version.
|
|
24
190
|
readCursor: () => row?.version ?? null
|
|
191
|
+
// Before: the reset wrote the same marker a completed snapshot at zero has.
|
|
192
|
+
beginFullSync: () => db.run('UPDATE sync_state SET version = 0')
|
|
193
|
+
// After: the reset is "no completed snapshot".
|
|
194
|
+
beginFullSync: () => db.run('UPDATE sync_state SET version = NULL')
|
|
25
195
|
```
|
|
26
196
|
|
|
27
197
|
If an old store persisted zero for both states and has no completion marker, perform one full
|
|
@@ -86,9 +256,9 @@ const shouldPoll =
|
|
|
86
256
|
|
|
87
257
|
### executor-status-delta
|
|
88
258
|
|
|
89
|
-
**Who must act:** every caller of `stitchkit/agent-executor` that switches exhaustively on `ExecutorDelta['type']
|
|
259
|
+
**Who must act:** every caller of `stitchkit/agent-executor` that switches exhaustively on `ExecutorDelta['type']`, and every operator who runs an executor and its server on different releases across `0.130.0`.
|
|
90
260
|
|
|
91
|
-
`ExecutorDeltaSchema` / `ExecutorDelta` now includes `ExecutorStatusDeltaSchema` (`{ type: 'status', phase
|
|
261
|
+
`ExecutorDeltaSchema` / `ExecutorDelta` now includes `ExecutorStatusDeltaSchema` (`{ type: 'status', phase, ... }`) for structured startup lifecycle deltas. `phase` is an open label of 1–64 trimmed characters: the drivers emit `spawning`, `initializing` and `verifying`, and a reader treats any other label as a phase it does not know rather than refusing it. `projectExecutorDeltas` ignores `status` deltas automatically; add a `case 'status':` branch to any custom exhaustive `switch (delta.type)`:
|
|
92
262
|
|
|
93
263
|
```ts
|
|
94
264
|
// before
|
|
@@ -109,6 +279,24 @@ switch (delta.type) {
|
|
|
109
279
|
}
|
|
110
280
|
```
|
|
111
281
|
|
|
282
|
+
**The wire changed in both directions, not only by the `status` delta.** Every object of the
|
|
283
|
+
executor ↔ server contract is strict, so a reader on `0.129.x` refuses a whole message that carries
|
|
284
|
+
a key `0.130.0` added:
|
|
285
|
+
|
|
286
|
+
| Travels | Message | A `0.129.x` reader refuses |
|
|
287
|
+
|---------|---------|----------------------------|
|
|
288
|
+
| executor → server | `hello` | `engines[].capabilities` — written by every driver, so the handshake itself fails |
|
|
289
|
+
| executor → server | `report` | a `status` delta; `threadDisposition` on `turn-end` and on `failure`; `cacheCreationInputTokens`, `thinkingTokens`, `totalTokens`, `total` and `modelUsage` on a `usage` delta |
|
|
290
|
+
| server → executor | `reply` | `scope` and `updatedInput` on `approve`; `interrupt` on `deny` |
|
|
291
|
+
|
|
292
|
+
Upgrade the server before any executor: an older executor writes none of these keys and keeps
|
|
293
|
+
working. Until every executor is upgraded, the server sends `scope: 'session'`, `updatedInput` and
|
|
294
|
+
`interrupt` only to an executor whose `hello` declared `sessionApproval`, `updatedToolInput` and
|
|
295
|
+
`interruptOnDeny` for the engine — an engine announced without `capabilities` is on `0.129.x`.
|
|
296
|
+
`0.131.0` added `plan` and `windows[].scope` to `planLimits` in `hello` the same way. The rule
|
|
297
|
+
and the table of every release are in the
|
|
298
|
+
[API reference](../api/reference.md#version-skew-between-an-executor-and-its-server) (ADR 0334).
|
|
299
|
+
|
|
112
300
|
## Released migration: 0.129.0
|
|
113
301
|
|
|
114
302
|
### codex-plan-window-keys
|
package/llms/upgrading.txt
CHANGED
|
@@ -11,7 +11,7 @@ Contains: Guide: Upgrading, general (docs/guide/upgrading.md)
|
|
|
11
11
|
|
|
12
12
|
Load this slice, then every range slice between your installed version and the target:
|
|
13
13
|
|
|
14
|
-
- 0.128.0 → 0.
|
|
14
|
+
- 0.128.0 → 0.133.0: `llms/upgrading-0.128.0-0.133.0.txt`
|
|
15
15
|
- 0.127.0 → 0.127.0: `llms/upgrading-0.127.0.txt`
|
|
16
16
|
- 0.106.0 → 0.126.0: `llms/upgrading-0.106.0-0.126.0.txt`
|
|
17
17
|
- 0.96.0 → 0.105.0: `llms/upgrading-0.96.0-0.105.0.txt`
|