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.
Files changed (341) hide show
  1. package/CHANGELOG.md +181 -1
  2. package/dist/agent-executor/acp/v1-connect.d.ts +12 -1
  3. package/dist/agent-executor/acp/v1-connect.d.ts.map +1 -1
  4. package/dist/agent-executor/acp/v1-driver.d.ts +3 -1
  5. package/dist/agent-executor/acp/v1-driver.d.ts.map +1 -1
  6. package/dist/agent-executor/acp/v1-handlers.d.ts +9 -1
  7. package/dist/agent-executor/acp/v1-handlers.d.ts.map +1 -1
  8. package/dist/agent-executor/acp/v1-permission.d.ts +3 -2
  9. package/dist/agent-executor/acp/v1-permission.d.ts.map +1 -1
  10. package/dist/agent-executor/acp/v1-probe.d.ts +10 -1
  11. package/dist/agent-executor/acp/v1-probe.d.ts.map +1 -1
  12. package/dist/agent-executor/acp/v1-session.d.ts +11 -2
  13. package/dist/agent-executor/acp/v1-session.d.ts.map +1 -1
  14. package/dist/agent-executor/acp/v1-turn.d.ts +13 -10
  15. package/dist/agent-executor/acp/v1-turn.d.ts.map +1 -1
  16. package/dist/agent-executor/claude/cli-driver.d.ts +6 -0
  17. package/dist/agent-executor/claude/cli-driver.d.ts.map +1 -1
  18. package/dist/agent-executor/claude/record-router.d.ts +44 -0
  19. package/dist/agent-executor/claude/record-router.d.ts.map +1 -0
  20. package/dist/agent-executor/claude/session.d.ts +2 -0
  21. package/dist/agent-executor/claude/session.d.ts.map +1 -1
  22. package/dist/agent-executor/claude-sdk/controls.d.ts +1 -0
  23. package/dist/agent-executor/claude-sdk/controls.d.ts.map +1 -1
  24. package/dist/agent-executor/claude-sdk/driver.d.ts +20 -2
  25. package/dist/agent-executor/claude-sdk/driver.d.ts.map +1 -1
  26. package/dist/agent-executor/claude-sdk/engine-spawn.d.ts +18 -0
  27. package/dist/agent-executor/claude-sdk/engine-spawn.d.ts.map +1 -0
  28. package/dist/agent-executor/claude-sdk/query-loop.d.ts +9 -7
  29. package/dist/agent-executor/claude-sdk/query-loop.d.ts.map +1 -1
  30. package/dist/agent-executor/claude-sdk/query-manager.d.ts +42 -0
  31. package/dist/agent-executor/claude-sdk/query-manager.d.ts.map +1 -0
  32. package/dist/agent-executor/claude-sdk/query-options.d.ts +4 -1
  33. package/dist/agent-executor/claude-sdk/query-options.d.ts.map +1 -1
  34. package/dist/agent-executor/claude-sdk/session.d.ts.map +1 -1
  35. package/dist/agent-executor/codex/capabilities.d.ts +8 -0
  36. package/dist/agent-executor/codex/capabilities.d.ts.map +1 -0
  37. package/dist/agent-executor/codex/connect.d.ts +6 -1
  38. package/dist/agent-executor/codex/connect.d.ts.map +1 -1
  39. package/dist/agent-executor/codex/driver.d.ts +10 -0
  40. package/dist/agent-executor/codex/driver.d.ts.map +1 -1
  41. package/dist/agent-executor/codex/event-routing.d.ts +23 -1
  42. package/dist/agent-executor/codex/event-routing.d.ts.map +1 -1
  43. package/dist/agent-executor/codex/handlers.d.ts +24 -4
  44. package/dist/agent-executor/codex/handlers.d.ts.map +1 -1
  45. package/dist/agent-executor/codex/limits.d.ts +17 -0
  46. package/dist/agent-executor/codex/limits.d.ts.map +1 -1
  47. package/dist/agent-executor/codex/request-answers.d.ts +23 -3
  48. package/dist/agent-executor/codex/request-answers.d.ts.map +1 -1
  49. package/dist/agent-executor/codex/session-bind.d.ts +6 -1
  50. package/dist/agent-executor/codex/session-bind.d.ts.map +1 -1
  51. package/dist/agent-executor/codex/session-types.d.ts +5 -1
  52. package/dist/agent-executor/codex/session-types.d.ts.map +1 -1
  53. package/dist/agent-executor/codex/session.d.ts.map +1 -1
  54. package/dist/agent-executor/codex/shared-server.d.ts.map +1 -1
  55. package/dist/agent-executor/codex/shared-thread.d.ts +7 -7
  56. package/dist/agent-executor/codex/shared-thread.d.ts.map +1 -1
  57. package/dist/agent-executor/codex/thread-open.d.ts +12 -3
  58. package/dist/agent-executor/codex/thread-open.d.ts.map +1 -1
  59. package/dist/agent-executor/engine-requests.d.ts +42 -0
  60. package/dist/agent-executor/engine-requests.d.ts.map +1 -1
  61. package/dist/agent-executor/handoff-schemas.d.ts.map +1 -1
  62. package/dist/agent-executor/handoff.d.ts.map +1 -1
  63. package/dist/agent-executor/image-input.d.ts +6 -5
  64. package/dist/agent-executor/image-input.d.ts.map +1 -1
  65. package/dist/agent-executor/profile.d.ts +3 -5
  66. package/dist/agent-executor/profile.d.ts.map +1 -1
  67. package/dist/agent-executor/session-primitives.d.ts +64 -3
  68. package/dist/agent-executor/session-primitives.d.ts.map +1 -1
  69. package/dist/agent-executor/testing/claude-sdk-stubs.d.ts +5 -0
  70. package/dist/agent-executor/testing/claude-sdk-stubs.d.ts.map +1 -0
  71. package/dist/agent-executor/testing/conformance-lifecycle.d.ts +11 -0
  72. package/dist/agent-executor/testing/conformance-lifecycle.d.ts.map +1 -0
  73. package/dist/agent-executor/testing/conformance-support.d.ts +23 -0
  74. package/dist/agent-executor/testing/conformance-support.d.ts.map +1 -0
  75. package/dist/agent-executor/testing/conformance.d.ts +7 -2
  76. package/dist/agent-executor/testing/conformance.d.ts.map +1 -1
  77. package/dist/agent-executor/testing/consumer-stubs.d.ts +5 -3
  78. package/dist/agent-executor/testing/consumer-stubs.d.ts.map +1 -1
  79. package/dist/agent-executor/testing/fake-codex-app-server.d.ts +5 -1
  80. package/dist/agent-executor/testing/fake-codex-app-server.d.ts.map +1 -1
  81. package/dist/agent-executor/testing/replay-driver.d.ts +6 -0
  82. package/dist/agent-executor/testing/replay-driver.d.ts.map +1 -1
  83. package/dist/agent-executor/testing/replay-gate.d.ts +4 -1
  84. package/dist/agent-executor/testing/replay-gate.d.ts.map +1 -1
  85. package/dist/agent-runtime/deferred-tool-types.d.ts +2 -0
  86. package/dist/agent-runtime/deferred-tool-types.d.ts.map +1 -1
  87. package/dist/agent-runtime/deferred-tools.d.ts.map +1 -1
  88. package/dist/agent-runtime/sql-rows.d.ts +10 -10
  89. package/dist/agent-runtime/store-conformance-lifecycle.d.ts +20 -20
  90. package/dist/agent-runtime/store-conformance-support.d.ts +10 -10
  91. package/dist/agent-runtime/terminal-commit.d.ts +10 -10
  92. package/dist/browser/client.d.ts.map +1 -1
  93. package/dist/browser/operation-refusal.d.ts +10 -0
  94. package/dist/browser/operation-refusal.d.ts.map +1 -0
  95. package/dist/contract/client-types.d.ts +13 -4
  96. package/dist/contract/client-types.d.ts.map +1 -1
  97. package/dist/contract/define-validation.d.ts +6 -0
  98. package/dist/contract/define-validation.d.ts.map +1 -1
  99. package/dist/contract/define.d.ts +3 -0
  100. package/dist/contract/define.d.ts.map +1 -1
  101. package/dist/contract/errors-factory.d.ts +8 -2
  102. package/dist/contract/errors-factory.d.ts.map +1 -1
  103. package/dist/contract/errors.d.ts +9 -0
  104. package/dist/contract/errors.d.ts.map +1 -1
  105. package/dist/contract/fingerprint.d.ts +4 -1
  106. package/dist/contract/fingerprint.d.ts.map +1 -1
  107. package/dist/contract/operation-refusals.d.ts +51 -0
  108. package/dist/contract/operation-refusals.d.ts.map +1 -0
  109. package/dist/contract/tool-options.d.ts +4 -0
  110. package/dist/contract/tool-options.d.ts.map +1 -1
  111. package/dist/entrypoints/agent-executor/acp.js +254 -196
  112. package/dist/entrypoints/agent-executor/claude-sdk.js +467 -294
  113. package/dist/entrypoints/agent-executor/claude.js +130 -99
  114. package/dist/entrypoints/agent-executor/codex.js +441 -314
  115. package/dist/entrypoints/agent-executor/testing/claude-sdk.d.ts +3 -0
  116. package/dist/entrypoints/agent-executor/testing/claude-sdk.d.ts.map +1 -0
  117. package/dist/entrypoints/agent-executor/testing/claude-sdk.js +329 -0
  118. package/dist/entrypoints/agent-executor/testing.d.ts +1 -2
  119. package/dist/entrypoints/agent-executor/testing.d.ts.map +1 -1
  120. package/dist/entrypoints/agent-executor/testing.js +413 -667
  121. package/dist/entrypoints/agent-executor.d.ts +1 -1
  122. package/dist/entrypoints/agent-executor.d.ts.map +1 -1
  123. package/dist/entrypoints/agent-executor.js +12 -12
  124. package/dist/entrypoints/agent-runtime/browser.js +2 -2
  125. package/dist/entrypoints/agent-runtime/coding-tools.js +3 -3
  126. package/dist/entrypoints/agent-runtime/harness.js +8 -8
  127. package/dist/entrypoints/agent-runtime/postgres.js +5 -5
  128. package/dist/entrypoints/agent-runtime/realtime.js +2 -2
  129. package/dist/entrypoints/agent-runtime/sandbox.js +3 -3
  130. package/dist/entrypoints/agent-runtime/sqlite/bun.js +6 -6
  131. package/dist/entrypoints/agent-runtime/sqlite/node.js +6 -6
  132. package/dist/entrypoints/agent-runtime/testing.js +5 -5
  133. package/dist/entrypoints/agent-runtime.js +26 -18
  134. package/dist/entrypoints/application/grammy.js +1 -1
  135. package/dist/entrypoints/application.js +2 -2
  136. package/dist/entrypoints/cli.js +8 -8
  137. package/dist/entrypoints/contract.d.ts +3 -2
  138. package/dist/entrypoints/contract.d.ts.map +1 -1
  139. package/dist/entrypoints/contract.js +6 -4
  140. package/dist/entrypoints/files/packaging.d.ts +4 -1
  141. package/dist/entrypoints/files/packaging.d.ts.map +1 -1
  142. package/dist/entrypoints/files/packaging.js +868 -167
  143. package/dist/entrypoints/files.js +1 -1
  144. package/dist/entrypoints/handler.js +7 -7
  145. package/dist/entrypoints/http.js +2 -2
  146. package/dist/entrypoints/index.js +10 -8
  147. package/dist/entrypoints/node.js +11 -11
  148. package/dist/entrypoints/observability.js +1 -1
  149. package/dist/entrypoints/process/bootstrap.d.ts +3 -0
  150. package/dist/entrypoints/process/bootstrap.d.ts.map +1 -0
  151. package/dist/entrypoints/process/bootstrap.js +16 -0
  152. package/dist/entrypoints/process.js +7 -7
  153. package/dist/entrypoints/realtime.js +3 -3
  154. package/dist/entrypoints/remote.js +8 -7
  155. package/dist/entrypoints/server.js +30 -14
  156. package/dist/entrypoints/service-host/macos.js +72 -206
  157. package/dist/entrypoints/service-host/work.d.ts +15 -0
  158. package/dist/entrypoints/service-host/work.d.ts.map +1 -0
  159. package/dist/entrypoints/service-host/work.js +676 -0
  160. package/dist/entrypoints/service-host.js +146 -536
  161. package/dist/entrypoints/telegram/screens.js +4 -4
  162. package/dist/entrypoints/telegram.js +4 -4
  163. package/dist/entrypoints/testing.d.ts +2 -1
  164. package/dist/entrypoints/testing.d.ts.map +1 -1
  165. package/dist/entrypoints/testing.js +27 -8
  166. package/dist/entrypoints/tools/agent.js +6 -6
  167. package/dist/entrypoints/tools/connections.js +2 -2
  168. package/dist/entrypoints/tools/invoker.js +5 -5
  169. package/dist/entrypoints/tools/mcp.js +8 -6
  170. package/dist/entrypoints/tools/toolkit.js +11 -9
  171. package/dist/entrypoints/tools.js +19 -17
  172. package/dist/entrypoints/tracking/contract.js +1 -1
  173. package/dist/entrypoints/tracking/performance.js +3 -3
  174. package/dist/files/client-artifact.d.ts +14 -42
  175. package/dist/files/client-artifact.d.ts.map +1 -1
  176. package/dist/files/client-build.d.ts +57 -0
  177. package/dist/files/client-build.d.ts.map +1 -0
  178. package/dist/files/client-declarations.d.ts +35 -0
  179. package/dist/files/client-declarations.d.ts.map +1 -0
  180. package/dist/files/client-package-contract.d.ts +162 -0
  181. package/dist/files/client-package-contract.d.ts.map +1 -0
  182. package/dist/files/client-package-proof.d.ts +38 -0
  183. package/dist/files/client-package-proof.d.ts.map +1 -0
  184. package/dist/files/client-package.d.ts +17 -0
  185. package/dist/files/client-package.d.ts.map +1 -0
  186. package/dist/files/declaration-specifiers.d.ts +30 -0
  187. package/dist/files/declaration-specifiers.d.ts.map +1 -0
  188. package/dist/{index-v759mzed.js → index-02r5sq9p.js} +36 -23
  189. package/dist/{index-0r15pkjq.js → index-0k1ba0ss.js} +1 -1
  190. package/dist/{index-znd1b57f.js → index-1dn2wjq6.js} +5 -4
  191. package/dist/{index-p06z7g7w.js → index-1p8q0yrt.js} +6 -5
  192. package/dist/{index-wa6h4tz6.js → index-1qwd54n3.js} +6 -5
  193. package/dist/index-2dzc7mv9.js +174 -0
  194. package/dist/index-2mz8hj58.js +155 -0
  195. package/dist/{index-17qgm6xe.js → index-34k82crg.js} +2 -2
  196. package/dist/index-3mcbr8sx.js +349 -0
  197. package/dist/{index-ybdq8kk2.js → index-3y2tzhr8.js} +3 -3
  198. package/dist/{index-fgahdc7s.js → index-5n3a8hd8.js} +5 -3
  199. package/dist/{index-jb4m241t.js → index-6918kxbf.js} +45 -1
  200. package/dist/{index-n3bm7zqq.js → index-6kmjcm81.js} +4 -4
  201. package/dist/{index-akf0xkrm.js → index-78da4g74.js} +1 -1
  202. package/dist/{index-9pv126eh.js → index-7fjbdga8.js} +7 -1
  203. package/dist/{index-zhshhxew.js → index-8jf4bt7v.js} +1 -1
  204. package/dist/{index-p16q492v.js → index-8t9dr41h.js} +18 -5
  205. package/dist/{index-xq4s9mka.js → index-8yt3rwe7.js} +1 -1
  206. package/dist/{index-39c2hj6h.js → index-9c76vfxf.js} +7 -3
  207. package/dist/index-9ft4n9j1.js +432 -0
  208. package/dist/{index-sd4e5x5j.js → index-9wdrwx3b.js} +8 -7
  209. package/dist/{index-z114ax5e.js → index-an7vcmwf.js} +49 -2
  210. package/dist/{index-pzhqydxb.js → index-d04w81fz.js} +1 -1
  211. package/dist/index-d2drhb9c.js +219 -0
  212. package/dist/{index-8gmmdz7k.js → index-dacxr7nf.js} +1 -1
  213. package/dist/{index-dnzxxf8a.js → index-dm6nxkn1.js} +1 -1
  214. package/dist/index-dxft2mnm.js +42 -0
  215. package/dist/{index-rxh3qy4x.js → index-fzd477xk.js} +1 -1
  216. package/dist/{index-xgae0bn7.js → index-g4gstmp1.js} +2 -2
  217. package/dist/{index-athc412x.js → index-g5fgeb6v.js} +1 -1
  218. package/dist/{index-z9d74jmb.js → index-gbhj370g.js} +3 -3
  219. package/dist/{index-3fym4j8n.js → index-gtaaxe9d.js} +1 -1
  220. package/dist/{index-v59pxmf1.js → index-jpecjm30.js} +2 -2
  221. package/dist/index-k9g061ma.js +164 -0
  222. package/dist/{index-669374qc.js → index-ma26mfnt.js} +84 -315
  223. package/dist/{index-ryxb427v.js → index-msxf2r8x.js} +16 -3
  224. package/dist/{index-rbd2rq3z.js → index-nr4fhfn4.js} +1 -1
  225. package/dist/{index-qa2jjb65.js → index-pbekeqzm.js} +1 -1
  226. package/dist/{index-mkfhpk11.js → index-pq6g1k9t.js} +2 -2
  227. package/dist/{index-gya4hwh3.js → index-pws5c3x6.js} +21 -1
  228. package/dist/{index-x2fb37t0.js → index-q427q23r.js} +3 -2
  229. package/dist/{index-jcrj0b8z.js → index-qggqqja2.js} +39 -2
  230. package/dist/{index-jxtg307y.js → index-rkjfzs0a.js} +1 -1
  231. package/dist/{index-5tdc0q43.js → index-rw8ze745.js} +5 -3
  232. package/dist/index-s43tr4my.js +129 -0
  233. package/dist/{index-f9p62ean.js → index-stpy56r3.js} +175 -249
  234. package/dist/index-t5g5rm9n.js +213 -0
  235. package/dist/{index-z20pdxeb.js → index-tmv3ez1h.js} +3 -3
  236. package/dist/{index-dcsxj68j.js → index-tqjamnax.js} +1 -1
  237. package/dist/{index-j15dhkda.js → index-wddcfbng.js} +1 -325
  238. package/dist/{index-9sfhje6y.js → index-wh70tmpd.js} +24 -234
  239. package/dist/index-wxjv4sqx.js +82 -0
  240. package/dist/{index-qhjmmsm2.js → index-x46y9z26.js} +2 -2
  241. package/dist/{index-nk0cy9g1.js → index-y53cqwke.js} +1 -1
  242. package/dist/{index-sv5svtq7.js → index-y68gavb5.js} +1 -1
  243. package/dist/{index-5y7j383h.js → index-yrhw10ef.js} +1 -1
  244. package/dist/process/bootstrap.d.ts +12 -0
  245. package/dist/process/bootstrap.d.ts.map +1 -0
  246. package/dist/process/owner-loss-guard.d.ts +2 -9
  247. package/dist/process/owner-loss-guard.d.ts.map +1 -1
  248. package/dist/process/work-root.d.ts +20 -0
  249. package/dist/process/work-root.d.ts.map +1 -0
  250. package/dist/server/contract-identity.d.ts.map +1 -1
  251. package/dist/server/contract-method.d.ts +12 -0
  252. package/dist/server/contract-method.d.ts.map +1 -1
  253. package/dist/server/implement.d.ts.map +1 -1
  254. package/dist/server/openapi.d.ts.map +1 -1
  255. package/dist/server/types.d.ts +10 -9
  256. package/dist/server/types.d.ts.map +1 -1
  257. package/dist/service-host/host-adapter.d.ts +2 -0
  258. package/dist/service-host/host-adapter.d.ts.map +1 -1
  259. package/dist/service-host/work/command.d.ts +72 -0
  260. package/dist/service-host/work/command.d.ts.map +1 -0
  261. package/dist/service-host/work/errors.d.ts +29 -0
  262. package/dist/service-host/work/errors.d.ts.map +1 -0
  263. package/dist/service-host/work/host.d.ts +38 -0
  264. package/dist/service-host/work/host.d.ts.map +1 -0
  265. package/dist/service-host/work/launch.d.ts +51 -0
  266. package/dist/service-host/work/launch.d.ts.map +1 -0
  267. package/dist/service-host/work/membership.d.ts +51 -0
  268. package/dist/service-host/work/membership.d.ts.map +1 -0
  269. package/dist/service-host/work/origin.d.ts +79 -0
  270. package/dist/service-host/work/origin.d.ts.map +1 -0
  271. package/dist/service-host/work/owner.d.ts +45 -0
  272. package/dist/service-host/work/owner.d.ts.map +1 -0
  273. package/dist/service-host/work/placement.d.ts +55 -0
  274. package/dist/service-host/work/placement.d.ts.map +1 -0
  275. package/dist/service-host/work/probe.d.ts +24 -0
  276. package/dist/service-host/work/probe.d.ts.map +1 -0
  277. package/dist/service-host/work/scope-command.d.ts +68 -0
  278. package/dist/service-host/work/scope-command.d.ts.map +1 -0
  279. package/dist/sync/session.d.ts +4 -1
  280. package/dist/sync/session.d.ts.map +1 -1
  281. package/dist/testing/surface-manifest-digest.d.ts +2 -0
  282. package/dist/testing/surface-manifest-digest.d.ts.map +1 -1
  283. package/dist/testing/surface-manifest.d.ts +32 -3
  284. package/dist/testing/surface-manifest.d.ts.map +1 -1
  285. package/dist/tools/agent.d.ts +2 -0
  286. package/dist/tools/agent.d.ts.map +1 -1
  287. package/dist/tools/cli/stream-surface.d.ts.map +1 -1
  288. package/dist/tools/internal/mcp-projection.d.ts +58 -0
  289. package/dist/tools/internal/mcp-projection.d.ts.map +1 -0
  290. package/dist/tools/internal/surface-projector.d.ts +3 -47
  291. package/dist/tools/internal/surface-projector.d.ts.map +1 -1
  292. package/dist/tools/invoker.d.ts +2 -0
  293. package/dist/tools/invoker.d.ts.map +1 -1
  294. package/dist/tools/manifest.d.ts +2 -0
  295. package/dist/tools/manifest.d.ts.map +1 -1
  296. package/dist/tools/mcp/handler.d.ts.map +1 -1
  297. package/dist/tools/mcp/lazy-discovery.d.ts.map +1 -1
  298. package/dist/tools/mcp/mount.d.ts +4 -0
  299. package/dist/tools/mcp/mount.d.ts.map +1 -1
  300. package/dist/tools/mcp/prepare.d.ts +5 -2
  301. package/dist/tools/mcp/prepare.d.ts.map +1 -1
  302. package/dist/tools/mount.d.ts +2 -0
  303. package/dist/tools/mount.d.ts.map +1 -1
  304. package/dist/tools/remote.d.ts.map +1 -1
  305. package/dist/tools/schema/nesting-limit.d.ts +8 -0
  306. package/dist/tools/schema/nesting-limit.d.ts.map +1 -0
  307. package/dist/tools/schema/presentation.d.ts +7 -0
  308. package/dist/tools/schema/presentation.d.ts.map +1 -1
  309. package/dist/tools/surface.d.ts.map +1 -1
  310. package/llms/agent-executor-acp.txt +3 -3
  311. package/llms/agent-executor-claude-sdk.txt +1 -1
  312. package/llms/agent-executor-claude.txt +1 -1
  313. package/llms/agent-executor-codex.txt +1 -1
  314. package/llms/agent-executor-testing-claude-sdk.txt +28 -0
  315. package/llms/agent-executor-testing.txt +7 -8
  316. package/llms/agent-executor.txt +27 -4
  317. package/llms/agent-runtime.txt +1 -1
  318. package/llms/contract.txt +8 -2
  319. package/llms/files-packaging.txt +11 -6
  320. package/llms/process-bootstrap.txt +18 -0
  321. package/llms/process.2.txt +215 -18
  322. package/llms/process.txt +130 -92
  323. package/llms/server.4.txt +49 -1
  324. package/llms/service-host-work.txt +34 -0
  325. package/llms/stitchkit.2.txt +31 -0
  326. package/llms/stitchkit.txt +78 -75
  327. package/llms/sync.txt +5 -2
  328. package/llms/testing.txt +1 -0
  329. package/llms/tools.2.txt +747 -775
  330. package/llms/tools.3.txt +846 -210
  331. package/llms/tools.4.txt +226 -0
  332. package/llms/tools.txt +3 -790
  333. package/llms/{upgrading-0.128.0-0.132.0.txt → upgrading-0.128.0-0.133.0.txt} +194 -6
  334. package/llms/upgrading.txt +1 -1
  335. package/llms-full.txt +746 -135
  336. package/llms.txt +18 -16
  337. package/package.json +12 -4
  338. package/dist/entrypoints/process/owner-loss.d.ts +0 -3
  339. package/dist/entrypoints/process/owner-loss.d.ts.map +0 -1
  340. package/dist/entrypoints/process/owner-loss.js +0 -7
  341. package/llms/process-owner-loss.txt +0 -18
