deepline 0.3.535 → 0.3.537
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 +232 -147
- package/dist/bundling-sources/sdk/src/index.ts +4 -0
- package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -23
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
- package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
- package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
- package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +22 -4
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +88 -96
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
- package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +127 -9
- package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
- package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +8 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +84 -49
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -32
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
- package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
- package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
- package/dist/cli/{auth-ZCTMB5RA.mjs → auth-4SUPGDIM.mjs} +7 -7
- package/dist/cli/auth-Y2K2ZYYA.js +43 -0
- package/dist/cli/{billing-OU2ZHL72.mjs → billing-5JUA3ZM3.mjs} +185 -24
- package/dist/cli/{billing-GVFKZQH3.js → billing-SQU726P7.js} +273 -112
- package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
- package/dist/cli/{chunk-ZUVE63Y7.js → chunk-2Q7VXTMS.js} +2 -2
- package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-37AZHCTP.mjs} +5 -5
- package/dist/cli/{chunk-D4MHCCIR.js → chunk-3PMCQ3LK.js} +33 -33
- package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
- package/dist/cli/{chunk-PI5R65OQ.js → chunk-5EOEJKSV.js} +1 -1
- package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
- package/dist/cli/{chunk-OM732MGV.js → chunk-ALHKB3AE.js} +17 -17
- package/dist/cli/{chunk-6LHX33VN.js → chunk-AVQET3NR.js} +9 -6
- package/dist/cli/{chunk-W6T23EUC.mjs → chunk-AX2OAXDL.mjs} +1 -1
- package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
- package/dist/cli/{chunk-G2DLG32W.mjs → chunk-BFHR7IC2.mjs} +40 -27
- package/dist/cli/{chunk-KWGXHPHL.js → chunk-BGXEMTIG.js} +523 -59
- package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-BRRCWUOW.mjs} +1 -1
- package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-C37VELBR.mjs} +7 -9
- package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-C3XD2WHM.mjs} +2 -2
- package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
- package/dist/cli/{chunk-CIDATNTY.js → chunk-CFND2ACL.js} +16 -16
- package/dist/cli/{chunk-J75DANZY.mjs → chunk-CGDW2CRR.mjs} +2 -2
- package/dist/cli/{chunk-RFQWSH6I.js → chunk-CHIGEDAE.js} +3 -3
- package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
- package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
- package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
- package/dist/cli/{chunk-4NLRWKZB.js → chunk-D77W6Q67.js} +26 -26
- package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-EEFSUCYP.mjs} +475 -11
- package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
- package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-GI3V4D7K.mjs} +2 -2
- package/dist/cli/{chunk-DFJODFMC.mjs → chunk-GPMS6OPX.mjs} +5 -5
- package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
- package/dist/cli/{chunk-DAPKLYST.js → chunk-IQOIT6E3.js} +41 -41
- package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
- package/dist/cli/{chunk-FGN75ZN6.js → chunk-JMHYDDBQ.js} +390 -382
- package/dist/cli/{chunk-KA6ZERJL.js → chunk-JS2SBCWD.js} +6 -6
- package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-K4WJ4BYO.mjs} +2 -2
- package/dist/cli/{chunk-LVISZFYO.mjs → chunk-KH27B2HJ.mjs} +2 -2
- package/dist/cli/{chunk-UUQ2OXMH.js → chunk-KULT6O5K.js} +18 -20
- package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-L3JVGNAT.mjs} +4 -4
- package/dist/cli/{chunk-HYBZWSSH.js → chunk-L6QAIZNZ.js} +44 -44
- package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-NU7B5X6J.mjs} +4 -1
- package/dist/cli/{chunk-7PXP2FQK.js → chunk-NXGLJGPB.js} +2 -2
- package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
- package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
- package/dist/cli/{chunk-2D6SWQTK.js → chunk-PJ4ZGZAN.js} +13 -13
- package/dist/cli/{chunk-HWPOXCCK.js → chunk-PU42VOBI.js} +8 -8
- package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-QDBGPRR2.mjs} +3 -3
- package/dist/cli/{chunk-KOZBZPRM.js → chunk-QPDLG7DQ.js} +55 -55
- package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-R7JYG6XO.mjs} +1 -1
- package/dist/cli/{chunk-K76AEBFY.mjs → chunk-RMVZTBI5.mjs} +4 -4
- package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
- package/dist/cli/{chunk-WNNA4L6Z.js → chunk-UGA5KI4A.js} +22 -22
- package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
- package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-V5IIBG2E.mjs} +1 -1
- package/dist/cli/{chunk-BF65LB7X.mjs → chunk-VP2K5B3R.mjs} +4 -4
- package/dist/cli/{chunk-DYIWDUY4.js → chunk-VRYX2BR4.js} +316 -303
- package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-W3J3LT22.mjs} +5 -5
- package/dist/cli/{chunk-PHLNYBAA.js → chunk-WBFOV5HT.js} +5 -5
- package/dist/cli/{chunk-5EKNDNFQ.js → chunk-WBTYWJLN.js} +2 -2
- package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
- package/dist/cli/{chunk-K3IPGMGP.js → chunk-XDS26J7Z.js} +17 -19
- package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Y6AMMXWS.mjs} +3 -3
- package/dist/cli/{chunk-7R5DAANG.mjs → chunk-Z2PPB3IO.mjs} +1 -1
- package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
- package/dist/cli/{chunk-243O3FH5.js → chunk-ZFSB7GXF.js} +5 -5
- package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
- package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-ZHPSJ3LJ.mjs} +85 -77
- package/dist/cli/{chunk-K53NKWZO.mjs → chunk-ZUAMXZXC.mjs} +13 -15
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-CLPVMIRF.mjs → csv-HZP6QMG7.mjs} +6 -6
- package/dist/cli/{csv-CD55KEIO.js → csv-JITYN27L.js} +15 -15
- package/dist/cli/{db-MQKLDAEO.js → db-FYSRB7O4.js} +36 -36
- package/dist/cli/{db-AU4SMWUN.mjs → db-QRIRTOMM.mjs} +9 -9
- package/dist/cli/describe-LSOHOLFI.js +49 -0
- package/dist/cli/describe-REXJVJC3.mjs +49 -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 +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-TFIJPUX7.mjs → executions-53KJAFOW.mjs} +9 -9
- package/dist/cli/{executions-77GOLWRM.js → executions-BSTF4DDS.js} +11 -11
- package/dist/cli/{feedback-OV5YAL3A.js → feedback-6MW3QOXX.js} +16 -16
- package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-CWUJJF3J.mjs} +8 -8
- package/dist/cli/{git-VNS4ATLZ.mjs → git-CKVZTJFS.mjs} +7 -7
- package/dist/cli/git-S7SWUZ3T.js +25 -0
- package/dist/cli/index.js +151 -157
- package/dist/cli/index.mjs +51 -57
- package/dist/cli/{legacy-noops-HDOB5C6F.js → legacy-noops-QBL4PNGB.js} +11 -11
- package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-USTBRFRX.mjs} +8 -8
- package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-6UCG5D7W.mjs} +19 -16
- package/dist/cli/{monitors-5IUMHH3E.js → monitors-VCR6SUZD.js} +125 -122
- package/dist/cli/{org-G4YGZPHS.mjs → org-GSRBOJVO.mjs} +9 -9
- package/dist/cli/{org-ADW2EVAC.js → org-HPILTEG4.js} +89 -89
- package/dist/cli/{play-7GQ56C2D.mjs → play-QRTYQNG4.mjs} +123 -76
- package/dist/cli/{play-EHSOSSHT.js → play-TK7WOP5H.js} +641 -594
- package/dist/cli/{providers-PWCF6OOO.js → providers-HEXNJ5QC.js} +12 -12
- package/dist/cli/{providers-WL3YTCSV.mjs → providers-OAQJWVBS.mjs} +9 -9
- package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-FFVHTPSP.mjs} +6 -6
- package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-PYZTFXZX.js} +8 -8
- package/dist/cli/{run-XZPWA6JS.js → run-4DWJXJRO.js} +50 -53
- package/dist/cli/{run-ZCNZU3K2.mjs → run-HLN6YYZH.mjs} +31 -34
- package/dist/cli/search-WERQBC6V.js +32 -0
- package/dist/cli/{search-CVLVSFMJ.mjs → search-ZHRCXGEL.mjs} +10 -11
- package/dist/cli/{search-output-7HRSSRBS.js → search-output-2KY6PFDH.js} +8 -8
- package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-N7QXACVK.mjs} +6 -6
- package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-FKMWBLHU.mjs} +9 -9
- package/dist/cli/{secrets-IYD5VKY4.js → secrets-WXQ7XO5C.js} +18 -18
- package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-3YDTEDA5.mjs} +8 -8
- package/dist/cli/sessions-LXQ4Q6BS.js +22 -0
- package/dist/cli/{settings-CANK4HJQ.js → settings-67TWLQ6E.js} +88 -89
- package/dist/cli/{settings-BN5MJZ3C.mjs → settings-JTPASUZN.mjs} +15 -16
- package/dist/cli/{setup-YSGKGLSJ.js → setup-KUERQJUX.js} +51 -52
- package/dist/cli/{setup-JNMSCCU4.mjs → setup-VYNGXUJ6.mjs} +11 -12
- package/dist/cli/skills-EFRLHY3F.js +36 -0
- package/dist/cli/{skills-QCQN2UM2.mjs → skills-KI4KYHH6.mjs} +9 -10
- package/dist/cli/tools-C3EIGFFP.js +56 -0
- package/dist/cli/{tools-CDPOID7V.mjs → tools-UQDJS2RS.mjs} +20 -21
- package/dist/cli/{update-D3ZERUQ3.mjs → update-7FQQUBOD.mjs} +11 -12
- package/dist/cli/update-KCY72RXH.js +34 -0
- package/dist/cli/{views-RDZRWQBQ.mjs → views-JAM4MNNV.mjs} +54 -10
- package/dist/cli/{views-4NV2KQKA.js → views-MJK7JGZG.js} +66 -22
- package/dist/cli/{workflow-RABJCAZC.js → workflow-AQPRIWQX.js} +20 -20
- package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-TQRV5FGO.mjs} +10 -10
- package/dist/{client-DhSvMO3A.d.mts → client-BlLYQDNo.d.mts} +1 -1
- package/dist/{client-oGNJMQFd.d.ts → client-DSQlkIDO.d.ts} +1 -1
- package/dist/{client-core-CdWH6Sii.d.ts → client-core-CDwapXy5.d.ts} +159 -108
- package/dist/{client-core-CVG1Et-4.d.mts → client-core-rX7n2H8U.d.mts} +159 -108
- package/dist/{compiler-manifest-D2ZlBGxj.d.ts → compiler-manifest-BHNC4RL-.d.mts} +15 -22
- package/dist/{compiler-manifest-D2ZlBGxj.d.mts → compiler-manifest-BHNC4RL-.d.ts} +15 -22
- package/dist/{errors-B-gOQdj-.d.mts → errors-D7sPXrvB.d.mts} +1 -1
- package/dist/{errors-CB0KAmmV.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
- package/dist/{index-c3nvUGCS.d.ts → index-CQTBHXHr.d.ts} +1 -1
- package/dist/{index-BbJADro4.d.mts → index-NaDZq2xf.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +15 -15
- package/dist/index.mjs +11 -11
- package/dist/install-integrity.json +129 -132
- package/dist/monitor-fleet-contract.d.mts +17 -11
- package/dist/monitor-fleet-contract.d.ts +17 -11
- package/dist/monitor-fleet-contract.js +3 -3
- package/dist/monitor-fleet-contract.mjs +2 -2
- package/dist/monitor-input-contract.js +2 -2
- package/dist/monitor-input-contract.mjs +1 -1
- 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 +17 -5
- 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 +3 -3
- package/dist/plays/run-request.mjs +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +12 -12
- package/dist/server.mjs +6 -6
- package/package.json +1 -1
- package/dist/cli/auth-VDCU3T6A.js +0 -43
- package/dist/cli/chunk-4QELPWUW.mjs +0 -405
- package/dist/cli/chunk-T7RBM2WX.js +0 -405
- package/dist/cli/describe-5BFNHT5V.js +0 -50
- package/dist/cli/describe-AWJUXE2U.mjs +0 -50
- package/dist/cli/git-HGMX52XU.js +0 -25
- package/dist/cli/pages-KXKWSCEV.mjs +0 -266
- package/dist/cli/pages-VTJGAI2D.js +0 -266
- package/dist/cli/search-J6EY7DQN.js +0 -33
- package/dist/cli/sessions-7HPIVSQ4.js +0 -22
- package/dist/cli/skills-WDGSSKJZ.js +0 -37
- package/dist/cli/tools-URNVXSTZ.js +0 -57
- package/dist/cli/update-Q6JW32IA.js +0 -35
|
@@ -472,9 +472,9 @@ Examples:
|
|
|
472
472
|
deepline search "business address -> company domain" "name and company domain -> work email"
|
|
473
473
|
deepline search "first name, last name and company domain -> verified work email"
|
|
474
474
|
deepline search "company domains -> shop management software they use"
|
|
475
|
-
deepline search "company domain -> employees by job title and office location"
|
|
475
|
+
deepline search "company domain -> employees by job title and office location"
|
|
476
476
|
deepline search "upload a contact list as a Meta ads audience"
|
|
477
|
-
deepline search "how do webhooks trigger a play"
|
|
477
|
+
deepline search "how do webhooks trigger a play"
|
|
478
478
|
]]
|
|
479
479
|
[[mcp:
|
|
480
480
|
query "first name, last name and company domain -> verified work email"
|
|
@@ -568,6 +568,9 @@ Output:
|
|
|
568
568
|
--csv-out - to pipe result data to stdout.
|
|
569
569
|
--fields picks values and CSV columns. Exit code 0 completed, 1 failed or
|
|
570
570
|
still running, 2 nothing ran.
|
|
571
|
+
A failed tool call's receipt error matches deepline tools execute:
|
|
572
|
+
error.tool_error says whether a retry is safe, and error.upstreamResponse
|
|
573
|
+
holds a connected provider's status and body.
|
|
571
574
|
Cost:
|
|
572
575
|
What the tool or play charges. --max-credits caps a play run. Running an
|
|
573
576
|
interrupted call again replays it without paying twice.
|
|
@@ -621,6 +624,18 @@ Output:
|
|
|
621
624
|
[[cli:Use --json for records with provider, status, label, and connection version.]]
|
|
622
625
|
Cost:
|
|
623
626
|
Does not spend Deepline credits.
|
|
627
|
+
`,
|
|
628
|
+
rolloutFeature: "integration-connections"
|
|
629
|
+
},
|
|
630
|
+
"tools hubspot-members": {
|
|
631
|
+
core: `
|
|
632
|
+
Purpose:
|
|
633
|
+
List personal HubSpot connection status as an admin in an enrolled workspace.
|
|
634
|
+
Output:
|
|
635
|
+
Workspace members, linked HubSpot account IDs, connection status, and a next-page cursor when available.
|
|
636
|
+
[[cli:Use --json for a structured page and --cursor to continue.]]
|
|
637
|
+
Cost:
|
|
638
|
+
Does not spend Deepline credits.
|
|
624
639
|
`,
|
|
625
640
|
rolloutFeature: "integration-connections"
|
|
626
641
|
},
|
|
@@ -837,6 +852,9 @@ Failures:
|
|
|
837
852
|
error.tool_error.retryAfterMs.
|
|
838
853
|
When a connected provider returns a failure, error.upstreamResponse
|
|
839
854
|
includes its HTTP status and body, with echoed authentication masked.
|
|
855
|
+
Without --json the CLI prints that status and a short redacted body
|
|
856
|
+
excerpt. A provider 401, 403 or other 4xx except 408/425/429 is permanent:
|
|
857
|
+
fix the key, plan or input instead of retrying.
|
|
840
858
|
]]
|
|
841
859
|
[[mcp:
|
|
842
860
|
Output:
|
|
@@ -1088,7 +1106,7 @@ Input:
|
|
|
1088
1106
|
<play> is a bare name or qualified reference.[[cli: --json prints the exact result.]]
|
|
1089
1107
|
Output:
|
|
1090
1108
|
reference, costEstimate, and for prebuilts observedCost. Estimates include
|
|
1091
|
-
the output unit, observed or static range
|
|
1109
|
+
the output unit, observed or static range and sample size.
|
|
1092
1110
|
Cost:
|
|
1093
1111
|
Read-only. Uses the current workspace's pricing; does not start a run.
|
|
1094
1112
|
`
|
|
@@ -1335,8 +1353,7 @@ Avoid:
|
|
|
1335
1353
|
its own start-up and balance admission, and the batch form keeps a
|
|
1336
1354
|
row-level failure inside one completed run.
|
|
1337
1355
|
Do not poll [[runs get]] while [[plays run]] is still waiting; it already waits.
|
|
1338
|
-
Do not
|
|
1339
|
-
rows.
|
|
1356
|
+
Do not assume a new run reuses completed work; it may repeat paid calls.
|
|
1340
1357
|
`,
|
|
1341
1358
|
verbose: `
|
|
1342
1359
|
Waiting and timeouts:
|
|
@@ -1366,8 +1383,8 @@ Output fields:
|
|
|
1366
1383
|
failures still keeps the succeeded rows; read
|
|
1367
1384
|
rowOutcomes and warnings.
|
|
1368
1385
|
steps[].progress {total, executed, reused, failed, completedRows}
|
|
1369
|
-
per
|
|
1370
|
-
|
|
1386
|
+
per Dataset step. reused counts duplicate input rows
|
|
1387
|
+
served by the same row work, not all cached lookups.
|
|
1371
1388
|
datasets[].storage {schema, table}: where the rows live in the
|
|
1372
1389
|
customer database. Row counts and fill statistics
|
|
1373
1390
|
are in runs get, not here.
|
|
@@ -1377,9 +1394,12 @@ Output fields:
|
|
|
1377
1394
|
name the missing amount.
|
|
1378
1395
|
]]
|
|
1379
1396
|
Reruns and idempotency:
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
work.
|
|
1397
|
+
[[cli:runs resume <run-id> continues the same stopped run and can recover
|
|
1398
|
+
matching completed operations, including fresh-only calls.]] Unfinished or
|
|
1399
|
+
unrecorded work can incur charges. Starting a new run has a new identity;
|
|
1400
|
+
reuse then depends on compatible saved results and freshness. Authored
|
|
1401
|
+
staleAfterSeconds: 0 requests fresh data and does not publish a shared
|
|
1402
|
+
result for later runs.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
|
|
1383
1403
|
cached reads, calls providers again (bills those calls again), and updates
|
|
1384
1404
|
the shared result other Plays reuse; it is almost never what you want.]]
|
|
1385
1405
|
Related:
|
|
@@ -1569,6 +1589,12 @@ Cost:
|
|
|
1569
1589
|
Free.
|
|
1570
1590
|
Avoid:
|
|
1571
1591
|
Cost is not in this payload without [[--full]]; use [[billing usage --run-id]].
|
|
1592
|
+
Treating zero Dataset reuse as no saved work. Row reuse counts duplicates;
|
|
1593
|
+
cached cell attempts cover this run's sheets, not all tool or child-Play
|
|
1594
|
+
reuse. Missing or incomplete counts are unknown, not zero. Saved tool
|
|
1595
|
+
operations and published output rows are separate; a local array is not
|
|
1596
|
+
published until returned. Resume can recover matching completed operations
|
|
1597
|
+
without a published Dataset.
|
|
1572
1598
|
datasets[].preview.rows is a sample, not the rows; use [[cli:runs export]][[mcp:deepline_read_play_output]] or [[db
|
|
1573
1599
|
query]].
|
|
1574
1600
|
`,
|
|
@@ -1802,8 +1828,8 @@ When:
|
|
|
1802
1828
|
A run is stuck, was started by mistake, or was superseded. Runs of the same
|
|
1803
1829
|
play do not cancel each other: an older run keeps working and keeps
|
|
1804
1830
|
spending until it ends or is stopped. [[runs list --play <name> --status
|
|
1805
|
-
running]] lists them.
|
|
1806
|
-
|
|
1831
|
+
running]] lists them. [[cli:To continue later, use runs resume <run-id> if
|
|
1832
|
+
eligible.]] A separate new run does not guarantee reuse of completed work.
|
|
1807
1833
|
[[cli:
|
|
1808
1834
|
Input:
|
|
1809
1835
|
The run id and --reason "<text>". --json prints JSON.
|
|
@@ -1859,8 +1885,8 @@ Cost:
|
|
|
1859
1885
|
"runs resume": {
|
|
1860
1886
|
core: `
|
|
1861
1887
|
Purpose:
|
|
1862
|
-
Continue a failed or cancelled run as the same run,
|
|
1863
|
-
completed
|
|
1888
|
+
Continue a failed or cancelled run as the same run, recovering matching
|
|
1889
|
+
completed operations, including calls that used staleAfterSeconds: 0.
|
|
1864
1890
|
When:
|
|
1865
1891
|
After fixing the cause of a failure. A run can be resumed for 14 days after
|
|
1866
1892
|
it stops. [[cli:To start over as a new run instead, use plays run --from-run
|
|
@@ -1876,10 +1902,13 @@ Input:
|
|
|
1876
1902
|
been resumed).]]
|
|
1877
1903
|
Follow the run with [[runs get]].
|
|
1878
1904
|
Cost:
|
|
1879
|
-
|
|
1905
|
+
Unfinished or unrecorded work can incur charges. Dataset reuse counters do
|
|
1906
|
+
not measure all saved tool work or how much work resume can recover.
|
|
1880
1907
|
Avoid:
|
|
1881
1908
|
Resuming a run that is still active, or one whose last attempt is still
|
|
1882
1909
|
finishing; the server refuses both. Wait a minute and try again.
|
|
1910
|
+
Starting a new run to continue the old one. Cross-run reuse depends on
|
|
1911
|
+
compatible saved results and freshness; a fresh-only call can repeat.
|
|
1883
1912
|
`
|
|
1884
1913
|
},
|
|
1885
1914
|
notifications: {
|
|
@@ -1961,131 +1990,6 @@ Cost:
|
|
|
1961
1990
|
Avoid:
|
|
1962
1991
|
Do not guess table names; a run's dataset table is named in [[runs get]]
|
|
1963
1992
|
under datasets[].storage.
|
|
1964
|
-
`
|
|
1965
|
-
},
|
|
1966
|
-
pages: {
|
|
1967
|
-
rolloutFeature: "hosted-pages",
|
|
1968
|
-
core: `
|
|
1969
|
-
Purpose:
|
|
1970
|
-
Publish a document at a stable URL on your workspace's subdomain of
|
|
1971
|
-
deepline.page, and decide who can open it. A page is one named document:
|
|
1972
|
-
HTML, JSON, CSV, Markdown, text, SVG, an image, or a PDF, up to 3 MB.
|
|
1973
|
-
When:
|
|
1974
|
-
To share a report, dashboard, or result with people, from a terminal or at
|
|
1975
|
-
the end of a Play. Writing the same name again replaces the page and keeps
|
|
1976
|
-
its URL, so a Play that runs daily can keep one page current.
|
|
1977
|
-
The sequence:
|
|
1978
|
-
1. Write it. From a terminal: [[pages write <name> --file report.html
|
|
1979
|
-
--private]]. From a Play: ctx.pages.write(name, { public: false,
|
|
1980
|
-
content }). The URL, https://<label>.deepline.page/p/<name>, is in the
|
|
1981
|
-
output and stays the same for every write.
|
|
1982
|
-
2. Choose who can open it. Every write must say private or public:
|
|
1983
|
-
private Workspace members, after signing in to Deepline.
|
|
1984
|
-
link Anyone holding a URL from [[pages links create <name>]]. A link
|
|
1985
|
-
opens one page, shows its current content, and expires
|
|
1986
|
-
(--expires-in 7d) or lasts until revoked (--permanent).
|
|
1987
|
-
public Anyone with the URL. Needs public pages enabled for the
|
|
1988
|
-
workspace; [[pages list]] says whether they are. A private page
|
|
1989
|
-
becomes public only through [[pages set-public <name>]], never
|
|
1990
|
-
through a write.
|
|
1991
|
-
3. Manage it: [[pages list]], [[pages get <name>]],
|
|
1992
|
-
[[pages set-private <name>]], [[pages links list <name>]],
|
|
1993
|
-
[[pages links revoke <name> <link-id>]], [[pages delete <name>]]. The
|
|
1994
|
-
Pages section of the dashboard has the same actions.
|
|
1995
|
-
4. For cross-origin browser reads of a public page, set allowed origins
|
|
1996
|
-
with [[pages set-origins <name> https://example.com]].
|
|
1997
|
-
What visitors see:
|
|
1998
|
-
HTML, SVG, and XML open in a sandbox under a "Hosted on Deepline" tab.
|
|
1999
|
-
Scripts, forms, and https requests work. A link to another site asks the
|
|
2000
|
-
visitor before it opens. Other types, and requests from curl or code, get
|
|
2001
|
-
the bytes exactly as written.
|
|
2002
|
-
Cost:
|
|
2003
|
-
Free. Each new page counts toward the plan's page limit, which
|
|
2004
|
-
[[pages list]] prints; replacing a page does not.
|
|
2005
|
-
Avoid:
|
|
2006
|
-
Do not put secrets or credentials in a page, even a private one: anyone with
|
|
2007
|
-
a link sees everything on it. Do not write a new name per run to keep
|
|
2008
|
-
history; use one name so the URL stays stable.
|
|
2009
|
-
`
|
|
2010
|
-
},
|
|
2011
|
-
"pages write": {
|
|
2012
|
-
rolloutFeature: "hosted-pages",
|
|
2013
|
-
core: `
|
|
2014
|
-
Purpose:
|
|
2015
|
-
Create a page, or replace all of its content and its description.
|
|
2016
|
-
[[cli:
|
|
2017
|
-
Input:
|
|
2018
|
-
<name>: 1-63 lowercase letters, digits, or hyphens, starting and ending
|
|
2019
|
-
with a letter or digit. --file <path> (required, up to 3 MB). Exactly one
|
|
2020
|
-
of --private or --public. --content-type <type> overrides the type taken
|
|
2021
|
-
from the extension (.html .htm .json .csv .md .txt .svg .png .jpg .jpeg
|
|
2022
|
-
.gif .webp .pdf; anything else is application/octet-stream).
|
|
2023
|
-
--description <text>. --json prints JSON.
|
|
2024
|
-
]]
|
|
2025
|
-
Output (JSON):
|
|
2026
|
-
name, url, public (who can open it after this write), revision (increases
|
|
2027
|
-
only when the content changes), created (true for a new page), and
|
|
2028
|
-
warnings[] (for example, a request for public that kept a page private).
|
|
2029
|
-
Visibility:
|
|
2030
|
-
--private makes a public page private at once. --public publishes a new
|
|
2031
|
-
page. On a page that is already private, --public writes the content, keeps
|
|
2032
|
-
the page private, and adds a warning; run [[pages set-public <name>]] to
|
|
2033
|
-
publish it. Without public pages enabled, --public fails with
|
|
2034
|
-
public_pages_not_enabled and writes nothing.
|
|
2035
|
-
Errors (code):
|
|
2036
|
-
name_invalid, content_type_invalid, description_too_long,
|
|
2037
|
-
document_too_large, page_limit_reached, page_deleting,
|
|
2038
|
-
public_pages_not_enabled, pages_not_enabled.
|
|
2039
|
-
Cost:
|
|
2040
|
-
Free. Repeating a write is safe.
|
|
2041
|
-
Avoid:
|
|
2042
|
-
Do not use --public for something only your team should see. Write it
|
|
2043
|
-
--private and share it with [[pages links create <name>]].
|
|
2044
|
-
`
|
|
2045
|
-
},
|
|
2046
|
-
"pages set-origins": {
|
|
2047
|
-
rolloutFeature: "hosted-pages",
|
|
2048
|
-
core: `
|
|
2049
|
-
Purpose:
|
|
2050
|
-
Replace the list of sites that can fetch a public page from browser JavaScript.
|
|
2051
|
-
Input:
|
|
2052
|
-
<name>, followed by up to 20 exact HTTPS origins without trailing slashes.
|
|
2053
|
-
Omit the origins to clear the list. --json prints JSON.
|
|
2054
|
-
Output (JSON):
|
|
2055
|
-
allowed_origins: the saved list.
|
|
2056
|
-
Behavior:
|
|
2057
|
-
The setting applies to anonymous reads of the raw public document.
|
|
2058
|
-
Each listed origin includes the scheme, hostname, and port if non-default.
|
|
2059
|
-
Use a credential-free GET or HEAD request.
|
|
2060
|
-
Cost:
|
|
2061
|
-
Free.
|
|
2062
|
-
`
|
|
2063
|
-
},
|
|
2064
|
-
"pages links create": {
|
|
2065
|
-
rolloutFeature: "hosted-pages",
|
|
2066
|
-
core: `
|
|
2067
|
-
Purpose:
|
|
2068
|
-
Create a URL that opens one page without signing in.
|
|
2069
|
-
When:
|
|
2070
|
-
To share a private page with someone outside the workspace, or for a limited
|
|
2071
|
-
time. Works without public pages enabled.
|
|
2072
|
-
[[cli:
|
|
2073
|
-
Input:
|
|
2074
|
-
<name>, then exactly one of --expires-in <duration> (30m, 12h, 7d) or
|
|
2075
|
-
--permanent. --label <text> says who the link is for. --json prints JSON.
|
|
2076
|
-
]]
|
|
2077
|
-
Output (JSON):
|
|
2078
|
-
url (printed once and never again; Deepline keeps only a hash), id (pass it
|
|
2079
|
-
to [[pages links revoke <name> <link-id>]]), label, expires_at (null when
|
|
2080
|
-
permanent), created_at.
|
|
2081
|
-
Behavior:
|
|
2082
|
-
The link always shows the page's current content, keeps working after
|
|
2083
|
-
writes, and stops at once when revoked or when the page is deleted. A page
|
|
2084
|
-
can have up to 100 links; [[pages links list <name>]] lists them.
|
|
2085
|
-
Cost:
|
|
2086
|
-
Free.
|
|
2087
|
-
Avoid:
|
|
2088
|
-
Do not post a link anywhere public: it opens the page for anyone holding it.
|
|
2089
1993
|
`
|
|
2090
1994
|
},
|
|
2091
1995
|
views: {
|
|
@@ -2115,6 +2019,10 @@ The sequence:
|
|
|
2115
2019
|
[[views set-access <id> public]] lets anyone with the URL open it and
|
|
2116
2020
|
see the output of every run of its Play, including runs started outside
|
|
2117
2021
|
the view (by hand, on a schedule, or from the CLI).
|
|
2022
|
+
To share with specific people instead, create a signed link:
|
|
2023
|
+
[[views links create <id> --expires 7d --email a@b.com]]. Whoever holds
|
|
2024
|
+
it can open the view, with each run's input, until it expires or
|
|
2025
|
+
[[views links revoke <id> <link-id>]]; the URL is printed once.
|
|
2118
2026
|
4. Manage it: [[views list]], [[views get <id>]],
|
|
2119
2027
|
[[views edit <id>]], [[views runs <id>]], [[views delete <id>]].
|
|
2120
2028
|
Buttons in HTML output:
|
|
@@ -2125,7 +2033,8 @@ Buttons in HTML output:
|
|
|
2125
2033
|
the run. Plays in this workspace only; never for public visitors.
|
|
2126
2034
|
Permissions:
|
|
2127
2035
|
[[views permissions]] shows who may create, edit, delete, set access, and
|
|
2128
|
-
refresh; admins change them with [[views permissions set]].
|
|
2036
|
+
refresh; admins change them with [[views permissions set]]. Share links
|
|
2037
|
+
take the set-access permission.
|
|
2129
2038
|
Cost:
|
|
2130
2039
|
Views are free. Refresh and buttons start ordinary Play runs.
|
|
2131
2040
|
Avoid:
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBGXEMTIGjs = require('./chunk-BGXEMTIG.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPU42VOBIjs = require('./chunk-PU42VOBI.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 } = _chunkBGXEMTIGjs.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
|
+
_chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
|
|
40
40
|
{
|
|
41
41
|
projects: payload.projects,
|
|
42
42
|
count: payload.projects.length,
|
|
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
async function handleStatus(options) {
|
|
76
|
-
const { http } =
|
|
76
|
+
const { http } = _chunkBGXEMTIGjs.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(
|
|
@@ -136,7 +136,7 @@ async function handleStatus(options) {
|
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
_chunkBGXEMTIGjs.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 } = _chunkBGXEMTIGjs.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
|
+
_chunkBGXEMTIGjs.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 } = _chunkBGXEMTIGjs.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}`
|
|
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
|
|
|
188
188
|
}
|
|
189
189
|
async function handleLink(repo, options) {
|
|
190
190
|
const repoId = await resolveRepoId(repo, options.installation);
|
|
191
|
-
const { http } =
|
|
191
|
+
const { http } = _chunkBGXEMTIGjs.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
|
+
_chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
|
|
201
201
|
{
|
|
202
202
|
project: payload.project,
|
|
203
203
|
render: {
|
|
@@ -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 } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
|
|
224
224
|
const payload = await http.get(
|
|
225
225
|
`/api/v2/play-projects/${encodeURIComponent(id)}`
|
|
226
226
|
);
|
|
227
|
-
|
|
227
|
+
_chunkBGXEMTIGjs.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 } = _chunkBGXEMTIGjs.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
|
+
_chunkBGXEMTIGjs.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 } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
|
|
268
268
|
await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
|
|
269
|
-
|
|
269
|
+
_chunkBGXEMTIGjs.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 = _chunkPU42VOBIjs.resolveBaseUrlOnly.call(void 0, );
|
|
290
290
|
const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
|
|
291
|
-
const opened =
|
|
292
|
-
|
|
291
|
+
const opened = _chunkBGXEMTIGjs.openInBrowser.call(void 0, connectUrl);
|
|
292
|
+
_chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
|
|
293
293
|
{
|
|
294
294
|
connectUrl,
|
|
295
295
|
browser: opened,
|
|
@@ -311,7 +311,7 @@ async function handleConnect(options) {
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
async function handleDeploymentsList(options) {
|
|
314
|
-
const { http } =
|
|
314
|
+
const { http } = _chunkBGXEMTIGjs.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
|
+
_chunkBGXEMTIGjs.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 } = _chunkBGXEMTIGjs.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
|
+
_chunkBGXEMTIGjs.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 } = _chunkBGXEMTIGjs.getAuthedHttpClient.call(void 0, );
|
|
391
391
|
const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
|
|
392
|
-
|
|
392
|
+
_chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
|
|
393
393
|
{
|
|
394
394
|
cancelled: payload.cancelled,
|
|
395
395
|
deployment: payload.deployment,
|