deepline 0.3.552 → 0.3.554
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/client-core.ts +107 -12
- package/dist/bundling-sources/sdk/src/compat.ts +239 -87
- package/dist/bundling-sources/sdk/src/config.ts +113 -2
- package/dist/bundling-sources/sdk/src/errors.ts +2 -0
- package/dist/bundling-sources/sdk/src/http-core.ts +118 -8
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/integrations.ts +6 -4
- package/dist/bundling-sources/sdk/src/play.ts +3 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +8 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +2 -1
- package/dist/bundling-sources/sdk/src/tool-failure-hint.ts +104 -0
- package/dist/bundling-sources/sdk/src/types.ts +9 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +4 -2
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-plan-skus.ts +25 -0
- package/dist/bundling-sources/shared_libs/monitors/action-actor.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/credit-recovery.ts +58 -4
- package/dist/bundling-sources/shared_libs/monitors/billing/policy-builders.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/pricing.ts +11 -0
- package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +103 -5
- package/dist/bundling-sources/shared_libs/monitors/fleets/converge-admission.ts +133 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-attention.ts +165 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-release.ts +726 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/fence-walk.ts +274 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +1 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/provider-bulk-wait.ts +126 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/shared-payload.ts +189 -0
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +28 -0
- package/dist/bundling-sources/shared_libs/monitors/inbound-publish-key.ts +4 -0
- package/dist/bundling-sources/shared_libs/monitors/inventory-counter-errors.ts +25 -0
- package/dist/bundling-sources/shared_libs/monitors/org-monitor-limits.ts +65 -0
- package/dist/bundling-sources/shared_libs/monitors/package.json +9 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +152 -1
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +390 -10
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +34 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +66 -30
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +30 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +26 -3
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +41 -13
- package/dist/bundling-sources/shared_libs/monitors/signal-radars/raw-receipt-causes.ts +219 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +21 -10
- package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +13 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-integrations.ts +13 -0
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/log-metadata.ts +5 -3
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +10 -1
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/redaction.ts +24 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +168 -41
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -2
- package/dist/bundling-sources/shared_libs/play-data-plane/preview-r2-oidc.ts +188 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +170 -16
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +68 -2
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +444 -39
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-fetch-caller-deadline.ts +200 -0
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +21 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-cache.ts +3 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +70 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-tool-identity.ts +3 -3
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +16 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +62 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +74 -3
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +31 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/query-result-dataset.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +39 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +33 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-projection-contract.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +254 -44
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +87 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +241 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +161 -14
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +16 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-compression.ts +37 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +259 -52
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +62 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +206 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +42 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +185 -64
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-slot-ledger.ts +157 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +110 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-listener-hint.ts +323 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/executor-attempt-standing.ts +72 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-storage.ts +23 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-workspace-purge.ts +199 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +632 -66
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +517 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-api-origin.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-receipt-value-storage.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +599 -2
- package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/startup-read-tool-ids.ts +60 -0
- package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +51 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call-retry-facts.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +113 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -7
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +40 -5
- package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +3 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/control-plane-types.ts +16 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +10 -41
- package/dist/bundling-sources/shared_libs/plays/extension-bridge.ts +33 -0
- package/dist/bundling-sources/shared_libs/plays/row-identity.ts +18 -1
- package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +108 -0
- package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +14 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +171 -0
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +27 -1
- package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +9 -24
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +178 -5
- package/dist/bundling-sources/shared_libs/security/signup-email-dns-screen.ts +148 -0
- package/dist/bundling-sources/shared_libs/tool-execution-error.ts +108 -0
- package/dist/cli/{auth-KVSBJZOX.mjs → auth-HJUNW7T2.mjs} +8 -7
- package/dist/cli/auth-SP6SKZJZ.js +44 -0
- package/dist/cli/{billing-FQREA7UA.js → billing-4TSA5HEC.js} +297 -161
- package/dist/cli/{billing-54RHFEBI.mjs → billing-SJYRJAQ2.mjs} +197 -61
- package/dist/cli/{chunk-4MK42735.js → chunk-2HMN5H54.js} +215 -130
- package/dist/cli/{chunk-UBKA33KY.mjs → chunk-2MGZAI54.mjs} +17 -0
- package/dist/cli/{chunk-EOPEYCY7.mjs → chunk-2ORPFQUA.mjs} +18 -18
- package/dist/cli/{chunk-RQZQVFCJ.js → chunk-2OVHNHCF.js} +2 -2
- package/dist/cli/{chunk-QX7LFGJR.mjs → chunk-33WRQSQ2.mjs} +1874 -91
- package/dist/cli/{chunk-UPMRIVZB.js → chunk-3IKGZ4CG.js} +74 -13
- package/dist/cli/{chunk-EUPVF4SU.mjs → chunk-3Z4VFCXO.mjs} +8 -8
- package/dist/cli/{chunk-GKYAYLRI.js → chunk-4DOFGIEJ.js} +27 -31
- package/dist/cli/{chunk-4TALT2M3.mjs → chunk-52Q5KETX.mjs} +69 -3
- package/dist/cli/{chunk-RBEUVDZF.js → chunk-5CYZHOKI.js} +249 -107
- package/dist/cli/{chunk-LX35AXTN.mjs → chunk-5TYLSS4Q.mjs} +6 -6
- package/dist/cli/{chunk-IYSTRCLX.mjs → chunk-62AUAWQV.mjs} +4 -4
- package/dist/cli/{chunk-ZIAXDBXX.mjs → chunk-62HWJXST.mjs} +17 -21
- package/dist/cli/{chunk-QY3ZNU6Z.mjs → chunk-6EXOAT6T.mjs} +2 -2
- package/dist/cli/{chunk-EITMD3A5.js → chunk-6VLFQZK6.js} +8 -8
- package/dist/cli/{chunk-ADRC5I3R.js → chunk-7OWI736E.js} +30 -30
- package/dist/cli/{chunk-NURW5XH4.mjs → chunk-ASB47RXJ.mjs} +1 -1
- package/dist/cli/{chunk-PTVD2GVQ.mjs → chunk-B6HO2XWH.mjs} +13 -13
- package/dist/cli/{chunk-YJHE3O5M.mjs → chunk-BOZAP2EM.mjs} +141 -56
- package/dist/cli/chunk-BVXIGOBZ.js +32 -0
- package/dist/cli/{chunk-XDVT3GOM.js → chunk-CFJFUVX2.js} +18 -1
- package/dist/cli/{chunk-WE5HES3H.mjs → chunk-D6Z6POKE.mjs} +151 -43
- package/dist/cli/{chunk-AZQ264ID.mjs → chunk-DSKSFFK2.mjs} +1 -1
- package/dist/cli/{chunk-SHLFOPD6.js → chunk-DUBXUAAO.js} +5 -5
- package/dist/cli/{chunk-V436Z54K.js → chunk-E2G2DNAB.js} +3 -1
- package/dist/cli/{chunk-HO3XK3R7.js → chunk-E74KGKFZ.js} +8 -8
- package/dist/cli/{chunk-77AAAGVB.js → chunk-ECHKAC7M.js} +2 -2
- package/dist/cli/{chunk-KWSH5T7K.js → chunk-EN5NHCCQ.js} +21 -21
- package/dist/cli/{chunk-6RZOWL2V.mjs → chunk-F7CMRKSK.mjs} +1 -1
- package/dist/cli/{chunk-JWUAX6OP.js → chunk-FBAFX43W.js} +11 -11
- package/dist/cli/{chunk-AQWQ2BFX.mjs → chunk-FXQ3JKE3.mjs} +1 -1
- package/dist/cli/{chunk-QPKH23EC.mjs → chunk-GA2M3G3Y.mjs} +5 -5
- package/dist/cli/{chunk-G4O75EXF.js → chunk-GHT2NDL7.js} +18 -18
- package/dist/cli/{chunk-MF2GHZDO.js → chunk-GRZENGNE.js} +2 -2
- package/dist/cli/{chunk-4UUR4TCH.js → chunk-IVZKMJUK.js} +1875 -92
- package/dist/cli/{chunk-FTJLJCE5.mjs → chunk-KVBQY4ST.mjs} +3 -3
- package/dist/cli/{chunk-S5S355UY.mjs → chunk-KZHBDMGF.mjs} +12 -12
- package/dist/cli/{chunk-BBTKAASQ.js → chunk-LFQJW4S2.js} +42 -1
- package/dist/cli/{chunk-6ZORHRKB.mjs → chunk-LRZGS6RZ.mjs} +2 -0
- package/dist/cli/{chunk-2WFPHBR4.js → chunk-LY5MMXFF.js} +47 -29
- package/dist/cli/{chunk-BAIST2BR.js → chunk-M7STM3MZ.js} +36 -36
- package/dist/cli/{chunk-SL6MYJYM.js → chunk-MJTVX4QK.js} +35 -35
- package/dist/cli/{chunk-45PVGZST.js → chunk-OPTV7D2V.js} +508 -361
- package/dist/cli/{chunk-PFO3ISXA.js → chunk-OVEYWO4H.js} +174 -129
- package/dist/cli/{chunk-BGBJV26E.mjs → chunk-PC2FTUCP.mjs} +4 -4
- package/dist/cli/{chunk-WLN3SUIA.js → chunk-PQQMPUCZ.js} +3 -3
- package/dist/cli/{chunk-HYC4MKGK.mjs → chunk-Q7ACILL2.mjs} +5 -5
- package/dist/cli/{chunk-CBV7AKWM.js → chunk-R6DZ6NQ2.js} +5 -5
- package/dist/cli/{chunk-57VZVF5D.mjs → chunk-RBBTCYQB.mjs} +3 -3
- package/dist/cli/{chunk-F2LH7TGF.js → chunk-RTHMGSZX.js} +21 -21
- package/dist/cli/{chunk-YLTMXJFC.mjs → chunk-S6W6SJ6E.mjs} +158 -16
- package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
- package/dist/cli/{chunk-WEHCBH5R.mjs → chunk-TGUQET3O.mjs} +67 -6
- package/dist/cli/{chunk-IHRKLXZN.js → chunk-TJ6HLN56.js} +5 -5
- package/dist/cli/{chunk-3FD5EQ62.js → chunk-TOO3YM5N.js} +6 -7
- package/dist/cli/{chunk-QILKGXYF.mjs → chunk-UBBYHB2B.mjs} +2 -2
- package/dist/cli/{chunk-6PRW5UBA.mjs → chunk-UC4BDZKI.mjs} +299 -69
- package/dist/cli/{chunk-634ZDA3F.js → chunk-UNNOZKRT.js} +1 -1
- package/dist/cli/{chunk-IDVVIXPJ.js → chunk-UOT7HPBH.js} +41 -41
- package/dist/cli/{chunk-6YCA5NKJ.js → chunk-UYCZFQYQ.js} +12 -12
- package/dist/cli/{chunk-7IKQKKNX.js → chunk-VIUUTEHY.js} +90 -24
- package/dist/cli/{chunk-Z5TSLLOW.mjs → chunk-VLO5NFH2.mjs} +63 -18
- package/dist/cli/{chunk-U7QRMBIY.mjs → chunk-VQ75KX7G.mjs} +5 -5
- package/dist/cli/{chunk-4NQF6KJ3.js → chunk-VV4XGZ24.js} +13 -13
- package/dist/cli/{chunk-FSIVF2SI.mjs → chunk-VZGLIK5U.mjs} +1 -1
- package/dist/cli/{chunk-S46HWQKO.js → chunk-W6CZDTIR.js} +69 -69
- package/dist/cli/{chunk-XVB7V4N7.js → chunk-WL7P32PI.js} +161 -53
- package/dist/cli/{chunk-DJ2JDK4O.mjs → chunk-XD3MFTHA.mjs} +1 -1
- package/dist/cli/{chunk-GGGAEVCX.mjs → chunk-XFZX6FNM.mjs} +40 -22
- package/dist/cli/{chunk-AWJPDPMA.mjs → chunk-XU6QNM4D.mjs} +1 -1
- package/dist/cli/{chunk-QAORXEY3.mjs → chunk-YCOGPOUX.mjs} +6 -7
- package/dist/cli/{chunk-VQALXEXO.js → chunk-YQKCH4R7.js} +348 -118
- package/dist/cli/{chunk-6O5HOODW.mjs → chunk-YY55NYAH.mjs} +207 -60
- package/dist/cli/{chunk-JL2OTMSG.mjs → chunk-Z3A2S3QM.mjs} +41 -0
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-Q4KPAUJX.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +9 -8
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
- package/dist/cli/{csv-F5VAGX4K.js → csv-4ZQ2RATI.js} +16 -15
- package/dist/cli/{csv-2PTVDNO6.mjs → csv-Y3BFPEM6.mjs} +7 -6
- package/dist/cli/{db-IEDXAUF7.mjs → db-3JYY4JNN.mjs} +17 -17
- package/dist/cli/{db-Z3OIUFMM.js → db-VEIFS4M7.js} +45 -45
- package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
- package/dist/cli/describe-FG625QPF.js +50 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +7 -7
- package/dist/cli/describe-core.mjs +6 -6
- package/dist/cli/{executions-H6H5655J.js → executions-HPZXOOVX.js} +12 -12
- package/dist/cli/{executions-R3LP74QN.mjs → executions-PCXZKEHM.mjs} +10 -10
- package/dist/cli/{feedback-WL3MRVT5.mjs → feedback-Y6VKZNY6.mjs} +9 -8
- package/dist/cli/{feedback-VFOUR66B.js → feedback-ZKFHFVL6.js} +17 -16
- package/dist/cli/git-RUBMALLH.js +26 -0
- package/dist/cli/{git-YX2J4GCI.mjs → git-UMPR2QYC.mjs} +8 -7
- package/dist/cli/index.js +170 -158
- package/dist/cli/index.mjs +60 -48
- package/dist/cli/{integrations-E2JZYKHS.js → integrations-3GQCTRTF.js} +23 -27
- package/dist/cli/{integrations-5ZK5KLVP.mjs → integrations-V3TM6XAB.mjs} +15 -19
- package/dist/cli/{legacy-noops-SMN3GSXY.mjs → legacy-noops-JZBUD7ZE.mjs} +9 -8
- package/dist/cli/{legacy-noops-3VW4IJTH.js → legacy-noops-VYCO7NGW.js} +12 -11
- package/dist/cli/{mcp-UQV2K4EW.js → mcp-4OIWTCE6.js} +121 -48
- package/dist/cli/{mcp-V6MGCYAG.mjs → mcp-PH4KZ76P.mjs} +100 -27
- package/dist/cli/{monitors-R3BBDCRC.js → monitors-E2A6VPBY.js} +221 -186
- package/dist/cli/{monitors-GGKS5W6M.mjs → monitors-SSMGIDGX.mjs} +58 -23
- package/dist/cli/org-SFDKSK5D.mjs +2289 -0
- package/dist/cli/org-WUDZGWBT.js +2289 -0
- package/dist/cli/outcomes-QT7LQBPK.mjs +2865 -0
- package/dist/cli/outcomes-Y7SZTLSL.js +2865 -0
- package/dist/cli/{play-MDWPR4XG.mjs → play-EK7KSFPL.mjs} +376 -106
- package/dist/cli/{play-2MVO27VO.js → play-GDNHCRRR.js} +1150 -880
- package/dist/cli/{providers-AKDYFZJZ.mjs → providers-FVZLRXAU.mjs} +10 -10
- package/dist/cli/{providers-2AACRUZH.js → providers-ZKOSECLV.js} +13 -13
- package/dist/cli/{quickstart-H6IV3PV3.js → quickstart-KSDKIXYD.js} +9 -8
- package/dist/cli/{quickstart-QDGRJFZY.mjs → quickstart-UJZ6PIQV.mjs} +7 -6
- package/dist/cli/{run-RTSQNGRD.mjs → run-E7MZ7P35.mjs} +35 -33
- package/dist/cli/{run-2634REDK.js → run-PD2BBG6S.js} +55 -53
- package/dist/cli/run-identity-LMLFMACS.js +31 -0
- package/dist/cli/{run-identity-MRNCEGV2.mjs → run-identity-MAZ7ANH5.mjs} +9 -3
- package/dist/cli/search-TKSPTPHA.js +32 -0
- package/dist/cli/{search-6AOJ4XPP.mjs → search-VTFUFTOY.mjs} +11 -11
- package/dist/cli/{search-output-S5ODBL5E.js → search-output-G2AGDCOY.js} +13 -12
- package/dist/cli/{search-output-6ADMTOU5.mjs → search-output-PFVXQCWA.mjs} +10 -9
- package/dist/cli/{secrets-TFIFBFB3.mjs → secrets-7CIMEMX7.mjs} +11 -11
- package/dist/cli/{secrets-LHCIIHMT.js → secrets-BCOQ4U7U.js} +20 -20
- package/dist/cli/sessions-4CO556VD.js +23 -0
- package/dist/cli/{sessions-WHBVUHVW.mjs → sessions-IUCQZEF7.mjs} +9 -8
- package/dist/cli/{settings-EBONWL5C.mjs → settings-KZN62UQK.mjs} +16 -16
- package/dist/cli/{settings-CP4FVK2W.js → settings-REL4736M.js} +89 -89
- package/dist/cli/{setup-I5AZE3IU.mjs → setup-2P7OG3OU.mjs} +22 -24
- package/dist/cli/{setup-LFGHTNLQ.js → setup-2XIVBBCS.js} +62 -64
- package/dist/cli/skills-JYT5DEY6.js +37 -0
- package/dist/cli/{skills-W76AO5XE.mjs → skills-VIGNDJKI.mjs} +10 -9
- package/dist/cli/tools-NTVUQ2TG.js +57 -0
- package/dist/cli/{tools-7IJHGF6W.mjs → tools-W3QT5EJY.mjs} +24 -24
- package/dist/cli/{update-GFOPZTHY.mjs → update-GZVBVMY3.mjs} +14 -11
- package/dist/cli/update-TWJZPUZM.js +37 -0
- package/dist/cli/{views-D4NX4SBG.mjs → views-BOGEH424.mjs} +47 -49
- package/dist/cli/{views-BPL2TQJ4.js → views-TOLJNLSV.js} +62 -64
- package/dist/cli/{workflow-ZYNAUCKC.js → workflow-ENWFRK5M.js} +23 -23
- package/dist/cli/{workflow-YXP42FUI.mjs → workflow-VDG2FDQV.mjs} +13 -13
- package/dist/{client-CyXGrO4D.d.mts → client-B8f7RNF8.d.mts} +1 -1
- package/dist/{client-Bf3IpUKN.d.ts → client-C5TgXmJQ.d.ts} +1 -1
- package/dist/{client-core-BxsLnXlm.d.mts → client-core-SLLGBTht.d.mts} +268 -23
- package/dist/{client-core-BWd0lX0Z.d.ts → client-core-p0sOxnkl.d.ts} +268 -23
- package/dist/{compiler-manifest-BqwVrOri.d.ts → compiler-manifest-D_zZEh9Q.d.mts} +70 -5
- package/dist/{compiler-manifest-BqwVrOri.d.mts → compiler-manifest-D_zZEh9Q.d.ts} +70 -5
- package/dist/{errors-BU8FB99X.d.mts → errors-CZCrBFrQ.d.mts} +1 -1
- package/dist/{errors-DfVN_FUG.d.ts → errors-DsUkLrdZ.d.ts} +1 -1
- package/dist/{index-BGnvtYGc.d.ts → index-B6RTOZGC.d.ts} +1 -1
- package/dist/{index-DjZgwpGw.d.mts → index-DeOVrEmX.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +66 -55
- package/dist/index.mjs +25 -14
- package/dist/install-integrity.json +163 -144
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +23 -4
- package/dist/plays/csv-data-input.js +3 -3
- package/dist/plays/csv-data-input.mjs +2 -2
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +4 -4
- package/dist/plays/run-request.mjs +3 -3
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +15 -13
- package/dist/server.mjs +9 -7
- package/package.json +1 -1
- package/dist/cli/auth-MMNVWATX.js +0 -43
- package/dist/cli/chunk-AID3OYVJ.js +0 -8
- package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
- package/dist/cli/concurrent-runs-help-FQAIHKKC.js +0 -21
- package/dist/cli/describe-QDANCTS3.mjs +0 -50
- package/dist/cli/describe-VUTT5ZKU.js +0 -50
- package/dist/cli/git-ETB3GH3K.js +0 -25
- package/dist/cli/org-GRYVMNSW.js +0 -1282
- package/dist/cli/org-Z37NGJV4.mjs +0 -1282
- package/dist/cli/run-identity-G257GQED.js +0 -25
- package/dist/cli/search-VTW2YNBS.js +0 -32
- package/dist/cli/sessions-CJ4FJ2WB.js +0 -22
- package/dist/cli/skills-R7EBXREW.js +0 -36
- package/dist/cli/tools-V7U2BDXM.js +0 -57
- package/dist/cli/update-4COPZETK.js +0 -34
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6EXOAT6T.mjs";
|
|
4
|
+
import "./chunk-VLO5NFH2.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-5TYLSS4Q.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
|
-
import "./chunk-UBKA33KY.mjs";
|
|
9
8
|
import {
|
|
10
9
|
printCommandEnvelope,
|
|
11
10
|
shouldEmitJson
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
12
|
+
import "./chunk-52Q5KETX.mjs";
|
|
13
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
14
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
16
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
17
|
+
import "./chunk-2MGZAI54.mjs";
|
|
18
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
|
|
4
|
+
require('./chunk-OVEYWO4H.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-MJTVX4QK.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
|
-
require('./chunk-XDVT3GOM.js');
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
11
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
12
|
+
require('./chunk-VIUUTEHY.js');
|
|
13
|
+
require('./chunk-5CYZHOKI.js');
|
|
14
|
+
require('./chunk-6VLFQZK6.js');
|
|
16
15
|
require('./chunk-XNYIZMNQ.js');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-LFQJW4S2.js');
|
|
17
|
+
require('./chunk-CFJFUVX2.js');
|
|
18
|
+
require('./chunk-UNNOZKRT.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/providers.ts
|
|
23
23
|
async function listProviders(options = {}) {
|
|
24
|
-
const client = new (0,
|
|
24
|
+
const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkYQKCH4R7js.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -43,7 +43,7 @@ async function listProviders(options = {}) {
|
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
47
47
|
{
|
|
48
48
|
providers,
|
|
49
49
|
count: providers.length,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
4
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
5
|
+
require('./chunk-VIUUTEHY.js');
|
|
6
|
+
require('./chunk-5CYZHOKI.js');
|
|
7
|
+
require('./chunk-6VLFQZK6.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-LFQJW4S2.js');
|
|
10
|
+
require('./chunk-CFJFUVX2.js');
|
|
11
|
+
require('./chunk-UNNOZKRT.js');
|
|
11
12
|
require('./chunk-OG64RBAC.js');
|
|
12
13
|
|
|
13
14
|
|
|
@@ -17,12 +18,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
18
|
|
|
18
19
|
// src/cli/commands/quickstart.ts
|
|
19
20
|
async function handleQuickstart(options) {
|
|
20
|
-
const jsonOutput =
|
|
21
|
+
const jsonOutput = _chunkYQKCH4R7js.shouldEmitJson.call(void 0, options.json === true);
|
|
21
22
|
const gettingStarted = {
|
|
22
23
|
skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
23
24
|
examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
24
25
|
};
|
|
25
|
-
|
|
26
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
26
27
|
{
|
|
27
28
|
ok: true,
|
|
28
29
|
status: "deprecated",
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
5
|
+
import "./chunk-52Q5KETX.mjs";
|
|
6
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
7
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
10
|
+
import "./chunk-2MGZAI54.mjs";
|
|
11
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
11
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
13
|
import {
|
|
13
14
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VQ75KX7G.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import
|
|
8
|
+
} from "./chunk-3Z4VFCXO.mjs";
|
|
9
|
+
import {
|
|
10
|
+
jsonFileText
|
|
11
|
+
} from "./chunk-YY55NYAH.mjs";
|
|
10
12
|
import {
|
|
11
13
|
ExecutionOutputError,
|
|
12
14
|
openLogDestination,
|
|
13
15
|
preflightExecutionOutput,
|
|
14
16
|
writeExecutionOutput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-KVBQY4ST.mjs";
|
|
18
|
+
import "./chunk-62HWJXST.mjs";
|
|
19
|
+
import "./chunk-GA2M3G3Y.mjs";
|
|
18
20
|
import "./chunk-5AEDYVB6.mjs";
|
|
19
21
|
import {
|
|
20
22
|
DEEPLINE_NAMESPACE
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-PC2FTUCP.mjs";
|
|
24
|
+
import "./chunk-TGUQET3O.mjs";
|
|
25
|
+
import "./chunk-XFZX6FNM.mjs";
|
|
26
|
+
import "./chunk-STXDSVQZ.mjs";
|
|
25
27
|
import "./chunk-MF7PCM6C.mjs";
|
|
26
28
|
import "./chunk-FR2ILQ4G.mjs";
|
|
27
29
|
import "./chunk-FIVKWNMT.mjs";
|
|
28
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6EXOAT6T.mjs";
|
|
29
31
|
import "./chunk-2GEYN3H4.mjs";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-VLO5NFH2.mjs";
|
|
31
33
|
import "./chunk-FZHMNK6F.mjs";
|
|
32
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-5TYLSS4Q.mjs";
|
|
33
35
|
import "./chunk-PSX3WHIH.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-YJHE3O5M.mjs";
|
|
36
|
+
import "./chunk-B6HO2XWH.mjs";
|
|
37
|
+
import "./chunk-F7CMRKSK.mjs";
|
|
38
|
+
import "./chunk-D6Z6POKE.mjs";
|
|
39
|
+
import "./chunk-XD3MFTHA.mjs";
|
|
40
|
+
import "./chunk-62AUAWQV.mjs";
|
|
41
|
+
import "./chunk-BOZAP2EM.mjs";
|
|
41
42
|
import {
|
|
42
43
|
createCliProgress
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DSKSFFK2.mjs";
|
|
44
45
|
import {
|
|
45
46
|
errorToJsonPayload
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
48
|
+
import "./chunk-52Q5KETX.mjs";
|
|
49
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
50
|
+
import "./chunk-ASB47RXJ.mjs";
|
|
50
51
|
import "./chunk-DLIRSHV6.mjs";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-Z3A2S3QM.mjs";
|
|
53
|
+
import "./chunk-2MGZAI54.mjs";
|
|
54
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
53
55
|
import "./chunk-WZYKRD7T.mjs";
|
|
54
56
|
import "./chunk-5JPKRDFC.mjs";
|
|
55
57
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -70,7 +72,7 @@ function readInput(options) {
|
|
|
70
72
|
}
|
|
71
73
|
const path = options.inputFile ?? (options.input?.startsWith("@") ? options.input.slice(1) : void 0);
|
|
72
74
|
const flag = options.inputFile !== void 0 ? "--input-file" : "--input";
|
|
73
|
-
const text = path === void 0 ? options.input ?? "{}" : readFileSync(path === "-" ? 0 : path
|
|
75
|
+
const text = path === void 0 ? options.input ?? "{}" : jsonFileText(readFileSync(path === "-" ? 0 : path));
|
|
74
76
|
let input;
|
|
75
77
|
try {
|
|
76
78
|
input = JSON.parse(text);
|
|
@@ -119,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
119
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
120
122
|
}
|
|
121
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
122
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await import("./tools-W3QT5EJY.mjs");
|
|
123
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
124
126
|
}
|
|
125
127
|
} catch (error) {
|
|
@@ -140,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
140
142
|
if (name !== void 0) {
|
|
141
143
|
return refuse("Use a name or -e, not both.", output);
|
|
142
144
|
}
|
|
143
|
-
const { writeInlinePlay } = await import("./play-
|
|
145
|
+
const { writeInlinePlay } = await import("./play-EK7KSFPL.mjs");
|
|
144
146
|
let file;
|
|
145
147
|
try {
|
|
146
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -179,7 +181,7 @@ async function runAnything(name, options) {
|
|
|
179
181
|
const { described } = chosen;
|
|
180
182
|
if (described.kind === "custom_play" && shadowed) {
|
|
181
183
|
console.error(
|
|
182
|
-
`Running your
|
|
184
|
+
`Running your org play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${DEEPLINE_NAMESPACE}${base}`
|
|
183
185
|
);
|
|
184
186
|
}
|
|
185
187
|
const { runner } = described;
|
|
@@ -200,7 +202,7 @@ async function runAnything(name, options) {
|
|
|
200
202
|
if (runner.via === "play") {
|
|
201
203
|
return runPlay(runner.reference, { ...play, revision });
|
|
202
204
|
}
|
|
203
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
205
|
+
const { executeToolForReceipt } = await import("./tools-W3QT5EJY.mjs");
|
|
204
206
|
return executeToolForReceipt({
|
|
205
207
|
toolId: runner.toolId,
|
|
206
208
|
params: input,
|
|
@@ -231,7 +233,7 @@ function dryRun(described, input, output) {
|
|
|
231
233
|
return missing.length ? 2 : 0;
|
|
232
234
|
}
|
|
233
235
|
async function runPlay(reference, play) {
|
|
234
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
236
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-EK7KSFPL.mjs");
|
|
235
237
|
const { output, options, revision } = play;
|
|
236
238
|
if (options.dryRun) {
|
|
237
239
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkGHT2NDL7js = require('./chunk-GHT2NDL7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-45PVGZST.js');
|
|
8
|
+
var _chunkRTHMGSZXjs = require('./chunk-RTHMGSZX.js');
|
|
10
9
|
|
|
11
10
|
|
|
11
|
+
var _chunkOPTV7D2Vjs = require('./chunk-OPTV7D2V.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
require('./chunk-
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunkUYCZFQYQjs = require('./chunk-UYCZFQYQ.js');
|
|
18
|
+
require('./chunk-4DOFGIEJ.js');
|
|
19
|
+
require('./chunk-FBAFX43W.js');
|
|
18
20
|
require('./chunk-D3BCSAN7.js');
|
|
19
21
|
|
|
20
22
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
var _chunkEN5NHCCQjs = require('./chunk-EN5NHCCQ.js');
|
|
24
|
+
require('./chunk-3IKGZ4CG.js');
|
|
25
|
+
require('./chunk-LY5MMXFF.js');
|
|
26
|
+
require('./chunk-BVXIGOBZ.js');
|
|
25
27
|
require('./chunk-CSPHSNBW.js');
|
|
26
28
|
require('./chunk-J33TSWO5.js');
|
|
27
29
|
require('./chunk-HGFFYVXN.js');
|
|
28
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-DUBXUAAO.js');
|
|
29
31
|
require('./chunk-BLMB4N63.js');
|
|
30
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-OVEYWO4H.js');
|
|
31
33
|
require('./chunk-4WAM6TLD.js');
|
|
32
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-MJTVX4QK.js');
|
|
33
35
|
require('./chunk-PMH4GLMD.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
40
|
-
require('./chunk-4MK42735.js');
|
|
36
|
+
require('./chunk-7OWI736E.js');
|
|
37
|
+
require('./chunk-GRZENGNE.js');
|
|
38
|
+
require('./chunk-WL7P32PI.js');
|
|
39
|
+
require('./chunk-ECHKAC7M.js');
|
|
40
|
+
require('./chunk-UOT7HPBH.js');
|
|
41
|
+
require('./chunk-2HMN5H54.js');
|
|
41
42
|
|
|
42
43
|
|
|
43
|
-
var
|
|
44
|
+
var _chunkPQQMPUCZjs = require('./chunk-PQQMPUCZ.js');
|
|
44
45
|
|
|
45
46
|
|
|
46
|
-
var
|
|
47
|
-
require('./chunk-
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
47
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
48
|
+
require('./chunk-VIUUTEHY.js');
|
|
49
|
+
require('./chunk-5CYZHOKI.js');
|
|
50
|
+
require('./chunk-6VLFQZK6.js');
|
|
50
51
|
require('./chunk-XNYIZMNQ.js');
|
|
51
|
-
require('./chunk-
|
|
52
|
-
require('./chunk-
|
|
52
|
+
require('./chunk-LFQJW4S2.js');
|
|
53
|
+
require('./chunk-CFJFUVX2.js');
|
|
54
|
+
require('./chunk-UNNOZKRT.js');
|
|
53
55
|
require('./chunk-OG64RBAC.js');
|
|
54
56
|
require('./chunk-RLX5ZFNX.js');
|
|
55
57
|
require('./chunk-COGTRVWW.js');
|
|
@@ -70,7 +72,7 @@ function readInput(options) {
|
|
|
70
72
|
}
|
|
71
73
|
const path = _nullishCoalesce(options.inputFile, () => ( (_optionalChain([options, 'access', _ => _.input, 'optionalAccess', _2 => _2.startsWith, 'call', _3 => _3("@")]) ? options.input.slice(1) : void 0)));
|
|
72
74
|
const flag = options.inputFile !== void 0 ? "--input-file" : "--input";
|
|
73
|
-
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) : _fs.readFileSync.call(void 0, path === "-" ? 0 : path
|
|
75
|
+
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) : _chunkOPTV7D2Vjs.jsonFileText.call(void 0, _fs.readFileSync.call(void 0, path === "-" ? 0 : path));
|
|
74
76
|
let input;
|
|
75
77
|
try {
|
|
76
78
|
input = JSON.parse(text);
|
|
@@ -85,7 +87,7 @@ function readInput(options) {
|
|
|
85
87
|
return input;
|
|
86
88
|
}
|
|
87
89
|
function refuse(message, output) {
|
|
88
|
-
|
|
90
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
89
91
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
90
92
|
output
|
|
91
93
|
);
|
|
@@ -101,7 +103,7 @@ async function runAnything(name, options) {
|
|
|
101
103
|
logsOut: options.logsOut,
|
|
102
104
|
fields: _optionalChain([options, 'access', _7 => _7.fields, 'optionalAccess', _8 => _8.split, 'call', _9 => _9(","), 'access', _10 => _10.map, 'call', _11 => _11((path) => path.trim()), 'access', _12 => _12.filter, 'call', _13 => _13(Boolean)])
|
|
103
105
|
};
|
|
104
|
-
if (!
|
|
106
|
+
if (!_chunkUYCZFQYQjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
105
107
|
let input;
|
|
106
108
|
let timeoutMs;
|
|
107
109
|
try {
|
|
@@ -119,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
119
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
120
122
|
}
|
|
121
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
122
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NTVUQ2TG.js")));
|
|
123
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
124
126
|
}
|
|
125
127
|
} catch (error) {
|
|
@@ -140,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
140
142
|
if (name !== void 0) {
|
|
141
143
|
return refuse("Use a name or -e, not both.", output);
|
|
142
144
|
}
|
|
143
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
145
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-GDNHCRRR.js")));
|
|
144
146
|
let file;
|
|
145
147
|
try {
|
|
146
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -163,23 +165,23 @@ async function runAnything(name, options) {
|
|
|
163
165
|
output
|
|
164
166
|
);
|
|
165
167
|
}
|
|
166
|
-
if (
|
|
168
|
+
if (_chunkGHT2NDL7js.looksLikeFilePath.call(void 0, name)) {
|
|
167
169
|
output.label = `${name} (play file)`;
|
|
168
170
|
return runPlay(name, play);
|
|
169
171
|
}
|
|
170
172
|
let { base, revision } = splitRevision(name);
|
|
171
|
-
let found = await
|
|
173
|
+
let found = await _chunkRTHMGSZXjs.findNamed.call(void 0, base, {});
|
|
172
174
|
if (!found.chosen && revision) {
|
|
173
|
-
found = await
|
|
175
|
+
found = await _chunkRTHMGSZXjs.findNamed.call(void 0, name, {});
|
|
174
176
|
if (found.chosen)
|
|
175
177
|
({ base, revision } = { base: name, revision: void 0 });
|
|
176
178
|
}
|
|
177
179
|
const { chosen, shadowed } = found;
|
|
178
|
-
if (!chosen) return refuse(
|
|
180
|
+
if (!chosen) return refuse(_chunkRTHMGSZXjs.nothingNamed.call(void 0, base), output);
|
|
179
181
|
const { described } = chosen;
|
|
180
182
|
if (described.kind === "custom_play" && shadowed) {
|
|
181
183
|
console.error(
|
|
182
|
-
`Running your
|
|
184
|
+
`Running your org play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkEN5NHCCQjs.DEEPLINE_NAMESPACE}${base}`
|
|
183
185
|
);
|
|
184
186
|
}
|
|
185
187
|
const { runner } = described;
|
|
@@ -200,7 +202,7 @@ async function runAnything(name, options) {
|
|
|
200
202
|
if (runner.via === "play") {
|
|
201
203
|
return runPlay(runner.reference, { ...play, revision });
|
|
202
204
|
}
|
|
203
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
205
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NTVUQ2TG.js")));
|
|
204
206
|
return executeToolForReceipt({
|
|
205
207
|
toolId: runner.toolId,
|
|
206
208
|
params: input,
|
|
@@ -214,7 +216,7 @@ function dryRun(described, input, output) {
|
|
|
214
216
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
215
217
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
216
218
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
217
|
-
|
|
219
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
218
220
|
{
|
|
219
221
|
id: null,
|
|
220
222
|
status: "dry_run",
|
|
@@ -231,20 +233,20 @@ function dryRun(described, input, output) {
|
|
|
231
233
|
return missing.length ? 2 : 0;
|
|
232
234
|
}
|
|
233
235
|
async function runPlay(reference, play) {
|
|
234
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
236
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-GDNHCRRR.js")));
|
|
235
237
|
const { output, options, revision } = play;
|
|
236
238
|
if (options.dryRun) {
|
|
237
|
-
const dryRunOptions =
|
|
239
|
+
const dryRunOptions = _chunkGHT2NDL7js.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
238
240
|
input: JSON.stringify(play.input),
|
|
239
241
|
dryRun: true,
|
|
240
242
|
json: output.receiptJson === true
|
|
241
243
|
});
|
|
242
244
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
243
|
-
const writeDryRunError = (error) =>
|
|
245
|
+
const writeDryRunError = (error) => _chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
244
246
|
{
|
|
245
247
|
id: null,
|
|
246
248
|
status: "failed",
|
|
247
|
-
error:
|
|
249
|
+
error: _chunkYQKCH4R7js.errorToJsonPayload.call(void 0, error).error,
|
|
248
250
|
ran: false
|
|
249
251
|
},
|
|
250
252
|
output
|
|
@@ -252,7 +254,7 @@ async function runPlay(reference, play) {
|
|
|
252
254
|
try {
|
|
253
255
|
return await handlePlayRun(dryRunOptions, {
|
|
254
256
|
writeDryRunError,
|
|
255
|
-
writeDryRunPlan: (plan) =>
|
|
257
|
+
writeDryRunPlan: (plan) => _chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
256
258
|
{
|
|
257
259
|
id: null,
|
|
258
260
|
status: "dry_run",
|
|
@@ -263,19 +265,19 @@ async function runPlay(reference, play) {
|
|
|
263
265
|
)
|
|
264
266
|
});
|
|
265
267
|
} catch (error) {
|
|
266
|
-
if (error instanceof
|
|
268
|
+
if (error instanceof _chunkUYCZFQYQjs.ExecutionOutputError) throw error;
|
|
267
269
|
writeDryRunError(error);
|
|
268
270
|
return 1;
|
|
269
271
|
}
|
|
270
272
|
}
|
|
271
273
|
let id = null;
|
|
272
274
|
let written = false;
|
|
273
|
-
const progress =
|
|
274
|
-
if (!play.noWait) progress.setLogWriter(
|
|
275
|
+
const progress = _chunkPQQMPUCZjs.createCliProgress.call(void 0, true);
|
|
276
|
+
if (!play.noWait) progress.setLogWriter(_chunkUYCZFQYQjs.openLogDestination.call(void 0, output));
|
|
275
277
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
276
278
|
try {
|
|
277
279
|
const code = await handlePlayRun(
|
|
278
|
-
|
|
280
|
+
_chunkGHT2NDL7js.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
279
281
|
input: JSON.stringify(play.input),
|
|
280
282
|
// The receipt is the only thing on stdout.
|
|
281
283
|
json: true,
|
|
@@ -308,7 +310,7 @@ async function runPlay(reference, play) {
|
|
|
308
310
|
},
|
|
309
311
|
writeStarted: (runId, status, page) => {
|
|
310
312
|
written = true;
|
|
311
|
-
|
|
313
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
312
314
|
{
|
|
313
315
|
id: runId,
|
|
314
316
|
status,
|
|
@@ -324,7 +326,7 @@ async function runPlay(reference, play) {
|
|
|
324
326
|
}
|
|
325
327
|
);
|
|
326
328
|
if (!written) {
|
|
327
|
-
|
|
329
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
328
330
|
{
|
|
329
331
|
id,
|
|
330
332
|
status: "failed",
|
|
@@ -336,11 +338,11 @@ async function runPlay(reference, play) {
|
|
|
336
338
|
return code;
|
|
337
339
|
} catch (error) {
|
|
338
340
|
if (written) throw error;
|
|
339
|
-
|
|
341
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
340
342
|
{
|
|
341
343
|
id,
|
|
342
344
|
status: "failed",
|
|
343
|
-
error:
|
|
345
|
+
error: _chunkYQKCH4R7js.errorToJsonPayload.call(void 0, error).error,
|
|
344
346
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
345
347
|
},
|
|
346
348
|
output
|
|
@@ -366,7 +368,7 @@ function registerRunCommand(program) {
|
|
|
366
368
|
try {
|
|
367
369
|
process.exitCode = await runAnything(name, options);
|
|
368
370
|
} catch (error) {
|
|
369
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
371
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkUYCZFQYQjs.ExecutionOutputError)) {
|
|
370
372
|
throw error;
|
|
371
373
|
}
|
|
372
374
|
process.exitCode = 1;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
|
|
16
|
+
require('./chunk-COGTRVWW.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.buildAsyncPlayRequestFingerprint = _chunkCFJFUVX2js.buildAsyncPlayRequestFingerprint; exports.buildAsyncPlayRunIdentity = _chunkCFJFUVX2js.buildAsyncPlayRunIdentity; exports.buildCallerPlayWorkflowId = _chunkCFJFUVX2js.buildCallerPlayWorkflowId; exports.buildPlayRunIdentity = _chunkCFJFUVX2js.buildPlayRunIdentity; exports.buildPlayWorkflowFamilyKey = _chunkCFJFUVX2js.buildPlayWorkflowFamilyKey; exports.buildPlayWorkflowId = _chunkCFJFUVX2js.buildPlayWorkflowId; exports.buildPlayWorkflowRunSuffix = _chunkCFJFUVX2js.buildPlayWorkflowRunSuffix; exports.buildRerunPlayRunIdentity = _chunkCFJFUVX2js.buildRerunPlayRunIdentity; exports.callerPlayWorkflowIdMatchesRequest = _chunkCFJFUVX2js.callerPlayWorkflowIdMatchesRequest; exports.canonicalPlayRunStartedAtMs = _chunkCFJFUVX2js.canonicalPlayRunStartedAtMs; exports.isShortPlayRunId = _chunkCFJFUVX2js.isShortPlayRunId; exports.playRunIdLookupPrefix = _chunkCFJFUVX2js.playRunIdLookupPrefix; exports.shortPlayRunId = _chunkCFJFUVX2js.shortPlayRunId;
|
|
@@ -8,8 +8,11 @@ import {
|
|
|
8
8
|
buildPlayWorkflowRunSuffix,
|
|
9
9
|
buildRerunPlayRunIdentity,
|
|
10
10
|
callerPlayWorkflowIdMatchesRequest,
|
|
11
|
-
canonicalPlayRunStartedAtMs
|
|
12
|
-
|
|
11
|
+
canonicalPlayRunStartedAtMs,
|
|
12
|
+
isShortPlayRunId,
|
|
13
|
+
playRunIdLookupPrefix,
|
|
14
|
+
shortPlayRunId
|
|
15
|
+
} from "./chunk-2MGZAI54.mjs";
|
|
13
16
|
import "./chunk-KRD6H754.mjs";
|
|
14
17
|
export {
|
|
15
18
|
buildAsyncPlayRequestFingerprint,
|
|
@@ -21,5 +24,8 @@ export {
|
|
|
21
24
|
buildPlayWorkflowRunSuffix,
|
|
22
25
|
buildRerunPlayRunIdentity,
|
|
23
26
|
callerPlayWorkflowIdMatchesRequest,
|
|
24
|
-
canonicalPlayRunStartedAtMs
|
|
27
|
+
canonicalPlayRunStartedAtMs,
|
|
28
|
+
isShortPlayRunId,
|
|
29
|
+
playRunIdLookupPrefix,
|
|
30
|
+
shortPlayRunId
|
|
25
31
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkFBAFX43Wjs = require('./chunk-FBAFX43W.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-DUBXUAAO.js');
|
|
11
|
+
require('./chunk-OVEYWO4H.js');
|
|
12
|
+
require('./chunk-4WAM6TLD.js');
|
|
13
|
+
require('./chunk-MJTVX4QK.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-YQKCH4R7.js');
|
|
16
|
+
require('./chunk-VIUUTEHY.js');
|
|
17
|
+
require('./chunk-5CYZHOKI.js');
|
|
18
|
+
require('./chunk-6VLFQZK6.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-LFQJW4S2.js');
|
|
21
|
+
require('./chunk-CFJFUVX2.js');
|
|
22
|
+
require('./chunk-UNNOZKRT.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkFBAFX43Wjs.SEARCH_TYPES; exports.appendCsv = _chunkFBAFX43Wjs.appendCsv; exports.parseTypes = _chunkFBAFX43Wjs.parseTypes; exports.pointAtDescribe = _chunkFBAFX43Wjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkFBAFX43Wjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkFBAFX43Wjs.registerSearchCommand;
|