package/llms.txt CHANGED
@@ -9,12 +9,12 @@ 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.8 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 46.0 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 27.5 KB
12
+ - **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 39.8 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 47.2 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
16
16
  - **stitchkit/react/keyboard/testing**: [llms/react-keyboard-testing.txt](llms/react-keyboard-testing.txt) 1.9 KB
17
- - **stitchkit/tools**: [llms/tools.txt](llms/tools.txt) 47.4 KB → [llms/tools.2.txt](llms/tools.2.txt) 38.9 KB → [llms/tools.3.txt](llms/tools.3.txt) 22.1 KB
17
+ - **stitchkit/tools**: [llms/tools.txt](llms/tools.txt) 7.2 KB → [llms/tools.2.txt](llms/tools.2.txt) 45.2 KB → [llms/tools.3.txt](llms/tools.3.txt) 36.9 KB → [llms/tools.4.txt](llms/tools.4.txt) 22.1 KB
18
18
  - **stitchkit/tools/mcp**: [llms/tools-mcp.txt](llms/tools-mcp.txt) 7.7 KB
19
19
  - **stitchkit/tools/agent**: [llms/tools-agent.txt](llms/tools-agent.txt) 1.1 KB
20
20
  - **stitchkit/tools/toolkit**: [llms/tools-toolkit.txt](llms/tools-toolkit.txt) 0.9 KB
