eve 0.31.3 → 0.33.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 (351) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/README.md +8 -4
  3. package/dist/src/channel/channel-address.d.ts +4 -1
  4. package/dist/src/channel/channel-address.js +1 -1
  5. package/dist/src/channel/channel-operations.d.ts +3 -1
  6. package/dist/src/channel/compiled-channel.d.ts +2 -1
  7. package/dist/src/channel/cross-channel-receive.d.ts +5 -2
  8. package/dist/src/channel/cross-channel-receive.js +1 -1
  9. package/dist/src/channel/session.d.ts +6 -2
  10. package/dist/src/channel/session.js +1 -1
  11. package/dist/src/channel/types.d.ts +6 -0
  12. package/dist/src/channel/types.js +1 -1
  13. package/dist/src/chunks/{use-eve-agent-CF5D6jSV.js → use-eve-agent-3oBnxzhV.js} +57 -22
  14. package/dist/src/chunks/{use-eve-agent-DbYZLG0h.js → use-eve-agent-B-Hky2f4.js} +57 -22
  15. package/dist/src/cli/commands/agent-prompt/collect-intent.md +3 -0
  16. package/dist/src/cli/commands/agent-prompt/scaffold.md +4 -2
  17. package/dist/src/cli/commands/info.js +1 -1
  18. package/dist/src/cli/commands/init-repl.d.ts +1 -1
  19. package/dist/src/cli/commands/init-repl.js +1 -1
  20. package/dist/src/cli/commands/init.d.ts +7 -0
  21. package/dist/src/cli/commands/init.js +1 -1
  22. package/dist/src/cli/commands/integration-connect.d.ts +4 -3
  23. package/dist/src/cli/commands/integration-connect.js +1 -1
  24. package/dist/src/cli/commands/integration-setup.d.ts +4 -0
  25. package/dist/src/cli/commands/integration-setup.js +1 -1
  26. package/dist/src/cli/commands/register-integration-commands.js +1 -1
  27. package/dist/src/cli/commands/register-registry-commands.js +1 -1
  28. package/dist/src/cli/commands/registry-declared-setups.d.ts +23 -0
  29. package/dist/src/cli/commands/registry-declared-setups.js +1 -0
  30. package/dist/src/cli/commands/registry-metadata.d.ts +69 -0
  31. package/dist/src/cli/commands/registry-metadata.js +1 -1
  32. package/dist/src/cli/commands/registry-package.d.ts +3 -3
  33. package/dist/src/cli/commands/registry-package.js +1 -1
  34. package/dist/src/cli/commands/registry-presentation.d.ts +20 -0
  35. package/dist/src/cli/commands/registry-presentation.js +7 -0
  36. package/dist/src/cli/commands/registry-search-presentation.d.ts +16 -0
  37. package/dist/src/cli/commands/registry-search-presentation.js +6 -0
  38. package/dist/src/cli/commands/registry-setup-command.d.ts +5 -2
  39. package/dist/src/cli/commands/registry-setup-command.js +1 -2
  40. package/dist/src/cli/commands/registry.d.ts +16 -7
  41. package/dist/src/cli/commands/registry.js +1 -6
  42. package/dist/src/cli/commands/set.d.ts +20 -0
  43. package/dist/src/cli/commands/set.js +1 -0
  44. package/dist/src/cli/commands/setup-answers.d.ts +2 -0
  45. package/dist/src/cli/commands/setup-answers.js +1 -0
  46. package/dist/src/cli/commands/setup-headless.d.ts +79 -0
  47. package/dist/src/cli/commands/setup-headless.js +1 -0
  48. package/dist/src/cli/dev/tui/runner.js +1 -1
  49. package/dist/src/cli/dev/tui/setup-commands.js +3 -3
  50. package/dist/src/cli/dev/tui/setup-flow.d.ts +8 -1
  51. package/dist/src/cli/dev/tui/setup-issues.js +1 -1
  52. package/dist/src/cli/dev/tui/terminal-renderer.js +12 -12
  53. package/dist/src/cli/dev/tui/traces/trace-conversation.d.ts +1 -1
  54. package/dist/src/cli/dev/tui/tui-prompter.js +1 -1
  55. package/dist/src/cli/option-parsers.d.ts +3 -0
  56. package/dist/src/cli/option-parsers.js +1 -1
  57. package/dist/src/cli/run.js +1 -1
  58. package/dist/src/client/agent-info-schema.d.ts +28 -5
  59. package/dist/src/client/agent-info-schema.js +1 -1
  60. package/dist/src/client/session.js +1 -1
  61. package/dist/src/client/types.d.ts +3 -0
  62. package/dist/src/client/url.d.ts +5 -0
  63. package/dist/src/client/url.js +1 -1
  64. package/dist/src/compiled/.vendor-stamp.json +8 -8
  65. package/dist/src/compiled/@ai-sdk/anthropic/index.d.ts +33 -13
  66. package/dist/src/compiled/@ai-sdk/anthropic/index.js +4 -2
  67. package/dist/src/compiled/@ai-sdk/google/index.d.ts +50 -3
  68. package/dist/src/compiled/@ai-sdk/google/index.js +7 -7
  69. package/dist/src/compiled/@ai-sdk/mcp/index.d.ts +33 -3
  70. package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
  71. package/dist/src/compiled/@ai-sdk/openai/index.d.ts +140 -9
  72. package/dist/src/compiled/@ai-sdk/openai/index.js +9 -6
  73. package/dist/src/compiled/@ai-sdk/otel/index.js +1 -1
  74. package/dist/src/compiled/@ai-sdk/provider/index.d.ts +300 -6
  75. package/dist/src/compiled/@ai-sdk/provider-utils/index.d.ts +70 -20
  76. package/dist/src/compiled/@opentelemetry/api/index.d.ts +2 -1
  77. package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +1 -1
  78. package/dist/src/compiled/@vercel/otel/index.d.ts +6 -0
  79. package/dist/src/compiled/@vercel/sandbox/index.js +1 -1
  80. package/dist/src/compiled/_chunks/node/undici-CUIybhQ2.js +95 -0
  81. package/dist/src/compiled/_chunks/workflow/dist-eUxFublw.js +77 -0
  82. package/dist/src/compiled/shadcn-registry/index.js +309 -215
  83. package/dist/src/compiler/extension-compatibility.d.ts +25 -15
  84. package/dist/src/compiler/extension-compatibility.js +1 -1
  85. package/dist/src/compiler/manifest.d.ts +119 -19
  86. package/dist/src/compiler/manifest.js +1 -1
  87. package/dist/src/compiler/model-catalog.d.ts +2 -30
  88. package/dist/src/compiler/model-catalog.js +1 -1
  89. package/dist/src/compiler/module-map.d.ts +2 -2
  90. package/dist/src/compiler/module-map.js +2 -2
  91. package/dist/src/compiler/normalize-agent-config.js +1 -1
  92. package/dist/src/compiler/normalize-instructions.js +1 -1
  93. package/dist/src/compiler/normalize-manifest.js +2 -2
  94. package/dist/src/compiler/normalize-skill.js +1 -1
  95. package/dist/src/compiler/normalize-subagent.d.ts +5 -1
  96. package/dist/src/compiler/normalize-subagent.js +1 -1
  97. package/dist/src/compiler/remote-agent-node.d.ts +4 -1
  98. package/dist/src/compiler/workspace-resources.js +1 -1
  99. package/dist/src/context/build-callback-context.js +1 -1
  100. package/dist/src/context/dynamic-model-lifecycle.d.ts +7 -2
  101. package/dist/src/context/dynamic-model-lifecycle.js +1 -1
  102. package/dist/src/context/dynamic-subagent-lifecycle.js +1 -1
  103. package/dist/src/context/hook-lifecycle.js +1 -1
  104. package/dist/src/context/keys.d.ts +8 -0
  105. package/dist/src/context/keys.js +1 -1
  106. package/dist/src/evals/session.js +1 -1
  107. package/dist/src/execution/authorization-callback-match.d.ts +14 -0
  108. package/dist/src/execution/authorization-callback-match.js +1 -0
  109. package/dist/src/execution/dispatch-runtime-actions-step.js +1 -1
  110. package/dist/src/execution/effective-agent-config.js +1 -1
  111. package/dist/src/execution/next-driver-action.d.ts +1 -0
  112. package/dist/src/execution/node-step.js +1 -1
  113. package/dist/src/execution/parked-delivery-wait.d.ts +16 -1
  114. package/dist/src/execution/parked-delivery-wait.js +1 -1
  115. package/dist/src/execution/sandbox/abort-bound-session.d.ts +1 -1
  116. package/dist/src/execution/sandbox/bindings/docker.js +1 -1
  117. package/dist/src/execution/sandbox/bindings/just-bash-runtime.js +1 -1
  118. package/dist/src/execution/sandbox/bindings/microsandbox-lifecycle.js +1 -1
  119. package/dist/src/execution/sandbox/bindings/microsandbox-runtime.d.ts +1 -0
  120. package/dist/src/execution/sandbox/bindings/microsandbox-runtime.js +1 -1
  121. package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
  122. package/dist/src/execution/sandbox/ensure.js +1 -1
  123. package/dist/src/execution/session-command-inbox.d.ts +26 -1
  124. package/dist/src/execution/session-command-inbox.js +1 -1
  125. package/dist/src/execution/session-command-wire.js +1 -1
  126. package/dist/src/execution/session.d.ts +2 -0
  127. package/dist/src/execution/session.js +2 -2
  128. package/dist/src/execution/settle-cancelled-turn-step.js +1 -1
  129. package/dist/src/execution/turn-control-receiver.d.ts +2 -0
  130. package/dist/src/execution/turn-control-receiver.js +1 -1
  131. package/dist/src/execution/turn-execution-cursor.d.ts +1 -0
  132. package/dist/src/execution/turn-workflow.js +1 -1
  133. package/dist/src/execution/workflow-entry.js +1 -1
  134. package/dist/src/execution/workflow-steps.d.ts +3 -4
  135. package/dist/src/execution/workflow-steps.js +1 -1
  136. package/dist/src/harness/authorization.d.ts +24 -11
  137. package/dist/src/harness/authorization.js +1 -1
  138. package/dist/src/harness/emission.d.ts +1 -1
  139. package/dist/src/harness/emission.js +1 -1
  140. package/dist/src/harness/input-extraction.js +1 -1
  141. package/dist/src/harness/input-requests.js +1 -1
  142. package/dist/src/harness/provider-tools.d.ts +1 -1
  143. package/dist/src/harness/provider-tools.js +1 -1
  144. package/dist/src/harness/step-hooks.d.ts +1 -1
  145. package/dist/src/harness/step-hooks.js +1 -1
  146. package/dist/src/harness/tool-loop.d.ts +1 -1
  147. package/dist/src/harness/tool-loop.js +2 -2
  148. package/dist/src/harness/types.d.ts +11 -5
  149. package/dist/src/harness/types.js +1 -1
  150. package/dist/src/internal/application/package.js +1 -1
  151. package/dist/src/internal/authored-definition/core.js +1 -1
  152. package/dist/src/internal/authored-definition/schema-backed.js +1 -1
  153. package/dist/src/internal/authored-module-loader.js +1 -1
  154. package/dist/src/internal/authored-module-map-loader.js +1 -1
  155. package/dist/src/internal/model-catalog.d.ts +46 -0
  156. package/dist/src/internal/model-catalog.js +1 -0
  157. package/dist/src/internal/nitro/host/build-vercel-agent-summary.js +1 -1
  158. package/dist/src/internal/nitro/host/create-application-nitro.js +1 -1
  159. package/dist/src/internal/nitro/host/dev-host-fingerprint.js +1 -1
  160. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response-from-manifest.js +1 -1
  161. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.d.ts +20 -10
  162. package/dist/src/internal/nitro/routes/agent-info/build-agent-info-response.js +1 -1
  163. package/dist/src/internal/nitro/routes/channel-dispatch.js +1 -1
  164. package/dist/src/internal/nitro/routes/info.js +1 -1
  165. package/dist/src/internal/vercel-agent-summary.d.ts +12 -3
  166. package/dist/src/internal/vercel-agent-summary.js +1 -1
  167. package/dist/src/packages/eve-catalog/src/index.js +1 -1
  168. package/dist/src/protocol/message.d.ts +2 -2
  169. package/dist/src/protocol/message.js +1 -1
  170. package/dist/src/protocol/routes.d.ts +8 -6
  171. package/dist/src/protocol/routes.js +1 -1
  172. package/dist/src/public/channels/chat-sdk/chatSdkChannel.d.ts +5 -5
  173. package/dist/src/public/channels/chat-sdk/chatSdkChannel.js +2 -2
  174. package/dist/src/public/channels/discord/discordChannel.d.ts +3 -1
  175. package/dist/src/public/channels/discord/discordChannel.js +1 -1
  176. package/dist/src/public/channels/eve.d.ts +3 -1
  177. package/dist/src/public/channels/eve.js +1 -1
  178. package/dist/src/public/channels/github/githubChannel.d.ts +3 -1
  179. package/dist/src/public/channels/github/githubChannel.js +1 -1
  180. package/dist/src/public/channels/index.d.ts +1 -1
  181. package/dist/src/public/channels/linear/linearChannel.d.ts +3 -1
  182. package/dist/src/public/channels/linear/linearChannel.js +1 -1
  183. package/dist/src/public/channels/photon/photonIMessageChannel.d.ts +3 -1
  184. package/dist/src/public/channels/photon/photonIMessageChannel.js +1 -1
  185. package/dist/src/public/channels/slack/attachments.js +1 -1
  186. package/dist/src/public/channels/slack/defaults.js +1 -1
  187. package/dist/src/public/channels/slack/hitl.d.ts +14 -1
  188. package/dist/src/public/channels/slack/hitl.js +2 -2
  189. package/dist/src/public/channels/slack/slackChannel.d.ts +3 -1
  190. package/dist/src/public/channels/slack/slackChannel.js +1 -1
  191. package/dist/src/public/channels/teams/teamsChannel.d.ts +3 -1
  192. package/dist/src/public/channels/teams/teamsChannel.js +1 -1
  193. package/dist/src/public/channels/telegram/telegramChannel.d.ts +3 -1
  194. package/dist/src/public/channels/telegram/telegramChannel.js +1 -1
  195. package/dist/src/public/channels/twilio/twilioChannel.d.ts +3 -1
  196. package/dist/src/public/channels/twilio/twilioChannel.js +1 -1
  197. package/dist/src/public/definitions/agent.d.ts +5 -7
  198. package/dist/src/public/definitions/agent.js +1 -1
  199. package/dist/src/public/definitions/callback-context.d.ts +2 -2
  200. package/dist/src/public/definitions/channel.d.ts +3 -1
  201. package/dist/src/public/definitions/channel.js +1 -1
  202. package/dist/src/public/definitions/sandbox.d.ts +1 -1
  203. package/dist/src/public/definitions/tool.d.ts +10 -14
  204. package/dist/src/public/definitions/tool.js +1 -1
  205. package/dist/src/public/index.d.ts +1 -1
  206. package/dist/src/public/sandbox/index.d.ts +1 -1
  207. package/dist/src/public/tools/web-search.d.ts +2 -2
  208. package/dist/src/runtime/agent/bootstrap.d.ts +19 -6
  209. package/dist/src/runtime/agent/bootstrap.js +1 -1
  210. package/dist/src/runtime/agent/model-catalog.d.ts +10 -0
  211. package/dist/src/runtime/agent/model-catalog.js +1 -0
  212. package/dist/src/runtime/agent/resolve-model.d.ts +8 -4
  213. package/dist/src/runtime/agent/resolve-model.js +1 -1
  214. package/dist/src/runtime/connections/callback-route.d.ts +4 -5
  215. package/dist/src/runtime/connections/callback-route.js +1 -1
  216. package/dist/src/runtime/connections/scoped-authorization.js +1 -1
  217. package/dist/src/runtime/framework-channels/index.js +1 -1
  218. package/dist/src/runtime/framework-tools/connection-search-dynamic.js +2 -2
  219. package/dist/src/runtime/framework-tools/todo.js +1 -1
  220. package/dist/src/runtime/input/types.d.ts +1 -4
  221. package/dist/src/runtime/resolve-agent-graph.js +1 -1
  222. package/dist/src/runtime/resolve-agent.d.ts +2 -2
  223. package/dist/src/runtime/resolve-agent.js +1 -1
  224. package/dist/src/runtime/resolve-channel.js +1 -1
  225. package/dist/src/runtime/resolve-dynamic-subagent.d.ts +2 -5
  226. package/dist/src/runtime/subagents/dynamic-agent-config.d.ts +8 -7
  227. package/dist/src/runtime/subagents/dynamic-agent-config.js +1 -1
  228. package/dist/src/runtime/types.d.ts +11 -4
  229. package/dist/src/sandbox/state.d.ts +1 -0
  230. package/dist/src/setup/ask-editable.d.ts +22 -0
  231. package/dist/src/setup/ask-editable.js +1 -0
  232. package/dist/src/setup/ask-signals.d.ts +23 -0
  233. package/dist/src/setup/ask-signals.js +1 -0
  234. package/dist/src/setup/ask.d.ts +24 -25
  235. package/dist/src/setup/ask.js +1 -1
  236. package/dist/src/setup/boxes/deploy-project.js +1 -1
  237. package/dist/src/setup/boxes/resolve-provisioning.js +1 -1
  238. package/dist/src/setup/connection-connector.js +3 -2
  239. package/dist/src/setup/flows/deploy.d.ts +5 -3
  240. package/dist/src/setup/flows/deploy.js +1 -1
  241. package/dist/src/setup/flows/ensure-vercel-project.d.ts +5 -1
  242. package/dist/src/setup/flows/ensure-vercel-project.js +1 -1
  243. package/dist/src/setup/flows/model-source-change.d.ts +1 -0
  244. package/dist/src/setup/flows/model-source-change.js +1 -1
  245. package/dist/src/setup/flows/registry-session.d.ts +33 -0
  246. package/dist/src/setup/flows/registry-session.js +1 -0
  247. package/dist/src/setup/flows/registry.d.ts +16 -0
  248. package/dist/src/setup/flows/registry.js +1 -1
  249. package/dist/src/setup/index.js +1 -1
  250. package/dist/src/setup/integrations/discord/setup.d.ts +19 -7
  251. package/dist/src/setup/integrations/discord/setup.js +4 -3
  252. package/dist/src/setup/integrations/github/setup.d.ts +36 -7
  253. package/dist/src/setup/integrations/github/setup.js +2 -2
  254. package/dist/src/setup/integrations/linear/setup.d.ts +21 -9
  255. package/dist/src/setup/integrations/linear/setup.js +2 -2
  256. package/dist/src/setup/integrations/photon/management.d.ts +8 -1
  257. package/dist/src/setup/integrations/photon/management.js +1 -1
  258. package/dist/src/setup/integrations/photon/setup-flow.d.ts +28 -24
  259. package/dist/src/setup/integrations/photon/setup-flow.js +3 -3
  260. package/dist/src/setup/integrations/photon/setup.d.ts +1 -3
  261. package/dist/src/setup/integrations/photon/setup.js +1 -1
  262. package/dist/src/setup/integrations/registry.d.ts +1 -1
  263. package/dist/src/setup/integrations/registry.js +1 -1
  264. package/dist/src/setup/integrations/runner.d.ts +14 -11
  265. package/dist/src/setup/integrations/runner.js +1 -1
  266. package/dist/src/setup/integrations/shared/prerequisite.d.ts +17 -0
  267. package/dist/src/setup/integrations/shared/prerequisite.js +1 -0
  268. package/dist/src/setup/integrations/shared/ui.d.ts +22 -15
  269. package/dist/src/setup/integrations/shared/ui.js +2 -2
  270. package/dist/src/setup/integrations/shared/vercel-project.d.ts +11 -0
  271. package/dist/src/setup/integrations/shared/vercel-project.js +1 -0
  272. package/dist/src/setup/integrations/slack/setup.d.ts +25 -10
  273. package/dist/src/setup/integrations/slack/setup.js +1 -1
  274. package/dist/src/setup/integrations/types.d.ts +43 -13
  275. package/dist/src/setup/integrations/types.js +1 -1
  276. package/dist/src/setup/integrations/web/setup.d.ts +22 -3
  277. package/dist/src/setup/integrations/web/setup.js +1 -1
  278. package/dist/src/setup/prompter.d.ts +8 -0
  279. package/dist/src/setup/question-options.d.ts +15 -0
  280. package/dist/src/setup/question-options.js +1 -0
  281. package/dist/src/setup/registry-setup-client.d.ts +3 -4
  282. package/dist/src/setup/registry-setup-client.js +2 -2
  283. package/dist/src/setup/registry-setup-completion.d.ts +3 -0
  284. package/dist/src/setup/registry-setup-completion.js +1 -0
  285. package/dist/src/setup/registry-setup-protocol.d.ts +22 -3
  286. package/dist/src/setup/registry-setup-protocol.js +1 -1
  287. package/dist/src/setup/scaffold/create/add-to-project.d.ts +2 -0
  288. package/dist/src/setup/scaffold/create/add-to-project.js +1 -1
  289. package/dist/src/setup/scaffold/create/project.d.ts +3 -1
  290. package/dist/src/setup/scaffold/create/project.js +57 -5
  291. package/dist/src/setup/scaffold/update/channels.js +1 -1
  292. package/dist/src/setup/setup-question-wire.d.ts +48 -0
  293. package/dist/src/setup/setup-question-wire.js +1 -0
  294. package/dist/src/setup/slackbot.d.ts +5 -1
  295. package/dist/src/setup/slackbot.js +1 -1
  296. package/dist/src/setup/state.d.ts +2 -2
  297. package/dist/src/shared/agent-definition.d.ts +23 -23
  298. package/dist/src/shared/agent-definition.js +1 -1
  299. package/dist/src/shared/channel-definition.d.ts +3 -1
  300. package/dist/src/shared/dynamic-tool-definition.d.ts +4 -10
  301. package/dist/src/shared/dynamic-tool-definition.js +1 -1
  302. package/dist/src/shared/sandbox-backend.d.ts +6 -0
  303. package/dist/src/shared/sandbox-session.d.ts +15 -0
  304. package/dist/src/shared/tool-definition.d.ts +2 -2
  305. package/dist/src/shared/tool-schema.d.ts +5 -4
  306. package/dist/src/shared/tool-schema.js +1 -1
  307. package/dist/src/svelte/index.js +1 -1
  308. package/dist/src/svelte/use-eve-agent.js +1 -1
  309. package/dist/src/tracing/agent-otel-provider.d.ts +5 -38
  310. package/dist/src/tracing/agent-otel-provider.js +2 -2
  311. package/dist/src/tracing/agent-span-id-generator.d.ts +15 -0
  312. package/dist/src/tracing/agent-span-id-generator.js +1 -0
  313. package/dist/src/tracing/agent-trace-context-store.d.ts +1 -1
  314. package/dist/src/tracing/agent-trace-context-store.js +1 -1
  315. package/dist/src/tracing/agent-trace-state.d.ts +41 -0
  316. package/dist/src/tracing/agent-trace-state.js +1 -0
  317. package/dist/src/tracing/local-instrumentation-runtime.js +1 -1
  318. package/dist/src/vue/index.js +1 -1
  319. package/dist/src/vue/use-eve-agent.js +1 -1
  320. package/docs/agent-config.md +30 -19
  321. package/docs/channels/chat-sdk.mdx +6 -6
  322. package/docs/channels/custom.mdx +20 -0
  323. package/docs/channels/discord.mdx +1 -0
  324. package/docs/channels/eve.mdx +2 -0
  325. package/docs/channels/github.mdx +1 -1
  326. package/docs/channels/linear.mdx +1 -1
  327. package/docs/channels/overview.mdx +21 -2
  328. package/docs/channels/photon.mdx +5 -2
  329. package/docs/channels/slack.mdx +158 -50
  330. package/docs/concepts/default-harness.md +3 -3
  331. package/docs/concepts/execution-model-and-durability.mdx +5 -8
  332. package/docs/concepts/sessions-runs-and-streaming.md +3 -3
  333. package/docs/connections/mcp.mdx +6 -0
  334. package/docs/guides/dev-tui.md +58 -142
  335. package/docs/guides/dynamic-capabilities.md +24 -20
  336. package/docs/guides/dynamic-workflows.md +2 -0
  337. package/docs/guides/frontend/overview.mdx +4 -2
  338. package/docs/guides/hooks.md +25 -3
  339. package/docs/guides/session-context.md +18 -0
  340. package/docs/install-integrations.mdx +2 -0
  341. package/docs/installation.mdx +7 -1
  342. package/docs/reference/cli.md +37 -10
  343. package/docs/reference/typescript-api.md +1 -1
  344. package/docs/sandbox.mdx +25 -5
  345. package/docs/skills.mdx +12 -1
  346. package/docs/subagents.mdx +1 -1
  347. package/docs/tools/human-in-the-loop.md +1 -1
  348. package/docs/tutorial/ship-it.mdx +1 -1
  349. package/package.json +10 -10
  350. package/dist/src/compiled/_chunks/node/undici-DWL_MYmT.js +0 -95
  351. package/dist/src/compiled/_chunks/workflow/dist-CZxNEvEs.js +0 -79
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "moduleVersions": {
3
3
  "@agentclientprotocol/sdk": "1.3.0",
4
- "@ai-sdk/anthropic": "4.0.18",
4
+ "@ai-sdk/anthropic": "4.0.36",
5
5
  "chat": "4.34.0",
6
6
  "@chat-adapter/slack": "4.34.0",
7
7
  "@chat-adapter/state-memory": "4.34.0",
@@ -11,21 +11,21 @@
11
11
  "experimental-ai-sdk-code-mode": "1.0.16",
12
12
  "eventsource-parser": "3.1.0",
13
13
  "env-runner": "0.1.16",
14
- "@ai-sdk/google": "4.0.21",
14
+ "@ai-sdk/google": "4.0.39",
15
15
  "gray-matter": "4.0.3",
16
16
  "jose": "6.2.3",
17
17
  "jsonc-parser": "3.3.1",
18
18
  "@types/json-schema": "7.0.15",
19
19
  "marked": "17.0.6",
20
- "@ai-sdk/mcp": "2.0.16",
21
- "@ai-sdk/openai": "4.0.17",
20
+ "@ai-sdk/mcp": "2.0.29",
21
+ "@ai-sdk/openai": "4.0.36",
22
22
  "@opentelemetry/api": "1.9.1",
23
23
  "@opentelemetry/otlp-transformer": "0.214.0",
24
- "@ai-sdk/otel": "1.0.34",
24
+ "@ai-sdk/otel": "1.0.58",
25
25
  "@photon-ai/chat-adapter-imessage": "3.2.0",
26
26
  "picocolors": "1.1.1",
27
- "@ai-sdk/provider": "4.0.4",
28
- "@ai-sdk/provider-utils": "5.0.13",
27
+ "@ai-sdk/provider": "4.0.7",
28
+ "@ai-sdk/provider-utils": "5.0.25",
29
29
  "semver": "7.8.4",
30
30
  "shadcn": "4.16.1",
31
31
  "@standard-schema/spec": "1.1.0",
@@ -43,5 +43,5 @@
43
43
  "zod": "4.4.3",
44
44
  "zod-validation-error": "5.0.0"
45
45
  },
