deepline 0.3.556 → 0.3.558

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 (144) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-MT7DWCZO.mjs → auth-JJXTMFWH.mjs} +5 -5
  3. package/dist/cli/auth-TWSGYOWI.js +44 -0
  4. package/dist/cli/{billing-4NOM52PO.mjs → billing-RBFJMAI5.mjs} +8 -8
  5. package/dist/cli/{billing-3HHUTNME.js → billing-V3TJKUHY.js} +99 -99
  6. package/dist/cli/{chunk-ASOLVHDL.mjs → chunk-2FFZ5SEU.mjs} +2 -2
  7. package/dist/cli/{chunk-NGB2VSGB.js → chunk-4CTBC6Q7.js} +3 -3
  8. package/dist/cli/{chunk-VCYPHVUE.mjs → chunk-4SVFZCCI.mjs} +2 -2
  9. package/dist/cli/{chunk-F5CE3JZQ.js → chunk-5V45LY6Y.js} +9 -9
  10. package/dist/cli/{chunk-GZFYLAXJ.js → chunk-67J4K4G2.js} +20 -20
  11. package/dist/cli/{chunk-EN5NHCCQ.js → chunk-6ASDTHEN.js} +17 -17
  12. package/dist/cli/{chunk-3R6RBAQW.js → chunk-6BDLYZYL.js} +26 -26
  13. package/dist/cli/{chunk-KA77KT46.mjs → chunk-6GBQNS6L.mjs} +1 -1
  14. package/dist/cli/{chunk-UO7NPJEK.js → chunk-6LFPPAMD.js} +3 -3
  15. package/dist/cli/{chunk-FQYEHUVR.mjs → chunk-6PIQC2XE.mjs} +3 -3
  16. package/dist/cli/{chunk-QVNX6AC3.js → chunk-7Q3EXOLC.js} +12 -12
  17. package/dist/cli/{chunk-VQZQCPCA.mjs → chunk-7Q5I4KEG.mjs} +4 -4
  18. package/dist/cli/{chunk-4HSPHSUB.js → chunk-A5MRMCMW.js} +5 -5
  19. package/dist/cli/{chunk-DAQQL743.mjs → chunk-AL4QQKUK.mjs} +2 -2
  20. package/dist/cli/{chunk-JRYF5W3A.mjs → chunk-ARGJDP77.mjs} +2 -2
  21. package/dist/cli/{chunk-4U5HIMZY.js → chunk-BFM2RCC3.js} +2 -2
  22. package/dist/cli/{chunk-C4GWTN3J.mjs → chunk-BHHCQGUY.mjs} +7 -7
  23. package/dist/cli/{chunk-XFZX6FNM.mjs → chunk-BM4GE67C.mjs} +18 -2
  24. package/dist/cli/{chunk-W5JM2QCI.mjs → chunk-BWWLLK56.mjs} +5 -5
  25. package/dist/cli/{chunk-7MD36QLK.js → chunk-C7BQBKRZ.js} +4 -4
  26. package/dist/cli/{chunk-KNOS6H4E.mjs → chunk-CB5DIX5K.mjs} +2 -2
  27. package/dist/cli/{chunk-ZGOTBBY3.mjs → chunk-CEEUL7ER.mjs} +1 -1
  28. package/dist/cli/{chunk-YO2FDGAN.mjs → chunk-CG3R4ZFS.mjs} +2 -2
  29. package/dist/cli/{chunk-MUIJGT2B.mjs → chunk-D4GCU735.mjs} +1 -1
  30. package/dist/cli/{chunk-YGW2CSB7.js → chunk-DDI4LNVC.js} +41 -41
  31. package/dist/cli/{chunk-L57JAXHI.mjs → chunk-DJAP2M5M.mjs} +1 -1
  32. package/dist/cli/{chunk-TGUQET3O.mjs → chunk-ENHQBPR5.mjs} +1 -1
  33. package/dist/cli/{chunk-SWVGAIJD.js → chunk-FCG42RQZ.js} +20 -20
  34. package/dist/cli/{chunk-UYPXQFJ4.mjs → chunk-FF3BWNLL.mjs} +1 -1
  35. package/dist/cli/{chunk-KN3NETDA.js → chunk-FH55SB63.js} +11 -11
  36. package/dist/cli/{chunk-LW2FKVCQ.mjs → chunk-GAQ6VSRS.mjs} +1 -1
  37. package/dist/cli/{chunk-PC2FTUCP.mjs → chunk-HUJMFETO.mjs} +2 -2
  38. package/dist/cli/{chunk-GY4S6A72.js → chunk-I3PX6NGG.js} +5 -5
  39. package/dist/cli/{chunk-ASMHON7N.mjs → chunk-I57JNBKA.mjs} +5 -5
  40. package/dist/cli/{chunk-CJF7AFBD.js → chunk-IS67LBNV.js} +2 -2
  41. package/dist/cli/{chunk-IFHMGEDN.mjs → chunk-KMNLER7F.mjs} +13 -13
  42. package/dist/cli/{chunk-LY5MMXFF.js → chunk-LHPYCJNL.js} +18 -2
  43. package/dist/cli/{chunk-QGQPVPJN.mjs → chunk-LIS6UJSC.mjs} +1 -1
  44. package/dist/cli/{chunk-N6LM2Q6V.js → chunk-M4CJGF53.js} +5 -5
  45. package/dist/cli/{chunk-P6ZIR4QD.mjs → chunk-MAN4IEO4.mjs} +4 -4
  46. package/dist/cli/{chunk-LU3OLGF3.js → chunk-NADXF2C5.js} +53 -53
  47. package/dist/cli/{chunk-CZ2RJTAQ.js → chunk-NAJAAIEE.js} +48 -48
  48. package/dist/cli/{chunk-KUDSTDSL.js → chunk-OWOUDGHO.js} +23 -23
  49. package/dist/cli/{chunk-O7QRNMSW.mjs → chunk-P2MVPTFJ.mjs} +1 -1
  50. package/dist/cli/{chunk-UERLY7PX.mjs → chunk-P3SLGOGA.mjs} +2 -2
  51. package/dist/cli/{chunk-G6BX5VJN.js → chunk-PAJLUB37.js} +274 -274
  52. package/dist/cli/{chunk-FFXLMJ5O.js → chunk-QGDU23YW.js} +8 -8
  53. package/dist/cli/{chunk-DAS66RGZ.js → chunk-QGJ4DYGE.js} +1 -1
  54. package/dist/cli/{chunk-KONNXKKX.js → chunk-RIQYBKHK.js} +2 -2
  55. package/dist/cli/{chunk-2ZS5PZB6.mjs → chunk-T6W7SKE7.mjs} +2 -2
  56. package/dist/cli/{chunk-3IKGZ4CG.js → chunk-TBLP7HDL.js} +7 -7
  57. package/dist/cli/{chunk-K4IPTGU5.js → chunk-VPJ663PV.js} +10 -10
  58. package/dist/cli/{chunk-B4RWCBU5.mjs → chunk-WJ7RY3PJ.mjs} +3 -3
  59. package/dist/cli/{chunk-HJO3MZ4M.mjs → chunk-XPSSXKBT.mjs} +2 -2
  60. package/dist/cli/{chunk-2NZQ432X.js → chunk-XV4DHKZ2.js} +13 -13
  61. package/dist/cli/{chunk-C2XLKCRH.mjs → chunk-YBJSDL34.mjs} +5 -5
  62. package/dist/cli/{chunk-7ERE37SK.js → chunk-YJ46MJMT.js} +6 -6
  63. package/dist/cli/{chunk-PWQ3IUD4.js → chunk-YVWINBZL.js} +20 -20
  64. package/dist/cli/concurrent-runs-help-4VRUNL3T.js +22 -0
  65. package/dist/cli/{concurrent-runs-help-AFJDK2SY.mjs → concurrent-runs-help-ZWWMHCK4.mjs} +6 -6
  66. package/dist/cli/{csv-CATF6MZU.mjs → csv-D76CXYOL.mjs} +4 -4
  67. package/dist/cli/{csv-NTNQLQXG.js → csv-V2FR4SO2.js} +13 -13
  68. package/dist/cli/{db-U3FK4FFM.mjs → db-2D7PD7A3.mjs} +6 -6
  69. package/dist/cli/{db-IKFKNLW5.js → db-B23O6Q4O.js} +27 -27
  70. package/dist/cli/{describe-F7OQQ7IO.mjs → describe-3LG6VO3D.mjs} +21 -21
  71. package/dist/cli/describe-QE4ITFPG.js +50 -0
  72. package/dist/cli/describe-core.d.mts +5 -0
  73. package/dist/cli/describe-core.d.ts +5 -0
  74. package/dist/cli/describe-core.js +4 -4
  75. package/dist/cli/describe-core.mjs +3 -3
  76. package/dist/cli/{executions-3TA5SATU.js → executions-4P4UBPMX.js} +8 -8
  77. package/dist/cli/{executions-6KUA7RPH.mjs → executions-ORWO4SR4.mjs} +6 -6
  78. package/dist/cli/{feedback-U5I6UTJG.mjs → feedback-AY47IRDD.mjs} +6 -6
  79. package/dist/cli/{feedback-GX7RVC4O.js → feedback-LPHCSOJT.js} +14 -14
  80. package/dist/cli/{git-DYNKPPNT.mjs → git-LQGZNBZM.mjs} +5 -5
  81. package/dist/cli/git-XXVGEPEM.js +26 -0
  82. package/dist/cli/index.js +143 -143
  83. package/dist/cli/index.mjs +45 -45
  84. package/dist/cli/{integrations-7FATBEB5.mjs → integrations-NEUZIBQT.mjs} +7 -7
  85. package/dist/cli/{integrations-PQX2FRPT.js → integrations-QEOUALDR.js} +15 -15
  86. package/dist/cli/{legacy-noops-ODATBQUL.mjs → legacy-noops-4G3DXN57.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-JNXQWYUR.js → legacy-noops-PUO5VKHN.js} +9 -9
  88. package/dist/cli/{mcp-RXBXC4HW.js → mcp-EWAZKABW.js} +24 -24
  89. package/dist/cli/{mcp-UDNG33WQ.mjs → mcp-USM2QUKK.mjs} +4 -4
  90. package/dist/cli/{monitors-NDAGIRO4.js → monitors-2BI5J46A.js} +100 -100
  91. package/dist/cli/{monitors-L56QYFRW.mjs → monitors-T6FJSZCP.mjs} +7 -7
  92. package/dist/cli/{org-EA5DL5I7.mjs → org-BT45O64S.mjs} +6 -6
  93. package/dist/cli/{org-Q47O5ZTI.js → org-V6V3E7F7.js} +121 -121
  94. package/dist/cli/{outcomes-773GPYXN.mjs → outcomes-2T6W554M.mjs} +6 -6
  95. package/dist/cli/{outcomes-27ENBTWE.js → outcomes-B6RPHM6M.js} +14 -14
  96. package/dist/cli/{play-O6RGVBT7.mjs → play-CBBGJPRI.mjs} +20 -20
  97. package/dist/cli/{play-BOZIT25U.js → play-YCFVGEWK.js} +337 -337
  98. package/dist/cli/{providers-S2E5IGFO.js → providers-AGRUGBIY.js} +9 -9
  99. package/dist/cli/{providers-OOKYSLMJ.mjs → providers-RHBUQFFO.mjs} +6 -6
  100. package/dist/cli/{quickstart-YXKRRK43.js → quickstart-6N2KPWII.js} +6 -6
  101. package/dist/cli/{quickstart-7GVZ7YCQ.mjs → quickstart-OPR5NLIQ.mjs} +4 -4
  102. package/dist/cli/{run-3QGOVUHF.mjs → run-HAU2STMQ.mjs} +26 -26
  103. package/dist/cli/{run-7DXBARRO.js → run-MMANMS4E.js} +48 -48
  104. package/dist/cli/search-7LMUBMDC.js +32 -0
  105. package/dist/cli/{search-5UIB4QSG.mjs → search-TGWQMQ2C.mjs} +7 -7
  106. package/dist/cli/{search-output-MSUN3KPW.mjs → search-output-DZBYNJEO.mjs} +5 -5
  107. package/dist/cli/{search-output-C7ZPRC2B.js → search-output-VVM3DO2H.js} +8 -8
  108. package/dist/cli/{secrets-FU3DFFB6.js → secrets-V5WD552F.js} +15 -15
  109. package/dist/cli/{secrets-JYJS2VHO.mjs → secrets-Z6NEKNWM.mjs} +6 -6
  110. package/dist/cli/{sessions-JBD64DOX.mjs → sessions-C5GNXSPB.mjs} +6 -6
  111. package/dist/cli/sessions-VYIPZBSR.js +23 -0
  112. package/dist/cli/{settings-GDJGQXKT.js → settings-EZPZXJDG.js} +85 -85
  113. package/dist/cli/{settings-4KFYWSJI.mjs → settings-QUDVUIOJ.mjs} +12 -12
  114. package/dist/cli/{setup-46VMBV3K.mjs → setup-BCJBVQTI.mjs} +9 -9
  115. package/dist/cli/{setup-OKLUCTU7.js → setup-QY5VVGWQ.js} +49 -49
  116. package/dist/cli/{skills-XRJNXEEA.mjs → skills-LY2WZ22U.mjs} +7 -7
  117. package/dist/cli/skills-PKNTNDYL.js +37 -0
  118. package/dist/cli/tools-D6CKFZL3.js +57 -0
  119. package/dist/cli/{tools-WEBVZN3X.mjs → tools-FNCTTFWA.mjs} +19 -19
  120. package/dist/cli/update-E2H2DWH4.js +37 -0
  121. package/dist/cli/{update-RKTYJ6BO.mjs → update-YKQAC4AQ.mjs} +9 -9
  122. package/dist/cli/{views-VTOQ4U75.mjs → views-5R5NVYHL.mjs} +6 -6
  123. package/dist/cli/{views-XLAPDQXQ.js → views-NBTOBB67.js} +21 -21
  124. package/dist/cli/{workflow-RCO4R46B.mjs → workflow-HBDW43GT.mjs} +7 -7
  125. package/dist/cli/{workflow-HH4XVYPN.js → workflow-VNPT5VQS.js} +17 -17
  126. package/dist/index.js +9 -9
  127. package/dist/index.mjs +6 -6
  128. package/dist/install-integrity.json +118 -118
  129. package/dist/release.d.mts +1 -1
  130. package/dist/release.d.ts +1 -1
  131. package/dist/release.js +2 -2
  132. package/dist/release.mjs +1 -1
  133. package/dist/server.js +5 -5
  134. package/dist/server.mjs +3 -3
  135. package/package.json +1 -1
  136. package/dist/cli/auth-HA7TI6SA.js +0 -44
  137. package/dist/cli/concurrent-runs-help-ZHOCLINF.js +0 -22
  138. package/dist/cli/describe-ZHNZ4H6S.js +0 -50
  139. package/dist/cli/git-6DK7N4V7.js +0 -26
  140. package/dist/cli/search-4DZYX3FR.js +0 -32
  141. package/dist/cli/sessions-E2IX3GU7.js +0 -23
  142. package/dist/cli/skills-GJS4Q7NU.js +0 -37
  143. package/dist/cli/tools-LICQXFYA.js +0 -57
  144. package/dist/cli/update-3XH3NVVY.js +0 -37
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-UYPXQFJ4.mjs";
6
+ } from "./chunk-FF3BWNLL.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-KNOS6H4E.mjs";
14
+ } from "./chunk-CB5DIX5K.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk7MD36QLKjs = require('./chunk-7MD36QLK.js');
4
+ var _chunkC7BQBKRZjs = require('./chunk-C7BQBKRZ.js');
5
5
 