@@ -24,10 +24,10 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
24
24
  - **stitchkit/cli**: [llms/cli.txt](llms/cli.txt) 42.0 KB → [llms/cli.2.txt](llms/cli.2.txt) 46.0 KB → [llms/cli.3.txt](llms/cli.3.txt) 12.4 KB
25
25
  - **stitchkit/cli/publish**: [llms/cli-publish.txt](llms/cli-publish.txt) 1.5 KB
26
26
  - **stitchkit/remote**: [llms/remote.txt](llms/remote.txt) 1.0 KB
27
- - **stitchkit/contract**: [llms/contract.txt](llms/contract.txt) 34.8 KB
27
+ - **stitchkit/contract**: [llms/contract.txt](llms/contract.txt) 36.0 KB
28
28
  - **stitchkit/primitives**: [llms/primitives.txt](llms/primitives.txt) 15.2 KB
29
29
  - **stitchkit/handler**: [llms/handler.txt](llms/handler.txt) 2.3 KB
30
- - **stitchkit/server**: [llms/server.txt](llms/server.txt) 42.3 KB → [llms/server.2.txt](llms/server.2.txt) 41.3 KB → [llms/server.3.txt](llms/server.3.txt) 47.1 KB → [llms/server.4.txt](llms/server.4.txt) 40.7 KB → [llms/server.5.txt](llms/server.5.txt) 25.9 KB
30
+ - **stitchkit/server**: [llms/server.txt](llms/server.txt) 42.3 KB → [llms/server.2.txt](llms/server.2.txt) 41.3 KB → [llms/server.3.txt](llms/server.3.txt) 47.1 KB → [llms/server.4.txt](llms/server.4.txt) 43.0 KB → [llms/server.5.txt](llms/server.5.txt) 25.9 KB
31
31
  - **stitchkit/observability**: [llms/observability.txt](llms/observability.txt) 39.7 KB → [llms/observability.2.txt](llms/observability.2.txt) 10.1 KB
