veryfront 0.1.501 → 0.1.503
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/esm/cli/commands/analyze-chunks/handler.d.ts +4 -4
- package/esm/cli/commands/analyze-chunks/handler.d.ts.map +1 -1
- package/esm/cli/commands/analyze-chunks/handler.js +6 -5
- package/esm/cli/commands/build/handler.d.ts +39 -27
- package/esm/cli/commands/build/handler.d.ts.map +1 -1
- package/esm/cli/commands/build/handler.js +15 -14
- package/esm/cli/commands/clean/command.js +1 -1
- package/esm/cli/commands/clean/handler.d.ts.map +1 -1
- package/esm/cli/commands/clean/handler.js +9 -8
- package/esm/cli/commands/demo/handler.d.ts +5 -5
- package/esm/cli/commands/demo/handler.d.ts.map +1 -1
- package/esm/cli/commands/demo/handler.js +7 -6
- package/esm/cli/commands/deploy/command.d.ts +30 -19
- package/esm/cli/commands/deploy/command.d.ts.map +1 -1
- package/esm/cli/commands/deploy/command.js +11 -10
- package/esm/cli/commands/dev/handler.d.ts +6 -6
- package/esm/cli/commands/dev/handler.d.ts.map +1 -1
- package/esm/cli/commands/dev/handler.js +8 -7
- package/esm/cli/commands/doctor/handler.d.ts +3 -3
- package/esm/cli/commands/doctor/handler.d.ts.map +1 -1
- package/esm/cli/commands/doctor/handler.js +5 -4
- package/esm/cli/commands/files/command.d.ts +38 -36
- package/esm/cli/commands/files/command.d.ts.map +1 -1
- package/esm/cli/commands/files/command.js +35 -31
- package/esm/cli/commands/generate/handler.d.ts +4 -4
- package/esm/cli/commands/generate/handler.d.ts.map +1 -1
- package/esm/cli/commands/generate/handler.js +6 -5
- package/esm/cli/commands/generate/integration-generator-helpers.js +4 -4
- package/esm/cli/commands/generate/integration-generator.js +8 -4
- package/esm/cli/commands/install/handler.d.ts +5 -5
- package/esm/cli/commands/install/handler.d.ts.map +1 -1
- package/esm/cli/commands/install/handler.js +7 -6
- package/esm/cli/commands/install/install.d.ts.map +1 -1
- package/esm/cli/commands/install/install.js +7 -4
- package/esm/cli/commands/install/types.d.ts +52 -43
- package/esm/cli/commands/install/types.d.ts.map +1 -1
- package/esm/cli/commands/install/types.js +26 -21
- package/esm/cli/commands/install/uninstall.d.ts.map +1 -1
- package/esm/cli/commands/install/uninstall.js +4 -2
- package/esm/cli/commands/knowledge/command.d.ts +19 -17
- package/esm/cli/commands/knowledge/command.d.ts.map +1 -1
- package/esm/cli/commands/knowledge/command.js +21 -20
- package/esm/cli/commands/lock/handler.d.ts.map +1 -1
- package/esm/cli/commands/lock/handler.js +10 -9
- package/esm/cli/commands/mcp/handler.d.ts +3 -3
- package/esm/cli/commands/mcp/handler.d.ts.map +1 -1
- package/esm/cli/commands/mcp/handler.js +5 -4
- package/esm/cli/commands/merge/command.d.ts +21 -15
- package/esm/cli/commands/merge/command.d.ts.map +1 -1
- package/esm/cli/commands/merge/command.js +9 -8
- package/esm/cli/commands/open/command.d.ts +17 -12
- package/esm/cli/commands/open/command.d.ts.map +1 -1
- package/esm/cli/commands/open/command.js +7 -6
- package/esm/cli/commands/pull/command.d.ts +36 -25
- package/esm/cli/commands/pull/command.d.ts.map +1 -1
- package/esm/cli/commands/pull/command.js +14 -13
- package/esm/cli/commands/push/command.d.ts +27 -19
- package/esm/cli/commands/push/command.d.ts.map +1 -1
- package/esm/cli/commands/push/command.js +11 -10
- package/esm/cli/commands/routes/handler.d.ts +4 -4
- package/esm/cli/commands/routes/handler.d.ts.map +1 -1
- package/esm/cli/commands/routes/handler.js +6 -5
- package/esm/cli/commands/schema/handler.d.ts.map +1 -1
- package/esm/cli/commands/schema/handler.js +5 -4
- package/esm/cli/commands/serve/handler.d.ts +9 -9
- package/esm/cli/commands/serve/handler.d.ts.map +1 -1
- package/esm/cli/commands/serve/handler.js +10 -9
- package/esm/cli/commands/start/handler.d.ts +6 -6
- package/esm/cli/commands/start/handler.d.ts.map +1 -1
- package/esm/cli/commands/start/handler.js +8 -7
- package/esm/cli/commands/studio/handler.d.ts +5 -5
- package/esm/cli/commands/studio/handler.d.ts.map +1 -1
- package/esm/cli/commands/studio/handler.js +7 -6
- package/esm/cli/commands/styles/command.d.ts.map +1 -1
- package/esm/cli/commands/styles/command.js +9 -8
- package/esm/cli/commands/styles/handler.d.ts +12 -12
- package/esm/cli/commands/styles/handler.d.ts.map +1 -1
- package/esm/cli/commands/styles/handler.js +7 -6
- package/esm/cli/commands/task/handler.d.ts +12 -12
- package/esm/cli/commands/task/handler.d.ts.map +1 -1
- package/esm/cli/commands/task/handler.js +7 -6
- package/esm/cli/commands/test/handler.d.ts.map +1 -1
- package/esm/cli/commands/test/handler.js +6 -5
- package/esm/cli/commands/up/command.d.ts +14 -10
- package/esm/cli/commands/up/command.d.ts.map +1 -1
- package/esm/cli/commands/up/command.js +6 -5
- package/esm/cli/commands/uploads/command.d.ts +43 -41
- package/esm/cli/commands/uploads/command.d.ts.map +1 -1
- package/esm/cli/commands/uploads/command.js +40 -36
- package/esm/cli/commands/worker/handler.d.ts +20 -23
- package/esm/cli/commands/worker/handler.d.ts.map +1 -1
- package/esm/cli/commands/worker/handler.js +11 -10
- package/esm/cli/commands/workflow/handler.d.ts +14 -16
- package/esm/cli/commands/workflow/handler.d.ts.map +1 -1
- package/esm/cli/commands/workflow/handler.js +8 -7
- package/esm/cli/mcp/jsonrpc.d.ts +34 -18
- package/esm/cli/mcp/jsonrpc.d.ts.map +1 -1
- package/esm/cli/mcp/jsonrpc.js +21 -17
- package/esm/cli/mcp/remote-file-tools.d.ts +79 -83
- package/esm/cli/mcp/remote-file-tools.d.ts.map +1 -1
- package/esm/cli/mcp/remote-file-tools.js +79 -67
- package/esm/cli/mcp/server.d.ts +0 -1
- package/esm/cli/mcp/server.d.ts.map +1 -1
- package/esm/cli/mcp/server.js +2 -60
- package/esm/cli/mcp/tools/bootstrap-tool.d.ts +5 -5
- package/esm/cli/mcp/tools/bootstrap-tool.d.ts.map +1 -1
- package/esm/cli/mcp/tools/bootstrap-tool.js +5 -4
- package/esm/cli/mcp/tools/build-tool.d.ts +9 -9
- package/esm/cli/mcp/tools/build-tool.d.ts.map +1 -1
- package/esm/cli/mcp/tools/build-tool.js +9 -8
- package/esm/cli/mcp/tools/catalog-tools.d.ts +18 -33
- package/esm/cli/mcp/tools/catalog-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/catalog-tools.js +19 -14
- package/esm/cli/mcp/tools/context7-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/context7-tools.js +9 -9
- package/esm/cli/mcp/tools/deploy-tool.d.ts +7 -7
- package/esm/cli/mcp/tools/deploy-tool.d.ts.map +1 -1
- package/esm/cli/mcp/tools/deploy-tool.js +7 -6
- package/esm/cli/mcp/tools/dev-tools.d.ts +31 -35
- package/esm/cli/mcp/tools/dev-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/dev-tools.js +31 -25
- package/esm/cli/mcp/tools/introspection-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/introspection-tools.js +6 -6
- package/esm/cli/mcp/tools/project-tools.d.ts +20 -25
- package/esm/cli/mcp/tools/project-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/project-tools.js +20 -16
- package/esm/cli/mcp/tools/run-lint-tool.d.ts +5 -5
- package/esm/cli/mcp/tools/run-lint-tool.d.ts.map +1 -1
- package/esm/cli/mcp/tools/run-lint-tool.js +5 -4
- package/esm/cli/mcp/tools/run-tests-tool.d.ts +7 -7
- package/esm/cli/mcp/tools/run-tests-tool.d.ts.map +1 -1
- package/esm/cli/mcp/tools/run-tests-tool.js +7 -6
- package/esm/cli/mcp/tools/scaffold-tools.d.ts +12 -33
- package/esm/cli/mcp/tools/scaffold-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/scaffold-tools.js +23 -21
- package/esm/cli/mcp/tools/skill-tools.d.ts +10 -10
- package/esm/cli/mcp/tools/skill-tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools/skill-tools.js +8 -8
- package/esm/cli/mcp/tools.d.ts +27 -48
- package/esm/cli/mcp/tools.d.ts.map +1 -1
- package/esm/cli/mcp/tools.js +26 -21
- package/esm/cli/shared/args.d.ts +11 -8
- package/esm/cli/shared/args.d.ts.map +1 -1
- package/esm/cli/shared/args.js +9 -6
- package/esm/cli/shared/config.d.ts +38 -20
- package/esm/cli/shared/config.d.ts.map +1 -1
- package/esm/cli/shared/config.js +20 -17
- package/esm/cli/shared/types.d.ts +4 -7
- package/esm/cli/shared/types.d.ts.map +1 -1
- package/esm/cli/shared/types.js +3 -2
- package/esm/cli/skills/types.d.ts +30 -16
- package/esm/cli/skills/types.d.ts.map +1 -1
- package/esm/cli/skills/types.js +17 -15
- package/esm/cli/templates/manifest.js +211 -211
- package/esm/deno.d.ts +5 -0
- package/esm/deno.js +10 -4
- package/esm/extensions/ext-zod/src/adapter.d.ts +22 -0
- package/esm/extensions/ext-zod/src/adapter.d.ts.map +1 -0
- package/esm/extensions/ext-zod/src/adapter.js +159 -0
- package/esm/extensions/ext-zod/src/index.d.ts +19 -0
- package/esm/extensions/ext-zod/src/index.d.ts.map +1 -0
- package/esm/extensions/ext-zod/src/index.js +32 -0
- package/esm/extensions/ext-zod/src/json-schema.d.ts +15 -0
- package/esm/extensions/ext-zod/src/json-schema.d.ts.map +1 -0
- package/esm/extensions/ext-zod/src/json-schema.js +247 -0
- package/esm/src/agent/ag-ui-detached-start.d.ts +97 -50
- package/esm/src/agent/ag-ui-detached-start.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-detached-start.js +26 -17
- package/esm/src/agent/ag-ui-forwarded-context.d.ts +3 -3
- package/esm/src/agent/ag-ui-forwarded-context.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-forwarded-context.js +3 -2
- package/esm/src/agent/ag-ui-handler.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-handler.js +5 -3
- package/esm/src/agent/ag-ui-host-support.d.ts +119 -65
- package/esm/src/agent/ag-ui-host-support.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-host-support.js +48 -42
- package/esm/src/agent/ag-ui-request-shared.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-request-shared.js +11 -2
- package/esm/src/agent/ag-ui-run-control.d.ts +15 -8
- package/esm/src/agent/ag-ui-run-control.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-run-control.js +18 -13
- package/esm/src/agent/ag-ui-runtime-handler.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-runtime-handler.js +5 -3
- package/esm/src/agent/ag-ui-sse-parser.d.ts +57 -0
- package/esm/src/agent/ag-ui-sse-parser.d.ts.map +1 -0
- package/esm/src/agent/ag-ui-sse-parser.js +227 -0
- package/esm/src/agent/ag-ui-tool-shared.d.ts.map +1 -1
- package/esm/src/agent/ag-ui-tool-shared.js +3 -2
- package/esm/src/agent/chat-handler.d.ts.map +1 -1
- package/esm/src/agent/chat-handler.js +58 -57
- package/esm/src/agent/composition/composition.js +2 -2
- package/esm/src/agent/conversation-bootstrap.d.ts +13 -16
- package/esm/src/agent/conversation-bootstrap.d.ts.map +1 -1
- package/esm/src/agent/conversation-bootstrap.js +19 -12
- package/esm/src/agent/conversation-hosted-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/conversation-run-context.d.ts +1 -10
- package/esm/src/agent/conversation-run-context.d.ts.map +1 -1
- package/esm/src/agent/conversation-run-events.d.ts +9 -5
- package/esm/src/agent/conversation-run-events.d.ts.map +1 -1
- package/esm/src/agent/conversation-run-events.js +6 -4
- package/esm/src/agent/default-hosted-invoke-agent-tool.d.ts +37 -16
- package/esm/src/agent/default-hosted-invoke-agent-tool.d.ts.map +1 -1
- package/esm/src/agent/default-hosted-invoke-agent-tool.js +10 -5
- package/esm/src/agent/durable.d.ts +70 -129
- package/esm/src/agent/durable.d.ts.map +1 -1
- package/esm/src/agent/durable.js +107 -109
- package/esm/src/agent/hosted-ag-ui-chat-request.d.ts +29 -11
- package/esm/src/agent/hosted-ag-ui-chat-request.d.ts.map +1 -1
- package/esm/src/agent/hosted-ag-ui-chat-request.js +16 -15
- package/esm/src/agent/hosted-agent-service-config.d.ts +6 -6
- package/esm/src/agent/hosted-agent-service-routes.d.ts.map +1 -1
- package/esm/src/agent/hosted-agent-service-routes.js +4 -3
- package/esm/src/agent/hosted-chat-request-parser.d.ts.map +1 -1
- package/esm/src/agent/hosted-chat-request-parser.js +7 -4
- package/esm/src/agent/hosted-chat-request.d.ts +291 -20
- package/esm/src/agent/hosted-chat-request.d.ts.map +1 -1
- package/esm/src/agent/hosted-chat-request.js +33 -31
- package/esm/src/agent/hosted-child-fork-step-message-preparation.d.ts.map +1 -1
- package/esm/src/agent/hosted-child-status.d.ts.map +1 -1
- package/esm/src/agent/hosted-child-status.js +2 -0
- package/esm/src/agent/hosted-child-tool-input.d.ts +21 -11
- package/esm/src/agent/hosted-child-tool-input.d.ts.map +1 -1
- package/esm/src/agent/hosted-child-tool-input.js +12 -10
- package/esm/src/agent/hosted-form-input-tool.d.ts +78 -86
- package/esm/src/agent/hosted-form-input-tool.d.ts.map +1 -1
- package/esm/src/agent/hosted-form-input-tool.js +10 -3
- package/esm/src/agent/human-input.d.ts +337 -277
- package/esm/src/agent/human-input.d.ts.map +1 -1
- package/esm/src/agent/human-input.js +88 -72
- package/esm/src/agent/index.d.ts +8 -7
- package/esm/src/agent/index.d.ts.map +1 -1
- package/esm/src/agent/index.js +8 -7
- package/esm/src/agent/input-request-protocol.d.ts +461 -1611
- package/esm/src/agent/input-request-protocol.d.ts.map +1 -1
- package/esm/src/agent/input-request-protocol.js +120 -107
- package/esm/src/agent/invoke-agent-child-runs.d.ts +109 -107
- package/esm/src/agent/invoke-agent-child-runs.d.ts.map +1 -1
- package/esm/src/agent/invoke-agent-child-runs.js +36 -29
- package/esm/src/agent/runtime-ag-ui-contract.d.ts +206 -206
- package/esm/src/agent/runtime-ag-ui-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime-ag-ui-contract.js +96 -91
- package/esm/src/agent/runtime-agent-definition.d.ts +47 -24
- package/esm/src/agent/runtime-agent-definition.d.ts.map +1 -1
- package/esm/src/agent/runtime-agent-definition.js +26 -20
- package/esm/src/agent/runtime-agent-invocation-contract.d.ts +306 -168
- package/esm/src/agent/runtime-agent-invocation-contract.d.ts.map +1 -1
- package/esm/src/agent/runtime-agent-invocation-contract.js +116 -101
- package/esm/src/agent/runtime-builtin-skill-files.d.ts.map +1 -1
- package/esm/src/agent/runtime-builtin-skill-files.js +3 -2
- package/esm/src/agent/runtime-client-profile.d.ts +23 -32
- package/esm/src/agent/runtime-client-profile.d.ts.map +1 -1
- package/esm/src/agent/runtime-client-profile.js +29 -27
- package/esm/src/agent/runtime-load-skill-tool.d.ts +6 -7
- package/esm/src/agent/runtime-load-skill-tool.d.ts.map +1 -1
- package/esm/src/agent/runtime-load-skill-tool.js +7 -6
- package/esm/src/agent/runtime-project-files-client.d.ts +19 -10
- package/esm/src/agent/runtime-project-files-client.d.ts.map +1 -1
- package/esm/src/agent/runtime-project-files-client.js +33 -35
- package/esm/src/agent/runtime-skill-metadata.d.ts +6 -20
- package/esm/src/agent/runtime-skill-metadata.d.ts.map +1 -1
- package/esm/src/agent/runtime-skill-metadata.js +24 -18
- package/esm/src/agent/runtime-upload-url-client.d.ts.map +1 -1
- package/esm/src/agent/runtime-upload-url-client.js +19 -25
- package/esm/src/agent/schemas/agent.schema.d.ts +258 -307
- package/esm/src/agent/schemas/agent.schema.d.ts.map +1 -1
- package/esm/src/agent/schemas/agent.schema.js +105 -101
- package/esm/src/agent/schemas/index.d.ts +2 -2
- package/esm/src/agent/schemas/index.d.ts.map +1 -1
- package/esm/src/agent/schemas/index.js +2 -2
- package/esm/src/agent/schemas/tool.schema.d.ts +5 -5
- package/esm/src/agent/schemas/tool.schema.d.ts.map +1 -1
- package/esm/src/agent/schemas/tool.schema.js +4 -4
- package/esm/src/cache/schemas/cache-backend.schema.d.ts +15 -14
- package/esm/src/cache/schemas/cache-backend.schema.d.ts.map +1 -1
- package/esm/src/cache/schemas/cache-backend.schema.js +10 -7
- package/esm/src/cache/schemas/cache-key.schema.d.ts +12 -10
- package/esm/src/cache/schemas/cache-key.schema.d.ts.map +1 -1
- package/esm/src/cache/schemas/cache-key.schema.js +8 -6
- package/esm/src/channels/control-plane.d.ts +246 -156
- package/esm/src/channels/control-plane.d.ts.map +1 -1
- package/esm/src/channels/control-plane.js +80 -73
- package/esm/src/channels/invoke.d.ts +220 -134
- package/esm/src/channels/invoke.d.ts.map +1 -1
- package/esm/src/channels/invoke.js +105 -93
- package/esm/src/chat/ag-ui.d.ts +494 -273
- package/esm/src/chat/ag-ui.d.ts.map +1 -1
- package/esm/src/chat/ag-ui.js +164 -180
- package/esm/src/chat/conversation.d.ts +273 -183
- package/esm/src/chat/conversation.d.ts.map +1 -1
- package/esm/src/chat/conversation.js +97 -111
- package/esm/src/chat/types.d.ts +635 -14
- package/esm/src/chat/types.d.ts.map +1 -1
- package/esm/src/chat/types.js +146 -174
- package/esm/src/config/schemas/config.schema.d.ts +799 -395
- package/esm/src/config/schemas/config.schema.d.ts.map +1 -1
- package/esm/src/config/schemas/config.schema.js +300 -268
- package/esm/src/data/schemas/data.schema.d.ts +89 -48
- package/esm/src/data/schemas/data.schema.d.ts.map +1 -1
- package/esm/src/data/schemas/data.schema.js +36 -29
- package/esm/src/extensions/builtin-extensions.d.ts.map +1 -1
- package/esm/src/extensions/builtin-extensions.js +9 -0
- package/esm/src/extensions/schema/index.d.ts +1 -1
- package/esm/src/extensions/schema/index.d.ts.map +1 -1
- package/esm/src/extensions/schema/json-schema.d.ts +23 -0
- package/esm/src/extensions/schema/json-schema.d.ts.map +1 -0
- package/esm/src/extensions/schema/json-schema.js +8 -0
- package/esm/src/extensions/schema/schema-validator.d.ts +97 -4
- package/esm/src/extensions/schema/schema-validator.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/hydration-data-generator.js +1 -1
- package/esm/src/html/schemas/html.schema.d.ts +107 -90
- package/esm/src/html/schemas/html.schema.d.ts.map +1 -1
- package/esm/src/html/schemas/html.schema.js +60 -52
- package/esm/src/html/utils.d.ts.map +1 -1
- package/esm/src/html/utils.js +1 -1
- package/esm/src/integrations/schema.d.ts +455 -433
- package/esm/src/integrations/schema.d.ts.map +1 -1
- package/esm/src/integrations/schema.js +105 -95
- package/esm/src/internal-agents/ag-ui-sse.d.ts.map +1 -1
- package/esm/src/internal-agents/ag-ui-sse.js +60 -82
- package/esm/src/internal-agents/control-plane-auth.d.ts +10 -10
- package/esm/src/internal-agents/control-plane-auth.d.ts.map +1 -1
- package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
- package/esm/src/internal-agents/run-stream.js +3 -2
- package/esm/src/internal-agents/schema.d.ts +272 -281
- package/esm/src/internal-agents/schema.d.ts.map +1 -1
- package/esm/src/internal-agents/schema.js +55 -47
- package/esm/src/issues/core.d.ts.map +1 -1
- package/esm/src/issues/mcp.d.ts.map +1 -1
- package/esm/src/issues/mcp.js +47 -41
- package/esm/src/issues/schemas/index.d.ts +1 -1
- package/esm/src/issues/schemas/index.d.ts.map +1 -1
- package/esm/src/issues/schemas/index.js +1 -1
- package/esm/src/issues/schemas/issue.schema.d.ts +151 -116
- package/esm/src/issues/schemas/issue.schema.d.ts.map +1 -1
- package/esm/src/issues/schemas/issue.schema.js +64 -55
- package/esm/src/jobs/schemas.d.ts +1087 -658
- package/esm/src/jobs/schemas.d.ts.map +1 -1
- package/esm/src/jobs/schemas.js +244 -214
- package/esm/src/mcp/index.d.ts +6 -2
- package/esm/src/mcp/index.d.ts.map +1 -1
- package/esm/src/mcp/index.js +6 -2
- package/esm/src/mcp/schemas/index.d.ts +1 -1
- package/esm/src/mcp/schemas/index.d.ts.map +1 -1
- package/esm/src/mcp/schemas/index.js +1 -1
- package/esm/src/mcp/schemas/mcp.schema.d.ts +59 -31
- package/esm/src/mcp/schemas/mcp.schema.d.ts.map +1 -1
- package/esm/src/mcp/schemas/mcp.schema.js +28 -24
- package/esm/src/mcp/types.d.ts +2 -2
- package/esm/src/mcp/types.d.ts.map +1 -1
- package/esm/src/oauth/providers/atlassian.d.ts +36 -30
- package/esm/src/oauth/providers/atlassian.d.ts.map +1 -1
- package/esm/src/oauth/providers/common.d.ts +312 -260
- package/esm/src/oauth/providers/common.d.ts.map +1 -1
- package/esm/src/oauth/providers/google.d.ts +48 -40
- package/esm/src/oauth/providers/google.d.ts.map +1 -1
- package/esm/src/oauth/providers/microsoft.d.ts +48 -40
- package/esm/src/oauth/providers/microsoft.d.ts.map +1 -1
- package/esm/src/oauth/schemas/oauth.schema.d.ts +180 -92
- package/esm/src/oauth/schemas/oauth.schema.d.ts.map +1 -1
- package/esm/src/oauth/schemas/oauth.schema.js +67 -59
- package/esm/src/platform/adapters/fs/github/github-api-client.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/github/github-api-client.js +4 -4
- package/esm/src/platform/adapters/fs/github/index.d.ts +1 -1
- package/esm/src/platform/adapters/fs/github/index.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/github/index.js +1 -1
- package/esm/src/platform/adapters/fs/github/schemas/github-api.schema.d.ts +97 -140
- package/esm/src/platform/adapters/fs/github/schemas/github-api.schema.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/github/schemas/github-api.schema.js +40 -37
- package/esm/src/platform/adapters/fs/github/schemas/index.d.ts +1 -1
- package/esm/src/platform/adapters/fs/github/schemas/index.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/github/schemas/index.js +1 -1
- package/esm/src/platform/adapters/fs/veryfront/proxy-manager.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/proxy-manager.js +7 -4
- package/esm/src/platform/adapters/fs/veryfront/schemas/index.d.ts +1 -1
- package/esm/src/platform/adapters/fs/veryfront/schemas/index.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/schemas/index.js +1 -1
- package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.d.ts +11 -11
- package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.js +10 -10
- package/esm/src/platform/adapters/fs/veryfront/stat-operations.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/stat-operations.js +1 -0
- package/esm/src/platform/adapters/veryfront-api-client/client.d.ts +63 -63
- package/esm/src/platform/adapters/veryfront-api-client/index.d.ts +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/index.d.ts.map +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/index.js +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/operations.d.ts.map +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/operations.js +11 -21
- package/esm/src/platform/adapters/veryfront-api-client/schemas/api.schema.d.ts +444 -471
- package/esm/src/platform/adapters/veryfront-api-client/schemas/api.schema.d.ts.map +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/schemas/api.schema.js +150 -122
- package/esm/src/platform/adapters/veryfront-api-client/schemas/index.d.ts +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/schemas/index.d.ts.map +1 -1
- package/esm/src/platform/adapters/veryfront-api-client/schemas/index.js +1 -1
- package/esm/src/prompt/schemas/prompt.schema.d.ts +10 -9
- package/esm/src/prompt/schemas/prompt.schema.d.ts.map +1 -1
- package/esm/src/prompt/schemas/prompt.schema.js +8 -8
- package/esm/src/proxy/handler.d.ts.map +1 -1
- package/esm/src/proxy/handler.js +0 -1
- package/esm/src/repositories/schemas/repository.schema.d.ts +40 -25
- package/esm/src/repositories/schemas/repository.schema.d.ts.map +1 -1
- package/esm/src/repositories/schemas/repository.schema.js +23 -19
- package/esm/src/resource/index.d.ts +6 -2
- package/esm/src/resource/index.d.ts.map +1 -1
- package/esm/src/resource/index.js +6 -2
- package/esm/src/resource/schemas/index.d.ts +1 -1
- package/esm/src/resource/schemas/index.d.ts.map +1 -1
- package/esm/src/resource/schemas/index.js +1 -1
- package/esm/src/resource/schemas/resource.schema.d.ts +13 -16
- package/esm/src/resource/schemas/resource.schema.d.ts.map +1 -1
- package/esm/src/resource/schemas/resource.schema.js +9 -6
- package/esm/src/resource/types.d.ts +3 -3
- package/esm/src/resource/types.d.ts.map +1 -1
- package/esm/src/routing/api/openapi/types.d.ts +4 -4
- package/esm/src/routing/api/openapi/types.d.ts.map +1 -1
- package/esm/src/sandbox/hosted-tools.d.ts.map +1 -1
- package/esm/src/sandbox/hosted-tools.js +11 -13
- package/esm/src/schemas/common.d.ts +48 -28
- package/esm/src/schemas/common.d.ts.map +1 -1
- package/esm/src/schemas/common.js +67 -28
- package/esm/src/schemas/define.d.ts +3 -2
- package/esm/src/schemas/define.d.ts.map +1 -1
- package/esm/src/schemas/define.js +12 -6
- package/esm/src/schemas/index.d.ts +8 -4
- package/esm/src/schemas/index.d.ts.map +1 -1
- package/esm/src/schemas/index.js +8 -7
- package/esm/src/schemas/json-schema.d.ts +25 -0
- package/esm/src/schemas/json-schema.d.ts.map +1 -0
- package/esm/src/schemas/json-schema.js +27 -0
- package/esm/src/schemas/primitives.d.ts +34 -23
- package/esm/src/schemas/primitives.d.ts.map +1 -1
- package/esm/src/schemas/primitives.js +25 -18
- package/esm/src/security/input-validation/handler.d.ts +3 -3
- package/esm/src/security/input-validation/handler.d.ts.map +1 -1
- package/esm/src/security/input-validation/parsers.d.ts +4 -4
- package/esm/src/security/input-validation/parsers.d.ts.map +1 -1
- package/esm/src/security/input-validation/parsers.js +35 -45
- package/esm/src/server/bootstrap.js +2 -2
- package/esm/src/server/dev-ui/manifest.js +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +1 -0
- package/esm/src/server/handlers/request/agent-run-cancel.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-run-cancel.handler.js +2 -3
- package/esm/src/server/handlers/request/agent-run-resume.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-run-resume.handler.js +4 -5
- package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-stream.handler.js +3 -4
- package/esm/src/server/handlers/request/internal-agents-list.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/internal-agents-list.handler.js +2 -4
- package/esm/src/server/runtime-handler/environment-resolution.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/environment-resolution.js +4 -5
- package/esm/src/server/runtime-handler/request-utils.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/request-utils.js +1 -2
- package/esm/src/server/schemas/action.schema.d.ts +10 -6
- package/esm/src/server/schemas/action.schema.d.ts.map +1 -1
- package/esm/src/server/schemas/action.schema.js +7 -5
- package/esm/src/skill/tools.d.ts.map +1 -1
- package/esm/src/skill/tools.js +24 -21
- package/esm/src/tool/factory.d.ts +1 -1
- package/esm/src/tool/factory.d.ts.map +1 -1
- package/esm/src/tool/factory.js +12 -1
- package/esm/src/tool/host-tools.d.ts +1 -1
- package/esm/src/tool/host-tools.d.ts.map +1 -1
- package/esm/src/tool/host-tools.js +17 -3
- package/esm/src/tool/index.d.ts +9 -5
- package/esm/src/tool/index.d.ts.map +1 -1
- package/esm/src/tool/index.js +9 -5
- package/esm/src/tool/remote-source-tools.d.ts.map +1 -1
- package/esm/src/tool/remote-source-tools.js +9 -2
- package/esm/src/tool/schema/json-schema.d.ts +8 -15
- package/esm/src/tool/schema/json-schema.d.ts.map +1 -1
- package/esm/src/tool/schema/json-schema.js +7 -0
- package/esm/src/tool/schema/zod-json-schema.d.ts +33 -4
- package/esm/src/tool/schema/zod-json-schema.d.ts.map +1 -1
- package/esm/src/tool/schema/zod-json-schema.js +70 -159
- package/esm/src/tool/sleep.d.ts +21 -11
- package/esm/src/tool/sleep.d.ts.map +1 -1
- package/esm/src/tool/sleep.js +42 -4
- package/esm/src/tool/types.d.ts +12 -8
- package/esm/src/tool/types.d.ts.map +1 -1
- package/esm/src/transforms/npm-import-rewrites.d.ts +1 -1
- package/esm/src/transforms/npm-import-rewrites.d.ts.map +1 -1
- package/esm/src/transforms/npm-import-rewrites.js +1 -3
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/api.d.ts +22 -22
- package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts.map +1 -1
- package/esm/src/workflow/blob/veryfront-cloud-storage.js +37 -33
- package/esm/src/workflow/claude-code/tool.d.ts +37 -44
- package/esm/src/workflow/claude-code/tool.d.ts.map +1 -1
- package/esm/src/workflow/claude-code/tool.js +11 -19
- package/esm/src/workflow/dsl/workflow.d.ts +3 -3
- package/esm/src/workflow/dsl/workflow.d.ts.map +1 -1
- package/esm/src/workflow/schemas/index.d.ts +1 -1
- package/esm/src/workflow/schemas/index.d.ts.map +1 -1
- package/esm/src/workflow/schemas/index.js +1 -1
- package/esm/src/workflow/schemas/workflow.schema.d.ts +194 -177
- package/esm/src/workflow/schemas/workflow.schema.d.ts.map +1 -1
- package/esm/src/workflow/schemas/workflow.schema.js +101 -83
- package/esm/src/workflow/types.d.ts +3 -3
- package/esm/src/workflow/types.d.ts.map +1 -1
- package/package.json +4 -1
- package/src/cli/commands/analyze-chunks/handler.ts +9 -5
- package/src/cli/commands/build/handler.ts +20 -15
- package/src/cli/commands/clean/command.ts +1 -1
- package/src/cli/commands/clean/handler.ts +12 -8
- package/src/cli/commands/demo/handler.ts +12 -7
- package/src/cli/commands/deploy/command.ts +17 -12
- package/src/cli/commands/dev/handler.ts +11 -7
- package/src/cli/commands/doctor/handler.ts +8 -4
- package/src/cli/commands/files/command.ts +64 -44
- package/src/cli/commands/generate/handler.ts +9 -5
- package/src/cli/commands/generate/integration-generator-helpers.ts +4 -4
- package/src/cli/commands/generate/integration-generator.ts +8 -4
- package/src/cli/commands/install/detect.ts +1 -1
- package/src/cli/commands/install/handler.ts +10 -6
- package/src/cli/commands/install/install.ts +20 -12
- package/src/cli/commands/install/types.ts +58 -41
- package/src/cli/commands/install/uninstall.ts +6 -2
- package/src/cli/commands/knowledge/command.ts +60 -52
- package/src/cli/commands/lock/handler.ts +13 -9
- package/src/cli/commands/mcp/handler.ts +8 -4
- package/src/cli/commands/merge/command.ts +14 -9
- package/src/cli/commands/open/command.ts +12 -7
- package/src/cli/commands/pull/command.ts +20 -15
- package/src/cli/commands/push/command.ts +17 -12
- package/src/cli/commands/routes/handler.ts +9 -5
- package/src/cli/commands/schema/handler.ts +8 -4
- package/src/cli/commands/serve/handler.ts +15 -11
- package/src/cli/commands/start/handler.ts +11 -7
- package/src/cli/commands/studio/handler.ts +10 -6
- package/src/cli/commands/styles/command.ts +22 -17
- package/src/cli/commands/styles/handler.ts +12 -7
- package/src/cli/commands/task/handler.ts +12 -7
- package/src/cli/commands/test/handler.ts +9 -5
- package/src/cli/commands/up/command.ts +11 -6
- package/src/cli/commands/uploads/command.ts +72 -52
- package/src/cli/commands/worker/handler.ts +16 -11
- package/src/cli/commands/workflow/handler.ts +13 -8
- package/src/cli/mcp/jsonrpc.ts +32 -19
- package/src/cli/mcp/remote-file-tools.ts +134 -97
- package/src/cli/mcp/server.ts +2 -80
- package/src/cli/mcp/tools/bootstrap-tool.ts +11 -7
- package/src/cli/mcp/tools/build-tool.ts +32 -28
- package/src/cli/mcp/tools/catalog-tools.ts +53 -42
- package/src/cli/mcp/tools/context7-tools.ts +29 -25
- package/src/cli/mcp/tools/deploy-tool.ts +17 -13
- package/src/cli/mcp/tools/dev-tools.ts +90 -66
- package/src/cli/mcp/tools/introspection-tools.ts +8 -6
- package/src/cli/mcp/tools/project-tools.ts +45 -32
- package/src/cli/mcp/tools/run-lint-tool.ts +11 -7
- package/src/cli/mcp/tools/run-tests-tool.ts +17 -13
- package/src/cli/mcp/tools/scaffold-tools.ts +43 -36
- package/src/cli/mcp/tools/skill-tools.ts +17 -12
- package/src/cli/mcp/tools.ts +65 -51
- package/src/cli/shared/args.ts +12 -9
- package/src/cli/shared/config.ts +32 -22
- package/src/cli/shared/project-source-context.ts +1 -1
- package/src/cli/shared/types.ts +5 -3
- package/src/cli/skills/types.ts +29 -24
- package/src/cli/templates/manifest.js +211 -211
- package/src/deno.js +10 -4
- package/src/extensions/ext-zod/src/adapter.ts +238 -0
- package/src/extensions/ext-zod/src/index.ts +36 -0
- package/src/extensions/ext-zod/src/json-schema.ts +311 -0
- package/src/src/agent/ag-ui-detached-start.ts +44 -21
- package/src/src/agent/ag-ui-forwarded-context.ts +6 -4
- package/src/src/agent/ag-ui-handler.ts +7 -3
- package/src/src/agent/ag-ui-host-support.ts +84 -66
- package/src/src/agent/ag-ui-request-shared.ts +16 -2
- package/src/src/agent/ag-ui-run-control.ts +26 -15
- package/src/src/agent/ag-ui-runtime-handler.ts +7 -3
- package/src/src/agent/ag-ui-sse-parser.ts +306 -0
- package/src/src/agent/ag-ui-tool-shared.ts +5 -2
- package/src/src/agent/chat-handler.ts +89 -67
- package/src/src/agent/composition/composition.ts +2 -2
- package/src/src/agent/conversation-bootstrap.ts +38 -17
- package/src/src/agent/conversation-hosted-lifecycle.ts +12 -10
- package/src/src/agent/conversation-run-events.ts +13 -5
- package/src/src/agent/default-hosted-invoke-agent-tool.ts +19 -8
- package/src/src/agent/durable.ts +186 -144
- package/src/src/agent/hosted-ag-ui-chat-request.ts +26 -16
- package/src/src/agent/hosted-agent-service-routes.ts +4 -3
- package/src/src/agent/hosted-chat-request-parser.ts +8 -4
- package/src/src/agent/hosted-chat-request.ts +46 -32
- package/src/src/agent/hosted-child-fork-step-message-preparation.ts +3 -1
- package/src/src/agent/hosted-child-status.ts +8 -1
- package/src/src/agent/hosted-child-tool-input.ts +27 -19
- package/src/src/agent/hosted-durable-child-fork-execution.ts +3 -3
- package/src/src/agent/hosted-form-input-tool.ts +15 -5
- package/src/src/agent/human-input.ts +129 -92
- package/src/src/agent/index.ts +38 -20
- package/src/src/agent/input-request-protocol.ts +193 -124
- package/src/src/agent/invoke-agent-child-runs.ts +64 -44
- package/src/src/agent/runtime-ag-ui-contract.ts +159 -123
- package/src/src/agent/runtime-agent-definition.ts +45 -24
- package/src/src/agent/runtime-agent-invocation-contract.ts +241 -174
- package/src/src/agent/runtime-builtin-skill-files.ts +3 -2
- package/src/src/agent/runtime-client-profile.ts +51 -34
- package/src/src/agent/runtime-load-skill-tool.ts +19 -12
- package/src/src/agent/runtime-project-files-client.ts +51 -39
- package/src/src/agent/runtime-skill-metadata.ts +41 -24
- package/src/src/agent/runtime-upload-url-client.ts +24 -24
- package/src/src/agent/schemas/agent.schema.ts +179 -142
- package/src/src/agent/schemas/index.ts +15 -15
- package/src/src/agent/schemas/tool.schema.ts +8 -5
- package/src/src/cache/schemas/cache-backend.schema.ts +18 -9
- package/src/src/cache/schemas/cache-key.schema.ts +13 -7
- package/src/src/channels/control-plane.ts +132 -96
- package/src/src/channels/invoke.ts +165 -120
- package/src/src/chat/ag-ui.ts +229 -225
- package/src/src/chat/conversation.ts +121 -124
- package/src/src/chat/types.ts +230 -205
- package/src/src/config/schemas/config.schema.ts +653 -610
- package/src/src/data/schemas/data.schema.ts +62 -39
- package/src/src/extensions/builtin-extensions.ts +9 -0
- package/src/src/extensions/schema/index.ts +3 -0
- package/src/src/extensions/schema/json-schema.ts +23 -0
- package/src/src/extensions/schema/schema-validator.ts +105 -6
- package/src/src/html/html-shell-generator.ts +1 -1
- package/src/src/html/hydration-script-builder/hydration-data-generator.ts +2 -2
- package/src/src/html/schemas/html.schema.ts +81 -65
- package/src/src/html/utils.ts +4 -1
- package/src/src/integrations/schema.ts +140 -111
- package/src/src/internal-agents/ag-ui-sse.ts +85 -83
- package/src/src/internal-agents/run-stream.ts +4 -2
- package/src/src/internal-agents/schema.ts +120 -89
- package/src/src/issues/core.ts +3 -1
- package/src/src/issues/mcp.ts +81 -58
- package/src/src/issues/schemas/index.ts +11 -0
- package/src/src/issues/schemas/issue.schema.ts +99 -73
- package/src/src/jobs/jobs-client.ts +4 -4
- package/src/src/jobs/schemas.ts +414 -297
- package/src/src/mcp/index.ts +6 -2
- package/src/src/mcp/schemas/index.ts +3 -0
- package/src/src/mcp/schemas/mcp.schema.ts +45 -29
- package/src/src/mcp/types.ts +2 -3
- package/src/src/oauth/schemas/oauth.schema.ts +96 -70
- package/src/src/platform/adapters/fs/github/github-api-client.ts +6 -6
- package/src/src/platform/adapters/fs/github/index.ts +5 -5
- package/src/src/platform/adapters/fs/github/schemas/github-api.schema.ts +58 -42
- package/src/src/platform/adapters/fs/github/schemas/index.ts +5 -5
- package/src/src/platform/adapters/fs/veryfront/proxy-manager.ts +9 -5
- package/src/src/platform/adapters/fs/veryfront/schemas/index.ts +1 -1
- package/src/src/platform/adapters/fs/veryfront/schemas/proxy-manager.schema.ts +14 -11
- package/src/src/platform/adapters/fs/veryfront/stat-operations.ts +1 -0
- package/src/src/platform/adapters/veryfront-api-client/index.ts +17 -16
- package/src/src/platform/adapters/veryfront-api-client/operations.ts +20 -31
- package/src/src/platform/adapters/veryfront-api-client/schemas/api.schema.ts +231 -150
- package/src/src/platform/adapters/veryfront-api-client/schemas/index.ts +17 -16
- package/src/src/prompt/schemas/prompt.schema.ts +13 -10
- package/src/src/proxy/handler.ts +0 -1
- package/src/src/rendering/orchestrator/html-project-css.ts +1 -1
- package/src/src/rendering/renderer.ts +2 -2
- package/src/src/repositories/schemas/repository.schema.ts +36 -22
- package/src/src/resource/index.ts +6 -2
- package/src/src/resource/schemas/index.ts +2 -0
- package/src/src/resource/schemas/resource.schema.ts +17 -8
- package/src/src/resource/types.ts +3 -3
- package/src/src/routing/api/openapi/types.ts +5 -5
- package/src/src/sandbox/hosted-tools.ts +17 -13
- package/src/src/schemas/common.ts +83 -31
- package/src/src/schemas/define.ts +13 -6
- package/src/src/schemas/index.ts +29 -17
- package/src/src/schemas/json-schema.ts +33 -0
- package/src/src/schemas/primitives.ts +71 -35
- package/src/src/security/http/config.ts +1 -1
- package/src/src/security/input-validation/handler.ts +3 -3
- package/src/src/security/input-validation/parsers.ts +40 -45
- package/src/src/server/bootstrap.ts +3 -3
- package/src/src/server/dev-ui/manifest.js +1 -1
- package/src/src/server/handlers/dev/framework-candidates.generated.ts +1 -0
- package/src/src/server/handlers/request/agent-run-cancel.handler.ts +2 -6
- package/src/src/server/handlers/request/agent-run-resume.handler.ts +4 -9
- package/src/src/server/handlers/request/agent-stream.handler.ts +2 -4
- package/src/src/server/handlers/request/internal-agents-list.handler.ts +2 -5
- package/src/src/server/runtime-handler/environment-resolution.ts +4 -5
- package/src/src/server/runtime-handler/request-utils.ts +1 -2
- package/src/src/server/schemas/action.schema.ts +12 -6
- package/src/src/skill/tools.ts +37 -25
- package/src/src/tool/factory.ts +23 -5
- package/src/src/tool/host-tools.ts +16 -6
- package/src/src/tool/index.ts +9 -5
- package/src/src/tool/remote-source-tools.ts +10 -2
- package/src/src/tool/schema/json-schema.ts +9 -15
- package/src/src/tool/schema/zod-json-schema.ts +75 -209
- package/src/src/tool/sleep.ts +55 -7
- package/src/src/tool/types.ts +12 -8
- package/src/src/transforms/npm-import-rewrites.ts +1 -3
- package/src/src/utils/version-constant.ts +1 -1
- package/src/src/workflow/blob/veryfront-cloud-storage.ts +53 -39
- package/src/src/workflow/claude-code/tool.ts +29 -38
- package/src/src/workflow/dsl/workflow.ts +3 -3
- package/src/src/workflow/schemas/index.ts +17 -0
- package/src/src/workflow/schemas/workflow.schema.ts +183 -123
- package/src/src/workflow/types.ts +3 -3
- package/esm/src/schemas/zod-adapter.d.ts +0 -25
- package/esm/src/schemas/zod-adapter.d.ts.map +0 -1
- package/esm/src/schemas/zod-adapter.js +0 -120
- package/src/src/schemas/zod-adapter.ts +0 -180
package/esm/src/tool/sleep.d.ts
CHANGED
|
@@ -1,23 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { InferSchema, Schema } from "../extensions/schema/index.js";
|
|
2
|
+
import type { Tool } from "./types.js";
|
|
2
3
|
export declare const DEFAULT_SLEEP_TOOL_MAX_SECONDS = 60;
|
|
3
4
|
export type SleepToolWait = (milliseconds: number) => Promise<void> | void;
|
|
4
5
|
export type CreateSleepToolOptions = {
|
|
5
6
|
maxSeconds?: number;
|
|
6
7
|
wait?: SleepToolWait;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
-
seconds:
|
|
10
|
-
}
|
|
11
|
-
|
|
9
|
+
interface SleepToolInputShape {
|
|
10
|
+
seconds: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Build the sleep-tool input schema parameterised by `maxSeconds`.
|
|
14
|
+
*
|
|
15
|
+
* Resolves the `SchemaValidator` through the shared fallback path (rather than going
|
|
16
|
+
* through `defineSchema`) because `defineSchema` produces a memoized
|
|
17
|
+
* zero-arg getter — incompatible with per-instance parametric schemas.
|
|
18
|
+
*/
|
|
19
|
+
declare function createSleepToolInputSchema(maxSeconds: number): Schema<SleepToolInputShape>;
|
|
20
|
+
export type SleepToolInput = InferSchema<ReturnType<typeof createSleepToolInputSchema>>;
|
|
12
21
|
export type SleepToolOutput = {
|
|
13
22
|
sleptFor: number;
|
|
14
23
|
message: string;
|
|
15
24
|
};
|
|
16
|
-
export declare function createSleepTool(options?: CreateSleepToolOptions):
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
export declare function createSleepTool(options?: CreateSleepToolOptions): Tool<SleepToolInputShape, SleepToolOutput>;
|
|
26
|
+
/**
|
|
27
|
+
* Default sleep tool (max 60 s) exposed as a property accessor so the
|
|
28
|
+
* underlying `tool({...})` materialization is deferred until first use.
|
|
29
|
+
* Preserves the existing `sleepTool.execute(...)` call shape.
|
|
30
|
+
*/
|
|
31
|
+
export declare const sleepTool: Tool<SleepToolInput, SleepToolOutput>;
|
|
22
32
|
export {};
|
|
23
33
|
//# sourceMappingURL=sleep.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sleep.d.ts","sourceRoot":"","sources":["../../../src/src/tool/sleep.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sleep.d.ts","sourceRoot":"","sources":["../../../src/src/tool/sleep.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAE3E,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB,CAAC;AAOF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,iBAAS,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAOnF;AAED,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC;AAExF,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B,8CAkBnE;AAeD;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,eAAe,CAgB3D,CAAC"}
|
package/esm/src/tool/sleep.js
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import * as dntShim from "../../_dnt.shims.js";
|
|
2
|
-
import {
|
|
2
|
+
import { resolveSchemaValidator } from "../schemas/define.js";
|
|
3
3
|
import { tool } from "./factory.js";
|
|
4
4
|
export const DEFAULT_SLEEP_TOOL_MAX_SECONDS = 60;
|
|
5
5
|
const defaultSleepToolWait = (milliseconds) => new Promise((resolve) => {
|
|
6
6
|
dntShim.setTimeout(resolve, milliseconds);
|
|
7
7
|
});
|
|
8
|
+
/**
|
|
9
|
+
* Build the sleep-tool input schema parameterised by `maxSeconds`.
|
|
10
|
+
*
|
|
11
|
+
* Resolves the `SchemaValidator` through the shared fallback path (rather than going
|
|
12
|
+
* through `defineSchema`) because `defineSchema` produces a memoized
|
|
13
|
+
* zero-arg getter — incompatible with per-instance parametric schemas.
|
|
14
|
+
*/
|
|
8
15
|
function createSleepToolInputSchema(maxSeconds) {
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
const v = resolveSchemaValidator();
|
|
17
|
+
return v.object({
|
|
18
|
+
seconds: v.number().min(1).max(maxSeconds).describe(`Number of seconds to wait (1-${maxSeconds})`),
|
|
11
19
|
});
|
|
12
20
|
}
|
|
13
21
|
export function createSleepTool(options = {}) {
|
|
@@ -27,4 +35,34 @@ export function createSleepTool(options = {}) {
|
|
|
27
35
|
},
|
|
28
36
|
});
|
|
29
37
|
}
|
|
30
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Lazily-built default sleep tool.
|
|
40
|
+
*
|
|
41
|
+
* Construction is deferred to first access so importers don't pay the
|
|
42
|
+
* SchemaValidator-resolution cost (and don't fail under tests that haven't
|
|
43
|
+
* registered the adapter) just by loading this module.
|
|
44
|
+
*/
|
|
45
|
+
let cachedDefaultSleepTool;
|
|
46
|
+
function getDefaultSleepTool() {
|
|
47
|
+
cachedDefaultSleepTool ??= createSleepTool();
|
|
48
|
+
return cachedDefaultSleepTool;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Default sleep tool (max 60 s) exposed as a property accessor so the
|
|
52
|
+
* underlying `tool({...})` materialization is deferred until first use.
|
|
53
|
+
* Preserves the existing `sleepTool.execute(...)` call shape.
|
|
54
|
+
*/
|
|
55
|
+
export const sleepTool = new Proxy({}, {
|
|
56
|
+
get(_target, prop, receiver) {
|
|
57
|
+
return Reflect.get(getDefaultSleepTool(), prop, receiver);
|
|
58
|
+
},
|
|
59
|
+
has(_target, prop) {
|
|
60
|
+
return prop in getDefaultSleepTool();
|
|
61
|
+
},
|
|
62
|
+
ownKeys() {
|
|
63
|
+
return Reflect.ownKeys(getDefaultSleepTool());
|
|
64
|
+
},
|
|
65
|
+
getOwnPropertyDescriptor(_target, prop) {
|
|
66
|
+
return Object.getOwnPropertyDescriptor(getDefaultSleepTool(), prop);
|
|
67
|
+
},
|
|
68
|
+
});
|
package/esm/src/tool/types.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/****
|
|
2
2
|
* Tool type definitions
|
|
3
3
|
*/
|
|
4
|
-
import type {
|
|
5
|
-
import type { JsonSchema } from "./schema/json-schema.js";
|
|
4
|
+
import type { JsonSchema, Schema } from "../extensions/schema/index.js";
|
|
6
5
|
import type { BlobStorage } from "../workflow/blob/types.js";
|
|
7
6
|
import type { ToolAnnotations } from "../mcp/types.js";
|
|
8
7
|
/**
|
|
@@ -13,11 +12,16 @@ export interface ToolConfig<TInput = any, TOutput = any> {
|
|
|
13
12
|
id?: string;
|
|
14
13
|
/** Tool description for the AI model */
|
|
15
14
|
description: string;
|
|
16
|
-
/** Input schema (Zod schema) */
|
|
17
|
-
inputSchema: z.ZodSchema<TInput>;
|
|
18
15
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* Input schema produced via `defineSchema((v) => …)` (or any
|
|
17
|
+
* `SchemaValidator`-backed builder). Validates input before `execute` runs
|
|
18
|
+
* and seeds the JSON Schema exposed to AI providers.
|
|
19
|
+
*/
|
|
20
|
+
inputSchema: Schema<TInput>;
|
|
21
|
+
/**
|
|
22
|
+
* Allow unknown/non-contract schemas to fall back to a permissive JSON
|
|
23
|
+
* schema. Use only for truly dynamic tools; prefer `v.unknown()` or
|
|
24
|
+
* `v.any()` from the SchemaValidator DSL instead.
|
|
21
25
|
*/
|
|
22
26
|
allowUnknownSchema?: boolean;
|
|
23
27
|
/**
|
|
@@ -97,8 +101,8 @@ export interface Tool<TInput = any, TOutput = any> {
|
|
|
97
101
|
type: ToolType;
|
|
98
102
|
/** Tool description */
|
|
99
103
|
description: string;
|
|
100
|
-
/** Input schema (
|
|
101
|
-
inputSchema:
|
|
104
|
+
/** Input schema produced by `defineSchema` (or any SchemaValidator-backed builder). */
|
|
105
|
+
inputSchema: Schema<TInput>;
|
|
102
106
|
/**
|
|
103
107
|
* Pre-converted JSON Schema (for OpenAI/provider compatibility)
|
|
104
108
|
* This is generated at tool creation time to avoid bundling issues
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/src/tool/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/src/tool/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;GAEG;AAEH,MAAM,WAAW,UAAU,CAAC,MAAM,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG;IACrD,yDAAyD;IACzD,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,wCAAwC;IACxC,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IAEvF,wBAAwB;IACxB,GAAG,CAAC,EAAE;QACJ,qBAAqB;QACrB,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB,6BAA6B;QAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB,mBAAmB;QACnB,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,aAAa,CAAC;QAEnD,uCAAuC;QACvC,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,oDAAoD;QACpD,WAAW,CAAC,EAAE,eAAe,CAAC;KAC/B,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E,yBAAyB;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,sDAAsD;IACtD,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qCAAqC;IACrC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,KAAK,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvC;;GAEG;AAEH,MAAM,WAAW,IAAI,CAAC,MAAM,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG;IAC/C,cAAc;IACd,EAAE,EAAE,MAAM,CAAC;IACX,2FAA2F;IAC3F,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;;OAIG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf,uBAAuB;IACvB,WAAW,EAAE,MAAM,CAAC;IAEpB,uFAAuF;IACvF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE5B;;;OAGG;IACH,eAAe,CAAC,EAAE,UAAU,CAAC;IAE7B;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAE7E,wBAAwB;IACxB,GAAG,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACrE,WAAW,CACT,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Bare specifiers that should be rewritten to their pinned npm: versions.
|
|
3
3
|
* Each must have a corresponding entry in deno.json's import map.
|
|
4
4
|
*/
|
|
5
|
-
declare const REWRITABLE_PACKAGES: readonly [
|
|
5
|
+
declare const REWRITABLE_PACKAGES: readonly [];
|
|
6
6
|
interface RewriteRule {
|
|
7
7
|
pattern: RegExp;
|
|
8
8
|
replacement: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npm-import-rewrites.d.ts","sourceRoot":"","sources":["../../../src/src/transforms/npm-import-rewrites.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,QAAA,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"npm-import-rewrites.d.ts","sourceRoot":"","sources":["../../../src/src/transforms/npm-import-rewrites.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,QAAA,MAAM,mBAAmB,aAAc,CAAC;AAExC,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAQD,iBAAS,UAAU,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,WAAW,EAAE,CAwBpE;AAcD;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,WAAW,EAAE,CAKlD;AAID;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAOxD;AAED,2BAA2B;AAC3B,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,CAAC;AAE3C,sDAAsD;AACtD,wBAAgB,WAAW,IAAI,IAAI,CAElC"}
|
|
@@ -15,9 +15,7 @@ import { join } from "../platform/compat/path/index.js";
|
|
|
15
15
|
* Bare specifiers that should be rewritten to their pinned npm: versions.
|
|
16
16
|
* Each must have a corresponding entry in deno.json's import map.
|
|
17
17
|
*/
|
|
18
|
-
const REWRITABLE_PACKAGES = [
|
|
19
|
-
"zod",
|
|
20
|
-
];
|
|
18
|
+
const REWRITABLE_PACKAGES = [];
|
|
21
19
|
let cachedRules;
|
|
22
20
|
function escapeForRegex(pkg) {
|
|
23
21
|
return pkg.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.503";
|
|
2
2
|
//# sourceMappingURL=version-constant.d.ts.map
|
|
@@ -59,15 +59,15 @@ export declare const api: {
|
|
|
59
59
|
listAll: (options?: {
|
|
60
60
|
limit?: number;
|
|
61
61
|
pattern?: string;
|
|
62
|
-
}) => Promise<{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}[]>;
|
|
62
|
+
}) => Promise<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
63
|
+
id: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
64
|
+
version_id: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
65
|
+
path: import("../internal-agents/schema.js").Schema<string>;
|
|
66
|
+
content: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
67
|
+
size: import("../internal-agents/schema.js").Schema<number>;
|
|
68
|
+
type: import("../internal-agents/schema.js").Schema<"function" | "file" | "page" | "component">;
|
|
69
|
+
updated_at: import("../internal-agents/schema.js").Schema<string>;
|
|
70
|
+
}>[]>;
|
|
71
71
|
/**
|
|
72
72
|
* Get file details (content + metadata)
|
|
73
73
|
* @param pathOrId - File path or ID
|
|
@@ -89,19 +89,19 @@ export declare const api: {
|
|
|
89
89
|
/**
|
|
90
90
|
* Get current project details
|
|
91
91
|
*/
|
|
92
|
-
get: () => Promise<{
|
|
93
|
-
id: string
|
|
94
|
-
name: string
|
|
95
|
-
slug: string
|
|
96
|
-
description
|
|
97
|
-
created_at
|
|
98
|
-
updated_at
|
|
99
|
-
provider
|
|
100
|
-
provider_id
|
|
101
|
-
layout
|
|
102
|
-
layout_id
|
|
103
|
-
config
|
|
104
|
-
}
|
|
92
|
+
get: () => Promise<import("../extensions/schema/schema-validator.js").InferShape<{
|
|
93
|
+
id: import("../internal-agents/schema.js").Schema<string>;
|
|
94
|
+
name: import("../internal-agents/schema.js").Schema<string>;
|
|
95
|
+
slug: import("../internal-agents/schema.js").Schema<string>;
|
|
96
|
+
description: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
97
|
+
created_at: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
98
|
+
updated_at: import("../internal-agents/schema.js").Schema<string | undefined>;
|
|
99
|
+
provider: import("../internal-agents/schema.js").Schema<string | null | undefined>;
|
|
100
|
+
provider_id: import("../internal-agents/schema.js").Schema<string | null | undefined>;
|
|
101
|
+
layout: import("../internal-agents/schema.js").Schema<string | null | undefined>;
|
|
102
|
+
layout_id: import("../internal-agents/schema.js").Schema<string | null | undefined>;
|
|
103
|
+
config: import("../internal-agents/schema.js").Schema<string | Record<string, unknown> | undefined>;
|
|
104
|
+
}>>;
|
|
105
105
|
/**
|
|
106
106
|
* Get the current project slug
|
|
107
107
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"veryfront-cloud-storage.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/blob/veryfront-cloud-storage.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"veryfront-cloud-storage.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/blob/veryfront-cloud-storage.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA0DzE,MAAM,WAAW,+BAA+B;IAC9C,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6BAA6B;IAC7B,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB;AA6FD,qBAAa,yBAA0B,YAAW,WAAW;IAC3D,OAAO,CAAC,MAAM,CAAkC;gBAEpC,MAAM,GAAE,+BAAoC;IAIlD,GAAG,CACP,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,GAAG,cAAc,EACjD,OAAO,GAAE,gBAAqB,GAC7B,OAAO,CAAC,OAAO,CAAC;IAkEb,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAKrD,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAM3C,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAMhD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAUjC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IA0B/C,OAAO,CAAC,aAAa;IA8BrB,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,eAAe;YAKT,UAAU;YA2CV,iBAAiB;YAkBjB,YAAY;YAgBZ,cAAc;YAwBd,cAAc;YAuBd,kBAAkB;YASlB,WAAW;CAwC1B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
2
|
-
import {
|
|
2
|
+
import { defineSchema } from "../../schemas/index.js";
|
|
3
3
|
import { agentLogger as logger } from "../../utils/index.js";
|
|
4
4
|
import { API_ERROR, CONFIG_INVALID, INVALID_ARGUMENT } from "../../errors/index.js";
|
|
5
5
|
const SAFE_BLOB_ID_PATTERN = /^[a-zA-Z0-9_-]+$/;
|
|
@@ -7,38 +7,42 @@ import { getVeryfrontCloudAuthToken, getVeryfrontCloudBootstrap, getVeryfrontClo
|
|
|
7
7
|
const DEFAULT_PREFIX = ".veryfront/blobs/";
|
|
8
8
|
const DATA_SUFFIX = ".blob";
|
|
9
9
|
const META_SUFFIX = ".meta.json";
|
|
10
|
-
const
|
|
11
|
-
file_upload_url:
|
|
12
|
-
file_path:
|
|
13
|
-
upload_id:
|
|
14
|
-
required_headers:
|
|
15
|
-
});
|
|
16
|
-
const
|
|
17
|
-
id:
|
|
18
|
-
path:
|
|
19
|
-
file_name:
|
|
20
|
-
content_type:
|
|
21
|
-
size:
|
|
22
|
-
url:
|
|
23
|
-
status:
|
|
24
|
-
visibility:
|
|
25
|
-
created_at:
|
|
26
|
-
updated_at:
|
|
27
|
-
deleted_at:
|
|
28
|
-
});
|
|
29
|
-
const
|
|
30
|
-
signed_url:
|
|
31
|
-
expires_at:
|
|
32
|
-
});
|
|
33
|
-
const
|
|
34
|
-
version:
|
|
35
|
-
id:
|
|
36
|
-
size:
|
|
37
|
-
mimeType:
|
|
38
|
-
createdAt:
|
|
39
|
-
expiresAt:
|
|
40
|
-
metadata:
|
|
41
|
-
});
|
|
10
|
+
const getUploadCreateResponseSchema = defineSchema((v) => v.object({
|
|
11
|
+
file_upload_url: v.string().url(),
|
|
12
|
+
file_path: v.string(),
|
|
13
|
+
upload_id: v.string(),
|
|
14
|
+
required_headers: v.record(v.string(), v.string()),
|
|
15
|
+
}));
|
|
16
|
+
const getUploadMetadataResponseSchema = defineSchema((v) => v.object({
|
|
17
|
+
id: v.string(),
|
|
18
|
+
path: v.string(),
|
|
19
|
+
file_name: v.string(),
|
|
20
|
+
content_type: v.string().nullable(),
|
|
21
|
+
size: v.number(),
|
|
22
|
+
url: v.string().nullable(),
|
|
23
|
+
status: v.enum(["pending", "active", "failed"]),
|
|
24
|
+
visibility: v.enum(["project", "public", "private"]),
|
|
25
|
+
created_at: v.string(),
|
|
26
|
+
updated_at: v.string(),
|
|
27
|
+
deleted_at: v.string().nullable(),
|
|
28
|
+
}));
|
|
29
|
+
const getUploadSignedUrlResponseSchema = defineSchema((v) => v.object({
|
|
30
|
+
signed_url: v.string().url(),
|
|
31
|
+
expires_at: v.string(),
|
|
32
|
+
}));
|
|
33
|
+
const getBlobMetadataSchema = defineSchema((v) => v.object({
|
|
34
|
+
version: v.literal(1),
|
|
35
|
+
id: v.string(),
|
|
36
|
+
size: v.number().nonnegative(),
|
|
37
|
+
mimeType: v.string(),
|
|
38
|
+
createdAt: v.string(),
|
|
39
|
+
expiresAt: v.string().optional(),
|
|
40
|
+
metadata: v.record(v.string(), v.string()).optional(),
|
|
41
|
+
}));
|
|
42
|
+
const UploadCreateResponseSchema = getUploadCreateResponseSchema();
|
|
43
|
+
const UploadMetadataResponseSchema = getUploadMetadataResponseSchema();
|
|
44
|
+
const UploadSignedUrlResponseSchema = getUploadSignedUrlResponseSchema();
|
|
45
|
+
const BlobMetadataSchema = getBlobMetadataSchema();
|
|
42
46
|
function normalizePrefix(prefix) {
|
|
43
47
|
const value = (prefix ?? DEFAULT_PREFIX).trim().replace(/^\/+/, "");
|
|
44
48
|
if (!value)
|
|
@@ -3,24 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Pre-configured tools for using the Claude Agent SDK in workflow steps.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import type { InferSchema, Schema } from "../../extensions/schema/index.js";
|
|
7
7
|
import type { Tool } from "../../tool/index.js";
|
|
8
8
|
import type { ClaudeCodeMode, ClaudeCodeResult } from "./types.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
analysis: "analysis";
|
|
18
|
-
}>>>;
|
|
19
|
-
maxTurns: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
-
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
-
context: z.ZodOptional<z.ZodRecord<z.core.$ZodRecordKey, z.core.SomeType>>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
type ClaudeCodeInput = z.infer<typeof claudeCodeInputSchema>;
|
|
9
|
+
declare const getClaudeCodeInputSchema: () => Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
10
|
+
task: Schema<string>;
|
|
11
|
+
mode: Schema<string>;
|
|
12
|
+
maxTurns: Schema<number>;
|
|
13
|
+
files: Schema<string[] | undefined>;
|
|
14
|
+
context: Schema<Record<string, unknown> | undefined>;
|
|
15
|
+
}>>;
|
|
16
|
+
type ClaudeCodeInput = InferSchema<ReturnType<typeof getClaudeCodeInputSchema>>;
|
|
24
17
|
/**
|
|
25
18
|
* Claude Code tool for workflow steps
|
|
26
19
|
*
|
|
@@ -58,36 +51,36 @@ export declare function createClaudeCodeTool(options?: {
|
|
|
58
51
|
* Pre-configured tools for common use cases
|
|
59
52
|
*/
|
|
60
53
|
/** Code review tool (analysis mode, read-only) */
|
|
61
|
-
export declare const codeReviewTool: Tool<{
|
|
62
|
-
task: string
|
|
63
|
-
mode:
|
|
64
|
-
maxTurns: number
|
|
65
|
-
files
|
|
66
|
-
context
|
|
67
|
-
}
|
|
54
|
+
export declare const codeReviewTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
55
|
+
task: Schema<string>;
|
|
56
|
+
mode: Schema<string>;
|
|
57
|
+
maxTurns: Schema<number>;
|
|
58
|
+
files: Schema<string[] | undefined>;
|
|
59
|
+
context: Schema<Record<string, unknown> | undefined>;
|
|
60
|
+
}>, ClaudeCodeResult>;
|
|
68
61
|
/** Bug fix tool (code mode) */
|
|
69
|
-
export declare const bugFixTool: Tool<{
|
|
70
|
-
task: string
|
|
71
|
-
mode:
|
|
72
|
-
maxTurns: number
|
|
73
|
-
files
|
|
74
|
-
context
|
|
75
|
-
}
|
|
62
|
+
export declare const bugFixTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
63
|
+
task: Schema<string>;
|
|
64
|
+
mode: Schema<string>;
|
|
65
|
+
maxTurns: Schema<number>;
|
|
66
|
+
files: Schema<string[] | undefined>;
|
|
67
|
+
context: Schema<Record<string, unknown> | undefined>;
|
|
68
|
+
}>, ClaudeCodeResult>;
|
|
76
69
|
/** Refactoring tool (code mode) */
|
|
77
|
-
export declare const refactorTool: Tool<{
|
|
78
|
-
task: string
|
|
79
|
-
mode:
|
|
80
|
-
maxTurns: number
|
|
81
|
-
files
|
|
82
|
-
context
|
|
83
|
-
}
|
|
70
|
+
export declare const refactorTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
71
|
+
task: Schema<string>;
|
|
72
|
+
mode: Schema<string>;
|
|
73
|
+
maxTurns: Schema<number>;
|
|
74
|
+
files: Schema<string[] | undefined>;
|
|
75
|
+
context: Schema<Record<string, unknown> | undefined>;
|
|
76
|
+
}>, ClaudeCodeResult>;
|
|
84
77
|
/** Documentation tool (code mode) */
|
|
85
|
-
export declare const docsTool: Tool<{
|
|
86
|
-
task: string
|
|
87
|
-
mode:
|
|
88
|
-
maxTurns: number
|
|
89
|
-
files
|
|
90
|
-
context
|
|
91
|
-
}
|
|
78
|
+
export declare const docsTool: Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
79
|
+
task: Schema<string>;
|
|
80
|
+
mode: Schema<string>;
|
|
81
|
+
maxTurns: Schema<number>;
|
|
82
|
+
files: Schema<string[] | undefined>;
|
|
83
|
+
context: Schema<Record<string, unknown> | undefined>;
|
|
84
|
+
}>, ClaudeCodeResult>;
|
|
92
85
|
export {};
|
|
93
86
|
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/claude-code/tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/claude-code/tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnE,QAAA,MAAM,wBAAwB;;;;;;GAuB7B,CAAC;AAEF,KAAK,eAAe,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AAmBhF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE,gBAAgB,CA6BlE,CAAC;AAEF;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,GAAE;IACP,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACZ,GACL,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAqBzC;AAED;;GAEG;AAEH,kDAAkD;AAClD,eAAO,MAAM,cAAc;;;;;;qBAazB,CAAC;AAEH,+BAA+B;AAC/B,eAAO,MAAM,UAAU;;;;;;qBAarB,CAAC;AAEH,mCAAmC;AACnC,eAAO,MAAM,YAAY;;;;;;qBAavB,CAAC;AAEH,qCAAqC;AACrC,eAAO,MAAM,QAAQ;;;;;;qBAYnB,CAAC"}
|
|
@@ -3,38 +3,30 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Pre-configured tools for using the Claude Agent SDK in workflow steps.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { defineSchema } from "../../schemas/index.js";
|
|
7
7
|
import { executeAgent } from "./agent.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const claudeCodeInputSchema = z.object({
|
|
12
|
-
/** Task description for the agent */
|
|
13
|
-
task: z.string().describe("The task for the Claude Code agent to perform"),
|
|
14
|
-
/** Tool mode */
|
|
15
|
-
mode: z
|
|
8
|
+
const getClaudeCodeInputSchema = defineSchema((v) => v.object({
|
|
9
|
+
task: v.string().describe("The task for the Claude Code agent to perform"),
|
|
10
|
+
mode: v
|
|
16
11
|
.enum(["code", "analysis", "custom"])
|
|
17
12
|
.optional()
|
|
18
13
|
.default("code")
|
|
19
14
|
.describe("Tool mode: code (read-write), analysis (read-only), custom (user-specified)"),
|
|
20
|
-
|
|
21
|
-
maxTurns: z
|
|
15
|
+
maxTurns: v
|
|
22
16
|
.number()
|
|
23
17
|
.max(100)
|
|
24
18
|
.optional()
|
|
25
19
|
.default(20)
|
|
26
20
|
.describe("Maximum agentic loop turns"),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
.array(z.string())
|
|
21
|
+
files: v
|
|
22
|
+
.array(v.string())
|
|
30
23
|
.optional()
|
|
31
24
|
.describe("Specific files to focus on"),
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.record(z.unknown())
|
|
25
|
+
context: v
|
|
26
|
+
.record(v.string(), v.unknown())
|
|
35
27
|
.optional()
|
|
36
28
|
.describe("Additional context to include in the prompt"),
|
|
37
|
-
});
|
|
29
|
+
}));
|
|
38
30
|
/**
|
|
39
31
|
* Build the full prompt from input
|
|
40
32
|
*/
|
|
@@ -75,7 +67,7 @@ export const claudeCodeTool = {
|
|
|
75
67
|
type: "function",
|
|
76
68
|
description: "Run a Claude Code agent for complex coding tasks. " +
|
|
77
69
|
"Supports file editing, bash commands, and iterative problem-solving.",
|
|
78
|
-
inputSchema:
|
|
70
|
+
inputSchema: getClaudeCodeInputSchema(),
|
|
79
71
|
inputSchemaJson: {
|
|
80
72
|
type: "object",
|
|
81
73
|
properties: {
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Main factory function for creating durable workflows
|
|
5
5
|
**************************/
|
|
6
|
-
import type {
|
|
6
|
+
import type { Schema } from "../../extensions/schema/index.js";
|
|
7
7
|
import type { RetryConfig, StepBuilderContext, Workflow, WorkflowContext, WorkflowNode } from "../types.js";
|
|
8
8
|
export type { Workflow } from "../types.js";
|
|
9
9
|
export interface WorkflowOptions<TInput = unknown, TOutput = unknown> {
|
|
10
10
|
id: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
version?: string;
|
|
13
|
-
inputSchema?:
|
|
14
|
-
outputSchema?:
|
|
13
|
+
inputSchema?: Schema<TInput>;
|
|
14
|
+
outputSchema?: Schema<TOutput>;
|
|
15
15
|
retry?: RetryConfig;
|
|
16
16
|
timeout?: string | number;
|
|
17
17
|
introspect?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/dsl/workflow.ts"],"names":[],"mappings":"AAAA;;;;4BAI4B;AAE5B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/dsl/workflow.ts"],"names":[],"mappings":"AAAA;;;;4BAI4B;AAE5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,QAAQ,EACR,eAAe,EAEf,YAAY,EACb,MAAM,aAAa,CAAC;AAIrB,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,WAAW,eAAe,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EACD,YAAY,EAAE,GACd,CAAC,CAAC,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC,KAAK,YAAY,EAAE,CAAC,CAAC;IAC9D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E,UAAU,CAAC,EAAE,CACX,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,eAAe,KACrB,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAED,wBAAgB,QAAQ,CAAC,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,OAAO,EAC1D,OAAO,EAAE,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,GACxC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,CA+B3B;AAED,wBAAgB,QAAQ,CAAC,GAAG,KAAK,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CASjE;AAED,KAAK,YAAY,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE/E,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,YAAY,EAAE,CAwBvE;AAED,wBAAgB,SAAS,CACvB,IAAI,EAAE,YAAY,EAClB,GAAG,YAAY,EAAE,MAAM,EAAE,GACxB,YAAY,CAKd"}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module workflow/schemas
|
|
5
5
|
*/
|
|
6
|
-
export { type ApprovalDecision, ApprovalDecisionSchema, type ApprovalStatus, ApprovalStatusSchema, type BackoffStrategy, BackoffStrategySchema, CheckpointSchema, type LoopExecutionContext, LoopExecutionContextSchema, type NodeState, NodeStateSchema, type NodeStatus, NodeStatusSchema, type ParallelStrategy, ParallelStrategySchema, type PendingApproval, PendingApprovalSchema, type RetryConfig, RetryConfigSchema, type RunFilter, RunFilterSchema, type WaitType, WaitTypeSchema, WorkflowContextSchema, type WorkflowError, WorkflowErrorSchema, type WorkflowJob, WorkflowJobSchema, type WorkflowNodeType, WorkflowNodeTypeSchema, type WorkflowStatus, WorkflowStatusSchema, } from "./workflow.schema.js";
|
|
6
|
+
export { type ApprovalDecision, ApprovalDecisionSchema, type ApprovalStatus, ApprovalStatusSchema, type BackoffStrategy, BackoffStrategySchema, CheckpointSchema, getApprovalDecisionSchema, getApprovalStatusSchema, getBackoffStrategySchema, getCheckpointSchema, getLoopExecutionContextSchema, getNodeStateSchema, getNodeStatusSchema, getParallelStrategySchema, getPendingApprovalSchema, getRetryConfigSchema, getRunFilterSchema, getWaitTypeSchema, getWorkflowContextSchema, getWorkflowErrorSchema, getWorkflowJobSchema, getWorkflowNodeTypeSchema, getWorkflowStatusSchema, type LoopExecutionContext, LoopExecutionContextSchema, type NodeState, NodeStateSchema, type NodeStatus, NodeStatusSchema, type ParallelStrategy, ParallelStrategySchema, type PendingApproval, PendingApprovalSchema, type RetryConfig, RetryConfigSchema, type RunFilter, RunFilterSchema, type WaitType, WaitTypeSchema, WorkflowContextSchema, type WorkflowError, WorkflowErrorSchema, type WorkflowJob, WorkflowJobSchema, type WorkflowNodeType, WorkflowNodeTypeSchema, type WorkflowStatus, WorkflowStatusSchema, } from "./workflow.schema.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,cAAc,EACnB,oBAAoB,EACpB,KAAK,eAAe,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,SAAS,EACd,eAAe,EACf,KAAK,UAAU,EACf,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,SAAS,EACd,eAAe,EACf,KAAK,QAAQ,EACb,cAAc,EACd,qBAAqB,EACrB,KAAK,aAAa,EAClB,mBAAmB,EACnB,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,cAAc,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/workflow/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,cAAc,EACnB,oBAAoB,EACpB,KAAK,eAAe,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACvB,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,SAAS,EACd,eAAe,EACf,KAAK,UAAU,EACf,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,SAAS,EACd,eAAe,EACf,KAAK,QAAQ,EACb,cAAc,EACd,qBAAqB,EACrB,KAAK,aAAa,EAClB,mBAAmB,EACnB,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,sBAAsB,EACtB,KAAK,cAAc,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module workflow/schemas
|
|
5
5
|
*/
|
|
6
|
-
export { ApprovalDecisionSchema, ApprovalStatusSchema, BackoffStrategySchema, CheckpointSchema, LoopExecutionContextSchema, NodeStateSchema, NodeStatusSchema, ParallelStrategySchema, PendingApprovalSchema, RetryConfigSchema, RunFilterSchema, WaitTypeSchema, WorkflowContextSchema, WorkflowErrorSchema, WorkflowJobSchema, WorkflowNodeTypeSchema, WorkflowStatusSchema, } from "./workflow.schema.js";
|
|
6
|
+
export { ApprovalDecisionSchema, ApprovalStatusSchema, BackoffStrategySchema, CheckpointSchema, getApprovalDecisionSchema, getApprovalStatusSchema, getBackoffStrategySchema, getCheckpointSchema, getLoopExecutionContextSchema, getNodeStateSchema, getNodeStatusSchema, getParallelStrategySchema, getPendingApprovalSchema, getRetryConfigSchema, getRunFilterSchema, getWaitTypeSchema, getWorkflowContextSchema, getWorkflowErrorSchema, getWorkflowJobSchema, getWorkflowNodeTypeSchema, getWorkflowStatusSchema, LoopExecutionContextSchema, NodeStateSchema, NodeStatusSchema, ParallelStrategySchema, PendingApprovalSchema, RetryConfigSchema, RunFilterSchema, WaitTypeSchema, WorkflowContextSchema, WorkflowErrorSchema, WorkflowJobSchema, WorkflowNodeTypeSchema, WorkflowStatusSchema, } from "./workflow.schema.js";
|