deepline 0.3.550 → 0.3.551
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/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +22 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +70 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
- package/dist/cli/auth-B4PI7GVY.js +43 -0
- package/dist/cli/{auth-UJCAHGZG.mjs → auth-E7BH4GMJ.mjs} +5 -5
- package/dist/cli/{billing-VO2O5O5O.js → billing-DNQAZGX7.js} +99 -99
- package/dist/cli/{billing-RYWMI7JJ.mjs → billing-OXKU462W.mjs} +10 -10
- package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
- package/dist/cli/{chunk-IZCPOX7X.mjs → chunk-2UXDHFSF.mjs} +1 -1
- package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
- package/dist/cli/{chunk-JYUIIDZO.js → chunk-2ZYRBMQM.js} +23 -22
- package/dist/cli/{chunk-TB3WT76F.js → chunk-3G6QZACZ.js} +23 -20
- package/dist/cli/{chunk-LWHWMU4V.js → chunk-3KYBDAR3.js} +7 -7
- package/dist/cli/{chunk-CIBQVA6V.mjs → chunk-3T65J5RG.mjs} +2 -2
- package/dist/cli/{chunk-KSUTNW3X.js → chunk-44I675YK.js} +42 -41
- package/dist/cli/{chunk-4NQWUUOH.mjs → chunk-44KSACJW.mjs} +2 -2
- package/dist/cli/{chunk-GVW5V562.mjs → chunk-4D3WIZST.mjs} +1 -1
- package/dist/cli/{chunk-RS6ZSKX6.js → chunk-4OMAGJ6U.js} +2 -2
- package/dist/cli/{chunk-SZNX3XU3.js → chunk-54EEYLTF.js} +3 -3
- package/dist/cli/{chunk-QD2KT7II.mjs → chunk-5IL7SC45.mjs} +2 -2
- package/dist/cli/{chunk-COHCKZQK.mjs → chunk-5S6PHKRV.mjs} +2 -1
- package/dist/cli/{chunk-SBNNK73L.js → chunk-5VVSEU67.js} +6 -6
- package/dist/cli/{chunk-ZQZOYGDC.mjs → chunk-6PWJKMFQ.mjs} +5 -4
- package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
- package/dist/cli/{chunk-3W44AJOE.js → chunk-7RSIFA72.js} +18 -16
- package/dist/cli/{chunk-F2RXBNT5.mjs → chunk-7WQNWJQW.mjs} +7 -5
- package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
- package/dist/cli/{chunk-UL7HWZO7.mjs → chunk-BIIJATTX.mjs} +2 -2
- package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
- package/dist/cli/{chunk-S6XOKGBF.mjs → chunk-CLRAANWH.mjs} +1 -1
- package/dist/cli/{chunk-YSYOQYZE.js → chunk-COGREZAO.js} +48 -44
- package/dist/cli/{chunk-SMLWC7PM.js → chunk-CQ6JYQSW.js} +10 -10
- package/dist/cli/{chunk-7BWMCVYU.mjs → chunk-D6M5HFBB.mjs} +1 -1
- package/dist/cli/{chunk-FMXLQHM2.mjs → chunk-E64HFB4L.mjs} +13 -13
- package/dist/cli/{chunk-E2QVWDDW.mjs → chunk-FOTGUFVK.mjs} +3 -3
- package/dist/cli/{chunk-HCFH2V27.mjs → chunk-GGB3JYCW.mjs} +3 -2
- package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
- package/dist/cli/{chunk-N2Y2IGNB.mjs → chunk-GVYLCCKN.mjs} +1 -1
- package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
- package/dist/cli/{chunk-LUULRAQB.mjs → chunk-HEHVGEZV.mjs} +10 -7
- package/dist/cli/{chunk-HEVUFICQ.mjs → chunk-I4VKGNAQ.mjs} +9 -5
- package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
- package/dist/cli/{chunk-XKE2PGZ2.js → chunk-LPJPCGT3.js} +8 -8
- package/dist/cli/{chunk-E4S7OE7B.mjs → chunk-MNSTCJMX.mjs} +3 -3
- package/dist/cli/{chunk-QNWNR6DG.js → chunk-MR5LTVHD.js} +53 -53
- package/dist/cli/{chunk-K7JZV4QW.mjs → chunk-MXGA6JFI.mjs} +2 -2
- package/dist/cli/{chunk-EU23QOJ6.js → chunk-NMWGZD6Y.js} +26 -26
- package/dist/cli/{chunk-MJDQZYKO.js → chunk-PACD5DGC.js} +4 -4
- package/dist/cli/{chunk-EMPXPEIQ.mjs → chunk-PM7MO62Y.mjs} +3 -3
- package/dist/cli/{chunk-JKLDCFY5.js → chunk-POLUE7D5.js} +11 -11
- package/dist/cli/{chunk-DGUTBLXF.js → chunk-PPSDCN6C.js} +3 -2
- package/dist/cli/{chunk-NM3AYEDI.js → chunk-QM6Y6S4E.js} +5 -5
- package/dist/cli/{chunk-2AKS64KJ.mjs → chunk-RE5MJBEV.mjs} +2 -2
- package/dist/cli/{chunk-KLQILE2I.mjs → chunk-S7IZWGUA.mjs} +2 -2
- package/dist/cli/{chunk-2IW5GKB4.js → chunk-T2B5BVZE.js} +13 -13
- package/dist/cli/{chunk-OKNOQRQ3.js → chunk-UDXULACQ.js} +3 -3
- package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
- package/dist/cli/{chunk-72NXIFOT.mjs → chunk-V6SCP4B7.mjs} +1 -1
- package/dist/cli/{chunk-5J3TRWTB.js → chunk-VTGG2RT3.js} +1 -1
- package/dist/cli/{chunk-DJWM5OOY.mjs → chunk-VWLHRZFG.mjs} +4 -4
- package/dist/cli/{chunk-I62PCYU6.js → chunk-W2ZWQUHT.js} +2 -2
- package/dist/cli/{chunk-MXEYNRTZ.mjs → chunk-W425ERWN.mjs} +6 -5
- package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
- package/dist/cli/{chunk-JLFOQRWM.js → chunk-WKBHUB6R.js} +270 -270
- package/dist/cli/{chunk-3WG2GURT.js → chunk-XYE5XPGF.js} +9 -9
- package/dist/cli/{chunk-R5CYKRA2.js → chunk-Z2FIOG3V.js} +12 -12
- package/dist/cli/{chunk-BJO7ZXAK.js → chunk-ZCDKE4UH.js} +5 -5
- package/dist/cli/{chunk-RINUMR6C.js → chunk-ZDQFBJPO.js} +20 -19
- package/dist/cli/{chunk-TL3WIXDH.mjs → chunk-ZMNGZ6XS.mjs} +1 -1
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-766HVJR3.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
- package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
- package/dist/cli/{csv-4DZKGYCU.js → csv-QMF4FWE7.js} +19 -14
- package/dist/cli/{csv-VU52KZOX.mjs → csv-SYSDXFEM.mjs} +10 -5
- package/dist/cli/{db-UBGW373S.mjs → db-Q7HURWRZ.mjs} +6 -6
- package/dist/cli/{db-KPIH4HPW.js → db-YSHPPA4H.js} +27 -27
- package/dist/cli/describe-PXTSBJTL.js +50 -0
- package/dist/cli/{describe-NGITP6RA.mjs → describe-YGMQBV44.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-CO5UF3CV.mjs → executions-G7U3VUXN.mjs} +6 -6
- package/dist/cli/{executions-G3X25U3V.js → executions-MWBC5TAW.js} +8 -8
- package/dist/cli/{feedback-M2L5DVN2.mjs → feedback-GMHIFLBJ.mjs} +6 -6
- package/dist/cli/{feedback-ZYF65WPH.js → feedback-SD55OY6H.js} +14 -14
- package/dist/cli/{git-AYJD5CLS.mjs → git-HPE45OPD.mjs} +5 -5
- package/dist/cli/git-I3JV7IGH.js +25 -0
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-LKEGGTZO.mjs → integrations-2W4MGIQR.mjs} +7 -7
- package/dist/cli/{integrations-GSXXJ4CF.js → integrations-HFKVBY6G.js} +15 -15
- package/dist/cli/{legacy-noops-UF4GKMD4.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
- package/dist/cli/{legacy-noops-MZDLLEKN.js → legacy-noops-SXVNDEXN.js} +9 -9
- package/dist/cli/{mcp-NHQ6RMBP.mjs → mcp-BWA6KULG.mjs} +4 -4
- package/dist/cli/{mcp-RTNC6LP3.js → mcp-PJRHQHHU.js} +24 -24
- package/dist/cli/{monitors-WMWB6EKQ.js → monitors-K2WSI6CR.js} +100 -100
- package/dist/cli/{monitors-NC4ZR5DH.mjs → monitors-SYQKCATO.mjs} +7 -7
- package/dist/cli/{org-ZXUSYREQ.mjs → org-5KD7X7IA.mjs} +6 -6
- package/dist/cli/{org-33Q7CXJB.js → org-YQ2CR32B.js} +88 -88
- package/dist/cli/{play-N24XV6TI.js → play-SZXY2F2S.js} +330 -330
- package/dist/cli/{play-IPWFGNRE.mjs → play-TTMABJEI.mjs} +18 -18
- package/dist/cli/{providers-MSVE7UZS.mjs → providers-GQIOMRQO.mjs} +6 -6
- package/dist/cli/{providers-AUI7MMQS.js → providers-YDHCTZAF.js} +9 -9
- package/dist/cli/{quickstart-PSC6VTRI.js → quickstart-BNYOXQXG.js} +6 -6
- package/dist/cli/{quickstart-OME5XMW5.mjs → quickstart-PHSSMKCA.mjs} +4 -4
- package/dist/cli/{run-EYTT2DHO.mjs → run-74C3C75C.mjs} +26 -26
- package/dist/cli/{run-UTIX7CJY.js → run-GFIAZXVL.js} +47 -47
- package/dist/cli/search-2RRRF4LW.js +32 -0
- package/dist/cli/{search-FVE7PM72.mjs → search-3SWUB7KX.mjs} +7 -7
- package/dist/cli/{search-output-O463JNLR.js → search-output-6JF3S4TP.js} +43 -13
- package/dist/cli/{search-output-TQMY6BDG.mjs → search-output-K2SWHVHQ.mjs} +40 -10
- package/dist/cli/{secrets-KCJJAHQB.mjs → secrets-2M4XWEKE.mjs} +6 -6
- package/dist/cli/{secrets-TWZ2GO73.js → secrets-2SAKLH2H.js} +15 -15
- package/dist/cli/{sessions-ZCWAA7QL.mjs → sessions-A64BCXTO.mjs} +6 -6
- package/dist/cli/sessions-SBH27JNW.js +22 -0
- package/dist/cli/{settings-SCR654U7.js → settings-HV64WIJF.js} +85 -85
- package/dist/cli/{settings-4JFKCKII.mjs → settings-SVGEC3FI.mjs} +12 -12
- package/dist/cli/{setup-Q2YOPGOI.mjs → setup-EDC3NEJ3.mjs} +15 -10
- package/dist/cli/{setup-O6GH3UWT.js → setup-FHXOLQGQ.js} +55 -50
- package/dist/cli/{skills-QHPZ6H2G.mjs → skills-3HGHZMXB.mjs} +7 -7
- package/dist/cli/skills-Y3SRLOYD.js +36 -0
- package/dist/cli/tools-OFYPUPUV.js +57 -0
- package/dist/cli/{tools-YO22H46E.mjs → tools-P2QS6A6Q.mjs} +19 -19
- package/dist/cli/{update-WHBC5IHE.mjs → update-552BYQM4.mjs} +9 -9
- package/dist/cli/update-SOUSCLB7.js +34 -0
- package/dist/cli/{views-XNLXV2BT.mjs → views-LD5HXJYY.mjs} +6 -6
- package/dist/cli/{views-4CZJ5BLG.js → views-PA25NAE3.js} +21 -21
- package/dist/cli/{workflow-C4VBARIE.js → workflow-FIDBUQV6.js} +17 -17
- package/dist/cli/{workflow-QUWP2CG2.mjs → workflow-LDYFGBYP.mjs} +7 -7
- package/dist/{client-BEJqhQAj.d.mts → client-DuDFiJDU.d.mts} +1 -1
- package/dist/{client-core-BPYuWfBC.d.ts → client-core-CJRzLanv.d.ts} +93 -4
- package/dist/{client-core-BqetRxx-.d.mts → client-core-DydMQOft.d.mts} +93 -4
- package/dist/{client-Ceo295L2.d.ts → client-t9HZAkFD.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +124 -124
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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 +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-J4OW5RNJ.js +0 -43
- package/dist/cli/chunk-NIPLY25A.mjs +0 -7
- package/dist/cli/concurrent-runs-help-3XZIHVRP.js +0 -21
- package/dist/cli/describe-4BI6E2CM.js +0 -50
- package/dist/cli/git-QRZP4DNA.js +0 -25
- package/dist/cli/search-CQ6JG2EN.js +0 -32
- package/dist/cli/sessions-LMPXUPUH.js +0 -22
- package/dist/cli/skills-M4CFE65Z.js +0 -36
- package/dist/cli/tools-CV7XA2V6.js +0 -57
- package/dist/cli/update-PUWBKPWJ.js +0 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNMWGZD6Yjs = require('./chunk-NMWGZD6Y.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ var _chunkEU23QOJ6js = require('./chunk-EU23QOJ6.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkXYE5XPGFjs = require('./chunk-XYE5XPGF.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -22,15 +22,15 @@ var _chunk3WG2GURTjs = require('./chunk-3WG2GURT.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkPOLUE7D5js = require('./chunk-POLUE7D5.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkCQ6JYQSWjs = require('./chunk-CQ6JYQSW.js');
|
|
29
29
|
require('./chunk-D3BCSAN7.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
@@ -51,10 +51,10 @@ var _chunkCBV7AKWMjs = require('./chunk-CBV7AKWM.js');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkZCDKE4UHjs = require('./chunk-ZCDKE4UH.js');
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkQM6Y6S4Ejs = require('./chunk-QM6Y6S4E.js');
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
@@ -67,7 +67,7 @@ var _chunkNM3AYEDIjs = require('./chunk-NM3AYEDI.js');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkLPJPCGT3js = require('./chunk-LPJPCGT3.js');
|
|
71
71
|
require('./chunk-4WAM6TLD.js');
|
|
72
72
|
|
|
73
73
|
|
|
@@ -91,18 +91,18 @@ require('./chunk-XDVT3GOM.js');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunk5VVSEU67js = require('./chunk-5VVSEU67.js');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
var
|
|
101
|
-
require('./chunk-
|
|
100
|
+
var _chunkW2ZWQUHTjs = require('./chunk-W2ZWQUHT.js');
|
|
101
|
+
require('./chunk-COGREZAO.js');
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunk54EEYLTFjs = require('./chunk-54EEYLTF.js');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
|
|
@@ -123,17 +123,17 @@ var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var
|
|
127
|
-
require('./chunk-
|
|
126
|
+
var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
|
|
127
|
+
require('./chunk-UDXULACQ.js');
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
|
|
131
131
|
require('./chunk-EITMD3A5.js');
|
|
132
132
|
require('./chunk-XNYIZMNQ.js');
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
136
|
-
require('./chunk-
|
|
136
|
+
require('./chunk-VTGG2RT3.js');
|
|
137
137
|
require('./chunk-OG64RBAC.js');
|
|
138
138
|
|
|
139
139
|
|
|
@@ -2115,7 +2115,7 @@ function resolveField(key, command) {
|
|
|
2115
2115
|
function printSettings(result, json, name) {
|
|
2116
2116
|
result = { ...result, settings: parsePlaySettings(result.settings) };
|
|
2117
2117
|
const selected = fields.filter(([key]) => !name || key === name);
|
|
2118
|
-
|
|
2118
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2119
2119
|
{
|
|
2120
2120
|
...result,
|
|
2121
2121
|
settings: Object.fromEntries(
|
|
@@ -2159,7 +2159,7 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2159
2159
|
valueSyntax: field.cli.valueSyntax,
|
|
2160
2160
|
examples: field.cli.examples
|
|
2161
2161
|
}));
|
|
2162
|
-
|
|
2162
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2163
2163
|
{
|
|
2164
2164
|
fields: descriptions,
|
|
2165
2165
|
render: {
|
|
@@ -2184,7 +2184,7 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2184
2184
|
async (options, command) => {
|
|
2185
2185
|
if (options.name !== void 0) resolveField(options.name, command);
|
|
2186
2186
|
printSettings(
|
|
2187
|
-
await new (0,
|
|
2187
|
+
await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlaySettings(options.play),
|
|
2188
2188
|
options.json,
|
|
2189
2189
|
options.name
|
|
2190
2190
|
);
|
|
@@ -2215,7 +2215,7 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2215
2215
|
);
|
|
2216
2216
|
}
|
|
2217
2217
|
if (options.dryRun) {
|
|
2218
|
-
|
|
2218
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2219
2219
|
{
|
|
2220
2220
|
dryRun: true,
|
|
2221
2221
|
play,
|
|
@@ -2236,7 +2236,7 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2236
2236
|
return;
|
|
2237
2237
|
}
|
|
2238
2238
|
printSettings(
|
|
2239
|
-
await new (0,
|
|
2239
|
+
await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().updatePlaySettings(play, patch),
|
|
2240
2240
|
options.json
|
|
2241
2241
|
);
|
|
2242
2242
|
};
|
|
@@ -2262,13 +2262,13 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2262
2262
|
"--root must be person or team; --limit must be 1\u2013100.",
|
|
2263
2263
|
{ exitCode: 2 }
|
|
2264
2264
|
);
|
|
2265
|
-
const page = await new (0,
|
|
2265
|
+
const page = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().listPlaySettingsPaths({
|
|
2266
2266
|
root: options.root,
|
|
2267
2267
|
limit,
|
|
2268
2268
|
cursor: options.cursor
|
|
2269
2269
|
});
|
|
2270
2270
|
const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
|
|
2271
|
-
|
|
2271
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2272
2272
|
{
|
|
2273
2273
|
...page,
|
|
2274
2274
|
nextCommand,
|
|
@@ -2319,7 +2319,7 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2319
2319
|
root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
|
|
2320
2320
|
folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
|
|
2321
2321
|
};
|
|
2322
|
-
const client = new (0,
|
|
2322
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
2323
2323
|
const paths = [];
|
|
2324
2324
|
let cursor;
|
|
2325
2325
|
do {
|
|
@@ -2381,7 +2381,7 @@ function registerPlaySettingsCommands(plays) {
|
|
|
2381
2381
|
moved.push(move.playName);
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
2384
|
-
|
|
2384
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2385
2385
|
{
|
|
2386
2386
|
dryRun: Boolean(options.dryRun),
|
|
2387
2387
|
from: options.from,
|
|
@@ -2515,7 +2515,7 @@ function triggerLines(view) {
|
|
|
2515
2515
|
return lines;
|
|
2516
2516
|
}
|
|
2517
2517
|
function printView(view, json) {
|
|
2518
|
-
|
|
2518
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2519
2519
|
{
|
|
2520
2520
|
...view,
|
|
2521
2521
|
render: {
|
|
@@ -2528,7 +2528,7 @@ function printView(view, json) {
|
|
|
2528
2528
|
);
|
|
2529
2529
|
}
|
|
2530
2530
|
function printResult(result, json) {
|
|
2531
|
-
|
|
2531
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2532
2532
|
{
|
|
2533
2533
|
...result,
|
|
2534
2534
|
render: {
|
|
@@ -2558,7 +2558,7 @@ async function mutate(command, options, build) {
|
|
|
2558
2558
|
usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
|
|
2559
2559
|
}
|
|
2560
2560
|
if (options.dryRun) {
|
|
2561
|
-
|
|
2561
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
2562
2562
|
{
|
|
2563
2563
|
dryRun: true,
|
|
2564
2564
|
play: options.play,
|
|
@@ -2577,7 +2577,7 @@ async function mutate(command, options, build) {
|
|
|
2577
2577
|
return;
|
|
2578
2578
|
}
|
|
2579
2579
|
printResult(
|
|
2580
|
-
await new (0,
|
|
2580
|
+
await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
|
|
2581
2581
|
options.json
|
|
2582
2582
|
);
|
|
2583
2583
|
}
|
|
@@ -2610,7 +2610,7 @@ function registerPlayTriggerConfigCommands(plays) {
|
|
|
2610
2610
|
}).addHelpText("after", help2);
|
|
2611
2611
|
trigger.command("get").description("Show the cron and webhook triggers of a Play.").requiredOption("--play <play>", "Play to read").option("--json", "Emit JSON").addHelpText("after", help2).action(async (options) => {
|
|
2612
2612
|
printView(
|
|
2613
|
-
await new (0,
|
|
2613
|
+
await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlayTriggerConfig(options.play),
|
|
2614
2614
|
options.json
|
|
2615
2615
|
);
|
|
2616
2616
|
});
|
|
@@ -2654,7 +2654,7 @@ function registerPlayTriggerConfigCommands(plays) {
|
|
|
2654
2654
|
if (options.auth === void 0) {
|
|
2655
2655
|
if (secrets.length || options.header || options.signaturePrefix)
|
|
2656
2656
|
usage(setWebhook, "--secret/--header need --auth.");
|
|
2657
|
-
const current = await new (0,
|
|
2657
|
+
const current = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlayTriggerConfig(
|
|
2658
2658
|
options.play
|
|
2659
2659
|
);
|
|
2660
2660
|
return {
|
|
@@ -2731,7 +2731,7 @@ var KIND_DESCRIPTIONS = {
|
|
|
2731
2731
|
"receipt.skipped": "Saved work result: skipped.",
|
|
2732
2732
|
"runtime.event": "Other event."
|
|
2733
2733
|
};
|
|
2734
|
-
var RUN_LOGS_KIND_HELP =
|
|
2734
|
+
var RUN_LOGS_KIND_HELP = _chunkLPJPCGT3js.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
|
|
2735
2735
|
kind,
|
|
2736
2736
|
description: KIND_DESCRIPTIONS[kind]
|
|
2737
2737
|
}));
|
|
@@ -2868,9 +2868,9 @@ function configureRunQueryCommandErrors(command, resource) {
|
|
|
2868
2868
|
const args = program.args;
|
|
2869
2869
|
if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
|
|
2870
2870
|
error.exitCode = 2;
|
|
2871
|
-
if (
|
|
2872
|
-
|
|
2873
|
-
Object.assign(new (0,
|
|
2871
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
|
|
2872
|
+
_chunkZDQFBJPOjs.printJsonError.call(void 0,
|
|
2873
|
+
Object.assign(new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(error.message), {
|
|
2874
2874
|
exitCode: 2,
|
|
2875
2875
|
retryable: false
|
|
2876
2876
|
})
|
|
@@ -2914,14 +2914,14 @@ function parseQuery(args, resource) {
|
|
|
2914
2914
|
if (VALUE_FLAGS.has(flag)) {
|
|
2915
2915
|
const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
|
|
2916
2916
|
if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
|
|
2917
|
-
throw new (0,
|
|
2917
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2918
2918
|
`${flag} requires a value. Use ${flag} <value>.`
|
|
2919
2919
|
);
|
|
2920
2920
|
}
|
|
2921
2921
|
if (flag === "--sum") sums.push(value);
|
|
2922
2922
|
else {
|
|
2923
2923
|
if (values[flag] !== void 0) {
|
|
2924
|
-
throw new (0,
|
|
2924
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2925
2925
|
`${flag} may only be supplied once.`
|
|
2926
2926
|
);
|
|
2927
2927
|
}
|
|
@@ -2935,12 +2935,12 @@ function parseQuery(args, resource) {
|
|
|
2935
2935
|
}
|
|
2936
2936
|
if (arg.startsWith("-")) {
|
|
2937
2937
|
const correction = flag === "--log-level" ? "Use --level for structured severity filtering." : flag === "--out" || flag === "--failed" || flag === "--all" ? "Use this flag with a plain runs logs <run-id> text read." : "Use --step, --level, --query, --where, --count, --group-by or --fields; see runs logs --help.";
|
|
2938
|
-
throw new (0,
|
|
2938
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2939
2939
|
`Unsupported query flag ${flag}. ${correction}`
|
|
2940
2940
|
);
|
|
2941
2941
|
}
|
|
2942
2942
|
if (runId !== void 0) {
|
|
2943
|
-
throw new (0,
|
|
2943
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2944
2944
|
`Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
|
|
2945
2945
|
);
|
|
2946
2946
|
}
|
|
@@ -2948,7 +2948,7 @@ function parseQuery(args, resource) {
|
|
|
2948
2948
|
}
|
|
2949
2949
|
if (switches.has("--fields")) {
|
|
2950
2950
|
if (runId !== void 0) {
|
|
2951
|
-
throw new (0,
|
|
2951
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2952
2952
|
"--fields does not use a run ID. Omit the positional run ID."
|
|
2953
2953
|
);
|
|
2954
2954
|
}
|
|
@@ -2961,18 +2961,18 @@ function parseQuery(args, resource) {
|
|
|
2961
2961
|
)
|
|
2962
2962
|
];
|
|
2963
2963
|
if (incompatible.length) {
|
|
2964
|
-
throw new (0,
|
|
2964
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2965
2965
|
`--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
|
|
2966
2966
|
);
|
|
2967
2967
|
}
|
|
2968
2968
|
}
|
|
2969
2969
|
if (switches.has("--count") && values["--group-by"] !== void 0) {
|
|
2970
|
-
throw new (0,
|
|
2970
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2971
2971
|
"--count cannot be combined with --group-by. Use --group-by for counts per group."
|
|
2972
2972
|
);
|
|
2973
2973
|
}
|
|
2974
2974
|
if (sums.length && switches.has("--count")) {
|
|
2975
|
-
throw new (0,
|
|
2975
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2976
2976
|
"--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
|
|
2977
2977
|
);
|
|
2978
2978
|
}
|
|
@@ -2980,7 +2980,7 @@ function parseQuery(args, resource) {
|
|
|
2980
2980
|
if (operation === "count") {
|
|
2981
2981
|
for (const flag of ["--limit", "--cursor", "--payloads"]) {
|
|
2982
2982
|
if (values[flag] !== void 0 || switches.has(flag)) {
|
|
2983
|
-
throw new (0,
|
|
2983
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
2984
2984
|
`--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
|
|
2985
2985
|
);
|
|
2986
2986
|
}
|
|
@@ -3015,16 +3015,16 @@ function parseQuery(args, resource) {
|
|
|
3015
3015
|
];
|
|
3016
3016
|
}
|
|
3017
3017
|
}
|
|
3018
|
-
const request =
|
|
3018
|
+
const request = _chunkLPJPCGT3js.normalizeRunEventOperationRequest.call(void 0, body);
|
|
3019
3019
|
const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
|
|
3020
3020
|
const backend = values["--runtime-backend"];
|
|
3021
3021
|
if (backend && backend !== "daytona" && backend !== "modal") {
|
|
3022
|
-
throw new (0,
|
|
3022
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
3023
3023
|
"--runtime-backend must be daytona or modal."
|
|
3024
3024
|
);
|
|
3025
3025
|
}
|
|
3026
3026
|
if (backend && !namespace) {
|
|
3027
|
-
throw new (0,
|
|
3027
|
+
throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
|
|
3028
3028
|
"--runtime-backend requires --runtime-namespace."
|
|
3029
3029
|
);
|
|
3030
3030
|
}
|
|
@@ -3071,12 +3071,12 @@ async function handleRunEventQuery(args, resource = "logs") {
|
|
|
3071
3071
|
const failure = error instanceof Error ? error : new Error(String(error));
|
|
3072
3072
|
const record5 = failure;
|
|
3073
3073
|
const status = record5.statusCode;
|
|
3074
|
-
const exitCode = error instanceof
|
|
3074
|
+
const exitCode = error instanceof _chunkLPJPCGT3js.RunEventQueryInputError || status === 400 || status === 422 || record5.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record5.code === "CONFIG_ERROR" || record5.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
|
|
3075
3075
|
const diagnostic = Object.assign(failure, {
|
|
3076
3076
|
exitCode,
|
|
3077
3077
|
retryable: exitCode === 5
|
|
3078
3078
|
});
|
|
3079
|
-
if (
|
|
3079
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) _chunkZDQFBJPOjs.printJsonError.call(void 0, diagnostic);
|
|
3080
3080
|
else console.error(`Error: ${diagnostic.message}`);
|
|
3081
3081
|
return exitCode;
|
|
3082
3082
|
}
|
|
@@ -3091,7 +3091,7 @@ async function executeRunEventQuery(args, resource) {
|
|
|
3091
3091
|
...criteria
|
|
3092
3092
|
} = request;
|
|
3093
3093
|
const options = { ...criteria, ...runtime ? { runtime } : {} };
|
|
3094
|
-
const client = new (0,
|
|
3094
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
3095
3095
|
let result;
|
|
3096
3096
|
if (request.operation === "fields") {
|
|
3097
3097
|
result = await client.runs[resource].fields(runtime ? { runtime } : {});
|
|
@@ -3157,13 +3157,13 @@ async function executeRunEventQuery(args, resource) {
|
|
|
3157
3157
|
lines.push(`Next page: ${nextPage}`);
|
|
3158
3158
|
}
|
|
3159
3159
|
}
|
|
3160
|
-
|
|
3160
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
3161
3161
|
{
|
|
3162
3162
|
...result,
|
|
3163
3163
|
...nextPage ? { next: { page: nextPage } } : {},
|
|
3164
3164
|
render: { sections: [{ title: `run ${resource}`, lines }] }
|
|
3165
3165
|
},
|
|
3166
|
-
{ json:
|
|
3166
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
|
|
3167
3167
|
` }
|
|
3168
3168
|
);
|
|
3169
3169
|
return 0;
|
|
@@ -4870,7 +4870,7 @@ Existing credential redactions and referenced-list previews remain as stored.
|
|
|
4870
4870
|
...text3.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
|
|
4871
4871
|
);
|
|
4872
4872
|
}
|
|
4873
|
-
const response = await new (0,
|
|
4873
|
+
const response = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.getReceipts(runId, {
|
|
4874
4874
|
keys
|
|
4875
4875
|
});
|
|
4876
4876
|
const failed = response.receipts.filter(
|
|
@@ -4882,7 +4882,7 @@ Existing credential redactions and referenced-list previews remain as stored.
|
|
|
4882
4882
|
JSON.stringify(response, null, 2) + "\n",
|
|
4883
4883
|
{ flag: "wx", mode: 384 }
|
|
4884
4884
|
);
|
|
4885
|
-
|
|
4885
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
4886
4886
|
{
|
|
4887
4887
|
runId,
|
|
4888
4888
|
out: options.out,
|
|
@@ -4892,7 +4892,7 @@ Existing credential redactions and referenced-list previews remain as stored.
|
|
|
4892
4892
|
{ json: true }
|
|
4893
4893
|
);
|
|
4894
4894
|
} else {
|
|
4895
|
-
|
|
4895
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
|
|
4896
4896
|
}
|
|
4897
4897
|
if (failed)
|
|
4898
4898
|
process.exitCode = response.receipts.some(
|
|
@@ -4931,7 +4931,7 @@ includes nextCommand when another page is available.
|
|
|
4931
4931
|
{ exitCode: 2 }
|
|
4932
4932
|
);
|
|
4933
4933
|
}
|
|
4934
|
-
const page = await new (0,
|
|
4934
|
+
const page = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.children(parentRunId, {
|
|
4935
4935
|
launchKey: options.launchKey,
|
|
4936
4936
|
...options.cursor !== void 0 ? { cursor: options.cursor } : {},
|
|
4937
4937
|
limit
|
|
@@ -4946,7 +4946,7 @@ includes nextCommand when another page is available.
|
|
|
4946
4946
|
"--limit",
|
|
4947
4947
|
String(limit)
|
|
4948
4948
|
].join(" ") : null;
|
|
4949
|
-
|
|
4949
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
4950
4950
|
{
|
|
4951
4951
|
parentRunId,
|
|
4952
4952
|
launchKey: options.launchKey,
|
|
@@ -4982,7 +4982,7 @@ async function handleRunsHistory(options) {
|
|
|
4982
4982
|
throw new Error("--limit must be a positive integer.");
|
|
4983
4983
|
}
|
|
4984
4984
|
}
|
|
4985
|
-
const page = await new (0,
|
|
4985
|
+
const page = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.history({
|
|
4986
4986
|
cursor: options.cursor,
|
|
4987
4987
|
orgId: options.org,
|
|
4988
4988
|
search: options.search,
|
|
@@ -4998,7 +4998,7 @@ async function handleRunsHistory(options) {
|
|
|
4998
4998
|
);
|
|
4999
4999
|
}
|
|
5000
5000
|
if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
|
|
5001
|
-
|
|
5001
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
5002
5002
|
{ ...page, render: { sections: [{ title: "Run history", lines }] } },
|
|
5003
5003
|
options.json ? { json: true } : {}
|
|
5004
5004
|
);
|
|
@@ -5051,12 +5051,12 @@ async function runRunsRerunCommand(runId, options) {
|
|
|
5051
5051
|
}
|
|
5052
5052
|
}
|
|
5053
5053
|
if (options.notice) console.error(options.notice);
|
|
5054
|
-
const result = await new (0,
|
|
5054
|
+
const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.rerun(runId, {
|
|
5055
5055
|
...idempotencyKey === void 0 ? {} : { idempotencyKey },
|
|
5056
5056
|
...inputOverrides === void 0 ? {} : { inputOverrides }
|
|
5057
5057
|
});
|
|
5058
|
-
if (
|
|
5059
|
-
|
|
5058
|
+
if (_chunkZDQFBJPOjs.shouldEmitJson.call(void 0, options.json)) {
|
|
5059
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
5060
5060
|
} else if (result.rateLimited) {
|
|
5061
5061
|
console.log(`
|
|
5062
5062
|
${result.rateLimited.message}`);
|
|
@@ -5080,7 +5080,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
|
|
|
5080
5080
|
// src/cli/operations/runs-resume.ts
|
|
5081
5081
|
async function runRunsResumeCommand(runId) {
|
|
5082
5082
|
try {
|
|
5083
|
-
const result = await new (0,
|
|
5083
|
+
const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.resume(runId);
|
|
5084
5084
|
if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
|
|
5085
5085
|
throw new Error(
|
|
5086
5086
|
"Invalid resume receipt: expected the requested run and a new positive epoch."
|
|
@@ -5922,13 +5922,13 @@ var RunDataset = class _RunDataset {
|
|
|
5922
5922
|
const absolutePath = _path.resolve.call(void 0, outPath);
|
|
5923
5923
|
_fs.writeFileSync.call(void 0,
|
|
5924
5924
|
absolutePath,
|
|
5925
|
-
`${JSON.stringify(
|
|
5925
|
+
`${JSON.stringify(_chunkPOLUE7D5js.orderRunExportJson.call(void 0, this.rows), null, 2)}
|
|
5926
5926
|
`,
|
|
5927
5927
|
"utf-8"
|
|
5928
5928
|
);
|
|
5929
5929
|
return absolutePath;
|
|
5930
5930
|
}
|
|
5931
|
-
return
|
|
5931
|
+
return _chunkPOLUE7D5js.writeRunDatasetCsv.call(void 0, {
|
|
5932
5932
|
rows: this.rows,
|
|
5933
5933
|
columns: this.#info.columns,
|
|
5934
5934
|
outPath
|
|
@@ -7433,7 +7433,7 @@ function renderOutcome(outcome) {
|
|
|
7433
7433
|
function printResult2(input) {
|
|
7434
7434
|
const failed = input.status === "failed" || input.status === "cancelled";
|
|
7435
7435
|
if (failed) process.exitCode = 1;
|
|
7436
|
-
|
|
7436
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
7437
7437
|
{
|
|
7438
7438
|
deployment: { ...input.deployment, status: input.status },
|
|
7439
7439
|
plays: input.outcomes,
|
|
@@ -7458,7 +7458,7 @@ async function handlePlaysDeploy(directory, options) {
|
|
|
7458
7458
|
const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
|
|
7459
7459
|
throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
|
|
7460
7460
|
});
|
|
7461
|
-
const { http, config } =
|
|
7461
|
+
const { http, config } = _chunkZDQFBJPOjs.getAuthedHttpClient.call(void 0, );
|
|
7462
7462
|
const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
|
|
7463
7463
|
const startDeployment = () => http.post("/api/v2/deployments", {
|
|
7464
7464
|
deliveryId,
|
|
@@ -7485,7 +7485,7 @@ async function handlePlaysDeploy(directory, options) {
|
|
|
7485
7485
|
},
|
|
7486
7486
|
{
|
|
7487
7487
|
bundle: bundleDeployPlayFile,
|
|
7488
|
-
fetchImpl:
|
|
7488
|
+
fetchImpl: _chunkPACD5DGCjs.fetchWithDeploymentProtection,
|
|
7489
7489
|
// The plays are already here: "opening" the source is naming it.
|
|
7490
7490
|
openSource: async () => ({
|
|
7491
7491
|
open: async () => ({ repoRoot: root })
|
|
@@ -7612,7 +7612,7 @@ async function checkLocalPlayGraph(input) {
|
|
|
7612
7612
|
// src/cli/renderers/local-play-execution.ts
|
|
7613
7613
|
function renderLocalPlayExecutionPlan(plan, options = {}) {
|
|
7614
7614
|
if (options.dryRun) {
|
|
7615
|
-
|
|
7615
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
|
|
7616
7616
|
return;
|
|
7617
7617
|
}
|
|
7618
7618
|
process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
|
|
@@ -7784,7 +7784,7 @@ function traceCliSync(phase, fields2, run) {
|
|
|
7784
7784
|
const startedAt = Date.now();
|
|
7785
7785
|
try {
|
|
7786
7786
|
const result = run();
|
|
7787
|
-
|
|
7787
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
7788
7788
|
phase,
|
|
7789
7789
|
ms: Date.now() - startedAt,
|
|
7790
7790
|
ok: true,
|
|
@@ -7792,7 +7792,7 @@ function traceCliSync(phase, fields2, run) {
|
|
|
7792
7792
|
});
|
|
7793
7793
|
return result;
|
|
7794
7794
|
} catch (error) {
|
|
7795
|
-
|
|
7795
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
7796
7796
|
phase,
|
|
7797
7797
|
ms: Date.now() - startedAt,
|
|
7798
7798
|
ok: false,
|
|
@@ -8605,7 +8605,7 @@ function playStatusErrorText(status) {
|
|
|
8605
8605
|
function isRetryablePendingStartFailure(status) {
|
|
8606
8606
|
if (status.status !== "failed") return false;
|
|
8607
8607
|
if (status.runId && status.runId !== "pending") return false;
|
|
8608
|
-
return
|
|
8608
|
+
return _chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
|
|
8609
8609
|
}
|
|
8610
8610
|
function isAmbiguousPlayStartOutcomeError(error) {
|
|
8611
8611
|
if (error instanceof _chunkBBTKAASQjs.DeeplineError && typeof error.statusCode === "number") {
|
|
@@ -8655,13 +8655,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkBBTKAASQjs.Deep
|
|
|
8655
8655
|
}, _class);
|
|
8656
8656
|
function watchSurfaceReaches(state, provenance, level) {
|
|
8657
8657
|
const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
|
|
8658
|
-
if (!
|
|
8658
|
+
if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, level, minimumLevel)) {
|
|
8659
8659
|
return false;
|
|
8660
8660
|
}
|
|
8661
|
-
if (
|
|
8661
|
+
if (_chunkLPJPCGT3js.logProvenanceReaches.call(void 0, provenance, "watch")) {
|
|
8662
8662
|
return true;
|
|
8663
8663
|
}
|
|
8664
|
-
return state.verbose === true &&
|
|
8664
|
+
return state.verbose === true && _chunkLPJPCGT3js.logProvenanceReaches.call(void 0, provenance, "debug");
|
|
8665
8665
|
}
|
|
8666
8666
|
function getEventPayload(event) {
|
|
8667
8667
|
return event.payload && typeof event.payload === "object" ? event.payload : {};
|
|
@@ -9171,7 +9171,7 @@ function resolvePlayRunUrl(input) {
|
|
|
9171
9171
|
}
|
|
9172
9172
|
function openPlayDashboard(url, open2) {
|
|
9173
9173
|
if (open2 && url) {
|
|
9174
|
-
|
|
9174
|
+
_chunkZDQFBJPOjs.openInBrowser.call(void 0, url);
|
|
9175
9175
|
}
|
|
9176
9176
|
}
|
|
9177
9177
|
function printPlayLogLines(input) {
|
|
@@ -9252,7 +9252,7 @@ async function waitForPlayCompletionByWatch(input) {
|
|
|
9252
9252
|
...input.fullJson === void 0 ? {} : { full: input.fullJson }
|
|
9253
9253
|
});
|
|
9254
9254
|
} catch (error) {
|
|
9255
|
-
if (
|
|
9255
|
+
if (_chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
|
|
9256
9256
|
return null;
|
|
9257
9257
|
}
|
|
9258
9258
|
throw error;
|
|
@@ -9333,9 +9333,9 @@ async function waitForPlayCompletionByWatch(input) {
|
|
|
9333
9333
|
signal: controller.signal,
|
|
9334
9334
|
deferLogs: !input.emitLogs,
|
|
9335
9335
|
omitTerminalLogs: !input.emitLogs,
|
|
9336
|
-
...
|
|
9336
|
+
..._chunkW2ZWQUHTjs.isCliTraceEnabled.call(void 0, ) ? {
|
|
9337
9337
|
onPoll: (observation) => {
|
|
9338
|
-
|
|
9338
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9339
9339
|
phase: "play_watch_poll",
|
|
9340
9340
|
workflowId: input.workflowId,
|
|
9341
9341
|
ms: observation.durationMs,
|
|
@@ -9349,7 +9349,7 @@ async function waitForPlayCompletionByWatch(input) {
|
|
|
9349
9349
|
full: input.fullJson,
|
|
9350
9350
|
billing: false,
|
|
9351
9351
|
onStatus: async (status) => {
|
|
9352
|
-
|
|
9352
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9353
9353
|
phase: "play_watch_terminal_status",
|
|
9354
9354
|
workflowId: input.workflowId,
|
|
9355
9355
|
full: input.fullJson === true
|
|
@@ -9438,7 +9438,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9438
9438
|
signal: controller.signal,
|
|
9439
9439
|
cliAdmission: useCliAdmission
|
|
9440
9440
|
});
|
|
9441
|
-
|
|
9441
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9442
9442
|
phase: "cli.play_start_admission_attempt",
|
|
9443
9443
|
ms: Date.now() - postStartedAt,
|
|
9444
9444
|
ok: true,
|
|
@@ -9450,7 +9450,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9450
9450
|
});
|
|
9451
9451
|
break;
|
|
9452
9452
|
} catch (error) {
|
|
9453
|
-
|
|
9453
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9454
9454
|
phase: "cli.play_start_admission_attempt",
|
|
9455
9455
|
ms: Date.now() - postStartedAt,
|
|
9456
9456
|
ok: false,
|
|
@@ -9501,7 +9501,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9501
9501
|
prepared.workflowId
|
|
9502
9502
|
);
|
|
9503
9503
|
}
|
|
9504
|
-
await
|
|
9504
|
+
await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0,
|
|
9505
9505
|
input.client.baseUrl,
|
|
9506
9506
|
input.maintenancePolicy
|
|
9507
9507
|
);
|
|
@@ -9519,7 +9519,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9519
9519
|
`[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
|
|
9520
9520
|
);
|
|
9521
9521
|
}
|
|
9522
|
-
|
|
9522
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9523
9523
|
phase: "cli.play_start_json_retry",
|
|
9524
9524
|
ms: 0,
|
|
9525
9525
|
ok: true,
|
|
@@ -9577,7 +9577,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9577
9577
|
}
|
|
9578
9578
|
await _optionalChain([input, 'access', _348 => _348.onRunStarted, 'optionalCall', _349 => _349(workflowId)]);
|
|
9579
9579
|
await _optionalChain([input, 'access', _350 => _350.onRunAdmitted, 'optionalCall', _351 => _351(workflowId)]);
|
|
9580
|
-
const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => (
|
|
9580
|
+
const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => ( _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, input.client.baseUrl, input.playName)));
|
|
9581
9581
|
const rateLimited = _nullishCoalesce(started.rateLimited, () => ( null));
|
|
9582
9582
|
if (!input.jsonOutput) {
|
|
9583
9583
|
writeStartedPlayRun({
|
|
@@ -9599,7 +9599,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9599
9599
|
_nullishCoalesce(input.open, () => ( false))
|
|
9600
9600
|
);
|
|
9601
9601
|
input.progress.phase("running");
|
|
9602
|
-
|
|
9602
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9603
9603
|
phase: "cli.play_start_admitted",
|
|
9604
9604
|
ms: Date.now() - startedAt,
|
|
9605
9605
|
ok: true,
|
|
@@ -9617,7 +9617,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9617
9617
|
startedAt,
|
|
9618
9618
|
waitTimeoutMs: input.waitTimeoutMs
|
|
9619
9619
|
});
|
|
9620
|
-
const initialStatus =
|
|
9620
|
+
const initialStatus = _chunkLPJPCGT3js.normalizePlayStatus.call(void 0, initialTerminal);
|
|
9621
9621
|
const status2 = await resolvePlayRunOutputStatus({
|
|
9622
9622
|
client: input.client,
|
|
9623
9623
|
status: initialStatus,
|
|
@@ -9625,7 +9625,7 @@ async function startAndWaitForPlayCompletion(input) {
|
|
|
9625
9625
|
jsonOutput: input.jsonOutput,
|
|
9626
9626
|
fromDurableStatus: true
|
|
9627
9627
|
});
|
|
9628
|
-
|
|
9628
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9629
9629
|
phase: "play_watch_terminal_status",
|
|
9630
9630
|
workflowId,
|
|
9631
9631
|
full: true,
|
|
@@ -9730,7 +9730,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
|
|
|
9730
9730
|
});
|
|
9731
9731
|
}
|
|
9732
9732
|
if (error instanceof _chunkSL6MYJYMjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
|
|
9733
|
-
await
|
|
9733
|
+
await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0,
|
|
9734
9734
|
input.client.baseUrl,
|
|
9735
9735
|
input.maintenancePolicy,
|
|
9736
9736
|
admissionDeadline.signal
|
|
@@ -9771,7 +9771,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
|
|
|
9771
9771
|
`[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
|
|
9772
9772
|
);
|
|
9773
9773
|
}
|
|
9774
|
-
|
|
9774
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9775
9775
|
phase: "cli.play_start_stream_retry",
|
|
9776
9776
|
ms: 0,
|
|
9777
9777
|
ok: true,
|
|
@@ -9792,7 +9792,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
|
|
|
9792
9792
|
`[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
|
|
9793
9793
|
);
|
|
9794
9794
|
}
|
|
9795
|
-
|
|
9795
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9796
9796
|
phase: "cli.play_start_stream_retry",
|
|
9797
9797
|
ms: 0,
|
|
9798
9798
|
ok: true,
|
|
@@ -9822,7 +9822,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
|
|
|
9822
9822
|
}
|
|
9823
9823
|
async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
9824
9824
|
const startedAt = Date.now();
|
|
9825
|
-
const dashboardUrl =
|
|
9825
|
+
const dashboardUrl = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0,
|
|
9826
9826
|
input.client.baseUrl,
|
|
9827
9827
|
input.playName
|
|
9828
9828
|
);
|
|
@@ -9849,7 +9849,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
9849
9849
|
if (launchConfirmed || !runId || runId === "pending") return;
|
|
9850
9850
|
launchConfirmed = true;
|
|
9851
9851
|
await _optionalChain([input, 'access', _362 => _362.onRunAdmitted, 'optionalCall', _363 => _363(runId)]);
|
|
9852
|
-
|
|
9852
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
9853
9853
|
phase: "cli.play_start_admitted",
|
|
9854
9854
|
ms: Date.now() - startedAt,
|
|
9855
9855
|
ok: true,
|
|
@@ -9883,7 +9883,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
9883
9883
|
full: input.fullJson
|
|
9884
9884
|
});
|
|
9885
9885
|
} catch (error) {
|
|
9886
|
-
if (
|
|
9886
|
+
if (_chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
|
|
9887
9887
|
return null;
|
|
9888
9888
|
}
|
|
9889
9889
|
throw error;
|
|
@@ -10054,7 +10054,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10054
10054
|
};
|
|
10055
10055
|
}
|
|
10056
10056
|
if (!canonicalTerminal) {
|
|
10057
|
-
|
|
10057
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10058
10058
|
phase: "cli.play_start_stream_stale_terminal_ignored",
|
|
10059
10059
|
ms: Date.now() - startedAt,
|
|
10060
10060
|
ok: true,
|
|
@@ -10075,14 +10075,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10075
10075
|
fromDurableStatus
|
|
10076
10076
|
}) : canonicalTerminal;
|
|
10077
10077
|
if (input.fullJson === true) {
|
|
10078
|
-
|
|
10078
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10079
10079
|
phase: "play_watch_terminal_status",
|
|
10080
10080
|
workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
|
|
10081
10081
|
full: true,
|
|
10082
10082
|
source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
|
|
10083
10083
|
});
|
|
10084
10084
|
}
|
|
10085
|
-
|
|
10085
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10086
10086
|
phase: "cli.play_start_stream_terminal",
|
|
10087
10087
|
ms: Date.now() - startedAt,
|
|
10088
10088
|
ok: true,
|
|
@@ -10102,7 +10102,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10102
10102
|
clearTimeout(timeout);
|
|
10103
10103
|
}
|
|
10104
10104
|
controller.abort();
|
|
10105
|
-
|
|
10105
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10106
10106
|
phase: "cli.play_start_stream_handoff_to_tail",
|
|
10107
10107
|
ms: Date.now() - startedAt,
|
|
10108
10108
|
ok: true,
|
|
@@ -10133,7 +10133,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10133
10133
|
if (timedOut) {
|
|
10134
10134
|
const terminal = await fetchKnownTerminalStatus();
|
|
10135
10135
|
if (terminal) {
|
|
10136
|
-
|
|
10136
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10137
10137
|
phase: "cli.play_start_stream_timeout_status_reconcile",
|
|
10138
10138
|
ms: Date.now() - startedAt,
|
|
10139
10139
|
ok: true,
|
|
@@ -10153,7 +10153,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10153
10153
|
lastPhase
|
|
10154
10154
|
});
|
|
10155
10155
|
}
|
|
10156
|
-
if (lastKnownWorkflowId && (terminalWindowExpired ||
|
|
10156
|
+
if (lastKnownWorkflowId && (terminalWindowExpired || _chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, error))) {
|
|
10157
10157
|
if (timeout) {
|
|
10158
10158
|
clearTimeout(timeout);
|
|
10159
10159
|
}
|
|
@@ -10164,7 +10164,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10164
10164
|
`
|
|
10165
10165
|
);
|
|
10166
10166
|
}
|
|
10167
|
-
|
|
10167
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10168
10168
|
phase: "cli.play_start_stream_reconnect",
|
|
10169
10169
|
ms: Date.now() - startedAt,
|
|
10170
10170
|
ok: true,
|
|
@@ -10191,7 +10191,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10191
10191
|
});
|
|
10192
10192
|
}
|
|
10193
10193
|
if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
|
|
10194
|
-
|
|
10194
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10195
10195
|
phase: "cli.play_start_stream_transient_failure",
|
|
10196
10196
|
ms: Date.now() - startedAt,
|
|
10197
10197
|
ok: false,
|
|
@@ -10219,7 +10219,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
|
|
|
10219
10219
|
`[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
|
|
10220
10220
|
);
|
|
10221
10221
|
}
|
|
10222
|
-
|
|
10222
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
10223
10223
|
phase: "cli.play_start_stream_reconnect",
|
|
10224
10224
|
ms: Date.now() - startedAt,
|
|
10225
10225
|
ok: true,
|
|
@@ -10299,7 +10299,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
|
|
|
10299
10299
|
"logs"
|
|
10300
10300
|
]);
|
|
10301
10301
|
function formatPlayLogLine(rawLine, state) {
|
|
10302
|
-
const classified =
|
|
10302
|
+
const classified = _chunkLPJPCGT3js.classifyLogLine.call(void 0, rawLine);
|
|
10303
10303
|
const line = classified.line;
|
|
10304
10304
|
const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
|
|
10305
10305
|
const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _385 => _385[1]]) ? new Date(timestampMatch[1]) : null;
|
|
@@ -10314,14 +10314,14 @@ function formatPlayLogLine(rawLine, state) {
|
|
|
10314
10314
|
if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
|
|
10315
10315
|
const providerWait = formatProviderCapacityWaitLogLine(line);
|
|
10316
10316
|
if (providerWait && !state.verbose) {
|
|
10317
|
-
return
|
|
10317
|
+
return _chunkLPJPCGT3js.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
|
|
10318
10318
|
}
|
|
10319
10319
|
const mapProgress = formatMapProgressDiagnosticLogLine(line);
|
|
10320
10320
|
if (mapProgress && !state.verbose) {
|
|
10321
|
-
return
|
|
10321
|
+
return _chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
|
|
10322
10322
|
}
|
|
10323
10323
|
if (/\[worker\] picked up run\b/.test(message)) {
|
|
10324
|
-
if (!
|
|
10324
|
+
if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
|
|
10325
10325
|
return null;
|
|
10326
10326
|
}
|
|
10327
10327
|
if (state.emittedRunnerStarted) {
|
|
@@ -10334,7 +10334,7 @@ function formatPlayLogLine(rawLine, state) {
|
|
|
10334
10334
|
/^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
|
|
10335
10335
|
);
|
|
10336
10336
|
if (mapStart) {
|
|
10337
|
-
if (!
|
|
10337
|
+
if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
|
|
10338
10338
|
return null;
|
|
10339
10339
|
}
|
|
10340
10340
|
const [, rows, fields2, namespace, cached, pending] = mapStart;
|
|
@@ -10344,7 +10344,7 @@ function formatPlayLogLine(rawLine, state) {
|
|
|
10344
10344
|
/^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
|
|
10345
10345
|
);
|
|
10346
10346
|
if (mapDone) {
|
|
10347
|
-
if (!
|
|
10347
|
+
if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
|
|
10348
10348
|
return null;
|
|
10349
10349
|
}
|
|
10350
10350
|
const [, results, executed, cached] = mapDone;
|
|
@@ -11666,7 +11666,7 @@ function formatRecentRunLogLines(value) {
|
|
|
11666
11666
|
(line) => typeof line === "string"
|
|
11667
11667
|
);
|
|
11668
11668
|
if (tail.length === 0) return [];
|
|
11669
|
-
const shown = tail.map((line) =>
|
|
11669
|
+
const shown = tail.map((line) => _chunkLPJPCGT3js.classifyLogLine.call(void 0, line)).filter(
|
|
11670
11670
|
(entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
|
|
11671
11671
|
).slice(-8);
|
|
11672
11672
|
const total = readNonNegativeInteger(logs.totalCount);
|
|
@@ -11971,11 +11971,11 @@ function buildPlayCompletionTextLines(status) {
|
|
|
11971
11971
|
}
|
|
11972
11972
|
function writePlayResult(status, jsonOutput, options) {
|
|
11973
11973
|
const packaged = getPlayRunPackage(status);
|
|
11974
|
-
if (status.package)
|
|
11974
|
+
if (status.package) _chunkPOLUE7D5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
|
|
11975
11975
|
const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _476 => _476.hits]), () => ( null));
|
|
11976
11976
|
if (jsonOutput) {
|
|
11977
11977
|
const payload2 = _optionalChain([options, 'optionalAccess', _477 => _477.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
|
|
11978
|
-
|
|
11978
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
11979
11979
|
hits ? { ...payload2, hits } : payload2,
|
|
11980
11980
|
{ json: true, fields: _optionalChain([options, 'optionalAccess', _478 => _478.jsonFields]) }
|
|
11981
11981
|
);
|
|
@@ -11991,7 +11991,7 @@ function writePlayResult(status, jsonOutput, options) {
|
|
|
11991
11991
|
...buildPlayCompletionTextLines(status),
|
|
11992
11992
|
...formatRunHitsLines(hits)
|
|
11993
11993
|
];
|
|
11994
|
-
|
|
11994
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, displayPackage, {
|
|
11995
11995
|
json: false,
|
|
11996
11996
|
text: `${lines2.join("\n")}
|
|
11997
11997
|
`
|
|
@@ -12041,7 +12041,7 @@ function writePlayResult(status, jsonOutput, options) {
|
|
|
12041
12041
|
lines.push(...buildBillingRollupTextLines(status));
|
|
12042
12042
|
const compact = compactPlayStatus(status);
|
|
12043
12043
|
const payload = _optionalChain([options, 'optionalAccess', _480 => _480.fullJson]) ? status : compact;
|
|
12044
|
-
|
|
12044
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
12045
12045
|
{
|
|
12046
12046
|
...payload,
|
|
12047
12047
|
render: {
|
|
@@ -12265,7 +12265,7 @@ async function fetchBackingDatasetRows(input) {
|
|
|
12265
12265
|
}
|
|
12266
12266
|
offset += page.rows.length;
|
|
12267
12267
|
}
|
|
12268
|
-
const withError =
|
|
12268
|
+
const withError = _chunkPOLUE7D5js.tableExportHasFailedRows.call(void 0,
|
|
12269
12269
|
sheetRows.filter(
|
|
12270
12270
|
(row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
|
|
12271
12271
|
)
|
|
@@ -12281,7 +12281,7 @@ async function fetchBackingDatasetRows(input) {
|
|
|
12281
12281
|
return [
|
|
12282
12282
|
withError ? {
|
|
12283
12283
|
...exported,
|
|
12284
|
-
[
|
|
12284
|
+
[_chunkPOLUE7D5js.TABLE_EXPORT_ERROR_COLUMN]: _chunkPOLUE7D5js.tableExportErrorCell.call(void 0,
|
|
12285
12285
|
row
|
|
12286
12286
|
)
|
|
12287
12287
|
} : exported
|
|
@@ -12816,7 +12816,7 @@ function renderServerResultView(value) {
|
|
|
12816
12816
|
function writeStartedPlayRun(input) {
|
|
12817
12817
|
if (input.package && isPlayRunPackageValue(input.package)) {
|
|
12818
12818
|
const run = input.package.run;
|
|
12819
|
-
|
|
12819
|
+
_chunkPOLUE7D5js.recordPlayTermination.call(void 0, {
|
|
12820
12820
|
id: run.id,
|
|
12821
12821
|
status: run.status,
|
|
12822
12822
|
finishedAt: run.finishedAt
|
|
@@ -12829,7 +12829,7 @@ function writeStartedPlayRun(input) {
|
|
|
12829
12829
|
dashboardUrl: input.dashboardUrl,
|
|
12830
12830
|
package: input.package
|
|
12831
12831
|
};
|
|
12832
|
-
|
|
12832
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
|
|
12833
12833
|
json: true,
|
|
12834
12834
|
fields: input.jsonFields
|
|
12835
12835
|
});
|
|
@@ -12851,7 +12851,7 @@ function writeStartedPlayRun(input) {
|
|
|
12851
12851
|
input.progress.writeLine(output2, process.stdout);
|
|
12852
12852
|
return;
|
|
12853
12853
|
}
|
|
12854
|
-
|
|
12854
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, input.package, {
|
|
12855
12855
|
json: false,
|
|
12856
12856
|
text: `${output2}
|
|
12857
12857
|
`
|
|
@@ -12886,7 +12886,7 @@ function writeStartedPlayRun(input) {
|
|
|
12886
12886
|
) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
|
|
12887
12887
|
];
|
|
12888
12888
|
if (input.jsonOutput) {
|
|
12889
|
-
|
|
12889
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
|
|
12890
12890
|
return;
|
|
12891
12891
|
}
|
|
12892
12892
|
const output = lines.join("\n");
|
|
@@ -12894,7 +12894,7 @@ function writeStartedPlayRun(input) {
|
|
|
12894
12894
|
input.progress.writeLine(output, process.stdout);
|
|
12895
12895
|
return;
|
|
12896
12896
|
}
|
|
12897
|
-
|
|
12897
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
12898
12898
|
{
|
|
12899
12899
|
...payload,
|
|
12900
12900
|
render: { sections: [{ title: "play run", lines }] }
|
|
@@ -12904,7 +12904,7 @@ function writeStartedPlayRun(input) {
|
|
|
12904
12904
|
);
|
|
12905
12905
|
}
|
|
12906
12906
|
function parsePlayCheckOptions(args) {
|
|
12907
|
-
const selection =
|
|
12907
|
+
const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0, args, "check");
|
|
12908
12908
|
args = selection.args;
|
|
12909
12909
|
const target = args[0];
|
|
12910
12910
|
if (!target || target.startsWith("-")) {
|
|
@@ -12916,7 +12916,7 @@ function parsePlayCheckOptions(args) {
|
|
|
12916
12916
|
if (arg !== "--json" && arg !== "--full")
|
|
12917
12917
|
throw new Error(`Unknown plays check option: ${arg}`);
|
|
12918
12918
|
}
|
|
12919
|
-
const jsonOutput =
|
|
12919
|
+
const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
12920
12920
|
return {
|
|
12921
12921
|
target,
|
|
12922
12922
|
jsonOutput,
|
|
@@ -12992,7 +12992,7 @@ ${PLAY_PUBLISH_USAGE}`
|
|
|
12992
12992
|
useLatest,
|
|
12993
12993
|
expectedArtifactHash,
|
|
12994
12994
|
dryRun,
|
|
12995
|
-
jsonOutput:
|
|
12995
|
+
jsonOutput: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args)
|
|
12996
12996
|
};
|
|
12997
12997
|
}
|
|
12998
12998
|
var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--watch-play <play-reference>] [--dry-run] [--json]\nUse --watch-play to show invalid source on your own open working canvas while keeping the last valid diagram.";
|
|
@@ -13041,7 +13041,7 @@ ${PLAY_SAVE_USAGE}`);
|
|
|
13041
13041
|
expectedArtifactHash,
|
|
13042
13042
|
watchPlay,
|
|
13043
13043
|
dryRun,
|
|
13044
|
-
jsonOutput:
|
|
13044
|
+
jsonOutput: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args)
|
|
13045
13045
|
};
|
|
13046
13046
|
}
|
|
13047
13047
|
function printScheduledPlayCapacity(capacity) {
|
|
@@ -13230,7 +13230,7 @@ function printBundledRuntimeWarning(bundle) {
|
|
|
13230
13230
|
async function handlePlayCheck(args) {
|
|
13231
13231
|
const options = parsePlayCheckOptions(args);
|
|
13232
13232
|
if (!isFileTarget(options.target)) {
|
|
13233
|
-
const client = new (0,
|
|
13233
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
13234
13234
|
try {
|
|
13235
13235
|
await assertCanonicalNamedPlayReference(client, options.target, {
|
|
13236
13236
|
command: "check"
|
|
@@ -13259,7 +13259,7 @@ async function handlePlayCheck(args) {
|
|
|
13259
13259
|
},
|
|
13260
13260
|
...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
|
|
13261
13261
|
};
|
|
13262
|
-
|
|
13262
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result, {
|
|
13263
13263
|
json: options.jsonOutput,
|
|
13264
13264
|
fields: options.jsonFields,
|
|
13265
13265
|
text: renderPlayCheckOutput(result) + "\n"
|
|
@@ -13269,7 +13269,7 @@ async function handlePlayCheck(args) {
|
|
|
13269
13269
|
const resolved = _path.resolve.call(void 0, options.target);
|
|
13270
13270
|
const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
|
|
13271
13271
|
if (options.jsonOutput) {
|
|
13272
|
-
|
|
13272
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
13273
13273
|
{
|
|
13274
13274
|
kind: "play_check",
|
|
13275
13275
|
checked: "named_contract",
|
|
@@ -13303,7 +13303,7 @@ async function handlePlayCheck(args) {
|
|
|
13303
13303
|
full: options.full,
|
|
13304
13304
|
publishCommand: _optionalChain([primary, 'optionalAccess', _530 => _530.result, 'access', _531 => _531.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
|
|
13305
13305
|
});
|
|
13306
|
-
|
|
13306
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, output, {
|
|
13307
13307
|
json: options.jsonOutput,
|
|
13308
13308
|
fields: options.jsonFields,
|
|
13309
13309
|
jsonLayout: "readable",
|
|
@@ -13375,7 +13375,7 @@ async function checkOneExportedPlay(input) {
|
|
|
13375
13375
|
}
|
|
13376
13376
|
const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
|
|
13377
13377
|
const authoringErrors = collectPlayGraphAuthoringErrors(graph);
|
|
13378
|
-
const client = _nullishCoalesce(input.client, () => ( new (0,
|
|
13378
|
+
const client = _nullishCoalesce(input.client, () => ( new (0, _chunkQM6Y6S4Ejs.DeeplineClient)()));
|
|
13379
13379
|
const integrationMode = resolveEvalIntegrationMode();
|
|
13380
13380
|
const checked = await checkLocalPlayGraph({
|
|
13381
13381
|
client,
|
|
@@ -13437,8 +13437,8 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13437
13437
|
let prefetchClient;
|
|
13438
13438
|
let admissionCapability;
|
|
13439
13439
|
let cancelAdmissionCapability;
|
|
13440
|
-
let cliAdmission =
|
|
13441
|
-
const progress = _nullishCoalesce(
|
|
13440
|
+
let cliAdmission = _chunk5VVSEU67js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
|
|
13441
|
+
const progress = _nullishCoalesce(_chunk54EEYLTFjs.getActiveCliProgress.call(void 0, ), () => ( _chunk54EEYLTFjs.createCliProgress.call(void 0, !options.jsonOutput)));
|
|
13442
13442
|
const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _540 => _540.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
|
|
13443
13443
|
const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
|
|
13444
13444
|
progress.phase("compiling play");
|
|
@@ -13455,11 +13455,11 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13455
13455
|
return 1;
|
|
13456
13456
|
}
|
|
13457
13457
|
if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
|
|
13458
|
-
const clientForPrefetch = new (0,
|
|
13458
|
+
const clientForPrefetch = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)(playRunClientOptions(options));
|
|
13459
13459
|
prefetchClient = clientForPrefetch;
|
|
13460
13460
|
const capabilityController = new AbortController();
|
|
13461
13461
|
cancelAdmissionCapability = () => capabilityController.abort();
|
|
13462
|
-
admissionCapability =
|
|
13462
|
+
admissionCapability = _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13463
13463
|
"cli.play_admission_capability_prefetch",
|
|
13464
13464
|
{ targetKind: "file" },
|
|
13465
13465
|
() => clientForPrefetch.prefetchPlayRunAdmissionCapability({
|
|
@@ -13470,7 +13470,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13470
13470
|
}
|
|
13471
13471
|
let graph;
|
|
13472
13472
|
try {
|
|
13473
|
-
graph = await
|
|
13473
|
+
graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13474
13474
|
"cli.play_file_bundle_graph",
|
|
13475
13475
|
{ targetKind: "file" },
|
|
13476
13476
|
() => collectBundledPlayGraph(
|
|
@@ -13483,7 +13483,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13483
13483
|
assertPlayGraphAuthoring(graph);
|
|
13484
13484
|
if (options.dryRun) {
|
|
13485
13485
|
progress.complete();
|
|
13486
|
-
const plan =
|
|
13486
|
+
const plan = _chunkZCDKE4UHjs.planLocalPlayExecution.call(void 0, graph, {
|
|
13487
13487
|
runIdFile: options.runIdFile
|
|
13488
13488
|
});
|
|
13489
13489
|
if (_optionalChain([hooks, 'optionalAccess', _541 => _541.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
|
|
@@ -13494,9 +13494,9 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13494
13494
|
});
|
|
13495
13495
|
return 0;
|
|
13496
13496
|
}
|
|
13497
|
-
client = _nullishCoalesce(prefetchClient, () => ( new (0,
|
|
13497
|
+
client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkQM6Y6S4Ejs.DeeplineClient)(playRunClientOptions(options))));
|
|
13498
13498
|
if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
|
|
13499
|
-
await
|
|
13499
|
+
await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0,
|
|
13500
13500
|
client.baseUrl,
|
|
13501
13501
|
options.maintenancePolicy
|
|
13502
13502
|
);
|
|
@@ -13509,7 +13509,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13509
13509
|
});
|
|
13510
13510
|
const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
|
|
13511
13511
|
if (canDeferCompilerManifest) {
|
|
13512
|
-
|
|
13512
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
13513
13513
|
phase: "cli.play_file_compile_manifests",
|
|
13514
13514
|
ms: 0,
|
|
13515
13515
|
ok: true,
|
|
@@ -13518,7 +13518,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13518
13518
|
reason: "validated_by_run_route"
|
|
13519
13519
|
});
|
|
13520
13520
|
} else {
|
|
13521
|
-
await
|
|
13521
|
+
await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13522
13522
|
"cli.play_file_compile_manifests",
|
|
13523
13523
|
{ targetKind: "file", skipped: false },
|
|
13524
13524
|
() => compileBundledPlayGraphManifests(client, graph)
|
|
@@ -13526,7 +13526,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13526
13526
|
}
|
|
13527
13527
|
progress.phase("compiled play");
|
|
13528
13528
|
} catch (error) {
|
|
13529
|
-
if (error instanceof
|
|
13529
|
+
if (error instanceof _chunkPOLUE7D5js.ExecutionOutputError) throw error;
|
|
13530
13530
|
progress.fail();
|
|
13531
13531
|
reportError(normalizePlayValidationError(error));
|
|
13532
13532
|
return 1;
|
|
@@ -13537,13 +13537,13 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13537
13537
|
if (bundleResult.importedPlayDependencies.length > 0) {
|
|
13538
13538
|
try {
|
|
13539
13539
|
renderLocalPlayExecutionPlan(
|
|
13540
|
-
|
|
13540
|
+
_chunkZCDKE4UHjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
|
|
13541
13541
|
);
|
|
13542
13542
|
progress.phase("pinning imported plays");
|
|
13543
|
-
graph = await
|
|
13543
|
+
graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13544
13544
|
"cli.play_file_pin_imports",
|
|
13545
13545
|
{ targetKind: "file" },
|
|
13546
|
-
() =>
|
|
13546
|
+
() => _chunkZCDKE4UHjs.pinLocalPlayImports.call(void 0, client, graph)
|
|
13547
13547
|
);
|
|
13548
13548
|
bundleResult = graph.root;
|
|
13549
13549
|
} catch (error) {
|
|
@@ -13560,7 +13560,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13560
13560
|
inputSchema: _optionalChain([compilerManifest, 'optionalAccess', _542 => _542.authoringContract, 'optionalAccess', _543 => _543.inputSchema]),
|
|
13561
13561
|
staticPipeline: _optionalChain([compilerManifest, 'optionalAccess', _544 => _544.staticPipeline])
|
|
13562
13562
|
});
|
|
13563
|
-
const stagedFileInputs = await
|
|
13563
|
+
const stagedFileInputs = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13564
13564
|
"cli.play_stage_inputs",
|
|
13565
13565
|
{
|
|
13566
13566
|
targetKind: "file",
|
|
@@ -13611,7 +13611,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13611
13611
|
};
|
|
13612
13612
|
if (options.watch) {
|
|
13613
13613
|
progress.phase("starting run");
|
|
13614
|
-
const finalStatus = await
|
|
13614
|
+
const finalStatus = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13615
13615
|
"cli.play_start_watch",
|
|
13616
13616
|
{ targetKind: "file", playName },
|
|
13617
13617
|
() => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
|
|
@@ -13673,7 +13673,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13673
13673
|
return outputStatus.status === "completed" ? 0 : 1;
|
|
13674
13674
|
}
|
|
13675
13675
|
progress.phase("starting run");
|
|
13676
|
-
const started = await
|
|
13676
|
+
const started = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13677
13677
|
"cli.play_start_unwatched",
|
|
13678
13678
|
{ targetKind: "file", playName },
|
|
13679
13679
|
() => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _551 => _551.onSubmission]) }).catch(async (error) => {
|
|
@@ -13682,7 +13682,7 @@ async function handleFileBackedRun(options, hooks) {
|
|
|
13682
13682
|
);
|
|
13683
13683
|
await _optionalChain([hooks, 'optionalAccess', _552 => _552.onRunStarted, 'optionalCall', _553 => _553(started.workflowId)]);
|
|
13684
13684
|
await _optionalChain([hooks, 'optionalAccess', _554 => _554.onRunAdmitted, 'optionalCall', _555 => _555(started.workflowId)]);
|
|
13685
|
-
const resolvedDashboardUrl =
|
|
13685
|
+
const resolvedDashboardUrl = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
|
|
13686
13686
|
openPlayDashboard(
|
|
13687
13687
|
resolvePlayRunUrl({
|
|
13688
13688
|
runId: started.workflowId,
|
|
@@ -13739,9 +13739,9 @@ async function handleNamedRun(options, hooks) {
|
|
|
13739
13739
|
if (options.target.kind !== "name") {
|
|
13740
13740
|
throw new Error("Expected a named play run target.");
|
|
13741
13741
|
}
|
|
13742
|
-
const client = new (0,
|
|
13743
|
-
let cliAdmission =
|
|
13744
|
-
const progress = _nullishCoalesce(
|
|
13742
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)(playRunClientOptions(options));
|
|
13743
|
+
let cliAdmission = _chunk5VVSEU67js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
|
|
13744
|
+
const progress = _nullishCoalesce(_chunk54EEYLTFjs.getActiveCliProgress.call(void 0, ), () => ( _chunk54EEYLTFjs.createCliProgress.call(void 0, !options.jsonOutput)));
|
|
13745
13745
|
const playName = options.target.name;
|
|
13746
13746
|
const runtimeInput = options.input ? { ...options.input } : {};
|
|
13747
13747
|
try {
|
|
@@ -13759,7 +13759,7 @@ async function handleNamedRun(options, hooks) {
|
|
|
13759
13759
|
if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
|
|
13760
13760
|
const capabilityController = new AbortController();
|
|
13761
13761
|
cancelAdmissionCapability = () => capabilityController.abort();
|
|
13762
|
-
admissionCapability =
|
|
13762
|
+
admissionCapability = _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13763
13763
|
"cli.play_admission_capability_prefetch",
|
|
13764
13764
|
{ targetKind: "name", playName },
|
|
13765
13765
|
() => client.prefetchPlayRunAdmissionCapability({
|
|
@@ -13770,14 +13770,14 @@ async function handleNamedRun(options, hooks) {
|
|
|
13770
13770
|
}
|
|
13771
13771
|
const playDetail = needsPlayDefinition ? await (async () => {
|
|
13772
13772
|
progress.phase("loading play definition");
|
|
13773
|
-
return
|
|
13773
|
+
return _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13774
13774
|
"cli.play_load_definition",
|
|
13775
13775
|
{ targetKind: "name", playName, skipped: false },
|
|
13776
13776
|
() => assertCanonicalNamedPlayReference(client, playName, {
|
|
13777
13777
|
command: "run"
|
|
13778
13778
|
})
|
|
13779
13779
|
);
|
|
13780
|
-
})() : (
|
|
13780
|
+
})() : (_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
13781
13781
|
phase: "cli.play_load_definition",
|
|
13782
13782
|
ms: 0,
|
|
13783
13783
|
ok: true,
|
|
@@ -13786,7 +13786,7 @@ async function handleNamedRun(options, hooks) {
|
|
|
13786
13786
|
skipped: true
|
|
13787
13787
|
}), null);
|
|
13788
13788
|
progress.phase("selecting revision");
|
|
13789
|
-
const selectedRevisionId = await
|
|
13789
|
+
const selectedRevisionId = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13790
13790
|
"cli.play_select_revision",
|
|
13791
13791
|
{
|
|
13792
13792
|
targetKind: "name",
|
|
@@ -13811,10 +13811,10 @@ async function handleNamedRun(options, hooks) {
|
|
|
13811
13811
|
..._chunkSL6MYJYMjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
|
|
13812
13812
|
] : [];
|
|
13813
13813
|
if (cliAdmission && fileInputBindings.length > 0) {
|
|
13814
|
-
await
|
|
13814
|
+
await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
|
|
13815
13815
|
cliAdmission = false;
|
|
13816
13816
|
}
|
|
13817
|
-
const stagedFileInputs = await
|
|
13817
|
+
const stagedFileInputs = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13818
13818
|
"cli.play_stage_inputs",
|
|
13819
13819
|
{
|
|
13820
13820
|
targetKind: "name",
|
|
@@ -13859,7 +13859,7 @@ async function handleNamedRun(options, hooks) {
|
|
|
13859
13859
|
});
|
|
13860
13860
|
if (options.watch) {
|
|
13861
13861
|
progress.phase("starting run");
|
|
13862
|
-
const finalStatus = await
|
|
13862
|
+
const finalStatus = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13863
13863
|
"cli.play_start_watch",
|
|
13864
13864
|
{ targetKind: "name", playName },
|
|
13865
13865
|
() => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
|
|
@@ -13924,7 +13924,7 @@ async function handleNamedRun(options, hooks) {
|
|
|
13924
13924
|
return outputStatus.status === "completed" ? 0 : 1;
|
|
13925
13925
|
}
|
|
13926
13926
|
progress.phase("starting run");
|
|
13927
|
-
const started = await
|
|
13927
|
+
const started = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
13928
13928
|
"cli.play_start_unwatched",
|
|
13929
13929
|
{ targetKind: "name", playName },
|
|
13930
13930
|
() => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _564 => _564.onSubmission]) }).catch(async (error) => {
|
|
@@ -13935,7 +13935,7 @@ async function handleNamedRun(options, hooks) {
|
|
|
13935
13935
|
);
|
|
13936
13936
|
await _optionalChain([hooks, 'optionalAccess', _565 => _565.onRunStarted, 'optionalCall', _566 => _566(started.workflowId)]);
|
|
13937
13937
|
await _optionalChain([hooks, 'optionalAccess', _567 => _567.onRunAdmitted, 'optionalCall', _568 => _568(started.workflowId)]);
|
|
13938
|
-
const resolvedDashboardUrl =
|
|
13938
|
+
const resolvedDashboardUrl = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
|
|
13939
13939
|
openPlayDashboard(
|
|
13940
13940
|
resolvePlayRunUrl({
|
|
13941
13941
|
runId: started.workflowId,
|
|
@@ -13984,11 +13984,11 @@ async function writePlayRunReceipt(client, status, output) {
|
|
|
13984
13984
|
const next = { status: `deepline runs get ${status.runId}` };
|
|
13985
13985
|
const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _572 => _572.exec, 'call', _573 => _573(status.runId), 'optionalAccess', _574 => _574[1]]), () => ( extractRunPlayName(status))), () => ( null));
|
|
13986
13986
|
if (!terminal) {
|
|
13987
|
-
|
|
13987
|
+
_chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
|
|
13988
13988
|
{
|
|
13989
13989
|
id: status.runId,
|
|
13990
13990
|
status: status.status,
|
|
13991
|
-
...playName ? { page:
|
|
13991
|
+
...playName ? { page: _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
|
|
13992
13992
|
next
|
|
13993
13993
|
},
|
|
13994
13994
|
output
|
|
@@ -14064,10 +14064,10 @@ async function writePlayRunReceipt(client, status, output) {
|
|
|
14064
14064
|
};
|
|
14065
14065
|
}
|
|
14066
14066
|
const byRows = new Map(collections.map((c) => [c.rows, c]));
|
|
14067
|
-
const allCollections =
|
|
14067
|
+
const allCollections = _chunkPOLUE7D5js.outputCollections.call(void 0, data).map(
|
|
14068
14068
|
(collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
|
|
14069
14069
|
);
|
|
14070
|
-
|
|
14070
|
+
_chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
|
|
14071
14071
|
{
|
|
14072
14072
|
id: status.runId,
|
|
14073
14073
|
status: status.status,
|
|
@@ -14076,7 +14076,7 @@ async function writePlayRunReceipt(client, status, output) {
|
|
|
14076
14076
|
complete: allCollections.every((c) => c.complete === true) ? true : allCollections.some((c) => c.complete === false) ? false : null,
|
|
14077
14077
|
error,
|
|
14078
14078
|
credits: _nullishCoalesce(_nullishCoalesce(status.billingTotalCreditsRollup, () => ( _optionalChain([status, 'access', _581 => _581.billing, 'optionalAccess', _582 => _582.totalCredits]))), () => ( null)),
|
|
14079
|
-
...playName ? { page:
|
|
14079
|
+
...playName ? { page: _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
|
|
14080
14080
|
warnings: [
|
|
14081
14081
|
...buildRunWarnings(status, null),
|
|
14082
14082
|
...status.status === "completed" && collections.length && collections.every((collection) => collection.rows.length === 0) ? ["Run completed with 0 output rows."] : []
|
|
@@ -14088,7 +14088,7 @@ async function writePlayRunReceipt(client, status, output) {
|
|
|
14088
14088
|
}
|
|
14089
14089
|
var TOOL_EXECUTION_ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
14090
14090
|
async function handlePlayRun(args, hooks) {
|
|
14091
|
-
const parsedOptions = Array.isArray(args) ?
|
|
14091
|
+
const parsedOptions = Array.isArray(args) ? _chunkXYE5XPGFjs.parsePlayRunOptions.call(void 0, args) : args;
|
|
14092
14092
|
const options = parsedOptions.runIdFile ? {
|
|
14093
14093
|
...parsedOptions,
|
|
14094
14094
|
runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
|
|
@@ -14105,7 +14105,7 @@ async function handlePlayRun(args, hooks) {
|
|
|
14105
14105
|
JSON.stringify({
|
|
14106
14106
|
version: 1,
|
|
14107
14107
|
admissionState: "submitted_unknown",
|
|
14108
|
-
baseUrl: new (0,
|
|
14108
|
+
baseUrl: new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().baseUrl,
|
|
14109
14109
|
...intent
|
|
14110
14110
|
})
|
|
14111
14111
|
);
|
|
@@ -14358,7 +14358,7 @@ function renderRunOverviewText(overview, extras = {}) {
|
|
|
14358
14358
|
);
|
|
14359
14359
|
return `${lines.join("\n")}
|
|
14360
14360
|
|
|
14361
|
-
${
|
|
14361
|
+
${_chunkZDQFBJPOjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
|
|
14362
14362
|
}
|
|
14363
14363
|
var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
|
|
14364
14364
|
async function withRunReadTiming(command, stage, enabled, action) {
|
|
@@ -14382,7 +14382,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
|
|
|
14382
14382
|
}
|
|
14383
14383
|
}
|
|
14384
14384
|
async function handleRunGet(args) {
|
|
14385
|
-
const selection =
|
|
14385
|
+
const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0,
|
|
14386
14386
|
args,
|
|
14387
14387
|
args.includes("--config") ? "config" : "get"
|
|
14388
14388
|
);
|
|
@@ -14395,7 +14395,7 @@ async function handleRunGet(args) {
|
|
|
14395
14395
|
console.error(error instanceof Error ? error.message : usage2);
|
|
14396
14396
|
return 1;
|
|
14397
14397
|
}
|
|
14398
|
-
const client = new (0,
|
|
14398
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
14399
14399
|
const timing = args.includes("--timing");
|
|
14400
14400
|
const web = args.includes("--web");
|
|
14401
14401
|
if (web || args.includes("--web-url")) {
|
|
@@ -14410,11 +14410,11 @@ async function handleRunGet(args) {
|
|
|
14410
14410
|
console.error(`Run ${runId} does not name its play; no run page URL.`);
|
|
14411
14411
|
return 1;
|
|
14412
14412
|
}
|
|
14413
|
-
const dashboardUrl2 =
|
|
14414
|
-
const runUrl2 =
|
|
14413
|
+
const dashboardUrl2 = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
|
|
14414
|
+
const runUrl2 = _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
|
|
14415
14415
|
if (web) {
|
|
14416
|
-
const opened =
|
|
14417
|
-
|
|
14416
|
+
const opened = _chunkZDQFBJPOjs.openInBrowser.call(void 0, runUrl2);
|
|
14417
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14418
14418
|
{ dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
|
|
14419
14419
|
{
|
|
14420
14420
|
json: args.includes("--json"),
|
|
@@ -14425,7 +14425,7 @@ async function handleRunGet(args) {
|
|
|
14425
14425
|
);
|
|
14426
14426
|
return 0;
|
|
14427
14427
|
}
|
|
14428
|
-
|
|
14428
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14429
14429
|
{ dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
|
|
14430
14430
|
{ json: args.includes("--json"), text: `${runUrl2}
|
|
14431
14431
|
` }
|
|
@@ -14450,7 +14450,7 @@ async function handleRunGet(args) {
|
|
|
14450
14450
|
"This server does not support recorded configuration reads."
|
|
14451
14451
|
);
|
|
14452
14452
|
}
|
|
14453
|
-
|
|
14453
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14454
14454
|
{ runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
|
|
14455
14455
|
{ json: true, fields: selection.fields }
|
|
14456
14456
|
);
|
|
@@ -14463,7 +14463,7 @@ async function handleRunGet(args) {
|
|
|
14463
14463
|
timing,
|
|
14464
14464
|
() => client.getRunInput(runId)
|
|
14465
14465
|
);
|
|
14466
|
-
|
|
14466
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, input, { json: true });
|
|
14467
14467
|
return 0;
|
|
14468
14468
|
}
|
|
14469
14469
|
const full = args.includes("--full");
|
|
@@ -14478,7 +14478,7 @@ async function handleRunGet(args) {
|
|
|
14478
14478
|
failedLogs: args.includes("--log-failed")
|
|
14479
14479
|
})
|
|
14480
14480
|
);
|
|
14481
|
-
if (status.package)
|
|
14481
|
+
if (status.package) _chunkPOLUE7D5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
|
|
14482
14482
|
if (!status.package) {
|
|
14483
14483
|
const legacyStatus = full ? await withRunReadTiming(
|
|
14484
14484
|
"runs get",
|
|
@@ -14490,10 +14490,10 @@ async function handleRunGet(args) {
|
|
|
14490
14490
|
})
|
|
14491
14491
|
) : status;
|
|
14492
14492
|
const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
|
|
14493
|
-
const legacyDashboardUrl = legacyPlayName ?
|
|
14494
|
-
const legacyRunUrl = legacyPlayName ?
|
|
14495
|
-
if (
|
|
14496
|
-
|
|
14493
|
+
const legacyDashboardUrl = legacyPlayName ? _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
|
|
14494
|
+
const legacyRunUrl = legacyPlayName ? _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
|
|
14495
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
14496
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14497
14497
|
{
|
|
14498
14498
|
...full ? legacyStatus : compactPlayStatus(legacyStatus),
|
|
14499
14499
|
...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
|
|
@@ -14504,7 +14504,7 @@ async function handleRunGet(args) {
|
|
|
14504
14504
|
} else {
|
|
14505
14505
|
writePlayResult(legacyStatus, false, { fullJson: full });
|
|
14506
14506
|
if (legacyRunUrl)
|
|
14507
|
-
|
|
14507
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14508
14508
|
{ dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
|
|
14509
14509
|
{ json: false, text: `run page: ${legacyRunUrl}
|
|
14510
14510
|
` }
|
|
@@ -14534,11 +14534,11 @@ async function handleRunGet(args) {
|
|
|
14534
14534
|
)
|
|
14535
14535
|
]);
|
|
14536
14536
|
const hitLines = formatRunHitsLines(hits);
|
|
14537
|
-
const json =
|
|
14537
|
+
const json = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
14538
14538
|
const playName = resolveRunPlayName(status, runId);
|
|
14539
|
-
const dashboardUrl = playName ?
|
|
14540
|
-
const runUrl = playName ?
|
|
14541
|
-
|
|
14539
|
+
const dashboardUrl = playName ? _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
|
|
14540
|
+
const runUrl = playName ? _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
|
|
14541
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14542
14542
|
{
|
|
14543
14543
|
...overview,
|
|
14544
14544
|
...dashboardUrl ? { dashboardUrl } : {},
|
|
@@ -14643,9 +14643,9 @@ async function handleRunLifecycleStatus(args) {
|
|
|
14643
14643
|
console.error(error instanceof Error ? error.message : usage2);
|
|
14644
14644
|
return 1;
|
|
14645
14645
|
}
|
|
14646
|
-
const status = await new (0,
|
|
14647
|
-
if (
|
|
14648
|
-
|
|
14646
|
+
const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.status(runId);
|
|
14647
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
14648
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, status, { json: true });
|
|
14649
14649
|
return 0;
|
|
14650
14650
|
}
|
|
14651
14651
|
if (!status.available) {
|
|
@@ -14711,7 +14711,7 @@ async function handleRunsRerun(args) {
|
|
|
14711
14711
|
console.error(error instanceof Error ? error.message : usage2);
|
|
14712
14712
|
return 1;
|
|
14713
14713
|
}
|
|
14714
|
-
const options = { json:
|
|
14714
|
+
const options = { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) };
|
|
14715
14715
|
for (let index = 0; index < args.length; index += 1) {
|
|
14716
14716
|
if (args[index] === "--idempotency-key") {
|
|
14717
14717
|
options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
|
|
@@ -14779,8 +14779,8 @@ ${usage2}
|
|
|
14779
14779
|
Discover Plays: ${next.discover}
|
|
14780
14780
|
Active runs: ${next.running}`
|
|
14781
14781
|
);
|
|
14782
|
-
if (
|
|
14783
|
-
|
|
14782
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
14783
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14784
14784
|
{ ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
|
|
14785
14785
|
{ json: true }
|
|
14786
14786
|
);
|
|
@@ -14809,7 +14809,7 @@ Active runs: ${next.running}`
|
|
|
14809
14809
|
console.error("--offset requires --play.");
|
|
14810
14810
|
return 1;
|
|
14811
14811
|
}
|
|
14812
|
-
const client = new (0,
|
|
14812
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
14813
14813
|
const page = await withRunReadTiming(
|
|
14814
14814
|
"runs list",
|
|
14815
14815
|
"run inventory",
|
|
@@ -14890,14 +14890,14 @@ Active runs: ${next.running}`
|
|
|
14890
14890
|
return lines2.join("\n");
|
|
14891
14891
|
});
|
|
14892
14892
|
const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
|
|
14893
|
-
const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${
|
|
14893
|
+
const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkZDQFBJPOjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
|
|
14894
14894
|
if (page.hasMore) {
|
|
14895
14895
|
lines.push("List truncated \u2014 more runs match this filter.");
|
|
14896
14896
|
lines.push(
|
|
14897
14897
|
nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
|
|
14898
14898
|
);
|
|
14899
14899
|
}
|
|
14900
|
-
|
|
14900
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
14901
14901
|
{
|
|
14902
14902
|
runs,
|
|
14903
14903
|
...wantsSteps ? {
|
|
@@ -14915,7 +14915,7 @@ Active runs: ${next.running}`
|
|
|
14915
14915
|
},
|
|
14916
14916
|
render: { sections: [{ title: "runs", lines }] }
|
|
14917
14917
|
},
|
|
14918
|
-
{ json:
|
|
14918
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
|
|
14919
14919
|
);
|
|
14920
14920
|
return 0;
|
|
14921
14921
|
}
|
|
@@ -14945,7 +14945,7 @@ async function handleRunTail(args) {
|
|
|
14945
14945
|
console.error("--log-level requires one of: debug, info, warn, error.");
|
|
14946
14946
|
return 1;
|
|
14947
14947
|
}
|
|
14948
|
-
const parsed =
|
|
14948
|
+
const parsed = _chunkLPJPCGT3js.parseLogLevel.call(void 0, value);
|
|
14949
14949
|
if (!parsed) {
|
|
14950
14950
|
console.error(
|
|
14951
14951
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -14983,9 +14983,9 @@ async function handleRunTail(args) {
|
|
|
14983
14983
|
);
|
|
14984
14984
|
return 1;
|
|
14985
14985
|
}
|
|
14986
|
-
const client = new (0,
|
|
14986
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
14987
14987
|
const jsonLines = args.includes("--jsonl");
|
|
14988
|
-
const jsonOutput = !jsonLines &&
|
|
14988
|
+
const jsonOutput = !jsonLines && _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
14989
14989
|
const compact = args.includes("--compact");
|
|
14990
14990
|
const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
|
|
14991
14991
|
const compactState = {
|
|
@@ -15066,7 +15066,7 @@ async function handleRunLogs(args) {
|
|
|
15066
15066
|
]);
|
|
15067
15067
|
const cursorIndex = args.indexOf("--cursor");
|
|
15068
15068
|
const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
|
|
15069
|
-
const continuesEventSearch = cursorIndex >= 0 && !(cursorValue &&
|
|
15069
|
+
const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkLPJPCGT3js.isRunLogsCursor.call(void 0, cursorValue));
|
|
15070
15070
|
if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
|
|
15071
15071
|
return handleRunEventSearch(args);
|
|
15072
15072
|
}
|
|
@@ -15100,7 +15100,7 @@ async function handleRunLogs(args) {
|
|
|
15100
15100
|
console.error("--log-level requires one of: debug, info, warn, error.");
|
|
15101
15101
|
return 1;
|
|
15102
15102
|
}
|
|
15103
|
-
const parsed =
|
|
15103
|
+
const parsed = _chunkLPJPCGT3js.parseLogLevel.call(void 0, value);
|
|
15104
15104
|
if (!parsed) {
|
|
15105
15105
|
console.error(
|
|
15106
15106
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -15147,12 +15147,12 @@ async function handleRunLogs(args) {
|
|
|
15147
15147
|
);
|
|
15148
15148
|
return 1;
|
|
15149
15149
|
}
|
|
15150
|
-
const client = new (0,
|
|
15150
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
15151
15151
|
if (outPath) {
|
|
15152
15152
|
const result2 = await client.runs.logs(runId, { all: true });
|
|
15153
|
-
const logs = result2.entries.filter((line) =>
|
|
15153
|
+
const logs = result2.entries.filter((line) => _chunkLPJPCGT3js.logLevelReaches.call(void 0, _chunkLPJPCGT3js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkLPJPCGT3js.classifyLogLine.call(void 0, line).line);
|
|
15154
15154
|
_fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
|
|
15155
|
-
|
|
15155
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15156
15156
|
{
|
|
15157
15157
|
runId: result2.runId,
|
|
15158
15158
|
log_path: outPath,
|
|
@@ -15175,7 +15175,7 @@ async function handleRunLogs(args) {
|
|
|
15175
15175
|
]
|
|
15176
15176
|
}
|
|
15177
15177
|
},
|
|
15178
|
-
{ json:
|
|
15178
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
|
|
15179
15179
|
);
|
|
15180
15180
|
return 0;
|
|
15181
15181
|
}
|
|
@@ -15206,7 +15206,7 @@ async function handleRunLogs(args) {
|
|
|
15206
15206
|
}
|
|
15207
15207
|
};
|
|
15208
15208
|
const text3 = buildRunLogsText(filteredResult);
|
|
15209
|
-
|
|
15209
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15210
15210
|
{
|
|
15211
15211
|
runId: result.runId,
|
|
15212
15212
|
totalCount: result.totalCount,
|
|
@@ -15230,7 +15230,7 @@ async function handleRunLogs(args) {
|
|
|
15230
15230
|
render: { sections: [{ title: "run logs", lines: entries }] }
|
|
15231
15231
|
},
|
|
15232
15232
|
{
|
|
15233
|
-
json:
|
|
15233
|
+
json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
|
|
15234
15234
|
text: text3
|
|
15235
15235
|
}
|
|
15236
15236
|
);
|
|
@@ -15254,7 +15254,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
|
|
|
15254
15254
|
);
|
|
15255
15255
|
}
|
|
15256
15256
|
const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
|
|
15257
|
-
(entry) =>
|
|
15257
|
+
(entry) => _chunkLPJPCGT3js.logLevelReaches.call(void 0, _chunkLPJPCGT3js.classifyLogLine.call(void 0, entry.line).level, logLevel)
|
|
15258
15258
|
);
|
|
15259
15259
|
const selected = matching.slice(-limit);
|
|
15260
15260
|
const olderMatchesExist = matching.length > selected.length;
|
|
@@ -15264,7 +15264,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
|
|
|
15264
15264
|
lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _607 => _607.at, 'call', _608 => _608(-1), 'optionalAccess', _609 => _609.seq]), () => ( null)),
|
|
15265
15265
|
truncated: result.truncated || olderMatchesExist,
|
|
15266
15266
|
hasMore: olderMatchesExist,
|
|
15267
|
-
nextCursor: olderMatchesExist ?
|
|
15267
|
+
nextCursor: olderMatchesExist ? _chunkLPJPCGT3js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
|
|
15268
15268
|
};
|
|
15269
15269
|
}
|
|
15270
15270
|
async function handleRunEventSearch(args) {
|
|
@@ -15331,7 +15331,7 @@ ${usage2}`);
|
|
|
15331
15331
|
namespace,
|
|
15332
15332
|
...backend ? { backend } : {}
|
|
15333
15333
|
} : void 0;
|
|
15334
|
-
const client = new (0,
|
|
15334
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
15335
15335
|
const result = await client.runs.searchEvents({
|
|
15336
15336
|
...runId ? { runId } : {},
|
|
15337
15337
|
...values["--since"] ? { since: values["--since"] } : {},
|
|
@@ -15403,7 +15403,7 @@ ${renderedDetails}` : ""}`;
|
|
|
15403
15403
|
"--limit",
|
|
15404
15404
|
String(limit)
|
|
15405
15405
|
].join(" ") : null;
|
|
15406
|
-
|
|
15406
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15407
15407
|
{
|
|
15408
15408
|
events,
|
|
15409
15409
|
nextCursor: result.nextCursor,
|
|
@@ -15414,14 +15414,14 @@ ${renderedDetails}` : ""}`;
|
|
|
15414
15414
|
render: { sections: [{ title: "runtime events", lines }] }
|
|
15415
15415
|
},
|
|
15416
15416
|
{
|
|
15417
|
-
json:
|
|
15417
|
+
json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
|
|
15418
15418
|
text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
|
|
15419
15419
|
}
|
|
15420
15420
|
);
|
|
15421
15421
|
return 0;
|
|
15422
15422
|
}
|
|
15423
15423
|
function buildRunLogsText(result) {
|
|
15424
|
-
const lines = result.entries.map((line) =>
|
|
15424
|
+
const lines = result.entries.map((line) => _chunkLPJPCGT3js.classifyLogLine.call(void 0, line).line);
|
|
15425
15425
|
if (result.warning) {
|
|
15426
15426
|
if (lines.length > 0) lines.push("");
|
|
15427
15427
|
lines.push(`warning: ${result.warning}`);
|
|
@@ -15455,7 +15455,7 @@ async function handleRunStop(args) {
|
|
|
15455
15455
|
reason = args[++index];
|
|
15456
15456
|
}
|
|
15457
15457
|
}
|
|
15458
|
-
const client = new (0,
|
|
15458
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
15459
15459
|
const result = await client.runs.stop(runId, { reason });
|
|
15460
15460
|
const communicationNotes = [
|
|
15461
15461
|
...result.communicationCancelledCount ? [
|
|
@@ -15479,7 +15479,7 @@ async function handleRunStop(args) {
|
|
|
15479
15479
|
...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
|
|
15480
15480
|
`inspect: deepline runs get ${runId} --full`
|
|
15481
15481
|
];
|
|
15482
|
-
|
|
15482
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15483
15483
|
{
|
|
15484
15484
|
...cancelling,
|
|
15485
15485
|
state,
|
|
@@ -15494,7 +15494,7 @@ async function handleRunStop(args) {
|
|
|
15494
15494
|
]
|
|
15495
15495
|
}
|
|
15496
15496
|
},
|
|
15497
|
-
{ json:
|
|
15497
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
|
|
15498
15498
|
);
|
|
15499
15499
|
return 0;
|
|
15500
15500
|
}
|
|
@@ -15512,7 +15512,7 @@ async function handleRunStop(args) {
|
|
|
15512
15512
|
];
|
|
15513
15513
|
process.stderr.write(`${lines2.join("\n")}
|
|
15514
15514
|
`);
|
|
15515
|
-
|
|
15515
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15516
15516
|
{
|
|
15517
15517
|
...result,
|
|
15518
15518
|
render: {
|
|
@@ -15527,7 +15527,7 @@ async function handleRunStop(args) {
|
|
|
15527
15527
|
]
|
|
15528
15528
|
}
|
|
15529
15529
|
},
|
|
15530
|
-
{ json:
|
|
15530
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
|
|
15531
15531
|
);
|
|
15532
15532
|
return 1;
|
|
15533
15533
|
}
|
|
@@ -15539,12 +15539,12 @@ async function handleRunStop(args) {
|
|
|
15539
15539
|
`warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
|
|
15540
15540
|
] : []
|
|
15541
15541
|
];
|
|
15542
|
-
|
|
15542
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15543
15543
|
{
|
|
15544
15544
|
...result,
|
|
15545
15545
|
render: { sections: [{ title: "run stop", lines }] }
|
|
15546
15546
|
},
|
|
15547
|
-
{ json:
|
|
15547
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
|
|
15548
15548
|
);
|
|
15549
15549
|
return 0;
|
|
15550
15550
|
}
|
|
@@ -15594,18 +15594,18 @@ async function handleRunStopAll(args) {
|
|
|
15594
15594
|
reason = args[++index];
|
|
15595
15595
|
}
|
|
15596
15596
|
}
|
|
15597
|
-
const client = new (0,
|
|
15597
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
15598
15598
|
if (dryRun) {
|
|
15599
15599
|
const result2 = await client.runs.stopAll({ dryRun: true, reason });
|
|
15600
15600
|
const lines2 = buildStopAllDryRunTextLines(result2);
|
|
15601
|
-
|
|
15601
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15602
15602
|
{
|
|
15603
15603
|
...result2,
|
|
15604
15604
|
render: {
|
|
15605
15605
|
sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
|
|
15606
15606
|
}
|
|
15607
15607
|
},
|
|
15608
|
-
{ json:
|
|
15608
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
|
|
15609
15609
|
` }
|
|
15610
15610
|
);
|
|
15611
15611
|
return 0;
|
|
@@ -15618,17 +15618,17 @@ async function handleRunStopAll(args) {
|
|
|
15618
15618
|
...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
|
|
15619
15619
|
...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
|
|
15620
15620
|
];
|
|
15621
|
-
|
|
15621
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
15622
15622
|
{
|
|
15623
15623
|
...result,
|
|
15624
15624
|
render: { sections: [{ title: "workspace stop-all", lines }] }
|
|
15625
15625
|
},
|
|
15626
|
-
{ json:
|
|
15626
|
+
{ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
|
|
15627
15627
|
);
|
|
15628
15628
|
return result.failed > 0 || result.partial ? 1 : 0;
|
|
15629
15629
|
}
|
|
15630
15630
|
async function handleRunExport(args) {
|
|
15631
|
-
const selection =
|
|
15631
|
+
const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0, args, "export");
|
|
15632
15632
|
args = selection.args;
|
|
15633
15633
|
const usage2 = "Usage: deepline runs export <run-id> [--dataset result.rows] --out <path> [--format csv|json] [--summary full|counts] [--wait] [--timeout-ms 300000] [--metadata-out export.json] [--allow-empty] [--json]";
|
|
15634
15634
|
let runId;
|
|
@@ -15699,17 +15699,17 @@ async function handleRunExport(args) {
|
|
|
15699
15699
|
"INVALID_ARGUMENT"
|
|
15700
15700
|
);
|
|
15701
15701
|
}
|
|
15702
|
-
const client = new (0,
|
|
15702
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
15703
15703
|
let status = await client.getPlayStatus(runId, { full: true });
|
|
15704
15704
|
assertRunExportStatusIdentity(status, runId);
|
|
15705
15705
|
if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
|
|
15706
|
-
const progress =
|
|
15706
|
+
const progress = _chunk54EEYLTFjs.createCliProgress.call(void 0, !_chunkZDQFBJPOjs.argsWantJson.call(void 0, args));
|
|
15707
15707
|
try {
|
|
15708
15708
|
await waitForPlayCompletionByWatch({
|
|
15709
15709
|
client,
|
|
15710
15710
|
playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
|
|
15711
15711
|
workflowId: runId,
|
|
15712
|
-
jsonOutput:
|
|
15712
|
+
jsonOutput: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
|
|
15713
15713
|
emitLogs: false,
|
|
15714
15714
|
waitTimeoutMs,
|
|
15715
15715
|
startedAt: Date.now(),
|
|
@@ -15777,7 +15777,7 @@ async function handleRunExport(args) {
|
|
|
15777
15777
|
rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _623 => _623.rowsInfo, 'access', _624 => _624.totalRows]), () => ( null)),
|
|
15778
15778
|
...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
|
|
15779
15779
|
...rowFailures ? { rowFailures } : {},
|
|
15780
|
-
columns:
|
|
15780
|
+
columns: _chunkPOLUE7D5js.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _625 => _625.rowsInfo, 'access', _626 => _626.columns]), () => ( []))),
|
|
15781
15781
|
...currentTableNotice ? { notice: currentTableNotice } : {},
|
|
15782
15782
|
...metadataOutPath ? { metadata_path: metadataOutPath } : {},
|
|
15783
15783
|
...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
|
|
@@ -15811,8 +15811,8 @@ async function handleRunExport(args) {
|
|
|
15811
15811
|
"utf-8"
|
|
15812
15812
|
);
|
|
15813
15813
|
}
|
|
15814
|
-
|
|
15815
|
-
json:
|
|
15814
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, payload, {
|
|
15815
|
+
json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
|
|
15816
15816
|
fields: selection.fields,
|
|
15817
15817
|
text: `${lines.join("\n")}
|
|
15818
15818
|
`
|
|
@@ -15846,10 +15846,10 @@ async function handlePlayGet(args) {
|
|
|
15846
15846
|
);
|
|
15847
15847
|
return 2;
|
|
15848
15848
|
}
|
|
15849
|
-
const client = new (0,
|
|
15849
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
15850
15850
|
const explicitJson = args.includes("--json");
|
|
15851
15851
|
const sourceOutput = args.includes("--source");
|
|
15852
|
-
const jsonOutput = sourceOutput ? explicitJson :
|
|
15852
|
+
const jsonOutput = sourceOutput ? explicitJson : _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
15853
15853
|
const requestedRevisionFlags = [
|
|
15854
15854
|
args.includes("--working"),
|
|
15855
15855
|
args.includes("--live"),
|
|
@@ -15912,7 +15912,7 @@ async function handlePlayGet(args) {
|
|
|
15912
15912
|
}
|
|
15913
15913
|
const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
|
|
15914
15914
|
if (jsonOutput) {
|
|
15915
|
-
|
|
15915
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, {
|
|
15916
15916
|
...detail,
|
|
15917
15917
|
...materializedFile ? {
|
|
15918
15918
|
message: loadedMessage,
|
|
@@ -16004,8 +16004,8 @@ async function handlePlayVersions(args) {
|
|
|
16004
16004
|
console.error("Usage: deepline plays versions --name <name> [--json]");
|
|
16005
16005
|
return 1;
|
|
16006
16006
|
}
|
|
16007
|
-
const client = new (0,
|
|
16008
|
-
const jsonOutput =
|
|
16007
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16008
|
+
const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
16009
16009
|
await assertCanonicalNamedPlayReference(client, playName, {
|
|
16010
16010
|
command: "versions"
|
|
16011
16011
|
});
|
|
@@ -16013,7 +16013,7 @@ async function handlePlayVersions(args) {
|
|
|
16013
16013
|
parseReferencedPlayTarget(playName).playName
|
|
16014
16014
|
);
|
|
16015
16015
|
if (jsonOutput) {
|
|
16016
|
-
|
|
16016
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, { versions });
|
|
16017
16017
|
return 0;
|
|
16018
16018
|
}
|
|
16019
16019
|
if (versions.length === 0) {
|
|
@@ -16052,8 +16052,8 @@ async function handlePlayCost(args) {
|
|
|
16052
16052
|
console.error("Usage: deepline plays cost <play> [--json]");
|
|
16053
16053
|
return 2;
|
|
16054
16054
|
}
|
|
16055
|
-
const result = await new (0,
|
|
16056
|
-
if (
|
|
16055
|
+
const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlayCostEstimate(name);
|
|
16056
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
|
|
16057
16057
|
else
|
|
16058
16058
|
console.log(
|
|
16059
16059
|
`${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
|
|
@@ -16061,9 +16061,9 @@ async function handlePlayCost(args) {
|
|
|
16061
16061
|
return 0;
|
|
16062
16062
|
}
|
|
16063
16063
|
async function handlePlayList(args) {
|
|
16064
|
-
const jsonOutput =
|
|
16064
|
+
const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
16065
16065
|
const showCost = args.includes("--show-cost");
|
|
16066
|
-
const client = new (0,
|
|
16066
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16067
16067
|
const categoriesIndex = args.indexOf("--categories");
|
|
16068
16068
|
const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _645 => _645[categoriesIndex + 1], 'optionalAccess', _646 => _646.trim, 'call', _647 => _647()]) : void 0;
|
|
16069
16069
|
const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
|
|
@@ -16161,7 +16161,7 @@ async function handlePlayList(args) {
|
|
|
16161
16161
|
lines.push("List truncated \u2014 more plays are available.");
|
|
16162
16162
|
lines.push(`Next page: ${nextPage}`);
|
|
16163
16163
|
}
|
|
16164
|
-
|
|
16164
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
16165
16165
|
{
|
|
16166
16166
|
plays,
|
|
16167
16167
|
count: plays.length,
|
|
@@ -16179,7 +16179,7 @@ async function handlePlayList(args) {
|
|
|
16179
16179
|
}
|
|
16180
16180
|
async function handlePlayPin(args, pinned) {
|
|
16181
16181
|
const target = _optionalChain([args, 'access', _656 => _656.find, 'call', _657 => _657((arg) => !arg.startsWith("-")), 'optionalAccess', _658 => _658.trim, 'call', _659 => _659()]);
|
|
16182
|
-
const jsonOutput =
|
|
16182
|
+
const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
|
|
16183
16183
|
const dryRun = args.includes("--dry-run");
|
|
16184
16184
|
if (!target) {
|
|
16185
16185
|
console.error(
|
|
@@ -16197,11 +16197,11 @@ async function handlePlayPin(args, pinned) {
|
|
|
16197
16197
|
const name = parsedTarget.playName;
|
|
16198
16198
|
const plan = { name, pinned, dryRun };
|
|
16199
16199
|
if (dryRun) {
|
|
16200
|
-
|
|
16200
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, plan);
|
|
16201
16201
|
return 0;
|
|
16202
16202
|
}
|
|
16203
|
-
const result = await new (0,
|
|
16204
|
-
if (jsonOutput)
|
|
16203
|
+
const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().setPlayPinned(name, pinned);
|
|
16204
|
+
if (jsonOutput) _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
|
|
16205
16205
|
else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
|
|
16206
16206
|
return 0;
|
|
16207
16207
|
}
|
|
@@ -16327,12 +16327,12 @@ async function handlePlayGrep(args) {
|
|
|
16327
16327
|
console.error("Usage: deepline plays grep <query> [--json]");
|
|
16328
16328
|
return 1;
|
|
16329
16329
|
}
|
|
16330
|
-
const client = new (0,
|
|
16330
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16331
16331
|
const results = (await client.listPlays({ grep: query })).map(
|
|
16332
16332
|
summarizePlayGrepResult
|
|
16333
16333
|
);
|
|
16334
|
-
if (
|
|
16335
|
-
|
|
16334
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
16335
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, {
|
|
16336
16336
|
plays: results,
|
|
16337
16337
|
count: results.length,
|
|
16338
16338
|
query,
|
|
@@ -16355,7 +16355,7 @@ async function handlePlayGrep(args) {
|
|
|
16355
16355
|
return 0;
|
|
16356
16356
|
}
|
|
16357
16357
|
async function handlePlayDescribe(args) {
|
|
16358
|
-
const selection =
|
|
16358
|
+
const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0, args, "describe");
|
|
16359
16359
|
args = selection.args;
|
|
16360
16360
|
const playName = args[0];
|
|
16361
16361
|
if (!playName) {
|
|
@@ -16389,8 +16389,8 @@ async function handlePlayDescribe(args) {
|
|
|
16389
16389
|
`deepline plays check ${playName}`,
|
|
16390
16390
|
...definedName ? [`deepline describe <workspace>/${definedName}`] : []
|
|
16391
16391
|
];
|
|
16392
|
-
if (
|
|
16393
|
-
|
|
16392
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
16393
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, {
|
|
16394
16394
|
ok: false,
|
|
16395
16395
|
error: { message },
|
|
16396
16396
|
next
|
|
@@ -16404,7 +16404,7 @@ async function handlePlayDescribe(args) {
|
|
|
16404
16404
|
}
|
|
16405
16405
|
return 2;
|
|
16406
16406
|
}
|
|
16407
|
-
const client = new (0,
|
|
16407
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16408
16408
|
await assertCanonicalNamedPlayReference(client, playName, {
|
|
16409
16409
|
command: "describe"
|
|
16410
16410
|
});
|
|
@@ -16414,9 +16414,9 @@ async function handlePlayDescribe(args) {
|
|
|
16414
16414
|
compact: args.includes("--compact")
|
|
16415
16415
|
}
|
|
16416
16416
|
);
|
|
16417
|
-
if (
|
|
16418
|
-
if (selection.fields)
|
|
16419
|
-
else
|
|
16417
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
16418
|
+
if (selection.fields) _chunkZDQFBJPOjs.printJson.call(void 0, play, selection.fields);
|
|
16419
|
+
else _chunkZDQFBJPOjs.printCompactJson.call(void 0, play);
|
|
16420
16420
|
return 0;
|
|
16421
16421
|
}
|
|
16422
16422
|
printPlayDescription(play);
|
|
@@ -16437,7 +16437,7 @@ async function handlePlaySave(args) {
|
|
|
16437
16437
|
return 2;
|
|
16438
16438
|
}
|
|
16439
16439
|
const watchPlay = options.dryRun ? void 0 : options.watchPlay;
|
|
16440
|
-
const client = watchPlay ? new (0,
|
|
16440
|
+
const client = watchPlay ? new (0, _chunkQM6Y6S4Ejs.DeeplineClient)() : void 0;
|
|
16441
16441
|
let attempt;
|
|
16442
16442
|
if (watchPlay && client) {
|
|
16443
16443
|
try {
|
|
@@ -16461,7 +16461,7 @@ async function handlePlaySave(args) {
|
|
|
16461
16461
|
};
|
|
16462
16462
|
let graph;
|
|
16463
16463
|
try {
|
|
16464
|
-
graph = await
|
|
16464
|
+
graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16465
16465
|
"cli.play_save_bundle_graph",
|
|
16466
16466
|
{ targetKind: "file" },
|
|
16467
16467
|
() => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
|
|
@@ -16490,7 +16490,7 @@ async function handlePlaySave(args) {
|
|
|
16490
16490
|
next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
|
|
16491
16491
|
};
|
|
16492
16492
|
if (options.jsonOutput) {
|
|
16493
|
-
|
|
16493
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
|
|
16494
16494
|
} else {
|
|
16495
16495
|
console.error(result.message);
|
|
16496
16496
|
console.error(` checked artifact: ${result.expectedArtifactHash}`);
|
|
@@ -16512,7 +16512,7 @@ async function handlePlaySave(args) {
|
|
|
16512
16512
|
};
|
|
16513
16513
|
if (options.dryRun) {
|
|
16514
16514
|
if (options.jsonOutput) {
|
|
16515
|
-
|
|
16515
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, dryRun);
|
|
16516
16516
|
} else {
|
|
16517
16517
|
console.log(`Dry run: ${playName}`);
|
|
16518
16518
|
console.log(` source: ${dryRun.sourceHash}`);
|
|
@@ -16521,14 +16521,14 @@ async function handlePlaySave(args) {
|
|
|
16521
16521
|
}
|
|
16522
16522
|
return 0;
|
|
16523
16523
|
}
|
|
16524
|
-
const saveClient = _nullishCoalesce(client, () => ( new (0,
|
|
16524
|
+
const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkQM6Y6S4Ejs.DeeplineClient)()));
|
|
16525
16525
|
try {
|
|
16526
|
-
await
|
|
16526
|
+
await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16527
16527
|
"cli.play_save_compile_manifests",
|
|
16528
16528
|
{ targetKind: "file", nodeCount: graph.nodes.size },
|
|
16529
16529
|
() => compileBundledPlayGraphManifests(saveClient, graph)
|
|
16530
16530
|
);
|
|
16531
|
-
const saved = await
|
|
16531
|
+
const saved = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16532
16532
|
"cli.play_save_register_draft",
|
|
16533
16533
|
{ targetKind: "file", playName, artifactHash },
|
|
16534
16534
|
() => saveClient.registerPlayArtifact({
|
|
@@ -16558,7 +16558,7 @@ async function handlePlaySave(args) {
|
|
|
16558
16558
|
}
|
|
16559
16559
|
};
|
|
16560
16560
|
if (options.jsonOutput) {
|
|
16561
|
-
|
|
16561
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
|
|
16562
16562
|
} else {
|
|
16563
16563
|
console.log(
|
|
16564
16564
|
`\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
|
|
@@ -16587,7 +16587,7 @@ async function handlePlayPublish(args) {
|
|
|
16587
16587
|
}
|
|
16588
16588
|
const { target: playName, useLatest } = options;
|
|
16589
16589
|
let revisionId = options.revisionId;
|
|
16590
|
-
const client = new (0,
|
|
16590
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16591
16591
|
if (isFileTarget(playName)) {
|
|
16592
16592
|
if (revisionId || useLatest) {
|
|
16593
16593
|
console.error(
|
|
@@ -16597,7 +16597,7 @@ async function handlePlayPublish(args) {
|
|
|
16597
16597
|
}
|
|
16598
16598
|
let graph;
|
|
16599
16599
|
try {
|
|
16600
|
-
graph = await
|
|
16600
|
+
graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16601
16601
|
"cli.play_publish_bundle_graph",
|
|
16602
16602
|
{ targetKind: "file" },
|
|
16603
16603
|
() => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
|
|
@@ -16619,7 +16619,7 @@ async function handlePlayPublish(args) {
|
|
|
16619
16619
|
next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
|
|
16620
16620
|
};
|
|
16621
16621
|
if (options.jsonOutput) {
|
|
16622
|
-
|
|
16622
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result3);
|
|
16623
16623
|
} else {
|
|
16624
16624
|
console.error(result3.message);
|
|
16625
16625
|
console.error(` checked artifact: ${result3.expectedArtifactHash}`);
|
|
@@ -16642,7 +16642,7 @@ async function handlePlayPublish(args) {
|
|
|
16642
16642
|
};
|
|
16643
16643
|
if (options.dryRun) {
|
|
16644
16644
|
if (options.jsonOutput) {
|
|
16645
|
-
|
|
16645
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, dryRun);
|
|
16646
16646
|
} else {
|
|
16647
16647
|
console.log(`Dry run: ${rootPlayName}`);
|
|
16648
16648
|
console.log(` source: ${dryRun.sourceHash}`);
|
|
@@ -16661,12 +16661,12 @@ async function handlePlayPublish(args) {
|
|
|
16661
16661
|
}
|
|
16662
16662
|
}
|
|
16663
16663
|
try {
|
|
16664
|
-
await
|
|
16664
|
+
await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16665
16665
|
"cli.play_publish_compile_manifests",
|
|
16666
16666
|
{ targetKind: "file", nodeCount: graph.nodes.size },
|
|
16667
16667
|
() => compileBundledPlayGraphManifests(client, graph)
|
|
16668
16668
|
);
|
|
16669
|
-
await
|
|
16669
|
+
await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16670
16670
|
"cli.play_publish_imports",
|
|
16671
16671
|
{ targetKind: "file", nodeCount: graph.nodes.size },
|
|
16672
16672
|
() => publishImportedPlayDependencies(client, graph)
|
|
@@ -16675,7 +16675,7 @@ async function handlePlayPublish(args) {
|
|
|
16675
16675
|
console.error(error instanceof Error ? error.message : String(error));
|
|
16676
16676
|
return 1;
|
|
16677
16677
|
}
|
|
16678
|
-
const published = await
|
|
16678
|
+
const published = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
|
|
16679
16679
|
"cli.play_publish_register_root",
|
|
16680
16680
|
{
|
|
16681
16681
|
targetKind: "file",
|
|
@@ -16710,7 +16710,7 @@ async function handlePlayPublish(args) {
|
|
|
16710
16710
|
triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
|
|
16711
16711
|
};
|
|
16712
16712
|
if (options.jsonOutput) {
|
|
16713
|
-
|
|
16713
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result2);
|
|
16714
16714
|
} else {
|
|
16715
16715
|
printPublishReceipt({
|
|
16716
16716
|
name: rootPlayName,
|
|
@@ -16741,7 +16741,7 @@ async function handlePlayPublish(args) {
|
|
|
16741
16741
|
revisionId: _nullishCoalesce(revisionId, () => ( null)),
|
|
16742
16742
|
latest: useLatest
|
|
16743
16743
|
};
|
|
16744
|
-
|
|
16744
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result2);
|
|
16745
16745
|
return 0;
|
|
16746
16746
|
}
|
|
16747
16747
|
const resolvedName = parseReferencedPlayTarget(playName).playName;
|
|
@@ -16765,7 +16765,7 @@ async function handlePlayPublish(args) {
|
|
|
16765
16765
|
revisionId ? { revisionId } : {}
|
|
16766
16766
|
);
|
|
16767
16767
|
if (options.jsonOutput) {
|
|
16768
|
-
|
|
16768
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
|
|
16769
16769
|
} else {
|
|
16770
16770
|
printPublishReceipt({
|
|
16771
16771
|
name: result.name,
|
|
@@ -16805,7 +16805,7 @@ async function handlePlayDelete(args) {
|
|
|
16805
16805
|
);
|
|
16806
16806
|
return 2;
|
|
16807
16807
|
}
|
|
16808
|
-
const client = new (0,
|
|
16808
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16809
16809
|
let detail;
|
|
16810
16810
|
try {
|
|
16811
16811
|
detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
|
|
@@ -16829,8 +16829,8 @@ async function handlePlayDelete(args) {
|
|
|
16829
16829
|
name: resolvedName,
|
|
16830
16830
|
plannedMutation: "move saved org-owned play to Trash and stop triggers"
|
|
16831
16831
|
};
|
|
16832
|
-
if (
|
|
16833
|
-
|
|
16832
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
16833
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result2);
|
|
16834
16834
|
} else {
|
|
16835
16835
|
process.stdout.write(
|
|
16836
16836
|
`Dry run: would move ${result2.name} to Trash and stop its active triggers.
|
|
@@ -16840,8 +16840,8 @@ async function handlePlayDelete(args) {
|
|
|
16840
16840
|
return 0;
|
|
16841
16841
|
}
|
|
16842
16842
|
const result = await client.deletePlay(resolvedName);
|
|
16843
|
-
if (
|
|
16844
|
-
|
|
16843
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
16844
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
|
|
16845
16845
|
return result.archived || result.alreadyArchived ? 0 : 4;
|
|
16846
16846
|
}
|
|
16847
16847
|
if (result.alreadyArchived) {
|
|
@@ -16880,13 +16880,13 @@ async function handlePlayRestore(args) {
|
|
|
16880
16880
|
);
|
|
16881
16881
|
return 2;
|
|
16882
16882
|
}
|
|
16883
|
-
const client = new (0,
|
|
16883
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
16884
16884
|
try {
|
|
16885
16885
|
const result = await client.restorePlay(
|
|
16886
16886
|
parseReferencedPlayTarget(playName).playName
|
|
16887
16887
|
);
|
|
16888
|
-
if (
|
|
16889
|
-
|
|
16888
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
16889
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
|
|
16890
16890
|
return result.restored || result.alreadyActive ? 0 : 4;
|
|
16891
16891
|
}
|
|
16892
16892
|
if (result.alreadyActive) {
|
|
@@ -17013,21 +17013,21 @@ Common commands:
|
|
|
17013
17013
|
resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
|
|
17014
17014
|
}
|
|
17015
17015
|
};
|
|
17016
|
-
|
|
17016
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result2, {
|
|
17017
17017
|
json: options.json,
|
|
17018
17018
|
text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
|
|
17019
17019
|
`
|
|
17020
17020
|
});
|
|
17021
17021
|
return;
|
|
17022
17022
|
}
|
|
17023
|
-
const client = new (0,
|
|
17023
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
17024
17024
|
if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
|
|
17025
17025
|
throw new Error(
|
|
17026
17026
|
"The submission belongs to a different API origin. Select its original host before recovery."
|
|
17027
17027
|
);
|
|
17028
17028
|
}
|
|
17029
17029
|
const result = await client.startPlayRun(saved.request);
|
|
17030
|
-
|
|
17030
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
17031
17031
|
{ ...result },
|
|
17032
17032
|
{
|
|
17033
17033
|
json: options.json,
|
|
@@ -17063,7 +17063,7 @@ Examples:
|
|
|
17063
17063
|
).action(async (target, options) => {
|
|
17064
17064
|
process.exitCode = await handlePlayCheck([
|
|
17065
17065
|
target,
|
|
17066
|
-
...
|
|
17066
|
+
..._chunkZDQFBJPOjs.jsonFieldArgs.call(void 0, options.json),
|
|
17067
17067
|
...options.full ? ["--full"] : []
|
|
17068
17068
|
]);
|
|
17069
17069
|
});
|
|
@@ -17110,10 +17110,10 @@ Notes:
|
|
|
17110
17110
|
with a changed input is refused with a 409 conflict. Use one stable key per
|
|
17111
17111
|
exact intent. Without a key, each invocation starts a new run.
|
|
17112
17112
|
--max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
|
|
17113
|
-
resident-work ceiling. Default: ${
|
|
17113
|
+
resident-work ceiling. Default: ${_chunkXYE5XPGFjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
|
|
17114
17114
|
Provider pacing and sandbox memory limits still apply.
|
|
17115
17115
|
--max-concurrent-rows sets the run-wide default and ceiling for live map row
|
|
17116
|
-
resolvers. Accepted range: 1-${
|
|
17116
|
+
resolvers. Accepted range: 1-${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
|
|
17117
17117
|
may lower it when source-row size exceeds the active-row memory budget.
|
|
17118
17118
|
--max-credits replaces the play's billing.maxCreditsPerRun for this run.
|
|
17119
17119
|
Tool calls that would exceed it are denied.
|
|
@@ -17238,10 +17238,10 @@ Examples:
|
|
|
17238
17238
|
).hideHelp()
|
|
17239
17239
|
).option(
|
|
17240
17240
|
"--max-concurrent-external-calls <count>",
|
|
17241
|
-
`Concurrent provider-tool and deepline.fetch executions (${
|
|
17241
|
+
`Concurrent provider-tool and deepline.fetch executions (${_chunkXYE5XPGFjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
|
|
17242
17242
|
).option(
|
|
17243
17243
|
"--max-concurrent-rows <count>",
|
|
17244
|
-
`Run-wide dataset map row resolver ceiling (max ${
|
|
17244
|
+
`Run-wide dataset map row resolver ceiling (max ${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
|
|
17245
17245
|
).option("--max-credits <credits>", "Deepline-credit cap for this run").addOption(
|
|
17246
17246
|
// Internal only: the server refuses it without play_run.cache_reuse_window.
|
|
17247
17247
|
new (0, _commander.Option)(
|
|
@@ -17342,14 +17342,14 @@ JSON field selection:
|
|
|
17342
17342
|
passthroughArgs.shift();
|
|
17343
17343
|
}
|
|
17344
17344
|
const exitCode = await handlePlayRun(
|
|
17345
|
-
|
|
17345
|
+
_chunkXYE5XPGFjs.resolvePlayRunCliOptions.call(void 0,
|
|
17346
17346
|
_nullishCoalesce(effectiveTarget, () => ( void 0)),
|
|
17347
17347
|
options,
|
|
17348
17348
|
passthroughArgs,
|
|
17349
|
-
|
|
17349
|
+
_chunkW2ZWQUHTjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
|
|
17350
17350
|
)
|
|
17351
17351
|
);
|
|
17352
|
-
|
|
17352
|
+
_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
|
|
17353
17353
|
phase: "cli.play_command_exit",
|
|
17354
17354
|
exitCode
|
|
17355
17355
|
});
|
|
@@ -17398,9 +17398,9 @@ Examples:
|
|
|
17398
17398
|
const limit = Number(options.historyLimit);
|
|
17399
17399
|
if (!Number.isInteger(limit) || limit < 1 || limit > 30)
|
|
17400
17400
|
throw new Error("--history-limit must be an integer from 1 to 30.");
|
|
17401
|
-
const client = new (0,
|
|
17401
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
17402
17402
|
if (options.binding) {
|
|
17403
|
-
|
|
17403
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0,
|
|
17404
17404
|
await client.getPlayTriggerHistory(options.binding, { limit })
|
|
17405
17405
|
);
|
|
17406
17406
|
return;
|
|
@@ -17408,7 +17408,7 @@ Examples:
|
|
|
17408
17408
|
const result = await client.listPlayTriggerInventory({
|
|
17409
17409
|
cursor: options.cursor
|
|
17410
17410
|
});
|
|
17411
|
-
|
|
17411
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, {
|
|
17412
17412
|
...result,
|
|
17413
17413
|
next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
|
|
17414
17414
|
});
|
|
@@ -17467,7 +17467,7 @@ Examples:
|
|
|
17467
17467
|
if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
|
|
17468
17468
|
throw new Error("--group-by must be kind or trigger_source.");
|
|
17469
17469
|
}
|
|
17470
|
-
const result = await new (0,
|
|
17470
|
+
const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlaysActivity({
|
|
17471
17471
|
timeZone: options.timeZone,
|
|
17472
17472
|
days,
|
|
17473
17473
|
...options.endDate ? { endDate: options.endDate } : {},
|
|
@@ -17481,7 +17481,7 @@ Examples:
|
|
|
17481
17481
|
`${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
|
|
17482
17482
|
);
|
|
17483
17483
|
}
|
|
17484
|
-
|
|
17484
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
17485
17485
|
{ ...result },
|
|
17486
17486
|
{
|
|
17487
17487
|
json: Boolean(options.json),
|
|
@@ -17510,7 +17510,7 @@ Examples:
|
|
|
17510
17510
|
false
|
|
17511
17511
|
);
|
|
17512
17512
|
});
|
|
17513
|
-
|
|
17513
|
+
_chunkCQ6JYQSWjs.registerDeprecatedSearchCommand.call(void 0,
|
|
17514
17514
|
play,
|
|
17515
17515
|
(options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
|
|
17516
17516
|
);
|
|
@@ -17551,9 +17551,9 @@ Examples:
|
|
|
17551
17551
|
"--json [fields]",
|
|
17552
17552
|
"JSON output; optionally select comma-separated dotted paths"
|
|
17553
17553
|
);
|
|
17554
|
-
|
|
17554
|
+
_chunkPOLUE7D5js.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
|
|
17555
17555
|
async (target, options) => {
|
|
17556
|
-
const ownView = () => handlePlayDescribe(
|
|
17556
|
+
const ownView = () => handlePlayDescribe(_chunkZDQFBJPOjs.describeArgs.call(void 0, target, options));
|
|
17557
17557
|
const [flagText] = [options.json].filter(
|
|
17558
17558
|
(value) => typeof value === "string"
|
|
17559
17559
|
);
|
|
@@ -17564,7 +17564,7 @@ Examples:
|
|
|
17564
17564
|
process.exitCode = await ownView();
|
|
17565
17565
|
return;
|
|
17566
17566
|
}
|
|
17567
|
-
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-
|
|
17567
|
+
const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-PXTSBJTL.js")));
|
|
17568
17568
|
process.exitCode = await describeAnything(
|
|
17569
17569
|
name,
|
|
17570
17570
|
{
|
|
@@ -17687,7 +17687,7 @@ Examples:
|
|
|
17687
17687
|
deepline plays deployments <deployment-id>
|
|
17688
17688
|
`
|
|
17689
17689
|
).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
|
|
17690
|
-
async (id, options) => id ?
|
|
17690
|
+
async (id, options) => id ? _chunkNMWGZD6Yjs.handleDeploymentGet.call(void 0, id, options) : _chunkNMWGZD6Yjs.handleDeploymentsList.call(void 0, options)
|
|
17691
17691
|
);
|
|
17692
17692
|
addPublishHelp(
|
|
17693
17693
|
play.command("publish <target>").description(
|
|
@@ -17822,14 +17822,14 @@ Examples:
|
|
|
17822
17822
|
const limit = Number(options.limit);
|
|
17823
17823
|
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
|
|
17824
17824
|
throw new Error("--limit must be an integer from 1 to 1000.");
|
|
17825
|
-
const result = await new (0,
|
|
17825
|
+
const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.rowHistory({
|
|
17826
17826
|
playName: options.play,
|
|
17827
17827
|
runId,
|
|
17828
17828
|
tableNamespace: options.dataset,
|
|
17829
17829
|
limit,
|
|
17830
17830
|
cursor: options.cursor
|
|
17831
17831
|
});
|
|
17832
|
-
|
|
17832
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, {
|
|
17833
17833
|
...result,
|
|
17834
17834
|
...result.nextCursor ? {
|
|
17835
17835
|
next: `deepline runs rows-history ${_chunkAID3OYVJjs.shellQuote.call(void 0, runId)} --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.play)} --dataset ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.dataset)} --limit ${limit} --cursor ${_chunkAID3OYVJjs.shellQuote.call(void 0, result.nextCursor)} --json`
|
|
@@ -17907,7 +17907,7 @@ Examples:
|
|
|
17907
17907
|
new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
17908
17908
|
).action(async (runId, options) => {
|
|
17909
17909
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
17910
|
-
const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
17910
|
+
const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-OFYPUPUV.js")));
|
|
17911
17911
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
17912
17912
|
receiptJson: options.json !== void 0
|
|
17913
17913
|
});
|
|
@@ -17915,7 +17915,7 @@ Examples:
|
|
|
17915
17915
|
}
|
|
17916
17916
|
process.exitCode = await handleRunGet([
|
|
17917
17917
|
runId,
|
|
17918
|
-
...
|
|
17918
|
+
..._chunkZDQFBJPOjs.jsonFieldArgs.call(void 0, options.json),
|
|
17919
17919
|
...options.web ? ["--web"] : [],
|
|
17920
17920
|
...options.webUrl ? ["--web-url"] : [],
|
|
17921
17921
|
...options.full ? ["--full"] : [],
|
|
@@ -18245,7 +18245,7 @@ Examples:
|
|
|
18245
18245
|
...options.allowEmpty ? ["--allow-empty"] : [],
|
|
18246
18246
|
...options.wait ? ["--wait"] : [],
|
|
18247
18247
|
...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
|
|
18248
|
-
...
|
|
18248
|
+
..._chunkZDQFBJPOjs.jsonFieldArgs.call(void 0, options.json)
|
|
18249
18249
|
]);
|
|
18250
18250
|
});
|
|
18251
18251
|
const share = play.command("share").description(
|
|
@@ -18411,10 +18411,10 @@ async function handlePlayShareStatus(args) {
|
|
|
18411
18411
|
return 2;
|
|
18412
18412
|
}
|
|
18413
18413
|
const name = parseReferencedPlayTarget(target).playName;
|
|
18414
|
-
const status = await new (0,
|
|
18414
|
+
const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getSharePage(name);
|
|
18415
18415
|
const outputStatus = shareStatusForOutput(status);
|
|
18416
|
-
if (
|
|
18417
|
-
|
|
18416
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18417
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, outputStatus);
|
|
18418
18418
|
return 0;
|
|
18419
18419
|
}
|
|
18420
18420
|
if (!outputStatus.share) {
|
|
@@ -18453,7 +18453,7 @@ async function handlePlaySharePublish(args) {
|
|
|
18453
18453
|
return 2;
|
|
18454
18454
|
}
|
|
18455
18455
|
const name = parseReferencedPlayTarget(target).playName;
|
|
18456
|
-
const client = new (0,
|
|
18456
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
18457
18457
|
let revisionId = shareFlagValue(args, "--revision-id");
|
|
18458
18458
|
let resolvedVersion;
|
|
18459
18459
|
if (!revisionId) {
|
|
@@ -18484,8 +18484,8 @@ async function handlePlaySharePublish(args) {
|
|
|
18484
18484
|
);
|
|
18485
18485
|
if (!hasCompleted) {
|
|
18486
18486
|
const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
|
|
18487
|
-
if (
|
|
18488
|
-
|
|
18487
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18488
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, {
|
|
18489
18489
|
ok: false,
|
|
18490
18490
|
code: "NO_SUCCESSFUL_RUN",
|
|
18491
18491
|
message,
|
|
@@ -18509,8 +18509,8 @@ async function handlePlaySharePublish(args) {
|
|
|
18509
18509
|
};
|
|
18510
18510
|
if (args.includes("--dry-run")) {
|
|
18511
18511
|
const plan = { dryRun: true, name, version: resolvedVersion, ...request };
|
|
18512
|
-
if (
|
|
18513
|
-
|
|
18512
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18513
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, plan);
|
|
18514
18514
|
} else {
|
|
18515
18515
|
console.log(
|
|
18516
18516
|
`Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
|
|
@@ -18520,8 +18520,8 @@ async function handlePlaySharePublish(args) {
|
|
|
18520
18520
|
}
|
|
18521
18521
|
const status = await client.publishSharePage(name, request);
|
|
18522
18522
|
const outputStatus = shareStatusForOutput(status);
|
|
18523
|
-
if (
|
|
18524
|
-
|
|
18523
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18524
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, outputStatus);
|
|
18525
18525
|
return 0;
|
|
18526
18526
|
}
|
|
18527
18527
|
const urls = shareUrlFields(outputStatus);
|
|
@@ -18552,9 +18552,9 @@ async function handlePlayShareUpdate(args) {
|
|
|
18552
18552
|
...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
|
|
18553
18553
|
...seoIndexing ? { seoIndexing } : {}
|
|
18554
18554
|
};
|
|
18555
|
-
const status = await new (0,
|
|
18556
|
-
if (
|
|
18557
|
-
|
|
18555
|
+
const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().updateSharePage(name, request);
|
|
18556
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18557
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, status);
|
|
18558
18558
|
return 0;
|
|
18559
18559
|
}
|
|
18560
18560
|
console.log(`Updated ${name} share settings.`);
|
|
@@ -18569,7 +18569,7 @@ async function handlePlayShareRegenerate(args) {
|
|
|
18569
18569
|
return 2;
|
|
18570
18570
|
}
|
|
18571
18571
|
const name = parseReferencedPlayTarget(target).playName;
|
|
18572
|
-
const client = new (0,
|
|
18572
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
18573
18573
|
let revisionId = shareFlagValue(args, "--revision-id");
|
|
18574
18574
|
const versionFlag = shareFlagValue(args, "--version");
|
|
18575
18575
|
if (!revisionId && versionFlag) {
|
|
@@ -18586,8 +18586,8 @@ async function handlePlayShareRegenerate(args) {
|
|
|
18586
18586
|
revisionId ? { revisionId } : {}
|
|
18587
18587
|
);
|
|
18588
18588
|
const outputStatus = shareStatusForOutput(status);
|
|
18589
|
-
if (
|
|
18590
|
-
|
|
18589
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18590
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, outputStatus);
|
|
18591
18591
|
return 0;
|
|
18592
18592
|
}
|
|
18593
18593
|
const urls = shareUrlFields(outputStatus);
|
|
@@ -18612,9 +18612,9 @@ async function handlePlayShareUnpublish(args) {
|
|
|
18612
18612
|
return 2;
|
|
18613
18613
|
}
|
|
18614
18614
|
const name = parseReferencedPlayTarget(target).playName;
|
|
18615
|
-
const status = await new (0,
|
|
18616
|
-
if (
|
|
18617
|
-
|
|
18615
|
+
const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().unpublishSharePage(name);
|
|
18616
|
+
if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
|
|
18617
|
+
_chunkZDQFBJPOjs.printCompactJson.call(void 0, status);
|
|
18618
18618
|
return 0;
|
|
18619
18619
|
}
|
|
18620
18620
|
console.log(`Unpublished ${name}; the public page has been removed.`);
|
|
@@ -18692,4 +18692,4 @@ async function handlePlayShareUnpublish(args) {
|
|
|
18692
18692
|
|
|
18693
18693
|
|
|
18694
18694
|
|
|
18695
|
-
exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; exports.buildPlayCompletionTextLines = buildPlayCompletionTextLines; exports.buildRunActivityTextLines = buildRunActivityTextLines; exports.buildRunLaunch = buildRunLaunch; exports.buildRunLogsText = buildRunLogsText; exports.buildRunPackageTextLines = buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = buildStopAllDryRunTextLines; exports.checkPlayFileExports = checkPlayFileExports; exports.clampJsonPreviewText = clampJsonPreviewText; exports.compactPlayStatus = compactPlayStatus; exports.csvColumnLines = csvColumnLines; exports.describeSleepUntil = describeSleepUntil; exports.exportPlayStatusRows = exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = handlePlayCheck; exports.handlePlayCost = handlePlayCost; exports.handlePlayDelete = handlePlayDelete; exports.handlePlayDescribe = handlePlayDescribe; exports.handlePlayGet = handlePlayGet; exports.handlePlayGrep = handlePlayGrep; exports.handlePlayList = handlePlayList; exports.handlePlayPin = handlePlayPin; exports.handlePlayPublish = handlePlayPublish; exports.handlePlayRestore = handlePlayRestore; exports.handlePlayRun = handlePlayRun; exports.handlePlaySave = handlePlaySave; exports.handlePlaySharePublish = handlePlaySharePublish; exports.handlePlayShareRegenerate = handlePlayShareRegenerate; exports.handlePlayShareStatus = handlePlayShareStatus; exports.handlePlayShareUnpublish = handlePlayShareUnpublish; exports.handlePlayShareUpdate = handlePlayShareUpdate; exports.handlePlayVersions = handlePlayVersions; exports.handleRunEventSearch = handleRunEventSearch; exports.handleRunExport = handleRunExport; exports.handleRunGet = handleRunGet; exports.handleRunLifecycleStatus = handleRunLifecycleStatus; exports.handleRunLogs = handleRunLogs; exports.handleRunStop = handleRunStop; exports.handleRunStopAll = handleRunStopAll; exports.handleRunTail = handleRunTail; exports.handleRunsList = handleRunsList; exports.handleRunsRerun = handleRunsRerun; exports.liveMaxCreditsPerRun = liveMaxCreditsPerRun; exports.loadPlayBundler = loadPlayBundler; exports.parsePlayPublishOptions = parsePlayPublishOptions; exports.parsePlayRunHeaderFlag =
|
|
18695
|
+
exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; exports.buildPlayCompletionTextLines = buildPlayCompletionTextLines; exports.buildRunActivityTextLines = buildRunActivityTextLines; exports.buildRunLaunch = buildRunLaunch; exports.buildRunLogsText = buildRunLogsText; exports.buildRunPackageTextLines = buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = buildStopAllDryRunTextLines; exports.checkPlayFileExports = checkPlayFileExports; exports.clampJsonPreviewText = clampJsonPreviewText; exports.compactPlayStatus = compactPlayStatus; exports.csvColumnLines = csvColumnLines; exports.describeSleepUntil = describeSleepUntil; exports.exportPlayStatusRows = exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = handlePlayCheck; exports.handlePlayCost = handlePlayCost; exports.handlePlayDelete = handlePlayDelete; exports.handlePlayDescribe = handlePlayDescribe; exports.handlePlayGet = handlePlayGet; exports.handlePlayGrep = handlePlayGrep; exports.handlePlayList = handlePlayList; exports.handlePlayPin = handlePlayPin; exports.handlePlayPublish = handlePlayPublish; exports.handlePlayRestore = handlePlayRestore; exports.handlePlayRun = handlePlayRun; exports.handlePlaySave = handlePlaySave; exports.handlePlaySharePublish = handlePlaySharePublish; exports.handlePlayShareRegenerate = handlePlayShareRegenerate; exports.handlePlayShareStatus = handlePlayShareStatus; exports.handlePlayShareUnpublish = handlePlayShareUnpublish; exports.handlePlayShareUpdate = handlePlayShareUpdate; exports.handlePlayVersions = handlePlayVersions; exports.handleRunEventSearch = handleRunEventSearch; exports.handleRunExport = handleRunExport; exports.handleRunGet = handleRunGet; exports.handleRunLifecycleStatus = handleRunLifecycleStatus; exports.handleRunLogs = handleRunLogs; exports.handleRunStop = handleRunStop; exports.handleRunStopAll = handleRunStopAll; exports.handleRunTail = handleRunTail; exports.handleRunsList = handleRunsList; exports.handleRunsRerun = handleRunsRerun; exports.liveMaxCreditsPerRun = liveMaxCreditsPerRun; exports.loadPlayBundler = loadPlayBundler; exports.parsePlayPublishOptions = parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkXYE5XPGFjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkXYE5XPGFjs.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; exports.resolvePlayRunUrl = resolvePlayRunUrl; exports.resolveRunStopState = resolveRunStopState; exports.selectRunLogTailPage = selectRunLogTailPage; exports.shouldPrintPlayProgressLine = shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletion = startAndWaitForPlayCompletion; exports.startAndWaitForPlayCompletionByStream = startAndWaitForPlayCompletionByStream; exports.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
|