deepline 0.3.89 → 0.3.91
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 +221 -43
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/monitor-fleet-contract.ts +2 -556
- package/dist/bundling-sources/sdk/src/monitor-fleets.ts +2 -2
- package/dist/bundling-sources/sdk/src/pagination.ts +25 -0
- package/dist/bundling-sources/sdk/src/plays/bundle-play-file.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +11 -9
- package/dist/bundling-sources/sdk/src/types.ts +29 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +549 -0
- package/dist/bundling-sources/shared_libs/monitors/analytics-public.ts +10 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +96 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +320 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +106 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +8 -1
- package/dist/bundling-sources/shared_libs/monitors/inbound-queue.ts +4 -4
- package/dist/bundling-sources/shared_libs/monitors/inventory-reconciliation.ts +59 -0
- package/dist/bundling-sources/shared_libs/monitors/lifecycle-notifications.ts +7 -9
- package/dist/bundling-sources/shared_libs/monitors/monitor-fleet-limits.ts +2 -12
- package/dist/bundling-sources/shared_libs/monitors/package.json +113 -4
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +56 -9
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-consumer-health.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-public-aliases.ts +1 -1
- 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 +1 -1
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/snitcher-radar.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-integrations.ts +1 -1
- 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 +690 -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/app-runtime-api.ts +46 -1
- 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 +0 -1
- package/dist/bundling-sources/shared_libs/play-runtime/bounceban-batching.ts +137 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +779 -140
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +46 -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/db-session-lease-store.ts +578 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-execution-relay.ts +521 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +1378 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/runtime-topology.ts +1024 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-gateway-route-probe.ts +193 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machine-lifecycle.ts +104 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +1844 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/process-tree.ts +40 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-gateway-drain.ts +262 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-surface.ts +98 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +303 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-tuple-publication-guardian.ts +70 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-tuple-recovery.ts +519 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +280 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-production-gate.ts +159 -0
- 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 +23 -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 +3 -3
- 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/memory-store.ts +114 -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 +1 -1
- 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/protocol.ts +2 -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 +3 -5
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +168 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +44 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/child-play-resolver.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +3662 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/progress-sidecar.ts +47 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-deadline.ts +84 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-gateway-transport.ts +91 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +424 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +321 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-sheet-persistence-retry.ts +110 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +625 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +72 -9
- 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.ts +19 -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 -44
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +103 -208
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +201 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-env.ts +6 -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 +14 -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 +7 -0
- 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/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/webhook-receipt-retry.ts +50 -0
- 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 +2 -0
- package/dist/bundling-sources/shared_libs/plays/bundling/repository-adapter.ts +24 -0
- package/dist/bundling-sources/shared_libs/plays/child-run-projection.ts +174 -0
- package/dist/bundling-sources/shared_libs/plays/contracts.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +267 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/control-plane-types.ts +73 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/manifest.ts +162 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/project-serializer.ts +87 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/source-file-path.ts +26 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/target-paths.ts +36 -0
- package/dist/bundling-sources/shared_libs/plays/deployment-status.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +400 -0
- package/dist/bundling-sources/shared_libs/plays/launch/prepare.ts +96 -0
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +385 -0
- package/dist/bundling-sources/shared_libs/plays/play-grep-search.ts +112 -0
- package/dist/bundling-sources/shared_libs/plays/play-reference.ts +117 -0
- package/dist/bundling-sources/shared_libs/plays/run-input-summary.ts +260 -0
- package/dist/bundling-sources/shared_libs/plays/run-summary-types.ts +49 -0
- package/dist/bundling-sources/shared_libs/plays/secrets/errors.ts +19 -0
- 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/sheet-filter.ts +347 -0
- package/dist/bundling-sources/shared_libs/plays/slack-hitl-timeout-error.ts +37 -0
- package/dist/bundling-sources/shared_libs/plays/standard-webhooks.ts +117 -0
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +6 -1
- package/dist/bundling-sources/shared_libs/plays/status-result.ts +388 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/transform-factor-structure.ts +377 -0
- package/dist/bundling-sources/shared_libs/plays/webhook-payload.ts +113 -0
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +7 -1
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +3 -2
- 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/runtime-env.ts +6 -0
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +42 -0
- package/dist/bundling-sources/shared_libs/security/header-safe-env.ts +10 -3
- 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 +895 -407
- package/dist/cli/index.mjs +893 -414
- package/dist/{compiler-manifest-DsLbQaew.d.mts → compiler-manifest-x14KL83E.d.mts} +4 -2
- package/dist/{compiler-manifest-DsLbQaew.d.ts → compiler-manifest-x14KL83E.d.ts} +4 -2
- package/dist/index.d.mts +124 -154
- package/dist/index.d.ts +124 -154
- package/dist/index.js +132 -28
- package/dist/index.mjs +132 -28
- package/dist/install-integrity.json +182 -2
- package/dist/monitor-fleet-contract.d.mts +131 -0
- package/dist/monitor-fleet-contract.d.ts +131 -0
- package/dist/monitor-fleet-contract.js +406 -0
- package/dist/monitor-fleet-contract.mjs +367 -0
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- package/dist/release.d.mts +255 -0
- package/dist/release.d.ts +255 -0
- package/dist/release.js +210 -0
- package/dist/release.mjs +183 -0
- package/package.json +21 -4
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/// <reference path="./text-imports.d.ts" />
|
|
2
|
+
/**
|
|
3
|
+
* Single source of truth for SDK release metadata.
|
|
4
|
+
*
|
|
5
|
+
* Ordinary SDK PRs do NOT bump `version` here. Patch version selection
|
|
6
|
+
* happens at publish time: on push to main, `.github/workflows/sdk-release.yml`
|
|
7
|
+
* (via `scripts/sdk-release-autobump.ts`) compares the built package against
|
|
8
|
+
* the latest published npm tarball and, when the content changed, stamps the
|
|
9
|
+
* next unpublished patch into `version` in the CI workspace only and
|
|
10
|
+
* publishes it in the same run. That patch stamp is not
|
|
11
|
+
* committed back to main; production endpoints read npm metadata when they
|
|
12
|
+
* need the newest patch-level SDK/CLI version.
|
|
13
|
+
*
|
|
14
|
+
* Edit THIS file by hand only for deliberate release decisions:
|
|
15
|
+
* - minor/major version bumps (set `version`),
|
|
16
|
+
* - API-major cutovers (set `contracts.api.currentMajor`; leave `version` to the
|
|
17
|
+
* publish-time patch selector),
|
|
18
|
+
* - support-window moves (`minimumSupported` / `deprecatedBelow`).
|
|
19
|
+
* The automation never touches API compatibility policy, `minimumSupported`, or
|
|
20
|
+
* `deprecatedBelow`.
|
|
21
|
+
*
|
|
22
|
+
* Everything else derives from these values:
|
|
23
|
+
*
|
|
24
|
+
* - `packages/sdk/src/version.ts` re-exports `SDK_VERSION` and `SDK_API_CONTRACT`.
|
|
25
|
+
* - `apps/deepline-api/src/lib/sdk/release-policy.ts` re-exports `SDK_RELEASE_POLICY`.
|
|
26
|
+
* - `packages/sdk/package.json` `version` is stamped from `SDK_RELEASE.version` by
|
|
27
|
+
* `scripts/sync-sdk-package-version.ts`, which runs as part of
|
|
28
|
+
* `bun run sdk:build`.
|
|
29
|
+
* - `contracts/sdk-api.manifest.json` is regenerated at build time from
|
|
30
|
+
* `apps/deepline-api/src/lib/sdk/api-routes.ts` and the apiContract here; the matching
|
|
31
|
+
* `contracts/sdk-api.manifest.hash` is an ignored local/CI audit artifact.
|
|
32
|
+
*
|
|
33
|
+
* Any drift between release source and derived release locations is a
|
|
34
|
+
* `check:sdk-release-readiness` failure with a one-shot fix command; SDK/API
|
|
35
|
+
* compatibility policy is enforced by `bun run sdk:api-contract:check`.
|
|
36
|
+
*/
|
|
37
|
+
type SdkReleaseChannel = 'latest' | 'next' | 'beta';
|
|
38
|
+
/**
|
|
39
|
+
* The named public protocols. These are intentionally independent:
|
|
40
|
+
*
|
|
41
|
+
* - `api` is the HTTP SDK/CLI protocol. It is additive within a major.
|
|
42
|
+
* - `playArtifact` is the immutable client-bundled Play payload ABI.
|
|
43
|
+
* - `release` controls promotion/publishing; it is not a client protocol.
|
|
44
|
+
*
|
|
45
|
+
* Do not use an SDK package version or a date string as an artifact ABI.
|
|
46
|
+
*/
|
|
47
|
+
type DeeplineContractPolicy = {
|
|
48
|
+
api: {
|
|
49
|
+
name: 'sdk-http-api';
|
|
50
|
+
currentMajor: number;
|
|
51
|
+
supportedMajors: readonly number[];
|
|
52
|
+
/** Transitional value for installed SDKs that only send the old header. */
|
|
53
|
+
legacyWireIds: readonly string[];
|
|
54
|
+
};
|
|
55
|
+
playArtifact: {
|
|
56
|
+
name: 'play-artifact-runtime';
|
|
57
|
+
currentVersion: number;
|
|
58
|
+
supportedVersions: readonly number[];
|
|
59
|
+
};
|
|
60
|
+
release: {
|
|
61
|
+
name: 'production-sdk-release';
|
|
62
|
+
/** npm may publish only from the active, healthy Production SHA. */
|
|
63
|
+
publishFrom: 'latest-successful-production-deployment';
|
|
64
|
+
/** A newer merge cancels an in-flight decision; reconciliation picks the last healthy SHA. */
|
|
65
|
+
coalesce: 'latest-healthy';
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
type SdkSupportPolicy = {
|
|
69
|
+
/**
|
|
70
|
+
* Anything strictly below this returns `status: "unsupported"` from
|
|
71
|
+
* `/api/v2/sdk/compat` and the CLI must hard-fail with the update command.
|
|
72
|
+
* Only advance after the support window closes.
|
|
73
|
+
*/
|
|
74
|
+
minimumSupported: string;
|
|
75
|
+
/**
|
|
76
|
+
* Anything strictly below this returns `status: "deprecated"` (still works,
|
|
77
|
+
* warns). Advance when a release becomes the new floor.
|
|
78
|
+
*/
|
|
79
|
+
deprecatedBelow: string;
|
|
80
|
+
/**
|
|
81
|
+
* Command-scoped support floors for SDK CLI workflows whose local behavior
|
|
82
|
+
* can break while the network API contract remains compatible.
|
|
83
|
+
*/
|
|
84
|
+
commandMinimumSupported?: ReadonlyArray<{
|
|
85
|
+
command: string;
|
|
86
|
+
displayCommand?: string;
|
|
87
|
+
minimumSupported: string;
|
|
88
|
+
reason: string;
|
|
89
|
+
}>;
|
|
90
|
+
/**
|
|
91
|
+
* The version that first shipped a command.
|
|
92
|
+
*
|
|
93
|
+
* Deliberately not a support floor. `commandMinimumSupported` says an older
|
|
94
|
+
* client is BROKEN for a command and forces an update; this says only that
|
|
95
|
+
* an older client never had the command at all. That difference matters in
|
|
96
|
+
* both directions: introducing a command must not independently require an
|
|
97
|
+
* update, and a support floor may not exceed the version being released,
|
|
98
|
+
* while an introduction version is a fact about an already-published
|
|
99
|
+
* release. The general default-on freshness policy may still update an older
|
|
100
|
+
* installed CLI.
|
|
101
|
+
*
|
|
102
|
+
* It exists because agent skills are served by the backend and re-synced on
|
|
103
|
+
* nearly every CLI invocation, while the CLI stays pinned. A release that
|
|
104
|
+
* adds a command and documents it in the same commit therefore hands every
|
|
105
|
+
* installed client instructions it cannot follow, and `unknown command` is
|
|
106
|
+
* all the author sees. Recording the version lets the CLI say which release
|
|
107
|
+
* added it. `check:skill-cli-commands` requires an entry here before a skill
|
|
108
|
+
* may document a command.
|
|
109
|
+
*/
|
|
110
|
+
commandIntroducedIn?: ReadonlyArray<{
|
|
111
|
+
command: string;
|
|
112
|
+
introducedIn: string;
|
|
113
|
+
reason: string;
|
|
114
|
+
}>;
|
|
115
|
+
/** Previously published wire contracts that remain supported. */
|
|
116
|
+
compatibleApiContracts?: readonly string[];
|
|
117
|
+
/**
|
|
118
|
+
* Published package versions that must keep working for direct SDK tool
|
|
119
|
+
* callers. CI installs each package from npm and exercises `tools.get` and
|
|
120
|
+
* `tools.execute` without involving the CLI or Play runtime.
|
|
121
|
+
*/
|
|
122
|
+
directToolsCompatibilityVersions?: readonly string[];
|
|
123
|
+
/**
|
|
124
|
+
* Diagnostic freshness threshold reported by `/api/v2/sdk/compat`.
|
|
125
|
+
* Ownership-aware installed CLIs auto-update when older; this value remains
|
|
126
|
+
* metadata for clients and operational diagnostics.
|
|
127
|
+
*/
|
|
128
|
+
autoUpdatePatchLag?: number;
|
|
129
|
+
};
|
|
130
|
+
type SdkRelease = {
|
|
131
|
+
/**
|
|
132
|
+
* Version published to npm. Usually stamped by the release workflow at
|
|
133
|
+
* publish time (auto-bump); edit by hand only for minor/major releases.
|
|
134
|
+
*/
|
|
135
|
+
version: string;
|
|
136
|
+
/**
|
|
137
|
+
* One concise, agent-readable explanation shown while this release is an
|
|
138
|
+
* available update. Keep it actionable; the compatibility route includes it
|
|
139
|
+
* in its existing update message so older installed CLIs can print it too.
|
|
140
|
+
*/
|
|
141
|
+
updateSummary?: string;
|
|
142
|
+
/** Capabilities stamped into the published package's `deepline` metadata. */
|
|
143
|
+
packageCapabilities: {
|
|
144
|
+
updatePreferences: 1;
|
|
145
|
+
};
|
|
146
|
+
/** Named compatibility policies. This is the only authored contract policy. */
|
|
147
|
+
contracts: DeeplineContractPolicy;
|
|
148
|
+
/** Public support policy reported by `/api/v2/sdk/compat`. */
|
|
149
|
+
supportPolicy: SdkSupportPolicy;
|
|
150
|
+
};
|
|
151
|
+
declare const SDK_RELEASE: {
|
|
152
|
+
readonly version: "0.3.91";
|
|
153
|
+
readonly updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.";
|
|
154
|
+
readonly packageCapabilities: {
|
|
155
|
+
readonly updatePreferences: 1;
|
|
156
|
+
};
|
|
157
|
+
readonly contracts: {
|
|
158
|
+
readonly api: {
|
|
159
|
+
readonly name: "sdk-http-api";
|
|
160
|
+
readonly currentMajor: 3;
|
|
161
|
+
readonly supportedMajors: readonly [3, 2];
|
|
162
|
+
readonly legacyWireIds: readonly ["2026-09-play-grep-concise-results", "2026-07-admin-cli-local-cutover", "2026-07-native-monitor-launch-hard-cutover"];
|
|
163
|
+
};
|
|
164
|
+
readonly playArtifact: {
|
|
165
|
+
readonly name: "play-artifact-runtime";
|
|
166
|
+
readonly currentVersion: 2;
|
|
167
|
+
readonly supportedVersions: readonly [1, 2];
|
|
168
|
+
};
|
|
169
|
+
readonly release: {
|
|
170
|
+
readonly name: "production-sdk-release";
|
|
171
|
+
readonly publishFrom: "latest-successful-production-deployment";
|
|
172
|
+
readonly coalesce: "latest-healthy";
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
readonly supportPolicy: {
|
|
176
|
+
readonly minimumSupported: "0.1.53";
|
|
177
|
+
readonly deprecatedBelow: "0.3.1";
|
|
178
|
+
readonly commandIntroducedIn: readonly [{
|
|
179
|
+
readonly command: "notifications";
|
|
180
|
+
readonly introducedIn: "0.2.40";
|
|
181
|
+
readonly reason: "deepline notifications was added in SDK CLI 0.2.40. Older versions have no way to configure a Play failure alert, so a cron Play that dies reports to nobody.";
|
|
182
|
+
}];
|
|
183
|
+
readonly commandMinimumSupported: readonly [{
|
|
184
|
+
readonly command: "enrich";
|
|
185
|
+
readonly minimumSupported: "0.1.238";
|
|
186
|
+
readonly reason: "Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick(\"email\") extraction and materialize it as NO_MATCH.";
|
|
187
|
+
}, {
|
|
188
|
+
readonly command: "plays";
|
|
189
|
+
readonly minimumSupported: "0.1.241";
|
|
190
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract. Update before checking, publishing, or running plays.";
|
|
191
|
+
}, {
|
|
192
|
+
readonly command: "plays run";
|
|
193
|
+
readonly minimumSupported: "0.1.253";
|
|
194
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract; versions before 0.1.253 open the play page by default and accept the removed --no-open flag.";
|
|
195
|
+
}, {
|
|
196
|
+
readonly command: "run";
|
|
197
|
+
readonly displayCommand: "plays run";
|
|
198
|
+
readonly minimumSupported: "0.1.253";
|
|
199
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract; versions before 0.1.253 open the play page by default and accept the removed --no-open flag.";
|
|
200
|
+
}, {
|
|
201
|
+
readonly command: "plays check";
|
|
202
|
+
readonly minimumSupported: "0.1.241";
|
|
203
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract.";
|
|
204
|
+
}, {
|
|
205
|
+
readonly command: "check";
|
|
206
|
+
readonly displayCommand: "plays check";
|
|
207
|
+
readonly minimumSupported: "0.1.241";
|
|
208
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract.";
|
|
209
|
+
}, {
|
|
210
|
+
readonly command: "plays publish";
|
|
211
|
+
readonly minimumSupported: "0.1.241";
|
|
212
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract.";
|
|
213
|
+
}, {
|
|
214
|
+
readonly command: "publish";
|
|
215
|
+
readonly displayCommand: "plays publish";
|
|
216
|
+
readonly minimumSupported: "0.1.241";
|
|
217
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract.";
|
|
218
|
+
}, {
|
|
219
|
+
readonly command: "plays set-live";
|
|
220
|
+
readonly minimumSupported: "0.1.241";
|
|
221
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract.";
|
|
222
|
+
}, {
|
|
223
|
+
readonly command: "set-live";
|
|
224
|
+
readonly displayCommand: "plays set-live";
|
|
225
|
+
readonly minimumSupported: "0.1.241";
|
|
226
|
+
readonly reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract.";
|
|
227
|
+
}, {
|
|
228
|
+
readonly command: "runs";
|
|
229
|
+
readonly minimumSupported: "0.1.111";
|
|
230
|
+
readonly reason: "Run result rows now render as dataset handles with explicit export commands.";
|
|
231
|
+
}, {
|
|
232
|
+
readonly command: "runs get";
|
|
233
|
+
readonly minimumSupported: "0.1.111";
|
|
234
|
+
readonly reason: "Run result rows now render as dataset handles with explicit export commands.";
|
|
235
|
+
}, {
|
|
236
|
+
readonly command: "get";
|
|
237
|
+
readonly displayCommand: "runs get";
|
|
238
|
+
readonly minimumSupported: "0.1.111";
|
|
239
|
+
readonly reason: "Run result rows now render as dataset handles with explicit export commands.";
|
|
240
|
+
}, {
|
|
241
|
+
readonly command: "runs export";
|
|
242
|
+
readonly minimumSupported: "0.1.111";
|
|
243
|
+
readonly reason: "Run result row datasets now use the dataset-handle export contract.";
|
|
244
|
+
}, {
|
|
245
|
+
readonly command: "export";
|
|
246
|
+
readonly displayCommand: "runs export";
|
|
247
|
+
readonly minimumSupported: "0.1.111";
|
|
248
|
+
readonly reason: "Run result row datasets now use the dataset-handle export contract.";
|
|
249
|
+
}];
|
|
250
|
+
readonly directToolsCompatibilityVersions: readonly ["0.1.171"];
|
|
251
|
+
readonly autoUpdatePatchLag: 2;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
export { type DeeplineContractPolicy, SDK_RELEASE, type SdkRelease, type SdkReleaseChannel, type SdkSupportPolicy };
|
package/dist/release.js
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/release.ts
|
|
21
|
+
var release_exports = {};
|
|
22
|
+
__export(release_exports, {
|
|
23
|
+
SDK_RELEASE: () => SDK_RELEASE
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(release_exports);
|
|
26
|
+
|
|
27
|
+
// ../plays/artifact-contract-version.ts
|
|
28
|
+
var CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION = 2;
|
|
29
|
+
|
|
30
|
+
// src/release.ts
|
|
31
|
+
var SDK_RELEASE = {
|
|
32
|
+
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
33
|
+
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
34
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
35
|
+
// 0.1.101 ships retryable play artifact publish failures and CI retry hardening.
|
|
36
|
+
// 0.1.102 ships the job-change ledger fixes: recovered-dataset export on
|
|
37
|
+
// failed runs, persisted/succeeded/failed row counts, strict local CSV
|
|
38
|
+
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
39
|
+
// scrubbing, and word-boundary watch truncation.
|
|
40
|
+
// 0.1.103 ships the refined SDK CLI command surface.
|
|
41
|
+
// 0.1.104 shipped the retired Postgres scheduler suspension/billing parity and runtime worker hardening.
|
|
42
|
+
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
43
|
+
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
44
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
45
|
+
// 0.1.107 ships the v2 quickstart command, the deepline-plays-quickstart
|
|
46
|
+
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
47
|
+
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
48
|
+
// the SDK enrich generator's one-second stale policy.
|
|
49
|
+
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
50
|
+
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
51
|
+
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
52
|
+
// fields shipped in 0.1.153.
|
|
53
|
+
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
54
|
+
// 0.1.230 propagates enrich extractor failures as failed rows rather than
|
|
55
|
+
// silently materializing them as unmatched results.
|
|
56
|
+
// 0.1.220 deprecates SDK CLI versions below 0.1.219 and updates them
|
|
57
|
+
// automatically without blocking their current command.
|
|
58
|
+
// 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
|
|
59
|
+
// artifacts. Older clients can submit esm_workers artifacts that the Absurd
|
|
60
|
+
// runtime intentionally no longer compiles at publish or launch time.
|
|
61
|
+
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
62
|
+
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
63
|
+
// 0.1.252 hard-cuts the customer Monitor catalog to the two launched
|
|
64
|
+
// Deepline-native radars. Older clients must update before discovering,
|
|
65
|
+
// checking, or deploying an unlaunched monitor integration.
|
|
66
|
+
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
67
|
+
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
68
|
+
// Operators use the checkout-local deepline-admin binary instead.
|
|
69
|
+
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
70
|
+
// exposed storage-dependent synchronous access. This deliberate minor
|
|
71
|
+
// release keeps lazy paging semantics independent of row residency.
|
|
72
|
+
// 0.3.0 introduces raw-v2: complete scrubbed provider responses are
|
|
73
|
+
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
74
|
+
// getters keep their established compatibility behavior.
|
|
75
|
+
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
76
|
+
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
77
|
+
version: "0.3.91",
|
|
78
|
+
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
79
|
+
packageCapabilities: {
|
|
80
|
+
updatePreferences: 1
|
|
81
|
+
},
|
|
82
|
+
contracts: {
|
|
83
|
+
api: {
|
|
84
|
+
name: "sdk-http-api",
|
|
85
|
+
// Concise Play grep has the current wire id. Older ids follow the
|
|
86
|
+
// standard API support window.
|
|
87
|
+
currentMajor: 3,
|
|
88
|
+
supportedMajors: [3, 2],
|
|
89
|
+
// Older ids remain subject to the API support window.
|
|
90
|
+
legacyWireIds: [
|
|
91
|
+
"2026-09-play-grep-concise-results",
|
|
92
|
+
"2026-07-admin-cli-local-cutover",
|
|
93
|
+
"2026-07-native-monitor-launch-hard-cutover"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
playArtifact: {
|
|
97
|
+
name: "play-artifact-runtime",
|
|
98
|
+
currentVersion: CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION,
|
|
99
|
+
supportedVersions: [1, CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION]
|
|
100
|
+
},
|
|
101
|
+
release: {
|
|
102
|
+
name: "production-sdk-release",
|
|
103
|
+
publishFrom: "latest-successful-production-deployment",
|
|
104
|
+
coalesce: "latest-healthy"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
supportPolicy: {
|
|
108
|
+
minimumSupported: "0.1.53",
|
|
109
|
+
deprecatedBelow: "0.3.1",
|
|
110
|
+
commandIntroducedIn: [
|
|
111
|
+
{
|
|
112
|
+
command: "notifications",
|
|
113
|
+
introducedIn: "0.2.40",
|
|
114
|
+
reason: "deepline notifications was added in SDK CLI 0.2.40. Older versions have no way to configure a Play failure alert, so a cron Play that dies reports to nobody."
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
commandMinimumSupported: [
|
|
118
|
+
{
|
|
119
|
+
command: "enrich",
|
|
120
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
121
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
122
|
+
// already contain the enrich data-correctness fixes below.
|
|
123
|
+
minimumSupported: "0.1.238",
|
|
124
|
+
reason: 'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.'
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
command: "plays",
|
|
128
|
+
minimumSupported: "0.1.241",
|
|
129
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract. Update before checking, publishing, or running plays."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
command: "plays run",
|
|
133
|
+
minimumSupported: "0.1.253",
|
|
134
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract; versions before 0.1.253 open the play page by default and accept the removed --no-open flag."
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
command: "run",
|
|
138
|
+
displayCommand: "plays run",
|
|
139
|
+
minimumSupported: "0.1.253",
|
|
140
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract; versions before 0.1.253 open the play page by default and accept the removed --no-open flag."
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
command: "plays check",
|
|
144
|
+
minimumSupported: "0.1.241",
|
|
145
|
+
reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
command: "check",
|
|
149
|
+
displayCommand: "plays check",
|
|
150
|
+
minimumSupported: "0.1.241",
|
|
151
|
+
reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
command: "plays publish",
|
|
155
|
+
minimumSupported: "0.1.241",
|
|
156
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
command: "publish",
|
|
160
|
+
displayCommand: "plays publish",
|
|
161
|
+
minimumSupported: "0.1.241",
|
|
162
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
command: "plays set-live",
|
|
166
|
+
minimumSupported: "0.1.241",
|
|
167
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
command: "set-live",
|
|
171
|
+
displayCommand: "plays set-live",
|
|
172
|
+
minimumSupported: "0.1.241",
|
|
173
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
command: "runs",
|
|
177
|
+
minimumSupported: "0.1.111",
|
|
178
|
+
reason: "Run result rows now render as dataset handles with explicit export commands."
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
command: "runs get",
|
|
182
|
+
minimumSupported: "0.1.111",
|
|
183
|
+
reason: "Run result rows now render as dataset handles with explicit export commands."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
command: "get",
|
|
187
|
+
displayCommand: "runs get",
|
|
188
|
+
minimumSupported: "0.1.111",
|
|
189
|
+
reason: "Run result rows now render as dataset handles with explicit export commands."
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
command: "runs export",
|
|
193
|
+
minimumSupported: "0.1.111",
|
|
194
|
+
reason: "Run result row datasets now use the dataset-handle export contract."
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
command: "export",
|
|
198
|
+
displayCommand: "runs export",
|
|
199
|
+
minimumSupported: "0.1.111",
|
|
200
|
+
reason: "Run result row datasets now use the dataset-handle export contract."
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
directToolsCompatibilityVersions: ["0.1.171"],
|
|
204
|
+
autoUpdatePatchLag: 2
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
208
|
+
0 && (module.exports = {
|
|
209
|
+
SDK_RELEASE
|
|
210
|
+
});
|
package/dist/release.mjs
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// ../plays/artifact-contract-version.ts
|
|
2
|
+
var CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION = 2;
|
|
3
|
+
|
|
4
|
+
// src/release.ts
|
|
5
|
+
var SDK_RELEASE = {
|
|
6
|
+
// 0.1.94 is claimed by PR #1527 — this watch-render fix ships as 0.1.95.
|
|
7
|
+
// 0.1.98 ships the duplicate-browser-tab fix (default-browser detection).
|
|
8
|
+
// 0.1.99 ships prebuilt job-change source-column preservation and validation fixes.
|
|
9
|
+
// 0.1.101 ships retryable play artifact publish failures and CI retry hardening.
|
|
10
|
+
// 0.1.102 ships the job-change ledger fixes: recovered-dataset export on
|
|
11
|
+
// failed runs, persisted/succeeded/failed row counts, strict local CSV
|
|
12
|
+
// preflight (existence, data rows, quotes, duplicate headers), HTML error
|
|
13
|
+
// scrubbing, and word-boundary watch truncation.
|
|
14
|
+
// 0.1.103 ships the refined SDK CLI command surface.
|
|
15
|
+
// 0.1.104 shipped the retired Postgres scheduler suspension/billing parity and runtime worker hardening.
|
|
16
|
+
// 0.1.105 ships the billing catalog surface: billing plans, subscribe,
|
|
17
|
+
// subscription status/cancel, invoices, and the client.billing namespace.
|
|
18
|
+
// 0.1.106 ships play cell provenance metadata and v2 preview retry hardening.
|
|
19
|
+
// 0.1.107 ships the v2 quickstart command, the deepline-plays-quickstart
|
|
20
|
+
// skill on the sdk sync surface, and the people-search-to-email prebuilt.
|
|
21
|
+
// 0.1.108 ships explicit dataset column/tool recompute policy and removes
|
|
22
|
+
// the SDK enrich generator's one-second stale policy.
|
|
23
|
+
// 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
|
|
24
|
+
// 0.1.111 ships dataset-native tool list getters and result row datasets.
|
|
25
|
+
// 0.1.154 removes the short-lived generated enrich StepOptions recompute
|
|
26
|
+
// fields shipped in 0.1.153.
|
|
27
|
+
// 0.1.175 ships loud `deepline enrich` empty-waterfall reporting.
|
|
28
|
+
// 0.1.230 propagates enrich extractor failures as failed rows rather than
|
|
29
|
+
// silently materializing them as unmatched results.
|
|
30
|
+
// 0.1.220 deprecates SDK CLI versions below 0.1.219 and updates them
|
|
31
|
+
// automatically without blocking their current command.
|
|
32
|
+
// 0.1.241 hard-cuts published and launched plays to immutable cjs_node20
|
|
33
|
+
// artifacts. Older clients can submit esm_workers artifacts that the Absurd
|
|
34
|
+
// runtime intentionally no longer compiles at publish or launch time.
|
|
35
|
+
// 0.1.242 removes the retired Workers/ESM compiler, generated bundles, and
|
|
36
|
+
// deploy-time artifact migration. Play authoring now has one CJS contract.
|
|
37
|
+
// 0.1.252 hard-cuts the customer Monitor catalog to the two launched
|
|
38
|
+
// Deepline-native radars. Older clients must update before discovering,
|
|
39
|
+
// checking, or deploying an unlaunched monitor integration.
|
|
40
|
+
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
41
|
+
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
42
|
+
// Operators use the checkout-local deepline-admin binary instead.
|
|
43
|
+
// 0.2.0 makes Dataset Handles uniformly async-only after 0.1.320 briefly
|
|
44
|
+
// exposed storage-dependent synchronous access. This deliberate minor
|
|
45
|
+
// release keeps lazy paging semantics independent of row residency.
|
|
46
|
+
// 0.3.0 introduces raw-v2: complete scrubbed provider responses are
|
|
47
|
+
// available at toolResponse.rawV2 while toolResponse.raw and all declared
|
|
48
|
+
// getters keep their established compatibility behavior.
|
|
49
|
+
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
50
|
+
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
51
|
+
version: "0.3.91",
|
|
52
|
+
updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
|
|
53
|
+
packageCapabilities: {
|
|
54
|
+
updatePreferences: 1
|
|
55
|
+
},
|
|
56
|
+
contracts: {
|
|
57
|
+
api: {
|
|
58
|
+
name: "sdk-http-api",
|
|
59
|
+
// Concise Play grep has the current wire id. Older ids follow the
|
|
60
|
+
// standard API support window.
|
|
61
|
+
currentMajor: 3,
|
|
62
|
+
supportedMajors: [3, 2],
|
|
63
|
+
// Older ids remain subject to the API support window.
|
|
64
|
+
legacyWireIds: [
|
|
65
|
+
"2026-09-play-grep-concise-results",
|
|
66
|
+
"2026-07-admin-cli-local-cutover",
|
|
67
|
+
"2026-07-native-monitor-launch-hard-cutover"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
playArtifact: {
|
|
71
|
+
name: "play-artifact-runtime",
|
|
72
|
+
currentVersion: CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION,
|
|
73
|
+
supportedVersions: [1, CURRENT_PLAY_ARTIFACT_CONTRACT_VERSION]
|
|
74
|
+
},
|
|
75
|
+
release: {
|
|
76
|
+
name: "production-sdk-release",
|
|
77
|
+
publishFrom: "latest-successful-production-deployment",
|
|
78
|
+
coalesce: "latest-healthy"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
supportPolicy: {
|
|
82
|
+
minimumSupported: "0.1.53",
|
|
83
|
+
deprecatedBelow: "0.3.1",
|
|
84
|
+
commandIntroducedIn: [
|
|
85
|
+
{
|
|
86
|
+
command: "notifications",
|
|
87
|
+
introducedIn: "0.2.40",
|
|
88
|
+
reason: "deepline notifications was added in SDK CLI 0.2.40. Older versions have no way to configure a Play failure alert, so a cron Play that dies reports to nobody."
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
commandMinimumSupported: [
|
|
92
|
+
{
|
|
93
|
+
command: "enrich",
|
|
94
|
+
// Compatibility window through 2026-08-22 (owner: Chirag): versions
|
|
95
|
+
// 0.1.238-0.1.252 differ only in local browser-opening behavior and
|
|
96
|
+
// already contain the enrich data-correctness fixes below.
|
|
97
|
+
minimumSupported: "0.1.238",
|
|
98
|
+
reason: 'Older SDK CLI enrich generated stale play source; SDK CLI enrich 0.1.153 generated removed StepOptions fields in play source; SDK CLI enrich before 0.1.175 could silently succeed on the empty-waterfall bug when a requested waterfall returned no values for selected rows; SDK CLI enrich before 0.1.230 could convert extractor failures into successful unmatched results; SDK CLI enrich before 0.1.238 could drop a nested provider email match during generic pick("email") extraction and materialize it as NO_MATCH.'
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
command: "plays",
|
|
102
|
+
minimumSupported: "0.1.241",
|
|
103
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract. Update before checking, publishing, or running plays."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
command: "plays run",
|
|
107
|
+
minimumSupported: "0.1.253",
|
|
108
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract; versions before 0.1.253 open the play page by default and accept the removed --no-open flag."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
command: "run",
|
|
112
|
+
displayCommand: "plays run",
|
|
113
|
+
minimumSupported: "0.1.253",
|
|
114
|
+
reason: "Older SDK CLI versions predate dataset-native Play results and can emit the retired esm_workers artifact contract; versions before 0.1.253 open the play page by default and accept the removed --no-open flag."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
command: "plays check",
|
|
118
|
+
minimumSupported: "0.1.241",
|
|
119
|
+
reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
command: "check",
|
|
123
|
+
displayCommand: "plays check",
|
|
124
|
+
minimumSupported: "0.1.241",
|
|
125
|
+
reason: "Older SDK CLI versions predate dataset-native Play authoring and validate against the retired esm_workers artifact contract."
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
command: "plays publish",
|
|
129
|
+
minimumSupported: "0.1.241",
|
|
130
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
command: "publish",
|
|
134
|
+
displayCommand: "plays publish",
|
|
135
|
+
minimumSupported: "0.1.241",
|
|
136
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
command: "plays set-live",
|
|
140
|
+
minimumSupported: "0.1.241",
|
|
141
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
command: "set-live",
|
|
145
|
+
displayCommand: "plays set-live",
|
|
146
|
+
minimumSupported: "0.1.241",
|
|
147
|
+
reason: "Older SDK CLI versions predate dataset-native Play artifacts and can publish the retired esm_workers artifact contract."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
command: "runs",
|
|
151
|
+
minimumSupported: "0.1.111",
|
|
152
|
+
reason: "Run result rows now render as dataset handles with explicit export commands."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
command: "runs get",
|
|
156
|
+
minimumSupported: "0.1.111",
|
|
157
|
+
reason: "Run result rows now render as dataset handles with explicit export commands."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
command: "get",
|
|
161
|
+
displayCommand: "runs get",
|
|
162
|
+
minimumSupported: "0.1.111",
|
|
163
|
+
reason: "Run result rows now render as dataset handles with explicit export commands."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
command: "runs export",
|
|
167
|
+
minimumSupported: "0.1.111",
|
|
168
|
+
reason: "Run result row datasets now use the dataset-handle export contract."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
command: "export",
|
|
172
|
+
displayCommand: "runs export",
|
|
173
|
+
minimumSupported: "0.1.111",
|
|
174
|
+
reason: "Run result row datasets now use the dataset-handle export contract."
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
directToolsCompatibilityVersions: ["0.1.171"],
|
|
178
|
+
autoUpdatePatchLag: 2
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
export {
|
|
182
|
+
SDK_RELEASE
|
|
183
|
+
};
|