46
- "scriptHash": "e20714a41a19b69ca8599dc01467ae8cce225eaa106301f1ec2e9adc5d2adcca"
46
+ "scriptHash": "45c4b6fa4673e0e66a5e30ac20944506245b15860d4588b69f686f80d4e19d5f"
47
47
  }
@@ -1,4 +1,4 @@
1
- import { JSONObject, ProviderV4, LanguageModelV4, FilesV4, SkillsV4 } from '#compiled/@ai-sdk/provider/index.js';
1
+ import { JSONObject, ProviderV4, Experimental_BatchLanguageModelV4, FilesV4, SkillsV4 } from '#compiled/@ai-sdk/provider/index.js';
2
2
  import { z } from '#compiled/zod/index.js';
3
3
  import * as _ai_sdk_provider_utils from '#compiled/@ai-sdk/provider-utils/index.js';
4
4
  import { ToolExecuteFunction, Tool, Experimental_SandboxSession, ProviderDefinedTool, FetchFunction } from '#compiled/@ai-sdk/provider-utils/index.js';
@@ -183,7 +183,20 @@ interface AnthropicMessageMetadata {
183
183
  } | null;
184
184
  }
185
185
 
186
- type AnthropicModelId = 'claude-3-haiku-20240307' | 'claude-haiku-4-5-20251001' | 'claude-haiku-4-5' | 'claude-opus-4-0' | 'claude-opus-4-20250514' | 'claude-opus-4-1-20250805' | 'claude-opus-4-1' | 'claude-opus-4-5' | 'claude-opus-4-5-20251101' | 'claude-sonnet-4-0' | 'claude-sonnet-4-20250514' | 'claude-sonnet-4-5-20250929' | 'claude-sonnet-4-5' | 'claude-sonnet-4-6' | 'claude-opus-4-6' | 'claude-opus-4-7' | 'claude-opus-4-8' | 'claude-fable-5' | 'claude-sonnet-5' | (string & {});
186
+ type AnthropicModelId = 'claude-3-haiku-20240307' | 'claude-haiku-4-5-20251001' | 'claude-haiku-4-5' | 'claude-opus-4-0' | 'claude-opus-4-20250514' | 'claude-opus-4-1-20250805' | 'claude-opus-4-1' | 'claude-opus-4-5' | 'claude-opus-4-5-20251101' | 'claude-sonnet-4-0' | 'claude-sonnet-4-20250514' | 'claude-sonnet-4-5-20250929' | 'claude-sonnet-4-5' | 'claude-sonnet-4-6' | 'claude-opus-4-6' | 'claude-opus-4-7' | 'claude-opus-4-8' | 'claude-opus-5' | 'claude-fable-5' | 'claude-sonnet-5' | (string & {});
187
+ /**
188
+ * Anthropic provider options for system messages.
189
+ */
190
+ declare const anthropicSystemMessageProviderOptions: z.ZodObject<{
191
+ toolChanges: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
192
+ type: z.ZodLiteral<"tool_addition">;
193
+ toolName: z.ZodString;
194
+ }, z.core.$strip>, z.ZodObject<{
195
+ type: z.ZodLiteral<"tool_removal">;
196
+ toolName: z.ZodString;
197
+ }, z.core.$strip>]>>>;
198
+ }, z.core.$strip>;
199
+ type AnthropicSystemMessageProviderOptions = z.infer<typeof anthropicSystemMessageProviderOptions>;
187
200
  declare const anthropicLanguageModelOptions: z.ZodObject<{
188
201
  sendReasoning: z.ZodOptional<z.ZodBoolean>;
189
202
  structuredOutputMode: z.ZodOptional<z.ZodEnum<{
@@ -254,7 +267,7 @@ declare const anthropicLanguageModelOptions: z.ZodObject<{
254
267
  us: "us";
255
268
  global: "global";
256
269
  }>>;
257
- fallbacks: z.ZodOptional<z.ZodArray<z.ZodObject<{
270
+ fallbacks: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"default">, z.ZodArray<z.ZodObject<{
258
271
  model: z.ZodString;
259
272
  max_tokens: z.ZodOptional<z.ZodNumber>;
260
273
  thinking: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -263,7 +276,7 @@ declare const anthropicLanguageModelOptions: z.ZodObject<{
263
276
  fast: "fast";
264
277
  standard: "standard";
265
278
  }>>;
266
- }, z.core.$strip>>>;
279
+ }, z.core.$strip>>]>>;
267
280
  anthropicBeta: z.ZodOptional<z.ZodArray<z.ZodString>>;
268
281
  contextManagement: z.ZodOptional<z.ZodObject<{
269
282
  edits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -393,6 +406,8 @@ declare const anthropicTools: {
393
406
  *
394
407
  * @param model - The advisor model ID (required), e.g. `"claude-opus-4-8"`.
395
408
  * @param maxUses - Maximum advisor calls per request (per-request cap).
409
+ * @param maxTokens - Maximum advisor output tokens per call, including
410
+ * thinking and text. Minimum 1024; Anthropic recommends starting with 2048.
396
411
  * @param caching - Enables prompt caching for the advisor's transcript
397
412
  * across calls within a conversation. Worthwhile from ~3 advisor calls
398
413
  * per conversation.
@@ -400,15 +415,18 @@ declare const anthropicTools: {
400
415
  advisor_20260301: (args: Parameters<_ai_sdk_provider_utils.ProviderExecutedToolFactory<{}, {
401
416
  type: "advisor_result";
402
417
  text: string;
418
+ stopReason?: string;
403
419
  } | {
404
420
  type: "advisor_redacted_result";
405
421
  encryptedContent: string;
422
+ stopReason?: string;
406
423
  } | {
407
424
  type: "advisor_tool_result_error";
408
425
  errorCode: string;
409
426
  }, {
410
427
  model: string;
411
428
  maxUses?: number;
429
+ maxTokens?: number;
412
430
  caching?: {
413
431
  type: "ephemeral";
414
432
  ttl: "5m" | "1h";
@@ -416,9 +434,11 @@ declare const anthropicTools: {
416
434
  }, {}>>[0]) => _ai_sdk_provider_utils.ProviderExecutedTool<{}, {
417
435
  type: "advisor_result";
418
436
  text: string;
437
+ stopReason?: string;
419
438
  } | {
420
439
  type: "advisor_redacted_result";
421
440
  encryptedContent: string;
441
+ stopReason?: string;
422
442
  } | {
423
443
  type: "advisor_tool_result_error";
424
444
  errorCode: string;
@@ -540,7 +560,7 @@ declare const anthropicTools: {
540
560
  new_start: number | null;
541
561
  old_lines: number | null;
542
562
  old_start: number | null;
543
- }, {}, {}>>[0]) => _ai_sdk_provider_utils.ProviderExecutedTool<{
563
+ }, {}, {}>>[0]) => _ai_sdk_provider_utils.Experimental_ToolCallerTool<_ai_sdk_provider_utils.ProviderExecutedTool<{
544
564
  type: "programmatic-tool-call";
545
565
  code: string;
546
566
  } | {
@@ -602,7 +622,7 @@ declare const anthropicTools: {
602
622
  new_start: number | null;
603
623
  old_lines: number | null;
604
624
  old_start: number | null;
605
- }, {}>;
625
+ }, {}>>;
606
626
  /**
607
627
  * Claude can analyze data, create visualizations, perform complex calculations,
608
628
  * run system commands, create and edit files, and process uploaded files directly within
@@ -686,7 +706,7 @@ declare const anthropicTools: {
686
706
  new_start: number | null;
687
707
  old_lines: number | null;
688
708
  old_start: number | null;
689
- }, {}, {}>>[0]) => _ai_sdk_provider_utils.ProviderExecutedTool<{
709
+ }, {}, {}>>[0]) => _ai_sdk_provider_utils.Experimental_ToolCallerTool<_ai_sdk_provider_utils.ProviderExecutedTool<{
690
710
  type: "programmatic-tool-call";
691
711
  code: string;
692
712
  } | {
@@ -757,7 +777,7 @@ declare const anthropicTools: {
757
777
  new_start: number | null;
758
778
  old_lines: number | null;
759
779
  old_start: number | null;
760
- }, {}>;
780
+ }, {}>>;
761
781
  /**
762
782
  * Claude can interact with computer environments through the computer use tool, which
763
783
  * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
@@ -1203,13 +1223,13 @@ interface AnthropicProvider extends ProviderV4 {
1203
1223
  /**
1204
1224
  * Creates a model for text generation.
1205
1225
  */
1206
- (modelId: AnthropicModelId): LanguageModelV4;
1226
+ (modelId: AnthropicModelId): Experimental_BatchLanguageModelV4;
1207
1227
  /**
1208
1228
  * Creates a model for text generation.
1209
1229
  */
1210
- languageModel(modelId: AnthropicModelId): LanguageModelV4;
1211
- chat(modelId: AnthropicModelId): LanguageModelV4;
1212
- messages(modelId: AnthropicModelId): LanguageModelV4;
1230
+ languageModel(modelId: AnthropicModelId): Experimental_BatchLanguageModelV4;
1231
+ chat(modelId: AnthropicModelId): Experimental_BatchLanguageModelV4;
1232
+ messages(modelId: AnthropicModelId): Experimental_BatchLanguageModelV4;
1213
1233
  /**
1214
1234
  * @deprecated Use `embeddingModel` instead.
1215
1235
  */
@@ -1284,4 +1304,4 @@ declare function forwardAnthropicContainerIdFromLastStep({ steps, }: {
1284
1304
 
1285
1305
  declare const VERSION: string;
1286
1306
 
1287
- export { type AnthropicLanguageModelOptions, type AnthropicMessageMetadata, type AnthropicProvider, type AnthropicLanguageModelOptions as AnthropicProviderOptions, type AnthropicProviderSettings, type AnthropicToolOptions, type AnthropicUsageIteration, VERSION, anthropic, createAnthropic, forwardAnthropicContainerIdFromLastStep };
1307
+ export { type AnthropicLanguageModelOptions, type AnthropicMessageMetadata, type AnthropicProvider, type AnthropicLanguageModelOptions as AnthropicProviderOptions, type AnthropicProviderSettings, type AnthropicSystemMessageProviderOptions, type AnthropicToolOptions, type AnthropicUsageIteration, VERSION, anthropic, createAnthropic, forwardAnthropicContainerIdFromLastStep };