stitchkit 0.128.0 → 0.129.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 +57 -0
- package/dist/agent-executor/claude/transcript.d.ts +2 -2
- package/dist/agent-executor/claude/transcript.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/controls.d.ts +19 -0
- package/dist/agent-executor/claude-sdk/controls.d.ts.map +1 -0
- package/dist/agent-executor/claude-sdk/driver.d.ts +114 -4
- package/dist/agent-executor/claude-sdk/driver.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/query-loop.d.ts +46 -0
- package/dist/agent-executor/claude-sdk/query-loop.d.ts.map +1 -0
- package/dist/agent-executor/claude-sdk/query-options.d.ts +27 -0
- package/dist/agent-executor/claude-sdk/query-options.d.ts.map +1 -0
- package/dist/agent-executor/claude-sdk/session.d.ts +6 -5
- package/dist/agent-executor/claude-sdk/session.d.ts.map +1 -1
- package/dist/agent-executor/codex/classify.d.ts.map +1 -1
- package/dist/agent-executor/codex/connect.d.ts +45 -0
- package/dist/agent-executor/codex/connect.d.ts.map +1 -0
- package/dist/agent-executor/codex/driver.d.ts +51 -10
- package/dist/agent-executor/codex/driver.d.ts.map +1 -1
- package/dist/agent-executor/codex/limits.d.ts +11 -2
- package/dist/agent-executor/codex/limits.d.ts.map +1 -1
- package/dist/agent-executor/codex/protocol.d.ts +49 -4
- package/dist/agent-executor/codex/protocol.d.ts.map +1 -1
- package/dist/agent-executor/codex/session-controls.d.ts +155 -0
- package/dist/agent-executor/codex/session-controls.d.ts.map +1 -0
- package/dist/agent-executor/codex/session.d.ts +27 -31
- package/dist/agent-executor/codex/session.d.ts.map +1 -1
- package/dist/agent-executor/codex/unix-socket-target.d.ts +26 -0
- package/dist/agent-executor/codex/unix-socket-target.d.ts.map +1 -0
- package/dist/agent-executor/codex/unix-socket.d.ts +26 -0
- package/dist/agent-executor/codex/unix-socket.d.ts.map +1 -0
- package/dist/agent-executor/codex/ws-frame.d.ts +15 -0
- package/dist/agent-executor/codex/ws-frame.d.ts.map +1 -0
- package/dist/agent-executor/contract.d.ts +2 -0
- package/dist/agent-executor/contract.d.ts.map +1 -1
- package/dist/agent-executor/engine-process.d.ts +9 -0
- package/dist/agent-executor/engine-process.d.ts.map +1 -1
- package/dist/agent-executor/hello.d.ts +8 -0
- package/dist/agent-executor/hello.d.ts.map +1 -1
- package/dist/agent-runtime/branch-observations.d.ts +5 -5
- package/dist/agent-runtime/branch-provider.d.ts +2 -2
- package/dist/agent-runtime/sql-rows.d.ts +10 -10
- package/dist/agent-runtime/terminal-commit.d.ts +10 -10
- package/dist/entrypoints/agent-executor/acp.js +7 -7
- package/dist/entrypoints/agent-executor/claude-sdk.d.ts +1 -1
- package/dist/entrypoints/agent-executor/claude-sdk.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/claude-sdk.js +532 -101
- package/dist/entrypoints/agent-executor/claude.js +8 -8
- package/dist/entrypoints/agent-executor/codex.d.ts +4 -0
- package/dist/entrypoints/agent-executor/codex.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/codex.js +1491 -228
- package/dist/entrypoints/agent-executor.js +7 -7
- package/dist/entrypoints/agent-runtime/browser.js +1 -1
- package/dist/entrypoints/agent-runtime/coding-tools.js +3 -3
- package/dist/entrypoints/agent-runtime/harness.js +8 -8
- package/dist/entrypoints/agent-runtime/openrouter.js +2 -2
- package/dist/entrypoints/agent-runtime/postgres.js +6 -6
- package/dist/entrypoints/agent-runtime/realtime.js +4 -4
- package/dist/entrypoints/agent-runtime/sandbox.js +5 -5
- 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 +17 -17
- package/dist/entrypoints/application/directory-inbox.js +2 -2
- package/dist/entrypoints/application/opentelemetry.js +2 -2
- package/dist/entrypoints/application.js +2 -2
- package/dist/entrypoints/cli/publish.js +3 -3
- package/dist/entrypoints/cli.js +8 -8
- package/dist/entrypoints/contract.js +2 -2
- package/dist/entrypoints/files/packaging.js +2 -2
- package/dist/entrypoints/files.js +7 -7
- package/dist/entrypoints/handler.js +4 -4
- package/dist/entrypoints/http.js +5 -5
- package/dist/entrypoints/index.js +7 -7
- package/dist/entrypoints/node.js +5 -5
- package/dist/entrypoints/observability.js +4 -4
- package/dist/entrypoints/primitives.js +2 -2
- package/dist/entrypoints/process.js +5 -5
- package/dist/entrypoints/react.js +1 -1
- package/dist/entrypoints/remote.js +2 -2
- package/dist/entrypoints/server.js +6 -6
- package/dist/entrypoints/service-host/macos.js +5 -5
- package/dist/entrypoints/service-host.js +7 -7
- package/dist/entrypoints/spend.js +1 -1
- package/dist/entrypoints/sync/postgres.js +1 -1
- package/dist/entrypoints/sync.js +2 -2
- package/dist/entrypoints/telegram.js +2 -2
- package/dist/entrypoints/testing.js +5 -5
- package/dist/entrypoints/tools/agent.js +5 -5
- package/dist/entrypoints/tools/connections.js +2 -2
- package/dist/entrypoints/tools/invoker.js +4 -4
- package/dist/entrypoints/tools/mcp.js +5 -5
- package/dist/entrypoints/tools/toolkit.js +8 -8
- package/dist/entrypoints/tools.js +12 -12
- package/dist/entrypoints/tracking/contract.js +1 -1
- package/dist/entrypoints/xlsx.js +1 -1
- package/dist/{index-prf6ayhf.js → index-13wmzpa6.js} +1 -1
- package/dist/{index-n7f89hjw.js → index-17qgm6xe.js} +3 -3
- package/dist/{index-wv8dqy7q.js → index-205456mf.js} +1 -1
- package/dist/{index-pwskmywy.js → index-21cfxc4z.js} +1 -1
- package/dist/{index-d4svrknj.js → index-39c2hj6h.js} +2 -2
- package/dist/{index-sfzfd2m2.js → index-39rmc00v.js} +1 -1
- package/dist/{index-ky3ardqn.js → index-3fym4j8n.js} +1 -1
- package/dist/{index-c5gp2gh6.js → index-5tdc0q43.js} +1 -1
- package/dist/{index-3ypvpkwr.js → index-669374qc.js} +1 -1
- package/dist/{index-m18xm96h.js → index-7jqn3b3g.js} +4 -4
- package/dist/{index-5jyjb4s0.js → index-80acsm27.js} +1 -1
- package/dist/{index-xmr47znh.js → index-827bgv33.js} +1 -1
- package/dist/{index-v1mxss62.js → index-93n6jwy0.js} +3 -3
- package/dist/{index-d54npte7.js → index-9kpxz49v.js} +2 -2
- package/dist/{index-xv9jb84s.js → index-9sfhje6y.js} +3 -3
- package/dist/{index-bh4pmtr9.js → index-afb6z77w.js} +3 -1
- package/dist/{index-9y0afd5f.js → index-apf5g7y9.js} +1 -1
- package/dist/{index-4qvyhn23.js → index-bjmj2q1z.js} +1 -1
- package/dist/{index-g3e57qj6.js → index-dcsxj68j.js} +2 -2
- package/dist/{index-waa6t4zx.js → index-dnzxxf8a.js} +1 -1
- package/dist/{index-gf92hc87.js → index-fgahdc7s.js} +2 -2
- package/dist/{index-kzavdze2.js → index-gr0kxymw.js} +5 -1
- package/dist/{index-e06z0tkb.js → index-gya4hwh3.js} +2 -2
- package/dist/{index-gzny6zsw.js → index-hab790s6.js} +5 -5
- package/dist/{index-bz3gn6cs.js → index-j0ef04jw.js} +2 -2
- package/dist/{index-rhb33thr.js → index-jcge9tx3.js} +1 -1
- package/dist/{index-pn5b11ce.js → index-mkfhpk11.js} +1 -1
- package/dist/{index-1qwrczr1.js → index-mttkdm5a.js} +1 -1
- package/dist/{index-rxnyygke.js → index-n3bm7zqq.js} +1 -1
- package/dist/{index-6wp4dn9d.js → index-p06z7g7w.js} +3 -3
- package/dist/{index-kt6dh1n6.js → index-p16q492v.js} +1 -1
- package/dist/{index-t7wa7k12.js → index-pp97q86a.js} +1 -1
- package/dist/{index-39n02e0q.js → index-psye60qn.js} +1 -1
- package/dist/{index-5ptwb6ka.js → index-pzhqydxb.js} +1 -1
- package/dist/{index-7kfcb576.js → index-qa2jjb65.js} +1 -1
- package/dist/{index-rzeezh79.js → index-qhjmmsm2.js} +2 -2
- package/dist/{index-7grgs8cx.js → index-qpzyahe3.js} +2 -2
- package/dist/{index-jfecdk1e.js → index-r97ppg0g.js} +2 -2
- package/dist/{index-bmaz3jzy.js → index-rjs94dny.js} +1 -1
- package/dist/{index-5v5vg85s.js → index-rxh3qy4x.js} +32 -5
- package/dist/{index-en8e5zsj.js → index-ryxb427v.js} +1 -1
- package/dist/{index-y065r8g5.js → index-sd4e5x5j.js} +7 -7
- package/dist/{index-g56ht6qf.js → index-t3qcac2a.js} +1 -1
- package/dist/{index-13dnv6d0.js → index-wv2amqm4.js} +4 -4
- package/dist/{index-4j8efqr3.js → index-x2fb37t0.js} +2 -2
- package/dist/{index-0gqs8ght.js → index-y71zn1gw.js} +32 -4
- package/dist/{index-wavv538x.js → index-ybdq8kk2.js} +3 -3
- package/dist/{index-4gk6k3zc.js → index-ycr4pk0z.js} +1 -1
- package/dist/{index-0tyt97nk.js → index-yrr3n391.js} +1 -1
- package/dist/{index-v37b2cd6.js → index-z20pdxeb.js} +2 -2
- package/dist/{index-8x22nprv.js → index-z9d74jmb.js} +3 -3
- package/dist/{index-3tnwtz38.js → index-zhshhxew.js} +1 -1
- package/dist/{index-hj1zq7mh.js → index-znd1b57f.js} +3 -3
- package/dist/internal/positive-integer.d.ts +2 -0
- package/dist/internal/positive-integer.d.ts.map +1 -1
- package/dist/internal/unix-socket.d.ts +7 -0
- package/dist/internal/unix-socket.d.ts.map +1 -1
- package/llms/agent-executor-claude-sdk.txt +13 -10
- package/llms/agent-executor-claude.txt +1 -1
- package/llms/agent-executor-codex.txt +9 -3
- package/llms/agent-executor.txt +2 -2
- package/llms/stitchkit.txt +74 -74
- package/llms/{upgrading-0.128.0.txt → upgrading-0.128.0-0.129.0.txt} +31 -3
- package/llms/upgrading.txt +1 -1
- package/llms-full.txt +127 -90
- package/llms.txt +6 -6
- package/package.json +1 -1
package/llms-full.txt
CHANGED
|
@@ -47,81 +47,81 @@ own, recorded as an ADR.
|
|
|
47
47
|
|
|
48
48
|
| Import | Use in | Maturity | Holds |
|
|
49
49
|
|--------|--------|----------|-------|
|
|
50
|
-
| `stitchkit` | browser **and** server | stable<br>_redefined in 5 of the
|
|
51
|
-
| `stitchkit/http` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 2 of the
|
|
52
|
-
| `stitchkit/realtime` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 1 of the
|
|
53
|
-
| `stitchkit/contract` | browser **and** server | stable<br>_redefined in 5 of the
|
|
54
|
-
| `stitchkit/live` | browser **and** server | evolving<br>_redefined in 2 of the
|
|
55
|
-
| `stitchkit/primitives` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
56
|
-
| `stitchkit/handler` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the
|
|
57
|
-
| `stitchkit/server` | server (Bun) | stable<br>_redefined in 5 of the
|
|
58
|
-
| `stitchkit/node` | server (Node ≥ 22.3) | stable<br>_redefined in 2 of the
|
|
59
|
-
| `stitchkit/tools` | server | stable<br>_redefined in 10 of the
|
|
60
|
-
| `stitchkit/tools/mcp` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
61
|
-
| `stitchkit/tools/agent` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
62
|
-
| `stitchkit/tools/toolkit` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
63
|
-
| `stitchkit/tools/contract` | browser + server | evolving<br>_redefined in 2 of the
|
|
64
|
-
| `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the
|
|
65
|
-
| `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
66
|
-
| `stitchkit/cli` | server | stable<br>_redefined in 12 of the
|
|
67
|
-
| `stitchkit/cli/publish` | build and release tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the
|
|
68
|
-
| `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the
|
|
69
|
-
| `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 3 of the
|
|
70
|
-
| `stitchkit/process/owner-loss` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the
|
|
71
|
-
| `stitchkit/files/packaging` | build time (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
72
|
-
| `stitchkit/files` | server (Bun or Node) | stable<br>_redefined in 4 of the
|
|
73
|
-
| `stitchkit/spend` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
74
|
-
| `stitchkit/spend/testing` | tests on Bun or Node | evolving<br>_redefined in 0 of the
|
|
75
|
-
| `stitchkit/service-host` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
76
|
-
| `stitchkit/service-host/macos` | server (Bun or Node, macOS) | evolving<br>_redefined in 0 of the
|
|
77
|
-
| `stitchkit/telegram` | server (Bun or Node) | evolving<br>_redefined in 8 of the
|
|
78
|
-
| `stitchkit/telegram/grammy` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
79
|
-
| `stitchkit/telegram/html` | browser and server | evolving<br>_redefined in 1 of the
|
|
80
|
-
| `stitchkit/telegram/voice` | browser and server | evolving<br>_redefined in 0 of the
|
|
81
|
-
| `stitchkit/telegram/screens` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
82
|
-
| `stitchkit/tracking` | browser **and** server | evolving<br>_redefined in 3 of the
|
|
83
|
-
| `stitchkit/tracking/contract` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
84
|
-
| `stitchkit/tracking/performance` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
85
|
-
| `stitchkit/tracking/server` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
86
|
-
| `stitchkit/release` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
87
|
-
| `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
88
|
-
| `stitchkit/sync` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
89
|
-
| `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
90
|
-
| `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
91
|
-
| `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
92
|
-
| `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
93
|
-
| `stitchkit/oauth` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
94
|
-
| `stitchkit/google` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
95
|
-
| `stitchkit/observability` | server | stable<br>_redefined in 1 of the
|
|
96
|
-
| `stitchkit/testing` | tests on Bun or Node | stable<br>_redefined in 3 of the
|
|
97
|
-
| `stitchkit/declaration` | browser + build and deployment tooling (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
98
|
-
| `stitchkit/react` | browser + server rendering | stable<br>_redefined in 2 of the
|
|
99
|
-
| `stitchkit/react/keyboard` | browser | evolving<br>_redefined in 1 of the
|
|
100
|
-
| `stitchkit/react/keyboard/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
101
|
-
| `stitchkit/agent-runtime` | server | evolving<br>_redefined in 9 of the
|
|
102
|
-
| `stitchkit/agent-runtime/sandbox` | server | evolving<br>_redefined in 0 of the
|
|
103
|
-
| `stitchkit/agent-runtime/testing` | tests on Bun or Node | evolving<br>_redefined in 2 of the
|
|
104
|
-
| `stitchkit/agent-runtime/harness` | server | evolving<br>_redefined in 0 of the
|
|
105
|
-
| `stitchkit/agent-runtime/coding-tools` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
106
|
-
| `stitchkit/agent-runtime/openrouter` | server | evolving<br>_redefined in 1 of the
|
|
107
|
-
| `stitchkit/agent-runtime/browser` | browser + server | evolving<br>_redefined in 2 of the
|
|
108
|
-
| `stitchkit/agent-runtime/react` | browser + server | evolving<br>_redefined in 0 of the
|
|
109
|
-
| `stitchkit/agent-runtime/realtime` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
110
|
-
| `stitchkit/agent-executor` | server (Bun or Node) | evolving<br>_redefined in
|
|
111
|
-
| `stitchkit/agent-executor/claude` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
112
|
-
| `stitchkit/agent-executor/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
113
|
-
| `stitchkit/agent-executor/acp` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
114
|
-
| `stitchkit/agent-executor/codex` | server (Bun or Node) | evolving<br>_redefined in
|
|
115
|
-
| `stitchkit/agent-executor/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
116
|
-
| `stitchkit/agent-runtime/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
117
|
-
| `stitchkit/agent-runtime/sqlite/bun` | server (Bun) | evolving<br>_redefined in 1 of the
|
|
118
|
-
| `stitchkit/agent-runtime/sqlite/node` | server (Node ≥ 22.5) | evolving<br>_redefined in 1 of the
|
|
50
|
+
| `stitchkit` | browser **and** server | stable<br>_redefined in 5 of the 36 minors since 0.94.0, most recently 0.127.0_ | `defineContract`, `createClient`, `createHttpClient`, `createSocketIOClient`, `parseSSE`, the error model |
|
|
51
|
+
| `stitchkit/http` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | typed HTTP client factories and `ApiError`, without optional realtime peers |
|
|
52
|
+
| `stitchkit/realtime` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | typed realtime clients, binding to an existing socket and retained topics with a required explicit Socket.IO peer loader |
|
|
53
|
+
| `stitchkit/contract` | browser **and** server | stable<br>_redefined in 5 of the 36 minors since 0.94.0, most recently 0.127.0_ | the contract layer alone — `defineContract`, errors, pagination |
|
|
54
|
+
| `stitchkit/live` | browser **and** server | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | `defineEvents` — topic declarations beside the operation contract — and watched reads: `createWatchClient`, the value/difference frame and its reassembly |
|
|
55
|
+
| `stitchkit/primitives` | browser **and** server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | generic values and declarations for lifecycle, access, audit, delivery and exports, exact money and rounding tables |
|
|
56
|
+
| `stitchkit/handler` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | portable `createHandler`, `implement`, errors and `serveBridge` over a string `postMessage` port, with no Node built-ins |
|
|
57
|
+
| `stitchkit/server` | server (Bun) | stable<br>_redefined in 5 of the 36 minors since 0.94.0, most recently 0.127.0_ | `createServer`, `implement`, hooks, auth, Socket.IO server, server primitives |
|
|
58
|
+
| `stitchkit/node` | server (Node ≥ 22.3) | stable<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | `serveNode` + the runtime-agnostic core — the Node mirror of `/server` |
|
|
59
|
+
| `stitchkit/tools` | server | stable<br>_redefined in 10 of the 36 minors since 0.94.0, most recently 0.127.0_ | the transport-neutral tool layer — registry, tool names and manifest, runtime tools, native tools, the OAuth provider, the durability engine; loads no optional peer at runtime |
|
|
60
|
+
| `stitchkit/tools/mcp` | server (Bun or Node) | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | the canonical MCP HTTP/stdio server, schemas and typed MCP presenters; only Zod and the MCP server SDK peers |
|
|
61
|
+
| `stitchkit/tools/agent` | server (Bun or Node) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | `mountAgent` — a contract's operations as AI SDK tools; only Zod and the `ai` peer |
|
|
62
|
+
| `stitchkit/tools/toolkit` | server (Bun or Node) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | `createToolkit` — one tool set served over MCP and to an AI SDK agent; the MCP server SDK and `ai` peers |
|
|
63
|
+
| `stitchkit/tools/contract` | browser + server | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.124.0_ | the shapes a tool surface speaks — async-operation contract, snapshot and cancel schemas, view-file input/output — without the runtime that serves them |
|
|
64
|
+
| `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | peer-free `createToolInvoker` over the canonical contract tool runner |
|
|
65
|
+
| `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | consume external MCP servers and a bounded OpenAPI subset — typed reauthorization, a per-request host fence and per-call credentials |
|
|
66
|
+
| `stitchkit/cli` | server | stable<br>_redefined in 12 of the 36 minors since 0.94.0, most recently 0.128.0_ | `createCli` / `createCliInvoker` — runtime and strict NodeNext declarations without MCP SDK / `ai` |
|
|
67
|
+
| `stitchkit/cli/publish` | build and release tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | `publishCli` — commit a verified CLI distribution and move its public manifest last; see [CLI guide](cli.md#publishing-a-complete-version) |
|
|
68
|
+
| `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.104.0_ | peer-free `implementRemote` for thin HTTP proxy processes |
|
|
69
|
+
| `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | finite native commands, byte sinks, bounded capture, process-group cancellation and opt-in Linux/Darwin owner-loss cleanup; contract operations executed in one-call child processes |
|
|
70
|
+
| `stitchkit/process/owner-loss` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | narrow bootstrap that keeps the process runner lazy while carrying its owner-loss guard in a single-file bundle |
|
|
71
|
+
| `stitchkit/files/packaging` | build time (Bun or Node) | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.108.0_ | installed native asset graph, integrity, Bun packaging plugin and the artifact loader check; a client bundled into one self-contained, hashed and verified file; no runtime install policy |
|
|
72
|
+
| `stitchkit/files` | server (Bun or Node) | stable<br>_redefined in 4 of the 36 minors since 0.94.0, most recently 0.127.0_ | peer-free managed local-file boundary |
|
|
73
|
+
| `stitchkit/spend` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | peer-free spend gateway for paid model APIs: the attempt recorded before the call and closed on every outcome, credentials only for the provider's origin, a spooled ledger, rank-merged receipts and a reconciler |
|
|
74
|
+
| `stitchkit/spend/testing` | tests on Bun or Node | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | the coverage guard: red on a model SDK import, a provider key or a provider host outside the gateway files |
|
|
75
|
+
| `stitchkit/service-host` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | peer-free host service supervision — verified versioned artifact activation, Linux `systemd` and macOS `launchd` units (`plutil`, `bootout`/`bootstrap`, rollback), live process/Unix-socket identity verification, and an in-process config-watched reloader |
|
|
76
|
+
| `stitchkit/service-host/macos` | server (Bun or Node, macOS) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | peer-free macOS daemon bundle toolkit — fail-closed Developer ID `codesign`, strict C11 launcher `.app` bundles with atomic `RENAME_SWAP` install/rollback, Apple 824×824 squircle `AppIcon.icns`, streaming `lsregister` maintenance, and TCC responsibility inspection |
|
|
77
|
+
| `stitchkit/telegram` | server (Bun or Node) | evolving<br>_redefined in 8 of the 36 minors since 0.94.0, most recently 0.127.0_ | peer-free Telegram platform primitives — Mini App `initData` verification, widget limits and the `widget_query` and widget message schemas, send-failure classification, one outbound budget per bot token with weighted albums and per-chat 429 pauses, resumable broadcasts, the operator channel with dedupe, a Bot API transport that separates a request that never left from an unknown outcome, local Bot API files, the waveform of a voice message read from its PCM, webhook ownership and durable webhook update intake |
|
|
78
|
+
| `stitchkit/telegram/grammy` | server (Bun or Node) | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the token's outbound budget as one grammY client transformer — a 429 that comes back as a response pauses its chat, and a cancelled wait is a request that never left; the widget methods over the same client |
|
|
79
|
+
| `stitchkit/telegram/html` | browser and server | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | Telegram's HTML as a tree — compile GFM Markdown to Telegram HTML with fence-aware splitting, clean any markup to what Telegram accepts, cut long text into valid parts by what the reader sees, check markup before it is sent |
|
|
80
|
+
| `stitchkit/telegram/voice` | browser and server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the waveform of a voice message as one format — packed for `sendVoice` the way Telegram Desktop scales it, unpacked to draw it, a `getMe` read of whether the server takes it |
|
|
81
|
+
| `stitchkit/telegram/screens` | server (Bun or Node) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | a bot's menus as declared screens over grammY — typed paths, actions and input, message reconciliation, state in any `StorageAdapter`, a test chat |
|
|
82
|
+
| `stitchkit/tracking` | browser **and** server | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | visitor-tracking mechanics — `createTrackingClient`, the tab-shared outbox, the page-leave beacon, attribution, the contract factory; no event vocabulary, no React |
|
|
83
|
+
| `stitchkit/tracking/contract` | browser **and** server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the wire shapes — the contract factory, event and visit schemas, the performance sample and its trust threshold; brings `zod` |
|
|
84
|
+
| `stitchkit/tracking/performance` | browser **and** server | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | Web Vitals from real visitors, collected after load through the optional peer `web-vitals`; no `zod` |
|
|
85
|
+
| `stitchkit/tracking/server` | server (Bun or Node) | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the decisions a tracking backend makes — dispositions, visit lease over an application-owned store, active intervals, presence; no database |
|
|
86
|
+
| `stitchkit/release` | browser **and** server | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | a page follows the release it was built for — `createReleaseMarker` on the server, `createReleaseWatcher` in the browser, the `X-Build-Id` header and a socket event between them |
|
|
87
|
+
| `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the mechanics of a live voice reply — `SentenceCutter`, `speakableText`, a `SpeechQueue` that synthesises ahead and stops on interruption, the conversation phases |
|
|
88
|
+
| `stitchkit/sync` | browser **and** server | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | the client half of an offline-first sync — which outbox rows leave next, pending edits on top of remote rows, deletes that win until acknowledged, the cursor session, the push and page wire with an open outcome vocabulary; no driver, runs in Hermes |
|
|
89
|
+
| `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | the server half — versions that commit in order, a ledger that runs each change once, a feed of what changed, inside the app's own transaction; a memory store and `checkSyncStore` |
|
|
90
|
+
| `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | managed GeoIP reader generations, last-known-good reload and the optional MaxMind adapter |
|
|
91
|
+
| `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the place snapshot schema, for a shared contract that stores or sends `GeoAttribution`; brings `zod` |
|
|
92
|
+
| `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | a workbook from rows and typed columns, with no dependency; text never runs as a formula |
|
|
93
|
+
| `stitchkit/oauth` | browser **and** server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | provider-neutral Authorization Code + PKCE request and one-shot callback transaction mechanics |
|
|
94
|
+
| `stitchkit/google` | server (Bun or Node) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | optional Google code exchange and verified OIDC identity adapter |
|
|
95
|
+
| `stitchkit/observability` | server | stable<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | request/tool event projections — `createObservability`, trace context, sanitisation |
|
|
96
|
+
| `stitchkit/testing` | tests on Bun or Node | stable<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | in-process generated clients over a real Fetch handler, the managed-resource conformance kit and manual time for schedules and retries |
|
|
97
|
+
| `stitchkit/declaration` | browser + build and deployment tooling (Bun or Node) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.128.0_ | `ProjectDeclarationSchema` — the one machine-readable statement a repository makes about itself |
|
|
98
|
+
| `stitchkit/react` | browser + server rendering | stable<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | `createCursorQuery`, `createCacheBridge`, QueryClient and `ApiError` retry policy |
|
|
99
|
+
| `stitchkit/react/keyboard` | browser | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.115.0_ | which part of a screen gets a key — ordered layers, one Escape per level, list zones with real focus; see [keyboard guide](keyboard.md) |
|
|
100
|
+
| `stitchkit/react/keyboard/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the keyboard layers and zones without a DOM — fakes for the window, elements and key events beside the two engines, to test the order of layers, `scope`/`inert` and the edges of a zone in milliseconds |
|
|
101
|
+
| `stitchkit/agent-runtime` | server | evolving<br>_redefined in 9 of the 36 minors since 0.94.0, most recently 0.128.0_ | optional durable conversation/run loop, history, models, prompts, fencing and events |
|
|
102
|
+
| `stitchkit/agent-runtime/sandbox` | server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | optional Linux Bubblewrap sessions, host sandbox capability probes, durable workspaces and a host HTTP credential gateway; see [sandbox guide](sandbox.md) |
|
|
103
|
+
| `stitchkit/agent-runtime/testing` | tests on Bun or Node | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | credential-free replay, scripted provider faults, deterministic race controls and the agent-store conformance kit |
|
|
104
|
+
| `stitchkit/agent-runtime/harness` | server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | resource-aware process-local facade over the canonical Agent runtime; supervision stays outside |
|
|
105
|
+
| `stitchkit/agent-runtime/coding-tools` | server (Bun or Node) | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | bounded host-authorized direct file and shell tools; a root boundary, not an OS sandbox |
|
|
106
|
+
| `stitchkit/agent-runtime/openrouter` | server | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | isolated OpenRouter language-model adapter |
|
|
107
|
+
| `stitchkit/agent-runtime/browser` | browser + server | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | canonical agent records, events, reconnect cursor and optional conversation controller |
|
|
108
|
+
| `stitchkit/agent-runtime/react` | browser + server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | React subscription to an application-owned agent controller |
|
|
109
|
+
| `stitchkit/agent-runtime/realtime` | server (Bun or Node) | evolving<br>_redefined in 2 of the 36 minors since 0.94.0, most recently 0.127.0_ | authorized agent control over the existing Socket.IO server |
|
|
110
|
+
| `stitchkit/agent-executor` | server (Bun or Node) | evolving<br>_redefined in 1 of the 3 minors since 0.127.0, most recently 0.129.0_ | the executor ↔ server contract for external coding agents (Claude Code, Codex, ACP): delta vocabulary over the shared message parts, thread leases with a fence, turn phases and their reports |
|
|
111
|
+
| `stitchkit/agent-executor/claude` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | the Claude Code driver: the unmodified CLI over `stream-json`, permission requests answered by the host, reconcile by the input's id in the profile's transcript |
|
|
112
|
+
| `stitchkit/agent-executor/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | Claude through the Agent SDK: the application's `query` (optional peer `@anthropic-ai/claude-agent-sdk`), the CLI's classifier, `canUseTool` asked of the host |
|
|
113
|
+
| `stitchkit/agent-executor/acp` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | an Agent Client Protocol v1 agent over stdio: settings by category, images, MCP servers, `session/resume`/`load`/`list`, `session/cancel`; no reconcile |
|
|
114
|
+
| `stitchkit/agent-executor/codex` | server (Bun or Node) | evolving<br>_redefined in 1 of the 3 minors since 0.127.0, most recently 0.129.0_ | the Codex driver: `codex app-server` over stdio or Unix-socket WebSocket (`unix-listen` / `unix-connect`), thread policy and live controls, approval and input requests answered by the host, unknown server requests refused, reconcile by the client id in `thread/turns/list` |
|
|
115
|
+
| `stitchkit/agent-executor/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | the engine conformance kit and the scripted fake engine a driver is proven against |
|
|
116
|
+
| `stitchkit/agent-runtime/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.127.0_ | the agent store, conversation reader and companion host on Postgres, over the application's own client (Bun SQL, Prisma, `pg`) |
|
|
117
|
+
| `stitchkit/agent-runtime/sqlite/bun` | server (Bun) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | durable built-in SQLite store for the agent runtime |
|
|
118
|
+
| `stitchkit/agent-runtime/sqlite/node` | server (Node ≥ 22.5) | evolving<br>_redefined in 1 of the 36 minors since 0.94.0, most recently 0.127.0_ | durable built-in SQLite store for the agent runtime |
|
|
119
119
|
| `stitchkit-tui` | terminal (Bun) | evolving | optional official OpenTUI host over a caller-composed headless runtime |
|
|
120
|
-
| `stitchkit/application` | browser + server | evolving<br>_redefined in 9 of the
|
|
121
|
-
| `stitchkit/application/grammy` | server | evolving<br>_redefined in 0 of the
|
|
122
|
-
| `stitchkit/application/opentelemetry` | server | evolving<br>_redefined in 0 of the
|
|
123
|
-
| `stitchkit/application/diagnostic-journal` | server | evolving<br>_redefined in 3 of the
|
|
124
|
-
| `stitchkit/application/directory-inbox` | server | evolving<br>_redefined in 0 of the
|
|
120
|
+
| `stitchkit/application` | browser + server | evolving<br>_redefined in 9 of the 36 minors since 0.94.0, most recently 0.127.0_ | managed resource graph, readiness, admission, schedules, subtree restart and bounded shutdown |
|
|
121
|
+
| `stitchkit/application/grammy` | server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | a grammY bot as application resources — configuration, then polling with updates admitted by batch — and the webhook adapter |
|
|
122
|
+
| `stitchkit/application/opentelemetry` | server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | maps application snapshots onto an injected OpenTelemetry `Meter` |
|
|
123
|
+
| `stitchkit/application/diagnostic-journal` | server | evolving<br>_redefined in 3 of the 36 minors since 0.94.0, most recently 0.127.0_ | the local diagnostic journal — an exclusive bounded writer and snapshot reader with explicit anomalies |
|
|
124
|
+
| `stitchkit/application/directory-inbox` | server | evolving<br>_redefined in 0 of the 36 minors since 0.94.0_ | the directory inbox — entries another program drops into a directory, delivered to the application at least once |
|
|
125
125
|
|
|
126
126
|
Rule of thumb: browser code imports `stitchkit` and `stitchkit/react`; server
|
|
127
127
|
code adds `stitchkit/server` (or `stitchkit/node` on Node) and opts into
|
|
@@ -19702,6 +19702,34 @@ charts, no merged cells and no streaming: an application that needs them takes a
|
|
|
19702
19702
|
|
|
19703
19703
|
# Upgrading stitchkit
|
|
19704
19704
|
|
|
19705
|
+
## Released migration: 0.129.0
|
|
19706
|
+
|
|
19707
|
+
### codex-plan-window-keys
|
|
19708
|
+
|
|
19709
|
+
**Who must act:** every caller of `codexPlanWindows` or `createCodexDriver` (`status()`) from
|
|
19710
|
+
`stitchkit/agent-executor/codex` that matches plan window names against `'primary'` or
|
|
19711
|
+
`'secondary'`.
|
|
19712
|
+
|
|
19713
|
+
`codexPlanWindows` now unfolds the full `account/rateLimits/read` response envelope (including
|
|
19714
|
+
per-model `rateLimitsByLimitId` buckets) as well as bare `RateLimitSnapshot` objects, keying each
|
|
19715
|
+
window as `<limitId|limit>:<windowDurationMins>m` (falling back to `<limitId|limit>:<slot>` when
|
|
19716
|
+
duration is absent, or `<limitId|limit>:<windowDurationMins>m:<slot>` when both slots share a
|
|
19717
|
+
duration) and populating optional `windowDurationMins` and `label` on `PlanWindow`:
|
|
19718
|
+
|
|
19719
|
+
```ts
|
|
19720
|
+
// before
|
|
19721
|
+
const fiveHour = status.planLimits?.windows.find((w) => w.name === 'primary')
|
|
19722
|
+
const weekly = status.planLimits?.windows.find((w) => w.name === 'secondary')
|
|
19723
|
+
|
|
19724
|
+
// after
|
|
19725
|
+
const fiveHour = status.planLimits?.windows.find(
|
|
19726
|
+
(w) => w.windowDurationMins === 300 || w.name === 'limit:primary',
|
|
19727
|
+
)
|
|
19728
|
+
const weekly = status.planLimits?.windows.find(
|
|
19729
|
+
(w) => w.windowDurationMins === 10080 || w.name === 'limit:secondary',
|
|
19730
|
+
)
|
|
19731
|
+
```
|
|
19732
|
+
|
|
19705
19733
|
## Released migration: 0.128.0
|
|
19706
19734
|
|
|
19707
19735
|
### invocation-payload-lifecycle
|
|
@@ -27872,14 +27900,14 @@ leaves of their own; this entrypoint knows no vendor. Evolving.
|
|
|
27872
27900
|
|--------|------|---------|
|
|
27873
27901
|
| `defineAgentExecutorContract` / `agentExecutorRealtimeContract` | functions / contract | the operations (`hello`, `claim`, `renew`, `release`, `report`) and the events the server pushes (`turn:offer`, `turn:interrupt`, `turn:reply`) |
|
|
27874
27902
|
| `ExecutorHelloSchema` / `ExecutorHello` / `ExecutorHelloAckSchema` / `ExecutorHelloAck` / `ExecutorEngineSchema` / `ExecutorEngine` / `ExecutorEngineInfoSchema` / `ExecutorReconcileSchema` / `ExecutorProfileSchema` / `ExecutorProfile` / `ExecutorResumableTurnSchema` | schemas / _types_ | what an executor announces — engines (their `models`: `listed` with ids, `not-asked` or `failed` with why), private profiles, resumable turns with their `turnOrdinal` — and what the server holds of each: `acked` up to `ackedSeq`, or `not-retained` |
|
|
27875
|
-
| `PlanLimitsSchema` / `PlanLimits` / `PlanWindowSchema` / `PlanWindow` | schemas / _types_ | a subscription's limits: `known`, `no-plan-limit` or `unpublished`, with the last read's error beside the last answer |
|
|
27903
|
+
| `PlanLimitsSchema` / `PlanLimits` / `PlanWindowSchema` / `PlanWindow` | schemas / _types_ | a subscription's limits: `known`, `no-plan-limit` or `unpublished`, with the last read's error beside the last answer; each window carries `name`, `usedPercent`, and optional `resetsAt`, `windowDurationMins` and `label` |
|
|
27876
27904
|
| `ThreadClaimSchema` / `ThreadClaim` / `ThreadLeaseSchema` / `ThreadLease` / `ThreadRenewSchema` / `ThreadReleaseSchema` | schemas / _types_ | thread leases pinned to an executor and profile, under a fence |
|
|
27877
27905
|
| `TurnOfferSchema` / `TurnOffer` / `TurnPhaseSchema` / `TurnPhase` / `TurnReportSchema` / `TurnReport` / `TurnReportAckSchema` / `TurnFailureKindSchema` / `TurnInterruptSchema` / `InteractionReplySchema` / `InteractionReply` / `EXECUTOR_ERRORS` | schemas / _types_ / constant | a turn offered under its thread's `turnOrdinal`, its phases and reports applied once by `executorSeq` (acknowledged `applied`, `duplicate` or `not-retained`), interrupts, answers to an engine's requests, and the refusal codes |
|
|
27878
27906
|
| `ExecutorDeltaSchema` / `ExecutorDelta` / `ExecutorErrorKindSchema` / `ExecutorErrorKind` / `ExecutorRawSchema` | schemas / _types_ | what an engine said: `agent-parts` blocks with `turnId`, `itemId` and `raw`, plus requests, usage, the context gauge (`context-usage`), the end of the turn, errors by kind and window resets |
|
|
27879
27907
|
| `projectExecutorDeltas` | function | fold a turn's deltas into the message parts the agent runtime stores |
|
|
27880
27908
|
| `AgentEngineDriver` / `AgentEngineSession` / `AgentEngineTurn` / `ExecutorEngineInfo` | _types_ | one vendor's engine behind one interface: info, login status, a session per connection, turns with `interrupt` and `respond`, `findInput` for a `client-id` engine |
|
|
27881
27909
|
| `dispatchTurn` / `DispatchOutcome` | function / _type_ | send a turn's input at most once through `LocalStepDurability.effect`: `sent`, `delivered` after a reconcile, or `unknown_after_restart` — never resent |
|
|
27882
|
-
| `spawnEngineProcess` / `EngineProcess` | function / _type_ | an engine process talked to by lines over `stitchkit/process`: declared environment, owner-loss termination, bounded lines (`maxLineBytes`), stderr, queued stdin (`maxPendingStdinBytes`) and stdin written over the connection's life (`maxStdinBytes`, a refused `send()` that leaves the engine running); every option checked before the spawn |
|
|
27910
|
+
| `spawnEngineProcess` / `EngineProcess` | function / _type_ | an engine process talked to by lines over `stitchkit/process`: declared environment, owner-loss termination, optional leader `pid` / `pidReady`, `stdoutMode` (`'lines'` default or `'drain'` for socket-serving engines), bounded lines (`maxLineBytes`), stderr, queued stdin (`maxPendingStdinBytes`) and stdin written over the connection's life (`maxStdinBytes`, a refused `send()` that leaves the engine running); every option checked before the spawn |
|
|
27883
27911
|
| `createExecutorLeases` / `memoryExecutorLeaseStore` / `ExecutorLeaseStateStore` / `ExecutorLeaseState` / `ExecutorLeaseStateSchema` / `ExecutorLeaseRefusal` | functions / _types_ / class | the server's thread leases and turn receipts over one atomically updated value, bounded by threads: each thread keeps the receipts of its last `retainedTurns` turns (default 64, at most 1024) and the highest `turnOrdinal` it let go, a report of a turn at or below it is `not-retained`, and `resume(resumable)` answers a hello the same way; a `StateStore` of `stitchkit/application` fits; a refusal is an `ExecutorLeaseRefusal` — an `AppError` with status 409 and a code of `EXECUTOR_ERRORS` — so an operation returning the service's promise answers `409 { error: { code } }` |
|
|
27884
27912
|
| `ExecutorProfileConfigSchema` / `ExecutorProfileConfig` / `engineEnvironment` / `ownCredentials` / `helloProfile` / `CREDENTIAL_VARIABLES` | schema / _type_ / functions / constant | a profile on the executor's machine, the engine's allowlisted environment with the profile's `home` as `CLAUDE_CONFIG_DIR`, `CODEX_HOME` or (ACP) `HOME`, and `helloProfile({ profile, status, ambient })` carrying no path and no value; a driver refuses a profile whose `engine` is not its own with a `TypeError`, before it reads a file or starts the engine |
|
|
27885
27913
|
| `mergeRateLimitEvent` / `planLimitsReadFailed` / `planLimitsDue` / `planWindowExpired` | functions | plan limits kept as three answers (`mergeRateLimitEvent`, `planLimitsReadFailed`, `planLimitsDue` take an options object), with a failed read beside the last answer |
|
|
@@ -27900,26 +27928,29 @@ Evolving.
|
|
|
27900
27928
|
|--------|------|---------|
|
|
27901
27929
|
| `createClaudeCliDriver` / `ClaudeCliDriverConfig` | function / _type_ | the driver; `permissionMode` defaults to `default`, so the server decides every tool the profile does not already allow; optional `resolveFile` and `maxImageBytes` (default 5 MiB) enable ordered turn-input image attachments |
|
|
27902
27930
|
| `claudeFakeScenarios` | constant | the conformance scenarios in this dialect, for a scripted engine |
|
|
27903
|
-
| `claudeTranscriptPath` | function | where a profile keeps a session's transcript (`{ home, cwd, sessionId }`) |
|
|
27931
|
+
| `claudeTranscriptPath` | function | where a profile keeps a session's transcript (`{ home, cwd, sessionId }`), resolving `realpath` of `cwd` (or its nearest existing ancestor) so symlinked workspaces match the canonical transcript location |
|
|
27904
27932
|
| `claudePlanWindows` | function | Claude's `rate_limit_event` as plan windows (`five_hour`, `seven_day`) |
|
|
27905
27933
|
|
|
27906
27934
|
---
|
|
27907
27935
|
|
|
27908
27936
|
## `stitchkit/agent-executor/claude-sdk`
|
|
27909
27937
|
|
|
27910
|
-
Claude through the Agent SDK. The application imports `query`
|
|
27911
|
-
`@anthropic-ai/claude-agent-sdk` (an optional peer) and
|
|
27912
|
-
imports only the SDK's types, so it loads without the
|
|
27913
|
-
the same classifier as the CLI's, permissions arrive
|
|
27914
|
-
interrupt is `Query.interrupt()` and denies a
|
|
27915
|
-
query that breaks fails its turn — the next
|
|
27916
|
-
|
|
27917
|
-
|
|
27938
|
+
Claude through the Agent SDK. The application imports `query` (and optionally
|
|
27939
|
+
`forkSession`) from `@anthropic-ai/claude-agent-sdk` (an optional peer) and
|
|
27940
|
+
passes them in; the leaf imports only the SDK's types, so it loads without the
|
|
27941
|
+
SDK. Records are read by the same classifier as the CLI's, permissions arrive
|
|
27942
|
+
through `canUseTool`, an interrupt is `Query.interrupt()` and denies a
|
|
27943
|
+
permission still pending, and a query that breaks fails its turn — the next
|
|
27944
|
+
turn opens a new one that resumes the session with live model, permission mode
|
|
27945
|
+
and flag settings re-applied. Reconcile is by the input's `uuid` in the
|
|
27946
|
+
profile's transcript. Evolving.
|
|
27918
27947
|
|
|
27919
27948
|
| Export | Kind | Purpose |
|
|
27920
27949
|
|--------|------|---------|
|
|
27921
|
-
| `createClaudeSdkDriver` / `ClaudeSdkDriverConfig` | function /
|
|
27922
|
-
| `
|
|
27950
|
+
| `createClaudeSdkDriver` / `ClaudeSdkDriver` / `ClaudeSdkDriverConfig` | function / _types_ | the driver: `query` and `sdkVersion` required; optional `forkSession`, `model`, `permissionMode` (default `default`), `allowDangerouslySkipPermissions`, `pathToClaudeCodeExecutable`, `systemPrompt`, `settingSources`, `enableFileCheckpointing`, `supportedDialogKinds` / `onUserDialog`, `hooks`, `tools`, `allowedTools`, `disallowedTools`, `mcpServers`, `mcpServersDelivery`, `strictMcpConfig`, `plugins`, `agents`, `extraArgs`, `stderr`, `spawnClaudeCodeProcess`, `onProviderPid`, `verifyDelegation`, `resolveFile`, `maxImageBytes` (default 5 MiB), and `ambient`. `status` reports the plan windows the session's `rate_limit_event` carried and the login as `unknown`; `forkSession(sessionId, options?)` delegates to the injected SDK function |
|
|
27951
|
+
| `ClaudeSdkSession` | _type_ | extended session returned by `open()`: exposes `providerPid`, `setModel`, `setPermissionMode`, `applyFlagSettings`, `initializationResult`, `supportedModels`, `supportedCommands`, `accountInfo`, `getContextUsage`, `mcpServerStatus`, `toggleMcpServer`, `reconnectMcpServer`, and `rewindFiles` |
|
|
27952
|
+
| `ClaudeSdkDelegationCheck` | _type_ | fail-closed startup verification options (`requireHooksApplied`, `requireNoMcpServers`, `timeoutMs`) enforced at `open()` and on every query restart |
|
|
27953
|
+
| `ClaudeSdkQuery` / `ClaudeSdkRun` / `ClaudeSdkForkSession` | _types_ | the SDK `query` / `forkSession` signatures the leaf takes and the subset of a running `Query` it uses; the SDK's own functions fit as they are |
|
|
27923
27954
|
|
|
27924
27955
|
---
|
|
27925
27956
|
|
|
@@ -27967,13 +27998,19 @@ them itself, or through this leaf when they speak ACP.
|
|
|
27967
27998
|
|
|
27968
27999
|
## `stitchkit/agent-executor/codex`
|
|
27969
28000
|
|
|
27970
|
-
Codex through `codex app-server` over stdio
|
|
28001
|
+
Codex through `codex app-server` over stdio (default) or RFC 6455
|
|
28002
|
+
WebSocket-over-Unix-socket (`unix-listen` / `unix-connect`). Evolving.
|
|
27971
28003
|
|
|
27972
28004
|
| Export | Kind | Purpose |
|
|
27973
28005
|
|--------|------|---------|
|
|
27974
|
-
| `createCodexDriver` / `CodexDriverConfig` | function /
|
|
28006
|
+
| `createCodexDriver` / `CodexDriver` / `CodexDriverConfig` | function / _types_ | the driver: `transport` (`stdio`, `unix-listen`, `unix-connect`), `serverArgs`, thread policy (`model`, `modelProvider`, `approvalPolicy`, `sandbox`, `developerInstructions`, `runtimeWorkspaceRoots`, `config`), `prepareThread` / `verifyThread` lifecycle hooks, optional `resolveFile` and `maxImageBytes` (default 5 MiB) for turn-input images, approvals and input asked of the host, multi-bucket limits from `account/rateLimits/read` |
|
|
28007
|
+
| `CodexTransportConfig` | _type_ | transport selector: `{ kind: 'stdio' }`, `{ kind: 'unix-listen', socketPath, listenTimeoutMs? }`, or `{ kind: 'unix-connect', socketPath, expectedOwnerUid? }` |
|
|
28008
|
+
| `CodexSession` / `CodexControlClient` | _types_ | extended session returned by `open()`: exposes `providerPid`, applied `threadContext`, per-turn overrides on `startTurn`, `steerTurn`, non-mutating `forkThread`, `compactThread`, `readConfig`, `listMcpServerStatus`, `listSkills`, `listModels`, `readAccount`, and `readRateLimits` |
|
|
28009
|
+
| `CodexThreadContext` / `CodexThreadPolicyOverrides` / `CodexApprovalPolicy` / `CodexSandboxMode` | _types_ | applied policy/model context reported by `thread/start`, `thread/resume`, or `thread/fork`, and overridable thread policy fields |
|
|
28010
|
+
| `CodexTurnInput` / `CodexCollaborationMode` / `CodexSteerTurnInput` / `CodexForkThreadOptions` / `CodexForkedThread` | _types_ | per-turn `startTurn` overrides (`model`, fail-closed `modelProvider`, `reasoningEffort`, `collaborationMode`, `approvalPolicy`, `sandboxPolicy`, `runtimeWorkspaceRoots`), `steerTurn` input, and `forkThread` options/result |
|
|
28011
|
+
| `CodexUnixSocketError` / `CodexUnixSocketErrorKind` | class / _type_ | typed Unix-socket refusal/transport error distinguishing `endpoint-absent`, `endpoint-not-listening`, `target-refused`, `upgrade-refused`, and `connection-lost` |
|
|
27975
28012
|
| `codexFakeScenarios` | constant | the conformance scenarios in this dialect, for a scripted app-server |
|
|
27976
|
-
| `codexPlanWindows` | function | Codex's `rateLimits`
|
|
28013
|
+
| `codexPlanWindows` | function | unfolds Codex's `account/rateLimits/read` envelope (including `rateLimitsByLimitId`) or a single snapshot into `<limitId\|limit>:<minutes>m\|<slot>` plan windows carrying optional `windowDurationMins` and `label` |
|
|
27977
28014
|
|
|
27978
28015
|
---
|
|
27979
28016
|
|
package/llms.txt
CHANGED
|
@@ -9,7 +9,7 @@ Build with stitchkit: define a contract once, then `implement` it and serve it (
|
|
|
9
9
|
Load the slice for each entrypoint your code imports — `import … from 'stitchkit/server'` → `llms/server.txt`; the root `stitchkit` import → `llms/stitchkit.txt`. A slice holds that entrypoint's API reference section and the guide pages whose home it is; every guide lives in exactly one slice, and a slice that needs another's guide names it under "Also read". Each file is at most 50.0 KB; a longer one continues in numbered parts, each naming the next at its top. Moving across versions: load `llms/upgrading.txt` and the range slices it lists between your version and the target. `llms-full.txt` inlines everything; it is far larger than a context window, so do not read it whole.
|
|
10
10
|
|
|
11
11
|
## Entrypoint slices
|
|
12
|
-
- **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 38.
|
|
12
|
+
- **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 38.5 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 46.0 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 27.5 KB
|
|
13
13
|
- **stitchkit/live**: [llms/live.txt](llms/live.txt) 22.7 KB
|
|
14
14
|
- **stitchkit/react**: [llms/react.txt](llms/react.txt) 8.7 KB
|
|
15
15
|
- **stitchkit/react/keyboard**: [llms/react-keyboard.txt](llms/react-keyboard.txt) 22.7 KB
|
|
@@ -35,11 +35,11 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
|
|
|
35
35
|
- **stitchkit/agent-runtime/coding-tools**: [llms/agent-runtime-coding-tools.txt](llms/agent-runtime-coding-tools.txt) 5.0 KB
|
|
36
36
|
- **stitchkit/agent-runtime/browser**: [llms/agent-runtime-browser.txt](llms/agent-runtime-browser.txt) 4.0 KB
|
|
37
37
|
- **stitchkit/agent-runtime/openrouter**: [llms/agent-runtime-openrouter.txt](llms/agent-runtime-openrouter.txt) 5.0 KB
|
|
38
|
-
- **stitchkit/agent-executor**: [llms/agent-executor.txt](llms/agent-executor.txt) 6.
|
|
38
|
+
- **stitchkit/agent-executor**: [llms/agent-executor.txt](llms/agent-executor.txt) 6.4 KB
|
|
39
39
|
- **stitchkit/agent-executor/acp**: [llms/agent-executor-acp.txt](llms/agent-executor-acp.txt) 4.4 KB
|
|
40
|
-
- **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 1.
|
|
41
|
-
- **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt)
|
|
42
|
-
- **stitchkit/agent-executor/codex**: [llms/agent-executor-codex.txt](llms/agent-executor-codex.txt)
|
|
40
|
+
- **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 1.6 KB
|
|
41
|
+
- **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt) 2.8 KB
|
|
42
|
+
- **stitchkit/agent-executor/codex**: [llms/agent-executor-codex.txt](llms/agent-executor-codex.txt) 3.0 KB
|
|
43
43
|
- **stitchkit/agent-executor/testing**: [llms/agent-executor-testing.txt](llms/agent-executor-testing.txt) 1.7 KB
|
|
44
44
|
- **stitchkit/agent-runtime/postgres**: [llms/agent-runtime-postgres.txt](llms/agent-runtime-postgres.txt) 1.7 KB
|
|
45
45
|
- **stitchkit/agent-runtime/sqlite/bun**: [llms/agent-runtime-sqlite-bun.txt](llms/agent-runtime-sqlite-bun.txt) 1.7 KB
|
|
@@ -86,7 +86,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
|
|
|
86
86
|
|
|
87
87
|
## Upgrading slices
|
|
88
88
|
- **Upgrading — how to move across versions**: [llms/upgrading.txt](llms/upgrading.txt) 12.8 KB
|
|
89
|
-
- **Upgrading 0.128.0 → 0.
|
|
89
|
+
- **Upgrading 0.128.0 → 0.129.0**: [llms/upgrading-0.128.0-0.129.0.txt](llms/upgrading-0.128.0-0.129.0.txt) 6.5 KB
|
|
90
90
|
- **Upgrading 0.127.0 → 0.127.0**: [llms/upgrading-0.127.0.txt](llms/upgrading-0.127.0.txt) 46.3 KB
|
|
91
91
|
- **Upgrading 0.106.0 → 0.126.0**: [llms/upgrading-0.106.0-0.126.0.txt](llms/upgrading-0.106.0-0.126.0.txt) 40.4 KB
|
|
92
92
|
- **Upgrading 0.96.0 → 0.105.0**: [llms/upgrading-0.96.0-0.105.0.txt](llms/upgrading-0.96.0-0.105.0.txt) 45.8 KB
|
package/package.json
CHANGED