32
32
  - **stitchkit/agent-runtime**: [llms/agent-runtime.txt](llms/agent-runtime.txt) 40.0 KB → [llms/agent-runtime.2.txt](llms/agent-runtime.2.txt) 40.7 KB → [llms/agent-runtime.3.txt](llms/agent-runtime.3.txt) 40.7 KB → [llms/agent-runtime.4.txt](llms/agent-runtime.4.txt) 40.6 KB → [llms/agent-runtime.5.txt](llms/agent-runtime.5.txt) 11.8 KB
33
33
  - **stitchkit/agent-runtime/testing**: [llms/agent-runtime-testing.txt](llms/agent-runtime-testing.txt) 3.2 KB
@@ -35,12 +35,13 @@ 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) 9.8 KB
39
- - **stitchkit/agent-executor/acp**: [llms/agent-executor-acp.txt](llms/agent-executor-acp.txt) 6.0 KB
40
- - **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 1.8 KB
41
- - **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt) 5.0 KB
42
- - **stitchkit/agent-executor/codex**: [llms/agent-executor-codex.txt](llms/agent-executor-codex.txt) 9.6 KB
43
- - **stitchkit/agent-executor/testing**: [llms/agent-executor-testing.txt](llms/agent-executor-testing.txt) 4.7 KB
38
+ - **stitchkit/agent-executor**: [llms/agent-executor.txt](llms/agent-executor.txt) 12.3 KB
39
+ - **stitchkit/agent-executor/acp**: [llms/agent-executor-acp.txt](llms/agent-executor-acp.txt) 6.7 KB
40
+ - **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 2.0 KB
41
+ - **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt) 5.2 KB
42
+ - **stitchkit/agent-executor/codex**: [llms/agent-executor-codex.txt](llms/agent-executor-codex.txt) 10.1 KB
43
+ - **stitchkit/agent-executor/testing**: [llms/agent-executor-testing.txt](llms/agent-executor-testing.txt) 5.4 KB
44
+ - **stitchkit/agent-executor/testing/claude-sdk**: [llms/agent-executor-testing-claude-sdk.txt](llms/agent-executor-testing-claude-sdk.txt) 1.5 KB
44
45
  - **stitchkit/agent-runtime/postgres**: [llms/agent-runtime-postgres.txt](llms/agent-runtime-postgres.txt) 1.7 KB
