stitchkit 0.134.0 → 0.134.2

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 (120) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +6 -6
  3. package/dist/agent-executor/claude/cli-driver.d.ts +6 -0
  4. package/dist/agent-executor/claude/cli-driver.d.ts.map +1 -1
  5. package/dist/agent-executor/claude/session.d.ts +2 -0
  6. package/dist/agent-executor/claude/session.d.ts.map +1 -1
  7. package/dist/agent-executor/claude-sdk/driver.d.ts +9 -1
  8. package/dist/agent-executor/claude-sdk/driver.d.ts.map +1 -1
  9. package/dist/agent-executor/claude-sdk/engine-spawn.d.ts +18 -5
  10. package/dist/agent-executor/claude-sdk/engine-spawn.d.ts.map +1 -1
  11. package/dist/agent-executor/claude-sdk/probe.d.ts.map +1 -1
  12. package/dist/agent-executor/claude-sdk/query-manager.d.ts.map +1 -1
  13. package/dist/agent-executor/claude-sdk/query-options.d.ts +16 -0
  14. package/dist/agent-executor/claude-sdk/query-options.d.ts.map +1 -1
  15. package/dist/agent-executor/claude-sdk/session.d.ts +1 -0
  16. package/dist/agent-executor/claude-sdk/session.d.ts.map +1 -1
  17. package/dist/agent-runtime/harness-contract.d.ts +5 -5
  18. package/dist/agent-runtime/harness-contract.d.ts.map +1 -1
  19. package/dist/agent-runtime/runtime.d.ts +13 -13
  20. package/dist/agent-runtime/runtime.d.ts.map +1 -1
  21. package/dist/agent-runtime/sandbox-process-macos.d.ts +5 -4
  22. package/dist/agent-runtime/sandbox-process-macos.d.ts.map +1 -1
  23. package/dist/agent-runtime/sandbox-process-spec.d.ts +6 -0
  24. package/dist/agent-runtime/sandbox-process-spec.d.ts.map +1 -1
  25. package/dist/agent-runtime/sandbox-process-wrapper.d.ts +2 -1
  26. package/dist/agent-runtime/sandbox-process-wrapper.d.ts.map +1 -1
  27. package/dist/agent-runtime/sql-rows.d.ts +10 -10
  28. package/dist/agent-runtime/sqlite-schema.d.ts +2 -2
  29. package/dist/agent-runtime/sqlite.d.ts +1 -1
  30. package/dist/agent-runtime/store-conformance-lifecycle.d.ts +20 -20
  31. package/dist/agent-runtime/store-conformance-support.d.ts +10 -10
  32. package/dist/agent-runtime/terminal-commit.d.ts +10 -10
  33. package/dist/application/grammy.d.ts +1 -1
  34. package/dist/browser/contract-identity.d.ts +1 -1
  35. package/dist/browser/http-fetch.d.ts +1 -1
  36. package/dist/browser/socket-io-contract.d.ts +1 -1
  37. package/dist/contract/bridge-envelope.d.ts +1 -1
  38. package/dist/contract/client-types.d.ts +1 -1
  39. package/dist/contract/define.d.ts +2 -2
  40. package/dist/contract/errors-factory.d.ts +1 -1
  41. package/dist/contract/fingerprint.d.ts +1 -1
  42. package/dist/device-relay/hub.d.ts +1 -1
  43. package/dist/entrypoints/agent-executor/claude-sdk.js +323 -153
  44. package/dist/entrypoints/agent-executor/claude.js +40 -26
  45. package/dist/entrypoints/agent-runtime/postgres.js +3 -3
  46. package/dist/entrypoints/agent-runtime/sandbox.js +21 -16
  47. package/dist/entrypoints/agent-runtime/sqlite/bun.js +1 -1
  48. package/dist/entrypoints/agent-runtime/sqlite/node.js +1 -1
  49. package/dist/entrypoints/bin/upgrade-cli.js +1 -1
  50. package/dist/entrypoints/files/packaging.js +2 -2
  51. package/dist/entrypoints/handler.js +2 -2
  52. package/dist/entrypoints/node.js +2 -2
  53. package/dist/entrypoints/server.js +2 -2
  54. package/dist/entrypoints/tools/mcp.js +3 -3
  55. package/dist/entrypoints/tools/toolkit.js +3 -3
  56. package/dist/entrypoints/tools.js +2 -2
  57. package/dist/files/native-packaging-layout.d.ts +1 -1
  58. package/dist/{index-654rhe5d.js → index-7mjsb7zv.js} +5 -1
  59. package/dist/{index-kdw0n92g.js → index-a09r9ff0.js} +1 -1
  60. package/dist/{index-epyj7ptp.js → index-a84wj6y8.js} +4 -4
  61. package/dist/{index-qymek778.js → index-m2b49tvc.js} +76 -22
  62. package/dist/{index-mrng24wq.js → index-zag9sjpd.js} +1 -1
  63. package/dist/internal/postgres-query.d.ts +1 -1
  64. package/dist/react/query-client.d.ts +1 -1
  65. package/dist/server/bridge-host.d.ts +1 -1
  66. package/dist/server/bun.d.ts +1 -1
  67. package/dist/server/endpoint-dispatch.d.ts.map +1 -1
  68. package/dist/server/middleware/cors.d.ts +3 -3
  69. package/dist/server/middleware/cors.d.ts.map +1 -1
  70. package/dist/server/socket-io-config.d.ts +1 -1
  71. package/dist/service-host/identity.d.ts +1 -1
  72. package/dist/service-host/systemd-inspect.d.ts +1 -1
  73. package/dist/testing/manual-clock.d.ts +1 -1
  74. package/dist/tools/connections/types.d.ts +1 -1
  75. package/dist/tools/mcp/handler.d.ts +1 -1
  76. package/dist/tools/mcp/lazy-discovery.d.ts +1 -1
  77. package/dist/tools/mcp/mount.d.ts +1 -1
  78. package/dist/tools/mcp/stdio.d.ts +1 -1
  79. package/llms/agent-executor-claude-sdk.txt +1 -1
  80. package/llms/agent-executor-claude.txt +1 -1
  81. package/llms/agent-runtime-browser.txt +1 -1
  82. package/llms/agent-runtime-sandbox.txt +12 -8
  83. package/llms/agent-runtime-sqlite-bun.txt +1 -1
  84. package/llms/agent-runtime.2.txt +1 -1
  85. package/llms/agent-runtime.3.txt +4 -4
  86. package/llms/agent-runtime.txt +3 -3
  87. package/llms/application.2.txt +4 -4
  88. package/llms/application.txt +4 -4
  89. package/llms/cli.2.txt +27 -6
  90. package/llms/cli.txt +2 -2
  91. package/llms/contract.txt +1 -1
  92. package/llms/files-packaging.txt +1 -1
  93. package/llms/geo.txt +1 -1
  94. package/llms/live.txt +1 -1
  95. package/llms/oauth.txt +4 -4
  96. package/llms/observability.txt +3 -3
  97. package/llms/primitives.txt +1 -1
  98. package/llms/process.2.txt +7 -7
  99. package/llms/react.txt +4 -4
  100. package/llms/server.2.txt +7 -7
  101. package/llms/server.3.txt +5 -5
  102. package/llms/server.4.txt +6 -6
  103. package/llms/server.txt +13 -5
  104. package/llms/stitchkit.2.txt +3 -3
  105. package/llms/stitchkit.3.txt +1 -1
  106. package/llms/stitchkit.txt +4 -4
  107. package/llms/telegram.txt +1 -1
  108. package/llms/testing.txt +4 -4
  109. package/llms/tools-connections.txt +1 -1
  110. package/llms/tools-toolkit.txt +3 -1
  111. package/llms/tools.2.txt +6 -6
  112. package/llms/tools.3.txt +8 -8
  113. package/llms/upgrading-0.106.0-0.126.0.txt +1 -1
  114. package/llms/upgrading-0.128.0-0.134.0.txt +7 -1
  115. package/llms/upgrading-0.37.0-0.53.0.txt +7 -7
  116. package/llms/upgrading-0.69.0-0.95.0.txt +1 -1
  117. package/llms/upgrading-0.96.0-0.105.0.txt +1 -1
  118. package/llms-full.txt +163 -122
  119. package/llms.txt +8 -8
  120. package/package.json +1 -1
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) 42.1 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 46.5 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 29.4 KB
12
+ - **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 42.2 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 46.5 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 29.4 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
@@ -17,17 +17,17 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
17
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) 23.3 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.4 KB
20
- - **stitchkit/tools/toolkit**: [llms/tools-toolkit.txt](llms/tools-toolkit.txt) 1.0 KB
20
+ - **stitchkit/tools/toolkit**: [llms/tools-toolkit.txt](llms/tools-toolkit.txt) 1.2 KB
21
21
  - **stitchkit/tools/contract**: [llms/tools-contract.txt](llms/tools-contract.txt) 0.2 KB
