eve 0.65.0 → 0.66.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 +23 -0
- package/README.md +1 -2
- package/dist/src/_virtual/_rolldown/runtime.js +1 -1
- package/dist/src/chunks/{use-eve-agent-BIouJCii.js → use-eve-agent-BUeSjwIk.js} +242 -1
- package/dist/src/chunks/{use-eve-agent-BRvEh9sO.js → use-eve-agent-ydPlURM4.js} +242 -1
- package/dist/src/cli/dev/tui/argument-typeahead.d.ts +36 -0
- package/dist/src/cli/dev/tui/argument-typeahead.js +2 -0
- package/dist/src/cli/dev/tui/blocks.js +1 -1
- package/dist/src/cli/dev/tui/prompt-command-handler.js +1 -1
- package/dist/src/cli/dev/tui/runner.d.ts +3 -0
- package/dist/src/cli/dev/tui/runner.js +1 -1
- package/dist/src/cli/dev/tui/setup-commands.d.ts +2 -8
- package/dist/src/cli/dev/tui/setup-commands.js +1 -2
- package/dist/src/cli/dev/tui/setup-flow.d.ts +0 -3
- package/dist/src/cli/dev/tui/terminal-renderer.d.ts +3 -0
- package/dist/src/cli/dev/tui/terminal-renderer.js +10 -11
- package/dist/src/cli/dev/tui/test/fake-setup-flow-renderer.js +1 -1
- package/dist/src/cli/dev/tui/tui.js +1 -1
- package/dist/src/cli/dev/tui/vercel-trusted-sources-policy.d.ts +1 -1
- package/dist/src/cli/dev/tui/vercel-trusted-sources.js +1 -1
- package/dist/src/cli/invoke/result.d.ts +1 -1
- package/dist/src/cli/invoke/result.js +1 -1
- package/dist/src/cli/telemetry/preference.js +1 -1
- package/dist/src/client/index.d.ts +1 -3
- package/dist/src/client/index.js +1 -1
- package/dist/src/compiled/.vendor-stamp.json +4 -2
- package/dist/src/compiled/@agentclientprotocol/sdk/index.js +2 -51
- package/dist/src/compiled/@ai-sdk/anthropic/index.js +2 -2
- package/dist/src/compiled/@ai-sdk/google/index.js +7 -7
- package/dist/src/compiled/@ai-sdk/mcp/index.js +1 -1
- package/dist/src/compiled/@ai-sdk/openai/index.js +4 -4
- package/dist/src/compiled/@ai-sdk/otel/index.js +1 -1
- package/dist/src/compiled/@cfworker/json-schema/index.d.ts +18 -0
- package/dist/src/compiled/@cfworker/json-schema/index.js +2 -0
- package/dist/src/compiled/@modelcontextprotocol/server/index.js +9 -58
- package/dist/src/compiled/@opentelemetry/api/index.js +1 -1
- package/dist/src/compiled/@opentelemetry/otlp-transformer/index.js +1 -1
- package/dist/src/compiled/@photon-ai/chat-adapter-imessage/index.js +55 -55
- package/dist/src/compiled/@vercel/blob/index.js +14 -36
- package/dist/src/compiled/@vercel/oidc/index.js +6 -28
- package/dist/src/compiled/@vercel/otel/index.js +1 -1
- package/dist/src/compiled/@vercel/sandbox/index.js +13 -13
- package/dist/src/compiled/@vercel/sdk/LICENSE +201 -0
- package/dist/src/compiled/@vercel/sdk/index.d.ts +41 -0
- package/dist/src/compiled/@vercel/sdk/index.js +1 -0
- package/dist/src/compiled/@workflow/core/index.js +1 -1
- package/dist/src/compiled/@workflow/core/private.js +1 -1
- package/dist/src/compiled/@workflow/core/runtime/helpers.js +1 -1
- package/dist/src/compiled/@workflow/core/runtime.js +2 -2
- package/dist/src/compiled/@workflow/core/serialization.js +1 -1
- package/dist/src/compiled/@workflow/core/workflow.js +1 -1
- package/dist/src/compiled/@workflow/errors/index.js +1 -1
- package/dist/src/compiled/@workflow/world-local/index.js +5 -5
- package/dist/src/compiled/@workflow/world-vercel/index.js +16 -16
- package/dist/src/compiled/_chunks/client/core-CspsxXR-.js +52 -0
- package/dist/src/compiled/_chunks/client/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/src/compiled/_chunks/node/auth-Dztlx9pE.js +2 -0
- package/dist/src/compiled/_chunks/workflow/{attribute-changes-DFx4eluc.js → attribute-changes-89Nwz7XW.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{chunk-5MU5Z6L3-CrYztnvh.js → chunk-5MU5Z6L3-z9-dfnHp.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{chunk-NWCAEW5Y-ClfmNvkQ.js → chunk-NWCAEW5Y-8afLJrun.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{dist-C3919PVU.js → dist-C3ZE62yI.js} +3 -3
- package/dist/src/compiled/_chunks/workflow/dist-CNT2vjZ4.js +1 -0
- package/dist/src/compiled/_chunks/workflow/{dist-xTushGCp.js → dist-DtXwQbZr.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{esm-DyLz8Egm.js → esm-DtrPCf49.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{experimental-evaluation-D8_K_Pe9.js → experimental-evaluation-Dm32egEG.js} +2 -2
- package/dist/src/compiled/_chunks/workflow/frames-DnrfSd1P.js +3 -0
- package/dist/src/compiled/_chunks/workflow/{functions-C06vHfWP.js → functions-DpZiBxgQ.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{getMachineId-bsd-WEBNKY2R-DcIEvZzd.js → getMachineId-bsd-WEBNKY2R-D5OkV-EY.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{getMachineId-darwin-LT47KAXP-C4nRhfn9.js → getMachineId-darwin-LT47KAXP-BqwKrkSO.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{getMachineId-linux-LTVQO6VW-BqQf2T4W.js → getMachineId-linux-LTVQO6VW-CJlbJ4KP.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{getMachineId-unsupported-UKWBA27G-oYffWhib.js → getMachineId-unsupported-UKWBA27G-C4Y3-LZG.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{getMachineId-win-NLJKOPY6-CpL96LtN.js → getMachineId-win-NLJKOPY6-CsPs71SE.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{global-DFW-hO6M.js → global-DIlFoH2w.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{helpers-Bw52uyzw.js → helpers-k3zcudWr.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{logger-DFNCa8Nl.js → logger-Bzc8jWWj.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/resume-hook-BmJ263ZR.js +1 -0
- package/dist/src/compiled/_chunks/workflow/{rolldown-runtime-DPpTSio4.js → rolldown-runtime-B_knIduE.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{run-BT6SQv5f.js → run-NLvREued.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{serialization-Cl0SYU0I.js → serialization-HCDeQWcR.js} +2 -2
- package/dist/src/compiled/_chunks/workflow/{signal-exit-B9U6kH7R.js → signal-exit-DZKTacNU.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/sleep-Bi508qmg.js +1 -0
- package/dist/src/compiled/_chunks/workflow/{token-CrFhCmWs.js → token-1wSBbi5N.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{token-U5XEWlVM.js → token-BhlnqoHM.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{token-util-BkqzD0OM.js → token-util-Cm4Ec1Bg.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/token-util-DaeRTzDa.js +5 -0
- package/dist/src/compiled/_chunks/workflow/{wait-until-Dzhr6tzf.js → wait-until-DXLZx3tU.js} +1 -1
- package/dist/src/compiled/_chunks/workflow/{wrapper-CKui_eTd.js → wrapper-CzrF_dmI.js} +3 -3
- package/dist/src/compiled/_chunks/workflow/ws-transport-BSM_Cl7a.js +1 -0
- package/dist/src/compiled/jose/index.js +1 -1
- package/dist/src/compiled/zod/index.js +1 -51
- package/dist/src/compiled/zod/v3.js +1 -0
- package/dist/src/compiled/zod/v4/core.js +1 -0
- package/dist/src/compiled/zod-validation-error/index.js +1 -1
- package/dist/src/compiler/extension-compatibility.d.ts +20 -14
- package/dist/src/compiler/extension-compatibility.js +1 -1
- package/dist/src/context/build-base-tool-context.js +1 -1
- package/dist/src/context/build-callback-context.js +1 -1
- package/dist/src/context/dynamic-skill-lifecycle.d.ts +3 -3
- package/dist/src/context/dynamic-skill-lifecycle.js +1 -1
- package/dist/src/context/keys.d.ts +18 -4
- package/dist/src/context/keys.js +1 -1
- package/dist/src/context/session-context.d.ts +5 -4
- package/dist/src/execution/dynamic-workflow/tool.js +1 -1
- package/dist/src/execution/route-child-delivery.js +1 -1
- package/dist/src/execution/sandbox/bindings/docker-templates.d.ts +6 -0
- package/dist/src/execution/sandbox/bindings/docker-templates.js +1 -1
- package/dist/src/execution/sandbox/bindings/docker.d.ts +6 -2
- package/dist/src/execution/sandbox/bindings/docker.js +1 -1
- package/dist/src/execution/sandbox/bindings/just-bash-runtime.d.ts +2 -2
- package/dist/src/execution/sandbox/bindings/just-bash.d.ts +2 -2
- package/dist/src/execution/sandbox/bindings/local-provider-utils.js +1 -1
- package/dist/src/execution/sandbox/bindings/microsandbox-lifecycle.d.ts +7 -2
- package/dist/src/execution/sandbox/bindings/microsandbox.d.ts +6 -2
- package/dist/src/execution/sandbox/bindings/vercel.d.ts +6 -3
- package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
- package/dist/src/execution/sandbox/ensure.js +1 -1
- package/dist/src/execution/sandbox/logging-session.js +2 -2
- package/dist/src/execution/sandbox/provider-host.js +1 -1
- package/dist/src/execution/sandbox/session.d.ts +5 -2
- package/dist/src/execution/sandbox/session.js +1 -1
- package/dist/src/execution/session/event-sink.d.ts +7 -13
- package/dist/src/execution/session/event-sink.js +1 -1
- package/dist/src/execution/session/handoff.d.ts +2 -2
- package/dist/src/execution/session/handoff.js +1 -1
- package/dist/src/execution/session/turn-step.js +1 -1
- package/dist/src/execution/settle-cancelled-turn-step.js +1 -1
- package/dist/src/execution/skills/instructions.d.ts +6 -8
- package/dist/src/execution/skills/instructions.js +2 -2
- package/dist/src/execution/tools/agent-router-workflow.js +1 -1
- package/dist/src/execution/tools/agent-router.d.ts +1 -2
- package/dist/src/execution/tools/agent-router.js +1 -1
- package/dist/src/execution/tools/ask-question-workflow.js +1 -1
- package/dist/src/execution/tools/ask-question.d.ts +17 -18
- package/dist/src/execution/tools/ask-question.js +2 -2
- package/dist/src/execution/tools/connection-search.js +1 -1
- package/dist/src/execution/tools/load-skill.d.ts +9 -5
- package/dist/src/execution/tools/load-skill.js +1 -1
- package/dist/src/execution/tools/sleep-workflow.js +1 -1
- package/dist/src/execution/tools/sleep.d.ts +8 -9
- package/dist/src/execution/tools/sleep.js +1 -1
- package/dist/src/execution/tools/subagent/emit-event-step.d.ts +2 -1
- package/dist/src/execution/tools/subagent/emit-event-step.js +1 -1
- package/dist/src/execution/tools/subagent/task-agent-requests.js +1 -1
- package/dist/src/execution/tools/workflow/body.js +1 -1
- package/dist/src/extensions/code/extension/extension.d.ts +57 -0
- package/dist/src/extensions/code/extension/extension.js +1 -0
- package/dist/src/extensions/code/extension/hooks/authenticate.d.ts +2 -0
- package/dist/src/extensions/code/extension/hooks/authenticate.js +1 -0
- package/dist/src/extensions/code/extension/instructions.md +87 -0
- package/dist/src/extensions/code/extension/lib/command-failure.d.ts +7 -0
- package/dist/src/extensions/code/extension/lib/command-failure.js +2 -0
- package/dist/src/extensions/code/extension/lib/computer-use-driver-source.d.ts +14 -0
- package/dist/src/extensions/code/extension/lib/computer-use-driver-source.js +1309 -0
- package/dist/src/extensions/code/extension/lib/computer-use-sandbox.d.ts +9 -0
- package/dist/src/extensions/code/extension/lib/computer-use-sandbox.js +120 -0
- package/dist/src/extensions/code/extension/lib/computer-use.d.ts +36 -0
- package/dist/src/extensions/code/extension/lib/computer-use.js +78 -0
- package/dist/src/extensions/code/extension/lib/connect-authentication.d.ts +7 -0
- package/dist/src/extensions/code/extension/lib/connect-authentication.js +1 -0
- package/dist/src/extensions/code/extension/lib/credentials.d.ts +13 -0
- package/dist/src/extensions/code/extension/lib/credentials.js +3 -0
- package/dist/src/extensions/code/extension/lib/diagnostics.d.ts +30 -0
- package/dist/src/extensions/code/extension/lib/diagnostics.js +6 -0
- package/dist/src/extensions/code/extension/lib/generated-paths.d.ts +18 -0
- package/dist/src/extensions/code/extension/lib/generated-paths.js +2 -0
- package/dist/src/extensions/code/extension/lib/github-shell-schema.d.ts +11 -0
- package/dist/src/extensions/code/extension/lib/github-shell-schema.js +1 -0
- package/dist/src/extensions/code/extension/lib/github-shell.d.ts +53 -0
- package/dist/src/extensions/code/extension/lib/github-shell.js +1 -0
- package/dist/src/extensions/code/extension/lib/grep-search.d.ts +61 -0
- package/dist/src/extensions/code/extension/lib/grep-search.js +6 -0
- package/dist/src/extensions/code/extension/lib/guidelines.d.ts +25 -0
- package/dist/src/extensions/code/extension/lib/guidelines.js +2 -0
- package/dist/src/extensions/code/extension/lib/patch.d.ts +35 -0
- package/dist/src/extensions/code/extension/lib/patch.js +20 -0
- package/dist/src/extensions/code/extension/lib/prwatch-github.d.ts +70 -0
- package/dist/src/extensions/code/extension/lib/prwatch-github.js +1 -0
- package/dist/src/extensions/code/extension/lib/prwatch-registry.d.ts +27 -0
- package/dist/src/extensions/code/extension/lib/prwatch-registry.js +1 -0
- package/dist/src/extensions/code/extension/lib/prwatch.d.ts +2 -0
- package/dist/src/extensions/code/extension/lib/prwatch.js +1 -0
- package/dist/src/extensions/code/extension/lib/repository-root.d.ts +4 -0
- package/dist/src/extensions/code/extension/lib/repository-root.js +1 -0
- package/dist/src/extensions/code/extension/lib/sandbox.d.ts +12 -0
- package/dist/src/extensions/code/extension/lib/sandbox.js +2 -0
- package/dist/src/extensions/code/extension/lib/shell.d.ts +1 -0
- package/dist/src/extensions/code/extension/lib/shell.js +1 -0
- package/dist/src/extensions/code/extension/lib/signed-commit.d.ts +2 -0
- package/dist/src/extensions/code/extension/lib/signed-commit.js +130 -0
- package/dist/src/extensions/code/extension/lib/tooling.d.ts +27 -0
- package/dist/src/extensions/code/extension/lib/tooling.js +92 -0
- package/dist/src/extensions/code/extension/skills/investigate/SKILL.md +30 -0
- package/dist/src/extensions/code/extension/skills/lookup-agent-run/SKILL.md +29 -0
- package/dist/src/extensions/code/extension/skills/pr/SKILL.md +53 -0
- package/dist/src/extensions/code/extension/skills/review/SKILL.md +21 -0
- package/dist/src/extensions/code/extension/subagents/worker/agent.d.ts +17 -0
- package/dist/src/extensions/code/extension/subagents/worker/agent.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/instructions.md +20 -0
- package/dist/src/extensions/code/extension/subagents/worker/sandbox.d.ts +2 -0
- package/dist/src/extensions/code/extension/subagents/worker/sandbox.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/glob.d.ts +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/glob.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/grep.d.ts +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/grep.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/load_skill.d.ts +2 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/load_skill.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/read_file.d.ts +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/read_file.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/web_fetch.d.ts +2 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/web_fetch.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/web_search.d.ts +2 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/web_search.js +1 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/write_file.d.ts +2 -0
- package/dist/src/extensions/code/extension/subagents/worker/tools/write_file.js +1 -0
- package/dist/src/extensions/code/extension/tools/apply_patch.d.ts +28 -0
- package/dist/src/extensions/code/extension/tools/apply_patch.js +2 -0
- package/dist/src/extensions/code/extension/tools/computer_use.d.ts +400 -0
- package/dist/src/extensions/code/extension/tools/computer_use.js +1 -0
- package/dist/src/extensions/code/extension/tools/gh.d.ts +27 -0
- package/dist/src/extensions/code/extension/tools/gh.js +1 -0
- package/dist/src/extensions/code/extension/tools/grep.d.ts +28 -0
- package/dist/src/extensions/code/extension/tools/grep.js +1 -0
- package/dist/src/extensions/code/tools.d.ts +4 -0
- package/dist/src/extensions/code/tools.js +1 -0
- package/dist/src/harness/compaction.js +1 -1
- package/dist/src/harness/final-output.js +1 -1
- package/dist/src/harness/input-extraction.js +1 -1
- package/dist/src/harness/tool-loop.js +2 -2
- package/dist/src/harness/tools.js +1 -1
- package/dist/src/internal/application/optional-package-import.d.ts +9 -0
- package/dist/src/internal/application/optional-package-import.js +1 -0
- package/dist/src/internal/application/optional-package-install.d.ts +1 -5
- package/dist/src/internal/application/optional-package-install.js +2 -2
- package/dist/src/internal/application/package.js +1 -1
- package/dist/src/node_modules/.pnpm/@vercel_cli-config@0.2.7/node_modules/@vercel/cli-config/dist/index.js +21 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/envpath.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/errors.js +2 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/errutils.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/exec.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/fsutils.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/index.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/lookup.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_cli-exec@1.0.1/node_modules/@vercel/cli-exec/dist/safety.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/authorization.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/connector.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/index.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/installation.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/base-url.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/default-scopes.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/env.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/internal/url-validation.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_connect@2.2.0_@ai-sdk_mcp@2.0.52_zod@4.5.4__@auth_core@0.41.2_@chat-adapter_sla_37d5e4f23f0f03cba2e0819e67e81b38/node_modules/@vercel/connect/dist/token.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/auth-errors.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/exchange-vercel-oidc-token.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-context.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-vercel-oidc-token-sync.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/get-vercel-oidc-token-with-refresh.js +2 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/index.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/oauth.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-error.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-io.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token-util.js +2 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/token.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/verify-vercel-oidc-token.js +1 -0
- package/dist/src/node_modules/.pnpm/@vercel_oidc@3.8.8/node_modules/@vercel/oidc/dist/version.js +1 -0
- package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js +1 -0
- package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js +1 -0
- package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js +1 -0
- package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js +1 -0
- package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js +1 -0
- package/dist/src/node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js +1 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js +1 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js +1 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js +2 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js +1 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js +1 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js +1 -0
- package/dist/src/node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js +1 -0
- package/dist/src/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js +1 -0
- package/dist/src/node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js +1 -0
- package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/core.js +1 -0
- package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.js +1 -0
- package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/realtime.js +1 -0
- package/dist/src/node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/signals.js +1 -0
- package/dist/src/node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js +1 -0
- package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js +1 -0
- package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js +1 -0
- package/dist/src/node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/index.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/compact/decrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/compact/encrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/flattened/decrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/flattened/encrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/general/decrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwe/general/encrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwk/embedded.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwk/thumbprint.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwks/local.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwks/remote.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/compact/sign.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/compact/verify.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/flattened/sign.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/flattened/verify.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/general/sign.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jws/general/verify.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/decrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/encrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/produce.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/sign.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/unsecured.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/jwt/verify.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/export.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/generate_key_pair.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/generate_secret.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/key/import.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/aesgcmkw.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/buffer_utils.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/cek.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_iv_length.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_key_type.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/check_p2s.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/crypto_key.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/decrypt_key_management.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/encrypt_key_management.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/epoch.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/invalid_key_input.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_disjoint.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_jwk.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/is_object.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/iv.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/jwt_claims_set.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/private_symbols.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/secs.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/validate_algorithms.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/lib/validate_crit.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/aeskw.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/asn1.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/base64url.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/cbc_tag.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/check_cek_length.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/check_key_length.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/ciphers.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/decrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/digest.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/dsa_digest.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/ecdhes.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/encrypt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/fetch_jwks.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/generate.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/get_named_curve.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/get_sign_verify_key.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/hmac_digest.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/is_key_like.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/is_key_object.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/jwk_to_key.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/key_to_jwk.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/node_key.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/normalize_key.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/pbes2kw.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/random.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/rsaes.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/runtime.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/sign.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/timing_safe_equal.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/verify.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/runtime/webcrypto.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/base64url.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/decode_jwt.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/decode_protected_header.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/errors.js +1 -0
- package/dist/src/node_modules/.pnpm/jose@5.10.0/node_modules/jose/dist/node/cjs/util/runtime.js +1 -0
- package/dist/src/node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js +1 -0
- package/dist/src/node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js +1 -0
- package/dist/src/node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js +1 -0
- package/dist/src/node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js +1 -0
- package/dist/src/node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js +1 -0
- package/dist/src/node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js +1 -0
- package/dist/src/node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js +1 -0
- package/dist/src/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js +1 -0
- package/dist/src/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js +1 -0
- package/dist/src/node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js +2 -0
- package/dist/src/node_modules/.pnpm/which@2.0.2/node_modules/which/which.js +1 -0
- package/dist/src/public/channels/github/checkout.d.ts +7 -2
- package/dist/src/public/channels/github/checkout.js +1 -1
- package/dist/src/public/channels/github/defaults.js +1 -1
- package/dist/src/public/channels/slack/api-errors.d.ts +33 -0
- package/dist/src/public/channels/slack/api-errors.js +1 -0
- package/dist/src/public/channels/slack/api.js +1 -1
- package/dist/src/public/channels/slack/interaction-cards.js +1 -1
- package/dist/src/public/channels/slack/interactions.js +1 -1
- package/dist/src/public/definitions/sandbox.d.ts +1 -1
- package/dist/src/public/memory/file/provider.js +1 -1
- package/dist/src/public/sandbox/docker.d.ts +7 -0
- package/dist/src/public/sandbox/index.d.ts +1 -1
- package/dist/src/public/sandbox/microsandbox.d.ts +7 -0
- package/dist/src/public/sandbox/vercel.d.ts +7 -0
- package/dist/src/public/skills/index.d.ts +1 -2
- package/dist/src/runtime/connections/mcp-client.d.ts +0 -7
- package/dist/src/runtime/connections/mcp-client.js +1 -1
- package/dist/src/runtime/connections/openapi-client.d.ts +0 -3
- package/dist/src/runtime/connections/openapi-client.js +1 -1
- package/dist/src/runtime/workspace/seed-files.js +1 -1
- package/dist/src/sandbox/providers/docker.d.ts +4 -4
- package/dist/src/sandbox/providers/just-bash.d.ts +2 -2
- package/dist/src/sandbox/providers/microsandbox.d.ts +4 -4
- package/dist/src/sandbox/providers/vercel.d.ts +4 -3
- package/dist/src/sandbox/state.d.ts +2 -0
- package/dist/src/self-modification/config.d.ts +6 -0
- package/dist/src/self-modification/extension/config-schema.d.ts +25 -0
- package/dist/src/self-modification/extension/config-schema.js +1 -0
- package/dist/src/self-modification/extension/extension.d.ts +3 -47
- package/dist/src/self-modification/extension/extension.js +1 -1
- package/dist/src/self-modification/extension/subagents/agent/tools/registry_add.js +1 -1
- package/dist/src/self-modification/git-workspace.d.ts +5 -1
- package/dist/src/self-modification/git.d.ts +5 -1
- package/dist/src/services/dev-client/request-headers.d.ts +1 -1
- package/dist/src/services/dev-client/request-headers.js +1 -1
- package/dist/src/setup/flows/model.d.ts +0 -108
- package/dist/src/setup/flows/model.js +1 -1
- package/dist/src/setup/integrations/discord/api.js +1 -1
- package/dist/src/setup/integrations/discord/connect.js +1 -1
- package/dist/src/setup/integrations/github/connect.js +1 -1
- package/dist/src/setup/integrations/linear/connect.js +1 -1
- package/dist/src/setup/integrations/linq/connect.js +1 -1
- package/dist/src/setup/integrations/photon/connect.js +1 -1
- package/dist/src/setup/integrations/teams/connect.js +1 -1
- package/dist/src/setup/project-resolution.js +1 -1
- package/dist/src/setup/scaffold/create/project.js +1 -1
- package/dist/src/setup/slack-connect.d.ts +1 -1
- package/dist/src/setup/slack-connect.js +1 -1
- package/dist/src/setup/vercel-api-failure.js +1 -1
- package/dist/src/setup/vercel-deployment.js +1 -1
- package/dist/src/setup/vercel-project-api.d.ts +1 -1
- package/dist/src/setup/vercel-project-api.js +1 -1
- package/dist/src/setup/vercel-project-framework.js +1 -1
- package/dist/src/setup/vercel-project.js +0 -0
- package/dist/src/shared/connection-types.d.ts +0 -2
- package/dist/src/shared/sandbox-network-policy.d.ts +5 -4
- package/dist/src/shared/sandbox-session.d.ts +0 -15
- package/dist/src/shared/skill-package.d.ts +3 -0
- package/dist/src/shared/skill-package.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/json.d.ts +72 -2
- package/dist/src/tasks/json.js +1 -1
- package/dist/src/tools/framework/agent-contract.d.ts +7 -6
- package/dist/src/tools/framework/agent-contract.js +1 -1
- package/dist/src/tools/framework/agent.d.ts +4 -13
- package/dist/src/tools/framework/task-cancel.d.ts +1 -17
- package/dist/src/tools/framework/task-contract.d.ts +16 -137
- package/dist/src/tools/framework/task-contract.js +1 -1
- package/dist/src/tools/provided/bash.d.ts +11 -12
- package/dist/src/tools/provided/bash.js +1 -1
- package/dist/src/tools/provided/glob.d.ts +13 -14
- package/dist/src/tools/provided/glob.js +1 -1
- package/dist/src/tools/provided/grep.d.ts +17 -18
- package/dist/src/tools/provided/grep.js +1 -1
- package/dist/src/tools/provided/read-file.d.ts +14 -15
- package/dist/src/tools/provided/read-file.js +1 -1
- package/dist/src/tools/provided/web-fetch.d.ts +13 -18
- package/dist/src/tools/provided/web-fetch.js +1 -1
- package/dist/src/tools/provided/workflow.js +1 -1
- package/dist/src/tools/provided/write-file.d.ts +10 -11
- package/dist/src/tools/provided/write-file.js +1 -1
- package/dist/src/tools/schema.d.ts +40 -10
- package/dist/src/tools/schema.js +1 -1
- package/dist/src/vue/index.js +1 -1
- package/dist/src/vue/use-eve-agent.js +1 -1
- package/docs/README.md +1 -1
- package/docs/channels/slack.mdx +1 -1
- package/docs/connections/overview.mdx +1 -1
- package/docs/extensions.md +4 -0
- package/docs/getting-started.mdx +1 -1
- package/docs/guides/deployment/vercel.mdx +6 -0
- package/docs/guides/dev-tui.md +1 -1
- package/docs/guides/dynamic-capabilities.md +2 -0
- package/docs/guides/hooks.md +6 -3
- package/docs/guides/instrumentation/agent-runs.mdx +101 -0
- package/docs/guides/instrumentation/instrumentation.mdx +2 -1
- package/docs/guides/instrumentation/meta.json +1 -1
- package/docs/guides/instrumentation/migration.md +5 -1
- package/docs/guides/instrumentation/otel.mdx +8 -27
- package/docs/guides/self-modification.md +37 -0
- package/docs/guides/session-context.md +11 -13
- package/docs/install-integrations.mdx +1 -1
- package/docs/meta.json +1 -0
- package/docs/reference/cli.md +1 -1
- package/docs/reference/typescript-api.md +1 -2
- package/docs/sandbox/index.mdx +11 -0
- package/docs/skills.mdx +3 -10
- package/docs/subagents/index.mdx +1 -1
- package/docs/tools/overview.mdx +7 -1
- package/docs/tools/workflows.mdx +1 -1
- package/package.json +30 -1
- package/dist/src/cli/dev/tui/model-picker.d.ts +0 -50
- package/dist/src/cli/dev/tui/model-picker.js +0 -1
- package/dist/src/compiled/_chunks/client/errors-Cd0_QQdM.js +0 -2
- package/dist/src/compiled/_chunks/node/auth-DDrvYko5.js +0 -2
- package/dist/src/compiled/_chunks/node/schemas-g-rLPCNX.js +0 -50
- package/dist/src/compiled/_chunks/workflow/coerce-D0oqvQ_w.js +0 -1
- package/dist/src/compiled/_chunks/workflow/dist-DjECvUyK.js +0 -2
- package/dist/src/compiled/_chunks/workflow/frames-D_Q-7A1N.js +0 -3
- package/dist/src/compiled/_chunks/workflow/resume-hook-BhA_nDEV.js +0 -1
- package/dist/src/compiled/_chunks/workflow/schemas-4CmFgxN_.js +0 -50
- package/dist/src/compiled/_chunks/workflow/sleep-DB4AH9-A.js +0 -1
- package/dist/src/compiled/_chunks/workflow/token-util-pP4KRRl0.js +0 -27
- package/dist/src/compiled/_chunks/workflow/ws-transport-BpTMh40s.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/lib/primitives.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/lib/schemas.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/aclaction.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/sdkvalidationerror.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/updateprojectblock.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/models/updateprojectprojectsbranchmatcher.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/defaultToZeroValue.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/fp.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/primitives.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/rfcdate.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/smartUnion.js +0 -1
- package/dist/src/node_modules/.pnpm/@vercel_sdk@1.28.8/node_modules/@vercel/sdk/esm/types/unrecognized.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/index.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/ZodError.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/errors.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/external.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/errorUtil.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/parseUtil.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/helpers/util.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/index.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/locales/en.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v3/types.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/checks.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/coerce.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/compat.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/deep-partial.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/errors.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/external.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/from-json-schema.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/in-out.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/iso.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/parse.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/classic/schemas.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/api.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/checks.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/compile.js +0 -2
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/core.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/doc.js +0 -3
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/errors.js +0 -2
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/index.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema-generator.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema-processors.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/json-schema.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/memoizer.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/parse.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/regexes.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/registries.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/schemas.js +0 -46
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/to-json-schema.js +0 -3
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/util.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/versions.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/core/visit.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ar.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/az.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/be.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/bg.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/bn.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ca.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ckb.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/cs.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/da.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/de.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/el.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/en.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/eo.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/es.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fa.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fi.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fr-CA.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/fr.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/gu.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/he.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hi.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hr.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hu.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/hy.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/id.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/index.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/is.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/it.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ja.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ka.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/kh.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/km.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/kn.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ko.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/lt.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/mk.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ms.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ne.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/nl.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/nn.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/no.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ota.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pl.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ps.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pt-BR.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/pt.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ro.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ru.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sk.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sl.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/sv.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ta.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/th.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/tk.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/tr.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ua.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/uk.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/ur.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/uz.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/vi.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/yo.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/zh-CN.js +0 -1
- package/dist/src/node_modules/.pnpm/zod@4.5.4/node_modules/zod/v4/locales/zh-TW.js +0 -1
- package/dist/src/runtime/skills/sandbox-access.d.ts +0 -22
- package/dist/src/runtime/skills/sandbox-access.js +0 -1
- package/dist/src/shared/skill-types.d.ts +0 -22
- package/dist/src/shared/skill-types.js +0 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Minimal declaration for the vendored slice of `@vercel/sdk`: the project
|
|
2
|
+
// trusted-sources model helpers. Mirrors upstream's `UpdateProject*` shapes
|
|
3
|
+
// for the fields eve reads; widen it if a caller needs more of the policy.
|
|
4
|
+
|
|
5
|
+
/** System environment slugs (`production`, `preview`) and/or custom environment slugs. */
|
|
6
|
+
export type UpdateProjectEnvironmentSet =
|
|
7
|
+
| { slugs: string[]; preset?: "all-custom" | undefined }
|
|
8
|
+
| { slugs?: string[] | undefined; preset: "all-custom" };
|
|
9
|
+
|
|
10
|
+
export type UpdateProjectCustomAllow = {
|
|
11
|
+
from: UpdateProjectEnvironmentSet;
|
|
12
|
+
to: UpdateProjectEnvironmentSet;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type UpdateProjectTrustedSources = {
|
|
16
|
+
projects?:
|
|
17
|
+
| {
|
|
18
|
+
[projectId: string]: {
|
|
19
|
+
label?: string | undefined;
|
|
20
|
+
customAllow?: UpdateProjectCustomAllow[] | undefined;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
| undefined;
|
|
24
|
+
oidcProviders?:
|
|
25
|
+
| {
|
|
26
|
+
[provider: string]: Array<{
|
|
27
|
+
to: UpdateProjectEnvironmentSet;
|
|
28
|
+
label?: string | undefined;
|
|
29
|
+
claims: { [claim: string]: string[] };
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
| undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export declare function updateProjectTrustedSourcesFromJSON(
|
|
36
|
+
jsonString: string,
|
|
37
|
+
):
|
|
38
|
+
| { ok: true; value: UpdateProjectTrustedSources; error?: never }
|
|
39
|
+
| { ok: false; value?: never; error: Error };
|
|
40
|
+
|
|
41
|
+
export declare function trustedSourcesToJSON(trustedSources: UpdateProjectTrustedSources): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"#compiled/zod/v3.js";function t(e,t){let n={};if(!Object.keys(t).length)return n=e,n;for(let[r,i]of Object.entries(e)){let e=t[r];e!==null&&(n[e??r]=i)}return n}var n=class extends Error{rawValue;rawMessage;static[Symbol.hasInstance](e){return!(!(e instanceof Error)||!(`rawValue`in e)||!(`rawMessage`in e)||!(`pretty`in e)||typeof e.pretty!=`function`)}constructor(e,t,n){super(`${e}: ${t}`),this.name=`SDKValidationError`,this.cause=t,this.rawValue=n,this.rawMessage=e}pretty(){return this.cause instanceof e.ZodError?`${this.rawMessage}\n${r(this.cause)}`:this.toString()}};function r(e,t=0){let n=` `.repeat(t);n=t>0?`│${n}`:n,n+=` `.repeat(t);let i=``,a=e=>i+=`\n${n}${e}`,o=e.issues.length,s=o===1?`${o} issue found`:`${o} issues found`;o&&a(`┌ ${s}:`);for(let n of e.issues){let e=n.path.join(`.`);switch(e=e?`<root>.${e}`:`<root>`,a(`│ • [${e}]: ${n.message} (${n.code})`),n.code){case`invalid_literal`:case`invalid_type`:a(`│ Want: ${n.expected}`),a(`│ Got: ${n.received}`);break;case`unrecognized_keys`:a(`│ Keys: ${n.keys.join(`, `)}`);break;case`invalid_enum_value`:a(`│ Allowed: ${n.options.join(`, `)}`),a(`│ Got: ${n.received}`);break;case`invalid_union_discriminator`:a(`│ Allowed: ${n.options.join(`, `)}`);break;case`invalid_union`:{let e=n.unionErrors.length;a(`│ ✖︎ Attemped to deserialize into one of ${e} union members:`),n.unionErrors.forEach((n,i)=>{a(`│ ✖︎ Member ${i+1} of ${e}`),a(`${r(n,t+1)}`)})}}}return e.issues.length&&a(`└─*`),i.slice(1)}function i(e){return{ok:!0,value:e}}function a(e){return{ok:!1,error:e}}function o(e,t,r){try{return i(t(e))}catch(t){return a(new n(r,t,e))}}function s(e){return c++,e}let c=0,l=0;function u(){l++;let e=c;return{end:t=>{let n=c-e;return c=e+(t??n),--l===0&&(c=0),n}}}let d=0,f=0;function ee(e){return d++,s(e)}function te(){f++;let e=d;return{end:t=>{let n=d-e;return d=e+(t??n),--f===0&&(d=0),n}}}function p(){return e.union([e.string(),y(``),e.any().transform(e=>s(JSON.stringify(e)))])}function m(){return e.union([e.boolean(),e.string().transform((t,n)=>{let r=t.toLowerCase();return r===`true`?s(!0):r===`false`?s(!1):(n.addIssue({code:`invalid_type`,expected:`boolean`,received:`string`}),e.NEVER)}),y(!1)])}function h(){return e.union([e.number(),e.string().transform((t,n)=>{let r=Number(t);return isNaN(r)?(n.addIssue({code:`invalid_type`,expected:`number`,received:`string`}),e.NEVER):s(r)}),y(0)])}function g(t){return e.union([e.literal(t),y(t)])}function _(t){return e.union([e.null().transform(()=>s(void 0)),t]).optional()}function v(t){return e.union([e.null(),e.undefined().transform(()=>ee(null)),t])}function y(t){return e.any().transform((n,r)=>n==null?ee(t):(r.addIssue({code:`invalid_type`,expected:`undefined`,received:`unknown`}),e.NEVER))}const ne=/^\d{4}-\d{2}-\d{2}$/;var re=class e{serialized;static today(){return new e(new Date)}constructor(e){if(typeof e==`string`&&!ne.test(e))throw RangeError(`RFCDate: date strings must be in the format YYYY-MM-DD: `+e);let t=new Date(e);if(isNaN(+t))throw RangeError(`RFCDate: invalid date provided: `+e);if(this.serialized=t.toISOString().slice(0,10),!ne.test(this.serialized))throw TypeError(`RFCDate: failed to build valid date with given value: ${e} serialized to ${this.serialized}`)}toJSON(){return this.toString()}toString(){return this.serialized}};function b(t){return e.unknown().transform((n,r)=>{let i=[],a=t.map(()=>[]),o=u(),s=te();for(let[e,r]of t.entries()){let t=u(),o=te(),s=r.safeParse(n),c=t.end(),l=o.end();if(s.success){i.push({data:s.data,inexactCount:c,zeroDefaultCount:l,fieldCount:-1});continue}a[e].push(...s.error.issues)}if(i.length===0)return o.end(0),s.end(0),r.addIssue({code:`invalid_union`,unionErrors:a.map(t=>new e.ZodError(t))}),e.NEVER;let c=i[0];for(let e of i)i.length>1&&(e.fieldCount=ae(e.data)),c=ie(e,c);return o.end(c.inexactCount),s.end(c.zeroDefaultCount),c.data})}function ie(e,t){let n=e.inexactCount===0;if(n!==(t.inexactCount===0))return n?e:t;let r=e.fieldCount-e.zeroDefaultCount,i=t.fieldCount-t.zeroDefaultCount;return r===i?e.inexactCount<t.inexactCount?e:t:r>i?e:t}function ae(e){let t=0,n=[e],r=0;for(;r<n.length;){let e=n[r++];if(e===void 0)continue;let i=typeof e;if(e===null||i===`number`||i===`string`||i===`boolean`||i===`bigint`||e instanceof Date||e instanceof re){t++;continue}if(Array.isArray(e)){n.push(...e);continue}i===`object`&&n.push(...Object.values(e))}return t}const x=e.nativeEnum({Create:`create`,Delete:`delete`,List:`list`,Read:`read`,Update:`update`}),oe={Container:`container`,Blitzjs:`blitzjs`,Nextjs:`nextjs`,Gatsby:`gatsby`,Remix:`remix`,ReactRouter:`react-router`,Astro:`astro`,Hexo:`hexo`,Eleventy:`eleventy`,Docusaurus2:`docusaurus-2`,Docusaurus:`docusaurus`,Preact:`preact`,Solidstart1:`solidstart-1`,Solidstart:`solidstart`,Dojo:`dojo`,Ember:`ember`,Vue:`vue`,Scully:`scully`,IonicAngular:`ionic-angular`,Angular:`angular`,Polymer:`polymer`,Svelte:`svelte`,Sveltekit:`sveltekit`,Sveltekit1:`sveltekit-1`,IonicReact:`ionic-react`,CreateReactApp:`create-react-app`,Gridsome:`gridsome`,Umijs:`umijs`,Sapper:`sapper`,Saber:`saber`,Stencil:`stencil`,Nuxtjs:`nuxtjs`,Redwoodjs:`redwoodjs`,Hugo:`hugo`,Jekyll:`jekyll`,Brunch:`brunch`,Middleman:`middleman`,Zola:`zola`,Hydrogen:`hydrogen`,Vite:`vite`,TanstackStart:`tanstack-start`,Vitepress:`vitepress`,Vuepress:`vuepress`,Parcel:`parcel`,Fastapi:`fastapi`,Flask:`flask`,Fasthtml:`fasthtml`,Django:`django`,Ash:`ash`,Eve:`eve`,Sanity:`sanity`,SanityV2:`sanity-v2`,Storybook:`storybook`,Nitro:`nitro`,Hono:`hono`,Express:`express`,H3:`h3`,Koa:`koa`,Nestjs:`nestjs`,Elysia:`elysia`,Fastify:`fastify`,Xmcp:`xmcp`,Python:`python`,Ruby:`ruby`,Rust:`rust`,Axum:`axum`,ActixWeb:`actix-web`,Bun:`bun`,Node:`node`,Go:`go`,Services:`services`,Mastra:`mastra`},se={TwentyFourDotX:`24.x`,TwentyTwoDotX:`22.x`,TwentyDotX:`20.x`,EighteenDotX:`18.x`,SixteenDotX:`16.x`,FourteenDotX:`14.x`,TwelveDotX:`12.x`,TenDotX:`10.x`},ce={Enhanced:`enhanced`,Turbo:`turbo`,Standard:`standard`,Elastic:`elastic`},le={SkipNamespaceQueue:`SKIP_NAMESPACE_QUEUE`,WaitForNamespaceQueue:`WAIT_FOR_NAMESPACE_QUEUE`},ue={StandardLegacy:`standard_legacy`,Standard:`standard`,Performance:`performance`,PerformanceXl:`performance_xl`},de={Elastic:`elastic`,Fixed:`fixed`},fe={OomFailure:`oom-failure`,EnospcFailure:`enospc-failure`,BuildTimeoutFailure:`build-timeout-failure`,HighPeakMemory:`high-peak-memory`,SustainedHighCpu:`sustained-high-cpu`,HighPeakDisk:`high-peak-disk`,LongBuildDuration:`long-build-duration`,ShortBuildDuration:`short-build-duration`,EnterpriseFloor:`enterprise-floor`},pe={Production:`production`,Preview:`preview`},me={Internal:`internal`,External:`external`},he={Team:`team`,Global:`global`},ge={All:`all`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`,AllExceptCustomDomains:`all_except_custom_domains`},_e={All:`all`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`,AllExceptCustomDomains:`all_except_custom_domains`},ve={All:`all`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`,AllExceptCustomDomains:`all_except_custom_domains`},ye={All:`all`,Preview:`preview`,Production:`production`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`,AllExceptCustomDomains:`all_except_custom_domains`},be={Exclusive:`exclusive`,Additional:`additional`},xe={AllCustom:`all-custom`},Se={AllCustom:`all-custom`},Ce={AllCustom:`all-custom`},we={AllCustom:`all-custom`},Te={AllCustom:`all-custom`},Ee={AllCustom:`all-custom`},De={Production:`production`,Preview:`preview`},Oe={Github:`github`,Bitbucket:`bitbucket`},ke={Production:`production`,Preview:`preview`},Ae={Git:`git`,Cli:`cli`,RestApi:`rest-api`,DeployHook:`deploy-hook`,Integration:`integration`,V0:`v0`},je={Cancel:`cancel`,Accept:`accept`,Delete:`delete`},Me={A:`A`,Cname:`CNAME`,Dns01:`dns-01`,Http:`http`},Ne={EndsWith:`endsWith`,Equals:`equals`,StartsWith:`startsWith`},Pe={Canceled:`canceled`,Failed:`failed`,Skipped:`skipped`,Succeeded:`succeeded`},Fe={Completed:`completed`,Registered:`registered`,Running:`running`},Ie={Enterprise:`enterprise`,Hobby:`hobby`,Pro:`pro`},Le={Blocked:`BLOCKED`,Building:`BUILDING`,Canceled:`CANCELED`,Error:`ERROR`,Initializing:`INITIALIZING`,Queued:`QUEUED`,Ready:`READY`},Re={Promoted:`PROMOTED`,Rolling:`ROLLING`,Staged:`STAGED`},ze={Lambdas:`LAMBDAS`},Be={Preview:`preview`,Production:`production`},Ve={Preview:`PREVIEW`,Production:`PRODUCTION`,Staging:`STAGING`},He={Preview:`preview`,Production:`production`},Ue={Api:`api`},We={Production:`production`,Preview:`preview`,Development:`development`},Ge={Encrypted:`encrypted`,Plain:`plain`,Secret:`secret`,Sensitive:`sensitive`,System:`system`},Ke={FlagsSecret:`flags-secret`},qe={Development:`development`,Preview:`preview`,Production:`production`},Je={EndsWith:`endsWith`,Equals:`equals`,StartsWith:`startsWith`},Ye={ActixWeb:`actix-web`,Angular:`angular`,Ash:`ash`,Astro:`astro`,Axum:`axum`,Blitzjs:`blitzjs`,Brunch:`brunch`,Bun:`bun`,Container:`container`,CreateReactApp:`create-react-app`,Django:`django`,Docusaurus:`docusaurus`,Docusaurus2:`docusaurus-2`,Dojo:`dojo`,Eleventy:`eleventy`,Elysia:`elysia`,Ember:`ember`,Eve:`eve`,Express:`express`,Fastapi:`fastapi`,Fasthtml:`fasthtml`,Fastify:`fastify`,Flask:`flask`,Gatsby:`gatsby`,Go:`go`,Gridsome:`gridsome`,H3:`h3`,Hexo:`hexo`,Hono:`hono`,Hugo:`hugo`,Hydrogen:`hydrogen`,IonicAngular:`ionic-angular`,IonicReact:`ionic-react`,Jekyll:`jekyll`,Koa:`koa`,Mastra:`mastra`,Middleman:`middleman`,Nestjs:`nestjs`,Nextjs:`nextjs`,Nitro:`nitro`,Node:`node`,Nuxtjs:`nuxtjs`,Parcel:`parcel`,Polymer:`polymer`,Preact:`preact`,Python:`python`,ReactRouter:`react-router`,Redwoodjs:`redwoodjs`,Remix:`remix`,Ruby:`ruby`,Rust:`rust`,Saber:`saber`,Sanity:`sanity`,SanityV2:`sanity-v2`,Sapper:`sapper`,Scully:`scully`,Services:`services`,Solidstart:`solidstart`,Solidstart1:`solidstart-1`,Stencil:`stencil`,Storybook:`storybook`,Svelte:`svelte`,Sveltekit:`sveltekit`,Sveltekit1:`sveltekit-1`,TanstackStart:`tanstack-start`,Umijs:`umijs`,Vite:`vite`,Vitepress:`vitepress`,Vue:`vue`,Vuepress:`vuepress`,Xmcp:`xmcp`,Zola:`zola`},Xe={Cron:`cron`,Job:`job`,Web:`web`,Worker:`worker`},Ze={ActixWeb:`actix-web`,Angular:`angular`,Ash:`ash`,Astro:`astro`,Axum:`axum`,Blitzjs:`blitzjs`,Brunch:`brunch`,Bun:`bun`,Container:`container`,CreateReactApp:`create-react-app`,Django:`django`,Docusaurus:`docusaurus`,Docusaurus2:`docusaurus-2`,Dojo:`dojo`,Eleventy:`eleventy`,Elysia:`elysia`,Ember:`ember`,Eve:`eve`,Express:`express`,Fastapi:`fastapi`,Fasthtml:`fasthtml`,Fastify:`fastify`,Flask:`flask`,Gatsby:`gatsby`,Go:`go`,Gridsome:`gridsome`,H3:`h3`,Hexo:`hexo`,Hono:`hono`,Hugo:`hugo`,Hydrogen:`hydrogen`,IonicAngular:`ionic-angular`,IonicReact:`ionic-react`,Jekyll:`jekyll`,Koa:`koa`,Mastra:`mastra`,Middleman:`middleman`,Nestjs:`nestjs`,Nextjs:`nextjs`,Nitro:`nitro`,Node:`node`,Nuxtjs:`nuxtjs`,Parcel:`parcel`,Polymer:`polymer`,Preact:`preact`,Python:`python`,ReactRouter:`react-router`,Redwoodjs:`redwoodjs`,Remix:`remix`,Ruby:`ruby`,Rust:`rust`,Saber:`saber`,Sanity:`sanity`,SanityV2:`sanity-v2`,Sapper:`sapper`,Scully:`scully`,Services:`services`,Solidstart:`solidstart`,Solidstart1:`solidstart-1`,Stencil:`stencil`,Storybook:`storybook`,Svelte:`svelte`,Sveltekit:`sveltekit`,Sveltekit1:`sveltekit-1`,TanstackStart:`tanstack-start`,Umijs:`umijs`,Vite:`vite`,Vitepress:`vitepress`,Vue:`vue`,Vuepress:`vuepress`,Xmcp:`xmcp`,Zola:`zola`},Qe={EndsWith:`endsWith`,Equals:`equals`,StartsWith:`startsWith`},$e=e.nativeEnum(oe),et=e.nativeEnum(se),tt=e.nativeEnum(ce),nt=e.nativeEnum(le),rt=e.object({configuration:nt.optional()}),it=e.nativeEnum(ue),at=e.nativeEnum(de),ot=e.nativeEnum(fe),st=e.object({buildMachineType:tt.optional(),buildQueue:e.lazy(()=>rt).optional(),fluid:e.boolean().optional(),functionDefaultRegions:e.array(e.string()).optional(),functionDefaultTimeout:e.number().optional(),functionDefaultMemoryType:it.optional(),functionZeroConfigFailover:e.boolean().optional(),elasticConcurrencyEnabled:e.boolean().optional(),buildMachineSelection:at.optional(),buildMachineElasticLastUpdated:e.number().optional(),buildMachineElasticReason:ot.optional(),isNSNBDisabled:e.boolean().optional(),enableFunctionsBeta:e.boolean().optional()}),ct=e.object({enabled:e.boolean()}),lt=e.nativeEnum(pe),ut=e.nativeEnum(me),dt=e.object({rate:e.number(),env:lt.optional(),requestPath:e.string().optional(),destination:ut.optional()}),ft=e.object({domains:e.string().optional(),ignorePaths:e.array(e.string()).optional(),samplingRules:e.array(e.lazy(()=>dt)).optional()}),pt=e.nativeEnum(he),mt=e.object({enabled:e.boolean().default(!0),issuerMode:pt.default(`team`)}),ht=e.nativeEnum(ge),gt=e.object({deploymentType:ht,password:e.nullable(e.string()).optional()}),_t=e.nativeEnum(_e),vt=e.object({connectorId:e.string(),deploymentType:_t.default(`all`)}),yt=e.nativeEnum(ve),bt=e.object({deploymentType:yt.default(`preview`)}),xt=e.nativeEnum(ye),St=e.object({value:e.string(),note:e.string().optional()}),Ct=e.nativeEnum(be),wt=e.object({deploymentType:xt,addresses:e.array(e.lazy(()=>St)),protectionMode:Ct}),Tt=e.nativeEnum(xe),S=e.object({slugs:e.array(e.string()).optional(),preset:Tt}),Et=e.nativeEnum(Se),C=e.object({slugs:e.array(e.string()),preset:Et.optional()});b([e.lazy(()=>C),e.lazy(()=>S)]);const Dt=e.nativeEnum(Ce),w=e.object({slugs:e.array(e.string()).optional(),preset:Dt}),Ot=e.nativeEnum(we),T=e.object({slugs:e.array(e.string()),preset:Ot.optional()});b([e.lazy(()=>T),e.lazy(()=>w)]);const kt=e.object({to:b([e.lazy(()=>C),e.lazy(()=>S)]),from:b([e.lazy(()=>T),e.lazy(()=>w)])}),At=e.object({label:e.string().optional(),customAllow:e.array(e.lazy(()=>kt)).optional()}),jt=e.nativeEnum(Te),E=e.object({slugs:e.array(e.string()).optional(),preset:jt}),Mt=e.nativeEnum(Ee),D=e.object({slugs:e.array(e.string()),preset:Mt.optional()});b([e.lazy(()=>D),e.lazy(()=>E)]);const Nt=e.object({label:e.string().optional(),to:b([e.lazy(()=>D),e.lazy(()=>E)]),claims:e.record(e.array(e.string()))}),O=e.object({projects:e.record(e.lazy(()=>At)).optional(),oidcProviders:e.record(e.array(e.lazy(()=>Nt))).optional()});function Pt(e){return JSON.stringify(O.parse(e))}const k=e.object({type:e.literal(`custom`),environmentId:e.string()}),Ft=e.nativeEnum(De),A=e.object({type:e.literal(`system`),target:Ft});e.union([e.lazy(()=>A),e.lazy(()=>k)]);const j=e.object({provider:e.literal(`gitlab`),namespace:e.string(),project:e.string().optional()}),It=e.nativeEnum(Oe),M=e.object({provider:It,org:e.string(),repo:e.string().optional()});e.union([e.lazy(()=>M).and(e.object({provider:e.literal(`github`)})),e.lazy(()=>M).and(e.object({provider:e.literal(`bitbucket`)})),e.lazy(()=>j)]);const N=e.object({enabled:e.boolean(),environments:e.array(e.union([e.lazy(()=>A),e.lazy(()=>k)])),sources:e.array(e.union([e.lazy(()=>M).and(e.object({provider:e.literal(`github`)})),e.lazy(()=>M).and(e.object({provider:e.literal(`bitbucket`)})),e.lazy(()=>j)]))});b([e.array(e.lazy(()=>N)),e.string()]);const P=e.object({type:e.literal(`custom`),environmentId:e.string()}),Lt=e.nativeEnum(ke),F=e.object({type:e.literal(`system`),target:Lt});e.union([e.lazy(()=>F),e.lazy(()=>P)]);const Rt=e.nativeEnum(Ae),I=e.object({enabled:e.boolean(),environments:e.array(e.union([e.lazy(()=>F),e.lazy(()=>P)])),sources:e.array(Rt)});b([e.array(e.lazy(()=>I)),e.string()]);const L=e.object({gitSources:b([e.array(e.lazy(()=>N)),e.string()]).optional(),deploymentSources:b([e.array(e.lazy(()=>I)),e.string()]).optional()});b([e.lazy(()=>L),e.string()]);const zt=e.object({value:e.string()}),Bt=e.object({paths:e.array(e.lazy(()=>zt))}),R=e.object({envId:e.string(),connectConfigurationId:e.string(),passive:e.boolean(),buildsEnabled:e.boolean()});e.lazy(()=>R);const Vt=e.nativeEnum(je);b([e.number(),e.boolean(),e.string()]),b([e.number(),e.boolean(),e.string()]),e.object({previousValue:b([e.number(),e.boolean(),e.string()]),currentValue:b([e.number(),e.boolean(),e.string()])});const Ht=e.object({key:e.string(),dismissedAt:e.number(),action:Vt,value:e.any().optional()}),Ut=e.object({autoExposeSystemEnvs:e.boolean().optional(),autoAssignCustomDomains:e.boolean().optional(),autoAssignCustomDomainsUpdatedBy:e.string().optional(),buildCommand:e.nullable(e.string()).optional(),commandForIgnoringBuildStep:e.nullable(e.string()).optional(),customerSupportCodeVisibility:e.boolean().optional(),devCommand:e.nullable(e.string()).optional(),directoryListing:e.boolean().optional(),framework:e.nullable($e).optional(),gitForkProtection:e.boolean().optional(),gitLFS:e.boolean().optional(),protectedSourcemaps:e.boolean().optional(),installCommand:e.nullable(e.string()).optional(),name:e.string().optional(),nodeVersion:et.optional(),outputDirectory:e.nullable(e.string()).optional(),previewDeploymentsDisabled:e.nullable(e.boolean()).optional(),previewDeploymentSuffix:e.nullable(e.string()).optional(),resourceConfig:e.lazy(()=>st).optional(),publicSource:e.nullable(e.boolean()).optional(),rootDirectory:e.nullable(e.string()).optional(),serverlessFunctionRegion:e.nullable(e.string()).optional(),serverlessFunctionZeroConfigFailover:e.boolean().optional(),skewProtectionBoundaryAt:e.number().int().optional(),skewProtectionMaxAge:e.number().int().optional(),skewProtectionAllowedDomains:e.array(e.string()).optional(),skipGitConnectDuringLink:e.boolean().optional(),sourceFilesOutsideRootDirectory:e.boolean().optional(),enablePreviewFeedback:e.nullable(e.boolean()).optional(),enableProductionFeedback:e.nullable(e.boolean()).optional(),enableAffectedProjectsDeployments:e.boolean().optional(),enableExternalRewriteCaching:e.boolean().optional(),staticIps:e.lazy(()=>ct).optional(),tracing:e.nullable(e.lazy(()=>ft)).optional(),oidcTokenConfig:e.lazy(()=>mt).optional(),passwordProtection:e.nullable(e.lazy(()=>gt)).optional(),passport:e.nullable(e.lazy(()=>vt)).optional(),ssoProtection:e.nullable(e.lazy(()=>bt)).optional(),trustedIps:e.nullable(e.lazy(()=>wt)).optional(),trustedSources:e.nullable(e.lazy(()=>O)).optional(),deploymentPolicy:b([e.lazy(()=>L),e.string()]).optional(),optionsAllowlist:e.nullable(e.lazy(()=>Bt)).optional(),connectConfigurations:e.nullable(e.array(e.lazy(()=>R))).optional(),dismissedToasts:e.array(e.lazy(()=>Ht)).optional()});e.object({idOrName:e.string(),teamId:e.string().optional(),slug:e.string().optional(),requestBody:e.lazy(()=>Ut)}).transform(e=>t(e,{requestBody:`RequestBody`}));const Wt=e.nativeEnum(Me);b([h(),m()]);const Gt=e.object({code:p(),message:p()}),Kt=e.nativeEnum(Ne),qt=e.object({type:Kt,pattern:p()}),Jt=e.object({use:p(),src:_(p()),dest:_(p())}),Yt=e.nativeEnum(Pe),Xt=e.nativeEnum(Fe),Zt=e.object({email:p(),githubLogin:_(p()),gitlabLogin:_(p()),uid:p(),username:p()}),Qt=e.object({iss:p(),sub:p(),scope:p(),aud:p(),owner:p(),owner_id:p(),project:p(),project_id:p(),environment:p(),custom_environment_id:_(p()),plan:_(p())}).transform(e=>t(e,{owner_id:`ownerId`,project_id:`projectId`,custom_environment_id:`customEnvironmentId`})),$t=e.nativeEnum(Ie),en=e.nativeEnum(Le),tn=e.nativeEnum(Re),nn=e.nativeEnum(ze),rn=e.object({id:p(),alias:_(e.array(p())),aliasAssigned:e.nullable(b([h(),m()])).optional(),aliasError:e.nullable(e.lazy(()=>Gt)).optional(),aliasFinal:e.nullable(p()).optional(),automaticAliases:_(e.array(p())),branchMatcher:_(e.lazy(()=>qt)),buildingAt:_(h()),builds:_(e.array(e.lazy(()=>Jt))),checksConclusion:_(Yt),checksState:_(Xt),connectBuildsEnabled:_(m()),connectConfigurationId:_(p()),createdAt:h(),createdIn:p(),creator:v(e.lazy(()=>Zt)),deletedAt:_(h()),deploymentHostname:p(),forced:_(m()),name:p(),meta:_(e.record(p())),monorepoManager:e.nullable(p()).optional(),oidcTokenClaims:_(e.lazy(()=>Qt)),plan:$t,previewCommentsEnabled:_(m()),private:m(),readyAt:_(h()),readyState:en,readySubstate:_(tn),requestedAt:_(h()),target:e.nullable(p()).optional(),teamId:e.nullable(p()).optional(),type:nn,url:p(),userId:p(),withCache:_(m())}),an=e.nativeEnum(Be),on=e.nativeEnum(Ve);e.object({configuredBy:e.nullable(Wt).optional(),configuredChangedAt:e.nullable(h()).optional(),createdAt:e.nullable(h()).optional(),deployment:v(e.lazy(()=>rn)),domain:p(),environment:an,gitBranch:e.nullable(p()).optional(),redirect:e.nullable(p()).optional(),redirectStatusCode:e.nullable(h()).optional(),target:on}),e.object({id:p(),canceledAt:e.nullable(h()).optional(),disabledAt:h(),enabledAt:h(),paidAt:_(h()),sampleRatePercent:e.nullable(h()).optional(),spendLimitInDollars:e.nullable(h()).optional()}),e.object({id:p(),enabledAt:_(h()),disabledAt:_(h()),canceledAt:_(h()),hasData:_(m()),paidAt:_(h())});const z=e.nativeEnum(He);b([p(),z]);const sn=e.object({subnetIds:e.array(p()),securityGroupId:_(p())});e.object({envId:b([p(),z]),connectConfigurationId:p(),dc:_(p()),passive:m(),buildsEnabled:m(),aws:_(e.lazy(()=>sn)),createdAt:h(),updatedAt:h()});const cn=e.nativeEnum(Ue),ln=e.object({host:p(),path:p(),schedule:p(),source:_(cn),description:_(p()),hostInferred:_(m())});e.object({enabledAt:h(),disabledAt:v(h()),updatedAt:h(),deploymentId:v(p()),definitions:e.array(e.lazy(()=>ln))}),e.object({userDisabled:m(),storageSizeBytes:e.nullable(h()).optional(),unlimited:_(m())}),e.object({expirationDays:_(h()),expirationDaysProduction:_(h()),expirationDaysCanceled:_(h()),expirationDaysErrored:_(h()),deploymentsToKeep:_(h())});const un=e.object({lockedAt:h(),lockedBy:p()}),dn=e.object({expiresAt:h()});b([e.lazy(()=>un),e.lazy(()=>dn)]);const B=e.nativeEnum(We);b([e.array(p()),B]);const fn=e.nativeEnum(Ge),V=e.object({type:g(`flags-connection-string`),projectId:p()}),H=e.object({type:g(`integration-store-secret`),storeId:p(),integrationId:p(),integrationProductId:p(),integrationConfigurationId:p()}),U=e.object({type:g(`postgres-url-no-ssl`),storeId:p()}),W=e.object({type:g(`postgres-database`),storeId:p()}),pn=e.object({type:g(`postgres-password`),storeId:p()}),G=e.object({type:g(`postgres-host`),storeId:p()}),K=e.object({type:g(`postgres-user`),storeId:p()}),q=e.object({type:g(`postgres-prisma-url`),storeId:p()}),J=e.object({type:g(`postgres-url-non-pooling`),storeId:p()}),Y=e.object({type:g(`postgres-url`),storeId:p()}),X=e.object({type:g(`blob-webhook-public-key`),storeId:p()}),Z=e.object({type:g(`blob-store-id`),storeId:p()}),mn=e.object({type:g(`blob-read-write-token`),storeId:p()}),hn=e.object({type:g(`redis-rest-api-read-only-token`),storeId:p()}),gn=e.object({type:g(`redis-rest-api-token`),storeId:p()}),_n=e.object({type:g(`redis-rest-api-url`),storeId:p()}),vn=e.object({type:g(`redis-url`),storeId:p()});e.union([e.lazy(()=>vn),e.lazy(()=>_n),e.lazy(()=>gn),e.lazy(()=>hn),e.lazy(()=>mn),e.lazy(()=>Z),e.lazy(()=>X),e.lazy(()=>Y),e.lazy(()=>J),e.lazy(()=>q),e.lazy(()=>K),e.lazy(()=>G),e.lazy(()=>pn),e.lazy(()=>W),e.lazy(()=>U),e.lazy(()=>H),e.lazy(()=>V)]);const yn=e.nativeEnum(Ke),bn=e.object({type:yn,encryptedValue:p()});e.object({target:_(b([e.array(p()),B])),type:fn,sunsetSecretId:_(p()),legacyValue:_(p()),decrypted:_(m()),value:p(),vsmValue:_(p()),id:_(p()),key:p(),configurationId:e.nullable(p()).optional(),createdAt:_(h()),updatedAt:_(h()),createdBy:e.nullable(p()).optional(),updatedBy:e.nullable(p()).optional(),gitBranch:_(p()),edgeConfigId:e.nullable(p()).optional(),edgeConfigTokenId:e.nullable(p()).optional(),contentHint:e.nullable(e.union([e.lazy(()=>vn),e.lazy(()=>_n),e.lazy(()=>gn),e.lazy(()=>hn),e.lazy(()=>mn),e.lazy(()=>Z),e.lazy(()=>X),e.lazy(()=>Y),e.lazy(()=>J),e.lazy(()=>q),e.lazy(()=>K),e.lazy(()=>G),e.lazy(()=>pn),e.lazy(()=>W),e.lazy(()=>U),e.lazy(()=>H),e.lazy(()=>V)])).optional(),internalContentHint:e.nullable(e.lazy(()=>bn)).optional(),comment:_(p()),customEnvironmentIds:_(e.array(p()))});const xn=e.nativeEnum(qe),Sn=e.nativeEnum(Je),Cn=e.object({type:Sn,pattern:p()}),wn=e.object({type:p(),domain:p(),value:p(),reason:p()}),Tn=e.object({name:p(),apexName:p(),projectId:p(),redirect:e.nullable(p()).optional(),redirectStatusCode:e.nullable(h()).optional(),gitBranch:e.nullable(p()).optional(),customEnvironmentId:e.nullable(p()).optional(),updatedAt:_(h()),createdAt:_(h()),verified:m(),verification:_(e.array(e.lazy(()=>wn)))});e.object({id:p(),slug:p(),type:xn,description:_(p()),branchMatcher:_(e.lazy(()=>Cn)),domains:_(e.array(e.lazy(()=>Tn))),currentDeploymentAliases:_(e.array(p())),createdAt:h(),updatedAt:h()}),e.nativeEnum(Ye);const En=e.nativeEnum(Xe),Dn=e.nativeEnum(Ze);e.object({serviceName:p(),serviceType:_(En),framework:_(Dn),runtime:_(p())}),e.object({bucket:p(),default:_(m()),supportUntil:_(h())});const On=e.object({targets:e.array(p())}),kn=e.object({targets:e.array(p())}),An=e.object({targets:e.array(p())});e.object({lint:_(e.lazy(()=>On)),typecheck:_(e.lazy(()=>kn)),"mfe-config-present":_(e.lazy(()=>An))}).transform(e=>t(e,{"mfe-config-present":`mfeConfigPresent`}));const jn=b([h(),m()]),Mn=e.object({code:p(),message:p()}),Nn=e.nativeEnum(Qe),Pn=e.object({type:Nn,pattern:p()}),Fn={Canceled:`canceled`,Failed:`failed`,Skipped:`skipped`,Succeeded:`succeeded`},In={Completed:`completed`,Registered:`registered`,Running:`running`},Ln={Enterprise:`enterprise`,Hobby:`hobby`,Pro:`pro`},Rn={Blocked:`BLOCKED`,Building:`BUILDING`,Canceled:`CANCELED`,Error:`ERROR`,Initializing:`INITIALIZING`,Queued:`QUEUED`,Ready:`READY`},zn={Promoted:`PROMOTED`,Rolling:`ROLLING`,Staged:`STAGED`},Bn={Lambdas:`LAMBDAS`},Vn={TenDotX:`10.x`,TwelveDotX:`12.x`,FourteenDotX:`14.x`,SixteenDotX:`16.x`,EighteenDotX:`18.x`,TwentyDotX:`20.x`,TwentyTwoDotX:`22.x`,TwentyFourDotX:`24.x`,EightDot10DotX:`8.10.x`},Hn={All:`all`,AllExceptCustomDomains:`all_except_custom_domains`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`},Un={Performance:`performance`,PerformanceXl:`performance_xl`,Standard:`standard`,StandardLegacy:`standard_legacy`},Wn={Enhanced:`enhanced`,Standard:`standard`,Turbo:`turbo`},Gn={Elastic:`elastic`,Fixed:`fixed`},Kn={BuildTimeoutFailure:`build-timeout-failure`,EnospcFailure:`enospc-failure`,EnterpriseFloor:`enterprise-floor`,HighPeakDisk:`high-peak-disk`,HighPeakMemory:`high-peak-memory`,LongBuildDuration:`long-build-duration`,OomFailure:`oom-failure`,ShortBuildDuration:`short-build-duration`,SustainedHighCpu:`sustained-high-cpu`},qn={SkipNamespaceQueue:`SKIP_NAMESPACE_QUEUE`,WaitForNamespaceQueue:`WAIT_FOR_NAMESPACE_QUEUE`},Jn={Performance:`performance`,PerformanceXl:`performance_xl`,Standard:`standard`,StandardLegacy:`standard_legacy`},Yn={Enhanced:`enhanced`,Standard:`standard`,Turbo:`turbo`},Xn={Elastic:`elastic`,Fixed:`fixed`},Zn={BuildTimeoutFailure:`build-timeout-failure`,EnospcFailure:`enospc-failure`,EnterpriseFloor:`enterprise-floor`,HighPeakDisk:`high-peak-disk`,HighPeakMemory:`high-peak-memory`,LongBuildDuration:`long-build-duration`,OomFailure:`oom-failure`,ShortBuildDuration:`short-build-duration`,SustainedHighCpu:`sustained-high-cpu`},Qn={SkipNamespaceQueue:`SKIP_NAMESPACE_QUEUE`,WaitForNamespaceQueue:`WAIT_FOR_NAMESPACE_QUEUE`},$n={All:`all`,AllExceptCustomDomains:`all_except_custom_domains`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`},er={All:`all`,AllExceptCustomDomains:`all_except_custom_domains`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`},tr={All:`all`,AllExceptCustomDomains:`all_except_custom_domains`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`},nr={EndsWith:`endsWith`,Equals:`equals`,StartsWith:`startsWith`},rr={Canceled:`canceled`,Failed:`failed`,Skipped:`skipped`,Succeeded:`succeeded`},ir={Completed:`completed`,Registered:`registered`,Running:`running`},ar={Enterprise:`enterprise`,Hobby:`hobby`,Pro:`pro`},or={Blocked:`BLOCKED`,Building:`BUILDING`,Canceled:`CANCELED`,Error:`ERROR`,Initializing:`INITIALIZING`,Queued:`QUEUED`,Ready:`READY`},sr={Promoted:`PROMOTED`,Rolling:`ROLLING`,Staged:`STAGED`},cr={Lambdas:`LAMBDAS`},lr={Failed:`failed`,InProgress:`in-progress`,Pending:`pending`,Skipped:`skipped`,Succeeded:`succeeded`},ur={Promote:`promote`,Rollback:`rollback`},dr={All:`all`,AllExceptCustomDomains:`all_except_custom_domains`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`,Production:`production`},fr={All:`all`,AllExceptCustomDomains:`all_except_custom_domains`,Preview:`preview`,ProdDeploymentUrlsAndAllPreviews:`prod_deployment_urls_and_all_previews`,Production:`production`},pr={Additional:`additional`,Exclusive:`exclusive`},mr={AllCustom:`all-custom`},hr={AllCustom:`all-custom`},gr={AllCustom:`all-custom`},_r={AllCustom:`all-custom`},vr={AllCustom:`all-custom`},yr={AllCustom:`all-custom`},br={Disabled:`disabled`,Enabled:`enabled`},xr={Challenge:`challenge`,Deny:`deny`,Log:`log`},Sr={Challenge:`challenge`,Deny:`deny`,Log:`log`},Cr={Challenge:`challenge`,Deny:`deny`,Log:`log`},wr={Challenge:`challenge`,Deny:`deny`,Log:`log`},Tr={Challenge:`challenge`,Deny:`deny`,Log:`log`},Er={Wildcard:`*`},Dr={Global:`global`,Team:`team`},Or={Bitbucket:`bitbucket`,Github:`github`},kr={Preview:`preview`,Production:`production`},Ar={Cli:`cli`,DeployHook:`deploy-hook`,Git:`git`,Integration:`integration`,RestApi:`rest-api`,V0:`v0`},jr={Preview:`preview`,Production:`production`},Mr={Advanced:`advanced`,Base:`base`,Critical:`critical`,Standard:`standard`},Nr={Flat:`flat`},Pr={Blocked:`blocked`},Fr=e.object({use:p(),src:_(p()),dest:_(p())}),Ir=e.nativeEnum(Fn),Lr=e.nativeEnum(In),Rr=e.object({email:p(),githubLogin:_(p()),gitlabLogin:_(p()),uid:p(),username:p()}),zr=e.object({iss:p(),sub:p(),scope:p(),aud:p(),owner:p(),owner_id:p(),project:p(),project_id:p(),environment:p(),custom_environment_id:_(p()),plan:_(p())}).transform(e=>t(e,{owner_id:`ownerId`,project_id:`projectId`,custom_environment_id:`customEnvironmentId`})),Br=e.nativeEnum(Ln),Vr=e.nativeEnum(Rn),Hr=e.nativeEnum(zn),Ur=e.nativeEnum(Bn);e.object({id:p(),alias:_(e.array(p())),aliasAssigned:e.nullable(jn).optional(),aliasError:e.nullable(Mn).optional(),aliasFinal:e.nullable(p()).optional(),automaticAliases:_(e.array(p())),branchMatcher:_(Pn),buildingAt:_(h()),builds:_(e.array(e.lazy(()=>Fr))),checksConclusion:_(Ir),checksState:_(Lr),connectBuildsEnabled:_(m()),connectConfigurationId:_(p()),createdAt:h(),createdIn:p(),creator:v(e.lazy(()=>Rr)),deletedAt:_(h()),deploymentHostname:p(),forced:_(m()),name:p(),meta:_(e.record(p())),monorepoManager:e.nullable(p()).optional(),oidcTokenClaims:_(e.lazy(()=>zr)),plan:Br,previewCommentsEnabled:_(m()),private:m(),readyAt:_(h()),readyState:Vr,readySubstate:_(Hr),requestedAt:_(h()),target:e.nullable(p()).optional(),teamId:e.nullable(p()).optional(),type:Ur,url:p(),userId:p(),withCache:_(m())});const Wr=e.object({createdAt:_(h()),id:p(),name:p(),ref:p(),url:p()}),Gr=e.object({org:p(),repo:p(),type:g(`vercel`),createdAt:_(h()),deployHooks:e.array(e.lazy(()=>Wr)),gitCredentialId:p(),updatedAt:_(h()),sourceless:_(m()),productionBranch:p()}),Kr=e.object({createdAt:_(h()),id:p(),name:p(),ref:p(),url:p()}),qr=e.object({name:p(),slug:p(),owner:p(),type:g(`bitbucket`),uuid:p(),workspaceUuid:p(),createdAt:_(h()),deployHooks:e.array(e.lazy(()=>Kr)),gitCredentialId:p(),updatedAt:_(h()),sourceless:_(m()),productionBranch:p()}),Jr=e.object({createdAt:_(h()),id:p(),name:p(),ref:p(),url:p()}),Yr=e.object({projectId:p(),projectName:p(),projectNameWithNamespace:p(),projectNamespace:p(),projectOwnerId:_(h()),projectUrl:p(),type:g(`gitlab`),createdAt:_(h()),deployHooks:e.array(e.lazy(()=>Jr)),gitCredentialId:p(),updatedAt:_(h()),sourceless:_(m()),productionBranch:p()}),Xr=e.object({createdAt:_(h()),id:p(),name:p(),ref:p(),url:p()}),Zr=e.object({org:p(),repoOwnerId:_(h()),repo:_(p()),repoId:_(h()),type:g(`github-custom-host`),host:p(),createdAt:_(h()),deployHooks:e.array(e.lazy(()=>Xr)),gitCredentialId:p(),updatedAt:_(h()),sourceless:_(m()),productionBranch:p()}),Qr=e.object({createdAt:_(h()),id:p(),name:p(),ref:p(),url:p()}),$r=e.object({type:g(`github-limited`),repo:_(p()),repoId:_(h()),createdAt:_(h()),updatedAt:_(h()),org:p(),repoOwnerId:_(h()),deployHooks:e.array(e.lazy(()=>Qr)),gitCredentialId:p(),sourceless:_(m()),productionBranch:p()}),ei=e.object({createdAt:_(h()),id:p(),name:p(),ref:p(),url:p()}),ti=e.object({org:p(),repoOwnerId:_(h()),repo:_(p()),repoId:_(h()),type:g(`github`),createdAt:_(h()),deployHooks:e.array(e.lazy(()=>ei)),gitCredentialId:p(),updatedAt:_(h()),sourceless:_(m()),productionBranch:p()});e.union([e.lazy(()=>ti),e.lazy(()=>$r),e.lazy(()=>Zr),e.lazy(()=>Yr),e.lazy(()=>qr),e.lazy(()=>Gr)]);const ni=e.object({updatedAt:h(),groupIds:e.array(e.any()),enabled:g(!1),freeProjectForLegacyLimits:_(m())}),ri=e.object({isDefaultApp:_(g(!1)),routeObservabilityToThisProject:_(m()),doNotRouteWithMicrofrontendsRouting:_(m()),updatedAt:h(),groupIds:e.array(p()),enabled:g(!0),defaultRoute:_(p()),freeProjectForLegacyLimits:_(m())}),ii=e.object({isDefaultApp:g(!0),updatedAt:h(),groupIds:e.array(p()),enabled:g(!0),defaultRoute:_(p()),freeProjectForLegacyLimits:_(m())});b([e.lazy(()=>ii),e.lazy(()=>ri),e.lazy(()=>ni)]),e.nativeEnum(Vn);const ai=e.object({value:p()});e.object({paths:e.array(e.lazy(()=>ai))}),e.object({});const oi=e.nativeEnum(Hn);e.object({deploymentType:oi,connectorId:p()});const si=e.object({inheritDeploymentProtection:_(m())});e.object({sandboxUrls:_(e.lazy(()=>si))});const ci=e.nativeEnum(Un),li=e.nativeEnum(Wn),ui=e.nativeEnum(Gn),di=e.nativeEnum(Kn),fi=e.nativeEnum(qn),pi=e.object({configuration:_(fi)});e.object({elasticConcurrencyEnabled:_(m()),fluid:_(m()),functionDefaultRegions:e.array(p()),functionDefaultTimeout:_(h()),functionDefaultMemoryType:_(ci),functionZeroConfigFailover:_(m()),buildMachineType:_(li),buildMachineSelection:_(ui),buildMachineElasticLastUpdated:_(h()),buildMachineElasticReason:_(di),isNSNBDisabled:_(m()),buildQueue:_(e.lazy(()=>pi)),enableFunctionsBeta:_(m())}),e.object({userId:p(),username:p(),description:p(),createdAt:h()});const mi=e.object({targetPercentage:h(),requireApproval:_(m()),duration:_(h()),linearShift:_(m())});e.object({target:p(),stages:e.nullable(e.array(e.lazy(()=>mi))).optional(),canaryResponseHeader:_(m())});const hi=e.nativeEnum(Jn),gi=e.nativeEnum(Yn),_i=e.nativeEnum(Xn),vi=e.nativeEnum(Zn),yi=e.nativeEnum(Qn),bi=e.object({configuration:_(yi)});e.object({elasticConcurrencyEnabled:_(m()),fluid:_(m()),functionDefaultRegions:e.array(p()),functionDefaultTimeout:_(h()),functionDefaultMemoryType:_(hi),functionZeroConfigFailover:_(m()),buildMachineType:_(gi),buildMachineSelection:_(_i),buildMachineElasticLastUpdated:_(h()),buildMachineElasticReason:_(vi),isNSNBDisabled:_(m()),buildQueue:_(e.lazy(()=>bi)),enableFunctionsBeta:_(m())}),e.object({builds:m(),enabled:m(),regions:e.array(p())});const xi=e.nativeEnum($n),Si=e.nativeEnum(er),Ci=e.nativeEnum(tr);e.object({deploymentType:xi,cve55182MigrationAppliedFrom:e.nullable(Si).optional(),april2026SecurityIncidentMigrationAppliedFrom:e.nullable(Ci).optional()}),b([h(),m()]);const wi=e.object({code:p(),message:p()}),Ti=e.nativeEnum(nr),Ei=e.object({type:Ti,pattern:p()}),Di=e.object({use:p(),src:_(p()),dest:_(p())}),Oi=e.nativeEnum(rr),ki=e.nativeEnum(ir),Ai=e.object({email:p(),githubLogin:_(p()),gitlabLogin:_(p()),uid:p(),username:p()}),ji=e.object({iss:p(),sub:p(),scope:p(),aud:p(),owner:p(),owner_id:p(),project:p(),project_id:p(),environment:p(),custom_environment_id:_(p()),plan:_(p())}).transform(e=>t(e,{owner_id:`ownerId`,project_id:`projectId`,custom_environment_id:`customEnvironmentId`})),Mi=e.nativeEnum(ar),Ni=e.nativeEnum(or),Pi=e.nativeEnum(sr),Fi=e.nativeEnum(cr);e.object({id:p(),alias:_(e.array(p())),aliasAssigned:e.nullable(b([h(),m()])).optional(),aliasError:e.nullable(e.lazy(()=>wi)).optional(),aliasFinal:e.nullable(p()).optional(),automaticAliases:_(e.array(p())),branchMatcher:_(e.lazy(()=>Ei)),buildingAt:_(h()),builds:_(e.array(e.lazy(()=>Di))),checksConclusion:_(Oi),checksState:_(ki),connectBuildsEnabled:_(m()),connectConfigurationId:_(p()),createdAt:h(),createdIn:p(),creator:v(e.lazy(()=>Ai)),deletedAt:_(h()),deploymentHostname:p(),forced:_(m()),name:p(),meta:_(e.record(p())),monorepoManager:e.nullable(p()).optional(),oidcTokenClaims:_(e.lazy(()=>ji)),plan:Mi,previewCommentsEnabled:_(m()),private:m(),readyAt:_(h()),readyState:Ni,readySubstate:_(Pi),requestedAt:_(h()),target:e.nullable(p()).optional(),teamId:e.nullable(p()).optional(),type:Fi,url:p(),userId:p(),withCache:_(m())}),e.object({oauth2Connection:_(e.array(x)),user:_(e.array(x)),userConnection:_(e.array(x)),userMfaConfiguration:_(e.array(x)),userPreference:_(e.array(x)),userSudo:_(e.array(x)),webAuthn:_(e.array(x)),accessGroup:_(e.array(x)),agent:_(e.array(x)),aiGatewayApiKey:_(e.array(x)),aiGatewayApiKeyOwnedBySelf:_(e.array(x)),aiGatewayCredits:_(e.array(x)),aiGatewayPrivateModels:_(e.array(x)),aiGatewayRules:_(e.array(x)),aiGatewaySettings:_(e.array(x)),aiGatewayUsage:_(e.array(x)),alerts:_(e.array(x)),alertRules:_(e.array(x)),aliasGlobal:_(e.array(x)),analyticsSampling:_(e.array(x)),analyticsUsage:_(e.array(x)),apiKey:_(e.array(x)),apiKeyAiGateway:_(e.array(x)),apiKeyOwnedBySelf:_(e.array(x)),oauth2Application:_(e.array(x)),vercelAppInstallation:_(e.array(x)),vercelAppInstallationRequest:_(e.array(x)),auditLog:_(e.array(x)),billingAddress:_(e.array(x)),billingInformation:_(e.array(x)),billingInvoice:_(e.array(x)),billingInvoiceEmailRecipient:_(e.array(x)),billingInvoiceLanguage:_(e.array(x)),billingPlan:_(e.array(x)),billingPurchaseOrder:_(e.array(x)),billingRefund:_(e.array(x)),billingTaxId:_(e.array(x)),blob:_(e.array(x)),blobStoreTokenSet:_(e.array(x)),budget:_(e.array(x)),cacheArtifact:_(e.array(x)),cacheArtifactUsageEvent:_(e.array(x)),codeChecks:_(e.array(x)),codeOwners:_(e.array(x)),ciInvocations:_(e.array(x)),ciLogs:_(e.array(x)),concurrentBuilds:_(e.array(x)),connect:_(e.array(x)),connectConfiguration:_(e.array(x)),connexClient:_(e.array(x)),connexClientProject:_(e.array(x)),connexToken:_(e.array(x)),buildMachineDefault:_(e.array(x)),dataCacheBillingSettings:_(e.array(x)),defaultDeploymentProtection:_(e.array(x)),deploymentPolicy:_(e.array(x)),domain:_(e.array(x)),domainAcceptDelegation:_(e.array(x)),domainAuthCodes:_(e.array(x)),domainCertificate:_(e.array(x)),domainCheckConfig:_(e.array(x)),domainMove:_(e.array(x)),domainPurchase:_(e.array(x)),domainRecord:_(e.array(x)),domainTransferIn:_(e.array(x)),drain:_(e.array(x)),edgeConfig:_(e.array(x)),edgeConfigItem:_(e.array(x)),edgeConfigSchema:_(e.array(x)),edgeConfigToken:_(e.array(x)),endpointVerification:_(e.array(x)),event:_(e.array(x)),fileUpload:_(e.array(x)),flagsExplorerSubscription:_(e.array(x)),gitRepository:_(e.array(x)),imageOptimizationNewPrice:_(e.array(x)),integration:_(e.array(x)),integrationAccount:_(e.array(x)),integrationConfiguration:_(e.array(x)),integrationConfigurationProjects:_(e.array(x)),integrationConfigurationRole:_(e.array(x)),integrationConfigurationTransfer:_(e.array(x)),integrationDeploymentAction:_(e.array(x)),integrationEvent:_(e.array(x)),integrationLog:_(e.array(x)),integrationResource:_(e.array(x)),integrationResourceData:_(e.array(x)),integrationResourceReplCommand:_(e.array(x)),integrationResourceSecrets:_(e.array(x)),integrationSSOSession:_(e.array(x)),integrationStrict:_(e.array(x)),integrationStoreTokenSet:_(e.array(x)),integrationVercelConfigurationOverride:_(e.array(x)),integrationPullRequest:_(e.array(x)),ipBlocking:_(e.array(x)),jobGlobal:_(e.array(x)),kmsIssuer:_(e.array(x)),kmsProjectGrant:_(e.array(x)),logDrain:_(e.array(x)),marketplaceBillingData:_(e.array(x)),marketplaceExperimentationEdgeConfigData:_(e.array(x)),marketplaceExperimentationItem:_(e.array(x)),marketplaceInstallationMember:_(e.array(x)),marketplaceInvoice:_(e.array(x)),marketplaceSettings:_(e.array(x)),Monitoring:_(e.array(x)),monitoringAlert:_(e.array(x)),monitoringChart:_(e.array(x)),monitoringQuery:_(e.array(x)),monitoringSettings:_(e.array(x)),notificationCustomerBudget:_(e.array(x)),notificationDeploymentFailed:_(e.array(x)),notificationDomainConfiguration:_(e.array(x)),notificationDomainExpire:_(e.array(x)),notificationDomainMoved:_(e.array(x)),notificationDomainPurchase:_(e.array(x)),notificationDomainRenewal:_(e.array(x)),notificationDomainTransfer:_(e.array(x)),notificationDomainUnverified:_(e.array(x)),NotificationMonitoringAlert:_(e.array(x)),notificationPaymentFailed:_(e.array(x)),notificationPreferences:_(e.array(x)),notificationStatementOfReasons:_(e.array(x)),notificationUsageAlert:_(e.array(x)),oidcFederationPolicy:_(e.array(x)),observabilityConfiguration:_(e.array(x)),observabilityFunnel:_(e.array(x)),observabilityNotebook:_(e.array(x)),openTelemetryEndpoint:_(e.array(x)),ownEvent:_(e.array(x)),organization:_(e.array(x)),organizationDomain:_(e.array(x)),organizationTeam:_(e.array(x)),passwordProtectionInvoiceItem:_(e.array(x)),paymentMethod:_(e.array(x)),permissions:_(e.array(x)),postgres:_(e.array(x)),postgresStoreTokenSet:_(e.array(x)),previewDeploymentSuffix:_(e.array(x)),privateCloudAccount:_(e.array(x)),projectTransferIn:_(e.array(x)),proTrialOnboarding:_(e.array(x)),rateLimit:_(e.array(x)),redis:_(e.array(x)),redisStoreTokenSet:_(e.array(x)),remoteCaching:_(e.array(x)),repository:_(e.array(x)),samlConfig:_(e.array(x)),secret:_(e.array(x)),securityConfig:_(e.array(x)),sensitiveEnvironmentVariablePolicy:_(e.array(x)),sharedEnvVars:_(e.array(x)),sharedEnvVarsProduction:_(e.array(x)),space:_(e.array(x)),spaceRun:_(e.array(x)),storeIsLocked:_(e.array(x)),storeTokenSetSensitive:_(e.array(x)),storeTransfer:_(e.array(x)),supportCase:_(e.array(x)),supportCaseComment:_(e.array(x)),team:_(e.array(x)),teamAccessRequest:_(e.array(x)),teamFellowMembership:_(e.array(x)),teamGitExclusivity:_(e.array(x)),teamInvite:_(e.array(x)),teamInviteCode:_(e.array(x)),teamInviteLink:_(e.array(x)),teamJoin:_(e.array(x)),teamMemberMfaStatus:_(e.array(x)),teamMicrofrontends:_(e.array(x)),teamOwnMembership:_(e.array(x)),teamOwnMembershipDisconnectSAML:_(e.array(x)),teamSudo:_(e.array(x)),teamTokenInvalidation:_(e.array(x)),token:_(e.array(x)),toolbarComment:_(e.array(x)),usage:_(e.array(x)),usageCycle:_(e.array(x)),vcrRepository:_(e.array(x)),vercelRun:_(e.array(x)),vpcPeeringConnection:_(e.array(x)),webAnalyticsPlan:_(e.array(x)),webhook:_(e.array(x)),"webhook-event":_(e.array(x)),aliasProject:_(e.array(x)),aliasProtectionBypass:_(e.array(x)),bulkRedirects:_(e.array(x)),buildMachine:_(e.array(x)),connectConfigurationLink:_(e.array(x)),dataCacheNamespace:_(e.array(x)),deployment:_(e.array(x)),deploymentBuildLogs:_(e.array(x)),deploymentCheck:_(e.array(x)),deploymentCheckPreview:_(e.array(x)),deploymentCheckReRunFromProductionBranch:_(e.array(x)),deploymentProductionGit:_(e.array(x)),deploymentV0:_(e.array(x)),deploymentPreview:_(e.array(x)),deploymentPrivate:_(e.array(x)),deploymentPromote:_(e.array(x)),deploymentRollback:_(e.array(x)),edgeCacheNamespace:_(e.array(x)),environments:_(e.array(x)),job:_(e.array(x)),logs:_(e.array(x)),logsPreset:_(e.array(x)),observabilityData:_(e.array(x)),onDemandBuild:_(e.array(x)),onDemandConcurrency:_(e.array(x)),optionsAllowlist:_(e.array(x)),passwordProtection:_(e.array(x)),privateLinkEndpoint:_(e.array(x)),productionAliasProtectionBypass:_(e.array(x)),project:_(e.array(x)),projectAccessGroup:_(e.array(x)),projectAnalyticsSampling:_(e.array(x)),projectAnalyticsUsage:_(e.array(x)),projectCheck:_(e.array(x)),projectCheckRun:_(e.array(x)),projectDeploymentExpiration:_(e.array(x)),projectDeploymentHook:_(e.array(x)),projectDeploymentProtectionStrict:_(e.array(x)),projectDomain:_(e.array(x)),projectDomainCheckConfig:_(e.array(x)),projectDomainMove:_(e.array(x)),projectEvent:_(e.array(x)),projectEnvVars:_(e.array(x)),projectEnvVarsProduction:_(e.array(x)),projectEnvVarsUnownedByIntegration:_(e.array(x)),projectFlags:_(e.array(x)),projectFlagsProduction:_(e.array(x)),projectFlagsSdkKey:_(e.array(x)),projectFromV0:_(e.array(x)),projectId:_(e.array(x)),projectIntegrationConfiguration:_(e.array(x)),projectLink:_(e.array(x)),projectMember:_(e.array(x)),projectMonitoring:_(e.array(x)),projectOIDCToken:_(e.array(x)),projectPermissions:_(e.array(x)),projectProductionBranch:_(e.array(x)),projectProtectionBypass:_(e.array(x)),projectRollingRelease:_(e.array(x)),projectRoutes:_(e.array(x)),projectSupportCase:_(e.array(x)),projectSupportCaseComment:_(e.array(x)),projectTier:_(e.array(x)),projectTransfer:_(e.array(x)),projectTransferOut:_(e.array(x)),projectUsage:_(e.array(x)),pageIntegrity:_(e.array(x)),seawallConfig:_(e.array(x)),securityPlusConfiguration:_(e.array(x)),shareableLinkStrict:_(e.array(x)),sharedEnvVarConnection:_(e.array(x)),skewProtection:_(e.array(x)),analytics:_(e.array(x)),trustedIps:_(e.array(x)),trustedSources:_(e.array(x)),v0Chat:_(e.array(x)),webAnalytics:_(e.array(x))}).transform(e=>t(e,{Monitoring:`monitoring`,NotificationMonitoringAlert:`notificationMonitoringAlert`,"webhook-event":`webhookEvent`,projectFlagsSdkKey:`projectFlagsSDKKey`})),e.object({});const Ii=e.nativeEnum(lr),Li=e.nativeEnum(ur);e.object({fromDeploymentId:v(p()),toDeploymentId:p(),fromRollingReleaseId:_(p()),jobStatus:Ii,requestedAt:h(),type:Li});const Ri=e.object({createdAt:h(),createdBy:p(),scope:g(`automation-bypass`),isEnvVar:_(m()),note:_(p())}),zi=e.object({createdAt:h(),createdBy:p(),scope:g(`integration-automation-bypass`),integrationId:p(),configurationId:p()});e.union([e.lazy(()=>zi),e.lazy(()=>Ri)]);const Bi=e.nativeEnum(dr),Vi=e.object({deploymentType:Bi}),Hi=e.nativeEnum(fr),Ui=e.object({value:p(),note:_(p())}),Wi=e.nativeEnum(pr),Gi=e.object({deploymentType:Hi,addresses:e.array(e.lazy(()=>Ui)),protectionMode:Wi});b([e.lazy(()=>Gi),e.lazy(()=>Vi)]);const Ki=e.nativeEnum(mr),qi=e.object({slugs:_(e.array(p())),preset:Ki}),Ji=e.nativeEnum(hr),Yi=e.object({slugs:e.array(p()),preset:_(Ji)});b([e.lazy(()=>Yi),e.lazy(()=>qi)]);const Xi=e.nativeEnum(gr),Zi=e.object({slugs:_(e.array(p())),preset:Xi}),Qi=e.nativeEnum(_r),$i=e.object({slugs:e.array(p()),preset:_(Qi)});b([e.lazy(()=>$i),e.lazy(()=>Zi)]);const ea=e.object({from:b([e.lazy(()=>Yi),e.lazy(()=>qi)]),to:b([e.lazy(()=>$i),e.lazy(()=>Zi)])}),ta=e.object({label:_(p()),customAllow:_(e.array(e.lazy(()=>ea)))}),na=e.nativeEnum(vr),ra=e.object({slugs:_(e.array(p())),preset:na}),ia=e.nativeEnum(yr),aa=e.object({slugs:e.array(p()),preset:_(ia)});b([e.lazy(()=>aa),e.lazy(()=>ra)]);const oa=e.object({to:b([e.lazy(()=>aa),e.lazy(()=>ra)]),label:_(p()),claims:e.record(e.array(p()))}),sa=e.object({projects:_(e.record(e.lazy(()=>ta))),oidcProviders:_(e.record(e.array(e.lazy(()=>oa))))});function ca(e){return o(e,e=>sa.parse(JSON.parse(e)),`Failed to parse 'UpdateProjectTrustedSources' from JSON`)}e.object({onPullRequest:m(),onCommit:m()});const la=e.nativeEnum(br),ua=e.object({enabled:m(),propagateFailures:m()});e.object({createDeployments:la,disableRepositoryDispatchEvents:_(m()),requireVerifiedCommits:_(m()),gitCommitStatus:_(m()),consolidatedGitCommitStatus:_(e.lazy(()=>ua))}),e.object({id:p(),disabledAt:_(h()),canceledAt:_(h()),enabledAt:_(h()),hasData:_(g(!0))});const da=e.nativeEnum(xr),fa=e.object({active:m(),action:_(da)}),pa=e.nativeEnum(Sr),ma=e.object({active:m(),action:_(pa)}),ha=e.nativeEnum(Cr),ga=e.object({active:m(),action:_(ha)}),_a=e.nativeEnum(wr),va=e.object({active:m(),action:_(_a)}),ya=e.nativeEnum(Tr),ba=e.object({active:m(),action:_(ya)}),xa=e.object({vercel_ruleset:e.lazy(()=>fa),traffic_sources:e.lazy(()=>ma),bot_filter:e.lazy(()=>ga),ai_bots:e.lazy(()=>va),owasp:e.lazy(()=>ba)}).transform(e=>t(e,{vercel_ruleset:`vercelRuleset`,traffic_sources:`trafficSources`,bot_filter:`botFilter`,ai_bots:`aiBots`})),Q=e.nativeEnum(Er);b([e.array(p()),Q]);const Sa=e.object({updatedAt:h(),firstEnabledAt:_(h())});e.object({attackModeEnabled:_(m()),attackModeUpdatedAt:_(h()),firewallEnabled:_(m()),firewallUpdatedAt:_(h()),attackModeActiveUntil:e.nullable(h()).optional(),firewallConfigVersion:_(h()),firewallSeawallEnabled:_(m()),ja3Enabled:_(m()),ja4Enabled:_(m()),firewallBypassIps:_(e.array(p())),managedRules:e.nullable(e.lazy(()=>xa)).optional(),botIdEnabled:_(m()),log_headers:_(b([e.array(p()),Q])),securityPlus:_(m()),securityPlusMetadata:_(e.lazy(()=>Sa)),pageIntegrityEnabled:_(m())}).transform(e=>t(e,{log_headers:`logHeaders`}));const Ca=e.nativeEnum(Dr);e.object({enabled:_(m()),issuerMode:_(Ca)});const wa=e.object({provider:g(`gitlab`),namespace:p(),project:_(p())}),Ta=e.nativeEnum(Or),$=e.object({provider:Ta,org:p(),repo:_(p())});e.union([e.lazy(()=>$).and(e.object({provider:e.literal(`bitbucket`)})),e.lazy(()=>$).and(e.object({provider:e.literal(`github`)})),e.lazy(()=>wa)]);const Ea=e.object({type:g(`custom`),environmentId:p()}),Da=e.nativeEnum(kr),Oa=e.object({type:g(`system`),target:Da});e.union([e.lazy(()=>Oa),e.lazy(()=>Ea)]);const ka=e.object({sources:e.array(e.union([e.lazy(()=>$).and(e.object({provider:e.literal(`bitbucket`)})),e.lazy(()=>$).and(e.object({provider:e.literal(`github`)})),e.lazy(()=>wa)])),enabled:m(),environments:e.array(e.union([e.lazy(()=>Oa),e.lazy(()=>Ea)]))}),Aa=e.nativeEnum(Ar),ja=e.object({type:g(`custom`),environmentId:p()}),Ma=e.nativeEnum(jr),Na=e.object({type:g(`system`),target:Ma});e.union([e.lazy(()=>Na),e.lazy(()=>ja)]);const Pa=e.object({sources:e.array(Aa),enabled:m(),environments:e.array(e.union([e.lazy(()=>Na),e.lazy(()=>ja)]))});e.object({gitSources:e.nullable(e.array(e.lazy(()=>ka))).optional(),deploymentSources:e.nullable(e.array(e.lazy(()=>Pa))).optional()}),e.nativeEnum(Mr);const Fa=e.nativeEnum(Nr);e.object({kind:Fa,exceededAllowanceUntil:_(h()),bypassThrottleUntil:_(h()),throttled:_(m())}),e.object({webAnalytics:_(m())}),e.object({scanner:p(),reason:p(),by:p(),byId:p(),at:h()});const Ia=e.nativeEnum(Pr);e.object({action:Ia,reason:p(),statusCode:h(),createdAt:h(),caseId:_(p()),actor:_(p()),comment:_(p()),ineligibleForAppeal:_(m()),isCascading:_(m())});export{Pt as trustedSourcesToJSON,ca as updateProjectTrustedSourcesFromJSON};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../_chunks/workflow/dist-
|
|
1
|
+
import"../../_chunks/workflow/dist-CNT2vjZ4.js";import{An as e,Kn as t,Vn as n}from"../../_chunks/workflow/logger-Bzc8jWWj.js";import{i as r,u as i}from"../../_chunks/workflow/dist-DtXwQbZr.js";import{G as a,W as o,b as s,ct as c,i as l,it as u,lt as d,nt as f,rt as p,st as m,tt as h,ut as g,w as _}from"../../_chunks/workflow/serialization-HCDeQWcR.js";import{a as v,i as y,r as b,t as x}from"../../_chunks/workflow/attribute-changes-89Nwz7XW.js";import{n as S}from"../../_chunks/workflow/resume-hook-BmJ263ZR.js";import{t as C}from"../../_chunks/workflow/sleep-Bi508qmg.js";function w(e){y(`createHook()`,`https://workflow-sdk.dev/docs/api-reference/workflow/create-hook`,w)}function T(e){y(`createWebhook()`,`https://workflow-sdk.dev/docs/api-reference/workflow/create-webhook`,T)}function E({schema:e}={}){function t(e){y(`defineHook().create()`,`https://workflow-sdk.dev/docs/api-reference/workflow/define-hook`,t)}return{create:t,async resume(t,n){if(!e?.[`~standard`])return await S(t,n);let r=e[`~standard`].validate(n);if(r instanceof Promise&&(r=await r),r.issues){let e=r.issues.map(e=>{let t=e.path?.map(e=>String(typeof e==`object`&&e?e.key:e)).join(`.`);return t?` at "${t}": ${e.message}`:` ${e.message}`});throw Error(`Hook payload did not match the defined schema:\n${e.join(`
|
|
2
2
|
`)}`)}return await S(t,r.value)}}}async function D(e,n={}){let i=a.getStore(),o=i?.workflowMetadata?.workflowRunId;if(!o)throw new r(`setAttributes() must be called from a 'use workflow' or 'use step' function. Calling it from plain host code is not supported.`);let s={type:`step`,stepId:i.stepMetadata.stepId,attempt:i.stepMetadata.attempt},c=x(e,n,s);if(c.length!==0){if(i.runReadyBarrier)try{await i.runReadyBarrier}catch{}await(await t()).events.create(o,{eventType:`attr_set`,specVersion:7,eventData:{changes:c,writer:s,...n.allowReservedAttributes===!0?{allowReservedAttributes:!0}:{}}})}}function O(){let e=a.getStore();return e||b(`getStepMetadata()`,`https://workflow-sdk.dev/docs/api-reference/workflow/get-step-metadata`,O),e.stepMetadata}function k(){let e=a.getStore();return e||v(`getWorkflowMetadata()`,`https://workflow-sdk.dev/docs/api-reference/workflow/get-workflow-metadata`,k),e.workflowMetadata}function A(t={}){let r=a.getStore();r||v(`getWritable()`,`https://workflow-sdk.dev/docs/api-reference/workflow/get-writable`,A);let{namespace:i}=t,y=r.workflowMetadata.workflowRunId,b=o(y,i);r.writables??=new Map;let x=r.writables,S=x.get(b);if(S)return S.writable;let C=h();C.deferReleaseSettlement=r.streamStates!==void 0;let w=_(s(globalThis,r.ops,y,r.encryptionKey,!0,r.runReadyBarrier),r.encryptionKey),T=new l(y,b,r.runReadyBarrier);r.streamStates??=[],r.streamStates.push(C),r.ops.push(C.promise),f(w.readable,T,C).catch(()=>{});let E=u(w.writable,C);return p(E,C),Object.defineProperty(E,m,{value:b,writable:!1}),Object.defineProperty(E,g,{value:y,writable:!1}),r.workflowDeploymentId&&Object.defineProperty(E,c,{value:r.workflowDeploymentId,writable:!1}),e(r.encryptionKey)&&Object.defineProperty(E,d,{value:n(r.encryptionKey.keyPair.publicKey),writable:!1}),x.set(b,{writable:E,state:C}),E}export{r as FatalError,i as RetryableError,w as createHook,T as createWebhook,E as defineHook,O as getStepMetadata,k as getWorkflowMetadata,A as getWritable,D as setAttributes,C as sleep};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as e}from"../../_chunks/workflow/dist-
|
|
1
|
+
import{k as e}from"../../_chunks/workflow/dist-DtXwQbZr.js";import{i as t,n}from"../../_chunks/workflow/global-DIlFoH2w.js";const r=Symbol.for(`@workflow/core//registeredSteps`),i=globalThis,a=i[r]??=new Map,o=new Set([`__builtin_response_array_buffer`,`__builtin_response_json`,`__builtin_response_text`]);function s(e){let t=e.split(`//`);if(t.length!==3||t[0]!==`step`)return[];let n=t[1],r=t[2],i=new Set,a=e=>{e!==n&&i.add(e)};if(n.startsWith(`./workflows/`)){let e=n.slice(2);a(`./example/${e}`),a(`./src/${e}`)}else if(n.startsWith(`./example/workflows/`)){let e=n.slice(10);a(`./${e}`),a(`./src/${e}`)}else if(n.startsWith(`./src/workflows/`)){let e=n.slice(6);a(`./${e}`),a(`./example/${e}`)}return Array.from(i,e=>`step//${e}//${r}`)}function c(e){if(o.has(e)){for(let[t,n]of a.entries())if(t.endsWith(`//${e}`))return n}}function l(e,t){a.set(e,t),t.stepId=e}function u(e){let t=a.get(e);if(t)return t;for(let t of s(e)){let e=a.get(t);if(e)return e}let n=c(e);if(n)return n}const d={hook:[`hook`,`wait`,`step`],wait:[`hook`,`step`],step:[`wait`,`hook`,`step`]};function f(e,t,n,r){return n>=t||!d[e].includes(r.kind)?!1:!(e===`step`&&!r.armed)}function p(e,t,n,r){let i=r.get(t);if(i!==void 0)return i;let a=m(e,t,n,r);return r.set(t,a),a}function m(e,t,n,r){if(!n.armed)return!1;for(let[i,a]of e)if(f(n.kind,t,i,a)&&!p(e,i,a,r))return!1;return!0}function h(){return process.env.WORKFLOW_LOG_ORDER_DRAWS!==`0`}function g(e){return e===0&&typeof setImmediate==`function`?new Promise(e=>setImmediate(e)):new Promise(t=>setTimeout(t,e))}async function _(e,t){for(;;){let n=e.mintCount??0,r=e.pendingDeliveries;if(await g(await e.promiseQueue.then(()=>!1,()=>!0)?50:0),(e.mintCount??0)!==n||r!==0||e.pendingDeliveries!==0)continue;let i=!1;for(let[n,r]of e.pendingDeliveryBarriers??[])if(n<t&&r.armed){i=!0;break}if(!i)return}}async function v(e,t,n){if(t===void 0||!e.pendingDeliveryBarriers)return;let r=e.pendingDeliveryBarriers,i=[];for(let[e,a]of r)f(n,t,e,a)&&i.push(a.released);if(i.length>0&&await Promise.all(i),h()){await _(e,t);return}i.length>0&&await new Promise(e=>setTimeout(e,0))}function y(n,r,i,a){let o=!1,s=()=>!o&&(o=!0,n.advanceClock?.(a.deliveredAt),!0),c=n.pendingDeliveryBarriers;if(!c||r===void 0)return{markDelivered:()=>{s()},arm:()=>{}};let l=a=>{if(c.has(r))throw new e(`Delivery barrier already registered at event index ${r}`);let{promise:o,resolve:s}=t(),l={kind:i,released:o,armed:a,retired:!1,retire:()=>{l.retired||(l.retired=!0,c.get(r)===l&&c.delete(r),s())}};return c.set(r,l),x(n),l},u=l(a.armed??!0);return{markDelivered:()=>{s()&&u.retire()},arm:()=>{if(!o){if(u.retired){u=l(!0);return}if(c.get(r)!==u)throw new e(`Delivery barrier lost ownership of event index ${r}`);u.armed=!0}}}}const b=new WeakSet;function x(e){let t=e.pendingDeliveryBarriers;if(!t||b.has(e))return;b.add(e);let n=()=>{setTimeout(i,0)},r=()=>{setTimeout(i,50)},i=()=>{if(t.size===0){b.delete(e);return}if(!S(e)){e.promiseQueue.then(n,r);return}for(;t.size>0&&S(e);){let e,n;for(let[r,i]of t)(e===void 0||r<e)&&(e=r,n=i);n?.retire()}setTimeout(i,0)};setTimeout(i,0)}function S(e){return e.pendingDeliveries===0&&!C(e)}function C(e){let t=e.pendingDeliveryBarriers;if(!t||t.size===0)return!1;let n=new Map;for(let[e,r]of t)if(p(t,e,r,n))return!0;return!1}function w(e){return e.pendingDeliveries===0&&(!e.pendingDeliveryBarriers||e.pendingDeliveryBarriers.size===0)}function T(e,t){let n=()=>{w(e)?t():e.promiseQueue.then(()=>{setTimeout(n,0)})};setTimeout(n,0)}function E(e){let t=e.suspensionGeneration;T(e,()=>{t===e.suspensionGeneration&&e.onWorkflowError(new n(e.invocationsQueue,e.globalThis))})}export{v as awaitEarlierDeliveries,u as getStepFunction,C as hasParkedCommittedDelivery,w as isDeliveryIdle,y as registerDeliveryBarrier,l as registerStepFunction,T as scheduleWhenIdle,E as scheduleWorkflowSuspension};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../../../_chunks/workflow/helpers-
|
|
1
|
+
import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../../../_chunks/workflow/helpers-k3zcudWr.js";export{b as SLOT_GAP_RECHECK_ATTEMPTS,h as absorbSkippedSlotReport,v as appendEventLog,f as appendUniqueEvents,a as findEventSlotGap,g as getQueueOverhead,y as getWorkflowQueueName,s as handleHealthCheckMessage,p as healthCheck,x as insertEventByEventId,c as isSlotGapCheckEnabled,l as loadWorkflowRunEvents,_ as maxEventSlot,m as memoizeEncryptionKey,d as mergeReportedEvents,u as parseHealthCheckPayload,i as preconditionEventDelta,S as queueMessage,T as queueMessages,o as resolveRunEncryptionKey,w as rootRunIdFrom,n as runDispatchContext,e as settleEventSlotGap,C as slotSnapshotParams,r as stepDispatchIdempotencyKey,t as withHealthCheck};
|