deepline 0.3.88 → 0.3.90
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/contracts/install-commands.json +29 -0
- package/dist/bundling-sources/sdk/src/client.ts +652 -39
- package/dist/bundling-sources/sdk/src/config.ts +77 -0
- package/dist/bundling-sources/sdk/src/http.ts +76 -30
- package/dist/bundling-sources/sdk/src/index.ts +10 -0
- package/dist/bundling-sources/sdk/src/monitor-fleet-contract.ts +1 -1
- package/dist/bundling-sources/sdk/src/pagination.ts +25 -0
- package/dist/bundling-sources/sdk/src/play.ts +15 -1
- package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +3 -3
- package/dist/bundling-sources/sdk/src/release.ts +16 -9
- package/dist/bundling-sources/sdk/src/types.ts +106 -4
- package/dist/bundling-sources/shared_libs/integration-contracts/AGENTS.md +9 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/README.md +3 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/index.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/analytics-install-guides.ts +77 -0
- package/dist/bundling-sources/shared_libs/monitors/analytics-public.ts +10 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/charges.ts +125 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/policy-builders.ts +686 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/pricing.ts +54 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/public-pricing.ts +72 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/session.ts +45 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +454 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +260 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +215 -0
- package/dist/bundling-sources/shared_libs/monitors/callback-security.ts +333 -0
- package/dist/bundling-sources/shared_libs/monitors/cursor-page.ts +42 -0
- package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +16 -0
- package/dist/bundling-sources/shared_libs/monitors/framework-managed-payload-fields.ts +71 -0
- package/dist/bundling-sources/shared_libs/monitors/generated/provider-monitor-callback-admission-targets.ts +16 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +270 -0
- package/dist/bundling-sources/shared_libs/monitors/inbound-publish-key.ts +39 -0
- package/dist/bundling-sources/shared_libs/monitors/inbound-queue.ts +82 -0
- package/dist/bundling-sources/shared_libs/monitors/inventory-reconciliation.ts +59 -0
- package/dist/bundling-sources/shared_libs/monitors/lifecycle-notifications.ts +471 -0
- package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/package.json +36 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +1125 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +305 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +964 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-consumer-health.ts +56 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +131 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +535 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-legacy-aliases.ts +16 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-priority-execution.ts +56 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-public-aliases.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-runtime-read-eligibility.ts +38 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +122 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-status.ts +10 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +112 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-webhook-monitor-runtime.ts +300 -0
- package/dist/bundling-sources/shared_libs/monitors/quickstart-prompts.ts +22 -0
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +245 -0
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-message.ts +38 -0
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue-ack-probe.ts +94 -0
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue-delivery.ts +60 -0
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue.ts +60 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-install-validation.ts +93 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +332 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-radar.ts +221 -0
- package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +105 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +73 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-integrations.ts +81 -0
- package/dist/bundling-sources/shared_libs/monitors/tsconfig.json +10 -0
- package/dist/bundling-sources/shared_libs/observability/build-context.ts +13 -0
- package/dist/bundling-sources/shared_libs/observability/log-metadata.ts +160 -0
- package/dist/bundling-sources/shared_libs/observability/request-context.ts +68 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +654 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +35 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/neon-constants.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +272 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +6 -11
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +135 -12
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +66 -1
- package/dist/bundling-sources/shared_libs/play-runtime/async-play-invocation.ts +77 -0
- package/dist/bundling-sources/shared_libs/play-runtime/bounceban-batching.ts +137 -0
- package/dist/bundling-sources/shared_libs/play-runtime/checkpoint-boundaries.ts +70 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +1159 -166
- package/dist/bundling-sources/shared_libs/play-runtime/coordinator-headers.ts +1 -32
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +103 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-payload-contract.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +103 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +725 -0
- package/dist/bundling-sources/shared_libs/play-runtime/default-batch-strategies.ts +20 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +29 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +29 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +442 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-protocol.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/integration-operation-reader-fence/contracts.ts +66 -0
- package/dist/bundling-sources/shared_libs/play-runtime/integration-operation-reader-fence/job.ts +145 -0
- package/dist/bundling-sources/shared_libs/play-runtime/integration-operation-reader-fence/ports.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/integration-operation-reader-fence/postgres-store.ts +170 -0
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +1322 -0
- package/dist/bundling-sources/shared_libs/play-runtime/internal-step-ids.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/lane-retirement-gate.ts +189 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-source-policy.ts +112 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/perf-trace.ts +127 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-artifact-runtime-contract.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +24 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/contracts.ts +56 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/index.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/job.ts +41 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/ports.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/postgres-adapter.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/contracts.ts +114 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/engine-suspension.ts +108 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/index.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/job.ts +97 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/ports.ts +104 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/postgres-fence-adapter.ts +263 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/worker-terminal-projection.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/contracts.ts +29 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +56 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/index.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/job.ts +65 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/ports.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/index.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +142 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/ports.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/postgres-adapter.ts +102 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/contracts.ts +60 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/index.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/job.ts +78 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/ports.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/postgres-adapter.ts +71 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/receipt-status.ts +5 -8
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +23 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +168 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +90 -13
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +6 -12
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-start-admission.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/bundle.ts +0 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +14 -43
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +67 -213
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +201 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-contract.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-env.ts +12 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +67 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-release-environment.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-contract.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +38 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +108 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +37 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +88 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-play-deploy-task.ts +124 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-play-run-task.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +193 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-queue-lifecycle.ts +269 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-queue-suffix.ts +73 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +6642 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +897 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-metrics.ts +120 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +76 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +476 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-heavy-request-admission.ts +47 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-progress-registry.ts +147 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/index.ts +27 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/lazy.ts +50 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +98 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-budget-state.ts +260 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +1416 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +1255 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +942 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +14636 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +888 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +355 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-terminal-transition.ts +46 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runner-push.ts +60 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-api-origin.ts +33 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-receipt-gateway-health.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +835 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +1218 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +207 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-scheduler-schema.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/scheduler-capacity.ts +123 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/scheduler-launch-read-observability.ts +78 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/submit-admission.ts +169 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/terminal-contract.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/worker-queue-metrics.ts +34 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/worker-resource-metrics.ts +249 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sheet-attempt-sql.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/step-progress.ts +296 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/native-batch.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +20 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +60 -15
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execution-outcome.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +12 -0
- package/dist/bundling-sources/shared_libs/play-runtime/vercel-protection.ts +14 -1
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +165 -0
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipts.ts +15 -23
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +169 -0
- package/dist/bundling-sources/shared_libs/play-runtime/zerobounce-batching.ts +122 -0
- package/dist/bundling-sources/shared_libs/plays/artifact-types.ts +8 -3
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +454 -17
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +19 -4
- package/dist/bundling-sources/shared_libs/plays/contracts.ts +8 -14
- package/dist/bundling-sources/shared_libs/plays/core.ts +11 -6
- package/dist/bundling-sources/shared_libs/plays/deployment-status.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/docflow-binding-owner.ts +16 -11
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/email-status.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/play-grep-search.ts +39 -0
- package/dist/bundling-sources/shared_libs/plays/resolve-static-pipeline.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/share/copy.ts +271 -0
- package/dist/bundling-sources/shared_libs/plays/share/metrics.ts +140 -0
- package/dist/bundling-sources/shared_libs/plays/share/public-read-model.ts +86 -0
- package/dist/bundling-sources/shared_libs/plays/share/seo-quality.ts +181 -0
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +658 -0
- package/dist/bundling-sources/shared_libs/plays/share/types.ts +197 -0
- package/dist/bundling-sources/shared_libs/plays/slack-hitl-timeout-error.ts +37 -0
- package/dist/bundling-sources/shared_libs/plays/slug.ts +115 -0
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +50 -15
- package/dist/bundling-sources/shared_libs/plays/tool-category-descriptions.ts +2 -2
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +877 -0
- package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +456 -0
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +566 -0
- package/dist/bundling-sources/shared_libs/product-notifications/content.ts +28 -0
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +60 -0
- package/dist/bundling-sources/shared_libs/product-notifications/email.ts +246 -0
- package/dist/bundling-sources/shared_libs/product-notifications/evaluation.ts +280 -0
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +433 -0
- package/dist/bundling-sources/shared_libs/product-notifications/legacy-slack.ts +80 -0
- package/dist/bundling-sources/shared_libs/product-notifications/overflow.ts +18 -0
- package/dist/bundling-sources/shared_libs/product-notifications/rolling-limit.ts +24 -0
- package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +624 -0
- package/dist/bundling-sources/shared_libs/product-notifications/slack-payload.ts +140 -0
- package/dist/bundling-sources/shared_libs/product-notifications/slack-transport.ts +75 -0
- package/dist/bundling-sources/shared_libs/product-notifications/workspace.ts +38 -0
- package/dist/bundling-sources/shared_libs/runtime-env.ts +12 -0
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +42 -0
- package/dist/bundling-sources/shared_libs/security/header-safe-env.ts +35 -0
- package/dist/bundling-sources/shared_libs/security/internal-actor.ts +50 -0
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +267 -0
- package/dist/bundling-sources/shared_libs/security/slack-sanitize.ts +133 -0
- package/dist/cli/getting-started.d.mts +52 -0
- package/dist/cli/getting-started.d.ts +52 -0
- package/dist/cli/getting-started.js +65 -0
- package/dist/cli/getting-started.mjs +36 -0
- package/dist/cli/index.d.mts +9 -0
- package/dist/cli/index.d.ts +9 -0
- package/dist/cli/index.js +1611 -453
- package/dist/cli/index.mjs +1596 -447
- package/dist/{compiler-manifest-Dbov16F7.d.mts → compiler-manifest-BaJfE-5H.d.mts} +136 -10
- package/dist/{compiler-manifest-Dbov16F7.d.ts → compiler-manifest-BaJfE-5H.d.ts} +136 -10
- package/dist/index.d.mts +910 -155
- package/dist/index.d.ts +910 -155
- package/dist/index.js +550 -64
- package/dist/index.mjs +550 -64
- package/dist/install-integrity.json +193 -4
- package/dist/monitor-fleet-contract.d.mts +138 -0
- package/dist/monitor-fleet-contract.d.ts +138 -0
- package/dist/monitor-fleet-contract.js +404 -0
- package/dist/monitor-fleet-contract.mjs +367 -0
- package/dist/plays/bundle-play-file.d.mts +8 -3
- package/dist/plays/bundle-play-file.d.ts +8 -3
- package/dist/plays/bundle-play-file.mjs +100 -20
- package/dist/release.d.mts +255 -0
- package/dist/release.d.ts +255 -0
- package/dist/release.js +215 -0
- package/dist/release.mjs +188 -0
- package/package.json +23 -4
- /package/dist/bundling-sources/shared_libs/{integrations/bettercontact-execution-policy.ts → integration-contracts/bettercontact/execution-policy.ts} +0 -0
- /package/dist/bundling-sources/shared_libs/{integrations/theirstack-execution-policy.ts → integration-contracts/theirstack/execution-policy.ts} +0 -0
|
@@ -615,7 +615,7 @@ type PlayDatasetMaterializeOptions = {
|
|
|
615
615
|
type ToolResultExecutionMetadata = {
|
|
616
616
|
idempotent: true;
|
|
617
617
|
cached: boolean;
|
|
618
|
-
source: 'live' | 'checkpoint' | 'cache' | 'in_flight';
|
|
618
|
+
source: 'live' | 'checkpoint' | 'cache' | 'in_flight' | 'source_run';
|
|
619
619
|
cacheKey?: string;
|
|
620
620
|
receiptRole?: 'owner' | 'follower';
|
|
621
621
|
receiptKey?: string;
|
|
@@ -711,7 +711,7 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
|
|
|
711
711
|
*/
|
|
712
712
|
type ToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = ToolExecuteResultBase<TResult, TMeta> & ToolExecuteResultAccessors<TExtracted, TLists>;
|
|
713
713
|
|
|
714
|
-
declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6];
|
|
714
|
+
declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7];
|
|
715
715
|
type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
|
|
716
716
|
type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
717
717
|
type PlayStandardWebhookHeaderFamily = 'standard' | 'svix';
|
|
@@ -934,6 +934,8 @@ type PlayAuthoringDefinedPlay<TInput, TOutput extends PlayReturnObject, TContext
|
|
|
934
934
|
readonly runtime?: PlayAuthoringBindings<TInput>['runtime'];
|
|
935
935
|
readonly compatibility?: PlayAuthoringBindings<TInput>['compatibility'];
|
|
936
936
|
readonly playName: string;
|
|
937
|
+
/** Type-only input carrier used by typed Play-reference consumers. */
|
|
938
|
+
readonly __inputType?: TInput;
|
|
937
939
|
};
|
|
938
940
|
/** Canonical resolver shape for a customer-authored durable step. */
|
|
939
941
|
type PlayAuthoringStepResolver<Row, Value, TContext> = (row: Row, ctx: TContext, index: number, previousCell?: PreviousCell<Value>) => Value | Promise<Value>;
|
|
@@ -999,7 +1001,6 @@ type PlayAuthoringStepProgramStep<TContext> = {
|
|
|
999
1001
|
readonly resolver: PlayAuthoringStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringConditionalStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringStepProgramResolver<Record<string, unknown>, unknown, TContext>;
|
|
1000
1002
|
};
|
|
1001
1003
|
type PlayAuthoringColumnResolver<Row, Value, TContext> = PlayAuthoringStepResolver<Row, Value, TContext> | PlayAuthoringConditionalStepResolver<Row, Value, TContext> | PlayAuthoringRunnableStepProgram<Value, TContext>;
|
|
1002
|
-
type PlayAuthoringStepProgramOutput<TProgram> = TProgram extends PlayAuthoringStepProgram<unknown, infer Output, unknown, unknown> ? Output : never;
|
|
1003
1004
|
type PlayAuthoringDatasetRowKey<InputRow extends object> = (keyof InputRow & string) | readonly (keyof InputRow & string)[] | ((row: InputRow, index: number) => string | number | readonly unknown[]);
|
|
1004
1005
|
type PlayAuthoringDatasetDefinitionOptions<InputRow extends object> = {
|
|
1005
1006
|
key?: PlayAuthoringDatasetRowKey<InputRow>;
|
|
@@ -1029,7 +1030,7 @@ type PlayAuthoringDatasetBuilder<InputRow extends object, OutputRow extends obje
|
|
|
1029
1030
|
/** Define a nullable output column with a resolver and row-level options. */
|
|
1030
1031
|
withColumn<Name extends string, Value>(name: Name, resolver: PlayAuthoringStepResolver<OutputRow, Value, TContext> | PlayAuthoringRunnableStepProgram<Value, TContext>, options: PlayAuthoringStepOptions<OutputRow, Value>): PlayAuthoringDatasetBuilder<InputRow, OutputRow & Record<Name, Value | null>, TContext>;
|
|
1031
1032
|
/** Add all columns declared by one reusable step program. */
|
|
1032
|
-
withColumns<
|
|
1033
|
+
withColumns<ProgramOutput extends OutputRow, Return>(program: PlayAuthoringStepProgram<OutputRow, ProgramOutput, TContext, Return>): PlayAuthoringDatasetBuilder<InputRow, ProgramOutput, TContext>;
|
|
1033
1034
|
/** @deprecated Dataset `.step(...)` was replaced by `.withColumn(...)`. */
|
|
1034
1035
|
step<Name extends string, Value>(name: Name, resolver: PlayAuthoringColumnResolver<OutputRow, Value, TContext>): never;
|
|
1035
1036
|
/**
|
|
@@ -1040,13 +1041,31 @@ type PlayAuthoringDatasetBuilder<InputRow extends object, OutputRow extends obje
|
|
|
1040
1041
|
*/
|
|
1041
1042
|
run(options?: PlayAuthoringDatasetRunOptions<InputRow>): Promise<PlayDataset<OutputRow>>;
|
|
1042
1043
|
};
|
|
1043
|
-
type PlayAuthoringReferenceLike = {
|
|
1044
|
+
type PlayAuthoringReferenceLike<TInput extends Record<string, unknown> = Record<string, unknown>> = ({
|
|
1044
1045
|
readonly playName: string;
|
|
1045
1046
|
readonly name?: string;
|
|
1046
1047
|
} | {
|
|
1047
1048
|
readonly name: string;
|
|
1048
1049
|
readonly playName?: string;
|
|
1050
|
+
}) & {
|
|
1051
|
+
/** Type-only input carrier used by ctx.runPlayAsync. */
|
|
1052
|
+
readonly __inputType?: TInput;
|
|
1053
|
+
};
|
|
1054
|
+
declare const PLAY_RUN_ID_BRAND: unique symbol;
|
|
1055
|
+
/** Branded run identity returned inside {@link AsyncPlayRunRef}. */
|
|
1056
|
+
type PlayRunId = string & {
|
|
1057
|
+
readonly [PLAY_RUN_ID_BRAND]: 'PlayRunId';
|
|
1049
1058
|
};
|
|
1059
|
+
/**
|
|
1060
|
+
* Serializable reference returned after an async child Run is durable.
|
|
1061
|
+
* @sdkReference runtime 143 AsyncPlayRunRef
|
|
1062
|
+
*/
|
|
1063
|
+
type AsyncPlayRunRef = Readonly<{
|
|
1064
|
+
runId: PlayRunId;
|
|
1065
|
+
}>;
|
|
1066
|
+
type PlayAuthoringAsyncCallOptions = Readonly<{
|
|
1067
|
+
description: string;
|
|
1068
|
+
}>;
|
|
1050
1069
|
type PlayAuthoringCsvRenameMap = Record<string, string | readonly string[]>;
|
|
1051
1070
|
type PlayAuthoringFileInput<TMetadata = unknown> = string & {
|
|
1052
1071
|
readonly __deeplineFileInputMetadata?: TMetadata;
|
|
@@ -1238,6 +1257,20 @@ interface PlayAuthoringRuntimeContext {
|
|
|
1238
1257
|
* @sdkReference runtime 140 ctx.runPlay(key, playRef, input, options)
|
|
1239
1258
|
*/
|
|
1240
1259
|
runPlay<TOutput = unknown>(key: string, playRef: string | PlayAuthoringReferenceLike, input: Record<string, unknown>, options: PlayAuthoringCallOptions): Promise<TOutput>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Admit an independent scalar Play Run and return its durable identity after scheduler admission, before child completion.
|
|
1262
|
+
* @sdkReference runtime 141 ctx.runPlayAsync(key, playRef, input, options)
|
|
1263
|
+
*/
|
|
1264
|
+
runPlayAsync<TInput extends Record<string, unknown>>(
|
|
1265
|
+
/** Replay-stable identity for this launch site and row scope. */
|
|
1266
|
+
key: string,
|
|
1267
|
+
/** Independently published Play name or definePlay handle carrying its input type. */
|
|
1268
|
+
playRef: PlayAuthoringReferenceLike<TInput>,
|
|
1269
|
+
/** Input checked against the referenced definePlay handle when available. */
|
|
1270
|
+
input: NoInfer<TInput>,
|
|
1271
|
+
/** Human-readable launch purpose recorded in the parent's step history. */
|
|
1272
|
+
options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
|
|
1273
|
+
runPlayAsync(key: string, playRef: string, input: Record<string, unknown>, options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
|
|
1241
1274
|
/**
|
|
1242
1275
|
* Write a customer-safe line to the durable Run Log Stream. Omitting level
|
|
1243
1276
|
* preserves the historical info-level behavior.
|
|
@@ -2349,6 +2382,82 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
2349
2382
|
readonly description: "Unsupported legacy child-workflow timeout.";
|
|
2350
2383
|
readonly errorMessage: "ctx.runPlay timeoutMs is unsupported because child Plays execute inline.";
|
|
2351
2384
|
};
|
|
2385
|
+
readonly 'ctx.runPlayAsync.key': {
|
|
2386
|
+
readonly schema: _sinclair_typebox.TString;
|
|
2387
|
+
readonly fixtures: {
|
|
2388
|
+
readonly valid: "request-approval";
|
|
2389
|
+
readonly invalid: "";
|
|
2390
|
+
readonly absent: undefined;
|
|
2391
|
+
readonly unresolved: {
|
|
2392
|
+
readonly expression: "callKey";
|
|
2393
|
+
};
|
|
2394
|
+
readonly edition1: "request-approval";
|
|
2395
|
+
};
|
|
2396
|
+
readonly referenceType: "string";
|
|
2397
|
+
readonly required: true;
|
|
2398
|
+
readonly resolution: "runtime-dynamic";
|
|
2399
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2400
|
+
readonly description: "Stable identity for one independent child Play Run.";
|
|
2401
|
+
readonly errorMessage: "ctx.runPlayAsync key must be a non-empty string.";
|
|
2402
|
+
};
|
|
2403
|
+
readonly 'ctx.runPlayAsync.playRef': {
|
|
2404
|
+
readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
2405
|
+
playName: _sinclair_typebox.TString;
|
|
2406
|
+
}>, _sinclair_typebox.TObject<{
|
|
2407
|
+
name: _sinclair_typebox.TString;
|
|
2408
|
+
}>]>]>;
|
|
2409
|
+
readonly fixtures: {
|
|
2410
|
+
readonly valid: "request-approval";
|
|
2411
|
+
readonly invalid: {};
|
|
2412
|
+
readonly absent: undefined;
|
|
2413
|
+
readonly unresolved: {
|
|
2414
|
+
readonly expression: "playRef";
|
|
2415
|
+
};
|
|
2416
|
+
readonly edition1: "request-approval";
|
|
2417
|
+
};
|
|
2418
|
+
readonly referenceType: "string | PlayReferenceLike";
|
|
2419
|
+
readonly required: true;
|
|
2420
|
+
readonly resolution: "runtime-dynamic";
|
|
2421
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2422
|
+
readonly description: "Independently published scalar child Play name or strongly typed definition handle.";
|
|
2423
|
+
readonly errorMessage: "ctx.runPlayAsync playRef must be a non-empty Play name or definition handle.";
|
|
2424
|
+
};
|
|
2425
|
+
readonly 'ctx.runPlayAsync.input': {
|
|
2426
|
+
readonly schema: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
|
|
2427
|
+
readonly fixtures: {
|
|
2428
|
+
readonly valid: {
|
|
2429
|
+
readonly draftId: "draft-1";
|
|
2430
|
+
};
|
|
2431
|
+
readonly invalid: "draft-1";
|
|
2432
|
+
readonly absent: undefined;
|
|
2433
|
+
readonly unresolved: "childInput";
|
|
2434
|
+
readonly edition1: {};
|
|
2435
|
+
};
|
|
2436
|
+
readonly referenceType: "Record<string, unknown>";
|
|
2437
|
+
readonly required: true;
|
|
2438
|
+
readonly resolution: "runtime-dynamic";
|
|
2439
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2440
|
+
readonly description: "Scalar input object submitted to the independent child Run.";
|
|
2441
|
+
readonly errorMessage: "ctx.runPlayAsync input must be an object.";
|
|
2442
|
+
};
|
|
2443
|
+
readonly 'ctx.runPlayAsync.options.description': {
|
|
2444
|
+
readonly schema: _sinclair_typebox.TString;
|
|
2445
|
+
readonly fixtures: {
|
|
2446
|
+
readonly valid: "Request approval.";
|
|
2447
|
+
readonly invalid: "";
|
|
2448
|
+
readonly absent: undefined;
|
|
2449
|
+
readonly unresolved: {
|
|
2450
|
+
readonly expression: "description";
|
|
2451
|
+
};
|
|
2452
|
+
readonly edition1: "Request approval.";
|
|
2453
|
+
};
|
|
2454
|
+
readonly referenceType: "string";
|
|
2455
|
+
readonly required: true;
|
|
2456
|
+
readonly resolution: "runtime-dynamic";
|
|
2457
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2458
|
+
readonly description: "Non-empty purpose for one independent child Play Run.";
|
|
2459
|
+
readonly errorMessage: "ctx.runPlayAsync options.description must be non-empty.";
|
|
2460
|
+
};
|
|
2352
2461
|
readonly 'runtime.timeout': {
|
|
2353
2462
|
readonly schema: _sinclair_typebox.TString;
|
|
2354
2463
|
readonly fixtures: {
|
|
@@ -2643,10 +2752,13 @@ type PlayImportPolicy = {
|
|
|
2643
2752
|
};
|
|
2644
2753
|
type PlayRuntimeFeature = 'artifact_storage' | 'checkpoint_resume' | 'durable_sleep' | 'packaged_files';
|
|
2645
2754
|
type PlayArtifactCompatibility = {
|
|
2646
|
-
|
|
2755
|
+
/** Historical marker carried by stored artifacts. Nothing branches on it. */
|
|
2756
|
+
apiVersion?: number;
|
|
2647
2757
|
artifactVersion: number;
|
|
2648
|
-
|
|
2649
|
-
|
|
2758
|
+
/** Historical marker carried by stored artifacts. Every runner reads every artifact. */
|
|
2759
|
+
minRunnerVersion?: number;
|
|
2760
|
+
/** Historical marker carried by stored artifacts. Capabilities are named per operation. */
|
|
2761
|
+
runtimeFeatures?: PlayRuntimeFeature[];
|
|
2650
2762
|
runtimeBackend?: string | null;
|
|
2651
2763
|
/** Missing preserves the legacy schema used before this field existed. */
|
|
2652
2764
|
toolErrorSchemaVersion?: ToolExecutionErrorSchemaVersion;
|
|
@@ -2656,6 +2768,8 @@ type PlayArtifactCompatibility = {
|
|
|
2656
2768
|
toolResponseContract?: ToolResponseContract;
|
|
2657
2769
|
/** Missing preserves the receipt namespace of artifacts created before this revision existed. */
|
|
2658
2770
|
toolResponseReceiptRevision?: string;
|
|
2771
|
+
/** Missing preserves Slack HITL's historical parked timeout behavior. */
|
|
2772
|
+
slackHitlTimeoutOutcome?: 'error';
|
|
2659
2773
|
};
|
|
2660
2774
|
/** The only executable Play artifact contract. */
|
|
2661
2775
|
declare const PLAY_ARTIFACT_KINDS: {
|
|
@@ -2718,7 +2832,7 @@ type PlayDocflowEdge = {
|
|
|
2718
2832
|
*
|
|
2719
2833
|
* ABSENT — never `null` — when unrecorded, and that is load-bearing rather
|
|
2720
2834
|
* than stylistic. `docflow` is whole-object serialized into
|
|
2721
|
-
* `playStaticPipelineContractHash` (`src/lib/plays/artifact-storage.ts`),
|
|
2835
|
+
* `playStaticPipelineContractHash` (`apps/deepline-api/src/lib/plays/artifact-storage.ts`),
|
|
2722
2836
|
* which is part of the immutable artifact storage key, and the canonicalizer
|
|
2723
2837
|
* there drops `undefined` but HASHES `null`. Emitting `arm: null` on an
|
|
2724
2838
|
* unannotated edge would change the contract hash of every diagrammed play
|
|
@@ -2964,6 +3078,18 @@ type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
|
|
|
2964
3078
|
sourceRange?: PlayStaticSourceRange;
|
|
2965
3079
|
callDepth?: number;
|
|
2966
3080
|
callPath?: string[];
|
|
3081
|
+
} | {
|
|
3082
|
+
type: 'play_launch';
|
|
3083
|
+
playId: string;
|
|
3084
|
+
field: string;
|
|
3085
|
+
inLoop?: boolean;
|
|
3086
|
+
pipeline?: PlayStaticPipeline | null;
|
|
3087
|
+
cycleDetected?: boolean;
|
|
3088
|
+
resolutionError?: string;
|
|
3089
|
+
description?: string;
|
|
3090
|
+
sourceRange?: PlayStaticSourceRange;
|
|
3091
|
+
callDepth?: number;
|
|
3092
|
+
callPath?: string[];
|
|
2967
3093
|
} | {
|
|
2968
3094
|
type: 'control_flow';
|
|
2969
3095
|
kind: 'conditional' | 'loop';
|
|
@@ -3029,4 +3155,4 @@ type PlayCompilerManifest = {
|
|
|
3029
3155
|
authoringContract?: AdmittedPlayAuthoringContract;
|
|
3030
3156
|
};
|
|
3031
3157
|
|
|
3032
|
-
export { type
|
|
3158
|
+
export { type PreviousCell as $, type AsyncPlayRunRef as A, type PlaySqlListenerOperation as B, type PlaySqlQuery as C, type PlayAuthoringStepOptions as D, type PlayAuthoringStepProgram as E, type PlayAuthoringStepProgramResolver as F, type PlayAuthoringStepResolver as G, type PlayToolExecutionRequest as H, type PlayAuthoringStepProgramOptions as I, DeeplineError as J, ToolExecutionError as K, type ToolExecutionErrorOptions as L, CtxFetchHttpError as M, DEEPLINE_EXTRACTOR_TARGETS as N, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as O, type PlayCompilerManifest as P, type DeeplineEmailStatusGetterValue as Q, type DeeplineExtractorTarget as R, type DeeplineGetterValue as S, type ToolExecuteResult as T, type DeeplineGetterValueMap as U, JOB_CHANGE_STATUS_VALUES as V, type JobChangeStatus as W, PHONE_STATUS_VALUES as X, type PhoneStatus as Y, type PlayDataset as Z, type PlayDatasetInput as _, type PlayAuthoringColumnMap as a, ProviderTransientError as a0, type ProviderTransientErrorCategory as a1, type ProviderUnavailableError as a2, type ProviderUnavailableReason as a3, type ToolExecutionErrorCategory as a4, type ToolExecutionErrorOrigin as a5, type ToolExecutionFailureV1 as a6, type ToolExecutionNetworkKind as a7, type ToolExecutionNetworkScope as a8, type ToolExecutionPublicDetails as a9, getProviderUnavailableReason as aa, isDeeplineExtractorTarget as ab, isProviderUnavailable as ac, isProviderWaterfallUnavailableError as ad, type PlayArtifactKind as ae, type PlayBundleArtifact as af, type PlaySandboxRuntimeDeclaration as ag, PLAY_ARTIFACT_KINDS as ah, type PlayArtifactCompatibility as ai, type PlayImportPolicy as aj, type PlayPackageImport as ak, type PlayRuntimeFeature as al, type PlayAuthoringColumnResolver as b, type PlayAuthoringRuntimeContext as c, type PlayAuthoringConditionalStepResolver as d, type PlayAuthoringCsvInput as e, type PlayAuthoringCsvOptions as f, type PlayAuthoringDatasetBuilder as g, type PlayAuthoringDatasetColumnDefinition as h, type PlayAuthoringDatasetColumnRunInput as i, type PlayAuthoringReferenceLike as j, type PlayReturnObject as k, type PlayAuthoringDefineConfig as l, type PlayAuthoringDefinedPlay as m, type PlayAuthoringFetchOptions as n, type PlayAuthoringFileInput as o, type PlayAuthoringAsyncCallOptions as p, type PlayAuthoringBindings as q, type PlayAuthoringCallExecution as r, type PlayAuthoringCallOptions as s, type PlayAuthoringFetchResponse as t, type PlayAuthoringInputContract as u, type PlayRunId as v, type PlayAuthoringStepProgramStep as w, type PlayAuthoringRuntimeStepOptions as x, type PlaySqlListenerDeclaration as y, type PlaySqlListenerEvent as z };
|
|
@@ -615,7 +615,7 @@ type PlayDatasetMaterializeOptions = {
|
|
|
615
615
|
type ToolResultExecutionMetadata = {
|
|
616
616
|
idempotent: true;
|
|
617
617
|
cached: boolean;
|
|
618
|
-
source: 'live' | 'checkpoint' | 'cache' | 'in_flight';
|
|
618
|
+
source: 'live' | 'checkpoint' | 'cache' | 'in_flight' | 'source_run';
|
|
619
619
|
cacheKey?: string;
|
|
620
620
|
receiptRole?: 'owner' | 'follower';
|
|
621
621
|
receiptKey?: string;
|
|
@@ -711,7 +711,7 @@ type ToolExecuteResultAccessors<TExtracted extends Record<string, unknown> = Par
|
|
|
711
711
|
*/
|
|
712
712
|
type ToolExecuteResult<TResult = unknown, TMeta = Record<string, unknown>, TExtracted extends Record<string, unknown> = Partial<DeeplineGetterValueMap>, TLists extends Record<string, Record<string, unknown>> = Record<string, Record<string, unknown>>> = ToolExecuteResultBase<TResult, TMeta> & ToolExecuteResultAccessors<TExtracted, TLists>;
|
|
713
713
|
|
|
714
|
-
declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6];
|
|
714
|
+
declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7];
|
|
715
715
|
type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
|
|
716
716
|
type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
717
717
|
type PlayStandardWebhookHeaderFamily = 'standard' | 'svix';
|
|
@@ -934,6 +934,8 @@ type PlayAuthoringDefinedPlay<TInput, TOutput extends PlayReturnObject, TContext
|
|
|
934
934
|
readonly runtime?: PlayAuthoringBindings<TInput>['runtime'];
|
|
935
935
|
readonly compatibility?: PlayAuthoringBindings<TInput>['compatibility'];
|
|
936
936
|
readonly playName: string;
|
|
937
|
+
/** Type-only input carrier used by typed Play-reference consumers. */
|
|
938
|
+
readonly __inputType?: TInput;
|
|
937
939
|
};
|
|
938
940
|
/** Canonical resolver shape for a customer-authored durable step. */
|
|
939
941
|
type PlayAuthoringStepResolver<Row, Value, TContext> = (row: Row, ctx: TContext, index: number, previousCell?: PreviousCell<Value>) => Value | Promise<Value>;
|
|
@@ -999,7 +1001,6 @@ type PlayAuthoringStepProgramStep<TContext> = {
|
|
|
999
1001
|
readonly resolver: PlayAuthoringStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringConditionalStepResolver<Record<string, unknown>, unknown, TContext> | PlayAuthoringStepProgramResolver<Record<string, unknown>, unknown, TContext>;
|
|
1000
1002
|
};
|
|
1001
1003
|
type PlayAuthoringColumnResolver<Row, Value, TContext> = PlayAuthoringStepResolver<Row, Value, TContext> | PlayAuthoringConditionalStepResolver<Row, Value, TContext> | PlayAuthoringRunnableStepProgram<Value, TContext>;
|
|
1002
|
-
type PlayAuthoringStepProgramOutput<TProgram> = TProgram extends PlayAuthoringStepProgram<unknown, infer Output, unknown, unknown> ? Output : never;
|
|
1003
1004
|
type PlayAuthoringDatasetRowKey<InputRow extends object> = (keyof InputRow & string) | readonly (keyof InputRow & string)[] | ((row: InputRow, index: number) => string | number | readonly unknown[]);
|
|
1004
1005
|
type PlayAuthoringDatasetDefinitionOptions<InputRow extends object> = {
|
|
1005
1006
|
key?: PlayAuthoringDatasetRowKey<InputRow>;
|
|
@@ -1029,7 +1030,7 @@ type PlayAuthoringDatasetBuilder<InputRow extends object, OutputRow extends obje
|
|
|
1029
1030
|
/** Define a nullable output column with a resolver and row-level options. */
|
|
1030
1031
|
withColumn<Name extends string, Value>(name: Name, resolver: PlayAuthoringStepResolver<OutputRow, Value, TContext> | PlayAuthoringRunnableStepProgram<Value, TContext>, options: PlayAuthoringStepOptions<OutputRow, Value>): PlayAuthoringDatasetBuilder<InputRow, OutputRow & Record<Name, Value | null>, TContext>;
|
|
1031
1032
|
/** Add all columns declared by one reusable step program. */
|
|
1032
|
-
withColumns<
|
|
1033
|
+
withColumns<ProgramOutput extends OutputRow, Return>(program: PlayAuthoringStepProgram<OutputRow, ProgramOutput, TContext, Return>): PlayAuthoringDatasetBuilder<InputRow, ProgramOutput, TContext>;
|
|
1033
1034
|
/** @deprecated Dataset `.step(...)` was replaced by `.withColumn(...)`. */
|
|
1034
1035
|
step<Name extends string, Value>(name: Name, resolver: PlayAuthoringColumnResolver<OutputRow, Value, TContext>): never;
|
|
1035
1036
|
/**
|
|
@@ -1040,13 +1041,31 @@ type PlayAuthoringDatasetBuilder<InputRow extends object, OutputRow extends obje
|
|
|
1040
1041
|
*/
|
|
1041
1042
|
run(options?: PlayAuthoringDatasetRunOptions<InputRow>): Promise<PlayDataset<OutputRow>>;
|
|
1042
1043
|
};
|
|
1043
|
-
type PlayAuthoringReferenceLike = {
|
|
1044
|
+
type PlayAuthoringReferenceLike<TInput extends Record<string, unknown> = Record<string, unknown>> = ({
|
|
1044
1045
|
readonly playName: string;
|
|
1045
1046
|
readonly name?: string;
|
|
1046
1047
|
} | {
|
|
1047
1048
|
readonly name: string;
|
|
1048
1049
|
readonly playName?: string;
|
|
1050
|
+
}) & {
|
|
1051
|
+
/** Type-only input carrier used by ctx.runPlayAsync. */
|
|
1052
|
+
readonly __inputType?: TInput;
|
|
1053
|
+
};
|
|
1054
|
+
declare const PLAY_RUN_ID_BRAND: unique symbol;
|
|
1055
|
+
/** Branded run identity returned inside {@link AsyncPlayRunRef}. */
|
|
1056
|
+
type PlayRunId = string & {
|
|
1057
|
+
readonly [PLAY_RUN_ID_BRAND]: 'PlayRunId';
|
|
1049
1058
|
};
|
|
1059
|
+
/**
|
|
1060
|
+
* Serializable reference returned after an async child Run is durable.
|
|
1061
|
+
* @sdkReference runtime 143 AsyncPlayRunRef
|
|
1062
|
+
*/
|
|
1063
|
+
type AsyncPlayRunRef = Readonly<{
|
|
1064
|
+
runId: PlayRunId;
|
|
1065
|
+
}>;
|
|
1066
|
+
type PlayAuthoringAsyncCallOptions = Readonly<{
|
|
1067
|
+
description: string;
|
|
1068
|
+
}>;
|
|
1050
1069
|
type PlayAuthoringCsvRenameMap = Record<string, string | readonly string[]>;
|
|
1051
1070
|
type PlayAuthoringFileInput<TMetadata = unknown> = string & {
|
|
1052
1071
|
readonly __deeplineFileInputMetadata?: TMetadata;
|
|
@@ -1238,6 +1257,20 @@ interface PlayAuthoringRuntimeContext {
|
|
|
1238
1257
|
* @sdkReference runtime 140 ctx.runPlay(key, playRef, input, options)
|
|
1239
1258
|
*/
|
|
1240
1259
|
runPlay<TOutput = unknown>(key: string, playRef: string | PlayAuthoringReferenceLike, input: Record<string, unknown>, options: PlayAuthoringCallOptions): Promise<TOutput>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Admit an independent scalar Play Run and return its durable identity after scheduler admission, before child completion.
|
|
1262
|
+
* @sdkReference runtime 141 ctx.runPlayAsync(key, playRef, input, options)
|
|
1263
|
+
*/
|
|
1264
|
+
runPlayAsync<TInput extends Record<string, unknown>>(
|
|
1265
|
+
/** Replay-stable identity for this launch site and row scope. */
|
|
1266
|
+
key: string,
|
|
1267
|
+
/** Independently published Play name or definePlay handle carrying its input type. */
|
|
1268
|
+
playRef: PlayAuthoringReferenceLike<TInput>,
|
|
1269
|
+
/** Input checked against the referenced definePlay handle when available. */
|
|
1270
|
+
input: NoInfer<TInput>,
|
|
1271
|
+
/** Human-readable launch purpose recorded in the parent's step history. */
|
|
1272
|
+
options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
|
|
1273
|
+
runPlayAsync(key: string, playRef: string, input: Record<string, unknown>, options: PlayAuthoringAsyncCallOptions): Promise<AsyncPlayRunRef>;
|
|
1241
1274
|
/**
|
|
1242
1275
|
* Write a customer-safe line to the durable Run Log Stream. Omitting level
|
|
1243
1276
|
* preserves the historical info-level behavior.
|
|
@@ -2349,6 +2382,82 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
|
|
|
2349
2382
|
readonly description: "Unsupported legacy child-workflow timeout.";
|
|
2350
2383
|
readonly errorMessage: "ctx.runPlay timeoutMs is unsupported because child Plays execute inline.";
|
|
2351
2384
|
};
|
|
2385
|
+
readonly 'ctx.runPlayAsync.key': {
|
|
2386
|
+
readonly schema: _sinclair_typebox.TString;
|
|
2387
|
+
readonly fixtures: {
|
|
2388
|
+
readonly valid: "request-approval";
|
|
2389
|
+
readonly invalid: "";
|
|
2390
|
+
readonly absent: undefined;
|
|
2391
|
+
readonly unresolved: {
|
|
2392
|
+
readonly expression: "callKey";
|
|
2393
|
+
};
|
|
2394
|
+
readonly edition1: "request-approval";
|
|
2395
|
+
};
|
|
2396
|
+
readonly referenceType: "string";
|
|
2397
|
+
readonly required: true;
|
|
2398
|
+
readonly resolution: "runtime-dynamic";
|
|
2399
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2400
|
+
readonly description: "Stable identity for one independent child Play Run.";
|
|
2401
|
+
readonly errorMessage: "ctx.runPlayAsync key must be a non-empty string.";
|
|
2402
|
+
};
|
|
2403
|
+
readonly 'ctx.runPlayAsync.playRef': {
|
|
2404
|
+
readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
2405
|
+
playName: _sinclair_typebox.TString;
|
|
2406
|
+
}>, _sinclair_typebox.TObject<{
|
|
2407
|
+
name: _sinclair_typebox.TString;
|
|
2408
|
+
}>]>]>;
|
|
2409
|
+
readonly fixtures: {
|
|
2410
|
+
readonly valid: "request-approval";
|
|
2411
|
+
readonly invalid: {};
|
|
2412
|
+
readonly absent: undefined;
|
|
2413
|
+
readonly unresolved: {
|
|
2414
|
+
readonly expression: "playRef";
|
|
2415
|
+
};
|
|
2416
|
+
readonly edition1: "request-approval";
|
|
2417
|
+
};
|
|
2418
|
+
readonly referenceType: "string | PlayReferenceLike";
|
|
2419
|
+
readonly required: true;
|
|
2420
|
+
readonly resolution: "runtime-dynamic";
|
|
2421
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2422
|
+
readonly description: "Independently published scalar child Play name or strongly typed definition handle.";
|
|
2423
|
+
readonly errorMessage: "ctx.runPlayAsync playRef must be a non-empty Play name or definition handle.";
|
|
2424
|
+
};
|
|
2425
|
+
readonly 'ctx.runPlayAsync.input': {
|
|
2426
|
+
readonly schema: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
|
|
2427
|
+
readonly fixtures: {
|
|
2428
|
+
readonly valid: {
|
|
2429
|
+
readonly draftId: "draft-1";
|
|
2430
|
+
};
|
|
2431
|
+
readonly invalid: "draft-1";
|
|
2432
|
+
readonly absent: undefined;
|
|
2433
|
+
readonly unresolved: "childInput";
|
|
2434
|
+
readonly edition1: {};
|
|
2435
|
+
};
|
|
2436
|
+
readonly referenceType: "Record<string, unknown>";
|
|
2437
|
+
readonly required: true;
|
|
2438
|
+
readonly resolution: "runtime-dynamic";
|
|
2439
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2440
|
+
readonly description: "Scalar input object submitted to the independent child Run.";
|
|
2441
|
+
readonly errorMessage: "ctx.runPlayAsync input must be an object.";
|
|
2442
|
+
};
|
|
2443
|
+
readonly 'ctx.runPlayAsync.options.description': {
|
|
2444
|
+
readonly schema: _sinclair_typebox.TString;
|
|
2445
|
+
readonly fixtures: {
|
|
2446
|
+
readonly valid: "Request approval.";
|
|
2447
|
+
readonly invalid: "";
|
|
2448
|
+
readonly absent: undefined;
|
|
2449
|
+
readonly unresolved: {
|
|
2450
|
+
readonly expression: "description";
|
|
2451
|
+
};
|
|
2452
|
+
readonly edition1: "Request approval.";
|
|
2453
|
+
};
|
|
2454
|
+
readonly referenceType: "string";
|
|
2455
|
+
readonly required: true;
|
|
2456
|
+
readonly resolution: "runtime-dynamic";
|
|
2457
|
+
readonly issueCode: "play_authoring_run_play_option_invalid";
|
|
2458
|
+
readonly description: "Non-empty purpose for one independent child Play Run.";
|
|
2459
|
+
readonly errorMessage: "ctx.runPlayAsync options.description must be non-empty.";
|
|
2460
|
+
};
|
|
2352
2461
|
readonly 'runtime.timeout': {
|
|
2353
2462
|
readonly schema: _sinclair_typebox.TString;
|
|
2354
2463
|
readonly fixtures: {
|
|
@@ -2643,10 +2752,13 @@ type PlayImportPolicy = {
|
|
|
2643
2752
|
};
|
|
2644
2753
|
type PlayRuntimeFeature = 'artifact_storage' | 'checkpoint_resume' | 'durable_sleep' | 'packaged_files';
|
|
2645
2754
|
type PlayArtifactCompatibility = {
|
|
2646
|
-
|
|
2755
|
+
/** Historical marker carried by stored artifacts. Nothing branches on it. */
|
|
2756
|
+
apiVersion?: number;
|
|
2647
2757
|
artifactVersion: number;
|
|
2648
|
-
|
|
2649
|
-
|
|
2758
|
+
/** Historical marker carried by stored artifacts. Every runner reads every artifact. */
|
|
2759
|
+
minRunnerVersion?: number;
|
|
2760
|
+
/** Historical marker carried by stored artifacts. Capabilities are named per operation. */
|
|
2761
|
+
runtimeFeatures?: PlayRuntimeFeature[];
|
|
2650
2762
|
runtimeBackend?: string | null;
|
|
2651
2763
|
/** Missing preserves the legacy schema used before this field existed. */
|
|
2652
2764
|
toolErrorSchemaVersion?: ToolExecutionErrorSchemaVersion;
|
|
@@ -2656,6 +2768,8 @@ type PlayArtifactCompatibility = {
|
|
|
2656
2768
|
toolResponseContract?: ToolResponseContract;
|
|
2657
2769
|
/** Missing preserves the receipt namespace of artifacts created before this revision existed. */
|
|
2658
2770
|
toolResponseReceiptRevision?: string;
|
|
2771
|
+
/** Missing preserves Slack HITL's historical parked timeout behavior. */
|
|
2772
|
+
slackHitlTimeoutOutcome?: 'error';
|
|
2659
2773
|
};
|
|
2660
2774
|
/** The only executable Play artifact contract. */
|
|
2661
2775
|
declare const PLAY_ARTIFACT_KINDS: {
|
|
@@ -2718,7 +2832,7 @@ type PlayDocflowEdge = {
|
|
|
2718
2832
|
*
|
|
2719
2833
|
* ABSENT — never `null` — when unrecorded, and that is load-bearing rather
|
|
2720
2834
|
* than stylistic. `docflow` is whole-object serialized into
|
|
2721
|
-
* `playStaticPipelineContractHash` (`src/lib/plays/artifact-storage.ts`),
|
|
2835
|
+
* `playStaticPipelineContractHash` (`apps/deepline-api/src/lib/plays/artifact-storage.ts`),
|
|
2722
2836
|
* which is part of the immutable artifact storage key, and the canonicalizer
|
|
2723
2837
|
* there drops `undefined` but HASHES `null`. Emitting `arm: null` on an
|
|
2724
2838
|
* unannotated edge would change the contract hash of every diagrammed play
|
|
@@ -2964,6 +3078,18 @@ type PlayStaticSubstep = PlayStaticSubstepMetadata & ({
|
|
|
2964
3078
|
sourceRange?: PlayStaticSourceRange;
|
|
2965
3079
|
callDepth?: number;
|
|
2966
3080
|
callPath?: string[];
|
|
3081
|
+
} | {
|
|
3082
|
+
type: 'play_launch';
|
|
3083
|
+
playId: string;
|
|
3084
|
+
field: string;
|
|
3085
|
+
inLoop?: boolean;
|
|
3086
|
+
pipeline?: PlayStaticPipeline | null;
|
|
3087
|
+
cycleDetected?: boolean;
|
|
3088
|
+
resolutionError?: string;
|
|
3089
|
+
description?: string;
|
|
3090
|
+
sourceRange?: PlayStaticSourceRange;
|
|
3091
|
+
callDepth?: number;
|
|
3092
|
+
callPath?: string[];
|
|
2967
3093
|
} | {
|
|
2968
3094
|
type: 'control_flow';
|
|
2969
3095
|
kind: 'conditional' | 'loop';
|
|
@@ -3029,4 +3155,4 @@ type PlayCompilerManifest = {
|
|
|
3029
3155
|
authoringContract?: AdmittedPlayAuthoringContract;
|
|
3030
3156
|
};
|
|
3031
3157
|
|
|
3032
|
-
export { type
|
|
3158
|
+
export { type PreviousCell as $, type AsyncPlayRunRef as A, type PlaySqlListenerOperation as B, type PlaySqlQuery as C, type PlayAuthoringStepOptions as D, type PlayAuthoringStepProgram as E, type PlayAuthoringStepProgramResolver as F, type PlayAuthoringStepResolver as G, type PlayToolExecutionRequest as H, type PlayAuthoringStepProgramOptions as I, DeeplineError as J, ToolExecutionError as K, type ToolExecutionErrorOptions as L, CtxFetchHttpError as M, DEEPLINE_EXTRACTOR_TARGETS as N, DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS as O, type PlayCompilerManifest as P, type DeeplineEmailStatusGetterValue as Q, type DeeplineExtractorTarget as R, type DeeplineGetterValue as S, type ToolExecuteResult as T, type DeeplineGetterValueMap as U, JOB_CHANGE_STATUS_VALUES as V, type JobChangeStatus as W, PHONE_STATUS_VALUES as X, type PhoneStatus as Y, type PlayDataset as Z, type PlayDatasetInput as _, type PlayAuthoringColumnMap as a, ProviderTransientError as a0, type ProviderTransientErrorCategory as a1, type ProviderUnavailableError as a2, type ProviderUnavailableReason as a3, type ToolExecutionErrorCategory as a4, type ToolExecutionErrorOrigin as a5, type ToolExecutionFailureV1 as a6, type ToolExecutionNetworkKind as a7, type ToolExecutionNetworkScope as a8, type ToolExecutionPublicDetails as a9, getProviderUnavailableReason as aa, isDeeplineExtractorTarget as ab, isProviderUnavailable as ac, isProviderWaterfallUnavailableError as ad, type PlayArtifactKind as ae, type PlayBundleArtifact as af, type PlaySandboxRuntimeDeclaration as ag, PLAY_ARTIFACT_KINDS as ah, type PlayArtifactCompatibility as ai, type PlayImportPolicy as aj, type PlayPackageImport as ak, type PlayRuntimeFeature as al, type PlayAuthoringColumnResolver as b, type PlayAuthoringRuntimeContext as c, type PlayAuthoringConditionalStepResolver as d, type PlayAuthoringCsvInput as e, type PlayAuthoringCsvOptions as f, type PlayAuthoringDatasetBuilder as g, type PlayAuthoringDatasetColumnDefinition as h, type PlayAuthoringDatasetColumnRunInput as i, type PlayAuthoringReferenceLike as j, type PlayReturnObject as k, type PlayAuthoringDefineConfig as l, type PlayAuthoringDefinedPlay as m, type PlayAuthoringFetchOptions as n, type PlayAuthoringFileInput as o, type PlayAuthoringAsyncCallOptions as p, type PlayAuthoringBindings as q, type PlayAuthoringCallExecution as r, type PlayAuthoringCallOptions as s, type PlayAuthoringFetchResponse as t, type PlayAuthoringInputContract as u, type PlayRunId as v, type PlayAuthoringStepProgramStep as w, type PlayAuthoringRuntimeStepOptions as x, type PlaySqlListenerDeclaration as y, type PlaySqlListenerEvent as z };
|