deepline 0.3.461 → 0.3.463
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 +7593 -0
- package/dist/bundling-sources/sdk/src/client.ts +8 -7366
- package/dist/bundling-sources/sdk/src/http-core.ts +1239 -0
- package/dist/bundling-sources/sdk/src/http.ts +6 -1231
- package/dist/bundling-sources/sdk/src/index.ts +4 -1
- package/dist/bundling-sources/sdk/src/play.ts +5 -5
- package/dist/bundling-sources/sdk/src/plays/client-core.ts +437 -0
- package/dist/bundling-sources/sdk/src/plays/client.ts +4 -421
- package/dist/bundling-sources/sdk/src/plays/input-example.ts +3 -4
- package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -1
- 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/server.ts +43 -0
- package/dist/bundling-sources/sdk/src/types.ts +15 -5
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +15 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +17 -17
- package/dist/bundling-sources/shared_libs/monitors/callback-security.ts +0 -307
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +3 -0
- package/dist/bundling-sources/shared_libs/monitors/lifecycle-notifications.ts +3 -2
- package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +34 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +61 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +122 -2
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +11 -1
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-failure-codes.ts +24 -0
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +32 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +57 -3
- package/dist/bundling-sources/shared_libs/observability/scheduled-work.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +66 -1
- package/dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts +36 -7
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +250 -11
- package/dist/bundling-sources/shared_libs/play-runtime/array-input-store.ts +319 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +991 -359
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +110 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +155 -6
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +110 -6
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +127 -13
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +14 -1
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +57 -1
- package/dist/bundling-sources/shared_libs/play-runtime/free-company-lookup-batching.ts +218 -0
- package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +42 -5
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-budget-state-backend.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +92 -31
- package/dist/bundling-sources/shared_libs/play-runtime/governor/block-reserving-budget-state-backend.ts +69 -14
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +93 -23
- package/dist/bundling-sources/shared_libs/play-runtime/governor/in-memory-rate-state-backend.ts +15 -4
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +22 -18
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +190 -14
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +131 -0
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +77 -2
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +271 -2
- package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +51 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +27 -1
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-text-for-log.ts +63 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-event-transport.ts +112 -16
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +104 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +265 -151
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-gateway-transport.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +35 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-sheet-persistence-retry.ts +12 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-control-transport.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-labels.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +136 -70
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +237 -36
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +148 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +285 -32
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +251 -56
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +29 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +27 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +22 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1397 -382
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-array-input-receipts.ts +920 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +38 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +14 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +31 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +47 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +20 -7
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +12 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/index.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1496 -320
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +31 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1389 -129
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +162 -23
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +499 -115
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +377 -9
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +117 -8
- package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/terminal-runtime-performance.ts +391 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +40 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/index.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/mapped-calls.ts +171 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/receipt-cohort.ts +16 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +38 -12
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +33 -9
- package/dist/bundling-sources/shared_libs/play-runtime/transport-error-diagnostics.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +55 -5
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +41 -1
- package/dist/bundling-sources/shared_libs/plays/contracts.ts +4 -0
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +9 -3
- package/dist/bundling-sources/shared_libs/plays/deploy/manifest-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/manifest.ts +3 -2
- package/dist/bundling-sources/shared_libs/plays/deploy/project-serializer.ts +2 -2
- package/dist/bundling-sources/shared_libs/plays/run-output-summary.ts +66 -0
- package/dist/bundling-sources/shared_libs/plays/script-entry.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +43 -1
- package/dist/bundling-sources/shared_libs/product-notifications/content.ts +9 -0
- package/dist/bundling-sources/shared_libs/product-notifications/email.ts +91 -13
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +3 -0
- package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +41 -24
- package/dist/bundling-sources/shared_libs/security/attested-client-ip.ts +91 -0
- package/dist/bundling-sources/shared_libs/security/internal-actor.ts +0 -11
- package/dist/cli/{auth-6HJXNWUG.mjs → auth-LZLBR4C3.mjs} +5 -4
- package/dist/cli/auth-XPGKBJKB.js +41 -0
- package/dist/cli/{billing-6P5HO6QG.js → billing-6TJPNJQD.js} +152 -78
- package/dist/cli/{billing-MJ42N7YF.mjs → billing-OTOP5RE4.mjs} +84 -10
- package/dist/cli/{chunk-FCAZQ7WV.js → chunk-2NISBXMN.js} +52 -50
- package/dist/cli/{chunk-PNATXKLP.js → chunk-2ZIRCBYG.js} +6 -6
- package/dist/cli/{chunk-5FDKJQZE.js → chunk-3BOIOCNX.js} +1 -1
- package/dist/cli/chunk-3BVLLJ3H.mjs +1038 -0
- package/dist/cli/{chunk-FJZILBL7.mjs → chunk-3U5EAP6E.mjs} +5 -5
- package/dist/cli/{describe-FRAVCY5F.mjs → chunk-4YZKBBLZ.mjs} +19 -36
- package/dist/cli/{chunk-QWRHGGUH.js → chunk-5DRNNC72.js} +20 -2
- package/dist/cli/{chunk-Z2GUFYT6.js → chunk-5LEAXRHV.js} +11 -11
- package/dist/cli/{chunk-5MDIZX7M.js → chunk-5LHXOIPT.js} +8 -6
- package/dist/cli/{chunk-NMJ4D2WO.js → chunk-6PMCRYDA.js} +216 -91
- package/dist/cli/{chunk-EBU7LQ64.js → chunk-6V7KVRR5.js} +3 -3
- package/dist/cli/{chunk-MGXEUZHL.mjs → chunk-7D6X7IXW.mjs} +7 -5
- package/dist/cli/{chunk-SAZFZQRI.js → chunk-7FCYPAPP.js} +2 -2
- package/dist/cli/{chunk-ACCR7POB.js → chunk-7XYDDCQ2.js} +27 -27
- package/dist/cli/{chunk-5IYOUBFZ.js → chunk-ALZBANZI.js} +28 -54
- package/dist/cli/{chunk-3DNKFH2G.mjs → chunk-BAPTQDLF.mjs} +19 -1
- package/dist/cli/chunk-BGNWI3KH.js +827 -0
- package/dist/cli/{chunk-V7REJRDZ.mjs → chunk-C25QE4CH.mjs} +1 -1
- package/dist/cli/{chunk-FGMX4HUZ.js → chunk-CBZP6J3V.js} +29 -27
- package/dist/cli/{chunk-QEYHTIV4.mjs → chunk-CTQ56DXP.mjs} +10 -1
- package/dist/cli/{chunk-IHHLTHE7.mjs → chunk-CVQ7N5CV.mjs} +267 -38
- package/dist/cli/{chunk-7DH2FD7Y.mjs → chunk-D464JW3N.mjs} +5 -85
- package/dist/cli/{chunk-MEAIOXJL.mjs → chunk-DHXCBITQ.mjs} +7 -5
- package/dist/cli/chunk-F2RHUPVH.mjs +827 -0
- package/dist/cli/chunk-F6QV42MC.mjs +91 -0
- package/dist/cli/{chunk-OZBWRICM.js → chunk-FK2HNDCN.js} +2 -2
- package/dist/cli/{chunk-BGY2PLP7.mjs → chunk-GUT7CLOL.mjs} +23 -49
- package/dist/cli/{chunk-RY4IVOU3.mjs → chunk-I624J4H5.mjs} +16 -806
- package/dist/cli/{chunk-Z2XUZC34.js → chunk-IAYSWZDJ.js} +188 -76
- package/dist/cli/{chunk-FGLKOWSC.mjs → chunk-IKWRUNAP.mjs} +1 -1
- package/dist/cli/{chunk-KCCOQ5G5.js → chunk-JVDKZJUH.js} +511 -282
- package/dist/cli/{chunk-HDFRJ4IT.mjs → chunk-JVHOS3K3.mjs} +177 -65
- package/dist/cli/chunk-LYFKBLJI.mjs +1039 -0
- package/dist/cli/{chunk-SLEUWLJE.mjs → chunk-MSY22NQW.mjs} +5 -5
- package/dist/cli/{chunk-5FY72YOV.js → chunk-NAPTMYTY.js} +8 -8
- package/dist/cli/{chunk-O6QOMHCH.js → chunk-NDHJR2WZ.js} +37 -35
- package/dist/cli/{chunk-KXMNM4AQ.js → chunk-NMU3VR5U.js} +4 -5
- package/dist/cli/chunk-NTLI6P6Y.mjs +19 -0
- package/dist/cli/{chunk-RFONC4WJ.mjs → chunk-O3BJYD6D.mjs} +3 -3
- package/dist/cli/{describe-2WQY7ZCY.js → chunk-PVY4DPPF.js} +27 -44
- package/dist/cli/{chunk-WIYWSYDS.mjs → chunk-Q2EIZKVX.mjs} +3 -3
- package/dist/cli/{chunk-VZBCEA5S.mjs → chunk-RD6IQ2JY.mjs} +223 -92
- package/dist/cli/chunk-RGOUCIIZ.js +1039 -0
- package/dist/cli/{chunk-EIMG75BT.mjs → chunk-S3A4IXBQ.mjs} +4 -5
- package/dist/cli/{chunk-QIW7TVV6.mjs → chunk-S4XQCFES.mjs} +14 -12
- package/dist/cli/chunk-SKU6ECIY.js +19 -0
- package/dist/cli/{chunk-CRYOUPEB.js → chunk-TIRBDQ3W.js} +16 -16
- package/dist/cli/{chunk-G7L27KZB.mjs → chunk-TKAQR3IB.mjs} +31 -21
- package/dist/cli/{chunk-MDJPEGVN.js → chunk-UC4SFYNU.js} +392 -261
- package/dist/cli/{chunk-3BMLICF7.mjs → chunk-UIURR26V.mjs} +13 -8
- package/dist/cli/{chunk-TNMBPMMC.js → chunk-UROQDCVW.js} +13 -4
- package/dist/cli/{chunk-R64BGGRQ.mjs → chunk-VDGTTH7K.mjs} +2 -2
- package/dist/cli/chunk-VLEVVDWG.js +91 -0
- package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-VPHN2HAL.mjs} +216 -91
- package/dist/cli/chunk-VY2GBNTX.js +1038 -0
- package/dist/cli/{chunk-CFUTOWE4.js → chunk-WG3KGAII.js} +8 -88
- package/dist/cli/{chunk-QAJAJPKK.mjs → chunk-WUMIYOXQ.mjs} +4 -2
- package/dist/cli/{chunk-SCIR5JXW.js → chunk-WUZS2HK6.js} +56 -51
- package/dist/cli/{chunk-T3MVIPHG.mjs → chunk-XDWS2JJT.mjs} +1 -1
- package/dist/cli/{chunk-KGQNIA37.js → chunk-XQCTG5OO.js} +44 -34
- package/dist/cli/{chunk-KVJ5VHW5.mjs → chunk-XW2JIYG7.mjs} +2 -2
- package/dist/cli/chunk-YGGIZ3VT.js +920 -0
- package/dist/cli/command-docs.d.mts +5 -0
- package/dist/cli/command-docs.d.ts +5 -0
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-NX7NO3O6.js → csv-EH5QWR4O.js} +13 -12
- package/dist/cli/{csv-DQ6GW5B5.mjs → csv-OK45Z5XQ.mjs} +4 -3
- package/dist/cli/{db-R72DFMP6.js → db-3ESJKETS.js} +30 -27
- package/dist/cli/{db-2YP33M4K.mjs → db-6Z5E4HKN.mjs} +10 -7
- package/dist/cli/describe-PNDQB7YS.mjs +48 -0
- package/dist/cli/describe-QUF7VTTR.js +48 -0
- package/dist/cli/describe-core.d.mts +153 -5
- package/dist/cli/describe-core.d.ts +153 -5
- package/dist/cli/describe-core.js +9 -5
- package/dist/cli/describe-core.mjs +10 -6
- package/dist/cli/{executions-WFBU7L2Q.mjs → executions-2NTWQFEG.mjs} +7 -5
- package/dist/cli/{executions-ZLHD4QIT.js → executions-KUOBRX5V.js} +9 -7
- package/dist/cli/{feedback-CN3HJFVF.mjs → feedback-7RPRMSGY.mjs} +6 -5
- package/dist/cli/{feedback-NDV6TPHG.js → feedback-UPHAZJ4C.js} +10 -9
- package/dist/cli/getting-started.d.mts +6 -6
- package/dist/cli/getting-started.d.ts +6 -6
- package/dist/cli/getting-started.js +2 -2
- package/dist/cli/getting-started.mjs +1 -1
- package/dist/cli/{git-QAD6E3HW.mjs → git-SCYP6WSZ.mjs} +5 -4
- package/dist/cli/git-UH653WHV.js +25 -0
- package/dist/cli/index.js +152 -142
- package/dist/cli/index.mjs +56 -46
- package/dist/cli/{legacy-noops-KVC5QJ74.js → legacy-noops-7XMFCVRG.js} +8 -7
- package/dist/cli/{legacy-noops-TPTKNBI2.mjs → legacy-noops-A4KYAGI6.mjs} +5 -4
- package/dist/cli/{monitors-SV57JFLO.mjs → monitors-FLC5J7RI.mjs} +19 -6
- package/dist/cli/{monitors-KCROV6PJ.js → monitors-NZV6IX5H.js} +103 -90
- package/dist/cli/{org-NJYX5743.js → org-IZ7UP3XF.js} +70 -67
- package/dist/cli/{org-KX6QIR7A.mjs → org-LUETJ7Z5.mjs} +9 -6
- package/dist/cli/pages-22ML3O7O.js +252 -0
- package/dist/cli/pages-EUX5EAGF.mjs +252 -0
- package/dist/cli/{play-IQQ57L7Z.mjs → play-CDHPAKKM.mjs} +512 -1508
- package/dist/cli/{play-32L7EQN4.js → play-USJBQADG.js} +1090 -2086
- package/dist/cli/{providers-4WEC2EQN.mjs → providers-CCXZ3SQF.mjs} +7 -5
- package/dist/cli/{providers-ZQV6QLVQ.js → providers-WFEUNPGC.js} +10 -8
- package/dist/cli/{quickstart-HKUSFADF.js → quickstart-O4JSUORZ.js} +13 -12
- package/dist/cli/{quickstart-RQ76RIUE.mjs → quickstart-ZUULI635.mjs} +5 -4
- package/dist/cli/run-ISDJYJMU.js +443 -0
- package/dist/cli/run-QJ4NX5F5.mjs +443 -0
- package/dist/cli/{search-ZRAVFBZC.mjs → search-IX3XKZJ3.mjs} +8 -6
- package/dist/cli/search-TIFNLRPM.js +32 -0
- package/dist/cli/{secrets-CMJOVNVH.mjs → secrets-7VUDXTUZ.mjs} +7 -5
- package/dist/cli/{secrets-J3G5Y43U.js → secrets-ELQSNCTR.js} +16 -14
- package/dist/cli/{sessions-WY7VN4AE.js → sessions-A3FG3AZX.js} +6 -5
- package/dist/cli/{sessions-MDQYY5CB.mjs → sessions-VOIQ62GB.mjs} +5 -4
- package/dist/cli/{settings-4RWZPCT5.mjs → settings-S6N6EFBG.mjs} +14 -11
- package/dist/cli/{settings-HTNTFKCE.js → settings-ZTXQEMZI.js} +80 -77
- package/dist/cli/{setup-P3GYYZWG.mjs → setup-AYPIK4JE.mjs} +12 -10
- package/dist/cli/{setup-QGCAP62X.js → setup-Y3WOIFLS.js} +53 -51
- package/dist/cli/{skills-7NAE4ICL.mjs → skills-5SF5QWNI.mjs} +7 -6
- package/dist/cli/skills-MWFRMG3H.js +31 -0
- package/dist/cli/tools-3XNZ4J64.mjs +55 -0
- package/dist/cli/tools-XEC4OD3R.js +55 -0
- package/dist/cli/{update-GODLRKNB.mjs → update-3U4OVX5R.mjs} +9 -8
- package/dist/cli/update-DWYEYTZE.js +33 -0
- package/dist/cli/{workflow-4BXOUVEO.mjs → workflow-2M5JP7SA.mjs} +10 -8
- package/dist/cli/{workflow-AO3A6LXN.js → workflow-RM7H7555.js} +20 -18
- package/dist/client-DS2IWYZF.d.ts +10 -0
- package/dist/client-DTwnz_AW.d.mts +10 -0
- package/dist/{client-CYqG23K1.d.ts → client-core-B_6HAIBy.d.ts} +385 -12
- package/dist/{client-BbU5_j7n.d.mts → client-core-DzBSlY1U.d.mts} +385 -12
- package/dist/{compiler-manifest-CWz_sNOQ.d.ts → compiler-manifest-Dcyd3-Zd.d.mts} +43 -1
- package/dist/{compiler-manifest-CWz_sNOQ.d.mts → compiler-manifest-Dcyd3-Zd.d.ts} +43 -1
- package/dist/errors-d-sTrZhe.d.mts +142 -0
- package/dist/errors-yQwfgrcX.d.ts +142 -0
- package/dist/{index-BF2JB_Ug.d.mts → index-C6oXchjN.d.mts} +1 -1
- package/dist/{index-4NPXDzlD.d.ts → index-P56zy_z5.d.ts} +1 -1
- package/dist/index.d.mts +11 -147
- package/dist/index.d.ts +11 -147
- package/dist/index.js +16 -12
- package/dist/index.mjs +15 -11
- package/dist/install-integrity.json +141 -104
- 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 +2 -1
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/play-description.js +2 -2
- package/dist/plays/play-description.mjs +1 -1
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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 +17 -0
- package/dist/server.d.ts +17 -0
- package/dist/server.js +76 -0
- package/dist/server.mjs +76 -0
- package/package.json +6 -1
- package/dist/cli/auth-IACERYQH.js +0 -40
- package/dist/cli/chunk-PQUUWFXY.js +0 -95
- package/dist/cli/chunk-YBWAG72P.mjs +0 -95
- package/dist/cli/chunk-YQDUODZW.js +0 -1710
- package/dist/cli/git-JVI36ZFV.js +0 -24
- package/dist/cli/search-75X5LTDE.js +0 -30
- package/dist/cli/skills-BKJ53JOQ.js +0 -30
- package/dist/cli/tools-COWMIEJ6.mjs +0 -45
- package/dist/cli/tools-TASOCE7I.js +0 -45
- package/dist/cli/update-SJIKVME6.js +0 -32
|
@@ -25,6 +25,11 @@ type CommandDoc = {
|
|
|
25
25
|
core: string;
|
|
26
26
|
/** Shown after `core` with `--help --verbose`. */
|
|
27
27
|
verbose?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The CLI feature key that gates this command. Its command stays out of
|
|
30
|
+
* help until the workspace has the key, and the MCP help index omits it.
|
|
31
|
+
*/
|
|
32
|
+
rolloutFeature?: string;
|
|
28
33
|
};
|
|
29
34
|
type HelpDetail = 'quiet' | 'core' | 'verbose';
|
|
30
35
|
declare const COMMAND_DOCS: Record<string, CommandDoc>;
|
|
@@ -25,6 +25,11 @@ type CommandDoc = {
|
|
|
25
25
|
core: string;
|
|
26
26
|
/** Shown after `core` with `--help --verbose`. */
|
|
27
27
|
verbose?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The CLI feature key that gates this command. Its command stays out of
|
|
30
|
+
* help until the workspace has the key, and the MCP help index omits it.
|
|
31
|
+
*/
|
|
32
|
+
rolloutFeature?: string;
|
|
28
33
|
};
|
|
29
34
|
type HelpDetail = 'quiet' | 'core' | 'verbose';
|
|
30
35
|
declare const COMMAND_DOCS: Record<string, CommandDoc>;
|
package/dist/cli/command-docs.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk6PMCRYDAjs = require('./chunk-6PMCRYDA.js');
|
|
10
10
|
require('./chunk-COGTRVWW.js');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.CLI_DOC_SURFACE =
|
|
19
|
+
exports.CLI_DOC_SURFACE = _chunk6PMCRYDAjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk6PMCRYDAjs.COMMAND_DOCS; exports.commandDocKey = _chunk6PMCRYDAjs.commandDocKey; exports.helpDetailFromArgv = _chunk6PMCRYDAjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk6PMCRYDAjs.renderActionExplanation; exports.renderCommandExplanation = _chunk6PMCRYDAjs.renderCommandExplanation; exports.renderDocText = _chunk6PMCRYDAjs.renderDocText;
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
|
|
8
|
+
require('./chunk-BGNWI3KH.js');
|
|
9
|
+
require('./chunk-YGGIZ3VT.js');
|
|
9
10
|
require('./chunk-ALJJRZNJ.js');
|
|
10
11
|
require('./chunk-XNYIZMNQ.js');
|
|
11
12
|
require('./chunk-DIAWYWT5.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-3BOIOCNX.js');
|
|
13
14
|
require('./chunk-OG64RBAC.js');
|
|
14
15
|
require('./chunk-COGTRVWW.js');
|
|
15
16
|
|
|
@@ -127,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
127
128
|
column.length,
|
|
128
129
|
...rows.map((row) => {
|
|
129
130
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
130
|
-
return (verbose ? value :
|
|
131
|
+
return (verbose ? value : _chunk5LHXOIPTjs.clip.call(void 0, value, 42)).length;
|
|
131
132
|
})
|
|
132
133
|
)
|
|
133
134
|
])
|
|
@@ -137,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
137
138
|
const body = rows.map(
|
|
138
139
|
(row) => columns.map((column) => {
|
|
139
140
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
140
|
-
const display = verbose ? raw :
|
|
141
|
+
const display = verbose ? raw : _chunk5LHXOIPTjs.clip.call(void 0, raw, 42);
|
|
141
142
|
return display.padEnd(widths[column]);
|
|
142
143
|
}).join(" | ")
|
|
143
144
|
);
|
|
@@ -157,7 +158,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
157
158
|
{ exitCode: 2 }
|
|
158
159
|
);
|
|
159
160
|
}
|
|
160
|
-
const allRows =
|
|
161
|
+
const allRows = _chunk5LHXOIPTjs.readCsvRows.call(void 0, csvPath);
|
|
161
162
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
162
163
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
163
164
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -170,7 +171,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
170
171
|
if (options.summary) {
|
|
171
172
|
const summaries = summarizeColumns(selected, columns);
|
|
172
173
|
if (format === "json") {
|
|
173
|
-
|
|
174
|
+
_chunk5LHXOIPTjs.printJson.call(void 0, {
|
|
174
175
|
rows: summaries,
|
|
175
176
|
total_rows: selected.length,
|
|
176
177
|
source_total_rows: allRows.length
|
|
@@ -179,7 +180,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
179
180
|
}
|
|
180
181
|
const displayRows = summaryDisplayRows(summaries);
|
|
181
182
|
if (format === "csv") {
|
|
182
|
-
process.stdout.write(
|
|
183
|
+
process.stdout.write(_chunk5LHXOIPTjs.csvStringFromRows.call(void 0, displayRows));
|
|
183
184
|
return;
|
|
184
185
|
}
|
|
185
186
|
process.stdout.write(
|
|
@@ -194,7 +195,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
194
195
|
return;
|
|
195
196
|
}
|
|
196
197
|
if (format === "json") {
|
|
197
|
-
|
|
198
|
+
_chunk5LHXOIPTjs.printJson.call(void 0, {
|
|
198
199
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
199
200
|
});
|
|
200
201
|
return;
|
|
@@ -437,7 +438,7 @@ async function handleCsvRenderStart(options) {
|
|
|
437
438
|
if (log) {
|
|
438
439
|
detail = `
|
|
439
440
|
CSV render log:
|
|
440
|
-
${
|
|
441
|
+
${_chunk5LHXOIPTjs.clip.call(void 0, log, 2e3)}`;
|
|
441
442
|
}
|
|
442
443
|
} catch (e7) {
|
|
443
444
|
}
|
|
@@ -488,7 +489,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
488
489
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
489
490
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
490
491
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
491
|
-
|
|
492
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0, payload, {
|
|
492
493
|
json: options.json,
|
|
493
494
|
text: `${lines.join("\n")}
|
|
494
495
|
`
|
|
@@ -524,7 +525,7 @@ async function handleCsvRenderStop(options) {
|
|
|
524
525
|
};
|
|
525
526
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
526
527
|
` : "No running CSV render process found.\n";
|
|
527
|
-
|
|
528
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
528
529
|
}
|
|
529
530
|
async function handleCsvRender(action, options) {
|
|
530
531
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,12 +4,13 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-WUMIYOXQ.mjs";
|
|
8
|
+
import "./chunk-F2RHUPVH.mjs";
|
|
9
|
+
import "./chunk-I624J4H5.mjs";
|
|
9
10
|
import "./chunk-4QF2K7TM.mjs";
|
|
10
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
12
|
import "./chunk-HBL4PM5Q.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-XDWS2JJT.mjs";
|
|
13
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
15
|
import "./chunk-KRD6H754.mjs";
|
|
15
16
|
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
var _chunkSKU6ECIYjs = require('./chunk-SKU6ECIY.js');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
|
|
9
|
+
var _chunkUC4SFYNUjs = require('./chunk-UC4SFYNU.js');
|
|
8
10
|
require('./chunk-E4CABWXL.js');
|
|
9
11
|
require('./chunk-JKVRBCZL.js');
|
|
10
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-NMU3VR5U.js');
|
|
11
13
|
require('./chunk-XDVT3GOM.js');
|
|
12
14
|
|
|
13
15
|
|
|
@@ -18,8 +20,9 @@ require('./chunk-XDVT3GOM.js');
|
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
23
|
+
var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
|
|
24
|
+
require('./chunk-BGNWI3KH.js');
|
|
25
|
+
require('./chunk-YGGIZ3VT.js');
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -27,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
|
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
30
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-3BOIOCNX.js');
|
|
31
34
|
require('./chunk-OG64RBAC.js');
|
|
32
35
|
require('./chunk-COGTRVWW.js');
|
|
33
36
|
|
|
@@ -50,8 +53,8 @@ function formatCell(value) {
|
|
|
50
53
|
return text.length > 80 ? `${text.slice(0, 77)}...` : text;
|
|
51
54
|
}
|
|
52
55
|
function tableLines(result) {
|
|
53
|
-
const rows =
|
|
54
|
-
const responseColumns =
|
|
56
|
+
const rows = _chunk5LHXOIPTjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunk5LHXOIPTjs.dataExportColumns.call(void 0,
|
|
55
58
|
rows,
|
|
56
59
|
customerDbColumnNames(result)
|
|
57
60
|
);
|
|
@@ -97,7 +100,7 @@ function tableLines(result) {
|
|
|
97
100
|
return lines;
|
|
98
101
|
}
|
|
99
102
|
function customerDbRows(result) {
|
|
100
|
-
return
|
|
103
|
+
return _chunk5LHXOIPTjs.recordRows.call(void 0, result.rows);
|
|
101
104
|
}
|
|
102
105
|
function customerDbColumnNames(result) {
|
|
103
106
|
return result.columns.map((column) => column.name).filter(Boolean);
|
|
@@ -150,7 +153,7 @@ function writeCustomerDbCsv(result, outPath) {
|
|
|
150
153
|
const resolved = _path.resolve.call(void 0, outPath);
|
|
151
154
|
_fs.writeFileSync.call(void 0,
|
|
152
155
|
resolved,
|
|
153
|
-
|
|
156
|
+
_chunk5LHXOIPTjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
|
|
154
157
|
"utf-8"
|
|
155
158
|
);
|
|
156
159
|
return resolved;
|
|
@@ -191,18 +194,18 @@ function dbQueryExportEnvelope(input) {
|
|
|
191
194
|
function renderDbQueryResult(result, query, options) {
|
|
192
195
|
const { sql, maxRows, operationKey } = query;
|
|
193
196
|
const { format, out: outPath, json: explicitJsonOutput = false } = options;
|
|
194
|
-
const jsonOutput = explicitJsonOutput ||
|
|
197
|
+
const jsonOutput = explicitJsonOutput || _chunk5LHXOIPTjs.shouldEmitJson.call(void 0, );
|
|
195
198
|
const toolPayload = JSON.stringify({
|
|
196
199
|
sql,
|
|
197
200
|
result_mode: "rows",
|
|
198
201
|
...maxRows ? { max_rows: maxRows } : {},
|
|
199
202
|
...operationKey !== void 0 ? { operation_key: operationKey } : {}
|
|
200
203
|
});
|
|
201
|
-
const toolCommand = `deepline
|
|
204
|
+
const toolCommand = `deepline run query_customer_db --input ${_chunkAID3OYVJjs.shellQuote.call(void 0, toolPayload)}`;
|
|
202
205
|
if (format === "csv") {
|
|
203
206
|
if (outPath) {
|
|
204
207
|
const exportedPath = writeCustomerDbCsv(result, outPath);
|
|
205
|
-
|
|
208
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
206
209
|
dbQueryExportEnvelope({
|
|
207
210
|
result,
|
|
208
211
|
format,
|
|
@@ -218,7 +221,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
218
221
|
);
|
|
219
222
|
return;
|
|
220
223
|
}
|
|
221
|
-
|
|
224
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
222
225
|
dbQueryExportEnvelope({
|
|
223
226
|
result,
|
|
224
227
|
format,
|
|
@@ -228,7 +231,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
228
231
|
}),
|
|
229
232
|
{
|
|
230
233
|
json: explicitJsonOutput,
|
|
231
|
-
text:
|
|
234
|
+
text: _chunk5LHXOIPTjs.dataExportCsvString.call(void 0,
|
|
232
235
|
customerDbRows(result),
|
|
233
236
|
customerDbColumnNames(result)
|
|
234
237
|
)
|
|
@@ -237,14 +240,14 @@ function renderDbQueryResult(result, query, options) {
|
|
|
237
240
|
return;
|
|
238
241
|
}
|
|
239
242
|
if (format === "markdown") {
|
|
240
|
-
const content =
|
|
243
|
+
const content = _chunk5LHXOIPTjs.markdownTableFromRows.call(void 0,
|
|
241
244
|
customerDbRows(result),
|
|
242
245
|
customerDbColumnNames(result)
|
|
243
246
|
);
|
|
244
247
|
if (outPath) {
|
|
245
248
|
const exportedPath = _path.resolve.call(void 0, outPath);
|
|
246
249
|
_fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
|
|
247
|
-
|
|
250
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
248
251
|
dbQueryExportEnvelope({
|
|
249
252
|
result,
|
|
250
253
|
format,
|
|
@@ -260,7 +263,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
260
263
|
);
|
|
261
264
|
return;
|
|
262
265
|
}
|
|
263
|
-
|
|
266
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
264
267
|
dbQueryExportEnvelope({
|
|
265
268
|
result,
|
|
266
269
|
format,
|
|
@@ -275,7 +278,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
275
278
|
);
|
|
276
279
|
return;
|
|
277
280
|
}
|
|
278
|
-
|
|
281
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
279
282
|
{
|
|
280
283
|
...result,
|
|
281
284
|
next: {
|
|
@@ -349,9 +352,9 @@ async function runDbQueryCommand(options) {
|
|
|
349
352
|
...maxRows === void 0 ? {} : { maxRows },
|
|
350
353
|
...operationKey === void 0 ? {} : { operationKey }
|
|
351
354
|
};
|
|
352
|
-
const plan =
|
|
355
|
+
const plan = _chunkUC4SFYNUjs.planCustomerDbQuery.call(void 0, query);
|
|
353
356
|
if (options.dryRun) {
|
|
354
|
-
|
|
357
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
355
358
|
{
|
|
356
359
|
dryRun: true,
|
|
357
360
|
...plan,
|
|
@@ -364,11 +367,11 @@ async function runDbQueryCommand(options) {
|
|
|
364
367
|
...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
|
|
365
368
|
}
|
|
366
369
|
},
|
|
367
|
-
{ json: options.json ||
|
|
370
|
+
{ json: options.json || _chunk5LHXOIPTjs.shouldEmitJson.call(void 0, ) }
|
|
368
371
|
);
|
|
369
372
|
return 0;
|
|
370
373
|
}
|
|
371
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkSKU6ECIYjs.DeeplineClient)();
|
|
372
375
|
const result = await client.db.query(query);
|
|
373
376
|
renderDbQueryResult(result, query, {
|
|
374
377
|
format,
|
|
@@ -377,8 +380,8 @@ async function runDbQueryCommand(options) {
|
|
|
377
380
|
});
|
|
378
381
|
return 0;
|
|
379
382
|
} catch (error) {
|
|
380
|
-
if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json ||
|
|
381
|
-
|
|
383
|
+
if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk5LHXOIPTjs.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
382
385
|
{
|
|
383
386
|
ok: false,
|
|
384
387
|
error: {
|
|
@@ -426,8 +429,8 @@ function dbRepairPlainText(result) {
|
|
|
426
429
|
async function handleDbRepair(args) {
|
|
427
430
|
const providerIndex = args.indexOf("--provider");
|
|
428
431
|
const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
|
|
429
|
-
const jsonOutput =
|
|
430
|
-
const client = new (0,
|
|
432
|
+
const jsonOutput = _chunk5LHXOIPTjs.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkSKU6ECIYjs.DeeplineClient)();
|
|
431
434
|
let result;
|
|
432
435
|
try {
|
|
433
436
|
result = await client.repairIngestionStorage(
|
|
@@ -443,7 +446,7 @@ async function handleDbRepair(args) {
|
|
|
443
446
|
console.error(errorMessage2(error));
|
|
444
447
|
return 1;
|
|
445
448
|
}
|
|
446
|
-
|
|
449
|
+
_chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
|
|
447
450
|
{
|
|
448
451
|
command: "db repair",
|
|
449
452
|
status: result.status,
|
|
@@ -2,12 +2,14 @@ import {
|
|
|
2
2
|
shellQuote
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
|
-
DeeplineClient
|
|
5
|
+
DeeplineClient
|
|
6
|
+
} from "./chunk-NTLI6P6Y.mjs";
|
|
7
|
+
import {
|
|
6
8
|
planCustomerDbQuery
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RD6IQ2JY.mjs";
|
|
8
10
|
import "./chunk-L2VKAASU.mjs";
|
|
9
11
|
import "./chunk-FAG4DFUC.mjs";
|
|
10
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-S3A4IXBQ.mjs";
|
|
11
13
|
import "./chunk-UBKA33KY.mjs";
|
|
12
14
|
import {
|
|
13
15
|
argsWantJson,
|
|
@@ -18,8 +20,9 @@ import {
|
|
|
18
20
|
printCommandEnvelope,
|
|
19
21
|
recordRows,
|
|
20
22
|
shouldEmitJson
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-WUMIYOXQ.mjs";
|
|
24
|
+
import "./chunk-F2RHUPVH.mjs";
|
|
25
|
+
import "./chunk-I624J4H5.mjs";
|
|
23
26
|
import {
|
|
24
27
|
CustomerDbQueryOutcomeUnknownError
|
|
25
28
|
} from "./chunk-4QF2K7TM.mjs";
|
|
@@ -27,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
27
30
|
import {
|
|
28
31
|
DeeplineError
|
|
29
32
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
30
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-XDWS2JJT.mjs";
|
|
31
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
32
35
|
import "./chunk-KRD6H754.mjs";
|
|
33
36
|
|
|
@@ -198,7 +201,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
198
201
|
...maxRows ? { max_rows: maxRows } : {},
|
|
199
202
|
...operationKey !== void 0 ? { operation_key: operationKey } : {}
|
|
200
203
|
});
|
|
201
|
-
const toolCommand = `deepline
|
|
204
|
+
const toolCommand = `deepline run query_customer_db --input ${shellQuote(toolPayload)}`;
|
|
202
205
|
if (format === "csv") {
|
|
203
206
|
if (outPath) {
|
|
204
207
|
const exportedPath = writeCustomerDbCsv(result, outPath);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
describeAnything,
|
|
3
|
+
findNamed,
|
|
4
|
+
nothingNamed,
|
|
5
|
+
registerDescribeCommand
|
|
6
|
+
} from "./chunk-4YZKBBLZ.mjs";
|
|
7
|
+
import "./chunk-CVQ7N5CV.mjs";
|
|
8
|
+
import "./chunk-LYFKBLJI.mjs";
|
|
9
|
+
import "./chunk-GUT7CLOL.mjs";
|
|
10
|
+
import {
|
|
11
|
+
DEEPLINE_NAMESPACE
|
|
12
|
+
} from "./chunk-TKAQR3IB.mjs";
|
|
13
|
+
import "./chunk-MSY22NQW.mjs";
|
|
14
|
+
import "./chunk-JVHOS3K3.mjs";
|
|
15
|
+
import "./chunk-OVDNJAJN.mjs";
|
|
16
|
+
import "./chunk-LJ5747UC.mjs";
|
|
17
|
+
import "./chunk-FR2ILQ4G.mjs";
|
|
18
|
+
import "./chunk-FIVKWNMT.mjs";
|
|
19
|
+
import "./chunk-NTLI6P6Y.mjs";
|
|
20
|
+
import "./chunk-TXZVVBQZ.mjs";
|
|
21
|
+
import "./chunk-RD6IQ2JY.mjs";
|
|
22
|
+
import "./chunk-L2VKAASU.mjs";
|
|
23
|
+
import "./chunk-FAG4DFUC.mjs";
|
|
24
|
+
import "./chunk-S3A4IXBQ.mjs";
|
|
25
|
+
import "./chunk-UBKA33KY.mjs";
|
|
26
|
+
import "./chunk-S4XQCFES.mjs";
|
|
27
|
+
import "./chunk-3U5EAP6E.mjs";
|
|
28
|
+
import "./chunk-IKWRUNAP.mjs";
|
|
29
|
+
import "./chunk-7D6X7IXW.mjs";
|
|
30
|
+
import "./chunk-C25QE4CH.mjs";
|
|
31
|
+
import "./chunk-UIURR26V.mjs";
|
|
32
|
+
import "./chunk-CTQ56DXP.mjs";
|
|
33
|
+
import "./chunk-WUMIYOXQ.mjs";
|
|
34
|
+
import "./chunk-F2RHUPVH.mjs";
|
|
35
|
+
import "./chunk-I624J4H5.mjs";
|
|
36
|
+
import "./chunk-4QF2K7TM.mjs";
|
|
37
|
+
import "./chunk-DLIRSHV6.mjs";
|
|
38
|
+
import "./chunk-HBL4PM5Q.mjs";
|
|
39
|
+
import "./chunk-XDWS2JJT.mjs";
|
|
40
|
+
import "./chunk-WZYKRD7T.mjs";
|
|
41
|
+
import "./chunk-KRD6H754.mjs";
|
|
42
|
+
export {
|
|
43
|
+
DEEPLINE_NAMESPACE,
|
|
44
|
+
describeAnything,
|
|
45
|
+
findNamed,
|
|
46
|
+
nothingNamed,
|
|
47
|
+
registerDescribeCommand
|
|
48
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkPVY4DPPFjs = require('./chunk-PVY4DPPF.js');
|
|
7
|
+
require('./chunk-JVDKZJUH.js');
|
|
8
|
+
require('./chunk-RGOUCIIZ.js');
|
|
9
|
+
require('./chunk-ALZBANZI.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkXQCTG5OOjs = require('./chunk-XQCTG5OO.js');
|
|
13
|
+
require('./chunk-5LEAXRHV.js');
|
|
14
|
+
require('./chunk-IAYSWZDJ.js');
|
|
15
|
+
require('./chunk-AID3OYVJ.js');
|
|
16
|
+
require('./chunk-ZM2YPJQJ.js');
|
|
17
|
+
require('./chunk-J33TSWO5.js');
|
|
18
|
+
require('./chunk-HGFFYVXN.js');
|
|
19
|
+
require('./chunk-SKU6ECIY.js');
|
|
20
|
+
require('./chunk-NA4T3B62.js');
|
|
21
|
+
require('./chunk-UC4SFYNU.js');
|
|
22
|
+
require('./chunk-E4CABWXL.js');
|
|
23
|
+
require('./chunk-JKVRBCZL.js');
|
|
24
|
+
require('./chunk-NMU3VR5U.js');
|
|
25
|
+
require('./chunk-XDVT3GOM.js');
|
|
26
|
+
require('./chunk-CBZP6J3V.js');
|
|
27
|
+
require('./chunk-TIRBDQ3W.js');
|
|
28
|
+
require('./chunk-7FCYPAPP.js');
|
|
29
|
+
require('./chunk-NDHJR2WZ.js');
|
|
30
|
+
require('./chunk-FK2HNDCN.js');
|
|
31
|
+
require('./chunk-WUZS2HK6.js');
|
|
32
|
+
require('./chunk-UROQDCVW.js');
|
|
33
|
+
require('./chunk-5LHXOIPT.js');
|
|
34
|
+
require('./chunk-BGNWI3KH.js');
|
|
35
|
+
require('./chunk-YGGIZ3VT.js');
|
|
36
|
+
require('./chunk-ALJJRZNJ.js');
|
|
37
|
+
require('./chunk-XNYIZMNQ.js');
|
|
38
|
+
require('./chunk-DIAWYWT5.js');
|
|
39
|
+
require('./chunk-3BOIOCNX.js');
|
|
40
|
+
require('./chunk-OG64RBAC.js');
|
|
41
|
+
require('./chunk-COGTRVWW.js');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.DEEPLINE_NAMESPACE = _chunkXQCTG5OOjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkPVY4DPPFjs.describeAnything; exports.findNamed = _chunkPVY4DPPFjs.findNamed; exports.nothingNamed = _chunkPVY4DPPFjs.nothingNamed; exports.registerDescribeCommand = _chunkPVY4DPPFjs.registerDescribeCommand;
|