6
6
 
7
7
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -771,7 +771,7 @@ function readSkillsVersionFile(path) {
771
771
  }
772
772
  }
773
773
  function resolveAutoSyncSkillAgents() {
774
- switch (_chunk7MD36QLKjs.detectAgentRuntime.call(void 0, )) {
774
+ switch (_chunkC7BQBKRZjs.detectAgentRuntime.call(void 0, )) {
775
775
  case "codex":
776
776
  return ["codex"];
777
777
  case "claude_code":
@@ -841,7 +841,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
841
841
  }
842
842
 
843
843
  // src/http.ts
844
- var HttpClient2 = class extends _chunk7MD36QLKjs.HttpClient {
844
+ var HttpClient2 = class extends _chunkC7BQBKRZjs.HttpClient {
845
845
  constructor(config) {
846
846
  super(config, readSdkSkillsLocalVersion);
847
847
  }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-B4RWCBU5.mjs";
3
+ } from "./chunk-WJ7RY3PJ.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-ZGOTBBY3.mjs";
10
+ } from "./chunk-CEEUL7ER.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkFFXLMJ5Ojs = require('./chunk-FFXLMJ5O.js');
6
+ var _chunkQGDU23YWjs = require('./chunk-QGDU23YW.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 _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
14
+ var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.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 = _chunkPWQ3IUD4js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkYVWINBZLjs.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 ? _chunkPWQ3IUD4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkPWQ3IUD4js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkYVWINBZLjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkYVWINBZLjs.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 = _chunkFFXLMJ5Ojs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkQGDU23YWjs.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 : _chunkFFXLMJ5Ojs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkQGDU23YWjs.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 : _chunkPWQ3IUD4js.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkPWQ3IUD4js.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkYVWINBZLjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkYVWINBZLjs.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 || _chunkPWQ3IUD4js.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkYVWINBZLjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -1,29 +1,29 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkG6BX5VJNjs = require('./chunk-G6BX5VJN.js');
3
+ var _chunkPAJLUB37js = require('./chunk-PAJLUB37.js');
4
4
 
5
5
 
6
- var _chunkKN3NETDAjs = require('./chunk-KN3NETDA.js');
6
+ var _chunkFH55SB63js = require('./chunk-FH55SB63.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkEN5NHCCQjs = require('./chunk-EN5NHCCQ.js');
11
+ var _chunk6ASDTHENjs = require('./chunk-6ASDTHEN.js');
12
12
 
13
13
 
14
- var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
14
+ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
15
15
 
16
16
 
17
- var _chunkN6LM2Q6Vjs = require('./chunk-N6LM2Q6V.js');
17
+ var _chunkM4CJGF53js = require('./chunk-M4CJGF53.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
22
+ var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
26
+ var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkPWQ3IUD4js.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkYVWINBZLjs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkNGB2VSGBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkNGB2VSGBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunk4CTBC6Q7js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkPWQ3IUD4js.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkYVWINBZLjs.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkEN5NHCCQjs.findNamed.call(void 0, name, options, _chunkEN5NHCCQjs.describeLookupsFor.call(void 0, new (0, _chunkN6LM2Q6Vjs.DeeplineClient)()));
55
+ return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0, _chunkM4CJGF53js.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkN6LM2Q6Vjs.DeeplineClient)();
59
- const lookups = _chunkEN5NHCCQjs.describeLookupsFor.call(void 0, client);
60
- const outcome = await _chunkEN5NHCCQjs.describeName.call(void 0, name, options, {
58
+ const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
59
+ const lookups = _chunk6ASDTHENjs.describeLookupsFor.call(void 0, client);
60
+ const outcome = await _chunk6ASDTHENjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkG6BX5VJNjs.seedToolListScript
64
+ seedStarterScript: _chunkPAJLUB37js.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -90,18 +90,18 @@ function deliver(envelope, lines, { json, out }) {
90
90
  ` : text;
91
91
  _fs.writeFileSync.call(void 0, path, content);
92
92
  const bytes = Buffer.byteLength(content);
93
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
93
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
94
94
  { path, bytes },
95
95
  { json, text: `Wrote ${path} (${bytes} bytes)
96
96
  ` }
97
97
  );
98
98
  return 0;
99
99
  }
100
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0, envelope, { json, text });
100
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0, envelope, { json, text });
101
101
  return 0;
102
102
  }
103
103
  function registerDescribeCommand(program) {
104
- _chunkKN3NETDAjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
+ _chunkFH55SB63js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
105
105
  "Describe anything search returns: a tool, monitor type, or play."
106
106
  ).addHelpText(
107
107
  "after",
@@ -142,7 +142,7 @@ Schema size and format:
142
142
  by default; the output names them, and --verbose shows them.
143
143
  --fields email,miss_reason shows only the fields you name, plus every
144
144
  required input, and names the rest. Use it when you know what you need.
145
- A schema over ${_chunkLY5MMXFFjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
145
+ A schema over ${_chunkLHPYCJNLjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
146
146
  names. A shape used more than once is printed once under Types.
147
147
  --full-schema the normal output, with the schema not folded
148
148
  --schema-only only the schema, not folded, and nothing else
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk3IKGZ4CGjs = require('./chunk-3IKGZ4CG.js');
6
+ var _chunkTBLP7HDLjs = require('./chunk-TBLP7HDL.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunk3IKGZ4CGjs = require('./chunk-3IKGZ4CG.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
16
+ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
17
17
 
18
18
 
19
19
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -31,13 +31,13 @@ var VIEWS = {
31
31
  details: model,
32
32
  lines: [
33
33
  ...unlisted,
34
- ..._chunk3IKGZ4CGjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkTBLP7HDLjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
35
35
  ]
36
36
  };
37
37
  },
38
38
  byok: async (_value, tool) => ({
39
39
  details: _nullishCoalesce(tool.byok, () => ( {})),
40
- lines: _chunkLY5MMXFFjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkLHPYCJNLjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
41
41
  })
42
42
  };
43
43
  var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
@@ -133,7 +133,7 @@ async function findNamed(reference, options, lookups) {
133
133
  const record = await lookups.play(reference2);
134
134
  if (!record) return null;
135
135
  return {
136
- described: _chunkLY5MMXFFjs.describedPlay.call(void 0, record),
136
+ described: _chunkLHPYCJNLjs.describedPlay.call(void 0, record),
137
137
  record: { ...record },
138
138
  schemas: {
139
139
  inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
@@ -153,15 +153,15 @@ async function findNamed(reference, options, lookups) {
153
153
  const features = toolFeatures(record);
154
154
  return {
155
155
  described: {
156
- ..._chunk3IKGZ4CGjs.describedTool.call(void 0, record, name),
156
+ ..._chunkTBLP7HDLjs.describedTool.call(void 0, record, name),
157
157
  ...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
158
158
  },
159
- record: _chunk3IKGZ4CGjs.toolMetadataJsonForDescribe.call(void 0,
159
+ record: _chunkTBLP7HDLjs.toolMetadataJsonForDescribe.call(void 0,
160
160
  record,
161
161
  name,
162
162
  lookups.seedStarterScript
163
163
  ),
164
- schemas: _chunk3IKGZ4CGjs.publicToolSchemas.call(void 0, record),
164
+ schemas: _chunkTBLP7HDLjs.publicToolSchemas.call(void 0, record),
165
165
  feature: (featureName, value) => {
166
166
  const feature = features.find(({ name: name2 }) => name2 === featureName);
167
167
  return feature ? describeFeature(record, feature, value, {
@@ -208,7 +208,7 @@ async function describeName(name, options, lookups) {
208
208
  const note = shadows ? `Showing your org play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
209
209
  const verbose = options.verbose === true;
210
210
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
211
- const dashboardUrl = isPlay ? _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
211
+ const dashboardUrl = isPlay ? _chunkLHPYCJNLjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
212
212
  if (options.webUrl) {
213
213
  if (!dashboardUrl) {
214
214
  return {
@@ -272,7 +272,7 @@ async function describeName(name, options, lookups) {
272
272
  },
273
273
  lines: [
274
274
  `${described.id} [${described.kind.replace("_", " ")}]`,
275
- ..._chunkLY5MMXFFjs.schemaLines.call(void 0, described, {
275
+ ..._chunkLHPYCJNLjs.schemaLines.call(void 0, described, {
276
276
  full: true,
277
277
  secondary: true,
278
278
  ...fields.length ? { fields } : {}
@@ -281,17 +281,17 @@ async function describeName(name, options, lookups) {
281
281
  } : {
282
282
  envelope: {
283
283
  ...summary,
284
- inputs: inputs.map(_chunkLY5MMXFFjs.topLevelField),
285
- outputs: outputs.map(_chunkLY5MMXFFjs.topLevelField),
286
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkLY5MMXFFjs.topLevelField) } : {},
287
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkLY5MMXFFjs.topLevelField) } : {},
288
- runExamples: _chunkLY5MMXFFjs.examples.call(void 0, described, { verbose }),
284
+ inputs: inputs.map(_chunkLHPYCJNLjs.topLevelField),
285
+ outputs: outputs.map(_chunkLHPYCJNLjs.topLevelField),
286
+ ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkLHPYCJNLjs.topLevelField) } : {},
287
+ ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkLHPYCJNLjs.topLevelField) } : {},
288
+ runExamples: _chunkLHPYCJNLjs.examples.call(void 0, described, { verbose }),
289
289
  ...dashboardUrl ? { dashboardUrl } : {},
290
290
  ...shadows ? { shadows, note } : {}
291
291
  },
292
292
  lines: [
293
293
  ...note ? [`Note: ${note}`, ""] : [],
294
- ..._chunkLY5MMXFFjs.describedLines.call(void 0, described, {
294
+ ..._chunkLHPYCJNLjs.describedLines.call(void 0, described, {
295
295
  cli: shown && (!named || options.cliExample === true),
296
296
  play: shown && (!named || options.playExample === true),
297
297
  explain: named,
@@ -308,7 +308,7 @@ async function describeName(name, options, lookups) {
308
308
  // its value stands, so callers of the older commands read what they did.
309
309
  { ...view.envelope, ...record }
310
310
  ) : {
311
- ..._chunkLY5MMXFFjs.describedJson.call(void 0, described, {
311
+ ..._chunkLHPYCJNLjs.describedJson.call(void 0, described, {
312
312
  secondary: verbose || fields.length > 0,
313
313
  verbose
314
314
  }),
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
5
+ var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
6
6
 
7
7
 
8
- var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
8
+ var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
39
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
139
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
153
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
200
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
227
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
254
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
269
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkNGB2VSGBjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk4CTBC6Q7js.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkPWQ3IUD4js.openInBrowser.call(void 0, connectUrl);
292
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkYVWINBZLjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
322
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
371
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkPWQ3IUD4js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkYVWINBZLjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
392
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-ASMHON7N.mjs";
3
+ } from "./chunk-I57JNBKA.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
3
+ var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkPWQ3IUD4js.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkYVWINBZLjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkPWQ3IUD4js.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkYVWINBZLjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-O7QRNMSW.mjs";
3
+ } from "./chunk-P2MVPTFJ.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-KNOS6H4E.mjs";
7
+ } from "./chunk-CB5DIX5K.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-LW2FKVCQ.mjs";
12
+ } from "./chunk-GAQ6VSRS.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {