deepline 0.3.552 → 0.3.554
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/dist/bundling-sources/sdk/src/client-core.ts +107 -12
- package/dist/bundling-sources/sdk/src/compat.ts +239 -87
- package/dist/bundling-sources/sdk/src/config.ts +113 -2
- package/dist/bundling-sources/sdk/src/errors.ts +2 -0
- package/dist/bundling-sources/sdk/src/http-core.ts +118 -8
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/integrations.ts +6 -4
- package/dist/bundling-sources/sdk/src/play.ts +3 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +8 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +2 -1
- package/dist/bundling-sources/sdk/src/tool-failure-hint.ts +104 -0
- package/dist/bundling-sources/sdk/src/types.ts +9 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +4 -2
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-plan-skus.ts +25 -0
- package/dist/bundling-sources/shared_libs/monitors/action-actor.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +58 -4
- package/dist/bundling-sources/shared_libs/monitors/billing/policy-builders.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/pricing.ts +11 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +103 -5
- package/dist/bundling-sources/shared_libs/monitors/fleets/converge-admission.ts +133 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-attention.ts +165 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-release.ts +726 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-walk.ts +274 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +1 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/provider-bulk-wait.ts +126 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/shared-payload.ts +189 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/inbound-publish-key.ts +4 -0
- package/dist/bundling-sources/shared_libs/monitors/inventory-counter-errors.ts +25 -0
- package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +65 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +9 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +152 -1
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +390 -10
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +34 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +66 -30
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +30 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +26 -3
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +41 -13
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/raw-receipt-causes.ts +219 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +21 -10
- package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-integrations.ts +13 -0
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/log-metadata.ts +5 -3
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +10 -1
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/redaction.ts +24 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +168 -41
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -2
- package/dist/bundling-sources/shared_libs/play-data-plane/preview-r2-oidc.ts +188 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +170 -16
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +68 -2
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +444 -39
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-fetch-caller-deadline.ts +200 -0
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +21 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +3 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +70 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-tool-identity.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +62 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +74 -3
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +31 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/query-result-dataset.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +39 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +33 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-contract.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +254 -44
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +87 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +241 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +161 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +16 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-compression.ts +37 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +259 -52
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +62 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +206 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +185 -64
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-slot-ledger.ts +157 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +110 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-listener-hint.ts +323 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/executor-attempt-standing.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-storage.ts +23 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-workspace-purge.ts +199 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +632 -66
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +517 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-api-origin.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-receipt-value-storage.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +599 -2
- package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/startup-read-tool-ids.ts +60 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +51 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call-retry-facts.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +113 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -7
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +40 -5
- package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/control-plane-types.ts +16 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +10 -41
- package/dist/bundling-sources/shared_libs/plays/extension-bridge.ts +33 -0
- package/dist/bundling-sources/shared_libs/plays/row-identity.ts +18 -1
- package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +108 -0
- package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +14 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +171 -0
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +27 -1
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +9 -24
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +178 -5
- package/dist/bundling-sources/shared_libs/security/signup-email-dns-screen.ts +148 -0
- package/dist/bundling-sources/shared_libs/tool-execution-error.ts +108 -0
- package/dist/cli/{auth-KVSBJZOX.mjs → auth-HJUNW7T2.mjs} +8 -7
- package/dist/cli/auth-SP6SKZJZ.js +44 -0
- package/dist/cli/{billing-FQREA7UA.js → billing-4TSA5HEC.js} +297 -161
- package/dist/cli/{billing-54RHFEBI.mjs → billing-SJYRJAQ2.mjs} +197 -61
- package/dist/cli/{chunk-4MK42735.js → chunk-2HMN5H54.js} +215 -130
- package/dist/cli/{chunk-UBKA33KY.mjs → chunk-2MGZAI54.mjs} +17 -0
- package/dist/cli/{chunk-EOPEYCY7.mjs → chunk-2ORPFQUA.mjs} +18 -18
- package/dist/cli/{chunk-RQZQVFCJ.js → chunk-2OVHNHCF.js} +2 -2
- package/dist/cli/{chunk-QX7LFGJR.mjs → chunk-33WRQSQ2.mjs} +1874 -91
- package/dist/cli/{chunk-UPMRIVZB.js → chunk-3IKGZ4CG.js} +74 -13
- package/dist/cli/{chunk-EUPVF4SU.mjs → chunk-3Z4VFCXO.mjs} +8 -8
- package/dist/cli/{chunk-GKYAYLRI.js → chunk-4DOFGIEJ.js} +27 -31
- package/dist/cli/{chunk-4TALT2M3.mjs → chunk-52Q5KETX.mjs} +69 -3
- package/dist/cli/{chunk-RBEUVDZF.js → chunk-5CYZHOKI.js} +249 -107
- package/dist/cli/{chunk-LX35AXTN.mjs → chunk-5TYLSS4Q.mjs} +6 -6
- package/dist/cli/{chunk-IYSTRCLX.mjs → chunk-62AUAWQV.mjs} +4 -4
- package/dist/cli/{chunk-ZIAXDBXX.mjs → chunk-62HWJXST.mjs} +17 -21
- package/dist/cli/{chunk-QY3ZNU6Z.mjs → chunk-6EXOAT6T.mjs} +2 -2
- package/dist/cli/{chunk-EITMD3A5.js → chunk-6VLFQZK6.js} +8 -8
- package/dist/cli/{chunk-ADRC5I3R.js → chunk-7OWI736E.js} +30 -30
- package/dist/cli/{chunk-NURW5XH4.mjs → chunk-ASB47RXJ.mjs} +1 -1
- package/dist/cli/{chunk-PTVD2GVQ.mjs → chunk-B6HO2XWH.mjs} +13 -13
- package/dist/cli/{chunk-YJHE3O5M.mjs → chunk-BOZAP2EM.mjs} +141 -56
- package/dist/cli/chunk-BVXIGOBZ.js +32 -0
- package/dist/cli/{chunk-XDVT3GOM.js → chunk-CFJFUVX2.js} +18 -1
- package/dist/cli/{chunk-WE5HES3H.mjs → chunk-D6Z6POKE.mjs} +151 -43
- package/dist/cli/{chunk-AZQ264ID.mjs → chunk-DSKSFFK2.mjs} +1 -1
- package/dist/cli/{chunk-SHLFOPD6.js → chunk-DUBXUAAO.js} +5 -5
- package/dist/cli/{chunk-V436Z54K.js → chunk-E2G2DNAB.js} +3 -1
- package/dist/cli/{chunk-HO3XK3R7.js → chunk-E74KGKFZ.js} +8 -8
- package/dist/cli/{chunk-77AAAGVB.js → chunk-ECHKAC7M.js} +2 -2
- package/dist/cli/{chunk-KWSH5T7K.js → chunk-EN5NHCCQ.js} +21 -21
- package/dist/cli/{chunk-6RZOWL2V.mjs → chunk-F7CMRKSK.mjs} +1 -1
- package/dist/cli/{chunk-JWUAX6OP.js → chunk-FBAFX43W.js} +11 -11
- package/dist/cli/{chunk-AQWQ2BFX.mjs → chunk-FXQ3JKE3.mjs} +1 -1
- package/dist/cli/{chunk-QPKH23EC.mjs → chunk-GA2M3G3Y.mjs} +5 -5
- package/dist/cli/{chunk-G4O75EXF.js → chunk-GHT2NDL7.js} +18 -18
- package/dist/cli/{chunk-MF2GHZDO.js → chunk-GRZENGNE.js} +2 -2
- package/dist/cli/{chunk-4UUR4TCH.js → chunk-IVZKMJUK.js} +1875 -92
- package/dist/cli/{chunk-FTJLJCE5.mjs → chunk-KVBQY4ST.mjs} +3 -3
- package/dist/cli/{chunk-S5S355UY.mjs → chunk-KZHBDMGF.mjs} +12 -12
- package/dist/cli/{chunk-BBTKAASQ.js → chunk-LFQJW4S2.js} +42 -1
- package/dist/cli/{chunk-6ZORHRKB.mjs → chunk-LRZGS6RZ.mjs} +2 -0
- package/dist/cli/{chunk-2WFPHBR4.js → chunk-LY5MMXFF.js} +47 -29
- package/dist/cli/{chunk-BAIST2BR.js → chunk-M7STM3MZ.js} +36 -36
- package/dist/cli/{chunk-SL6MYJYM.js → chunk-MJTVX4QK.js} +35 -35
- package/dist/cli/{chunk-45PVGZST.js → chunk-OPTV7D2V.js} +508 -361
- package/dist/cli/{chunk-PFO3ISXA.js → chunk-OVEYWO4H.js} +174 -129
- package/dist/cli/{chunk-BGBJV26E.mjs → chunk-PC2FTUCP.mjs} +4 -4
- package/dist/cli/{chunk-WLN3SUIA.js → chunk-PQQMPUCZ.js} +3 -3
- package/dist/cli/{chunk-HYC4MKGK.mjs → chunk-Q7ACILL2.mjs} +5 -5
- package/dist/cli/{chunk-CBV7AKWM.js → chunk-R6DZ6NQ2.js} +5 -5
- package/dist/cli/{chunk-57VZVF5D.mjs → chunk-RBBTCYQB.mjs} +3 -3
- package/dist/cli/{chunk-F2LH7TGF.js → chunk-RTHMGSZX.js} +21 -21
- package/dist/cli/{chunk-YLTMXJFC.mjs → chunk-S6W6SJ6E.mjs} +158 -16
- package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
- package/dist/cli/{chunk-WEHCBH5R.mjs → chunk-TGUQET3O.mjs} +67 -6
- package/dist/cli/{chunk-IHRKLXZN.js → chunk-TJ6HLN56.js} +5 -5
- package/dist/cli/{chunk-3FD5EQ62.js → chunk-TOO3YM5N.js} +6 -7
- package/dist/cli/{chunk-QILKGXYF.mjs → chunk-UBBYHB2B.mjs} +2 -2
- package/dist/cli/{chunk-6PRW5UBA.mjs → chunk-UC4BDZKI.mjs} +299 -69
- package/dist/cli/{chunk-634ZDA3F.js → chunk-UNNOZKRT.js} +1 -1
- package/dist/cli/{chunk-IDVVIXPJ.js → chunk-UOT7HPBH.js} +41 -41
- package/dist/cli/{chunk-6YCA5NKJ.js → chunk-UYCZFQYQ.js} +12 -12
- package/dist/cli/{chunk-7IKQKKNX.js → chunk-VIUUTEHY.js} +90 -24
- package/dist/cli/{chunk-Z5TSLLOW.mjs → chunk-VLO5NFH2.mjs} +63 -18
- package/dist/cli/{chunk-U7QRMBIY.mjs → chunk-VQ75KX7G.mjs} +5 -5
- package/dist/cli/{chunk-4NQF6KJ3.js → chunk-VV4XGZ24.js} +13 -13
- package/dist/cli/{chunk-FSIVF2SI.mjs → chunk-VZGLIK5U.mjs} +1 -1
- package/dist/cli/{chunk-S46HWQKO.js → chunk-W6CZDTIR.js} +69 -69
- package/dist/cli/{chunk-XVB7V4N7.js → chunk-WL7P32PI.js} +161 -53
- package/dist/cli/{chunk-DJ2JDK4O.mjs → chunk-XD3MFTHA.mjs} +1 -1
- package/dist/cli/{chunk-GGGAEVCX.mjs → chunk-XFZX6FNM.mjs} +40 -22
- package/dist/cli/{chunk-AWJPDPMA.mjs → chunk-XU6QNM4D.mjs} +1 -1
- package/dist/cli/{chunk-QAORXEY3.mjs → chunk-YCOGPOUX.mjs} +6 -7
- package/dist/cli/{chunk-VQALXEXO.js → chunk-YQKCH4R7.js} +348 -118
- package/dist/cli/{chunk-6O5HOODW.mjs → chunk-YY55NYAH.mjs} +207 -60
- package/dist/cli/{chunk-JL2OTMSG.mjs → chunk-Z3A2S3QM.mjs} +41 -0
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-Q4KPAUJX.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +9 -8
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
- package/dist/cli/{csv-F5VAGX4K.js → csv-4ZQ2RATI.js} +16 -15
- package/dist/cli/{csv-2PTVDNO6.mjs → csv-Y3BFPEM6.mjs} +7 -6
- package/dist/cli/{db-IEDXAUF7.mjs → db-3JYY4JNN.mjs} +17 -17
- package/dist/cli/{db-Z3OIUFMM.js → db-VEIFS4M7.js} +45 -45
- package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
- package/dist/cli/describe-FG625QPF.js +50 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +7 -7
- package/dist/cli/describe-core.mjs +6 -6
- package/dist/cli/{executions-H6H5655J.js → executions-HPZXOOVX.js} +12 -12
- package/dist/cli/{executions-R3LP74QN.mjs → executions-PCXZKEHM.mjs} +10 -10
- package/dist/cli/{feedback-WL3MRVT5.mjs → feedback-Y6VKZNY6.mjs} +9 -8
- package/dist/cli/{feedback-VFOUR66B.js → feedback-ZKFHFVL6.js} +17 -16
- package/dist/cli/git-RUBMALLH.js +26 -0
- package/dist/cli/{git-YX2J4GCI.mjs → git-UMPR2QYC.mjs} +8 -7
- package/dist/cli/index.js +170 -158
- package/dist/cli/index.mjs +60 -48
- package/dist/cli/{integrations-E2JZYKHS.js → integrations-3GQCTRTF.js} +23 -27
- package/dist/cli/{integrations-5ZK5KLVP.mjs → integrations-V3TM6XAB.mjs} +15 -19
- package/dist/cli/{legacy-noops-SMN3GSXY.mjs → legacy-noops-JZBUD7ZE.mjs} +9 -8
- package/dist/cli/{legacy-noops-3VW4IJTH.js → legacy-noops-VYCO7NGW.js} +12 -11
- package/dist/cli/{mcp-UQV2K4EW.js → mcp-4OIWTCE6.js} +121 -48
- package/dist/cli/{mcp-V6MGCYAG.mjs → mcp-PH4KZ76P.mjs} +100 -27
- package/dist/cli/{monitors-R3BBDCRC.js → monitors-E2A6VPBY.js} +221 -186
- package/dist/cli/{monitors-GGKS5W6M.mjs → monitors-SSMGIDGX.mjs} +58 -23
- package/dist/cli/org-SFDKSK5D.mjs +2289 -0
- package/dist/cli/org-WUDZGWBT.js +2289 -0
- package/dist/cli/outcomes-QT7LQBPK.mjs +2865 -0
- package/dist/cli/outcomes-Y7SZTLSL.js +2865 -0
- package/dist/cli/{play-MDWPR4XG.mjs → play-EK7KSFPL.mjs} +376 -106
- package/dist/cli/{play-2MVO27VO.js → play-GDNHCRRR.js} +1150 -880
- package/dist/cli/{providers-AKDYFZJZ.mjs → providers-FVZLRXAU.mjs} +10 -10
- package/dist/cli/{providers-2AACRUZH.js → providers-ZKOSECLV.js} +13 -13
- package/dist/cli/{quickstart-H6IV3PV3.js → quickstart-KSDKIXYD.js} +9 -8
- package/dist/cli/{quickstart-QDGRJFZY.mjs → quickstart-UJZ6PIQV.mjs} +7 -6
- package/dist/cli/{run-RTSQNGRD.mjs → run-E7MZ7P35.mjs} +35 -33
- package/dist/cli/{run-2634REDK.js → run-PD2BBG6S.js} +55 -53
- package/dist/cli/run-identity-LMLFMACS.js +31 -0
- package/dist/cli/{run-identity-MRNCEGV2.mjs → run-identity-MAZ7ANH5.mjs} +9 -3
- package/dist/cli/search-TKSPTPHA.js +32 -0
- package/dist/cli/{search-6AOJ4XPP.mjs → search-VTFUFTOY.mjs} +11 -11
- package/dist/cli/{search-output-S5ODBL5E.js → search-output-G2AGDCOY.js} +13 -12
- package/dist/cli/{search-output-6ADMTOU5.mjs → search-output-PFVXQCWA.mjs} +10 -9
- package/dist/cli/{secrets-TFIFBFB3.mjs → secrets-7CIMEMX7.mjs} +11 -11
- package/dist/cli/{secrets-LHCIIHMT.js → secrets-BCOQ4U7U.js} +20 -20
- package/dist/cli/sessions-4CO556VD.js +23 -0
- package/dist/cli/{sessions-WHBVUHVW.mjs → sessions-IUCQZEF7.mjs} +9 -8
- package/dist/cli/{settings-EBONWL5C.mjs → settings-KZN62UQK.mjs} +16 -16
- package/dist/cli/{settings-CP4FVK2W.js → settings-REL4736M.js} +89 -89
- package/dist/cli/{setup-I5AZE3IU.mjs → setup-2P7OG3OU.mjs} +22 -24
- package/dist/cli/{setup-LFGHTNLQ.js → setup-2XIVBBCS.js} +62 -64
- package/dist/cli/skills-JYT5DEY6.js +37 -0
- package/dist/cli/{skills-W76AO5XE.mjs → skills-VIGNDJKI.mjs} +10 -9
- package/dist/cli/tools-NTVUQ2TG.js +57 -0
- package/dist/cli/{tools-7IJHGF6W.mjs → tools-W3QT5EJY.mjs} +24 -24
- package/dist/cli/{update-GFOPZTHY.mjs → update-GZVBVMY3.mjs} +14 -11
- package/dist/cli/update-TWJZPUZM.js +37 -0
- package/dist/cli/{views-D4NX4SBG.mjs → views-BOGEH424.mjs} +47 -49
- package/dist/cli/{views-BPL2TQJ4.js → views-TOLJNLSV.js} +62 -64
- package/dist/cli/{workflow-ZYNAUCKC.js → workflow-ENWFRK5M.js} +23 -23
- package/dist/cli/{workflow-YXP42FUI.mjs → workflow-VDG2FDQV.mjs} +13 -13
- package/dist/{client-CyXGrO4D.d.mts → client-B8f7RNF8.d.mts} +1 -1
- package/dist/{client-Bf3IpUKN.d.ts → client-C5TgXmJQ.d.ts} +1 -1
- package/dist/{client-core-BxsLnXlm.d.mts → client-core-SLLGBTht.d.mts} +268 -23
- package/dist/{client-core-BWd0lX0Z.d.ts → client-core-p0sOxnkl.d.ts} +268 -23
- package/dist/{compiler-manifest-BqwVrOri.d.ts → compiler-manifest-D_zZEh9Q.d.mts} +70 -5
- package/dist/{compiler-manifest-BqwVrOri.d.mts → compiler-manifest-D_zZEh9Q.d.ts} +70 -5
- package/dist/{errors-BU8FB99X.d.mts → errors-CZCrBFrQ.d.mts} +1 -1
- package/dist/{errors-DfVN_FUG.d.ts → errors-DsUkLrdZ.d.ts} +1 -1
- package/dist/{index-BGnvtYGc.d.ts → index-B6RTOZGC.d.ts} +1 -1
- package/dist/{index-DjZgwpGw.d.mts → index-DeOVrEmX.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +66 -55
- package/dist/index.mjs +25 -14
- package/dist/install-integrity.json +163 -144
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +23 -4
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +4 -4
- package/dist/plays/run-request.mjs +3 -3
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +15 -13
- package/dist/server.mjs +9 -7
- package/package.json +1 -1
- package/dist/cli/auth-MMNVWATX.js +0 -43
- package/dist/cli/chunk-AID3OYVJ.js +0 -8
- package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
- package/dist/cli/concurrent-runs-help-FQAIHKKC.js +0 -21
- package/dist/cli/describe-QDANCTS3.mjs +0 -50
- package/dist/cli/describe-VUTT5ZKU.js +0 -50
- package/dist/cli/git-ETB3GH3K.js +0 -25
- package/dist/cli/org-GRYVMNSW.js +0 -1282
- package/dist/cli/org-Z37NGJV4.mjs +0 -1282
- package/dist/cli/run-identity-G257GQED.js +0 -25
- package/dist/cli/search-VTW2YNBS.js +0 -32
- package/dist/cli/sessions-CJ4FJ2WB.js +0 -22
- package/dist/cli/skills-R7EBXREW.js +0 -36
- package/dist/cli/tools-V7U2BDXM.js +0 -57
- package/dist/cli/update-4COPZETK.js +0 -34
|
@@ -3,6 +3,7 @@ import { isIP } from 'node:net';
|
|
|
3
3
|
import { internal } from '@deepline/convex-client/function-references';
|
|
4
4
|
import { hasSnitcherSessionIdentity } from '@deepline/ingestion-v2/snitcher-session-identity';
|
|
5
5
|
import { getRequiredInternalConvexClient } from '@deepline/convex-client/internal-client';
|
|
6
|
+
import { getSnitcherRadarWebhookSecret } from './snitcher-radar';
|
|
6
7
|
|
|
7
8
|
export { hasSnitcherSessionIdentity };
|
|
8
9
|
|
|
@@ -182,13 +183,14 @@ function apiKey() {
|
|
|
182
183
|
return value;
|
|
183
184
|
}
|
|
184
185
|
|
|
185
|
-
function ipCacheHash(input: { orgId: string; ip: string }) {
|
|
186
|
+
function ipCacheHash(input: { orgId: string; ip: string; fixture: boolean }) {
|
|
186
187
|
// The cache is per workspace. Sharing a resolved visitor IP across tenants
|
|
187
188
|
// would cross a customer-data boundary even though it would lower provider
|
|
188
189
|
// spend. Keep the raw IP out of Convex control-plane state.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
const key = input.fixture ? getSnitcherRadarWebhookSecret() : apiKey();
|
|
191
|
+
const hash = createHmac('sha256', key);
|
|
192
|
+
if (input.fixture) hash.update('snitcher-fixture\u0000');
|
|
193
|
+
return hash.update(`${input.orgId}\u0000${input.ip}`).digest('hex');
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
function cacheableResult(
|
|
@@ -225,7 +227,7 @@ function resultFromCache(
|
|
|
225
227
|
*/
|
|
226
228
|
export async function findSnitcherIp2Company(
|
|
227
229
|
ip: string | null | undefined,
|
|
228
|
-
fetchImplementation
|
|
230
|
+
fetchImplementation?: FetchImplementation,
|
|
229
231
|
): Promise<SnitcherIp2CompanyResult> {
|
|
230
232
|
const candidate = readString(ip);
|
|
231
233
|
if (!candidate) return { status: 'skipped_no_ip', ip: null };
|
|
@@ -235,13 +237,13 @@ export async function findSnitcherIp2Company(
|
|
|
235
237
|
|
|
236
238
|
let response: Response;
|
|
237
239
|
try {
|
|
238
|
-
response = await fetchImplementation(
|
|
240
|
+
response = await (fetchImplementation ?? fetch)(
|
|
239
241
|
`${SNITCHER_IP2COMPANY_URL}?${new URLSearchParams({ ip: candidate })}`,
|
|
240
242
|
{
|
|
241
243
|
method: 'POST',
|
|
242
244
|
headers: {
|
|
243
|
-
Authorization: `Bearer ${apiKey()}`,
|
|
244
245
|
Accept: 'application/json',
|
|
246
|
+
...(!fetchImplementation && { Authorization: `Bearer ${apiKey()}` }),
|
|
245
247
|
},
|
|
246
248
|
},
|
|
247
249
|
);
|
|
@@ -290,10 +292,15 @@ export async function findSnitcherIp2Company(
|
|
|
290
292
|
};
|
|
291
293
|
}
|
|
292
294
|
|
|
293
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* Adds a non-secret enrichment envelope consumed by the typed session writer.
|
|
297
|
+
* `fetchImplementation` is the fake Snitcher's answerer for a workspace that
|
|
298
|
+
* holds its fixture; every other caller uses the real lookup.
|
|
299
|
+
*/
|
|
294
300
|
export async function enrichSnitcherSessionWithIp2Company(input: {
|
|
295
301
|
orgId: string;
|
|
296
302
|
payload: Record<string, unknown>;
|
|
303
|
+
fetchImplementation?: FetchImplementation;
|
|
297
304
|
}): Promise<Record<string, unknown>> {
|
|
298
305
|
const root = readRecord(input.payload);
|
|
299
306
|
if (!root) return input.payload;
|
|
@@ -303,7 +310,11 @@ export async function enrichSnitcherSessionWithIp2Company(input: {
|
|
|
303
310
|
return { ...root, _deepline_ip2company: enrichment };
|
|
304
311
|
}
|
|
305
312
|
|
|
306
|
-
const cacheKey = ipCacheHash({
|
|
313
|
+
const cacheKey = ipCacheHash({
|
|
314
|
+
orgId: input.orgId,
|
|
315
|
+
ip,
|
|
316
|
+
fixture: input.fetchImplementation !== undefined,
|
|
317
|
+
});
|
|
307
318
|
const leaseId = randomUUID();
|
|
308
319
|
const client = getRequiredInternalConvexClient();
|
|
309
320
|
const claim = await client.mutation(internal.analyticsIp2cCache.claim, {
|
|
@@ -327,7 +338,7 @@ export async function enrichSnitcherSessionWithIp2Company(input: {
|
|
|
327
338
|
|
|
328
339
|
let enrichment: SnitcherIp2CompanyResult;
|
|
329
340
|
try {
|
|
330
|
-
enrichment = await findSnitcherIp2Company(ip);
|
|
341
|
+
enrichment = await findSnitcherIp2Company(ip, input.fetchImplementation);
|
|
331
342
|
} catch (error) {
|
|
332
343
|
await client.mutation(internal.analyticsIp2cCache.release, {
|
|
333
344
|
orgId: input.orgId,
|
|
@@ -48,4 +48,17 @@ export const MONITOR_STARTER_TEMPLATES: MonitorStarterTemplate[] = [
|
|
|
48
48
|
prompt:
|
|
49
49
|
'/deepline-gtm Monitor my target accounts for news like launches, expansions, and leadership changes.',
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
// Visitors come from the customer's own RB2B or Vector account through
|
|
53
|
+
// its webhook monitor (rb2b.visitor_events / vector.visitor_events).
|
|
54
|
+
// #9686 removed "Website visitor intent", which asked for high-intent
|
|
55
|
+
// visits without naming a source, as an unsupported use case; naming the
|
|
56
|
+
// provider is what makes this one deployable.
|
|
57
|
+
id: 'website-visitors',
|
|
58
|
+
title: "Who's visiting your website",
|
|
59
|
+
description:
|
|
60
|
+
'Using RB2B or Vector? Turn the people and companies on your site into leads.',
|
|
61
|
+
prompt:
|
|
62
|
+
'/deepline-gtm Monitor visitors to my website through my RB2B or Vector account, and turn identified visitors from my target accounts into leads.',
|
|
63
|
+
},
|
|
51
64
|
];
|
|
@@ -22,6 +22,8 @@ export const VECTOR_POST_DEPLOY_GUIDANCE = {
|
|
|
22
22
|
externalId: 'contact_123',
|
|
23
23
|
companyDomain: 'example.com',
|
|
24
24
|
},
|
|
25
|
+
removal_step:
|
|
26
|
+
"In Vector, remove this monitor's Deepline webhook endpoint from the segment's actions. Deepline refuses its deliveries now.",
|
|
25
27
|
} as const satisfies ProviderMonitorPostDeployGuidance;
|
|
26
28
|
|
|
27
29
|
export const RB2B_POST_DEPLOY_GUIDANCE = {
|
|
@@ -42,6 +44,8 @@ export const RB2B_POST_DEPLOY_GUIDANCE = {
|
|
|
42
44
|
'LinkedIn URL': 'https://www.linkedin.com/in/example',
|
|
43
45
|
Website: 'https://example.com',
|
|
44
46
|
},
|
|
47
|
+
removal_step:
|
|
48
|
+
"In RB2B, open Integrations, choose Webhook and remove this monitor's Deepline URL. Deepline refuses its deliveries now.",
|
|
45
49
|
} as const satisfies ProviderMonitorPostDeployGuidance;
|
|
46
50
|
|
|
47
51
|
export const SNITCHER_POST_DEPLOY_GUIDANCE = {
|
|
@@ -66,6 +70,8 @@ export const SNITCHER_POST_DEPLOY_GUIDANCE = {
|
|
|
66
70
|
{ event_name: '$pageview', created_at: '2026-01-01T00:00:00.000Z' },
|
|
67
71
|
],
|
|
68
72
|
},
|
|
73
|
+
// No removal_step: Deepline also holds this monitor's Snitcher tracker, so
|
|
74
|
+
// retiring the callback alone is not a delete (#10967).
|
|
69
75
|
} as const satisfies ProviderMonitorPostDeployGuidance;
|
|
70
76
|
|
|
71
77
|
export const TRACKING_PROVIDER_POST_DEPLOY_GUIDANCE = {
|
|
@@ -27,6 +27,19 @@ export const TRACKING_PROVIDER_INTEGRATIONS = {
|
|
|
27
27
|
},
|
|
28
28
|
} as const;
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Whether a public monitor tool is a tracking provider (RB2B, Vector, Deepline
|
|
32
|
+
* Analytics). These are set up in Integrations, which shows the callback URL
|
|
33
|
+
* the customer installs at the provider and uses the fixed monitor key above.
|
|
34
|
+
*/
|
|
35
|
+
export function isTrackingProviderMonitorTool(toolId: string): boolean {
|
|
36
|
+
return Object.values(TRACKING_PROVIDER_INTEGRATIONS).some(
|
|
37
|
+
(integration) =>
|
|
38
|
+
integration.tool === toolId ||
|
|
39
|
+
('publicTool' in integration && integration.publicTool === toolId),
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
30
43
|
export type TrackingProviderIntegration =
|
|
31
44
|
(typeof TRACKING_PROVIDER_INTEGRATIONS)[keyof typeof TRACKING_PROVIDER_INTEGRATIONS] & {
|
|
32
45
|
docsUrl: string;
|
|
@@ -1311,7 +1311,7 @@ const DLQ_PATH_METADATA: Readonly<Record<string, DlqPathMetadata>> = {
|
|
|
1311
1311
|
enabled: false,
|
|
1312
1312
|
requiresApproval: true,
|
|
1313
1313
|
reason:
|
|
1314
|
-
|
|
1314
|
+
"A raw receipt keeps only the parsed payload, not the callback token and admission a redrive needs, so no per-item operator retry exists: provider redelivery reclaims the receipt, and a dead-lettered event is redriven through its signal-radar-inbound-legacy-dlq item. Retire a reviewed receipt through the operator overlay.",
|
|
1315
1315
|
},
|
|
1316
1316
|
],
|
|
1317
1317
|
},
|
|
@@ -2,6 +2,7 @@ import 'server-only';
|
|
|
2
2
|
|
|
3
3
|
import { workUnitAsyncStorage } from 'next/dist/server/app-render/work-unit-async-storage.external';
|
|
4
4
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
5
|
+
import { redactTelemetryPath } from './redaction';
|
|
5
6
|
|
|
6
7
|
export type LogMetadata = Record<string, unknown>;
|
|
7
8
|
|
|
@@ -106,9 +107,10 @@ function getActiveLogMetadata(): LogMetadata {
|
|
|
106
107
|
const contextMetadata = storage.getStore();
|
|
107
108
|
const requestMetadata = getRequestMetadataFromHeaders();
|
|
108
109
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
const metadata = { ...requestMetadata, ...contextMetadata };
|
|
111
|
+
return typeof metadata.request_path === 'string'
|
|
112
|
+
? { ...metadata, request_path: redactTelemetryPath(metadata.request_path) }
|
|
113
|
+
: metadata;
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
function mergeLogArgs(args: unknown[], metadata: LogMetadata): unknown[] {
|
|
@@ -199,6 +199,15 @@ export const OPERATIONS_QUEUE_CATALOG = [
|
|
|
199
199
|
600_000,
|
|
200
200
|
1_800_000,
|
|
201
201
|
),
|
|
202
|
+
queue(
|
|
203
|
+
'monitor-fleet-fence-attention',
|
|
204
|
+
'Monitor Fleet create fences needing an operator',
|
|
205
|
+
'leased_workset',
|
|
206
|
+
'monitors',
|
|
207
|
+
'Fleet create batches whose unanswered creates complete inventory reads still do not find; only an operator release on evidence ends them',
|
|
208
|
+
1_800_000,
|
|
209
|
+
3_600_000,
|
|
210
|
+
),
|
|
202
211
|
queue(
|
|
203
212
|
'provider-monitor-reconciliation',
|
|
204
213
|
'Provider-monitor reconciliation',
|
|
@@ -240,7 +249,7 @@ export const OPERATIONS_QUEUE_CATALOG = [
|
|
|
240
249
|
'Signal-radar raw receipts not written',
|
|
241
250
|
'provider_queue',
|
|
242
251
|
'monitors',
|
|
243
|
-
'
|
|
252
|
+
'Tenant raw callback receipts not written as rows; each names its cause, many are deliberate raw-only captures; retire one once addressed, redrive through the dead-letter item',
|
|
244
253
|
300_000,
|
|
245
254
|
900_000,
|
|
246
255
|
),
|
|
@@ -275,6 +275,7 @@ export const QUEUE_CONNECTOR_BACKENDS: Readonly<
|
|
|
275
275
|
'monitor-fleet-convergence': 'convex',
|
|
276
276
|
'monitor-deployment-jobs': 'workpool',
|
|
277
277
|
'monitor-batch-operations': 'workpool',
|
|
278
|
+
'monitor-fleet-fence-attention': 'convex',
|
|
278
279
|
'provider-monitor-reconciliation': 'provider',
|
|
279
280
|
'signal-radar-inbound-dlq': 'convex',
|
|
280
281
|
'signal-radar-inbound-receipts': 'convex',
|
|
@@ -26,6 +26,29 @@ const INLINE_SECRET_PATTERN = new RegExp(
|
|
|
26
26
|
const POSTGRES_CREDENTIAL_PATTERN =
|
|
27
27
|
/\b(postgres(?:ql)?:\/\/[^:\s/@]+:)[^@\s]+@/gi;
|
|
28
28
|
|
|
29
|
+
/** Route capabilities are credentials even when they contain only ordinary hex. */
|
|
30
|
+
function redactCapabilityPaths(value: string): string {
|
|
31
|
+
return value
|
|
32
|
+
.replace(/(\/(?:api\/v2\/auth\/)?cli\/claim\/)[^/?#\s"'<>]+/gi, '$1[token]')
|
|
33
|
+
.replace(
|
|
34
|
+
/(\/(?:for-you|api\/v2\/gifting|api\/v2\/communications\/webhooks\/resend|api\/v2\/webhooks\/(?:inbound|draft))\/)[^/?#\s"'<>]+/gi,
|
|
35
|
+
'$1[token]',
|
|
36
|
+
)
|
|
37
|
+
.replace(
|
|
38
|
+
/(\/api\/v2\/monitors\/provider-callbacks\/webhook\/)[^/?#\s"'<>]+\/[^/?#\s"'<>]+\/[^/?#\s"'<>]+/gi,
|
|
39
|
+
'$1[provider]/[orgId]/[token]',
|
|
40
|
+
)
|
|
41
|
+
.replace(
|
|
42
|
+
/(\/api\/v2\/ingestion\/crm\/webhooks\/)[^/?#\s"'<>]+\/[^/?#\s"'<>]+\/[^/?#\s"'<>]+/gi,
|
|
43
|
+
'$1[orgId]/[provider]/[token]',
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** Safe path context: no query/fragment and no bearer capabilities in segments. */
|
|
48
|
+
export function redactTelemetryPath(value: string): string {
|
|
49
|
+
return redactPlainTelemetryText(value.split(/[?#]/, 1)[0]);
|
|
50
|
+
}
|
|
51
|
+
|
|
29
52
|
/** Whether a structured telemetry field name must never retain its value. */
|
|
30
53
|
export function isSensitiveTelemetryFieldName(value: string): boolean {
|
|
31
54
|
return SENSITIVE_FIELD_PATTERN.test(value);
|
|
@@ -60,7 +83,7 @@ function redactStructuredValue(
|
|
|
60
83
|
|
|
61
84
|
function redactPlainTelemetryText(value: string): string {
|
|
62
85
|
return (
|
|
63
|
-
value
|
|
86
|
+
redactCapabilityPaths(value)
|
|
64
87
|
// Scoped to the provider host: `key` elsewhere remains an identifier.
|
|
65
88
|
.replace(
|
|
66
89
|
/https?:\/\/(?:api|bulkapi)\.millionverifier\.com(?=[:/?#]|$)[^\s"'<>]*/gi,
|
|
@@ -464,11 +464,29 @@
|
|
|
464
464
|
"locator": "schedule:",
|
|
465
465
|
"owner": "integrations",
|
|
466
466
|
"criticality": "maintenance",
|
|
467
|
-
"purpose": "Refresh live OpenAPI
|
|
468
|
-
"successDefinition": "
|
|
469
|
-
"failureDefinition": "
|
|
467
|
+
"purpose": "Refresh each provider's live OpenAPI snapshot on its own, open or update the refresh pull request, have Claude Code fix held-back providers, and report to #deepline-provider-openapi-refresh.",
|
|
468
|
+
"successDefinition": "Every provider that compiles is refreshed and the refresh PR is updated (no diff is a valid no-op); held-back providers are named in the report and either fixed in a Claude PR or flagged for a human.",
|
|
469
|
+
"failureDefinition": "Generation, the refresh PR, the Claude fix attempt, or the Slack report fails. A held-back provider alone is not a failure.",
|
|
470
470
|
"startGraceMs": 600000,
|
|
471
|
-
"runTimeoutMs":
|
|
471
|
+
"runTimeoutMs": 14400000,
|
|
472
|
+
"failureAlert": "github_workflow_run",
|
|
473
|
+
"domainReportRequired": true
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"id": "github.claude-ci-usage-daily",
|
|
477
|
+
"name": "Claude CI usage daily",
|
|
478
|
+
"scheduler": "github_actions",
|
|
479
|
+
"cadence": "0 15 * * *",
|
|
480
|
+
"timezone": "UTC",
|
|
481
|
+
"source": ".github/workflows/claude-ci-usage-daily.yml",
|
|
482
|
+
"locator": "schedule:",
|
|
483
|
+
"owner": "integrations",
|
|
484
|
+
"criticality": "maintenance",
|
|
485
|
+
"purpose": "Post the last day's Claude Code cost and tokens of the CI bots on the shared Claude token to #deepline-provider-openapi-refresh.",
|
|
486
|
+
"successDefinition": "The usage message posts to Slack; a day with no Claude runs posts zeros.",
|
|
487
|
+
"failureDefinition": "Listing runs, reading transcripts, or the Slack post fails.",
|
|
488
|
+
"startGraceMs": 600000,
|
|
489
|
+
"runTimeoutMs": 1800000,
|
|
472
490
|
"failureAlert": "github_workflow_run",
|
|
473
491
|
"domainReportRequired": true
|
|
474
492
|
},
|
|
@@ -490,6 +508,24 @@
|
|
|
490
508
|
"failureAlert": "github_workflow_run",
|
|
491
509
|
"domainReportRequired": true
|
|
492
510
|
},
|
|
511
|
+
{
|
|
512
|
+
"id": "github.merge-train",
|
|
513
|
+
"name": "Merge train",
|
|
514
|
+
"scheduler": "github_actions",
|
|
515
|
+
"cadence": "*/5 * * * *",
|
|
516
|
+
"timezone": "UTC",
|
|
517
|
+
"source": ".github/workflows/merge-train.yml",
|
|
518
|
+
"locator": "schedule:",
|
|
519
|
+
"owner": "platform",
|
|
520
|
+
"criticality": "operational",
|
|
521
|
+
"purpose": "Land or fail the oldest merge train once its required check concludes, and start trains for PRs labeled train.",
|
|
522
|
+
"successDefinition": "The train is disabled, or every concluded train is landed with main matching its tested tree or failed with its PRs labeled, and any eligible PRs are boarded.",
|
|
523
|
+
"failureDefinition": "A GitHub read or write fails, a member cannot be squash-merged, or main's tree differs from the tree the train tested.",
|
|
524
|
+
"startGraceMs": 600000,
|
|
525
|
+
"runTimeoutMs": 1800000,
|
|
526
|
+
"failureAlert": "github_workflow_run",
|
|
527
|
+
"domainReportRequired": true
|
|
528
|
+
},
|
|
493
529
|
{
|
|
494
530
|
"id": "github.release-train",
|
|
495
531
|
"name": "Release train",
|
|
@@ -803,18 +839,19 @@
|
|
|
803
839
|
"domainReportRequired": true
|
|
804
840
|
},
|
|
805
841
|
{
|
|
806
|
-
"id": "vercel.
|
|
807
|
-
"name": "
|
|
842
|
+
"id": "vercel.monitor-health-digest",
|
|
843
|
+
"name": "Monitor health digest",
|
|
808
844
|
"scheduler": "vercel_cron",
|
|
809
|
-
"cadence": "0
|
|
810
|
-
"timezone": "
|
|
845
|
+
"cadence": "0 10 * * *",
|
|
846
|
+
"timezone": "America/New_York",
|
|
847
|
+
"vercelSchedule": "0 14,15 * * *",
|
|
811
848
|
"source": "apps/deepline-api/vercel.json",
|
|
812
|
-
"locator": "/api/v2/cron/
|
|
849
|
+
"locator": "/api/v2/cron/monitor-health-digest",
|
|
813
850
|
"owner": "monitors",
|
|
814
851
|
"criticality": "operational",
|
|
815
|
-
"purpose": "
|
|
816
|
-
"successDefinition": "
|
|
817
|
-
"failureDefinition": "
|
|
852
|
+
"purpose": "Once a day at 10:00 America/New_York, read every monitor queue, outbox, journal and cron and post one digest of what is wrong; post nothing on a clean day. Vercel calls it at 14:00 and 15:00 UTC (vercelSchedule), which cover EDT and EST; the call in the other hour returns before scheduled-work recording, so only the 10:00 New York report is an occurrence.",
|
|
853
|
+
"successDefinition": "Every monitored workspace with live monitors and every monitor source is read, counts keep their exactness, and the digest is posted when anything is wrong (nothing is posted when all is clean).",
|
|
854
|
+
"failureDefinition": "The org list or day claim cannot be read, or the digest of a day with findings is rejected by Slack. A source or workspace that cannot be read is reported in the digest and makes the run a warning.",
|
|
818
855
|
"startGraceMs": 300000,
|
|
819
856
|
"runTimeoutMs": 1800000,
|
|
820
857
|
"failureAlert": "vercel_route_wrapper",
|
|
@@ -1298,9 +1335,9 @@
|
|
|
1298
1335
|
"locator": "/api/v2/cron/neon-managed-usage",
|
|
1299
1336
|
"owner": "billing",
|
|
1300
1337
|
"criticality": "operational",
|
|
1301
|
-
"purpose": "Record the last
|
|
1338
|
+
"purpose": "Record the last seven whole UTC days of managed Neon usage after a two-hour buffer, finish saved page walks and reread hourly to reconcile late compute at its original price.",
|
|
1302
1339
|
"successDefinition": "Every page reached this run is recorded and its cursor saved; a finished window or no projects is a valid no-op.",
|
|
1303
|
-
"failureDefinition": "A Neon page cannot be read, a usage batch fails to persist,
|
|
1340
|
+
"failureDefinition": "A Neon page cannot be read, a usage batch fails to persist, a workspace's billing ledger shadow refuses its facts, or an explicit provider compute total decreases and requires review.",
|
|
1304
1341
|
"startGraceMs": 300000,
|
|
1305
1342
|
"runTimeoutMs": 600000,
|
|
1306
1343
|
"failureAlert": "vercel_route_wrapper",
|
|
@@ -1433,38 +1470,20 @@
|
|
|
1433
1470
|
"domainReportRequired": true
|
|
1434
1471
|
},
|
|
1435
1472
|
{
|
|
1436
|
-
"id": "convex.
|
|
1437
|
-
"name": "
|
|
1473
|
+
"id": "convex.integration-catalog-release-maintenance",
|
|
1474
|
+
"name": "Integration catalog release maintenance",
|
|
1438
1475
|
"scheduler": "convex_cron",
|
|
1439
|
-
"cadence": "
|
|
1440
|
-
"timezone": "UTC",
|
|
1441
|
-
"source": "packages/convex/crons.ts",
|
|
1442
|
-
"locator": "refresh tool usage popularity snapshot",
|
|
1443
|
-
"owner": "integrations",
|
|
1444
|
-
"criticality": "operational",
|
|
1445
|
-
"purpose": "Sum distinct user-days per tool over the last 28 complete UTC days into the snapshot tools search uses as a ranking prior, then delete user-day rows past retention.",
|
|
1446
|
-
"successDefinition": "A complete snapshot is published and up to 2,000 expired user-day records are removed; an empty snapshot is valid before usage is folded.",
|
|
1447
|
-
"failureDefinition": "If a scan exceeds its input budget or any required read or write fails, Search keeps serving the previous snapshot.",
|
|
1448
|
-
"startGraceMs": 120000,
|
|
1449
|
-
"runTimeoutMs": 1800000,
|
|
1450
|
-
"failureAlert": "convex_action_wrapper",
|
|
1451
|
-
"domainReportRequired": true
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
"id": "convex.publish-shadow-tool-rates",
|
|
1455
|
-
"name": "Publish shadow tool rates",
|
|
1456
|
-
"scheduler": "convex_cron",
|
|
1457
|
-
"cadence": "47 * * * *",
|
|
1476
|
+
"cadence": "*/10 * * * *",
|
|
1458
1477
|
"timezone": "UTC",
|
|
1459
1478
|
"source": "packages/convex/crons.ts",
|
|
1460
|
-
"locator": "
|
|
1479
|
+
"locator": "integration catalog release maintenance",
|
|
1461
1480
|
"owner": "integrations",
|
|
1462
|
-
"criticality": "
|
|
1463
|
-
"purpose": "
|
|
1464
|
-
"successDefinition": "
|
|
1465
|
-
"failureDefinition": "A
|
|
1481
|
+
"criticality": "maintenance",
|
|
1482
|
+
"purpose": "Delete integration catalog releases past their 30-day rollback window (and abandoned unreadable ones), and prune shared vectors superseded content-addressed releases no longer serve, paced to 1 MiB/s of deleted bytes.",
|
|
1483
|
+
"successDefinition": "Steps reach completion or the five-minute run budget; zero eligible releases is a valid no-op.",
|
|
1484
|
+
"failureDefinition": "A cleanup or prune step fails, or eligible releases stop shrinking across runs.",
|
|
1466
1485
|
"startGraceMs": 120000,
|
|
1467
|
-
"runTimeoutMs":
|
|
1486
|
+
"runTimeoutMs": 600000,
|
|
1468
1487
|
"failureAlert": "convex_action_wrapper",
|
|
1469
1488
|
"domainReportRequired": true
|
|
1470
1489
|
},
|
|
@@ -1864,6 +1883,42 @@
|
|
|
1864
1883
|
"failureAlert": "convex_native_mutation",
|
|
1865
1884
|
"domainReportRequired": true
|
|
1866
1885
|
},
|
|
1886
|
+
{
|
|
1887
|
+
"id": "convex.team-move-batch",
|
|
1888
|
+
"name": "Team move batch",
|
|
1889
|
+
"scheduler": "convex_scheduled_mutation",
|
|
1890
|
+
"cadence": "runAfter 0 from a team move, one page at a time until its child stages are done",
|
|
1891
|
+
"timezone": "UTC",
|
|
1892
|
+
"source": "packages/convex/teamMoves.ts",
|
|
1893
|
+
"locator": "continueMove",
|
|
1894
|
+
"owner": "auth",
|
|
1895
|
+
"criticality": "standard",
|
|
1896
|
+
"purpose": "Move one resource's large child sets (a Play's runs and summaries, a workflow's runs, a Fleet's members) to the team its parent already moved to, in bounded resumable pages.",
|
|
1897
|
+
"successDefinition": "Every stage of the durable teamMoves row is worked and the move is marked done.",
|
|
1898
|
+
"failureDefinition": "Convex reports a failed continuation mutation; the move stays moving with its cursor until re-sent or resumed for its org.",
|
|
1899
|
+
"startGraceMs": 120000,
|
|
1900
|
+
"runTimeoutMs": 60000,
|
|
1901
|
+
"failureAlert": "convex_native_mutation",
|
|
1902
|
+
"domainReportRequired": true
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"id": "convex.scim-group-sync-batch",
|
|
1906
|
+
"name": "SCIM group sync batch",
|
|
1907
|
+
"scheduler": "convex_scheduled_mutation",
|
|
1908
|
+
"cadence": "runAfter 0 from a SCIM group mapping change, group delete, or large member change, one page at a time until the group's sync is done",
|
|
1909
|
+
"timezone": "UTC",
|
|
1910
|
+
"source": "packages/convex/scimGroupSync.ts",
|
|
1911
|
+
"locator": "continueGroupSync",
|
|
1912
|
+
"owner": "auth",
|
|
1913
|
+
"criticality": "standard",
|
|
1914
|
+
"purpose": "Bring a SCIM group's workspace grants and group-only workspace member rows in line with its members and mapping, in bounded resumable pages, after the change itself already took effect.",
|
|
1915
|
+
"successDefinition": "The group's durable scimGroupSync row is worked through its members and grants stages and deleted.",
|
|
1916
|
+
"failureDefinition": "Convex reports a failed continuation mutation; the sync row keeps its place until a newer change to the group or the org's resume control starts a new chain.",
|
|
1917
|
+
"startGraceMs": 120000,
|
|
1918
|
+
"runTimeoutMs": 60000,
|
|
1919
|
+
"failureAlert": "convex_native_mutation",
|
|
1920
|
+
"domainReportRequired": true
|
|
1921
|
+
},
|
|
1867
1922
|
{
|
|
1868
1923
|
"id": "convex.sql-listener-dispatch-retry",
|
|
1869
1924
|
"name": "SQL-listener dispatch retry",
|
|
@@ -2081,6 +2136,24 @@
|
|
|
2081
2136
|
"failureAlert": "convex_native_scheduled_function",
|
|
2082
2137
|
"domainReportRequired": true
|
|
2083
2138
|
},
|
|
2139
|
+
{
|
|
2140
|
+
"id": "convex.ledger-owner-freeze-watchdog",
|
|
2141
|
+
"name": "Ledger owner freeze deadline watchdog",
|
|
2142
|
+
"scheduler": "convex_scheduled_mutation",
|
|
2143
|
+
"cadence": "runAt(deadlineAt) scheduled by each billing owner freeze in its own transaction (expireFrozenOwner); plus one bounded pass from the shared operations API run action (expireFrozenOwners). No cron.",
|
|
2144
|
+
"source": "packages/convex/ledgerJournalOwnerOps.ts",
|
|
2145
|
+
"locator": "expireFrozenOwners",
|
|
2146
|
+
"purpose": "Abort every billing owner freeze still frozen past its 15-minute deadline back to main, with no flip, through the owner module (inert: no org can be frozen while LEDGER_OWNER_FLIP_ORGS is empty).",
|
|
2147
|
+
"successDefinition": "Each frozen record past its deadline is aborted to main at the next epoch; no other record is touched.",
|
|
2148
|
+
"failureDefinition": "The native scheduled mutation fails; the frozen org keeps refusing new paid calls (retryable 503) until an operator aborts it or the next pass runs. No money moves either way.",
|
|
2149
|
+
"runTimeoutMs": 60000,
|
|
2150
|
+
"timezone": "UTC",
|
|
2151
|
+
"owner": "billing",
|
|
2152
|
+
"criticality": "reporting",
|
|
2153
|
+
"startGraceMs": 120000,
|
|
2154
|
+
"failureAlert": "convex_native_scheduled_function",
|
|
2155
|
+
"domainReportRequired": true
|
|
2156
|
+
},
|
|
2084
2157
|
{
|
|
2085
2158
|
"id": "convex.ledger-shadow-orphan-sweep",
|
|
2086
2159
|
"name": "Ledger shadow follower orphan sweep",
|
|
@@ -2134,5 +2207,59 @@
|
|
|
2134
2207
|
"startGraceMs": 120000,
|
|
2135
2208
|
"failureAlert": "convex_native_scheduled_function",
|
|
2136
2209
|
"domainReportRequired": true
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"id": "convex.outcome-schedule-fire",
|
|
2213
|
+
"name": "Outcome schedule post",
|
|
2214
|
+
"scheduler": "convex_scheduled_mutation",
|
|
2215
|
+
"cadence": "runAt each schedule's next time; a repeating schedule sets its own next run (at least 1 minute apart)",
|
|
2216
|
+
"timezone": "UTC",
|
|
2217
|
+
"source": "packages/convex/outcomes.ts",
|
|
2218
|
+
"locator": "fireScheduleInternal",
|
|
2219
|
+
"owner": "product",
|
|
2220
|
+
"criticality": "standard",
|
|
2221
|
+
"purpose": "Post the update or task an outcome schedule is due to post, as its author, after asking again whether that person may still write (rollout, account block, organization membership and archive, author grant, workspace); then set the next run or end the schedule.",
|
|
2222
|
+
"successDefinition": "The entry is posted once (idempotency key per schedule and send) and the schedule advances or ends; or it is ended with the reason its author may no longer write; or it is held because its outcome is paused. A superseded timer does nothing.",
|
|
2223
|
+
"failureDefinition": "Convex reports a failed mutation. Nothing was posted and the schedule stays active and due with no timer; pausing and resuming the outcome sets it going again.",
|
|
2224
|
+
"startGraceMs": 120000,
|
|
2225
|
+
"runTimeoutMs": 60000,
|
|
2226
|
+
"failureAlert": "convex_native_mutation",
|
|
2227
|
+
"domainReportRequired": true
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"id": "convex.outcome-wake-delivery",
|
|
2231
|
+
"name": "Outcome watch wake",
|
|
2232
|
+
"scheduler": "convex_scheduled_action",
|
|
2233
|
+
"cadence": "runAfter(0) when an entry matches a watch that has a wake URL, with one recovery run 30 seconds later; retried after 5, 30 and 120 seconds",
|
|
2234
|
+
"timezone": "UTC",
|
|
2235
|
+
"source": "packages/convex/outcomeWakeDelivery.ts",
|
|
2236
|
+
"locator": "deliver",
|
|
2237
|
+
"owner": "product",
|
|
2238
|
+
"criticality": "standard",
|
|
2239
|
+
"purpose": "Send one empty, unsigned POST to a watch's public HTTPS wake URL so its agent pulls its inbox, after asking again whether the person the agent runs for may still use the outcome. Rings in flight are coalesced.",
|
|
2240
|
+
"successDefinition": "The URL answers 2xx and the watch returns to idle, or rings once more for matches that arrived meanwhile; or nothing is sent because the outcome is paused or the watch was ended for lost standing.",
|
|
2241
|
+
"failureDefinition": "After four tries the watch is marked failing with the last error; its matches stay in the inbox and are still pulled.",
|
|
2242
|
+
"startGraceMs": 120000,
|
|
2243
|
+
"runTimeoutMs": 60000,
|
|
2244
|
+
"failureAlert": "convex_native_scheduled_function",
|
|
2245
|
+
"domainReportRequired": true
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"id": "convex.outcome-claim-expiry",
|
|
2249
|
+
"name": "Outcome task claim expiry",
|
|
2250
|
+
"scheduler": "convex_scheduled_mutation",
|
|
2251
|
+
"cadence": "runAt the end of a task claim's lease; follows the lease when the claim is renewed",
|
|
2252
|
+
"timezone": "UTC",
|
|
2253
|
+
"source": "packages/convex/outcomes.ts",
|
|
2254
|
+
"locator": "expireClaimInternal",
|
|
2255
|
+
"owner": "product",
|
|
2256
|
+
"criticality": "standard",
|
|
2257
|
+
"purpose": "Return a task whose claim's lease ended to ready and tell the outcome's watches (task.expired), so a task a stalled agent held is offered again.",
|
|
2258
|
+
"successDefinition": "The task is ready again and matches are written for the watches that take it; or the timer moves to the renewed lease's end; or it does nothing because the claim ended another way.",
|
|
2259
|
+
"failureDefinition": "Convex reports a failed mutation. The task still reads as ready once its lease has passed and can be claimed; only the notice to watches is missing.",
|
|
2260
|
+
"startGraceMs": 120000,
|
|
2261
|
+
"runTimeoutMs": 60000,
|
|
2262
|
+
"failureAlert": "convex_native_mutation",
|
|
2263
|
+
"domainReportRequired": true
|
|
2137
2264
|
}
|
|
2138
2265
|
]
|
|
@@ -20,8 +20,7 @@ export const MANUALLY_RUNNABLE_CONVEX_CRON_JOB_IDS = [
|
|
|
20
20
|
'convex.cleanup-expired-legacy-run-logs',
|
|
21
21
|
'convex.cleanup-expired-analytics-ip2company-cache',
|
|
22
22
|
'convex.cleanup-expired-domain-health-cache',
|
|
23
|
-
'convex.
|
|
24
|
-
'convex.publish-shadow-tool-rates',
|
|
23
|
+
'convex.integration-catalog-release-maintenance',
|
|
25
24
|
'convex.refresh-prebuilt-play-cost-stats',
|
|
26
25
|
'convex.salesforce-oauth-refresh-maintenance',
|
|
27
26
|
'convex.monitor-fleet-convergence-tick',
|