stitchkit 0.59.4 → 0.60.1
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/README.md +7 -3
- package/dist/agent-runtime/admission-lanes.d.ts +35 -0
- package/dist/agent-runtime/admission-lanes.d.ts.map +1 -0
- package/dist/agent-runtime/coordinator.d.ts +46 -2
- package/dist/agent-runtime/coordinator.d.ts.map +1 -1
- package/dist/agent-runtime/events.d.ts +7 -0
- package/dist/agent-runtime/events.d.ts.map +1 -1
- package/dist/agent-runtime/history.d.ts +7 -0
- package/dist/agent-runtime/history.d.ts.map +1 -1
- package/dist/agent-runtime/models.d.ts +2 -3
- package/dist/agent-runtime/models.d.ts.map +1 -1
- package/dist/agent-runtime/observability.d.ts.map +1 -1
- package/dist/agent-runtime/run-execution.d.ts +31 -0
- package/dist/agent-runtime/run-execution.d.ts.map +1 -0
- package/dist/agent-runtime/runtime-internals.d.ts +25 -0
- package/dist/agent-runtime/runtime-internals.d.ts.map +1 -0
- package/dist/agent-runtime/runtime-result.d.ts +11 -0
- package/dist/agent-runtime/runtime-result.d.ts.map +1 -0
- package/dist/agent-runtime/runtime.d.ts +16 -15
- package/dist/agent-runtime/runtime.d.ts.map +1 -1
- package/dist/agent-runtime/schemas.d.ts.map +1 -1
- package/dist/agent-runtime/store-driver.d.ts.map +1 -1
- package/dist/agent-runtime/store.d.ts +9 -2
- package/dist/agent-runtime/store.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-commit.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-status.d.ts +13 -0
- package/dist/agent-runtime/terminal-status.d.ts.map +1 -0
- package/dist/agent-runtime.d.ts +5 -3
- package/dist/agent-runtime.d.ts.map +1 -1
- package/dist/agent-runtime.js +303 -163
- package/dist/application/activity.d.ts +7 -2
- package/dist/application/activity.d.ts.map +1 -1
- package/dist/application/grammy.d.ts +14 -2
- package/dist/application/grammy.d.ts.map +1 -1
- package/dist/application/health.d.ts +9 -2
- package/dist/application/health.d.ts.map +1 -1
- package/dist/application/kernel.d.ts +61 -5
- package/dist/application/kernel.d.ts.map +1 -1
- package/dist/application/schemas.d.ts +42 -0
- package/dist/application/schemas.d.ts.map +1 -1
- package/dist/application-grammy.js +5 -3
- package/dist/application-opentelemetry.js +2 -2
- package/dist/application.d.ts +3 -3
- package/dist/application.d.ts.map +1 -1
- package/dist/application.js +17 -8
- package/dist/cli.js +7 -6
- package/dist/contract/errors.d.ts +7 -0
- package/dist/contract/errors.d.ts.map +1 -1
- package/dist/contract/index.js +1 -1
- package/dist/declaration.d.ts +345 -0
- package/dist/declaration.d.ts.map +1 -0
- package/dist/declaration.js +183 -0
- package/dist/{index-3nwng7hs.js → index-1pgeyyee.js} +4 -4
- package/dist/{index-s8w2y7kr.js → index-2cgbdckv.js} +26 -18
- package/dist/{index-gnvzyw0k.js → index-6taryy00.js} +2 -2
- package/dist/{index-5c8n2123.js → index-82e74yfx.js} +69 -33
- package/dist/{index-mgf6cdkm.js → index-8eywc9zv.js} +35 -1
- package/dist/{index-0nc0cddp.js → index-a59da114.js} +17 -28
- package/dist/{index-f6pymtqe.js → index-mfw1pec7.js} +7 -5
- package/dist/{index-y2rb7dwx.js → index-pzyt11ch.js} +5 -1
- package/dist/{index-mr617n62.js → index-svqhcrrj.js} +1 -1
- package/dist/{index-28cqssm3.js → index-t8xrqc9g.js} +7 -0
- package/dist/{index-7c0gkyvj.js → index-tvwcrx2d.js} +5 -3
- package/dist/{index-1tkyng3g.js → index-vkk06pv1.js} +1 -9
- package/dist/{index-ps5pxp3h.js → index-wd8g8z6e.js} +2 -79
- package/dist/{index-sa2mbwa7.js → index-wrhf06ak.js} +7 -5
- package/dist/{index-2nzpcfbp.js → index-x8v8b7rc.js} +2 -2
- package/dist/index-xxye8j3k.js +85 -0
- package/dist/{index-41wm56v0.js → index-y91zd0ch.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/observability-sink.d.ts.map +1 -1
- package/dist/internal/route-pattern.d.ts +9 -0
- package/dist/internal/route-pattern.d.ts.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +8 -7
- package/dist/observability/index.js +6 -5
- package/dist/observability/sanitize.d.ts +3 -1
- package/dist/observability/sanitize.d.ts.map +1 -1
- package/dist/remote.js +6 -4
- package/dist/server/error-hook.d.ts +10 -3
- package/dist/server/error-hook.d.ts.map +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +16 -18
- package/dist/server/middleware/cors.d.ts +5 -2
- package/dist/server/middleware/cors.d.ts.map +1 -1
- package/dist/server/openapi.d.ts.map +1 -1
- package/dist/server/router.d.ts.map +1 -1
- package/dist/server/socket-io-config.d.ts +68 -3
- package/dist/server/socket-io-config.d.ts.map +1 -1
- package/dist/server/socket-io-node.d.ts +1 -1
- package/dist/server/socket-io-node.d.ts.map +1 -1
- package/dist/server/socket-io.d.ts +1 -1
- package/dist/server/socket-io.d.ts.map +1 -1
- package/dist/testing/surface-manifest.d.ts.map +1 -1
- package/dist/testing.js +9 -10
- package/dist/tools/flatten-join.d.ts +2 -0
- package/dist/tools/flatten-join.d.ts.map +1 -1
- package/dist/tools/flatten.d.ts.map +1 -1
- package/dist/tools/mcp-prepare.d.ts +0 -2
- package/dist/tools/mcp-prepare.d.ts.map +1 -1
- package/dist/tools/runtime-tool.d.ts +0 -3
- package/dist/tools/runtime-tool.d.ts.map +1 -1
- package/dist/tools/schema.d.ts +0 -4
- package/dist/tools/schema.d.ts.map +1 -1
- package/dist/tools.js +13 -11
- package/llms-full.txt +926 -68
- package/llms.txt +1 -0
- package/package.json +10 -6
package/llms.txt
CHANGED
|
@@ -21,6 +21,7 @@ Build with stitchkit: define a contract once, then `implement` it and serve it (
|
|
|
21
21
|
- [Multi-tenant](https://github.com/max-listov/stitchkit/blob/master/docs/guide/multi-tenant.md): a /tenants/:id/… scenario end-to-end — scopePrefixes, scoped client, extend
|
|
22
22
|
- [Frontend integrations](https://github.com/max-listov/stitchkit/blob/master/docs/guide/frontend-integrations.md): React Router resource routes and a separate Vite development proxy
|
|
23
23
|
- [Upgrading](https://github.com/max-listov/stitchkit/blob/master/docs/guide/upgrading.md): moving a project across stitchkit versions; how breaking changes are marked
|
|
24
|
+
- [Project declaration](https://github.com/max-listov/stitchkit/blob/master/docs/guide/declaration.md): the optional machine-readable statement a repository makes about itself — identity, roles, build, requirements, release steps and the names of the values a deployment supplies
|
|
24
25
|
|
|
25
26
|
## Reference
|
|
26
27
|
- [API reference](https://github.com/max-listov/stitchkit/blob/master/docs/api/reference.md): every public export, grouped by entrypoint, each linked to the guide
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stitchkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.1",
|
|
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",
|
|
@@ -104,6 +104,10 @@
|
|
|
104
104
|
"types": "./dist/files.d.ts",
|
|
105
105
|
"import": "./dist/files.js"
|
|
106
106
|
},
|
|
107
|
+
"./declaration": {
|
|
108
|
+
"types": "./dist/declaration.d.ts",
|
|
109
|
+
"import": "./dist/declaration.js"
|
|
110
|
+
},
|
|
107
111
|
"./node": {
|
|
108
112
|
"types": "./dist/node.d.ts",
|
|
109
113
|
"import": "./dist/node.js"
|
|
@@ -114,7 +118,7 @@
|
|
|
114
118
|
},
|
|
115
119
|
"scripts": {
|
|
116
120
|
"check": "bun x tsc --noEmit",
|
|
117
|
-
"build:browser": "bun build src/index.ts src/react.ts src/contract/index.ts --outdir dist --target node --packages external --splitting --root src",
|
|
121
|
+
"build:browser": "bun build src/index.ts src/react.ts src/contract/index.ts src/declaration.ts --outdir dist --target node --packages external --splitting --root src",
|
|
118
122
|
"build:server": "bun build src/server/index.ts src/node.ts src/tools.ts src/cli.ts src/remote.ts src/files.ts src/testing.ts src/observability/index.ts src/agent-runtime.ts src/agent-runtime-openrouter.ts src/application.ts src/application-grammy.ts src/application-opentelemetry.ts --outdir dist --target node --packages external --splitting --root src",
|
|
119
123
|
"build:js": "bun run build:browser && bun run build:server",
|
|
120
124
|
"build:types": "bun x tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
@@ -203,18 +207,18 @@
|
|
|
203
207
|
"@openrouter/ai-sdk-provider": "^3.0.0",
|
|
204
208
|
"@socket.io/bun-engine": "^0.1.1",
|
|
205
209
|
"@socket.io/component-emitter": "^3.1.2",
|
|
206
|
-
"@tanstack/react-query": "5.
|
|
207
|
-
"@types/bun": "^1.
|
|
210
|
+
"@tanstack/react-query": "5.102.3",
|
|
211
|
+
"@types/bun": "^1.4.0",
|
|
208
212
|
"@types/json-schema": "^7.0.15",
|
|
209
213
|
"@types/react": "^19.2.18",
|
|
210
214
|
"@typescript/typescript6": "^6.0.2",
|
|
211
|
-
"ai": "^7.0.
|
|
215
|
+
"ai": "^7.0.78",
|
|
212
216
|
"grammy": "^1.45.1",
|
|
213
217
|
"react": "^19.2.8",
|
|
214
218
|
"react-query-kit": "^3.3.4",
|
|
215
219
|
"socket.io": "^4.8.3",
|
|
216
220
|
"socket.io-client": "^4.8.3",
|
|
217
|
-
"srvx": "^0.12.
|
|
221
|
+
"srvx": "^0.12.7",
|
|
218
222
|
"typescript": "^7.0.2",
|
|
219
223
|
"zod": "^4.4.3"
|
|
220
224
|
}
|