45
46
  - **stitchkit/agent-runtime/sqlite/bun**: [llms/agent-runtime-sqlite-bun.txt](llms/agent-runtime-sqlite-bun.txt) 1.7 KB
46
47
  - **stitchkit/agent-runtime/sqlite/node**: [llms/agent-runtime-sqlite-node.txt](llms/agent-runtime-sqlite-node.txt) 1.6 KB
@@ -49,13 +50,14 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
49
50
  - **stitchkit/application/opentelemetry**: [llms/application-opentelemetry.txt](llms/application-opentelemetry.txt) 1.6 KB
50
51
  - **stitchkit/application/directory-inbox**: [llms/application-directory-inbox.txt](llms/application-directory-inbox.txt) 0.3 KB
51
52
  - **stitchkit/application/diagnostic-journal**: [llms/application-diagnostic-journal.txt](llms/application-diagnostic-journal.txt) 1.8 KB
52
- - **stitchkit/testing**: [llms/testing.txt](llms/testing.txt) 33.8 KB
53
+ - **stitchkit/testing**: [llms/testing.txt](llms/testing.txt) 34.1 KB
53
54
  - **stitchkit/agent-runtime/sandbox**: [llms/agent-runtime-sandbox.txt](llms/agent-runtime-sandbox.txt) 8.6 KB