22
22
  - **stitchkit/tools/invoker**: [llms/tools-invoker.txt](llms/tools-invoker.txt) 0.2 KB
23
23
  - **stitchkit/tools/connections**: [llms/tools-connections.txt](llms/tools-connections.txt) 4.9 KB
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
24
+ - **stitchkit/cli**: [llms/cli.txt](llms/cli.txt) 42.0 KB → [llms/cli.2.txt](llms/cli.2.txt) 46.7 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
27
  - **stitchkit/contract**: [llms/contract.txt](llms/contract.txt) 36.4 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) 44.0 KB → [llms/server.2.txt](llms/server.2.txt) 46.1 KB → [llms/server.3.txt](llms/server.3.txt) 47.1 KB → [llms/server.4.txt](llms/server.4.txt) 43.1 KB → [llms/server.5.txt](llms/server.5.txt) 26.4 KB
30
+ - **stitchkit/server**: [llms/server.txt](llms/server.txt) 44.7 KB → [llms/server.2.txt](llms/server.2.txt) 46.1 KB → [llms/server.3.txt](llms/server.3.txt) 47.1 KB → [llms/server.4.txt](llms/server.4.txt) 43.1 KB → [llms/server.5.txt](llms/server.5.txt) 26.4 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) 45.3 KB → [llms/agent-runtime.2.txt](llms/agent-runtime.2.txt) 35.0 KB → [llms/agent-runtime.3.txt](llms/agent-runtime.3.txt) 43.2 KB → [llms/agent-runtime.4.txt](llms/agent-runtime.4.txt) 44.1 KB → [llms/agent-runtime.5.txt](llms/agent-runtime.5.txt) 29.3 KB
33
33
  - **stitchkit/agent-runtime/testing**: [llms/agent-runtime-testing.txt](llms/agent-runtime-testing.txt) 3.8 KB
