eve 0.51.0 → 0.52.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.
- package/CHANGELOG.md +46 -0
- package/dist/src/channel/session.d.ts +2 -1
- package/dist/src/channel/session.js +1 -1
- package/dist/src/channel/types.d.ts +4 -1
- package/dist/src/chunks/{use-eve-agent-C3vUG5g2.js → use-eve-agent-3DZuvuWE.js} +17 -6
- package/dist/src/chunks/{use-eve-agent-B4xN7-fK.js → use-eve-agent-D7apPojZ.js} +17 -6
- package/dist/src/cli/agent-command.js +1 -1
- package/dist/src/cli/commands/agent-instructions.d.ts +3 -1
- package/dist/src/cli/commands/agent-instructions.js +1 -1
- package/dist/src/cli/commands/build.js +1 -1
- package/dist/src/cli/commands/deploy.js +1 -1
- package/dist/src/cli/commands/init-agent-workspace.js +1 -1
- package/dist/src/cli/commands/init-repl.js +1 -1
- package/dist/src/cli/commands/init.js +1 -1
- package/dist/src/cli/commands/integration-connect.js +1 -1
- package/dist/src/cli/commands/link.js +1 -1
- package/dist/src/cli/commands/preconditions.js +1 -1
- package/dist/src/cli/commands/register-project-commands.d.ts +1 -1
- package/dist/src/cli/commands/register-project-commands.js +1 -1
- package/dist/src/cli/commands/registry.js +1 -1
- package/dist/src/cli/dev/boot-progress.d.ts +3 -0
- package/dist/src/cli/dev/boot-progress.js +1 -0
- package/dist/src/cli/dev/environment.js +1 -1
- package/dist/src/cli/dev/run-interactive-ui.js +1 -1
- package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
- package/dist/src/cli/dev/tui/setup-commands.d.ts +3 -1
- package/dist/src/cli/dev/tui/setup-commands.js +1 -1
- package/dist/src/cli/run.d.ts +4 -0
- package/dist/src/cli/run.js +3 -3
- package/dist/src/cli/telemetry/command.d.ts +9 -0
- package/dist/src/cli/telemetry/command.js +1 -0
- package/dist/src/cli/telemetry/flush.d.ts +2 -0
- package/dist/src/cli/telemetry/flush.js +1 -0
- package/dist/src/cli/telemetry/identity.d.ts +13 -0
- package/dist/src/cli/telemetry/identity.js +1 -0
- package/dist/src/cli/telemetry/index.d.ts +25 -0
- package/dist/src/cli/telemetry/index.js +3 -0
- package/dist/src/cli/telemetry/preference.d.ts +9 -0
- package/dist/src/cli/telemetry/preference.js +1 -0
- package/dist/src/client/open-stream.js +1 -1
- package/dist/src/client/session-controls.d.ts +3 -0
- package/dist/src/client/session-controls.js +1 -1
- package/dist/src/client/session.d.ts +4 -1
- package/dist/src/client/types.d.ts +3 -2
- package/dist/src/compiled/.vendor-stamp.json +11 -11
- package/dist/src/compiled/@clack/core/LICENSE +9 -0
- package/dist/src/compiled/@clack/core/index.d.ts +363 -0
- package/dist/src/compiled/@clack/core/index.js +20 -0
- package/dist/src/compiled/@eve/catalog/index.js +1 -1
- package/dist/src/compiled/@modelcontextprotocol/server/index.d.ts +1 -0
- package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +34 -92
- package/dist/src/compiled/@vercel/sandbox/api-client/base-client.d.ts +1 -1
- package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +1 -1
- package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +13 -29
- package/dist/src/compiled/@vercel/sandbox/constants.d.ts +11 -1
- package/dist/src/compiled/@vercel/sandbox/index.d.ts +3 -3
- package/dist/src/compiled/@vercel/sandbox/index.js +9 -9
- package/dist/src/compiled/@vercel/sandbox/sandbox-user.d.ts +5 -6
- package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +79 -67
- package/dist/src/compiled/@vercel/sandbox/session.d.ts +5 -3
- package/dist/src/compiled/@vercel/sandbox/snapshot.d.ts +9 -0
- package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/api-client/api-client.d.ts +86 -1
- package/dist/src/compiled/@vercel/sandbox-drives/api-client/index.d.ts +2 -0
- package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/api-client/validators.d.ts +26 -1
- package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/constants.d.ts +2 -2
- package/dist/src/compiled/@vercel/{sandbox → sandbox-drives}/drive.d.ts +10 -0
- package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/index.d.ts +3 -2
- package/dist/src/compiled/@vercel/sandbox-drives/index.js +9 -0
- package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/sandbox.d.ts +35 -6
- package/dist/src/compiled/@workflow/core/index.js +1 -1
- package/dist/src/compiled/@workflow/core/private.d.ts +2 -4
- package/dist/src/compiled/@workflow/core/private.js +1 -1
- package/dist/src/compiled/@workflow/core/runtime/constants.d.ts +9 -7
- package/dist/src/compiled/@workflow/core/runtime/helpers.d.ts +13 -0
- package/dist/src/compiled/@workflow/core/runtime/suspension-handler.d.ts +54 -1
- package/dist/src/compiled/@workflow/core/runtime.js +3 -3
- package/dist/src/compiled/@workflow/core/serialization/types.d.ts +7 -0
- package/dist/src/compiled/@workflow/core/serialization.d.ts +24 -2
- package/dist/src/compiled/@workflow/core/version.d.ts +1 -1
- package/dist/src/compiled/@workflow/core/workflow.js +1 -1
- package/dist/src/compiled/@workflow/errors/error-codes.d.ts +2 -0
- package/dist/src/compiled/@workflow/errors/index.d.ts +19 -0
- package/dist/src/compiled/@workflow/errors/index.js +1 -1
- package/dist/src/compiled/@workflow/world/analytics.d.ts +46 -2
- package/dist/src/compiled/@workflow/world/events.d.ts +26 -1
- package/dist/src/compiled/@workflow/world/index.d.ts +1 -1
- package/dist/src/compiled/@workflow/world/runs.d.ts +2 -2
- package/dist/src/compiled/@workflow/world-local/index.js +3 -3
- package/dist/src/compiled/@workflow/world-vercel/index.js +12 -12
- package/dist/src/compiled/_chunks/node/{auth-BSKyPAEP.js → auth-Bx1Aoyfo.js} +1 -1
- package/dist/src/compiled/_chunks/node/{auth-YpKlwhP1.js → auth-CA8ZMfB8.js} +1 -1
- package/dist/src/compiled/_chunks/node/esm-CE0tAvRh.js +7 -0
- package/dist/src/compiled/_chunks/node/version-BC6t2Txc.js +1 -0
- package/dist/src/compiled/_chunks/node/version-DSQqVZ5T.js +1 -0
- package/dist/src/compiled/_chunks/workflow/{attribute-changes-BwAadFfB.js → attribute-changes-03lzo29R.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/dist-BIdMK5N8.js +40 -0
- package/dist/src/compiled/_chunks/workflow/dist-DMQ3CtWt.js +3 -0
- package/dist/src/compiled/_chunks/workflow/frames-Boesh7kU.js +3 -0
- package/dist/src/compiled/_chunks/workflow/{private-CZFMABEf.js → private-CKx3PkSS.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{resume-hook-BToMtPbH.js → resume-hook-C6eL-S_T.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/run-BV0S6Zc2.js +1 -0
- package/dist/src/compiled/_chunks/workflow/sleep-Bh3jP9ii.js +1 -0
- package/dist/src/compiled/_chunks/workflow/wait-until-l-cwfJvm.js +15 -0
- package/dist/src/compiled/_chunks/workflow/{ws-transport-PnVVxT0R.js → ws-transport-BagXNxCE.js} +1 -1
- package/dist/src/compiler/compile-from-memory.d.ts +1 -0
- package/dist/src/compiler/extension-compatibility.d.ts +38 -20
- package/dist/src/compiler/extension-compatibility.js +1 -1
- package/dist/src/compiler/manifest.d.ts +2 -2
- package/dist/src/compiler/manifest.js +1 -1
- package/dist/src/compiler/normalize-agent-config.js +1 -1
- package/dist/src/compiler/normalize-channel.js +1 -1
- package/dist/src/compiler/normalize-schedule.js +1 -1
- package/dist/src/compiler/normalize-tool.js +1 -1
- package/dist/src/context/dynamic-tool-lifecycle.js +1 -1
- package/dist/src/discover/extensions.d.ts +2 -0
- package/dist/src/discover/extensions.js +1 -1
- package/dist/src/discover/filesystem.d.ts +1 -0
- package/dist/src/discover/filesystem.js +1 -1
- package/dist/src/discover/project.js +1 -1
- package/dist/src/evals/runner/execute-task.js +1 -1
- package/dist/src/evals/session-cleanup.d.ts +7 -0
- package/dist/src/evals/session-cleanup.js +1 -0
- package/dist/src/evals/session.d.ts +4 -0
- package/dist/src/evals/session.js +1 -1
- package/dist/src/eve-channel/index.js +1 -1
- package/dist/src/eve-channel/request.d.ts +1 -0
- package/dist/src/eve-channel/request.js +1 -1
- package/dist/src/execution/activity-collector.js +1 -1
- package/dist/src/execution/activity-work.d.ts +8 -0
- package/dist/src/execution/activity-work.js +1 -1
- package/dist/src/execution/cancel-indexed-session-tasks-step.d.ts +6 -0
- package/dist/src/execution/cancel-indexed-session-tasks-step.js +1 -0
- package/dist/src/execution/continuation-conflict-step.js +1 -1
- package/dist/src/execution/coordination-dispatch-shared.d.ts +2 -2
- package/dist/src/execution/coordination-dispatch-shared.js +1 -1
- package/dist/src/execution/coordination-dispatch-step.js +1 -1
- package/dist/src/execution/create-session-step.js +1 -1
- package/dist/src/execution/durable-session-migrations/turn-workflow.d.ts +1 -1
- package/dist/src/execution/inline-turn.d.ts +4 -2
- package/dist/src/execution/inline-turn.js +1 -1
- package/dist/src/execution/next-driver-action.d.ts +0 -3
- package/dist/src/execution/parked-delivery-wait.js +1 -1
- package/dist/src/execution/proxied-deliver-step.js +1 -1
- package/dist/src/execution/run-session-limits.d.ts +5 -5
- package/dist/src/execution/sandbox/bindings/vercel-create-sdk.js +1 -1
- package/dist/src/execution/sandbox/bindings/vercel-sdk-types.d.ts +4 -4
- package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
- package/dist/src/execution/session-activity-projection.js +1 -1
- package/dist/src/execution/session-activity.js +1 -1
- package/dist/src/execution/session-timeout-workflow.js +1 -1
- package/dist/src/execution/session.d.ts +1 -0
- package/dist/src/execution/session.js +1 -1
- package/dist/src/execution/settle-cancelled-turn-step.js +1 -1
- package/dist/src/execution/tasks/child/steps.d.ts +19 -1
- package/dist/src/execution/tasks/child/steps.js +1 -1
- package/dist/src/execution/tasks/child/workflow.d.ts +2 -0
- package/dist/src/execution/tasks/child/workflow.js +1 -1
- package/dist/src/execution/tasks/parent/control-shared.js +1 -1
- package/dist/src/execution/tasks/parent/delegate.d.ts +2 -0
- package/dist/src/execution/tasks/parent/delegate.js +1 -1
- package/dist/src/execution/tasks/parent/hitl-proxy-steps.js +1 -1
- package/dist/src/execution/tasks/parent/subagent-task-projection.d.ts +26 -0
- package/dist/src/execution/tasks/parent/subagent-task-projection.js +1 -0
- package/dist/src/execution/tasks/parent/tool-execution.js +1 -1
- package/dist/src/execution/terminate-child-sessions-step.js +1 -1
- package/dist/src/execution/tools/sleep-workflow.d.ts +3 -0
- package/dist/src/execution/tools/sleep-workflow.js +1 -0
- package/dist/src/execution/tools/sleep.d.ts +1 -5
- package/dist/src/execution/tools/sleep.js +1 -1
- package/dist/src/execution/tools/subagent/accept-event-step.js +1 -1
- package/dist/src/execution/tools/subagent/invoke-agent.d.ts +1 -7
- package/dist/src/execution/tools/subagent/invoke-agent.js +1 -1
- package/dist/src/execution/tools/subagent/invoke-step.js +1 -1
- package/dist/src/execution/tools/workflow/ask.d.ts +1 -2
- package/dist/src/execution/tools/workflow/ask.js +1 -1
- package/dist/src/execution/tools/workflow/body.d.ts +6 -1
- package/dist/src/execution/tools/workflow/body.js +1 -1
- package/dist/src/execution/tools/workflow/cancel.js +1 -1
- package/dist/src/execution/tools/workflow/messages.d.ts +9 -8
- package/dist/src/execution/tools/workflow/messages.js +1 -1
- package/dist/src/execution/tools/workflow/owner-inbox.d.ts +2 -2
- package/dist/src/execution/tools/workflow/owner-inbox.js +1 -1
- package/dist/src/execution/tools/workflow/owner.d.ts +5 -11
- package/dist/src/execution/tools/workflow/owner.js +1 -1
- package/dist/src/execution/tools/workflow/run-control.d.ts +0 -4
- package/dist/src/execution/tools/workflow/run-control.js +1 -1
- package/dist/src/execution/tools/workflow/start.d.ts +5 -14
- package/dist/src/execution/tools/workflow/start.js +1 -1
- package/dist/src/execution/tools/workflow/workflow.d.ts +1 -1
- package/dist/src/execution/tools/workflow/workflow.js +1 -1
- package/dist/src/execution/turn-cancellation-control.d.ts +1 -0
- package/dist/src/execution/turn-cancellation-control.js +1 -1
- package/dist/src/execution/turn-cancellation-token.d.ts +1 -0
- package/dist/src/execution/turn-control-receiver.d.ts +3 -0
- package/dist/src/execution/turn-control-receiver.js +1 -1
- package/dist/src/execution/turn-dispatch.d.ts +2 -0
- package/dist/src/execution/turn-dispatch.js +1 -1
- package/dist/src/execution/turn-workflow-tool-run.d.ts +2 -8
- package/dist/src/execution/turn-workflow-tool-run.js +1 -1
- package/dist/src/execution/turn-workflow.d.ts +1 -0
- package/dist/src/execution/turn-workflow.js +1 -1
- package/dist/src/execution/wire/session-inbox-contract.d.ts +2 -2
- package/dist/src/execution/wire/session-inbox-contract.js +1 -1
- package/dist/src/execution/wire/session-inbox-encoder.d.ts +10 -2
- package/dist/src/execution/wire/session-inbox-encoder.js +1 -1
- package/dist/src/execution/wire/session-inbox-resume.js +1 -1
- package/dist/src/execution/wire/session-inbox-wire.js +1 -1
- package/dist/src/execution/wire/session-inbox-wire.v5.d.ts +341 -0
- package/dist/src/execution/wire/session-inbox-wire.v5.js +1 -0
- package/dist/src/execution/wire/session-inbox-wire.v5.migration.d.ts +3 -0
- package/dist/src/execution/wire/session-inbox-wire.v5.migration.js +1 -0
- package/dist/src/execution/wire/session-inbox-wire.v6.d.ts +341 -0
- package/dist/src/execution/wire/session-inbox-wire.v6.js +1 -0
- package/dist/src/execution/workflow-entry.js +1 -1
- package/dist/src/execution/workflow-runtime.js +1 -1
- package/dist/src/execution/workflow-steps.js +1 -1
- package/dist/src/harness/emission-state.js +1 -1
- package/dist/src/harness/session-limit-continuation.d.ts +5 -5
- package/dist/src/harness/session-limit-continuation.js +1 -1
- package/dist/src/harness/session-limit-enforcement.d.ts +4 -4
- package/dist/src/harness/session-limit-enforcement.js +1 -1
- package/dist/src/harness/session-usage-limits.d.ts +48 -0
- package/dist/src/harness/session-usage-limits.js +1 -0
- package/dist/src/harness/tool-loop.js +2 -2
- package/dist/src/harness/turn-client-context.d.ts +9 -0
- package/dist/src/harness/turn-client-context.js +1 -0
- package/dist/src/harness/turn-tag-state.d.ts +17 -20
- package/dist/src/harness/turn-tag-state.js +1 -1
- package/dist/src/harness/types.d.ts +5 -0
- package/dist/src/harness/workflow-tool-runs.d.ts +0 -1
- package/dist/src/harness/workflow-tool-runs.js +1 -1
- package/dist/src/internal/application/build-output-environment.d.ts +1 -0
- package/dist/src/internal/application/build-output-environment.js +1 -1
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/internal/application/paths.js +1 -1
- package/dist/src/internal/authored-definition/core.js +1 -1
- package/dist/src/internal/authored-definition/schema-backed.js +1 -1
- package/dist/src/internal/eve-project-root.d.ts +8 -0
- package/dist/src/internal/eve-project-root.js +1 -0
- package/dist/src/internal/invocation/workflow-execution.js +1 -1
- package/dist/src/internal/mcp/streamable-http-server.d.ts +29 -1
- package/dist/src/internal/mcp/streamable-http-server.js +1 -1
- package/dist/src/internal/nitro/host/build-application.js +1 -1
- package/dist/src/internal/nitro/host/create-application-nitro.d.ts +1 -0
- package/dist/src/internal/nitro/host/create-application-nitro.js +1 -1
- package/dist/src/internal/nitro/host/types.d.ts +2 -0
- package/dist/src/internal/nitro/host/vercel-build-output-config.d.ts +1 -0
- package/dist/src/internal/nitro/host/vercel-build-output-config.js +1 -1
- package/dist/src/internal/project-context.d.ts +13 -8
- package/dist/src/internal/project-context.js +1 -1
- package/dist/src/internal/vercel/build-agent-workspace.d.ts +1 -1
- package/dist/src/internal/vercel/build-agent-workspace.js +1 -1
- package/dist/src/internal/vercel/eve-service-contribution.d.ts +1 -0
- package/dist/src/internal/vercel/eve-service-contribution.js +1 -1
- package/dist/src/internal/workflow/reference.d.ts +2 -0
- package/dist/src/internal/workflow/reference.js +1 -0
- package/dist/src/internal/workflow/runtime.d.ts +6 -0
- package/dist/src/internal/workflow/runtime.js +1 -1
- package/dist/src/internal/workflow-bundle/authored-workflow-directives.d.ts +1 -3
- package/dist/src/internal/workflow-bundle/authored-workflow-directives.js +1 -1
- package/dist/src/internal/workflow-bundle/authored-workflow-modules.d.ts +1 -11
- package/dist/src/internal/workflow-bundle/authored-workflow-modules.js +1 -1
- package/dist/src/internal/workflow-bundle/builder.js +1 -1
- package/dist/src/internal/workflow-bundle/dynamic-tool-transform.js +1 -1
- package/dist/src/internal/workflow-bundle/workflow-builders.d.ts +1 -3
- package/dist/src/internal/workflow-bundle/workflow-builders.js +1 -1
- package/dist/src/internal/workflow-bundle/workflow-transformer.d.ts +1 -1
- package/dist/src/internal/workflow-bundle/workflow-transformer.js +2 -2
- package/dist/src/protocol/message.d.ts +3 -2
- package/dist/src/public/channels/mcp.js +1 -1
- package/dist/src/public/channels/slack/activity-plan.d.ts +4 -0
- package/dist/src/public/channels/slack/activity-plan.js +1 -0
- package/dist/src/public/channels/slack/activity.d.ts +45 -2
- package/dist/src/public/channels/slack/activity.js +2 -1
- package/dist/src/public/channels/slack/index.d.ts +1 -1
- package/dist/src/public/channels/slack/index.js +1 -1
- package/dist/src/public/channels/slack/slackChannel.js +1 -1
- package/dist/src/public/memory/index.js +1 -1
- package/dist/src/public/models/openai/chatgpt/model.js +2 -2
- package/dist/src/public/models/openai/chatgpt/transport.js +1 -1
- package/dist/src/public/nuxt/index.js +1 -1
- package/dist/src/public/nuxt/module.d.ts +3 -2
- package/dist/src/public/nuxt/module.js +1 -1
- package/dist/src/public/sandbox/vercel-sandbox.d.ts +9 -5
- package/dist/src/public/sandbox/vercel.d.ts +1 -1
- package/dist/src/public/sandbox/vercel.js +1 -1
- package/dist/src/public/tools/index.d.ts +3 -1
- package/dist/src/public/tools/index.js +1 -1
- package/dist/src/runtime/resolve-agent.js +1 -1
- package/dist/src/runtime/subagents/workflow.js +1 -1
- package/dist/src/self-modification/agent.d.ts +22 -0
- package/dist/src/self-modification/agent.js +1 -0
- package/dist/src/self-modification/extension/classify-registry-item.d.ts +19 -0
- package/dist/src/self-modification/extension/classify-registry-item.js +1 -0
- package/dist/src/self-modification/extension/eve-add.d.ts +56 -0
- package/dist/src/self-modification/extension/eve-add.js +2 -0
- package/dist/src/self-modification/extension/extension.d.ts +2 -0
- package/dist/src/self-modification/extension/extension.js +1 -0
- package/dist/src/self-modification/extension/instructions.d.ts +4 -0
- package/dist/src/self-modification/extension/instructions.js +23 -0
- package/dist/src/self-modification/extension/source-lock.d.ts +2 -0
- package/dist/src/self-modification/extension/source-lock.js +1 -0
- package/dist/src/self-modification/extension/tools/edit_file.d.ts +16 -0
- package/dist/src/self-modification/extension/tools/edit_file.js +1 -0
- package/dist/src/self-modification/extension/tools/registry_add.d.ts +52 -0
- package/dist/src/self-modification/extension/tools/registry_add.js +1 -0
- package/dist/src/self-modification/extension/tools/search_models.d.ts +22 -0
- package/dist/src/self-modification/extension/tools/search_models.js +1 -0
- package/dist/src/self-modification/extension/tools/search_registry.d.ts +103 -0
- package/dist/src/self-modification/extension/tools/search_registry.js +1 -0
- package/dist/src/self-modification/filesystem.d.ts +6 -0
- package/dist/src/self-modification/filesystem.js +1 -0
- package/dist/src/self-modification/sandbox.d.ts +2 -0
- package/dist/src/self-modification/sandbox.js +1 -0
- package/dist/src/services/dev-client/target.d.ts +3 -1
- package/dist/src/setup/boxes/select-model.d.ts +3 -21
- package/dist/src/setup/boxes/select-model.js +1 -1
- package/dist/src/setup/cli/prompt-ui.js +4 -4
- package/dist/src/setup/cli/select-component.d.ts +1 -1
- package/dist/src/setup/cli/select-component.js +1 -1
- package/dist/src/setup/flows/model.d.ts +3 -0
- package/dist/src/setup/flows/model.js +1 -1
- package/dist/src/setup/prompter.js +1 -1
- package/dist/src/setup/scaffold/create/project.js +1 -1
- package/dist/src/setup/scaffold/update/web-options.js +1 -1
- package/dist/src/shared/action-types.d.ts +35 -22
- package/dist/src/shared/action-types.js +1 -1
- package/dist/src/shared/agent-definition.d.ts +13 -0
- package/dist/src/shared/agent-turn-outcome.d.ts +2 -0
- package/dist/src/shared/agent-turn-outcome.js +1 -1
- package/dist/src/shared/extension-package-contract.d.ts +2 -0
- package/dist/src/shared/extension-package-contract.js +1 -1
- package/dist/src/shared/gateway-model-catalog.d.ts +21 -0
- package/dist/src/shared/gateway-model-catalog.js +1 -0
- package/dist/src/shared/sandbox-network-policy.d.ts +1 -1
- package/dist/src/shared/token-usage.d.ts +11 -15
- package/dist/src/shared/token-usage.js +1 -1
- package/dist/src/shared/workflow-tool-context.d.ts +2 -0
- package/dist/src/shared/workflow-tool-context.js +1 -0
- package/dist/src/subagents/callback-route.js +1 -1
- package/dist/src/subagents/event-proxy-step.js +1 -1
- package/dist/src/subagents/start-remote.js +1 -1
- package/dist/src/subagents/token-budget.js +1 -1
- package/dist/src/svelte/index.js +1 -1
- package/dist/src/svelte/use-eve-agent.js +1 -1
- package/dist/src/tasks/types.d.ts +18 -1
- package/dist/src/tasks/types.js +1 -1
- package/dist/src/tools/behavior.d.ts +5 -0
- package/dist/src/tools/definition.d.ts +16 -12
- package/dist/src/tools/definition.js +1 -1
- package/dist/src/tools/dynamic.d.ts +2 -2
- package/dist/src/tools/provided/sleep.d.ts +4 -4
- package/dist/src/tools/provided/sleep.js +1 -1
- package/dist/src/tools/task.d.ts +28 -80
- package/dist/src/tools/task.js +1 -1
- package/dist/src/tools/workflow-definition.d.ts +60 -0
- package/dist/src/tools/workflow-definition.js +1 -0
- package/dist/src/vue/index.js +1 -1
- package/dist/src/vue/use-eve-agent.js +1 -1
- package/docs/agent-config.md +24 -19
- package/docs/channels/eve.mdx +1 -1
- package/docs/channels/mcp.mdx +25 -3
- package/docs/concepts/built-in-tools.md +1 -1
- package/docs/concepts/execution-model-and-durability.mdx +13 -2
- package/docs/concepts/sessions-runs-and-streaming.md +9 -1
- package/docs/guides/client/messages.mdx +1 -1
- package/docs/guides/client/streaming.mdx +1 -1
- package/docs/guides/deployment/vercel.mdx +3 -1
- package/docs/guides/frontend/overview.mdx +1 -1
- package/docs/memory/overview.mdx +41 -12
- package/docs/reference/cli.md +31 -33
- package/docs/reference/meta.json +1 -4
- package/docs/reference/telemetry.md +56 -0
- package/docs/reference/typescript-api.md +38 -35
- package/docs/sandbox.mdx +1 -1
- package/docs/tools/overview.mdx +59 -18
- package/docs/tools/workflows.mdx +146 -70
- package/package.json +38 -19
- package/dist/src/compiled/@vercel/sandbox-delete/api-client/index.d.ts +0 -2
- package/dist/src/compiled/@vercel/sandbox-delete/index.js +0 -9
- package/dist/src/compiled/@vercel/sandbox-stable/LICENSE +0 -201
- package/dist/src/compiled/@vercel/sandbox-stable/_async-retry.d.ts +0 -8
- package/dist/src/compiled/@vercel/sandbox-stable/_workflow-serde.d.ts +0 -5
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/api-client.d.ts +0 -1456
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/api-error.d.ts +0 -29
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/base-client.d.ts +0 -39
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/file-writer.d.ts +0 -66
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/index.d.ts +0 -2
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/validators.d.ts +0 -899
- package/dist/src/compiled/@vercel/sandbox-stable/api-client/with-retry.d.ts +0 -10
- package/dist/src/compiled/@vercel/sandbox-stable/auth/error.d.ts +0 -15
- package/dist/src/compiled/@vercel/sandbox-stable/auth/file.d.ts +0 -18
- package/dist/src/compiled/@vercel/sandbox-stable/auth/index.d.ts +0 -6
- package/dist/src/compiled/@vercel/sandbox-stable/auth/oauth.d.ts +0 -111
- package/dist/src/compiled/@vercel/sandbox-stable/auth/poll-for-token.d.ts +0 -28
- package/dist/src/compiled/@vercel/sandbox-stable/auth/project.d.ts +0 -40
- package/dist/src/compiled/@vercel/sandbox-stable/command.d.ts +0 -292
- package/dist/src/compiled/@vercel/sandbox-stable/constants.d.ts +0 -5
- package/dist/src/compiled/@vercel/sandbox-stable/execution-context.d.ts +0 -116
- package/dist/src/compiled/@vercel/sandbox-stable/filesystem.d.ts +0 -258
- package/dist/src/compiled/@vercel/sandbox-stable/index.d.ts +0 -12
- package/dist/src/compiled/@vercel/sandbox-stable/index.js +0 -1
- package/dist/src/compiled/@vercel/sandbox-stable/network-policy.d.ts +0 -169
- package/dist/src/compiled/@vercel/sandbox-stable/proxy.d.ts +0 -55
- package/dist/src/compiled/@vercel/sandbox-stable/sandbox-user.d.ts +0 -212
- package/dist/src/compiled/@vercel/sandbox-stable/sandbox.d.ts +0 -1216
- package/dist/src/compiled/@vercel/sandbox-stable/session.d.ts +0 -433
- package/dist/src/compiled/@vercel/sandbox-stable/snapshot.d.ts +0 -229
- package/dist/src/compiled/@vercel/sandbox-stable/utils/get-credentials.d.ts +0 -21
- package/dist/src/compiled/@vercel/sandbox-stable/utils/paginator.d.ts +0 -16
- package/dist/src/compiled/@vercel/sandbox-stable/utils/resolveSignal.d.ts +0 -15
- package/dist/src/compiled/@vercel/sandbox-stable/utils/sandbox-snapshot.d.ts +0 -11
- package/dist/src/compiled/@vercel/sandbox-stable/utils/types.d.ts +0 -11
- package/dist/src/compiled/_chunks/node/decode_jwt-Col8JOnf.js +0 -7
- package/dist/src/compiled/_chunks/node/version-BYHw-SDY.js +0 -1
- package/dist/src/compiled/_chunks/node/version-DH6yRy-M.js +0 -1
- package/dist/src/compiled/_chunks/workflow/dist-CgbVZs5l.js +0 -40
- package/dist/src/compiled/_chunks/workflow/dist-DjojkP5e.js +0 -3
- package/dist/src/compiled/_chunks/workflow/frames-CZ9eHShe.js +0 -3
- package/dist/src/compiled/_chunks/workflow/run-DzyAoGh4.js +0 -1
- package/dist/src/compiled/_chunks/workflow/sleep-3_A5uOp-.js +0 -1
- package/dist/src/compiled/_chunks/workflow/wait-until-BtySPYD0.js +0 -15
- package/dist/src/harness/session-token-limits.d.ts +0 -41
- package/dist/src/harness/session-token-limits.js +0 -1
- package/dist/src/harness/turn-sleep.d.ts +0 -12
- package/dist/src/harness/turn-sleep.js +0 -1
- package/dist/src/internal/agent-workspace.d.ts +0 -15
- package/dist/src/internal/agent-workspace.js +0 -1
- package/dist/src/node_modules/.pnpm/@clack_core@1.3.1/node_modules/@clack/core/dist/index.js +0 -16
- package/dist/src/node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/index.js +0 -1
- package/dist/src/node_modules/.pnpm/fast-string-truncated-width@3.0.3/node_modules/fast-string-truncated-width/dist/utils.js +0 -1
- package/dist/src/node_modules/.pnpm/fast-string-width@3.0.2/node_modules/fast-string-width/dist/index.js +0 -1
- package/dist/src/node_modules/.pnpm/fast-wrap-ansi@0.2.2/node_modules/fast-wrap-ansi/lib/main.js +0 -5
- package/dist/src/node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi/src/index.js +0 -1
- package/dist/src/public/workflow/index.d.ts +0 -5
- package/dist/src/public/workflow/index.js +0 -1
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/LICENSE +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/_async-retry.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/_workflow-serde.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/api-client/api-error.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/api-client/base-client.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/api-client/file-writer.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/api-client/with-retry.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/auth/error.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/auth/file.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/auth/index.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/auth/oauth.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/auth/poll-for-token.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/auth/project.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/command.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/execution-context.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/filesystem.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/network-policy.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/proxy.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/sandbox-user.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/session.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/snapshot.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/utils/get-credentials.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/utils/paginator.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/utils/resolveSignal.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/utils/sandbox-snapshot.d.ts +0 -0
- /package/dist/src/compiled/@vercel/{sandbox-delete → sandbox-drives}/utils/types.d.ts +0 -0
|
@@ -201,7 +201,7 @@ For fully custom state machines, `authorization.required` and `authorization.com
|
|
|
201
201
|
|
|
202
202
|
## Attach page context per turn
|
|
203
203
|
|
|
204
|
-
`clientContext` adds ephemeral context for the
|
|
204
|
+
`clientContext` adds ephemeral context for the current turn. Strings (or an array of strings) become user-role context messages; an object is JSON-serialized into one. The context remains available to every model call in the turn, then disappears before the next turn. It rides along with a message or HITL response, so it never dispatches a turn on its own and never lands in durable session history. Pass it in the second argument to `send()` or `respond()`:
|
|
205
205
|
|
|
206
206
|
```tsx
|
|
207
207
|
await agent.send("What should I do on this screen?", {
|
package/docs/memory/overview.mdx
CHANGED
|
@@ -25,8 +25,8 @@ export default defineMemory({
|
|
|
25
25
|
|
|
26
26
|
That file declares a `profile` slot that remembers facts per authenticated
|
|
27
27
|
caller using the built-in file provider. Swap `provider` for
|
|
28
|
-
[Supermemory](#
|
|
29
|
-
definition stays the same.
|
|
28
|
+
[Supermemory](#supermemory), [Upstash AgentKit](#upstash-agentkit), or your own
|
|
29
|
+
implementation and the rest of the definition stays the same.
|
|
30
30
|
|
|
31
31
|
## How a memory slot works
|
|
32
32
|
|
|
@@ -70,11 +70,12 @@ Every slot needs a provider. The provider decides how memory is stored, how
|
|
|
70
70
|
relevant context is retrieved, and whether the agent captures conversation
|
|
71
71
|
automatically or only through explicit tool calls.
|
|
72
72
|
|
|
73
|
-
| Provider
|
|
74
|
-
|
|
|
75
|
-
| [Supermemory](#supermemory)
|
|
76
|
-
| [
|
|
77
|
-
| [
|
|
73
|
+
| Provider | Ships as | Recall | Capture |
|
|
74
|
+
| ------------------------------------- | ----------------------- | ------------------------------------------------------ | ---------------------------------------------------- |
|
|
75
|
+
| [Supermemory](#supermemory) | `@supermemory/eve` | Semantic search over stored memories | Automatic after each turn, plus tools |
|
|
76
|
+
| [Upstash AgentKit](#upstash-agentkit) | `@upstash/agentkit-eve` | Ranked Redis Search recall or a Redis document backend | Automatic user-message capture or model-driven tools |
|
|
77
|
+
| [File memory](#file-memory) | Built into eve | One bounded document per scope | Model-driven `save_memory` / `remove_memory` |
|
|
78
|
+
| [Your own provider](#build-your-own) | Your code | Whatever your store returns | Whatever rules you implement |
|
|
78
79
|
|
|
79
80
|
### Supermemory
|
|
80
81
|
|
|
@@ -103,10 +104,38 @@ export default defineMemory({
|
|
|
103
104
|
});
|
|
104
105
|
```
|
|
105
106
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
See the [Supermemory integration page](/integrations/supermemory) for provider
|
|
108
|
+
options.
|
|
109
|
+
|
|
110
|
+
### Upstash AgentKit
|
|
111
|
+
|
|
112
|
+
[Upstash AgentKit](https://upstash.com/docs/redis/sdks/agentkit/eve) backs a
|
|
113
|
+
memory slot with your Upstash Redis database. `redisMemory()` recalls
|
|
114
|
+
relevance-ranked facts before each turn, captures user messages after completed
|
|
115
|
+
turns by default, and gives the model tools to save, search, read past
|
|
116
|
+
sessions, and forget.
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
eve add memory/upstash-agentkit
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The command installs `@upstash/agentkit-eve` and writes an `upstash-agentkit`
|
|
123
|
+
slot:
|
|
124
|
+
|
|
125
|
+
```ts title="agent/memory/upstash-agentkit.ts"
|
|
126
|
+
import { redisMemory } from "@upstash/agentkit-eve/memory";
|
|
127
|
+
import { defineMemory } from "eve/memory";
|
|
128
|
+
import { byPrincipal } from "eve/memory/scope";
|
|
129
|
+
|
|
130
|
+
export default defineMemory({
|
|
131
|
+
description: "Recall and manage durable context for the current user.",
|
|
132
|
+
provider: redisMemory({ topK: 5 }),
|
|
133
|
+
scope: byPrincipal,
|
|
134
|
+
});
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
See the [Upstash AgentKit integration page](/integrations/upstash-agentkit) for
|
|
138
|
+
options.
|
|
110
139
|
|
|
111
140
|
### File memory
|
|
112
141
|
|
|
@@ -211,7 +240,7 @@ The namespace separates an application's memory domains before scope is
|
|
|
211
240
|
applied. Omit it to use `defaultNamespace`, which combines the slot name, the
|
|
212
241
|
graph node, and a deployment-aware identity:
|
|
213
242
|
|
|
214
|
-
- Production and other Vercel environments use the project and environment.
|
|
243
|
+
- Production and other Vercel environments use the project and environment. Members of a top-level `agents/` workspace use separate namespaces.
|
|
215
244
|
- Preview also uses the branch or deployment identity.
|
|
216
245
|
- Local development uses a digest of the application root, never the raw path.
|
|
217
246
|
|
package/docs/reference/cli.md
CHANGED
|
@@ -1,43 +1,48 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "CLI"
|
|
3
|
-
description: "Reference for every eve CLI command: init, set, info, build, start, dev, logs,
|
|
3
|
+
description: "Reference for every eve CLI command: init, set, info, build, start, dev, logs, traces, link, deploy, eval, channels, extension, and telemetry."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
Relevant `eve` commands can run from the application root or any directory beneath it.
|
|
6
|
+
Relevant `eve` commands can run from the application root or any directory beneath it. Running `eve` with no command runs `eve init` when the current directory is not an eve project, or `eve dev` when it is.
|
|
7
7
|
|
|
8
8
|
## Commands
|
|
9
9
|
|
|
10
|
-
| Command
|
|
11
|
-
|
|
|
12
|
-
| `eve`
|
|
13
|
-
| `eve init [target]`
|
|
14
|
-
| `eve info`
|
|
15
|
-
| `eve build`
|
|
16
|
-
| `eve start`
|
|
17
|
-
| `eve dev`
|
|
18
|
-
| `eve dev <url>`
|
|
19
|
-
| `eve acp [url]`
|
|
20
|
-
| `eve logs [logid]`
|
|
21
|
-
| `eve logs ls`
|
|
22
|
-
| `eve traces ls`
|
|
23
|
-
| `eve traces [trace]`
|
|
24
|
-
| `eve
|
|
25
|
-
| `eve
|
|
26
|
-
| `eve
|
|
27
|
-
| `eve
|
|
28
|
-
| `eve
|
|
29
|
-
| `eve extension
|
|
30
|
-
| `eve
|
|
31
|
-
| `eve
|
|
10
|
+
| Command | Description |
|
|
11
|
+
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
12
|
+
| `eve` | Initialize the current directory, or start development when it is already an eve project |
|
|
13
|
+
| `eve init [target]` | Create a new agent, or add an agent to an existing project |
|
|
14
|
+
| `eve info` | Print the resolved application, including static instructions and discovered capabilities, routes, artifact paths, and diagnostics |
|
|
15
|
+
| `eve build` | Compile `.eve/` artifacts and build the host output; prints the output directory |
|
|
16
|
+
| `eve start` | Serve the built `.output/` app; prints the listening URL |
|
|
17
|
+
| `eve dev` | Start the local dev server and open the terminal UI |
|
|
18
|
+
| `eve dev <url>` | Connect the UI to an existing server URL (e.g. a remote deployment) instead of booting a local server |
|
|
19
|
+
| `eve acp [url]` | Serve the local application or an existing eve server URL as a stable ACP v1 agent over stdio |
|
|
20
|
+
| `eve logs [logid]` | Print an `eve dev` diagnostic log (the most recent when `logid` is omitted) |
|
|
21
|
+
| `eve logs ls` | List `eve dev` diagnostic logs, most recent first |
|
|
22
|
+
| `eve traces ls` | List locally captured agent traces, most recent first |
|
|
23
|
+
| `eve traces [trace]` | Show a local span tree (the most recent when omitted) |
|
|
24
|
+
| `eve telemetry <command>` | Show, enable, or disable CLI telemetry collection |
|
|
25
|
+
| `eve link` | Link the directory to a Vercel project and pull AI Gateway credentials |
|
|
26
|
+
| `eve deploy` | Deploy the agent to Vercel production (links first if needed) |
|
|
27
|
+
| `eve eval` | Run evals against the local app or a remote target |
|
|
28
|
+
| `eve channels list` | List user-authored channels |
|
|
29
|
+
| `eve extension init [target]` | Create a new extension package |
|
|
30
|
+
| `eve extension build` | Build the current package as an extension |
|
|
31
|
+
| `eve set` | Change the root agent's model and reasoning effort |
|
|
32
|
+
| `eve add <item>` | Install an item from the official or a configured shadcn registry |
|
|
32
33
|
| `eve integration setup <kind>` | Run a built-in setup flow directly after its registry files are installed |
|
|
33
|
-
| `eve registry <command>`
|
|
34
|
+
| `eve registry <command>` | Add sources and list, search, or view registry catalog items |
|
|
34
35
|
|
|
35
36
|
When `eve build` fails on discovery errors, it prints the full diagnostics report (severity, message, source path) and the diagnostics artifact path.
|
|
36
37
|
|
|
38
|
+
## CLI telemetry
|
|
39
|
+
|
|
40
|
+
eve collects CLI telemetry by default to improve the command-line interface. Run `eve telemetry disable` to disable it for this machine, or set `EVE_TELEMETRY_DISABLED=1` for one command. See [CLI telemetry](./telemetry) for the current data fields, exclusions, debug mode, notice, and local preference storage.
|
|
41
|
+
|
|
37
42
|
## `eve init`
|
|
38
43
|
|
|
39
44
|
```bash
|
|
40
|
-
eve init [target] [--
|
|
45
|
+
eve init [target] [--model <provider/model-id>] [--reasoning <effort>] [--channel-web-nextjs]
|
|
41
46
|
```
|
|
42
47
|
|
|
43
48
|
Creates a new agent app or adds an agent to an existing app. Always installs dependencies. New directories also initialize Git.
|
|
@@ -48,8 +53,6 @@ Creates a new agent app or adds an agent to an existing app. Always installs dep
|
|
|
48
53
|
| `eve init` or `eve init .` in an empty directory | Creates an agent project in the current directory |
|
|
49
54
|
| `eve init` or `eve init .` in a non-empty directory without `package.json` | Asks whether to scaffold in the current directory or a named subdirectory. Using the current directory preserves unrelated files but overwrites files at generated paths |
|
|
50
55
|
| `eve init .` in an existing project | Adds `agent/` plus missing `eve`, `ai`, and `zod` dependencies. Requires `package.json` and no existing `agent/` files |
|
|
51
|
-
| `eve init my-project --agents foreman,researcher` | Creates a workspace with `agents/foreman/agent/` and `agents/researcher/agent/` |
|
|
52
|
-
| `eve init billing` from an `agents/` workspace | Adds only `agents/billing/agent/`; the workspace keeps its existing package, dependencies, and TypeScript configuration |
|
|
53
56
|
|
|
54
57
|
Coding-agent launches and non-interactive terminals cannot answer the location prompt and fail before writing. Pass a new directory name, such as `eve init my-agent`, in those environments.
|
|
55
58
|
|
|
@@ -57,7 +60,6 @@ After scaffolding, a human terminal usually continues into `eve dev`. If a codin
|
|
|
57
60
|
|
|
58
61
|
| Flag | Type | Default | Description |
|
|
59
62
|
| ---------------------- | ------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
60
|
-
| `--agents <names>` | list | unset | Create an `agents/` workspace with one or more comma-separated agent names. |
|
|
61
63
|
| `--model <model>` | string | `openai/gpt-5.6-luna-fast` | Set the root agent's AI Gateway model ID. |
|
|
62
64
|
| `--reasoning <effort>` | enum | provider default | Set reasoning to `none`, `minimal`, `low`, `medium`, `high`, or `xhigh`. `provider-default` leaves the field unauthored. |
|
|
63
65
|
| `--channel-web-nextjs` | flag | off | Add the Web Chat app (Next.js). Not for existing projects — run `eve add channel/web` there instead. |
|
|
@@ -122,8 +124,6 @@ Commands for installing and discovering [shadcn registry](https://ui.shadcn.com/
|
|
|
122
124
|
eve add extension/agent-browser
|
|
123
125
|
eve add linear
|
|
124
126
|
eve add channel/slack --skip-install
|
|
125
|
-
eve add memory/file
|
|
126
|
-
eve integration setup file-memory
|
|
127
127
|
eve add https://example.com/r/my-extension.json --overwrite
|
|
128
128
|
eve registry add @acme=https://example.com/r/{name}.json
|
|
129
129
|
eve registry search browser
|
|
@@ -139,8 +139,6 @@ Coding agents should use `eve add <item> --non-interactive`, adding `--yes` to a
|
|
|
139
139
|
|
|
140
140
|
When setup is skipped, cancelled, or needs more input after installation, eve prints or returns the matching `eve add <item> --skip-install` continuation. It reruns the selected components' declared flows without reinstalling registry files.
|
|
141
141
|
|
|
142
|
-
`eve integration setup file-memory` runs the storage setup directly without reinstalling `agent/memory/file.ts`. It authenticates through the Vercel CLI, resolves the linked project, reconciles the private Blob store, and pulls the environment. Use it to repair or verify a previous provisioning attempt; `eve add memory/file` also offers the normal deployment handoff after setup.
|
|
143
|
-
|
|
144
142
|
`eve registry add` records configured sources in `package.json#registries`. `eve registry list` aggregates the official catalog and all configured sources by default. `eve registry search` also includes [skills.sh](https://skills.sh), available without configuration at `@skills`, and groups results by source with each source's available result count. Search returns up to 10 matches per source by default; pass `--limit <count>` to request between 1 and 100. Either command can browse one supplied URL or namespace. Official and other universal items with explicit file targets do not require shadcn project configuration.
|
|
145
143
|
|
|
146
144
|
## `eve info`
|
package/docs/reference/meta.json
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "CLI Telemetry"
|
|
3
|
+
description: "Learn what eve CLI telemetry collects and how to control it."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# CLI telemetry
|
|
7
|
+
|
|
8
|
+
eve collects usage data from its CLI to help improve its commands and development experience. You can turn telemetry off at any time.
|
|
9
|
+
|
|
10
|
+
## What eve collects
|
|
11
|
+
|
|
12
|
+
eve sends the following information to Vercel:
|
|
13
|
+
|
|
14
|
+
- The eve version, operating system, CPU architecture, and whether stdin is a terminal.
|
|
15
|
+
- The command you ran and whether it succeeded, had a usage error, or failed.
|
|
16
|
+
- For `eve dev`, whether you connected to a local or remote agent and whether the UI was interactive or headless.
|
|
17
|
+
- Random identifiers for the CLI session, your eve installation, and the project.
|
|
18
|
+
|
|
19
|
+
The project identifier lets eve group usage from the same project without sending its name or location. eve derives it from the Git remote when available, otherwise `REPOSITORY_URL` or the working directory, and transforms that value before sending it.
|
|
20
|
+
|
|
21
|
+
## What eve does not collect
|
|
22
|
+
|
|
23
|
+
eve does not collect command arguments, prompts, agent files, URLs, request headers, error messages, environment variables, file paths, or file contents.
|
|
24
|
+
|
|
25
|
+
## View telemetry data
|
|
26
|
+
|
|
27
|
+
Set `EVE_TELEMETRY_DEBUG=1` to print the telemetry batch to stderr instead of sending it:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
EVE_TELEMETRY_DEBUG=1 eve info
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Turn telemetry off
|
|
34
|
+
|
|
35
|
+
Disable telemetry for this machine:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
eve telemetry disable
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Check its status or turn it back on:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
eve telemetry status
|
|
45
|
+
eve telemetry enable
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
To disable telemetry for one command without changing the saved setting, set `EVE_TELEMETRY_DISABLED=1`:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
EVE_TELEMETRY_DISABLED=1 eve dev
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
On an interactive terminal, eve displays this information once before it collects telemetry. eve saves your preference in your platform user configuration directory. In CI and Docker environments, eve uses fresh in-memory identifiers for each invocation instead of saving them.
|
|
55
|
+
|
|
56
|
+
Vercel handles CLI telemetry under the [Vercel Privacy Notice](https://vercel.com/legal/privacy-notice).
|
|
@@ -34,6 +34,7 @@ export default defineTool({
|
|
|
34
34
|
| ----------------------------------------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------ |
|
|
35
35
|
| `defineAgent` | `eve` | `agent/agent.ts` | [agent.ts](../agent-config) |
|
|
36
36
|
| `defineTool` | `eve/tools` | `agent/tools/<name>.ts` | [Tools](../tools) |
|
|
37
|
+
| `defineWorkflowTool` | `eve/tools` | `agent/tools/<name>.ts` | [Workflow tools](../tools/workflows) |
|
|
37
38
|
| `defineDynamic` | `eve`, `eve/tools`, `eve/skills`, `eve/instructions`, `eve/connections` | dynamic model or subagent `agent.ts`; `agent/{tools,skills,instructions,connections}/` | [Dynamic capabilities](../guides/dynamic-capabilities) |
|
|
38
39
|
| `defineMcpClientConnection` | `eve/connections` | `agent/connections/<name>.ts` | [MCP connections](../connections/mcp) |
|
|
39
40
|
| `defineOpenAPIConnection` | `eve/connections` | `agent/connections/<name>.ts` | [OpenAPI connections](../connections/openapi) |
|
|
@@ -53,7 +54,7 @@ export default defineTool({
|
|
|
53
54
|
| `mockModel` | `eve/evals` | Deterministic fixture agent models | [Evals](../evals/overview) |
|
|
54
55
|
| `useEveAgent` | `eve/react`, `eve/vue`, `eve/svelte` | frontend | [Frontend](../guides/frontend/overview) |
|
|
55
56
|
|
|
56
|
-
Tool-wide authoring helpers such as `defineTool`, `defineDynamic`, and `disableTool` come from `eve/tools`. Capability-specific definitions and helpers use their own subpaths (see [Built-in tools](../concepts/built-in-tools)): reusable definitions such as `bash` and `glob` come from `eve/tools/<name>`, `webSearch` comes from `eve/tools/web_search`, `experimental_workflow` comes from `eve/tools/workflow`, `sleep` comes from `eve/tools/sleep`, and approval policies and types come from `eve/tools/approval`. The route verbs `GET`/`HEAD`/`POST`/`PUT`/`PATCH`/`DELETE`/`OPTIONS`/`WS` plus `disableRoute` come from `eve/channels`, and the channel auth helpers `localDev`/`vercelOidc`/`placeholderAuth` come from `eve/channels/auth`.
|
|
57
|
+
Tool-wide authoring helpers such as `defineTool`, `defineWorkflowTool`, `defineDynamic`, and `disableTool` come from `eve/tools`. Capability-specific definitions and helpers use their own subpaths (see [Built-in tools](../concepts/built-in-tools)): reusable definitions such as `bash` and `glob` come from `eve/tools/<name>`, `webSearch` comes from `eve/tools/web_search`, `experimental_workflow` comes from `eve/tools/workflow`, `sleep` comes from `eve/tools/sleep`, and approval policies and types come from `eve/tools/approval`. The route verbs `GET`/`HEAD`/`POST`/`PUT`/`PATCH`/`DELETE`/`OPTIONS`/`WS` plus `disableRoute` come from `eve/channels`, and the channel auth helpers `localDev`/`vercelOidc`/`placeholderAuth` come from `eve/channels/auth`.
|
|
57
58
|
|
|
58
59
|
`AgentReasoningDefinition` is exported from `eve` for the top-level `defineAgent({ reasoning })` setting. `AgentLimitsDefinition` is exported for `defineAgent({ limits })`. `AgentWorkflowDefinition` and `AgentWorkflowWorldDefinition` are exported from `eve` for the `defineAgent({ experimental: { workflow } })` config shape. `ExperimentalWorkflowToolInput` is exported from `eve/tools/workflow`; `WebSearchToolInput` and `WebSearchProvider` are exported from `eve/tools/web_search`.
|
|
59
60
|
|
|
@@ -107,40 +108,40 @@ import template from "../../prompts/template.txt?raw";
|
|
|
107
108
|
|
|
108
109
|
## Imports at a glance
|
|
109
110
|
|
|
110
|
-
| Import | Holds
|
|
111
|
-
| --------------------------------------------------------------------------- |
|
|
112
|
-
| `eve` | `defineAgent`, `defineRemoteAgent`, `defineDynamic`, agent config types
|
|
113
|
-
| `eve/tools` | `defineTool`, `defineDynamic`, `disableTool`, generic tool types
|
|
114
|
-
| `eve/tools/{bash,read_file,write_file,todo,web_fetch,load_skill,glob,grep}` | Individual reusable tool definitions
|
|
115
|
-
| `eve/tools/approval` | Approval types and `always`, `once`, `never`
|
|
116
|
-
| `eve/tools/web_search` | Provider-managed `webSearch` configuration
|
|
117
|
-
| `eve/tools/workflow` | Experimental `Workflow` tool definition
|
|
118
|
-
| `eve/tools/sleep` | Opt-in durable `sleep` tool
|
|
119
|
-
| `eve/connections` | `defineMcpClientConnection`, `defineOpenAPIConnection`, `defineDynamic`
|
|
120
|
-
| `eve/channels` | `defineChannel`, `disableRoute`, route verbs
|
|
121
|
-
| `eve/channels/eve` | `eveChannel`
|
|
122
|
-
| `eve/channels/auth` | `localDev`, `vercelOidc`, `placeholderAuth`
|
|
123
|
-
| `eve/channels/{slack,discord,teams,telegram,twilio,github}` | platform channel factories
|
|
124
|
-
| `eve/hooks` | `defineHook`
|
|
125
|
-
| `eve/schedules` | `defineSchedule`
|
|
126
|
-
| `eve/skills` | `defineSkill`, `defineDynamic`
|
|
127
|
-
| `eve/instructions` | `defineInstructions`, `defineDynamic`
|
|
128
|
-
| `eve/memory` | `defineMemory`, `defineMemoryProvider`, provider and lifecycle types
|
|
129
|
-
| `eve/memory/scope` | `byPrincipal` and memory scope helpers
|
|
130
|
-
| `eve/memory/file` | `fileMemory`, `inMemory`, and the conditional document backend contract
|
|
131
|
-
| `eve/memory/file/vercel` | `vercelBlob` and Vercel Blob backend options
|
|
132
|
-
| `eve/context` | `defineState`, session and state types
|
|
133
|
-
| `eve/sandbox` | `defineSandbox`, backends
|
|
134
|
-
| `eve/instrumentation` | `defineInstrumentation`, `isChannel`
|
|
135
|
-
| `eve/local-dev` | `getLocalDevCapability`, `LocalDevCapability`
|
|
136
|
-
| `eve/models/openai` | `chatgpt`, deprecated `experimental_chatgpt`
|
|
137
|
-
| `eve/evals` | `defineEval`, `defineEvalConfig`, `mockModel`, eval types
|
|
138
|
-
| `eve/evals/expect` | `includes`, `equals`, `matches`, `similarity`
|
|
139
|
-
| `eve/evals/reporters` | `Braintrust`, `JUnit`, `EvalReporter`
|
|
140
|
-
| `eve/evals/loaders` | `loadJson`, `loadYaml`
|
|
141
|
-
| `eve/react`, `eve/vue`, `eve/svelte` | `useEveAgent`
|
|
142
|
-
| `eve/next`, `eve/nuxt`, `eve/sveltekit` | framework bundler plugins
|
|
143
|
-
| [`eve/client`](../guides/client/overview) | `Client`, `ClientSession`, health and agent-info schemas, response errors
|
|
111
|
+
| Import | Holds |
|
|
112
|
+
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
113
|
+
| `eve` | `defineAgent`, `defineRemoteAgent`, `defineDynamic`, agent config types |
|
|
114
|
+
| `eve/tools` | `defineTool`, `defineWorkflowTool`, `defineDynamic`, `disableTool`, generic tool types |
|
|
115
|
+
| `eve/tools/{bash,read_file,write_file,todo,web_fetch,load_skill,glob,grep}` | Individual reusable tool definitions |
|
|
116
|
+
| `eve/tools/approval` | Approval types and `always`, `once`, `never` |
|
|
117
|
+
| `eve/tools/web_search` | Provider-managed `webSearch` configuration |
|
|
118
|
+
| `eve/tools/workflow` | Experimental `Workflow` tool definition |
|
|
119
|
+
| `eve/tools/sleep` | Opt-in durable `sleep` tool |
|
|
120
|
+
| `eve/connections` | `defineMcpClientConnection`, `defineOpenAPIConnection`, `defineDynamic` |
|
|
121
|
+
| `eve/channels` | `defineChannel`, `disableRoute`, route verbs |
|
|
122
|
+
| `eve/channels/eve` | `eveChannel` |
|
|
123
|
+
| `eve/channels/auth` | `localDev`, `vercelOidc`, `placeholderAuth` |
|
|
124
|
+
| `eve/channels/{slack,discord,teams,telegram,twilio,github}` | platform channel factories |
|
|
125
|
+
| `eve/hooks` | `defineHook` |
|
|
126
|
+
| `eve/schedules` | `defineSchedule` |
|
|
127
|
+
| `eve/skills` | `defineSkill`, `defineDynamic` |
|
|
128
|
+
| `eve/instructions` | `defineInstructions`, `defineDynamic` |
|
|
129
|
+
| `eve/memory` | `defineMemory`, `defineMemoryProvider`, provider and lifecycle types |
|
|
130
|
+
| `eve/memory/scope` | `byPrincipal` and memory scope helpers |
|
|
131
|
+
| `eve/memory/file` | `fileMemory`, `inMemory`, and the conditional document backend contract |
|
|
132
|
+
| `eve/memory/file/vercel` | `vercelBlob` and Vercel Blob backend options |
|
|
133
|
+
| `eve/context` | `defineState`, session and state types |
|
|
134
|
+
| `eve/sandbox` | `defineSandbox`, backends |
|
|
135
|
+
| `eve/instrumentation` | `defineInstrumentation`, `isChannel` |
|
|
136
|
+
| `eve/local-dev` | `getLocalDevCapability`, `LocalDevCapability` |
|
|
137
|
+
| `eve/models/openai` | `chatgpt`, deprecated `experimental_chatgpt` |
|
|
138
|
+
| `eve/evals` | `defineEval`, `defineEvalConfig`, `mockModel`, eval types |
|
|
139
|
+
| `eve/evals/expect` | `includes`, `equals`, `matches`, `similarity` |
|
|
140
|
+
| `eve/evals/reporters` | `Braintrust`, `JUnit`, `EvalReporter` |
|
|
141
|
+
| `eve/evals/loaders` | `loadJson`, `loadYaml` |
|
|
142
|
+
| `eve/react`, `eve/vue`, `eve/svelte` | `useEveAgent` |
|
|
143
|
+
| `eve/next`, `eve/nuxt`, `eve/sveltekit` | framework bundler plugins |
|
|
144
|
+
| [`eve/client`](../guides/client/overview) | `Client`, `ClientSession`, health and agent-info schemas, response errors |
|
|
144
145
|
|
|
145
146
|
Exported types ship from the same entrypoint as the helper they describe (for example `ToolDefinition` and `ToolContext` from `eve/tools`). The `exports` field in `packages/eve/package.json` lists every public entrypoint.
|
|
146
147
|
|
|
@@ -182,6 +183,8 @@ export default defineAgent({
|
|
|
182
183
|
|
|
183
184
|
Pass another bare OpenAI model slug to override the default. `experimental_chatgpt()` remains as a deprecated alias.
|
|
184
185
|
|
|
186
|
+
`chatgpt()` uses stateless requests (`store: false`). eve retains reasoning summaries and encrypted reasoning in session history and replays them after tool calls and on later turns. You do not need to configure `reasoning.encrypted_content` explicitly.
|
|
187
|
+
|
|
185
188
|
Authentication is delegated entirely to the Codex CLI:
|
|
186
189
|
|
|
187
190
|
1. Install or upgrade `codex` and run `codex login`.
|
package/docs/sandbox.mdx
CHANGED
|
@@ -156,7 +156,7 @@ With `backend` omitted, eve uses `defaultBackend()`, which resolves on first use
|
|
|
156
156
|
3. **microsandbox** when the host supports it: macOS on Apple Silicon, or glibc Linux with KVM enabled.
|
|
157
157
|
4. **just-bash** as the dependency-free fallback.
|
|
158
158
|
|
|
159
|
-
By default, Docker and microsandbox pull `ghcr.io/vercel/eve` while Vercel Sandbox pulls `vcr.vercel.com/vercel/eve/base`. Each image tag matches the installed eve version. Set `EVE_SANDBOX_IMAGE_TAG` to replace the version-derived tag for these default images. An explicit `image` passed to `docker()` or `
|
|
159
|
+
By default, Docker and microsandbox pull `ghcr.io/vercel/eve` while Vercel Sandbox pulls `vcr.vercel.com/vercel/eve/base`. Each image tag matches the installed eve version. Set `EVE_SANDBOX_IMAGE_TAG` to replace the version-derived tag for these default images. An explicit `image` passed to `docker()`, `microsandbox()`, or `vercel()` takes precedence. A snapshot `source` on `vercel()` takes precedence over its `image` because Vercel Sandbox treats them as mutually exclusive.
|
|
160
160
|
|
|
161
161
|
On every backend, authored commands run as the non-root `vercel-sandbox` user through a non-interactive `bash -lc` login shell. `/workspace` and `$HOME` are writable, `$HOME/.local/bin` is on `PATH` for user-scoped executables, and system paths such as `/usr/local` stay root-owned. Use passwordless `sudo` when setup genuinely needs system-wide changes; `sudo` resets the environment, so pass through variables like `NPM_CONFIG_PREFIX` explicitly if a privileged step depends on them.
|
|
162
162
|
|
package/docs/tools/overview.mdx
CHANGED
|
@@ -34,8 +34,8 @@ When a tool returns structured data, add an optional `outputSchema`. With Zod or
|
|
|
34
34
|
|
|
35
35
|
### Stream preliminary tool results
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
before it finishes. Each `yield` replaces the previous snapshot; the final
|
|
37
|
+
For a `defineTool` executor with the default execution mode, an async generator streams complete
|
|
38
|
+
output snapshots before it finishes. Each `yield` replaces the previous snapshot; the final
|
|
39
39
|
yield is the normal tool result the model receives:
|
|
40
40
|
|
|
41
41
|
```ts title="agent/tools/build_report.ts"
|
|
@@ -54,22 +54,43 @@ eve publishes every earlier yield as an `action.partial` stream event. The
|
|
|
54
54
|
snapshot is visible to channels, hooks, and clients but never enters model
|
|
55
55
|
history or `toModelOutput`; only the final yield does. Treat snapshots as
|
|
56
56
|
last-write-wins by tool call id, not append-only progress. The durable runtime
|
|
57
|
-
can retry a step and replay overlapping snapshots.
|
|
57
|
+
can retry a step and replay overlapping snapshots. A generator `return` value is not used as
|
|
58
|
+
the result in this mode; yield the final output. Workflow and background generators have
|
|
59
|
+
different result rules, described under [yield and return](#yield-and-return).
|
|
58
60
|
|
|
59
61
|
### Background execution
|
|
60
62
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
`
|
|
71
|
-
|
|
72
|
-
|
|
63
|
+
Background execution controls how a tool delivers its result to the parent agent. Durable
|
|
64
|
+
suspension controls whether the executor can pause at a workflow wait and release compute.
|
|
65
|
+
These are independent choices: `execution: "background"` selects the task lifecycle;
|
|
66
|
+
`defineWorkflowTool` with a leading `"use workflow"` directive enables durable suspension.
|
|
67
|
+
|
|
68
|
+
| Definition | Durable waits inside `execute` | Result delivered to the model |
|
|
69
|
+
| ------------------------------------------------ | --------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
70
|
+
| `defineTool` | No; the executor runs inside the initiating step. | Executor output after it finishes. |
|
|
71
|
+
| `defineTool` + `execution: "background"` | No; the initiating step still waits for the executor to finish. | Task receipt, followed by task notifications. |
|
|
72
|
+
| `defineWorkflowTool` | Yes; the tool call waits while the workflow can suspend. | Workflow output after it finishes. |
|
|
73
|
+
| `defineWorkflowTool` + `execution: "background"` | Yes; the workflow body can outlive the initiating step. | Task receipt before the body finishes, followed by task notifications. |
|
|
74
|
+
|
|
75
|
+
A background tool receives a third `task` argument. Its tool result is the receipt
|
|
76
|
+
`{ status: "working", taskId }`; its eventual output belongs to the task. Use a background
|
|
77
|
+
workflow tool when the conversation should continue while the body waits for a person,
|
|
78
|
+
webhook, or timer. Setting `execution: "background"` on an ordinary tool does not move its
|
|
79
|
+
executor into a separate workflow or make an ordinary Promise a durable wait.
|
|
80
|
+
|
|
81
|
+
For background tools, `outputSchema` and `toModelOutput` describe the fixed receipt. The body's
|
|
82
|
+
return value is available through the completed task's output.
|
|
83
|
+
|
|
84
|
+
`task.delegated()` has been removed. Move external work into a `defineWorkflowTool` executor and
|
|
85
|
+
return its result when it finishes. Rebuild extensions using the removed API after migrating.
|
|
86
|
+
|
|
87
|
+
`yield task.postMessage(message)` is the only yield that requests a parent-agent turn. Calling
|
|
88
|
+
`task.postMessage` only constructs the message descriptor; you must yield it to send it.
|
|
89
|
+
In a workflow body, keep values needed after a wait in local variables; workflow replay
|
|
90
|
+
reconstructs them across durable waits.
|
|
91
|
+
Use [`ctx.ask`](/docs/tools/workflows#ask-a-human-ctxask) when the body needs an answer from the human.
|
|
92
|
+
Background tools are a normal execution mode and need no root-agent flag. Built-in, declared local,
|
|
93
|
+
and remote subagents use this task lifecycle automatically.
|
|
73
94
|
|
|
74
95
|
After the initiating turn accepts background tasks, eve supplies runtime-authored state for that
|
|
75
96
|
cohort and instructs the model to acknowledge that the work started without waiting for results.
|
|
@@ -79,11 +100,31 @@ Later task-triggered parent turns receive fresh state for the same cohort. The m
|
|
|
79
100
|
to keep related intermediate results silent while any task remains pending. Once every related
|
|
80
101
|
task is terminal, the state includes their outputs so the model can combine the useful results.
|
|
81
102
|
|
|
103
|
+
### Yield and return
|
|
104
|
+
|
|
105
|
+
`yield` hands a value to eve's generator consumer, which processes it and advances the generator.
|
|
106
|
+
It does not by itself create a durable wait for a person, timer, or external event. The value's
|
|
107
|
+
meaning depends on the tool's execution mode:
|
|
108
|
+
|
|
109
|
+
| Executor | Ordinary `yield value` | Final output |
|
|
110
|
+
| ------------------------------------------------ | --------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
111
|
+
| `defineTool`, default execution | Earlier values are `action.partial` snapshots; the final yield becomes the tool result. | Last yielded value; a generator `return` value is ignored. |
|
|
112
|
+
| `defineWorkflowTool`, default execution | Every yield is an `action.partial` snapshot. | Explicit return value; falls back to the last yield if the return is `null` or `undefined`, then to `null`. |
|
|
113
|
+
| Either definition with `execution: "background"` | Stream-only task progress; does not request a parent-agent turn. | Explicit return value becomes the task output; no return completes with `null`. The last yield is not a fallback. |
|
|
114
|
+
|
|
115
|
+
For either kind of background tool, `yield task.postMessage(message)` sends a message to the
|
|
116
|
+
parent agent while the task remains open. Return completes the task; throw fails it. These
|
|
117
|
+
notifications are separate from the original tool call's receipt.
|
|
118
|
+
|
|
119
|
+
Progress snapshots do not enter model history as intermediate tool results. For a default
|
|
120
|
+
executor, the final output selected by the rules above becomes the tool result. For a background
|
|
121
|
+
executor, task messages and completion notifications provide input to later parent-agent turns.
|
|
122
|
+
|
|
82
123
|
### Workflows as tools
|
|
83
124
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
its result to the model. See [Workflows as tools](/docs/tools/workflows) for the authoring rules and
|
|
125
|
+
Use `defineWorkflowTool` from `eve/tools` to run each call as a durable Workflow run. Its
|
|
126
|
+
executor must start with `"use workflow"` and receives `ctx.agent` and `ctx.ask`. The tool can
|
|
127
|
+
wait for a person, webhook, or timer without holding compute, then return its result to the model. See [Workflows as tools](/docs/tools/workflows) for the authoring rules and
|
|
87
128
|
examples.
|
|
88
129
|
|
|
89
130
|
### The `ctx` parameter
|