deepline 0.3.551 → 0.3.553
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 +130 -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 +124 -10
- 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 +66 -30
- 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 +11 -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-monitor-upstream-identity.ts +80 -13
- 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/tamradar-countries.ts +285 -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 +312 -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 +568 -26
- 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-runs-rollout.ts +14 -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 +92 -16
- 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 +300 -57
- 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 +298 -46
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +39 -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-rate-state.ts +32 -10
- 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/tool-result.ts +37 -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-E7BH4GMJ.mjs → auth-I3QAU4RV.mjs} +8 -7
- package/dist/cli/auth-MQCN7WGZ.js +44 -0
- package/dist/cli/{billing-OXKU462W.mjs → billing-3IC54OQQ.mjs} +202 -59
- package/dist/cli/{billing-DNQAZGX7.js → billing-YGFFVAIC.js} +302 -159
- package/dist/cli/{chunk-COGREZAO.js → chunk-2B5B5KAW.js} +210 -128
- package/dist/cli/{chunk-UBKA33KY.mjs → chunk-2MGZAI54.mjs} +17 -0
- package/dist/cli/{chunk-T2B5BVZE.js → chunk-3NTP2OSG.js} +13 -13
- package/dist/cli/{chunk-FOTGUFVK.mjs → chunk-45OAVGU6.mjs} +5 -5
- package/dist/cli/{chunk-54EEYLTF.js → chunk-4747TPLV.js} +3 -3
- package/dist/cli/{chunk-CLRAANWH.mjs → chunk-4BFTDNHU.mjs} +1 -1
- package/dist/cli/{chunk-BGBJV26E.mjs → chunk-4HYNMXXF.mjs} +4 -4
- package/dist/cli/{chunk-5S6PHKRV.mjs → chunk-4SMCFQ23.mjs} +1 -1
- package/dist/cli/{chunk-VWLHRZFG.mjs → chunk-55F6HNOY.mjs} +5 -5
- package/dist/cli/{chunk-LX35AXTN.mjs → chunk-5TYLSS4Q.mjs} +6 -6
- package/dist/cli/{chunk-VTGG2RT3.js → chunk-6NE3RRRY.js} +1 -1
- package/dist/cli/{chunk-EITMD3A5.js → chunk-6VLFQZK6.js} +8 -8
- package/dist/cli/{chunk-MNSTCJMX.mjs → chunk-72V4PDH5.mjs} +18 -18
- package/dist/cli/{chunk-ZCDKE4UH.js → chunk-74RES4DS.js} +5 -5
- package/dist/cli/{chunk-WKBHUB6R.js → chunk-7GEMELKI.js} +366 -320
- package/dist/cli/{chunk-C4CUZH57.js → chunk-7O6J6A7P.js} +1871 -92
- package/dist/cli/{chunk-7RSIFA72.js → chunk-7SERLBNR.js} +161 -53
- package/dist/cli/{chunk-3G6QZACZ.js → chunk-7YRJ5UC4.js} +21 -21
- package/dist/cli/{chunk-I4VKGNAQ.mjs → chunk-A7DLBE5K.mjs} +136 -54
- package/dist/cli/{chunk-GGB3JYCW.mjs → chunk-AGICYWGN.mjs} +299 -69
- package/dist/cli/{chunk-44KSACJW.mjs → chunk-AGIQDA2T.mjs} +12 -12
- package/dist/cli/{chunk-PACD5DGC.js → chunk-AGLR6QVN.js} +255 -109
- package/dist/cli/{chunk-NURW5XH4.mjs → chunk-ASB47RXJ.mjs} +1 -1
- package/dist/cli/{chunk-4OMAGJ6U.js → chunk-BVDKFS2T.js} +2 -2
- package/dist/cli/{chunk-LPJPCGT3.js → chunk-CACFJODG.js} +190 -134
- package/dist/cli/{chunk-GVYLCCKN.mjs → chunk-CAEBJOYU.mjs} +1 -1
- package/dist/cli/{chunk-XDVT3GOM.js → chunk-CFJFUVX2.js} +18 -1
- package/dist/cli/{chunk-POLUE7D5.js → chunk-DP2VH7CO.js} +12 -12
- package/dist/cli/{chunk-D6M5HFBB.mjs → chunk-DP64MD6U.mjs} +1 -1
- package/dist/cli/{chunk-W425ERWN.mjs → chunk-DZA7RFGL.mjs} +5 -5
- package/dist/cli/{chunk-R7J7CJPZ.js → chunk-E2G2DNAB.js} +4 -1
- package/dist/cli/{chunk-GGGAEVCX.mjs → chunk-E7WZOX2A.mjs} +22 -18
- package/dist/cli/{chunk-44I675YK.js → chunk-FM7LPUPA.js} +41 -41
- package/dist/cli/{chunk-2UXDHFSF.mjs → chunk-GAVZ4EOD.mjs} +1 -1
- package/dist/cli/{chunk-Z2FIOG3V.js → chunk-HEBO3XNZ.js} +27 -31
- package/dist/cli/{chunk-6PWJKMFQ.mjs → chunk-HSJ6X2AQ.mjs} +4 -4
- package/dist/cli/{chunk-UPMRIVZB.js → chunk-HVI55MTK.js} +61 -10
- package/dist/cli/{chunk-KWSH5T7K.js → chunk-IH6GDNKW.js} +21 -21
- package/dist/cli/{chunk-3KYBDAR3.js → chunk-IMX7J4DU.js} +8 -8
- package/dist/cli/{chunk-HEHVGEZV.mjs → chunk-INEMTYMT.mjs} +8 -8
- package/dist/cli/{chunk-5VVSEU67.js → chunk-IUOGII7D.js} +6 -7
- package/dist/cli/{chunk-MXGA6JFI.mjs → chunk-JJGWHITQ.mjs} +5 -5
- package/dist/cli/{chunk-QM6Y6S4E.js → chunk-JLGP5XAJ.js} +5 -5
- package/dist/cli/{chunk-V6SCP4B7.mjs → chunk-LFOERUQY.mjs} +69 -3
- package/dist/cli/{chunk-BBTKAASQ.js → chunk-LFQJW4S2.js} +42 -1
- package/dist/cli/{chunk-ZMNGZ6XS.mjs → chunk-LH5PZKER.mjs} +80 -24
- package/dist/cli/{chunk-MR5LTVHD.js → chunk-LRDHPOZW.js} +69 -69
- package/dist/cli/{chunk-5LUF4LAR.mjs → chunk-LRZGS6RZ.mjs} +3 -0
- package/dist/cli/{chunk-SL6MYJYM.js → chunk-MJTVX4QK.js} +35 -35
- package/dist/cli/{chunk-UDXULACQ.js → chunk-MLABYI4M.js} +90 -24
- package/dist/cli/{chunk-S7IZWGUA.mjs → chunk-NDNHYONK.mjs} +17 -21
- package/dist/cli/{chunk-4D3WIZST.mjs → chunk-OTV2UUKW.mjs} +164 -18
- package/dist/cli/{chunk-XYE5XPGF.js → chunk-Q6Z6N3A7.js} +18 -18
- package/dist/cli/{chunk-7WQNWJQW.mjs → chunk-QG6JIWUL.mjs} +151 -43
- package/dist/cli/{chunk-3T65J5RG.mjs → chunk-QI5S5HWB.mjs} +2 -2
- package/dist/cli/{chunk-CBV7AKWM.js → chunk-R6DZ6NQ2.js} +5 -5
- package/dist/cli/{chunk-PM7MO62Y.mjs → chunk-RMNOZKRI.mjs} +3 -3
- package/dist/cli/{chunk-NMWGZD6Y.js → chunk-RTV4RF7N.js} +36 -36
- package/dist/cli/{chunk-CQ6JYQSW.js → chunk-SBH4CKPN.js} +11 -11
- package/dist/cli/{chunk-BIIJATTX.mjs → chunk-SG3LUONJ.mjs} +3 -3
- package/dist/cli/{chunk-2WFPHBR4.js → chunk-TFEXSHPM.js} +22 -18
- package/dist/cli/{chunk-5IL7SC45.mjs → chunk-TN4TY6TT.mjs} +6 -7
- package/dist/cli/{chunk-WEHCBH5R.mjs → chunk-UEVKMZLR.mjs} +54 -3
- package/dist/cli/{chunk-RE5MJBEV.mjs → chunk-UVQJYV76.mjs} +2 -2
- package/dist/cli/{chunk-FSIVF2SI.mjs → chunk-VZGLIK5U.mjs} +1 -1
- package/dist/cli/{chunk-W2ZWQUHT.js → chunk-WOCHZCUJ.js} +2 -2
- package/dist/cli/{chunk-ZDQFBJPO.js → chunk-XLIHTJVM.js} +348 -118
- package/dist/cli/{chunk-2ZYRBMQM.js → chunk-Y6SP3JMI.js} +22 -22
- package/dist/cli/{chunk-PPSDCN6C.js → chunk-YUA6HA6D.js} +2 -2
- package/dist/cli/{chunk-JL2OTMSG.mjs → chunk-Z3A2S3QM.mjs} +41 -0
- package/dist/cli/{chunk-E64HFB4L.mjs → chunk-Z6XPSHKM.mjs} +87 -41
- package/dist/cli/{chunk-7DOQ3OEX.mjs → chunk-Z7AOIHFE.mjs} +1870 -91
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-CFJH4KXV.js +22 -0
- package/dist/cli/{concurrent-runs-help-C6L6I5OR.mjs → concurrent-runs-help-DNV2X5AZ.mjs} +9 -8
- package/dist/cli/{csv-QMF4FWE7.js → csv-SA6ELJY6.js} +16 -15
- package/dist/cli/{csv-SYSDXFEM.mjs → csv-ZXZGHWOM.mjs} +7 -6
- package/dist/cli/{db-Q7HURWRZ.mjs → db-A54SP6AD.mjs} +16 -16
- package/dist/cli/{db-YSHPPA4H.js → db-JHFEIQBU.js} +43 -43
- package/dist/cli/describe-PHQ33AGS.mjs +50 -0
- package/dist/cli/describe-RHJ4XRFI.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 +6 -6
- package/dist/cli/describe-core.mjs +5 -5
- package/dist/cli/{executions-G7U3VUXN.mjs → executions-HL2M2DFU.mjs} +10 -10
- package/dist/cli/{executions-MWBC5TAW.js → executions-TLFZRHBJ.js} +12 -12
- package/dist/cli/{feedback-SD55OY6H.js → feedback-5UEX5UZK.js} +17 -16
- package/dist/cli/{feedback-GMHIFLBJ.mjs → feedback-QMBTNXVG.mjs} +9 -8
- package/dist/cli/git-4JWOOHBG.js +26 -0
- package/dist/cli/{git-HPE45OPD.mjs → git-LKGXVIVC.mjs} +8 -7
- package/dist/cli/index.js +170 -158
- package/dist/cli/index.mjs +60 -48
- package/dist/cli/{integrations-HFKVBY6G.js → integrations-6RUTLMN7.js} +23 -27
- package/dist/cli/{integrations-2W4MGIQR.mjs → integrations-FGGRVUJ7.mjs} +15 -19
- package/dist/cli/{legacy-noops-SXVNDEXN.js → legacy-noops-J3Z7QRWZ.js} +12 -11
- package/dist/cli/{legacy-noops-GZYKNU2Z.mjs → legacy-noops-YIPRMVXZ.mjs} +9 -8
- package/dist/cli/{mcp-PJRHQHHU.js → mcp-6LWFP7RW.js} +121 -48
- package/dist/cli/{mcp-BWA6KULG.mjs → mcp-CHDYFO7F.mjs} +100 -27
- package/dist/cli/{monitors-K2WSI6CR.js → monitors-STM6A7OU.js} +221 -186
- package/dist/cli/{monitors-SYQKCATO.mjs → monitors-UGRY2BXI.mjs} +58 -23
- package/dist/cli/org-3SYOUQCX.mjs +2289 -0
- package/dist/cli/org-ZOBSNSIB.js +2289 -0
- package/dist/cli/outcomes-H4YYAT5X.js +2865 -0
- package/dist/cli/outcomes-Z3P2JE67.mjs +2865 -0
- package/dist/cli/{play-SZXY2F2S.js → play-SM4CW2GS.js} +1116 -846
- package/dist/cli/{play-TTMABJEI.mjs → play-SN5YWLS7.mjs} +375 -105
- package/dist/cli/{providers-GQIOMRQO.mjs → providers-WZ4YBR5Y.mjs} +10 -10
- package/dist/cli/{providers-YDHCTZAF.js → providers-WZARYMCF.js} +13 -13
- package/dist/cli/{quickstart-PHSSMKCA.mjs → quickstart-2575BNKA.mjs} +7 -6
- package/dist/cli/{quickstart-BNYOXQXG.js → quickstart-PS4YHQJ6.js} +9 -8
- package/dist/cli/{run-GFIAZXVL.js → run-FLZ6OTM7.js} +51 -51
- package/dist/cli/{run-74C3C75C.mjs → run-ZUHCZOJS.mjs} +31 -31
- 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-3SWUB7KX.mjs → search-HLPPKQEO.mjs} +11 -11
- package/dist/cli/search-JJWVHR3N.js +32 -0
- package/dist/cli/{search-output-K2SWHVHQ.mjs → search-output-PDAXNOGP.mjs} +9 -8
- package/dist/cli/{search-output-6JF3S4TP.js → search-output-RXJLU36B.js} +12 -11
- package/dist/cli/{secrets-2M4XWEKE.mjs → secrets-CGELYQ3H.mjs} +11 -11
- package/dist/cli/{secrets-2SAKLH2H.js → secrets-QJNG7G2Y.js} +20 -20
- package/dist/cli/sessions-DHTBT2GN.js +23 -0
- package/dist/cli/{sessions-A64BCXTO.mjs → sessions-ELMWVR4M.mjs} +9 -8
- package/dist/cli/{settings-HV64WIJF.js → settings-44I44P5F.js} +89 -89
- package/dist/cli/{settings-SVGEC3FI.mjs → settings-RR3LZXL7.mjs} +16 -16
- package/dist/cli/{setup-EDC3NEJ3.mjs → setup-KGWRWH4B.mjs} +20 -19
- package/dist/cli/{setup-FHXOLQGQ.js → setup-KTEYOCJO.js} +60 -59
- package/dist/cli/skills-EPZPEXI2.js +37 -0
- package/dist/cli/{skills-3HGHZMXB.mjs → skills-FPRID2I5.mjs} +10 -9
- package/dist/cli/tools-IGQQ5TML.js +57 -0
- package/dist/cli/{tools-P2QS6A6Q.mjs → tools-PI4WMDLY.mjs} +23 -23
- package/dist/cli/update-4RNCVYGE.js +37 -0
- package/dist/cli/{update-552BYQM4.mjs → update-VJOJAZ7B.mjs} +14 -11
- package/dist/cli/{views-PA25NAE3.js → views-NTUOLNQU.js} +62 -64
- package/dist/cli/{views-LD5HXJYY.mjs → views-OVPSINZO.mjs} +47 -49
- package/dist/cli/{workflow-FIDBUQV6.js → workflow-2UDYDM6F.js} +23 -23
- package/dist/cli/{workflow-LDYFGBYP.mjs → workflow-7OEFNXZC.mjs} +13 -13
- package/dist/{client-DuDFiJDU.d.mts → client-B8f7RNF8.d.mts} +1 -1
- package/dist/{client-t9HZAkFD.d.ts → client-C5TgXmJQ.d.ts} +1 -1
- package/dist/{client-core-DydMQOft.d.mts → client-core-SLLGBTht.d.mts} +285 -23
- package/dist/{client-core-CJRzLanv.d.ts → client-core-p0sOxnkl.d.ts} +285 -23
- package/dist/{compiler-manifest-BqwVrOri.d.mts → compiler-manifest-D_zZEh9Q.d.mts} +70 -5
- package/dist/{compiler-manifest-BqwVrOri.d.ts → 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 +162 -142
- 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-B4PI7GVY.js +0 -43
- package/dist/cli/concurrent-runs-help-JEFQZTJI.js +0 -21
- package/dist/cli/describe-PXTSBJTL.js +0 -50
- package/dist/cli/describe-YGMQBV44.mjs +0 -50
- package/dist/cli/git-I3JV7IGH.js +0 -25
- package/dist/cli/org-5KD7X7IA.mjs +0 -1282
- package/dist/cli/org-YQ2CR32B.js +0 -1282
- package/dist/cli/run-identity-G257GQED.js +0 -25
- package/dist/cli/search-2RRRF4LW.js +0 -32
- package/dist/cli/sessions-SBH27JNW.js +0 -22
- package/dist/cli/skills-Y3SRLOYD.js +0 -36
- package/dist/cli/tools-OFYPUPUV.js +0 -57
- package/dist/cli/update-SOUSCLB7.js +0 -34
package/dist/cli/command-docs.js
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk7O6J6A7Pjs = require('./chunk-7O6J6A7P.js');
|
|
11
11
|
require('./chunk-H4ALLC2X.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-E2G2DNAB.js');
|
|
13
13
|
require('./chunk-YGCKMI5P.js');
|
|
14
14
|
require('./chunk-COGTRVWW.js');
|
|
15
15
|
|
|
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.CLI_DOC_SURFACE =
|
|
24
|
+
exports.CLI_DOC_SURFACE = _chunk7O6J6A7Pjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk7O6J6A7Pjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunk7O6J6A7Pjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunk7O6J6A7Pjs.commandDocKey; exports.helpDetailFromArgv = _chunk7O6J6A7Pjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk7O6J6A7Pjs.renderActionExplanation; exports.renderCommandExplanation = _chunk7O6J6A7Pjs.renderCommandExplanation; exports.renderDocText = _chunk7O6J6A7Pjs.renderDocText;
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
renderActionExplanation,
|
|
8
8
|
renderCommandExplanation,
|
|
9
9
|
renderDocText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z7AOIHFE.mjs";
|
|
11
11
|
import "./chunk-2RIKOPIM.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-LRZGS6RZ.mjs";
|
|
13
13
|
import "./chunk-7I4B6V2S.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
export {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkIMX7J4DUjs = require('./chunk-IMX7J4DU.js');
|
|
6
|
+
require('./chunk-LRDHPOZW.js');
|
|
7
|
+
require('./chunk-H4ALLC2X.js');
|
|
8
|
+
require('./chunk-XLIHTJVM.js');
|
|
9
|
+
require('./chunk-MLABYI4M.js');
|
|
10
|
+
require('./chunk-AGLR6QVN.js');
|
|
11
|
+
require('./chunk-6VLFQZK6.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-LFQJW4S2.js');
|
|
14
|
+
require('./chunk-CFJFUVX2.js');
|
|
15
|
+
require('./chunk-6NE3RRRY.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunkIMX7J4DUjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunkIMX7J4DUjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunkIMX7J4DUjs.concurrentRunsLine;
|
|
@@ -2,16 +2,17 @@ import {
|
|
|
2
2
|
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
3
3
|
concurrentRunsHelpStatus,
|
|
4
4
|
concurrentRunsLine
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-45OAVGU6.mjs";
|
|
6
|
+
import "./chunk-72V4PDH5.mjs";
|
|
7
7
|
import "./chunk-2RIKOPIM.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-AGICYWGN.mjs";
|
|
9
|
+
import "./chunk-LFOERUQY.mjs";
|
|
10
|
+
import "./chunk-OTV2UUKW.mjs";
|
|
11
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
14
|
+
import "./chunk-2MGZAI54.mjs";
|
|
15
|
+
import "./chunk-GAVZ4EOD.mjs";
|
|
15
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
17
|
import "./chunk-KRD6H754.mjs";
|
|
17
18
|
export {
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
7
|
+
var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
|
|
8
|
+
require('./chunk-MLABYI4M.js');
|
|
9
|
+
require('./chunk-AGLR6QVN.js');
|
|
10
|
+
require('./chunk-6VLFQZK6.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-LFQJW4S2.js');
|
|
13
|
+
require('./chunk-CFJFUVX2.js');
|
|
14
|
+
require('./chunk-6NE3RRRY.js');
|
|
14
15
|
require('./chunk-OG64RBAC.js');
|
|
15
16
|
require('./chunk-COGTRVWW.js');
|
|
16
17
|
|
|
@@ -128,7 +129,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
128
129
|
column.length,
|
|
129
130
|
...rows.map((row) => {
|
|
130
131
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
131
|
-
return (verbose ? value :
|
|
132
|
+
return (verbose ? value : _chunkXLIHTJVMjs.clip.call(void 0, value, 42)).length;
|
|
132
133
|
})
|
|
133
134
|
)
|
|
134
135
|
])
|
|
@@ -138,7 +139,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
138
139
|
const body = rows.map(
|
|
139
140
|
(row) => columns.map((column) => {
|
|
140
141
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
141
|
-
const display = verbose ? raw :
|
|
142
|
+
const display = verbose ? raw : _chunkXLIHTJVMjs.clip.call(void 0, raw, 42);
|
|
142
143
|
return display.padEnd(widths[column]);
|
|
143
144
|
}).join(" | ")
|
|
144
145
|
);
|
|
@@ -158,7 +159,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
158
159
|
{ exitCode: 2 }
|
|
159
160
|
);
|
|
160
161
|
}
|
|
161
|
-
const allRows =
|
|
162
|
+
const allRows = _chunkXLIHTJVMjs.readCsvRows.call(void 0, csvPath);
|
|
162
163
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
163
164
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
164
165
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -171,7 +172,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
171
172
|
if (options.summary) {
|
|
172
173
|
const summaries = summarizeColumns(selected, columns);
|
|
173
174
|
if (format === "json") {
|
|
174
|
-
|
|
175
|
+
_chunkXLIHTJVMjs.printJson.call(void 0, {
|
|
175
176
|
rows: summaries,
|
|
176
177
|
total_rows: selected.length,
|
|
177
178
|
source_total_rows: allRows.length
|
|
@@ -180,7 +181,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
180
181
|
}
|
|
181
182
|
const displayRows = summaryDisplayRows(summaries);
|
|
182
183
|
if (format === "csv") {
|
|
183
|
-
process.stdout.write(
|
|
184
|
+
process.stdout.write(_chunkXLIHTJVMjs.csvStringFromRows.call(void 0, displayRows));
|
|
184
185
|
return;
|
|
185
186
|
}
|
|
186
187
|
process.stdout.write(
|
|
@@ -195,7 +196,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
195
196
|
return;
|
|
196
197
|
}
|
|
197
198
|
if (format === "json") {
|
|
198
|
-
|
|
199
|
+
_chunkXLIHTJVMjs.printJson.call(void 0, {
|
|
199
200
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
200
201
|
});
|
|
201
202
|
return;
|
|
@@ -443,7 +444,7 @@ async function handleCsvRenderStart(options) {
|
|
|
443
444
|
if (log) {
|
|
444
445
|
detail = `
|
|
445
446
|
CSV render log:
|
|
446
|
-
${
|
|
447
|
+
${_chunkXLIHTJVMjs.clip.call(void 0, log, 2e3)}`;
|
|
447
448
|
}
|
|
448
449
|
} catch (e7) {
|
|
449
450
|
}
|
|
@@ -494,7 +495,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
494
495
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
495
496
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
496
497
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
497
|
-
|
|
498
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, payload, {
|
|
498
499
|
json: options.json,
|
|
499
500
|
text: `${lines.join("\n")}
|
|
500
501
|
`
|
|
@@ -530,7 +531,7 @@ async function handleCsvRenderStop(options) {
|
|
|
530
531
|
};
|
|
531
532
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
532
533
|
` : "No running CSV render process found.\n";
|
|
533
|
-
|
|
534
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
534
535
|
}
|
|
535
536
|
async function handleCsvRender(action, options) {
|
|
536
537
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,13 +4,14 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-AGICYWGN.mjs";
|
|
8
|
+
import "./chunk-LFOERUQY.mjs";
|
|
9
|
+
import "./chunk-OTV2UUKW.mjs";
|
|
10
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
13
|
+
import "./chunk-2MGZAI54.mjs";
|
|
14
|
+
import "./chunk-GAVZ4EOD.mjs";
|
|
14
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
16
|
import "./chunk-KRD6H754.mjs";
|
|
16
17
|
|
|
@@ -3,14 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QI5S5HWB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
planCustomerDbQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LH5PZKER.mjs";
|
|
10
10
|
import "./chunk-FZHMNK6F.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-5TYLSS4Q.mjs";
|
|
12
12
|
import "./chunk-PSX3WHIH.mjs";
|
|
13
|
-
import "./chunk-UBKA33KY.mjs";
|
|
14
13
|
import {
|
|
15
14
|
argsWantJson,
|
|
16
15
|
dataExportColumns,
|
|
@@ -20,17 +19,18 @@ import {
|
|
|
20
19
|
printCommandEnvelope,
|
|
21
20
|
recordRows,
|
|
22
21
|
shouldEmitJson
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-AGICYWGN.mjs";
|
|
23
|
+
import "./chunk-LFOERUQY.mjs";
|
|
24
|
+
import "./chunk-OTV2UUKW.mjs";
|
|
26
25
|
import {
|
|
27
26
|
CustomerDbQueryOutcomeUnknownError
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ASB47RXJ.mjs";
|
|
29
28
|
import "./chunk-DLIRSHV6.mjs";
|
|
30
29
|
import {
|
|
31
30
|
DeeplineError
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-Z3A2S3QM.mjs";
|
|
32
|
+
import "./chunk-2MGZAI54.mjs";
|
|
33
|
+
import "./chunk-GAVZ4EOD.mjs";
|
|
34
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
35
35
|
import "./chunk-KRD6H754.mjs";
|
|
36
36
|
|
|
@@ -407,7 +407,7 @@ function errorMessage2(value) {
|
|
|
407
407
|
function dbRepairHumanLines(result) {
|
|
408
408
|
const repair = result.repair;
|
|
409
409
|
return [
|
|
410
|
-
"
|
|
410
|
+
"Org storage repair completed.",
|
|
411
411
|
...repair ? [
|
|
412
412
|
`Location changed: ${repair.location.changed ? "yes" : "no"}`,
|
|
413
413
|
`Storage contract: ${repair.storage_contract.current ? "current" : "not ready"}`,
|
|
@@ -423,7 +423,7 @@ function dbRepairHumanLines(result) {
|
|
|
423
423
|
];
|
|
424
424
|
}
|
|
425
425
|
function dbRepairPlainText(result) {
|
|
426
|
-
return result.repair ? "
|
|
426
|
+
return result.repair ? "Org storage repair completed. Runtime capability probe passed.\n" : `Org storage repair completed. ${result.count} materialized table grant(s) reconciled; runtime capability probe unavailable.
|
|
427
427
|
`;
|
|
428
428
|
}
|
|
429
429
|
async function handleDbRepair(args) {
|
|
@@ -475,7 +475,7 @@ function registerDbCommands(program) {
|
|
|
475
475
|
"after",
|
|
476
476
|
`
|
|
477
477
|
Notes:
|
|
478
|
-
Agent-safe SQL for the active
|
|
478
|
+
Agent-safe SQL for the active org customer database.
|
|
479
479
|
Use --sql @query.sql for multiline or shell-sensitive SQL (portable across macOS and Windows).
|
|
480
480
|
Reads: SELECT, EXPLAIN, and read-only WITH can inspect permitted schemas.
|
|
481
481
|
Writes: CREATE TABLE, INSERT, UPDATE, DELETE, ALTER, DROP, TRUNCATE, and
|
|
@@ -499,7 +499,7 @@ Examples:
|
|
|
499
499
|
`
|
|
500
500
|
Notes:
|
|
501
501
|
Requires --sql (inline SQL or @file.sql). Output defaults to a compact table.
|
|
502
|
-
--json overrides --format for stdout. The active auth
|
|
502
|
+
--json overrides --format for stdout. The active auth org determines scope.
|
|
503
503
|
Read permitted schemas with SELECT, EXPLAIN, or read-only WITH.
|
|
504
504
|
Write only to schema-qualified storage tables. For example, use
|
|
505
505
|
CREATE TABLE storage.blocked (...) instead of CREATE TABLE blocked (...).
|
|
@@ -531,13 +531,13 @@ Examples:
|
|
|
531
531
|
process.exitCode = await runDbQueryCommand(options);
|
|
532
532
|
});
|
|
533
533
|
db.command("repair").description(
|
|
534
|
-
"Repair this
|
|
534
|
+
"Repair this org storage contract (role/DB grants). Org admin only."
|
|
535
535
|
).addHelpText(
|
|
536
536
|
"after",
|
|
537
537
|
`
|
|
538
538
|
Notes:
|
|
539
539
|
Re-establishes tenant runtime and customer-db role grants plus materialized
|
|
540
|
-
table grants for the active
|
|
540
|
+
table grants for the active org. Run this after a play run fails with
|
|
541
541
|
WORKSPACE_STORAGE_NOT_READY, then re-run the play. Requires org admin.
|
|
542
542
|
|
|
543
543
|
Examples:
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJLGP5XAJjs = require('./chunk-JLGP5XAJ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkCACFJODGjs = require('./chunk-CACFJODG.js');
|
|
10
10
|
require('./chunk-4WAM6TLD.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-MJTVX4QK.js');
|
|
12
12
|
require('./chunk-PMH4GLMD.js');
|
|
13
|
-
require('./chunk-XDVT3GOM.js');
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
|
|
@@ -20,17 +19,18 @@ require('./chunk-XDVT3GOM.js');
|
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
22
|
+
var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
|
|
23
|
+
require('./chunk-MLABYI4M.js');
|
|
24
|
+
require('./chunk-AGLR6QVN.js');
|
|
26
25
|
|
|
27
26
|
|
|
28
|
-
var
|
|
27
|
+
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
29
28
|
require('./chunk-XNYIZMNQ.js');
|
|
30
29
|
|
|
31
30
|
|
|
32
|
-
var
|
|
33
|
-
require('./chunk-
|
|
31
|
+
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
32
|
+
require('./chunk-CFJFUVX2.js');
|
|
33
|
+
require('./chunk-6NE3RRRY.js');
|
|
34
34
|
require('./chunk-OG64RBAC.js');
|
|
35
35
|
require('./chunk-COGTRVWW.js');
|
|
36
36
|
|
|
@@ -53,8 +53,8 @@ function formatCell(value) {
|
|
|
53
53
|
return text.length > 80 ? `${text.slice(0, 77)}...` : text;
|
|
54
54
|
}
|
|
55
55
|
function tableLines(result) {
|
|
56
|
-
const rows =
|
|
57
|
-
const responseColumns =
|
|
56
|
+
const rows = _chunkXLIHTJVMjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunkXLIHTJVMjs.dataExportColumns.call(void 0,
|
|
58
58
|
rows,
|
|
59
59
|
customerDbColumnNames(result)
|
|
60
60
|
);
|
|
@@ -100,7 +100,7 @@ function tableLines(result) {
|
|
|
100
100
|
return lines;
|
|
101
101
|
}
|
|
102
102
|
function customerDbRows(result) {
|
|
103
|
-
return
|
|
103
|
+
return _chunkXLIHTJVMjs.recordRows.call(void 0, result.rows);
|
|
104
104
|
}
|
|
105
105
|
function customerDbColumnNames(result) {
|
|
106
106
|
return result.columns.map((column) => column.name).filter(Boolean);
|
|
@@ -122,15 +122,15 @@ function collectErrorText(value) {
|
|
|
122
122
|
].filter(Boolean).join("\n");
|
|
123
123
|
}
|
|
124
124
|
function formatDbQueryError(sql, error) {
|
|
125
|
-
const text = error instanceof
|
|
125
|
+
const text = error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError ? collectErrorText(error.cause) : collectErrorText(error);
|
|
126
126
|
const lower = text.toLowerCase();
|
|
127
127
|
const referencesStorage = /"storage"\.|storage\./i.test(sql);
|
|
128
128
|
const runIdColumnMissing = /column\s+"?run_id"?\s+does not exist/i.test(text) || /run_id.*does not exist/i.test(lower);
|
|
129
129
|
const relationMissing = /relation\s+["']?[^"']*storage[^"']*["']?\s+does not exist/i.test(text) || /42p01/i.test(text);
|
|
130
130
|
if (referencesStorage && relationMissing) {
|
|
131
131
|
return [
|
|
132
|
-
...error instanceof
|
|
133
|
-
error instanceof
|
|
132
|
+
...error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError ? [error.message] : [],
|
|
133
|
+
error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError ? "The server reported that the referenced storage table does not exist." : "Customer DB query failed: the referenced storage table does not exist.",
|
|
134
134
|
"Play dataset tables are created only when the corresponding deepline.dataset(...).run(...) call executes. Pilot branches, early returns, and runs that fail before the dataset do not create that table.",
|
|
135
135
|
"Use `deepline runs get <run-id> --full --json` to inspect returned dataset handles, then export them with `deepline runs export <run-id> --dataset result.rows --out rows.csv`.",
|
|
136
136
|
`Original error: ${errorMessage(error)}`
|
|
@@ -138,13 +138,13 @@ function formatDbQueryError(sql, error) {
|
|
|
138
138
|
}
|
|
139
139
|
if (referencesStorage && runIdColumnMissing) {
|
|
140
140
|
return [
|
|
141
|
-
...error instanceof
|
|
141
|
+
...error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError ? [error.message] : [],
|
|
142
142
|
"Customer DB query failed: storage dataset tables use `_run_id`, not `run_id`.",
|
|
143
143
|
"Prefer `deepline runs export <run-id> --dataset result.rows --out rows.csv` unless you are doing deep table debugging.",
|
|
144
144
|
`Original error: ${errorMessage(error)}`
|
|
145
145
|
].join("\n");
|
|
146
146
|
}
|
|
147
|
-
if (error instanceof
|
|
147
|
+
if (error instanceof _chunkLFQJW4S2js.DeeplineError) {
|
|
148
148
|
return error.message;
|
|
149
149
|
}
|
|
150
150
|
return errorMessage(error);
|
|
@@ -153,7 +153,7 @@ function writeCustomerDbCsv(result, outPath) {
|
|
|
153
153
|
const resolved = _path.resolve.call(void 0, outPath);
|
|
154
154
|
_fs.writeFileSync.call(void 0,
|
|
155
155
|
resolved,
|
|
156
|
-
|
|
156
|
+
_chunkXLIHTJVMjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
|
|
157
157
|
"utf-8"
|
|
158
158
|
);
|
|
159
159
|
return resolved;
|
|
@@ -194,7 +194,7 @@ function dbQueryExportEnvelope(input) {
|
|
|
194
194
|
function renderDbQueryResult(result, query, options) {
|
|
195
195
|
const { sql, maxRows, operationKey } = query;
|
|
196
196
|
const { format, out: outPath, json: explicitJsonOutput = false } = options;
|
|
197
|
-
const jsonOutput = explicitJsonOutput ||
|
|
197
|
+
const jsonOutput = explicitJsonOutput || _chunkXLIHTJVMjs.shouldEmitJson.call(void 0, );
|
|
198
198
|
const toolPayload = JSON.stringify({
|
|
199
199
|
sql,
|
|
200
200
|
result_mode: "rows",
|
|
@@ -205,7 +205,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
205
205
|
if (format === "csv") {
|
|
206
206
|
if (outPath) {
|
|
207
207
|
const exportedPath = writeCustomerDbCsv(result, outPath);
|
|
208
|
-
|
|
208
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
209
209
|
dbQueryExportEnvelope({
|
|
210
210
|
result,
|
|
211
211
|
format,
|
|
@@ -221,7 +221,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
221
221
|
);
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
225
225
|
dbQueryExportEnvelope({
|
|
226
226
|
result,
|
|
227
227
|
format,
|
|
@@ -231,7 +231,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
231
231
|
}),
|
|
232
232
|
{
|
|
233
233
|
json: explicitJsonOutput,
|
|
234
|
-
text:
|
|
234
|
+
text: _chunkXLIHTJVMjs.dataExportCsvString.call(void 0,
|
|
235
235
|
customerDbRows(result),
|
|
236
236
|
customerDbColumnNames(result)
|
|
237
237
|
)
|
|
@@ -240,14 +240,14 @@ function renderDbQueryResult(result, query, options) {
|
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
242
242
|
if (format === "markdown") {
|
|
243
|
-
const content =
|
|
243
|
+
const content = _chunkXLIHTJVMjs.markdownTableFromRows.call(void 0,
|
|
244
244
|
customerDbRows(result),
|
|
245
245
|
customerDbColumnNames(result)
|
|
246
246
|
);
|
|
247
247
|
if (outPath) {
|
|
248
248
|
const exportedPath = _path.resolve.call(void 0, outPath);
|
|
249
249
|
_fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
|
|
250
|
-
|
|
250
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
251
251
|
dbQueryExportEnvelope({
|
|
252
252
|
result,
|
|
253
253
|
format,
|
|
@@ -263,7 +263,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
263
263
|
);
|
|
264
264
|
return;
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
267
267
|
dbQueryExportEnvelope({
|
|
268
268
|
result,
|
|
269
269
|
format,
|
|
@@ -278,7 +278,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
278
278
|
);
|
|
279
279
|
return;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
282
282
|
{
|
|
283
283
|
...result,
|
|
284
284
|
next: {
|
|
@@ -352,9 +352,9 @@ async function runDbQueryCommand(options) {
|
|
|
352
352
|
...maxRows === void 0 ? {} : { maxRows },
|
|
353
353
|
...operationKey === void 0 ? {} : { operationKey }
|
|
354
354
|
};
|
|
355
|
-
const plan =
|
|
355
|
+
const plan = _chunkCACFJODGjs.planCustomerDbQuery.call(void 0, query);
|
|
356
356
|
if (options.dryRun) {
|
|
357
|
-
|
|
357
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
358
358
|
{
|
|
359
359
|
dryRun: true,
|
|
360
360
|
...plan,
|
|
@@ -367,11 +367,11 @@ async function runDbQueryCommand(options) {
|
|
|
367
367
|
...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
|
|
368
368
|
}
|
|
369
369
|
},
|
|
370
|
-
{ json: options.json ||
|
|
370
|
+
{ json: options.json || _chunkXLIHTJVMjs.shouldEmitJson.call(void 0, ) }
|
|
371
371
|
);
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
|
|
375
375
|
const result = await client.db.query(query);
|
|
376
376
|
renderDbQueryResult(result, query, {
|
|
377
377
|
format,
|
|
@@ -380,8 +380,8 @@ async function runDbQueryCommand(options) {
|
|
|
380
380
|
});
|
|
381
381
|
return 0;
|
|
382
382
|
} catch (error) {
|
|
383
|
-
if (error instanceof
|
|
384
|
-
|
|
383
|
+
if (error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkXLIHTJVMjs.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
385
385
|
{
|
|
386
386
|
ok: false,
|
|
387
387
|
error: {
|
|
@@ -407,7 +407,7 @@ function errorMessage2(value) {
|
|
|
407
407
|
function dbRepairHumanLines(result) {
|
|
408
408
|
const repair = result.repair;
|
|
409
409
|
return [
|
|
410
|
-
"
|
|
410
|
+
"Org storage repair completed.",
|
|
411
411
|
...repair ? [
|
|
412
412
|
`Location changed: ${repair.location.changed ? "yes" : "no"}`,
|
|
413
413
|
`Storage contract: ${repair.storage_contract.current ? "current" : "not ready"}`,
|
|
@@ -423,21 +423,21 @@ function dbRepairHumanLines(result) {
|
|
|
423
423
|
];
|
|
424
424
|
}
|
|
425
425
|
function dbRepairPlainText(result) {
|
|
426
|
-
return result.repair ? "
|
|
426
|
+
return result.repair ? "Org storage repair completed. Runtime capability probe passed.\n" : `Org storage repair completed. ${result.count} materialized table grant(s) reconciled; runtime capability probe unavailable.
|
|
427
427
|
`;
|
|
428
428
|
}
|
|
429
429
|
async function handleDbRepair(args) {
|
|
430
430
|
const providerIndex = args.indexOf("--provider");
|
|
431
431
|
const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
|
|
432
|
-
const jsonOutput =
|
|
433
|
-
const client = new (0,
|
|
432
|
+
const jsonOutput = _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
|
|
434
434
|
let result;
|
|
435
435
|
try {
|
|
436
436
|
result = await client.repairIngestionStorage(
|
|
437
437
|
provider ? { provider } : void 0
|
|
438
438
|
);
|
|
439
439
|
} catch (error) {
|
|
440
|
-
if (error instanceof
|
|
440
|
+
if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.statusCode === 403) {
|
|
441
441
|
console.error(
|
|
442
442
|
"deepline db repair requires org admin. Ask an organization admin to run it."
|
|
443
443
|
);
|
|
@@ -446,7 +446,7 @@ async function handleDbRepair(args) {
|
|
|
446
446
|
console.error(errorMessage2(error));
|
|
447
447
|
return 1;
|
|
448
448
|
}
|
|
449
|
-
|
|
449
|
+
_chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{
|
|
451
451
|
command: "db repair",
|
|
452
452
|
status: result.status,
|
|
@@ -475,7 +475,7 @@ function registerDbCommands(program) {
|
|
|
475
475
|
"after",
|
|
476
476
|
`
|
|
477
477
|
Notes:
|
|
478
|
-
Agent-safe SQL for the active
|
|
478
|
+
Agent-safe SQL for the active org customer database.
|
|
479
479
|
Use --sql @query.sql for multiline or shell-sensitive SQL (portable across macOS and Windows).
|
|
480
480
|
Reads: SELECT, EXPLAIN, and read-only WITH can inspect permitted schemas.
|
|
481
481
|
Writes: CREATE TABLE, INSERT, UPDATE, DELETE, ALTER, DROP, TRUNCATE, and
|
|
@@ -499,7 +499,7 @@ Examples:
|
|
|
499
499
|
`
|
|
500
500
|
Notes:
|
|
501
501
|
Requires --sql (inline SQL or @file.sql). Output defaults to a compact table.
|
|
502
|
-
--json overrides --format for stdout. The active auth
|
|
502
|
+
--json overrides --format for stdout. The active auth org determines scope.
|
|
503
503
|
Read permitted schemas with SELECT, EXPLAIN, or read-only WITH.
|
|
504
504
|
Write only to schema-qualified storage tables. For example, use
|
|
505
505
|
CREATE TABLE storage.blocked (...) instead of CREATE TABLE blocked (...).
|
|
@@ -531,13 +531,13 @@ Examples:
|
|
|
531
531
|
process.exitCode = await runDbQueryCommand(options);
|
|
532
532
|
});
|
|
533
533
|
db.command("repair").description(
|
|
534
|
-
"Repair this
|
|
534
|
+
"Repair this org storage contract (role/DB grants). Org admin only."
|
|
535
535
|
).addHelpText(
|
|
536
536
|
"after",
|
|
537
537
|
`
|
|
538
538
|
Notes:
|
|
539
539
|
Re-establishes tenant runtime and customer-db role grants plus materialized
|
|
540
|
-
table grants for the active
|
|
540
|
+
table grants for the active org. Run this after a play run fails with
|
|
541
541
|
WORKSPACE_STORAGE_NOT_READY, then re-run the play. Requires org admin.
|
|
542
542
|
|
|
543
543
|
Examples:
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
describeAnything,
|
|
3
|
+
findNamed,
|
|
4
|
+
nothingNamed,
|
|
5
|
+
registerDescribeCommand
|
|
6
|
+
} from "./chunk-INEMTYMT.mjs";
|
|
7
|
+
import "./chunk-Z6XPSHKM.mjs";
|
|
8
|
+
import "./chunk-SG3LUONJ.mjs";
|
|
9
|
+
import "./chunk-NDNHYONK.mjs";
|
|
10
|
+
import "./chunk-55F6HNOY.mjs";
|
|
11
|
+
import "./chunk-5AEDYVB6.mjs";
|
|
12
|
+
import {
|
|
13
|
+
DEEPLINE_NAMESPACE
|
|
14
|
+
} from "./chunk-4HYNMXXF.mjs";
|
|
15
|
+
import "./chunk-UEVKMZLR.mjs";
|
|
16
|
+
import "./chunk-E7WZOX2A.mjs";
|
|
17
|
+
import "./chunk-OVDNJAJN.mjs";
|
|
18
|
+
import "./chunk-FR2ILQ4G.mjs";
|
|
19
|
+
import "./chunk-FIVKWNMT.mjs";
|
|
20
|
+
import "./chunk-QI5S5HWB.mjs";
|
|
21
|
+
import "./chunk-2GEYN3H4.mjs";
|
|
22
|
+
import "./chunk-LH5PZKER.mjs";
|
|
23
|
+
import "./chunk-FZHMNK6F.mjs";
|
|
24
|
+
import "./chunk-5TYLSS4Q.mjs";
|
|
25
|
+
import "./chunk-PSX3WHIH.mjs";
|
|
26
|
+
import "./chunk-DZA7RFGL.mjs";
|
|
27
|
+
import "./chunk-CAEBJOYU.mjs";
|
|
28
|
+
import "./chunk-QG6JIWUL.mjs";
|
|
29
|
+
import "./chunk-4SMCFQ23.mjs";
|
|
30
|
+
import "./chunk-HSJ6X2AQ.mjs";
|
|
31
|
+
import "./chunk-A7DLBE5K.mjs";
|
|
32
|
+
import "./chunk-4BFTDNHU.mjs";
|
|
33
|
+
import "./chunk-AGICYWGN.mjs";
|
|
34
|
+
import "./chunk-LFOERUQY.mjs";
|
|
35
|
+
import "./chunk-OTV2UUKW.mjs";
|
|
36
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
37
|
+
import "./chunk-DLIRSHV6.mjs";
|
|
38
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
39
|
+
import "./chunk-2MGZAI54.mjs";
|
|
40
|
+
import "./chunk-GAVZ4EOD.mjs";
|
|
41
|
+
import "./chunk-WZYKRD7T.mjs";
|
|
42
|
+
import "./chunk-5JPKRDFC.mjs";
|
|
43
|
+
import "./chunk-KRD6H754.mjs";
|
|
44
|
+
export {
|
|
45
|
+
DEEPLINE_NAMESPACE,
|
|
46
|
+
describeAnything,
|
|
47
|
+
findNamed,
|
|
48
|
+
nothingNamed,
|
|
49
|
+
registerDescribeCommand
|
|
50
|
+
};
|