@@ -39,8 +39,8 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
39
39
  - **stitchkit/agent-runtime/anthropic**: [llms/agent-runtime-anthropic.txt](llms/agent-runtime-anthropic.txt) 2.5 KB
40
40
  - **stitchkit/agent-executor**: [llms/agent-executor.txt](llms/agent-executor.txt) 13.5 KB
41
41
  - **stitchkit/agent-executor/acp**: [llms/agent-executor-acp.txt](llms/agent-executor-acp.txt) 7.2 KB
42
- - **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 2.0 KB
43
- - **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt) 5.2 KB
42
+ - **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 2.1 KB
43
+ - **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt) 5.6 KB
44
44
  - **stitchkit/agent-executor/codex**: [llms/agent-executor-codex.txt](llms/agent-executor-codex.txt) 10.2 KB
45
45
  - **stitchkit/agent-executor/testing**: [llms/agent-executor-testing.txt](llms/agent-executor-testing.txt) 5.4 KB
46
46
  - **stitchkit/agent-executor/testing/claude-sdk**: [llms/agent-executor-testing-claude-sdk.txt](llms/agent-executor-testing-claude-sdk.txt) 1.5 KB
@@ -53,7 +53,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
53
53
  - **stitchkit/application/directory-inbox**: [llms/application-directory-inbox.txt](llms/application-directory-inbox.txt) 0.3 KB
54
54
  - **stitchkit/application/diagnostic-journal**: [llms/application-diagnostic-journal.txt](llms/application-diagnostic-journal.txt) 1.8 KB
55
55
  - **stitchkit/testing**: [llms/testing.txt](llms/testing.txt) 34.1 KB
56
- - **stitchkit/agent-runtime/sandbox**: [llms/agent-runtime-sandbox.txt](llms/agent-runtime-sandbox.txt) 12.5 KB
56
+ - **stitchkit/agent-runtime/sandbox**: [llms/agent-runtime-sandbox.txt](llms/agent-runtime-sandbox.txt) 12.9 KB
57
57
  - **stitchkit/spend**: [llms/spend.txt](llms/spend.txt) 10.5 KB
58
58
  - **stitchkit/spend/testing**: [llms/spend-testing.txt](llms/spend-testing.txt) 1.2 KB
59
59
  - **stitchkit/files**: [llms/files.txt](llms/files.txt) 11.4 KB
@@ -92,7 +92,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
92
92
 
93
93
  ## Upgrading slices
94
94
  - **Upgrading — how to move across versions**: [llms/upgrading.txt](llms/upgrading.txt) 12.8 KB
95
- - **Upgrading 0.128.0 → 0.134.0**: [llms/upgrading-0.128.0-0.134.0.txt](llms/upgrading-0.128.0-0.134.0.txt) 29.4 KB
95
+ - **Upgrading 0.128.0 → 0.134.0**: [llms/upgrading-0.128.0-0.134.0.txt](llms/upgrading-0.128.0-0.134.0.txt) 30.7 KB
96
96
  - **Upgrading 0.127.0 → 0.127.0**: [llms/upgrading-0.127.0.txt](llms/upgrading-0.127.0.txt) 46.3 KB
97
97
  - **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
98
98
  - **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.134.0",
3
+ "version": "0.134.2",
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",