stitchkit 0.70.6 → 0.71.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 (61) hide show
  1. package/dist/agent-runtime/coding-tool-contract.d.ts +11 -1
  2. package/dist/agent-runtime/coding-tool-contract.d.ts.map +1 -1
  3. package/dist/agent-runtime/coding-tool-files.d.ts.map +1 -1
  4. package/dist/agent-runtime/coding-tool-listing.d.ts +15 -0
  5. package/dist/agent-runtime/coding-tool-listing.d.ts.map +1 -0
  6. package/dist/agent-runtime/coding-tool-paths.d.ts.map +1 -1
  7. package/dist/agent-runtime/coding-tool-refusals.d.ts +59 -0
  8. package/dist/agent-runtime/coding-tool-refusals.d.ts.map +1 -0
  9. package/dist/agent-runtime/coding-tool-search-patch.d.ts.map +1 -1
  10. package/dist/agent-runtime/coding-tools.d.ts +3 -1
  11. package/dist/agent-runtime/coding-tools.d.ts.map +1 -1
  12. package/dist/agent-runtime/compaction.d.ts +35 -0
  13. package/dist/agent-runtime/compaction.d.ts.map +1 -1
  14. package/dist/agent-runtime/contained-files.d.ts +21 -2
  15. package/dist/agent-runtime/contained-files.d.ts.map +1 -1
  16. package/dist/agent-runtime/provider-failure.d.ts +66 -0
  17. package/dist/agent-runtime/provider-failure.d.ts.map +1 -0
  18. package/dist/agent-runtime/run-execution.d.ts.map +1 -1
  19. package/dist/agent-runtime/runtime.d.ts +31 -1
  20. package/dist/agent-runtime/runtime.d.ts.map +1 -1
  21. package/dist/agent-runtime/schemas.d.ts +1 -0
  22. package/dist/agent-runtime/schemas.d.ts.map +1 -1
  23. package/dist/agent-runtime-coding-tools.js +438 -124
  24. package/dist/agent-runtime-harness.js +4 -4
  25. package/dist/agent-runtime-openrouter.d.ts +19 -0
  26. package/dist/agent-runtime-openrouter.d.ts.map +1 -1
  27. package/dist/agent-runtime-openrouter.js +2 -1
  28. package/dist/agent-runtime.d.ts +3 -2
  29. package/dist/agent-runtime.d.ts.map +1 -1
  30. package/dist/agent-runtime.js +118 -14
  31. package/dist/cli.js +5 -5
  32. package/dist/{index-cx84zg25.js → index-118v0z41.js} +1 -1
  33. package/dist/{index-ejv31h14.js → index-7qy2ex0m.js} +1 -1
  34. package/dist/{index-trrf7nch.js → index-ezmn6ac6.js} +3 -3
  35. package/dist/{index-ekkt4gy9.js → index-jqtsc9mj.js} +2 -2
  36. package/dist/{index-hxtm2xr2.js → index-k2zczx1g.js} +1 -1
  37. package/dist/{index-by57nwhc.js → index-m668wzyc.js} +10 -2
  38. package/dist/{index-w9m1wznn.js → index-nemjkxjp.js} +118 -1
  39. package/dist/{index-tnazr5tc.js → index-pz7ytdga.js} +3 -3
  40. package/dist/{index-1z5xxfst.js → index-rqpdar1e.js} +102 -5
  41. package/dist/{index-qm87g51s.js → index-s4c8wy8m.js} +1 -1
  42. package/dist/node.js +2 -2
  43. package/dist/observability/index.js +1 -1
  44. package/dist/server/index.d.ts +1 -1
  45. package/dist/server/index.d.ts.map +1 -1
  46. package/dist/server/index.js +4 -2
  47. package/dist/server/request.d.ts +19 -0
  48. package/dist/server/request.d.ts.map +1 -1
  49. package/dist/telegram/init-data.d.ts +134 -0
  50. package/dist/telegram/init-data.d.ts.map +1 -0
  51. package/dist/telegram/send-failure.d.ts +73 -0
  52. package/dist/telegram/send-failure.d.ts.map +1 -0
  53. package/dist/telegram.d.ts +3 -0
  54. package/dist/telegram.d.ts.map +1 -0
  55. package/dist/telegram.js +224 -0
  56. package/dist/tool-invoker.js +4 -4
  57. package/dist/tools.js +7 -7
  58. package/llms-full.txt +266 -9
  59. package/native/darwin-arm64.node +0 -0
  60. package/native/darwin-x64.node +0 -0
  61. package/package.json +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stitchkit",
3
- "version": "0.70.6",
3
+ "version": "0.71.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",
@@ -129,6 +129,10 @@
129
129
  "types": "./dist/files.d.ts",
130
130
  "import": "./dist/files.js"
131
131
  },
132
+ "./telegram": {
133
+ "types": "./dist/telegram.d.ts",
134
+ "import": "./dist/telegram.js"
135
+ },
132
136
  "./declaration": {
133
137
  "types": "./dist/declaration.d.ts",
134
138
  "import": "./dist/declaration.js"
@@ -145,7 +149,7 @@
145
149
  "build:native-contained-files": "node scripts/build-contained-files-native.mjs",
146
150
  "check": "bun x tsc --noEmit",
147
151
  "build:browser": "bun build src/index.ts src/react.ts src/contract/index.ts src/declaration.ts src/agent-runtime-browser.ts --outdir dist --target node --packages external --splitting --root src",
148
- "build:server": "bun build src/server/index.ts src/node.ts src/tools.ts src/tool-invoker.ts src/cli.ts src/remote.ts src/files.ts src/testing.ts src/observability/index.ts src/agent-runtime.ts src/agent-runtime-harness.ts src/agent-runtime-coding-tools.ts src/agent-runtime-openrouter.ts src/agent-runtime-sqlite-bun.ts src/agent-runtime-sqlite-node.ts src/application.ts src/application-grammy.ts src/application-opentelemetry.ts --outdir dist --target node --packages external --splitting --root src",
152
+ "build:server": "bun build src/server/index.ts src/node.ts src/tools.ts src/tool-invoker.ts src/cli.ts src/remote.ts src/files.ts src/testing.ts src/observability/index.ts src/agent-runtime.ts src/agent-runtime-harness.ts src/agent-runtime-coding-tools.ts src/agent-runtime-openrouter.ts src/agent-runtime-sqlite-bun.ts src/agent-runtime-sqlite-node.ts src/application.ts src/application-grammy.ts src/application-opentelemetry.ts src/telegram.ts --outdir dist --target node --packages external --splitting --root src",
149
153
  "build:js": "bun run build:browser && bun run build:server && bun scripts/preserve-webpack-ignore.mjs",
150
154
  "build:types": "bun x tsc -p tsconfig.build.json --emitDeclarationOnly && bun scripts/rewrite-declaration-specifiers.mjs",
151
155
  "build": "rm -rf dist && bun run build:js && bun run build:types && bun scripts/check-browser-clean.mjs && bun scripts/check-env-live.mjs && bun scripts/check-public-types.mjs",