54
55
  - **stitchkit/spend**: [llms/spend.txt](llms/spend.txt) 10.3 KB
55
56
  - **stitchkit/spend/testing**: [llms/spend-testing.txt](llms/spend-testing.txt) 1.2 KB
56
57
  - **stitchkit/files**: [llms/files.txt](llms/files.txt) 11.4 KB
57
58
  - **stitchkit/service-host**: [llms/service-host.txt](llms/service-host.txt) 10.3 KB
58
59
  - **stitchkit/service-host/macos**: [llms/service-host-macos.txt](llms/service-host-macos.txt) 6.2 KB
60
+ - **stitchkit/service-host/work**: [llms/service-host-work.txt](llms/service-host-work.txt) 4.1 KB
59
61
  - **stitchkit/telegram**: [llms/telegram.txt](llms/telegram.txt) 44.3 KB → [llms/telegram.2.txt](llms/telegram.2.txt) 15.6 KB
60
62
  - **stitchkit/telegram/grammy**: [llms/telegram-grammy.txt](llms/telegram-grammy.txt) 2.3 KB
61
63
  - **stitchkit/telegram/html**: [llms/telegram-html.txt](llms/telegram-html.txt) 3.8 KB
@@ -70,7 +72,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
70
72
  - **stitchkit/geo/contract**: [llms/geo-contract.txt](llms/geo-contract.txt) 0.8 KB
