deepline 0.3.573 → 0.3.575

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.
Files changed (178) hide show
  1. package/dist/bundling-sources/sdk/src/config.ts +19 -0
  2. package/dist/bundling-sources/sdk/src/play.ts +7 -4
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +8 -0
  5. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  6. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/builtin-pacing.ts +18 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +4 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +1 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +0 -14
  11. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +4 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +43 -7
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +56 -20
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +45 -7
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -66
  16. package/dist/cli/agents-BCLO3KQJ.js +996 -0
  17. package/dist/cli/agents-ULGDKUTM.mjs +996 -0
  18. package/dist/cli/{auth-XX3HLRQ2.mjs → auth-4WCL7A6W.mjs} +5 -5
  19. package/dist/cli/auth-DXUHEL5I.js +44 -0
  20. package/dist/cli/{billing-QASEPOBL.mjs → billing-7JQ6EUQU.mjs} +10 -10
  21. package/dist/cli/{billing-6TY2HMC6.js → billing-BF5LVXOM.js} +106 -106
  22. package/dist/cli/{chunk-NUH56LTU.mjs → chunk-2T7XOKVL.mjs} +5 -5
  23. package/dist/cli/{chunk-KQZBN7TB.js → chunk-2UM3I2MY.js} +1 -1
  24. package/dist/cli/{chunk-MQOJ7SP4.mjs → chunk-3PVKXUSJ.mjs} +9 -1
  25. package/dist/cli/{chunk-6JTJP3WO.mjs → chunk-56N3XAT6.mjs} +5 -5
  26. package/dist/cli/{chunk-T2QI52F2.mjs → chunk-5D7OJY4W.mjs} +1 -1
  27. package/dist/cli/{chunk-JAW75RAO.js → chunk-5H6254MJ.js} +27 -20
  28. package/dist/cli/{chunk-N3VZTISZ.js → chunk-5VSHQG5E.js} +8 -8
  29. package/dist/cli/{chunk-KART6FR6.js → chunk-636GD4IR.js} +2 -2
  30. package/dist/cli/{chunk-XWO4J34B.js → chunk-6IKLITVH.js} +6 -6
  31. package/dist/cli/{chunk-Z6KWSBOX.js → chunk-737Y7QGT.js} +41 -41
  32. package/dist/cli/{chunk-XVFRNNL2.js → chunk-7DLAJ6JJ.js} +53 -53
  33. package/dist/cli/{chunk-GWPXWKQR.js → chunk-AO56MZ7D.js} +15 -7
  34. package/dist/cli/{chunk-DIZI5YGW.js → chunk-AS5XGOZY.js} +2 -2
  35. package/dist/cli/{chunk-ESKNCTFI.mjs → chunk-BM536WWR.mjs} +1 -1
  36. package/dist/cli/{chunk-LPYUGPTF.mjs → chunk-BONMEBWZ.mjs} +4 -4
  37. package/dist/cli/{chunk-4LWBURSS.mjs → chunk-BQUAE6LQ.mjs} +1 -1
  38. package/dist/cli/{chunk-QDQOXHXQ.mjs → chunk-CVY4MBXH.mjs} +5 -5
  39. package/dist/cli/{chunk-N6KF6X3D.js → chunk-DMPGJCNZ.js} +177 -6
  40. package/dist/cli/{chunk-ENHQBPR5.mjs → chunk-DWUESXDD.mjs} +4 -3
  41. package/dist/cli/{chunk-5NEJOCOK.mjs → chunk-E4RYSSXX.mjs} +2 -2
  42. package/dist/cli/{chunk-IZK2BLBW.js → chunk-EV3OPDHF.js} +20 -20
  43. package/dist/cli/{chunk-YKHXWO7N.js → chunk-EZIXKNKM.js} +3 -3
  44. package/dist/cli/{chunk-64MOX3SN.mjs → chunk-FDCU3VAJ.mjs} +174 -3
  45. package/dist/cli/{chunk-X3BGF6UU.js → chunk-FXXERR52.js} +10 -10
  46. package/dist/cli/{chunk-BM4GE67C.mjs → chunk-FYKHAT2F.mjs} +81 -7
  47. package/dist/cli/{chunk-UNTBQY64.js → chunk-G2H6SQQY.js} +11 -11
  48. package/dist/cli/{chunk-WQEGXOUT.js → chunk-G4WPDCXA.js} +48 -48
  49. package/dist/cli/{chunk-OG3YWDYA.js → chunk-GB4IZ5TV.js} +13 -13
  50. package/dist/cli/{chunk-N5VL6BHF.mjs → chunk-GQZFZG6R.mjs} +2 -2
  51. package/dist/cli/{chunk-JCVAVHDP.mjs → chunk-H3CG72RZ.mjs} +21 -16
  52. package/dist/cli/{chunk-FXLVMWWA.js → chunk-H6JMRLAZ.js} +280 -275
  53. package/dist/cli/{chunk-UBTEDSIK.js → chunk-HEOM3FAC.js} +20 -20
  54. package/dist/cli/{chunk-CY3BUFMG.js → chunk-HO76C7AE.js} +2 -2
  55. package/dist/cli/{chunk-XAIXTB74.mjs → chunk-IAJ65IDZ.mjs} +4 -4
  56. package/dist/cli/{chunk-ENLJ67CZ.mjs → chunk-IBYMGR5Y.mjs} +1 -1
  57. package/dist/cli/{chunk-4K6UVILG.mjs → chunk-IOWLFWWG.mjs} +2 -2
  58. package/dist/cli/{chunk-NJTTRJ32.mjs → chunk-JGLCK2XF.mjs} +2 -2
  59. package/dist/cli/{chunk-DLWVJ66I.js → chunk-KNCNFL76.js} +4 -4
  60. package/dist/cli/{chunk-XLN4Z654.mjs → chunk-MN7JLH2T.mjs} +2 -2
  61. package/dist/cli/{chunk-IXCGWJJZ.mjs → chunk-MWLOBURN.mjs} +2 -2
  62. package/dist/cli/{chunk-6ASDTHEN.js → chunk-MXK4M7HP.js} +21 -17
  63. package/dist/cli/{chunk-C52RRBYB.mjs → chunk-NF722E6C.mjs} +1 -1
  64. package/dist/cli/{chunk-TNCJ2J76.js → chunk-PQYDO72W.js} +26 -26
  65. package/dist/cli/{chunk-PW3PADXI.mjs → chunk-QEDRUURT.mjs} +1 -1
  66. package/dist/cli/{chunk-QFDT35HF.mjs → chunk-QKP3WYSZ.mjs} +3 -3
  67. package/dist/cli/{chunk-M2UJWUWX.mjs → chunk-RHRRY2BX.mjs} +3 -3
  68. package/dist/cli/{chunk-HUJMFETO.mjs → chunk-RW3URFZK.mjs} +7 -3
  69. package/dist/cli/{chunk-TBLP7HDL.js → chunk-SKHUWQZE.js} +10 -9
  70. package/dist/cli/{chunk-WSXRJ2RZ.mjs → chunk-SYQTBHRX.mjs} +3 -3
  71. package/dist/cli/{chunk-ANSHNREL.mjs → chunk-TMFR2B45.mjs} +3 -3
  72. package/dist/cli/{chunk-5MCC4D25.mjs → chunk-TTBZ7QXX.mjs} +1 -1
  73. package/dist/cli/{chunk-ROSPYLDN.mjs → chunk-UQZP7XBQ.mjs} +17 -10
  74. package/dist/cli/{chunk-TJSKDOXN.js → chunk-V5XLENWK.js} +7 -7
  75. package/dist/cli/{chunk-DSE45YP4.mjs → chunk-X47J55ZJ.mjs} +2 -2
  76. package/dist/cli/{chunk-FUVVTHXE.js → chunk-XFV353R2.js} +23 -23
  77. package/dist/cli/{chunk-OPD6XUIG.js → chunk-YNAXKA23.js} +5 -5
  78. package/dist/cli/{chunk-LHPYCJNL.js → chunk-ZO65VJRJ.js} +87 -13
  79. package/dist/cli/{chunk-2USXCXPZ.js → chunk-ZQXJYO5P.js} +5 -5
  80. package/dist/cli/{chunk-UZLTBBAG.js → chunk-ZS6DT4LD.js} +15 -15
  81. package/dist/cli/{chunk-KQLIG4YR.js → chunk-ZYSJND73.js} +9 -9
  82. package/dist/cli/command-docs.js +3 -3
  83. package/dist/cli/command-docs.mjs +2 -2
  84. package/dist/cli/{concurrent-runs-help-IILHMHBX.mjs → concurrent-runs-help-HITK6EOO.mjs} +7 -7
  85. package/dist/cli/concurrent-runs-help-JLWY54WL.js +22 -0
  86. package/dist/cli/{csv-OSJQVDAS.js → csv-RS7XHQ4P.js} +13 -13
  87. package/dist/cli/{csv-VGYW2PQZ.mjs → csv-V2T23MXT.mjs} +4 -4
  88. package/dist/cli/{db-3IQYT3WD.mjs → db-OQ4RNTGE.mjs} +6 -6
  89. package/dist/cli/{db-2IMS6K2F.js → db-WFIVRPKY.js} +27 -27
  90. package/dist/cli/describe-33PBWO5O.js +50 -0
  91. package/dist/cli/{describe-IGJ4CHUC.mjs → describe-AXV2EEX3.mjs} +21 -21
  92. package/dist/cli/describe-core.d.mts +13 -2
  93. package/dist/cli/describe-core.d.ts +13 -2
  94. package/dist/cli/describe-core.js +4 -4
  95. package/dist/cli/describe-core.mjs +3 -3
  96. package/dist/cli/{executions-VOJN4NPF.js → executions-5H2RIWZ3.js} +8 -8
  97. package/dist/cli/{executions-6F3PLVCR.mjs → executions-THP5ZDBQ.mjs} +6 -6
  98. package/dist/cli/{feedback-BP5G27DT.mjs → feedback-2EJPILGE.mjs} +6 -6
  99. package/dist/cli/{feedback-5N7GKSMC.js → feedback-UOI6UEGA.js} +14 -14
  100. package/dist/cli/git-2OPYEPYW.js +26 -0
  101. package/dist/cli/{git-FHNCP7QA.mjs → git-DI3LJIAT.mjs} +5 -5
  102. package/dist/cli/index.js +152 -148
  103. package/dist/cli/index.mjs +51 -47
  104. package/dist/cli/{integrations-KKCEEWDU.mjs → integrations-DJYS5VRK.mjs} +7 -7
  105. package/dist/cli/{integrations-JZV55BZT.js → integrations-TYN2BSQ6.js} +29 -29
  106. package/dist/cli/{legacy-noops-OVOHF47E.js → legacy-noops-GXQHNLGJ.js} +9 -9
  107. package/dist/cli/{legacy-noops-YOPWDLRG.mjs → legacy-noops-Z457BB6O.mjs} +6 -6
  108. package/dist/cli/{mcp-SJAXFYTI.mjs → mcp-NAW3GFNN.mjs} +4 -4
  109. package/dist/cli/{mcp-F2XGBA6W.js → mcp-WMBOOTQL.js} +24 -24
  110. package/dist/cli/{monitors-PFH3FQLD.mjs → monitors-A7NYAXSJ.mjs} +7 -7
  111. package/dist/cli/{monitors-RQRNQRYB.js → monitors-OOQVE7XR.js} +100 -100
  112. package/dist/cli/{org-PZC6SUZD.mjs → org-7YCDUSZE.mjs} +6 -6
  113. package/dist/cli/{org-WPOEKMTG.js → org-D2AMIVBS.js} +121 -121
  114. package/dist/cli/{outcomes-EXOCNHOC.js → outcomes-2FKZDJSQ.js} +17 -15
  115. package/dist/cli/{outcomes-ZS7XD3KQ.mjs → outcomes-TNTKCUEO.mjs} +9 -7
  116. package/dist/cli/{play-UKSRFVIU.mjs → play-L6CVHSN4.mjs} +88 -33
  117. package/dist/cli/{play-JS2TEEE7.js → play-NWKHCHVZ.js} +393 -338
  118. package/dist/cli/{providers-U6IODPMJ.mjs → providers-22LO747B.mjs} +6 -6
  119. package/dist/cli/{providers-3U4MWBLU.js → providers-PZGOI5CN.js} +9 -9
  120. package/dist/cli/{quickstart-G5QN5CUE.mjs → quickstart-3ZRVKGMH.mjs} +4 -4
  121. package/dist/cli/{quickstart-SHBAEDX6.js → quickstart-LLWOC2GR.js} +6 -6
  122. package/dist/cli/{run-3ZOJ6V7C.mjs → run-D46W2GUA.mjs} +48 -27
  123. package/dist/cli/{run-SZRKNLUT.js → run-SNF23STR.js} +70 -49
  124. package/dist/cli/search-H57MZPLF.js +32 -0
  125. package/dist/cli/{search-2VX5WNMJ.mjs → search-XWVCICIX.mjs} +7 -7
  126. package/dist/cli/{search-output-WGDHYYHX.js → search-output-36GHD67U.js} +12 -9
  127. package/dist/cli/{search-output-U5N2O6IA.mjs → search-output-YM5QXFQQ.mjs} +9 -6
  128. package/dist/cli/{secrets-SQKP5ILO.mjs → secrets-7PTZEFRC.mjs} +6 -6
  129. package/dist/cli/{secrets-UITJOGVQ.js → secrets-UXCIHG5I.js} +15 -15
  130. package/dist/cli/{sessions-LSXO2OKX.mjs → sessions-DTXJKRP4.mjs} +6 -6
  131. package/dist/cli/sessions-JJZMQSH4.js +23 -0
  132. package/dist/cli/{settings-YGYRDPOK.mjs → settings-74B6UOS4.mjs} +12 -12
  133. package/dist/cli/{settings-VZI675JG.js → settings-EYSDZE37.js} +85 -85
  134. package/dist/cli/{setup-GXGXRWKN.mjs → setup-2QRZ36CH.mjs} +9 -9
  135. package/dist/cli/{setup-OJ33NOWK.js → setup-E7PVXBPL.js} +49 -49
  136. package/dist/cli/{skills-3VDYIFAX.mjs → skills-2WZ7N3UW.mjs} +7 -7
  137. package/dist/cli/skills-RIF2DCZI.js +37 -0
  138. package/dist/cli/tools-7VRQ4GSI.js +57 -0
  139. package/dist/cli/{tools-3TKEGDBP.mjs → tools-YK5SCUZD.mjs} +19 -19
  140. package/dist/cli/{update-K6A4QXTC.mjs → update-563YQK53.mjs} +9 -9
  141. package/dist/cli/update-CMZAIAES.js +37 -0
  142. package/dist/cli/{views-2PPIVWDK.mjs → views-ISNCRZUP.mjs} +6 -6
  143. package/dist/cli/{views-SGGO77XS.js → views-OLPS6TPG.js} +21 -21
  144. package/dist/cli/{workflow-JTG6QEFO.mjs → workflow-B3ZKU3OR.mjs} +7 -7
  145. package/dist/cli/{workflow-YSFOOTPB.js → workflow-CUSCTYMW.js} +17 -17
  146. package/dist/{client-DCnExziW.d.ts → client-BrdMPFCM.d.ts} +1 -1
  147. package/dist/{client-ClJlqkKt.d.mts → client-CF-bsrtI.d.mts} +1 -1
  148. package/dist/{client-core-DAOPQnGD.d.mts → client-core-DM1ZedOG.d.mts} +8 -0
  149. package/dist/{client-core-BKq5ZNAl.d.ts → client-core-rMoUWSYM.d.ts} +8 -0
  150. package/dist/index.d.mts +3 -3
  151. package/dist/index.d.ts +3 -3
  152. package/dist/index.js +9 -9
  153. package/dist/index.mjs +6 -6
  154. package/dist/install-integrity.json +128 -126
  155. package/dist/plays/play-description.d.mts +1 -1
  156. package/dist/plays/play-description.d.ts +1 -1
  157. package/dist/plays/run-request.d.mts +1 -1
  158. package/dist/plays/run-request.d.ts +1 -1
  159. package/dist/release.d.mts +1 -1
  160. package/dist/release.d.ts +1 -1
  161. package/dist/release.js +2 -2
  162. package/dist/release.mjs +1 -1
  163. package/dist/server.d.mts +2 -2
  164. package/dist/server.d.ts +2 -2
  165. package/dist/server.js +5 -5
  166. package/dist/server.mjs +3 -3
  167. package/package.json +1 -1
  168. package/dist/cli/auth-DGR7ZQJL.js +0 -44
  169. package/dist/cli/concurrent-runs-help-HEIDXAM2.js +0 -22
  170. package/dist/cli/describe-LBU4I6SU.js +0 -50
  171. package/dist/cli/git-JUSPUUOH.js +0 -26
  172. package/dist/cli/search-TAFMLK4K.js +0 -32
  173. package/dist/cli/sessions-RA6FBIHJ.js +0 -23
  174. package/dist/cli/skills-J5QVWKLQ.js +0 -37
  175. package/dist/cli/tools-3PQXQGXL.js +0 -57
  176. package/dist/cli/update-CA3DZ75E.js +0 -37
  177. /package/dist/cli/{chunk-2RIKOPIM.mjs → chunk-HECXJBED.mjs} +0 -0
  178. /package/dist/cli/{chunk-H4ALLC2X.js → chunk-TJCENACZ.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkN3VZTISZjs = require('./chunk-N3VZTISZ.js');
3
+ var _chunk5VSHQG5Ejs = require('./chunk-5VSHQG5E.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkGWPXWKQRjs = require('./chunk-GWPXWKQR.js');
7
+ var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkGWPXWKQRjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkN3VZTISZjs.PlayClient)(
142
- new (0, _chunkGWPXWKQRjs.HttpClient)(config),
140
+ const config = _chunkAO56MZ7Djs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk5VSHQG5Ejs.PlayClient)(
142
+ new (0, _chunkAO56MZ7Djs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkOPD6XUIGjs = require('./chunk-OPD6XUIG.js');
3
+ var _chunkYNAXKA23js = require('./chunk-YNAXKA23.js');
4
4
 
5
5
 
6
- var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
6
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
7
7
 
8
8
 
9
- var _chunkGWPXWKQRjs = require('./chunk-GWPXWKQR.js');
9
+ var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  var _commander = require('commander');
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  function printIntegrationResult(value, json, lines, nextCursor) {
16
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
16
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
17
17
  {},
18
18
  {
19
19
  json: json || void 0,
@@ -29,7 +29,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
29
29
  return parent.command("balance <provider>", { hidden }).description(
30
30
  "Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
31
31
  ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
32
- const balance = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().getIntegrationBalance(
32
+ const balance = await new (0, _chunkYNAXKA23js.DeeplineClient)().getIntegrationBalance(
33
33
  provider
34
34
  );
35
35
  printIntegrationResult(balance, options.json, [
@@ -43,7 +43,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
43
43
  "List teammates\u2019 personal connections for this provider"
44
44
  ).option("--cursor <cursor>", "Read the next page of members").action(
45
45
  async (options) => {
46
- const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
46
+ const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
47
47
  if (name === "list" && options.cursor && !options.members)
48
48
  throw new Error(
49
49
  "Use --cursor with --members to continue a member page."
@@ -85,7 +85,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
85
85
  }
86
86
  function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
87
87
  return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
88
- const page = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().listPersonalHubSpotMembers(
88
+ const page = await new (0, _chunkYNAXKA23js.DeeplineClient)().listPersonalHubSpotMembers(
89
89
  options.cursor
90
90
  );
91
91
  const rows = page.members.map((member) => {
@@ -111,7 +111,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
111
111
  );
112
112
  if (options.autoName && (action !== "connect" || options.name !== void 0))
113
113
  throw new Error("Use --auto-name with connect and omit --name.");
114
- const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
114
+ const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
115
115
  const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
116
116
  const row = connections.find(
117
117
  (connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
@@ -144,7 +144,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
144
144
  "Print the proposed change without contacting Google or saving it"
145
145
  ).option("--json", "Print the result as JSON").action(
146
146
  async (action, options) => {
147
- const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
147
+ const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
148
148
  if (action === "list") {
149
149
  const inventory = await client.listCalendarAvailabilityConnections();
150
150
  const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
@@ -294,7 +294,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
294
294
  }
295
295
  function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
296
296
  return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
297
- const page = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().listAvailabilityCalendars(
297
+ const page = await new (0, _chunkYNAXKA23js.DeeplineClient)().listAvailabilityCalendars(
298
298
  options.cursor
299
299
  );
300
300
  printIntegrationResult(page, options.json, [
@@ -372,7 +372,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
372
372
  );
373
373
  return;
374
374
  }
375
- const result2 = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().connectManagedIntegration(
375
+ const result2 = await new (0, _chunkYNAXKA23js.DeeplineClient)().connectManagedIntegration(
376
376
  provider,
377
377
  {
378
378
  termsVersion: options.acceptTerms,
@@ -409,7 +409,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
409
409
  printSetupPlan({ provider, action: "connect_link" }, options.json);
410
410
  return;
411
411
  }
412
- const link = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().getIntegrationConnectLink(
412
+ const link = await new (0, _chunkYNAXKA23js.DeeplineClient)().getIntegrationConnectLink(
413
413
  provider
414
414
  );
415
415
  printIntegrationResult(link, options.json, [link.connect_url]);
@@ -439,7 +439,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
439
439
  );
440
440
  return;
441
441
  }
442
- const result2 = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().startIntegrationOAuth(
442
+ const result2 = await new (0, _chunkYNAXKA23js.DeeplineClient)().startIntegrationOAuth(
443
443
  provider,
444
444
  {
445
445
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -501,7 +501,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
501
501
  "--credentials-file must contain a nonempty JSON object of string credential values."
502
502
  );
503
503
  }
504
- const result = await new (0, _chunkOPD6XUIGjs.DeeplineClient)().setIntegrationCredentials(
504
+ const result = await new (0, _chunkYNAXKA23js.DeeplineClient)().setIntegrationCredentials(
505
505
  provider,
506
506
  credentials,
507
507
  { expectedConnectionId: options.expectedConnectionId, teamId }
@@ -530,7 +530,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
530
530
  function connectTeamId(orgDefault) {
531
531
  if (orgDefault) return null;
532
532
  try {
533
- return _nullishCoalesce(_chunkGWPXWKQRjs.resolveConfig.call(void 0, ).workspace, () => ( null));
533
+ return _nullishCoalesce(_chunkAO56MZ7Djs.resolveConfig.call(void 0, ).workspace, () => ( null));
534
534
  } catch (e2) {
535
535
  return _optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.DEEPLINE_WORKSPACE_ID, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]) || null;
536
536
  }
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkN3VZTISZjs = require('./chunk-N3VZTISZ.js');
6
+ var _chunk5VSHQG5Ejs = require('./chunk-5VSHQG5E.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
14
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkIZK2BLBWjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkEV3OPDHFjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkIZK2BLBWjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkIZK2BLBWjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkEV3OPDHFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkEV3OPDHFjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkN3VZTISZjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunk5VSHQG5Ejs.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkN3VZTISZjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5VSHQG5Ejs.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkIZK2BLBWjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkIZK2BLBWjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkEV3OPDHFjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkEV3OPDHFjs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkIZK2BLBWjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkEV3OPDHFjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -7,8 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkN6KF6X3Djs = require('./chunk-N6KF6X3D.js');
11
- require('./chunk-H4ALLC2X.js');
10
+ var _chunkDMPGJCNZjs = require('./chunk-DMPGJCNZ.js');
11
+ require('./chunk-TJCENACZ.js');
12
12
  require('./chunk-E2G2DNAB.js');
13
13
  require('./chunk-YGCKMI5P.js');
14
14
  require('./chunk-COGTRVWW.js');
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
21
21
 
22
22
 
23
23
 
24
- exports.CLI_DOC_SURFACE = _chunkN6KF6X3Djs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkN6KF6X3Djs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkN6KF6X3Djs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkN6KF6X3Djs.commandDocKey; exports.helpDetailFromArgv = _chunkN6KF6X3Djs.helpDetailFromArgv; exports.renderActionExplanation = _chunkN6KF6X3Djs.renderActionExplanation; exports.renderCommandExplanation = _chunkN6KF6X3Djs.renderCommandExplanation; exports.renderDocText = _chunkN6KF6X3Djs.renderDocText;
24
+ exports.CLI_DOC_SURFACE = _chunkDMPGJCNZjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkDMPGJCNZjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkDMPGJCNZjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkDMPGJCNZjs.commandDocKey; exports.helpDetailFromArgv = _chunkDMPGJCNZjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkDMPGJCNZjs.renderActionExplanation; exports.renderCommandExplanation = _chunkDMPGJCNZjs.renderCommandExplanation; exports.renderDocText = _chunkDMPGJCNZjs.renderDocText;
@@ -7,8 +7,8 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-64MOX3SN.mjs";
11
- import "./chunk-2RIKOPIM.mjs";
10
+ } from "./chunk-FDCU3VAJ.mjs";
11
+ import "./chunk-HECXJBED.mjs";
12
12
  import "./chunk-LRZGS6RZ.mjs";
13
13
  import "./chunk-7I4B6V2S.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
@@ -2,17 +2,17 @@ import {
2
2
  CONCURRENT_RUNS_HELP_COMMANDS,
3
3
  concurrentRunsHelpStatus,
4
4
  concurrentRunsLine
5
- } from "./chunk-QFDT35HF.mjs";
6
- import "./chunk-ANSHNREL.mjs";
7
- import "./chunk-2RIKOPIM.mjs";
8
- import "./chunk-DSE45YP4.mjs";
9
- import "./chunk-MQOJ7SP4.mjs";
10
- import "./chunk-ENLJ67CZ.mjs";
5
+ } from "./chunk-QKP3WYSZ.mjs";
6
+ import "./chunk-TMFR2B45.mjs";
7
+ import "./chunk-HECXJBED.mjs";
8
+ import "./chunk-X47J55ZJ.mjs";
9
+ import "./chunk-3PVKXUSJ.mjs";
10
+ import "./chunk-IBYMGR5Y.mjs";
11
11
  import "./chunk-ASB47RXJ.mjs";
12
12
  import "./chunk-DLIRSHV6.mjs";
13
13
  import "./chunk-Z3A2S3QM.mjs";
14
14
  import "./chunk-2MGZAI54.mjs";
15
- import "./chunk-ESKNCTFI.mjs";
15
+ import "./chunk-BM536WWR.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
  export {
@@ -0,0 +1,22 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkV5XLENWKjs = require('./chunk-V5XLENWK.js');
6
+ require('./chunk-7DLAJ6JJ.js');
7
+ require('./chunk-TJCENACZ.js');
8
+ require('./chunk-EV3OPDHF.js');
9
+ require('./chunk-AO56MZ7D.js');
10
+ require('./chunk-KNCNFL76.js');
11
+ require('./chunk-6VLFQZK6.js');
12
+ require('./chunk-XNYIZMNQ.js');
13
+ require('./chunk-LFQJW4S2.js');
14
+ require('./chunk-CFJFUVX2.js');
15
+ require('./chunk-2UM3I2MY.js');
16
+ require('./chunk-OG64RBAC.js');
17
+ require('./chunk-COGTRVWW.js');
18
+
19
+
20
+
21
+
22
+ exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunkV5XLENWKjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunkV5XLENWKjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunkV5XLENWKjs.concurrentRunsLine;
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
8
- require('./chunk-GWPXWKQR.js');
9
- require('./chunk-DLWVJ66I.js');
7
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
8
+ require('./chunk-AO56MZ7D.js');
9
+ require('./chunk-KNCNFL76.js');
10
10
  require('./chunk-6VLFQZK6.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-LFQJW4S2.js');
13
13
  require('./chunk-CFJFUVX2.js');
14
- require('./chunk-KQZBN7TB.js');
14
+ require('./chunk-2UM3I2MY.js');
15
15
  require('./chunk-OG64RBAC.js');
16
16
  require('./chunk-COGTRVWW.js');
17
17
 
@@ -129,7 +129,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
129
129
  column.length,
130
130
  ...rows.map((row) => {
131
131
  const value = _nullishCoalesce(row[column], () => ( ""));
132
- return (verbose ? value : _chunkIZK2BLBWjs.clip.call(void 0, value, 42)).length;
132
+ return (verbose ? value : _chunkEV3OPDHFjs.clip.call(void 0, value, 42)).length;
133
133
  })
134
134
  )
135
135
  ])
@@ -139,7 +139,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
139
139
  const body = rows.map(
140
140
  (row) => columns.map((column) => {
141
141
  const raw = _nullishCoalesce(row[column], () => ( ""));
142
- const display = verbose ? raw : _chunkIZK2BLBWjs.clip.call(void 0, raw, 42);
142
+ const display = verbose ? raw : _chunkEV3OPDHFjs.clip.call(void 0, raw, 42);
143
143
  return display.padEnd(widths[column]);
144
144
  }).join(" | ")
145
145
  );
@@ -159,7 +159,7 @@ async function handleCsvShow(path, options, command) {
159
159
  { exitCode: 2 }
160
160
  );
161
161
  }
162
- const allRows = _chunkIZK2BLBWjs.readCsvRows.call(void 0, csvPath);
162
+ const allRows = _chunkEV3OPDHFjs.readCsvRows.call(void 0, csvPath);
163
163
  const [rowStart, rowEnd] = parseRowRange(options.rows);
164
164
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
165
165
  const { rows: selected, columns } = selectColumns(
@@ -172,7 +172,7 @@ async function handleCsvShow(path, options, command) {
172
172
  if (options.summary) {
173
173
  const summaries = summarizeColumns(selected, columns);
174
174
  if (format === "json") {
175
- _chunkIZK2BLBWjs.printJson.call(void 0, {
175
+ _chunkEV3OPDHFjs.printJson.call(void 0, {
176
176
  rows: summaries,
177
177
  total_rows: selected.length,
178
178
  source_total_rows: allRows.length
@@ -181,7 +181,7 @@ async function handleCsvShow(path, options, command) {
181
181
  }
182
182
  const displayRows = summaryDisplayRows(summaries);
183
183
  if (format === "csv") {
184
- process.stdout.write(_chunkIZK2BLBWjs.csvStringFromRows.call(void 0, displayRows));
184
+ process.stdout.write(_chunkEV3OPDHFjs.csvStringFromRows.call(void 0, displayRows));
185
185
  return;
186
186
  }
187
187
  process.stdout.write(
@@ -196,7 +196,7 @@ async function handleCsvShow(path, options, command) {
196
196
  return;
197
197
  }
198
198
  if (format === "json") {
199
- _chunkIZK2BLBWjs.printJson.call(void 0, {
199
+ _chunkEV3OPDHFjs.printJson.call(void 0, {
200
200
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
201
201
  });
202
202
  return;
@@ -444,7 +444,7 @@ async function handleCsvRenderStart(options) {
444
444
  if (log) {
445
445
  detail = `
446
446
  CSV render log:
447
- ${_chunkIZK2BLBWjs.clip.call(void 0, log, 2e3)}`;
447
+ ${_chunkEV3OPDHFjs.clip.call(void 0, log, 2e3)}`;
448
448
  }
449
449
  } catch (e7) {
450
450
  }
@@ -495,7 +495,7 @@ async function handleCsvRenderStatus(options) {
495
495
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
496
496
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
497
497
  lines.push(`Render Health: ${payload.health_status}`);
498
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0, payload, {
498
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0, payload, {
499
499
  json: options.json,
500
500
  text: `${lines.join("\n")}
501
501
  `
@@ -531,7 +531,7 @@ async function handleCsvRenderStop(options) {
531
531
  };
532
532
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
533
533
  ` : "No running CSV render process found.\n";
534
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
534
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
535
535
  }
536
536
  async function handleCsvRender(action, options) {
537
537
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,14 +4,14 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-DSE45YP4.mjs";
8
- import "./chunk-MQOJ7SP4.mjs";
9
- import "./chunk-ENLJ67CZ.mjs";
7
+ } from "./chunk-X47J55ZJ.mjs";
8
+ import "./chunk-3PVKXUSJ.mjs";
9
+ import "./chunk-IBYMGR5Y.mjs";
10
10
  import "./chunk-ASB47RXJ.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-Z3A2S3QM.mjs";
13
13
  import "./chunk-2MGZAI54.mjs";
14
- import "./chunk-ESKNCTFI.mjs";
14
+ import "./chunk-BM536WWR.mjs";
15
15
  import "./chunk-WZYKRD7T.mjs";
16
16
  import "./chunk-KRD6H754.mjs";
17
17
 
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-STXDSVQZ.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-4K6UVILG.mjs";
6
+ } from "./chunk-IOWLFWWG.mjs";
7
7
  import {
8
8
  planCustomerDbQuery
9
- } from "./chunk-PW3PADXI.mjs";
9
+ } from "./chunk-QEDRUURT.mjs";
10
10
  import "./chunk-FZHMNK6F.mjs";
11
11
  import "./chunk-5TYLSS4Q.mjs";
12
12
  import "./chunk-PSX3WHIH.mjs";
@@ -19,9 +19,9 @@ import {
19
19
  printCommandEnvelope,
20
20
  recordRows,
21
21
  shouldEmitJson
22
- } from "./chunk-DSE45YP4.mjs";
23
- import "./chunk-MQOJ7SP4.mjs";
24
- import "./chunk-ENLJ67CZ.mjs";
22
+ } from "./chunk-X47J55ZJ.mjs";
23
+ import "./chunk-3PVKXUSJ.mjs";
24
+ import "./chunk-IBYMGR5Y.mjs";
25
25
  import {
26
26
  CustomerDbQueryOutcomeUnknownError
27
27
  } from "./chunk-ASB47RXJ.mjs";
@@ -30,7 +30,7 @@ import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import "./chunk-2MGZAI54.mjs";
33
- import "./chunk-ESKNCTFI.mjs";
33
+ import "./chunk-BM536WWR.mjs";
34
34
  import "./chunk-WZYKRD7T.mjs";
35
35
  import "./chunk-KRD6H754.mjs";
36
36
 
@@ -3,10 +3,10 @@
3
3
  var _chunkBVXIGOBZjs = require('./chunk-BVXIGOBZ.js');
4
4
 
5
5
 
6
- var _chunkOPD6XUIGjs = require('./chunk-OPD6XUIG.js');
6
+ var _chunkYNAXKA23js = require('./chunk-YNAXKA23.js');
7
7
 
8
8
 
9
- var _chunkN3VZTISZjs = require('./chunk-N3VZTISZ.js');
9
+ var _chunk5VSHQG5Ejs = require('./chunk-5VSHQG5E.js');
10
10
  require('./chunk-4WAM6TLD.js');
11
11
  require('./chunk-MJTVX4QK.js');
12
12
  require('./chunk-PMH4GLMD.js');
@@ -19,9 +19,9 @@ require('./chunk-PMH4GLMD.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
23
- require('./chunk-GWPXWKQR.js');
24
- require('./chunk-DLWVJ66I.js');
22
+ var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
23
+ require('./chunk-AO56MZ7D.js');
24
+ require('./chunk-KNCNFL76.js');
25
25
 
26
26
 
27
27
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -30,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
30
30
 
31
31
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
32
32
  require('./chunk-CFJFUVX2.js');
33
- require('./chunk-KQZBN7TB.js');
33
+ require('./chunk-2UM3I2MY.js');
34
34
  require('./chunk-OG64RBAC.js');
35
35
  require('./chunk-COGTRVWW.js');
36
36
 
@@ -53,8 +53,8 @@ function formatCell(value) {
53
53
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
54
54
  }
55
55
  function tableLines(result) {
56
- const rows = _chunkIZK2BLBWjs.dataExportRows.call(void 0, customerDbRows(result));
57
- const responseColumns = _chunkIZK2BLBWjs.dataExportColumns.call(void 0,
56
+ const rows = _chunkEV3OPDHFjs.dataExportRows.call(void 0, customerDbRows(result));
57
+ const responseColumns = _chunkEV3OPDHFjs.dataExportColumns.call(void 0,
58
58
  rows,
59
59
  customerDbColumnNames(result)
60
60
  );
@@ -100,7 +100,7 @@ function tableLines(result) {
100
100
  return lines;
101
101
  }
102
102
  function customerDbRows(result) {
103
- return _chunkIZK2BLBWjs.recordRows.call(void 0, result.rows);
103
+ return _chunkEV3OPDHFjs.recordRows.call(void 0, result.rows);
104
104
  }
105
105
  function customerDbColumnNames(result) {
106
106
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -153,7 +153,7 @@ function writeCustomerDbCsv(result, outPath) {
153
153
  const resolved = _path.resolve.call(void 0, outPath);
154
154
  _fs.writeFileSync.call(void 0,
155
155
  resolved,
156
- _chunkIZK2BLBWjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
156
+ _chunkEV3OPDHFjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
157
157
  "utf-8"
158
158
  );
159
159
  return resolved;
@@ -194,7 +194,7 @@ function dbQueryExportEnvelope(input) {
194
194
  function renderDbQueryResult(result, query, options) {
195
195
  const { sql, maxRows, operationKey } = query;
196
196
  const { format, out: outPath, json: explicitJsonOutput = false } = options;
197
- const jsonOutput = explicitJsonOutput || _chunkIZK2BLBWjs.shouldEmitJson.call(void 0, );
197
+ const jsonOutput = explicitJsonOutput || _chunkEV3OPDHFjs.shouldEmitJson.call(void 0, );
198
198
  const toolPayload = JSON.stringify({
199
199
  sql,
200
200
  result_mode: "rows",
@@ -205,7 +205,7 @@ function renderDbQueryResult(result, query, options) {
205
205
  if (format === "csv") {
206
206
  if (outPath) {
207
207
  const exportedPath = writeCustomerDbCsv(result, outPath);
208
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
208
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
209
209
  dbQueryExportEnvelope({
210
210
  result,
211
211
  format,
@@ -221,7 +221,7 @@ function renderDbQueryResult(result, query, options) {
221
221
  );
222
222
  return;
223
223
  }
224
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
224
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
225
225
  dbQueryExportEnvelope({
226
226
  result,
227
227
  format,
@@ -231,7 +231,7 @@ function renderDbQueryResult(result, query, options) {
231
231
  }),
232
232
  {
233
233
  json: explicitJsonOutput,
234
- text: _chunkIZK2BLBWjs.dataExportCsvString.call(void 0,
234
+ text: _chunkEV3OPDHFjs.dataExportCsvString.call(void 0,
235
235
  customerDbRows(result),
236
236
  customerDbColumnNames(result)
237
237
  )
@@ -240,14 +240,14 @@ function renderDbQueryResult(result, query, options) {
240
240
  return;
241
241
  }
242
242
  if (format === "markdown") {
243
- const content = _chunkIZK2BLBWjs.markdownTableFromRows.call(void 0,
243
+ const content = _chunkEV3OPDHFjs.markdownTableFromRows.call(void 0,
244
244
  customerDbRows(result),
245
245
  customerDbColumnNames(result)
246
246
  );
247
247
  if (outPath) {
248
248
  const exportedPath = _path.resolve.call(void 0, outPath);
249
249
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
250
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
250
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
251
251
  dbQueryExportEnvelope({
252
252
  result,
253
253
  format,
@@ -263,7 +263,7 @@ function renderDbQueryResult(result, query, options) {
263
263
  );
264
264
  return;
265
265
  }
266
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
266
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
267
267
  dbQueryExportEnvelope({
268
268
  result,
269
269
  format,
@@ -278,7 +278,7 @@ function renderDbQueryResult(result, query, options) {
278
278
  );
279
279
  return;
280
280
  }
281
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
281
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
282
282
  {
283
283
  ...result,
284
284
  next: {
@@ -352,9 +352,9 @@ async function runDbQueryCommand(options) {
352
352
  ...maxRows === void 0 ? {} : { maxRows },
353
353
  ...operationKey === void 0 ? {} : { operationKey }
354
354
  };
355
- const plan = _chunkN3VZTISZjs.planCustomerDbQuery.call(void 0, query);
355
+ const plan = _chunk5VSHQG5Ejs.planCustomerDbQuery.call(void 0, query);
356
356
  if (options.dryRun) {
357
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
357
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
358
358
  {
359
359
  dryRun: true,
360
360
  ...plan,
@@ -367,11 +367,11 @@ async function runDbQueryCommand(options) {
367
367
  ...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
368
368
  }
369
369
  },
370
- { json: options.json || _chunkIZK2BLBWjs.shouldEmitJson.call(void 0, ) }
370
+ { json: options.json || _chunkEV3OPDHFjs.shouldEmitJson.call(void 0, ) }
371
371
  );
372
372
  return 0;
373
373
  }
374
- const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
374
+ const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
375
375
  const result = await client.db.query(query);
376
376
  renderDbQueryResult(result, query, {
377
377
  format,
@@ -380,8 +380,8 @@ async function runDbQueryCommand(options) {
380
380
  });
381
381
  return 0;
382
382
  } catch (error) {
383
- if (error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkIZK2BLBWjs.shouldEmitJson.call(void 0, ))) {
384
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
383
+ if (error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkEV3OPDHFjs.shouldEmitJson.call(void 0, ))) {
384
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
385
385
  {
386
386
  ok: false,
387
387
  error: {
@@ -429,8 +429,8 @@ function dbRepairPlainText(result) {
429
429
  async function handleDbRepair(args) {
430
430
  const providerIndex = args.indexOf("--provider");
431
431
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
432
- const jsonOutput = _chunkIZK2BLBWjs.argsWantJson.call(void 0, args);
433
- const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
432
+ const jsonOutput = _chunkEV3OPDHFjs.argsWantJson.call(void 0, args);
433
+ const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
434
434
  let result;
435
435
  try {
436
436
  result = await client.repairIngestionStorage(
@@ -446,7 +446,7 @@ async function handleDbRepair(args) {
446
446
  console.error(errorMessage2(error));
447
447
  return 1;
448
448
  }
449
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
449
+ _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  command: "db repair",
452
452
  status: result.status,