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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
SCHEMA_LINE_LIMIT,
|
|
3
3
|
fieldBlockLines,
|
|
4
4
|
schemaFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XFZX6FNM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
csvSafeJsonString,
|
|
8
8
|
csvStringFromRows,
|
|
9
9
|
formatCliFailureDiagnostic,
|
|
10
10
|
markJsonOutputHandled,
|
|
11
11
|
writeRawStderr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
16
16
|
command.option(
|
|
17
17
|
"--prebuilt",
|
|
18
|
-
"Show the Deepline tool or play, not a play your
|
|
18
|
+
"Show the Deepline tool or play, not a play your org created under the same name"
|
|
19
19
|
).option("--tool", "Same as --prebuilt").option(
|
|
20
20
|
"--verbose",
|
|
21
21
|
"Show secondary fields, and fill in every input and read every output in the examples"
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-52Q5KETX.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -80,7 +80,7 @@ async function handleStatus(options) {
|
|
|
80
80
|
(row) => row.installationId !== installation?.installationId
|
|
81
81
|
);
|
|
82
82
|
const lines = installation ? describeInstallationStatus(installation) : [
|
|
83
|
-
"No GitHub installation is connected to this
|
|
83
|
+
"No GitHub installation is connected to this org. Run `deepline git connect`."
|
|
84
84
|
];
|
|
85
85
|
for (const other of others) {
|
|
86
86
|
lines.push(
|
|
@@ -181,7 +181,7 @@ async function resolveRepoId(repo, installation) {
|
|
|
181
181
|
);
|
|
182
182
|
if (!match) {
|
|
183
183
|
throw new Error(
|
|
184
|
-
`Repo "${repo}" is not accessible to the
|
|
184
|
+
`Repo "${repo}" is not accessible to the org's GitHub installation. Run \`deepline git repos\` to list what is.`
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
187
|
return match.repoId;
|
|
@@ -210,7 +210,7 @@ async function handleLink(repo, options) {
|
|
|
210
210
|
(warning) => `WARNING: ${warning}`
|
|
211
211
|
),
|
|
212
212
|
"Pushes to the production branch now register and promote changed plays.",
|
|
213
|
-
"Anyone who can push to this repo can change what runs in this
|
|
213
|
+
"Anyone who can push to this repo can change what runs in this org."
|
|
214
214
|
]
|
|
215
215
|
}
|
|
216
216
|
]
|
|
@@ -298,9 +298,9 @@ async function handleConnect(options) {
|
|
|
298
298
|
{
|
|
299
299
|
title: "connect GitHub",
|
|
300
300
|
lines: [
|
|
301
|
-
"Git deploys is in beta and requires
|
|
301
|
+
"Git deploys is in beta and requires org enablement. Contact the Deepline team to request enablement if interested.",
|
|
302
302
|
opened === "opened" ? `Opened ${connectUrl} in your browser.` : `Open ${connectUrl} in your browser.`,
|
|
303
|
-
"Sign in as
|
|
303
|
+
"Sign in as an org admin if prompted, approve the GitHub",
|
|
304
304
|
"installation, then return here and run `deepline git repos`."
|
|
305
305
|
]
|
|
306
306
|
}
|
|
@@ -414,8 +414,8 @@ function registerGitCommands(program) {
|
|
|
414
414
|
).addHelpText(
|
|
415
415
|
"after",
|
|
416
416
|
`
|
|
417
|
-
Git deploys is in beta and requires
|
|
418
|
-
If it is not enabled for your
|
|
417
|
+
Git deploys is in beta and requires org enablement.
|
|
418
|
+
If it is not enabled for your org, contact the Deepline team to request
|
|
419
419
|
enablement.
|
|
420
420
|
|
|
421
421
|
Examples:
|
|
@@ -437,9 +437,9 @@ Guide: https://deepline.com/docs/sdk-v2/git-deploys
|
|
|
437
437
|
);
|
|
438
438
|
git.command("connect").description("Connect a GitHub installation (browser step).").option("--json", "Emit JSON output").action(async (options) => handleConnect(options));
|
|
439
439
|
git.command("status").description(
|
|
440
|
-
"Show the
|
|
440
|
+
"Show the org's GitHub installation and whether it is still usable."
|
|
441
441
|
).option("--json", "Emit JSON output").action(async (options) => handleStatus(options));
|
|
442
|
-
git.command("repos").description("List repos the
|
|
442
|
+
git.command("repos").description("List repos the org's GitHub installation can reach.").option(
|
|
443
443
|
"--installation <id>",
|
|
444
444
|
"GitHub installation id (required when several are connected)"
|
|
445
445
|
).option("--json", "Emit JSON output").action(
|
|
@@ -448,7 +448,7 @@ Guide: https://deepline.com/docs/sdk-v2/git-deploys
|
|
|
448
448
|
git.command("list").description("List linked repositories.").option("--all", "Include unlinked repositories").option("--json", "Emit JSON output").action(
|
|
449
449
|
async (options) => handleList(options)
|
|
450
450
|
);
|
|
451
|
-
git.command("link").description("Link a repository to this
|
|
451
|
+
git.command("link").description("Link a repository to this org for deploy-on-push.").argument("<repo>", "Repo full name (owner/name) or numeric repo id").option("--root-dir <path>", "Base path inside the repo for this link").option("--branch <name>", "Production branch (default: repo default)").option(
|
|
452
452
|
"--manifest <file>",
|
|
453
453
|
"Manifest file name under the base path (default: deepline.json)"
|
|
454
454
|
).option(
|
|
@@ -6,6 +6,9 @@ var TOOL_EXECUTION_ERROR_BRAND = Symbol.for(
|
|
|
6
6
|
var PROVIDER_TRANSIENT_ERROR_BRAND = Symbol.for(
|
|
7
7
|
"deepline.provider-transient-error.v1"
|
|
8
8
|
);
|
|
9
|
+
var PROVIDER_REJECTED_ERROR_BRAND = Symbol.for(
|
|
10
|
+
"deepline.provider-rejected-error.v1"
|
|
11
|
+
);
|
|
9
12
|
var LEGACY_TOOL_EXECUTION_ERROR_SCHEMA_VERSION = 0;
|
|
10
13
|
var TOOL_EXECUTION_ERROR_SCHEMA_VERSION = 1;
|
|
11
14
|
var SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS = [
|
|
@@ -135,6 +138,9 @@ var ToolExecutionError = class _ToolExecutionError extends DeeplineError {
|
|
|
135
138
|
if (isProviderTransientFailure(options)) {
|
|
136
139
|
applyBrand(this, PROVIDER_TRANSIENT_ERROR_BRAND);
|
|
137
140
|
}
|
|
141
|
+
if (isProviderRejectionFailure(options)) {
|
|
142
|
+
applyBrand(this, PROVIDER_REJECTED_ERROR_BRAND);
|
|
143
|
+
}
|
|
138
144
|
}
|
|
139
145
|
static [Symbol.hasInstance](value) {
|
|
140
146
|
if (this !== _ToolExecutionError) return nativeInstanceOf(this, value);
|
|
@@ -147,6 +153,14 @@ function brandAsToolExecutionError(value) {
|
|
|
147
153
|
function isProviderTransientFailure(input) {
|
|
148
154
|
return input.origin === "provider" && (input.category === "rate_limit" || input.category === "network" || input.category === "upstream");
|
|
149
155
|
}
|
|
156
|
+
var PROVIDER_REJECTION_CODES = [
|
|
157
|
+
"UPSTREAM_BAD_INPUT",
|
|
158
|
+
"UPSTREAM_NOT_FOUND"
|
|
159
|
+
];
|
|
160
|
+
function isProviderRejectionFailure(input) {
|
|
161
|
+
const code = _nullishCoalesce(input.code, () => ( ""));
|
|
162
|
+
return isProviderTransientFailure(input) && input.category === "upstream" && PROVIDER_REJECTION_CODES.includes(code);
|
|
163
|
+
}
|
|
150
164
|
var ProviderTransientError = (_class = class _ProviderTransientError extends ToolExecutionError {
|
|
151
165
|
/** Provider attribution is guaranteed for this subtype. */
|
|
152
166
|
__init() {this.origin = "provider"}
|
|
@@ -166,6 +180,26 @@ var ProviderTransientError = (_class = class _ProviderTransientError extends Too
|
|
|
166
180
|
return hasBrand(value, PROVIDER_TRANSIENT_ERROR_BRAND);
|
|
167
181
|
}
|
|
168
182
|
}, _class);
|
|
183
|
+
var ProviderRejectedError = class _ProviderRejectedError extends ProviderTransientError {
|
|
184
|
+
/** Constructed by Deepline when a provider rejects the request. */
|
|
185
|
+
constructor(message, options) {
|
|
186
|
+
super(message, { ...options, category: "upstream" });
|
|
187
|
+
this.name = "ProviderRejectedError";
|
|
188
|
+
applyBrand(this, PROVIDER_REJECTED_ERROR_BRAND);
|
|
189
|
+
}
|
|
190
|
+
static [Symbol.hasInstance](value) {
|
|
191
|
+
if (this !== _ProviderRejectedError) return nativeInstanceOf(this, value);
|
|
192
|
+
if (hasBrand(value, PROVIDER_REJECTED_ERROR_BRAND)) return true;
|
|
193
|
+
if (!hasBrand(value, TOOL_EXECUTION_ERROR_BRAND)) return false;
|
|
194
|
+
const fields = value;
|
|
195
|
+
return isProviderRejectionFailure({
|
|
196
|
+
origin: fields.origin,
|
|
197
|
+
category: fields.category,
|
|
198
|
+
retryable: fields.retryable === true,
|
|
199
|
+
code: typeof fields.code === "string" ? fields.code : null
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
};
|
|
169
203
|
function getProviderUnavailableReason(error) {
|
|
170
204
|
if (error instanceof ProviderTransientError) return error.category;
|
|
171
205
|
if (error instanceof ToolExecutionError && error.origin === "deepline" && error.category === "rate_limit") {
|
|
@@ -345,6 +379,12 @@ function deserializeToolExecutionFailure(message, value, acceptedSchemaVersion)
|
|
|
345
379
|
}
|
|
346
380
|
const failure = normalizeToolExecutionFailure(value);
|
|
347
381
|
if (!failure) return null;
|
|
382
|
+
if (isProviderRejectionFailure(failure)) {
|
|
383
|
+
return new ProviderRejectedError(message, {
|
|
384
|
+
...failure,
|
|
385
|
+
code: failure.code
|
|
386
|
+
});
|
|
387
|
+
}
|
|
348
388
|
if (isProviderTransientFailure(failure)) {
|
|
349
389
|
return new ProviderTransientError(message, failure);
|
|
350
390
|
}
|
|
@@ -369,4 +409,5 @@ function deserializeToolExecutionFailure(message, value, acceptedSchemaVersion)
|
|
|
369
409
|
|
|
370
410
|
|
|
371
411
|
|
|
372
|
-
|
|
412
|
+
|
|
413
|
+
exports.TOOL_EXECUTION_ERROR_SCHEMA_VERSION = TOOL_EXECUTION_ERROR_SCHEMA_VERSION; exports.SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS = SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS; exports.TOOL_EXECUTION_ERROR_SCHEMA_HEADER = TOOL_EXECUTION_ERROR_SCHEMA_HEADER; exports.readToolUpstreamResponse = readToolUpstreamResponse; exports.attachToolUpstreamResponse = attachToolUpstreamResponse; exports.DeeplineError = DeeplineError; exports.ToolExecutionError = ToolExecutionError; exports.brandAsToolExecutionError = brandAsToolExecutionError; exports.isProviderTransientFailure = isProviderTransientFailure; exports.ProviderTransientError = ProviderTransientError; exports.ProviderRejectedError = ProviderRejectedError; exports.getProviderUnavailableReason = getProviderUnavailableReason; exports.isProviderUnavailable = isProviderUnavailable; exports.isProviderWaterfallUnavailableError = isProviderWaterfallUnavailableError; exports.brandAsProviderTransientError = brandAsProviderTransientError; exports.normalizeToolExecutionFailure = normalizeToolExecutionFailure; exports.serializeToolExecutionFailure = serializeToolExecutionFailure; exports.deserializeToolExecutionFailure = deserializeToolExecutionFailure;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkBVXIGOBZjs = require('./chunk-BVXIGOBZ.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
@@ -61,6 +62,7 @@ function schemaType(schema) {
|
|
|
61
62
|
type: schema.enum.map((value) => JSON.stringify(value)).join(" | ")
|
|
62
63
|
};
|
|
63
64
|
}
|
|
65
|
+
if (schema.const !== void 0) return { type: JSON.stringify(schema.const) };
|
|
64
66
|
const alternatives = [schema.anyOf, schema.oneOf].find(Array.isArray);
|
|
65
67
|
if (alternatives) {
|
|
66
68
|
const parts = alternatives.map((option) => schemaType(isRecord(option) ? option : {})).sort((a, b) => Number(a.type === "null") - Number(b.type === "null"));
|
|
@@ -589,24 +591,25 @@ function examples(described, options) {
|
|
|
589
591
|
const required = described.inputs.filter((field) => field.required);
|
|
590
592
|
const shown = options.verbose ? described.inputs : required.length ? required : described.inputs.slice(0, 1);
|
|
591
593
|
const inputSchema = runner.inputSchema;
|
|
592
|
-
let
|
|
594
|
+
let inputValue;
|
|
593
595
|
try {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
])
|
|
604
|
-
)
|
|
596
|
+
inputValue = Object.fromEntries(
|
|
597
|
+
shown.map((field) => [
|
|
598
|
+
field.name,
|
|
599
|
+
exampleValue(
|
|
600
|
+
field,
|
|
601
|
+
propertySchema(inputSchema, field.name),
|
|
602
|
+
inputSchema
|
|
603
|
+
)
|
|
604
|
+
])
|
|
605
605
|
);
|
|
606
606
|
} catch (error) {
|
|
607
607
|
if (!(error instanceof InputFileExampleRequired)) throw error;
|
|
608
608
|
}
|
|
609
|
-
const
|
|
609
|
+
const input = inputValue && JSON.stringify(inputValue);
|
|
610
|
+
const jsonInput = input === void 0 ? void 0 : _chunkBVXIGOBZjs.exampleJsonInput.call(void 0, input, options.platform);
|
|
611
|
+
const inputArgument = _nullishCoalesce(_optionalChain([jsonInput, 'optionalAccess', _13 => _13.argument]), () => ( "--input-file input.json"));
|
|
612
|
+
const inputFile = _optionalChain([jsonInput, 'optionalAccess', _14 => _14.file]) ? { inputFile: jsonInput.file } : {};
|
|
610
613
|
const inputExpression = _nullishCoalesce(input, () => ( "input"));
|
|
611
614
|
const read = options.verbose ? described.outputs : described.outputs.filter((field) => !field.secondary).slice(0, 1);
|
|
612
615
|
const reads = (expression) => read.flatMap((field) => {
|
|
@@ -628,6 +631,8 @@ function examples(described, options) {
|
|
|
628
631
|
const readNames = returnedNames((field) => field.read);
|
|
629
632
|
return {
|
|
630
633
|
cli: `deepline run ${runner.toolId} ${inputArgument}`,
|
|
634
|
+
...inputValue ? { input: inputValue } : {},
|
|
635
|
+
...inputFile,
|
|
631
636
|
play: playFunction(
|
|
632
637
|
[
|
|
633
638
|
"const result = await deepline.tools.execute({",
|
|
@@ -645,6 +650,8 @@ function examples(described, options) {
|
|
|
645
650
|
}
|
|
646
651
|
return {
|
|
647
652
|
cli: `deepline run ${runner.reference} ${inputArgument}`,
|
|
653
|
+
...inputValue ? { input: inputValue } : {},
|
|
654
|
+
...inputFile,
|
|
648
655
|
play: playFunction(
|
|
649
656
|
[
|
|
650
657
|
`const output = await deepline.runPlay('${safeIdentifier(runner.reference.replace(/^.*\//, ""))}', '${runner.reference}', ${inputExpression});`,
|
|
@@ -672,14 +679,14 @@ function discoveryAuthLines(auth) {
|
|
|
672
679
|
return auth.modes.flatMap((mode) => [
|
|
673
680
|
`Access \u2014 ${mode.kind.replaceAll("_", " ")}: ${mode.status.replaceAll("_", " ")}`,
|
|
674
681
|
...(_nullishCoalesce(mode.connections, () => ( []))).map(
|
|
675
|
-
({ name, verifiedScopes }) => ` ${name}${_optionalChain([verifiedScopes, 'optionalAccess',
|
|
682
|
+
({ name, verifiedScopes }) => ` ${name}${_optionalChain([verifiedScopes, 'optionalAccess', _15 => _15.length]) ? ` (verified: ${verifiedScopes.join(", ")})` : ""}`
|
|
676
683
|
),
|
|
677
|
-
..._optionalChain([mode, 'access',
|
|
684
|
+
..._optionalChain([mode, 'access', _16 => _16.requiredScopes, 'optionalAccess', _17 => _17.length]) ? [` Required scopes: ${mode.requiredScopes.join(", ")}`] : [],
|
|
678
685
|
...mode.setupPath && mode.status !== "available" ? [` Setup: ${mode.setupPath}`] : []
|
|
679
686
|
]);
|
|
680
687
|
}
|
|
681
688
|
function describedLines(described, view) {
|
|
682
|
-
const { cli, play } = examples(described, view);
|
|
689
|
+
const { cli, play, inputFile } = examples(described, view);
|
|
683
690
|
const explanation = EXPLANATIONS[described.runner.via];
|
|
684
691
|
const indented = (text) => text.split("\n").map((line) => ` ${line}`);
|
|
685
692
|
const section = (lines) => lines.length ? ["", ...lines] : [];
|
|
@@ -690,9 +697,9 @@ function describedLines(described, view) {
|
|
|
690
697
|
...described.cost ? [`Cost: ${described.cost}`] : [],
|
|
691
698
|
...described.guidance.map((line) => `Guidance: ${line}`),
|
|
692
699
|
...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
|
|
693
|
-
..._optionalChain([described, 'access',
|
|
700
|
+
..._optionalChain([described, 'access', _18 => _18.toolUsage, 'optionalAccess', _19 => _19.effect]) ? [`Effect: ${described.toolUsage.effect}`] : [],
|
|
694
701
|
...described.auth ? discoveryAuthLines(described.auth) : [],
|
|
695
|
-
...!described.auth && described.credentialStatus === "requires_connection" ? ["Connection: Provider credentials are missing in this
|
|
702
|
+
...!described.auth && described.credentialStatus === "requires_connection" ? ["Connection: Provider credentials are missing in this org."] : [],
|
|
696
703
|
...described.byok ? byokLines(described.byok) : [],
|
|
697
704
|
...described.connectCommand ? [`Get a shareable link: ${described.connectCommand}`] : [],
|
|
698
705
|
...featureLines(described.id, _nullishCoalesce(described.features, () => ( []))),
|
|
@@ -709,6 +716,7 @@ function describedLines(described, view) {
|
|
|
709
716
|
...section(
|
|
710
717
|
view.cli ? [
|
|
711
718
|
"Run from the CLI:",
|
|
719
|
+
...inputFile ? indented(_chunkBVXIGOBZjs.exampleInputFileLine.call(void 0, inputFile)) : [],
|
|
712
720
|
...indented(cli),
|
|
713
721
|
...view.explain ? indented(explanation.cli) : []
|
|
714
722
|
] : []
|
|
@@ -738,15 +746,15 @@ function jsonFields(fields, options) {
|
|
|
738
746
|
return [
|
|
739
747
|
field.name,
|
|
740
748
|
{
|
|
741
|
-
type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess',
|
|
749
|
+
type: field.type.replace(SHAPE, _nullishCoalesce(_optionalChain([shape, 'optionalAccess', _20 => _20.name]), () => ( "object"))),
|
|
742
750
|
...options.input ? { required: field.required } : {},
|
|
743
751
|
...field.means ? { means: field.means } : {},
|
|
744
752
|
...field.example !== void 0 ? { example: field.example } : {},
|
|
745
|
-
...field.description && field.description !== _optionalChain([shape, 'optionalAccess',
|
|
753
|
+
...field.description && field.description !== _optionalChain([shape, 'optionalAccess', _21 => _21.description]) ? { description: field.description } : {},
|
|
746
754
|
...field.secondary ? { secondary: true } : {},
|
|
747
755
|
...field.read ? { read: field.read } : {},
|
|
748
756
|
...field.in ? { in: field.in } : {},
|
|
749
|
-
..._optionalChain([field, 'access',
|
|
757
|
+
..._optionalChain([field, 'access', _22 => _22.paths, 'optionalAccess', _23 => _23.length]) ? { paths: field.paths } : {},
|
|
750
758
|
...field.fields && !shape ? { fields: jsonFields(field.fields, options) } : {}
|
|
751
759
|
}
|
|
752
760
|
];
|
|
@@ -761,17 +769,17 @@ function describedJson(described, view) {
|
|
|
761
769
|
["rowOutputs", described.rowOutputs, false]
|
|
762
770
|
];
|
|
763
771
|
const hidden = view.secondary ? [] : sections.flatMap(
|
|
764
|
-
([, fields,
|
|
772
|
+
([, fields, input2]) => (_nullishCoalesce(fields, () => ( []))).filter((field) => field.secondary && !(input2 && field.required)).map((field) => field.name)
|
|
765
773
|
);
|
|
766
774
|
const shapes = namedShapes(sections.flatMap(([, fields]) => _nullishCoalesce(fields, () => ( []))));
|
|
767
775
|
const used = /* @__PURE__ */ new Set();
|
|
768
776
|
const blocks = Object.fromEntries(
|
|
769
777
|
sections.flatMap(
|
|
770
|
-
([key, fields,
|
|
778
|
+
([key, fields, input2]) => _optionalChain([fields, 'optionalAccess', _24 => _24.length]) ? [
|
|
771
779
|
[
|
|
772
780
|
key,
|
|
773
781
|
jsonFields(fields, {
|
|
774
|
-
input,
|
|
782
|
+
input: input2,
|
|
775
783
|
secondary: view.secondary,
|
|
776
784
|
shapes,
|
|
777
785
|
used
|
|
@@ -792,7 +800,9 @@ function describedJson(described, view) {
|
|
|
792
800
|
})
|
|
793
801
|
};
|
|
794
802
|
}
|
|
795
|
-
const { cli, play } = examples(described, {
|
|
803
|
+
const { cli, play, input, inputFile } = examples(described, {
|
|
804
|
+
verbose: view.verbose
|
|
805
|
+
});
|
|
796
806
|
return {
|
|
797
807
|
kind: described.kind,
|
|
798
808
|
id: described.id,
|
|
@@ -808,12 +818,20 @@ function describedJson(described, view) {
|
|
|
808
818
|
...described.connectCommand ? { connectCommand: described.connectCommand } : {},
|
|
809
819
|
...described.auth ? { auth: described.auth } : {},
|
|
810
820
|
...described.toolUsage ? { toolUsage: described.toolUsage } : {},
|
|
811
|
-
..._optionalChain([described, 'access',
|
|
821
|
+
..._optionalChain([described, 'access', _25 => _25.features, 'optionalAccess', _26 => _26.length]) ? { features: described.features } : {},
|
|
812
822
|
...described.guidance.length ? { guidance: described.guidance } : {},
|
|
813
823
|
...blocks,
|
|
824
|
+
// The input that takes the CSV whose columns are rowInputs.
|
|
825
|
+
...described.csvInput ? { csvInput: described.csvInput } : {},
|
|
814
826
|
...used.size ? { types } : {},
|
|
815
827
|
...described.exclusive ? { exclusive: described.exclusive } : {},
|
|
816
|
-
run: {
|
|
828
|
+
run: {
|
|
829
|
+
cli,
|
|
830
|
+
...play ? { play } : {},
|
|
831
|
+
...input ? { input } : {},
|
|
832
|
+
// On Windows `cli` reads `input` from this file instead of inline.
|
|
833
|
+
...inputFile ? { inputFile: inputFile.path } : {}
|
|
834
|
+
},
|
|
817
835
|
...described.source ? { source: described.source } : {},
|
|
818
836
|
...hidden.length ? { hidden } : {}
|
|
819
837
|
};
|
|
@@ -876,7 +894,7 @@ function describedPlay(play) {
|
|
|
876
894
|
...starter ? { source: starter.command } : {},
|
|
877
895
|
...exclusive ? { exclusive } : {},
|
|
878
896
|
// A prebuilt's cost is what its recent runs were charged; there is no rate.
|
|
879
|
-
..._optionalChain([play, 'access',
|
|
897
|
+
..._optionalChain([play, 'access', _27 => _27.observedCost, 'optionalAccess', _28 => _28.displayText]) ? { cost: play.observedCost.displayText } : {}
|
|
880
898
|
};
|
|
881
899
|
}
|
|
882
900
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
|
|
|
32
32
|
return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
|
|
33
33
|
}
|
|
34
34
|
async function handleList(options) {
|
|
35
|
-
const { http } =
|
|
35
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
36
36
|
const payload = await http.get(
|
|
37
37
|
`/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
40
40
|
{
|
|
41
41
|
projects: payload.projects,
|
|
42
42
|
count: payload.projects.length,
|
|
@@ -73,14 +73,14 @@ function describeInstallationStatus(installation) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function handleStatus(options) {
|
|
76
|
-
const { http } =
|
|
76
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
77
77
|
const payload = await http.get("/api/v2/github/installation");
|
|
78
78
|
const installation = payload.installation;
|
|
79
79
|
const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
|
|
80
80
|
(row) => row.installationId !== _optionalChain([installation, 'optionalAccess', _7 => _7.installationId])
|
|
81
81
|
);
|
|
82
82
|
const lines = installation ? describeInstallationStatus(installation) : [
|
|
83
|
-
"No GitHub installation is connected to this
|
|
83
|
+
"No GitHub installation is connected to this org. Run `deepline git connect`."
|
|
84
84
|
];
|
|
85
85
|
for (const other of others) {
|
|
86
86
|
lines.push(
|
|
@@ -136,7 +136,7 @@ async function handleStatus(options) {
|
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
140
140
|
{
|
|
141
141
|
installation,
|
|
142
142
|
installations: _nullishCoalesce(payload.installations, () => ( [])),
|
|
@@ -147,10 +147,10 @@ async function handleStatus(options) {
|
|
|
147
147
|
);
|
|
148
148
|
}
|
|
149
149
|
async function handleRepos(options) {
|
|
150
|
-
const { http } =
|
|
150
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
151
151
|
const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
|
|
152
152
|
const payload = await http.get(`/api/v2/github/repos${query}`);
|
|
153
|
-
|
|
153
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
154
154
|
{
|
|
155
155
|
installation: payload.installation,
|
|
156
156
|
repositories: payload.repositories,
|
|
@@ -171,7 +171,7 @@ async function handleRepos(options) {
|
|
|
171
171
|
}
|
|
172
172
|
async function resolveRepoId(repo, installation) {
|
|
173
173
|
if (/^\d+$/.test(repo)) return Number(repo);
|
|
174
|
-
const { http } =
|
|
174
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
175
175
|
const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
|
|
176
176
|
const payload = await http.get(
|
|
177
177
|
`/api/v2/github/repos${query}`
|
|
@@ -181,14 +181,14 @@ async function resolveRepoId(repo, installation) {
|
|
|
181
181
|
);
|
|
182
182
|
if (!match) {
|
|
183
183
|
throw new Error(
|
|
184
|
-
`Repo "${repo}" is not accessible to the
|
|
184
|
+
`Repo "${repo}" is not accessible to the org's GitHub installation. Run \`deepline git repos\` to list what is.`
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
187
|
return match.repoId;
|
|
188
188
|
}
|
|
189
189
|
async function handleLink(repo, options) {
|
|
190
190
|
const repoId = await resolveRepoId(repo, options.installation);
|
|
191
|
-
const { http } =
|
|
191
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
192
192
|
const payload = await http.post("/api/v2/play-projects", {
|
|
193
193
|
repoId,
|
|
194
194
|
...options.installation !== void 0 ? { installationId: options.installation } : {},
|
|
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
|
|
|
197
197
|
...options.branch !== void 0 ? { productionBranch: options.branch } : {},
|
|
198
198
|
...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
|
|
199
199
|
});
|
|
200
|
-
|
|
200
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
201
201
|
{
|
|
202
202
|
project: payload.project,
|
|
203
203
|
render: {
|
|
@@ -210,7 +210,7 @@ async function handleLink(repo, options) {
|
|
|
210
210
|
(warning) => `WARNING: ${warning}`
|
|
211
211
|
),
|
|
212
212
|
"Pushes to the production branch now register and promote changed plays.",
|
|
213
|
-
"Anyone who can push to this repo can change what runs in this
|
|
213
|
+
"Anyone who can push to this repo can change what runs in this org."
|
|
214
214
|
]
|
|
215
215
|
}
|
|
216
216
|
]
|
|
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
|
|
|
220
220
|
);
|
|
221
221
|
}
|
|
222
222
|
async function handleGet(id, options) {
|
|
223
|
-
const { http } =
|
|
223
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
228
228
|
{
|
|
229
229
|
project: payload.project,
|
|
230
230
|
render: {
|
|
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
|
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
async function handleSet(id, options) {
|
|
243
|
-
const { http } =
|
|
243
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
244
244
|
const payload = await http.patch(
|
|
245
245
|
`/api/v2/play-projects/${encodeURIComponent(id)}`,
|
|
246
246
|
{
|
|
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
|
|
|
251
251
|
...options.disabled !== void 0 ? { disabled: options.disabled } : {}
|
|
252
252
|
}
|
|
253
253
|
);
|
|
254
|
-
|
|
254
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
project: payload.project,
|
|
257
257
|
render: {
|
|
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
async function handleUnlink(id, options) {
|
|
267
|
-
const { http } =
|
|
267
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
270
270
|
{
|
|
271
271
|
ok: true,
|
|
272
272
|
id,
|
|
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
|
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
async function handleConnect(options) {
|
|
289
|
-
const baseUrl =
|
|
289
|
+
const baseUrl = _chunkVIUUTEHYjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkYQKCH4R7js.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
connectUrl,
|
|
295
295
|
browser: opened,
|
|
@@ -298,9 +298,9 @@ async function handleConnect(options) {
|
|
|
298
298
|
{
|
|
299
299
|
title: "connect GitHub",
|
|
300
300
|
lines: [
|
|
301
|
-
"Git deploys is in beta and requires
|
|
301
|
+
"Git deploys is in beta and requires org enablement. Contact the Deepline team to request enablement if interested.",
|
|
302
302
|
opened === "opened" ? `Opened ${connectUrl} in your browser.` : `Open ${connectUrl} in your browser.`,
|
|
303
|
-
"Sign in as
|
|
303
|
+
"Sign in as an org admin if prompted, approve the GitHub",
|
|
304
304
|
"installation, then return here and run `deepline git repos`."
|
|
305
305
|
]
|
|
306
306
|
}
|
|
@@ -311,7 +311,7 @@ async function handleConnect(options) {
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
async function handleDeploymentsList(options) {
|
|
314
|
-
const { http } =
|
|
314
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
315
315
|
const query = new URLSearchParams();
|
|
316
316
|
if (options.repo) query.set("projectId", options.repo);
|
|
317
317
|
if (options.limit) query.set("limit", options.limit);
|
|
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
|
|
|
319
319
|
const payload = await http.get(
|
|
320
320
|
`/api/v2/deployments${suffix}`
|
|
321
321
|
);
|
|
322
|
-
|
|
322
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
323
323
|
{
|
|
324
324
|
deployments: payload.deployments,
|
|
325
325
|
count: payload.deployments.length,
|
|
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
|
|
|
363
363
|
]);
|
|
364
364
|
}
|
|
365
365
|
async function handleDeploymentGet(id, options) {
|
|
366
|
-
const { http } =
|
|
366
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
367
367
|
const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
|
|
368
368
|
const playLines = renderDeploymentPlayLines(payload.deployment.results);
|
|
369
369
|
const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
|
|
370
370
|
const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
|
|
371
|
-
|
|
371
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
372
372
|
{
|
|
373
373
|
deployment: payload.deployment,
|
|
374
374
|
project: payload.project,
|
|
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
|
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
async function handleDeploymentCancel(id, options) {
|
|
390
|
-
const { http } =
|
|
390
|
+
const { http } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|
|
@@ -414,8 +414,8 @@ function registerGitCommands(program) {
|
|
|
414
414
|
).addHelpText(
|
|
415
415
|
"after",
|
|
416
416
|
`
|
|
417
|
-
Git deploys is in beta and requires
|
|
418
|
-
If it is not enabled for your
|
|
417
|
+
Git deploys is in beta and requires org enablement.
|
|
418
|
+
If it is not enabled for your org, contact the Deepline team to request
|
|
419
419
|
enablement.
|
|
420
420
|
|
|
421
421
|
Examples:
|
|
@@ -437,9 +437,9 @@ Guide: https://deepline.com/docs/sdk-v2/git-deploys
|
|
|
437
437
|
);
|
|
438
438
|
git.command("connect").description("Connect a GitHub installation (browser step).").option("--json", "Emit JSON output").action(async (options) => handleConnect(options));
|
|
439
439
|
git.command("status").description(
|
|
440
|
-
"Show the
|
|
440
|
+
"Show the org's GitHub installation and whether it is still usable."
|
|
441
441
|
).option("--json", "Emit JSON output").action(async (options) => handleStatus(options));
|
|
442
|
-
git.command("repos").description("List repos the
|
|
442
|
+
git.command("repos").description("List repos the org's GitHub installation can reach.").option(
|
|
443
443
|
"--installation <id>",
|
|
444
444
|
"GitHub installation id (required when several are connected)"
|
|
445
445
|
).option("--json", "Emit JSON output").action(
|
|
@@ -448,7 +448,7 @@ Guide: https://deepline.com/docs/sdk-v2/git-deploys
|
|
|
448
448
|
git.command("list").description("List linked repositories.").option("--all", "Include unlinked repositories").option("--json", "Emit JSON output").action(
|
|
449
449
|
async (options) => handleList(options)
|
|
450
450
|
);
|
|
451
|
-
git.command("link").description("Link a repository to this
|
|
451
|
+
git.command("link").description("Link a repository to this org for deploy-on-push.").argument("<repo>", "Repo full name (owner/name) or numeric repo id").option("--root-dir <path>", "Base path inside the repo for this link").option("--branch <name>", "Production branch (default: repo default)").option(
|
|
452
452
|
"--manifest <file>",
|
|
453
453
|
"Manifest file name under the base path (default: deepline.json)"
|
|
454
454
|
).option(
|