71
73
  - **stitchkit/xlsx**: [llms/xlsx.txt](llms/xlsx.txt) 4.5 KB
72
74
  - **stitchkit/voice**: [llms/voice.txt](llms/voice.txt) 5.2 KB
73
- - **stitchkit/sync**: [llms/sync.txt](llms/sync.txt) 25.0 KB
75
+ - **stitchkit/sync**: [llms/sync.txt](llms/sync.txt) 25.3 KB
74
76
  - **stitchkit/sync/postgres**: [llms/sync-postgres.txt](llms/sync-postgres.txt) 2.3 KB
75
77
  - **stitchkit/oauth**: [llms/oauth.txt](llms/oauth.txt) 6.7 KB
76
78
  - **stitchkit/google**: [llms/google.txt](llms/google.txt) 1.4 KB
@@ -78,15 +80,15 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
78
80
  - **stitchkit/node**: [llms/node.txt](llms/node.txt) 3.3 KB
79
81
  - **stitchkit/agent-runtime/react**: [llms/agent-runtime-react.txt](llms/agent-runtime-react.txt) 1.0 KB
80
82
  - **stitchkit/agent-runtime/realtime**: [llms/agent-runtime-realtime.txt](llms/agent-runtime-realtime.txt) 2.6 KB
81
- - **stitchkit/process**: [llms/process.txt](llms/process.txt) 41.0 KB → [llms/process.2.txt](llms/process.2.txt) 17.3 KB
82
- - **stitchkit/process/owner-loss**: [llms/process-owner-loss.txt](llms/process-owner-loss.txt) 0.9 KB
83
- - **stitchkit/files/packaging**: [llms/files-packaging.txt](llms/files-packaging.txt) 4.3 KB
83
+ - **stitchkit/process**: [llms/process.txt](llms/process.txt) 42.0 KB → [llms/process.2.txt](llms/process.2.txt) 29.3 KB
84
+ - **stitchkit/process/bootstrap**: [llms/process-bootstrap.txt](llms/process-bootstrap.txt) 1.0 KB
85
+ - **stitchkit/files/packaging**: [llms/files-packaging.txt](llms/files-packaging.txt) 5.5 KB
84
86
  - **stitchkit/http**: [llms/http.txt](llms/http.txt) 2.9 KB
85
87
  - **stitchkit/realtime**: [llms/realtime.txt](llms/realtime.txt) 2.0 KB
86
88
 
87
89
  ## Upgrading slices
88
90
  - **Upgrading — how to move across versions**: [llms/upgrading.txt](llms/upgrading.txt) 12.8 KB
89
- - **Upgrading 0.128.0 → 0.132.0**: [llms/upgrading-0.128.0-0.132.0.txt](llms/upgrading-0.128.0-0.132.0.txt) 11.1 KB
91
+ - **Upgrading 0.128.0 → 0.133.0**: [llms/upgrading-0.128.0-0.133.0.txt](llms/upgrading-0.128.0-0.133.0.txt) 20.9 KB
90
92
  - **Upgrading 0.127.0 → 0.127.0**: [llms/upgrading-0.127.0.txt](llms/upgrading-0.127.0.txt) 46.3 KB
91
93
  - **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
94
  - **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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stitchkit",
3
- "version": "0.132.2",
3
+ "version": "0.133.0",
4
4
  "description": "Contract-first backend framework — one defineContract() into an HTTP API, MCP tools, AI-agent tools and a typed client. Bun and Node.",
5
5
  "keywords": [
6
6
  "bun",
@@ -185,6 +185,10 @@
185
185
  "types": "./dist/entrypoints/agent-executor/testing.d.ts",
186
186
  "import": "./dist/entrypoints/agent-executor/testing.js"
187
187
  },
188
+ "./agent-executor/testing/claude-sdk": {
189
+ "types": "./dist/entrypoints/agent-executor/testing/claude-sdk.d.ts",
190
+ "import": "./dist/entrypoints/agent-executor/testing/claude-sdk.js"
191
+ },
188
192
  "./agent-runtime/postgres": {
189
193
  "types": "./dist/entrypoints/agent-runtime/postgres.d.ts",
190
194
  "import": "./dist/entrypoints/agent-runtime/postgres.js"
@@ -245,6 +249,10 @@
245
249
  "types": "./dist/entrypoints/service-host/macos.d.ts",
246
250
  "import": "./dist/entrypoints/service-host/macos.js"
247
251
  },
252
+ "./service-host/work": {
253
+ "types": "./dist/entrypoints/service-host/work.d.ts",
254
+ "import": "./dist/entrypoints/service-host/work.js"
255
+ },
248
256
  "./telegram": {
249
257
  "types": "./dist/entrypoints/telegram.d.ts",
250
258
  "import": "./dist/entrypoints/telegram.js"
@@ -337,9 +345,9 @@
337
345
  "types": "./dist/entrypoints/process.d.ts",
338
346
  "import": "./dist/entrypoints/process.js"
339
347
  },
340
- "./process/owner-loss": {
341
- "types": "./dist/entrypoints/process/owner-loss.d.ts",
342
- "import": "./dist/entrypoints/process/owner-loss.js"
348
+ "./process/bootstrap": {
349
+ "types": "./dist/entrypoints/process/bootstrap.d.ts",
350
+ "import": "./dist/entrypoints/process/bootstrap.js"
343
351
  },
344
352
  "./files/packaging": {
345
353
  "types": "./dist/entrypoints/files/packaging.d.ts",
@@ -1,3 +0,0 @@
1
- /** Narrow startup bootstrap for a bundled application that lazy-imports `stitchkit/process`. */
2
- export { bootstrapNativeCommandOwnerLoss } from '../../process/owner-loss-guard.js';
3
- //# sourceMappingURL=owner-loss.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"owner-loss.d.ts","sourceRoot":"","sources":["../../../src/entrypoints/process/owner-loss.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAEhG,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC"}
@@ -1,7 +0,0 @@
1
- import"../../index-6kec3b14.js";
2
- import {
3
- bootstrapNativeCommandOwnerLoss2
4
- } from "../../index-v59pxmf1.js";
5
- export {
6
- bootstrapNativeCommandOwnerLoss2 as bootstrapNativeCommandOwnerLoss
7
- };
@@ -1,18 +0,0 @@
1
- # stitchkit/process/owner-loss — stitchkit docs slice
2
-
3
- > Generated from the `docs/` tree by `bun run gen:llms`. The index of all slices is
4
- > `llms.txt` in this package.
5
-
6
- Contains: API reference: `stitchkit/process/owner-loss` (docs/api/reference.md)
7
-
8
- ==============================================================================
9
- # API reference: `stitchkit/process/owner-loss` (docs/api/reference.md)
10
- ==============================================================================
11
-
12
- ## `stitchkit/process/owner-loss`
13
-
14
- Narrow startup entry for single-file applications that lazy-import `stitchkit/process`.
15
-
16
- | Export | Kind | Purpose |
17
- |---|---|---|
18
- | `bootstrapNativeCommandOwnerLoss` | function | call before application argv routing; returns `true` only when the package guard owns this invocation, so the application skips its dispatcher while preserving a lazy import of the full command runner |