deepline 0.3.565 → 0.3.567

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/action-actor.ts +5 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  4. package/dist/cli/{auth-YKIUCQ2Q.mjs → auth-IYYQA4ZO.mjs} +5 -5
  5. package/dist/cli/auth-KI3KBLRD.js +44 -0
  6. package/dist/cli/{billing-HK23QHAA.mjs → billing-B37Z3HQJ.mjs} +8 -8
  7. package/dist/cli/{billing-NIGAUQJF.js → billing-HSUA42W6.js} +99 -99
  8. package/dist/cli/{chunk-XNOUOO6G.js → chunk-35TWSBEO.js} +6 -6
  9. package/dist/cli/{chunk-4VKDPTHF.js → chunk-3E2C6CIE.js} +4 -4
  10. package/dist/cli/{chunk-AAOXS3XM.mjs → chunk-3GRMC25W.mjs} +1 -1
  11. package/dist/cli/{chunk-JLXLCD6F.mjs → chunk-3TJKNRHY.mjs} +2 -2
  12. package/dist/cli/{chunk-NOSGGCJ3.mjs → chunk-4ACBVZ44.mjs} +1 -1
  13. package/dist/cli/{chunk-U7F4ODVQ.mjs → chunk-4FTTLJVV.mjs} +1 -1
  14. package/dist/cli/{chunk-ZIKVPGYC.js → chunk-4FVLQFCF.js} +5 -5
  15. package/dist/cli/{chunk-ZTHMJ4SK.js → chunk-5D3QECRX.js} +53 -53
  16. package/dist/cli/{chunk-EXOC3TLA.mjs → chunk-64CQF2JL.mjs} +4 -4
  17. package/dist/cli/{chunk-YIKEVZUQ.mjs → chunk-6DJHNVGT.mjs} +2 -2
  18. package/dist/cli/{chunk-A3EI3A3Q.mjs → chunk-6TLCP356.mjs} +5 -5
  19. package/dist/cli/{chunk-SL3IRGAW.js → chunk-7RNBGBTS.js} +9 -9
  20. package/dist/cli/{chunk-B4FBMREO.js → chunk-A5VWMZY4.js} +3 -3
  21. package/dist/cli/{chunk-6HCJQ23O.js → chunk-AC37TMJX.js} +23 -23
  22. package/dist/cli/{chunk-YGVLCJNY.mjs → chunk-ASIXRCHD.mjs} +3 -3
  23. package/dist/cli/{chunk-F4ZLUDKW.mjs → chunk-AUXDJJYK.mjs} +5 -5
  24. package/dist/cli/{chunk-GTX2RMQG.mjs → chunk-C67KGU5G.mjs} +11 -11
  25. package/dist/cli/{chunk-GE62FFN6.js → chunk-CR7U44AW.js} +3 -3
  26. package/dist/cli/{chunk-H4LHB6ES.mjs → chunk-FRQYUWGF.mjs} +1 -1
  27. package/dist/cli/{chunk-UTQ6LQWG.mjs → chunk-FT7OSIWX.mjs} +3 -3
  28. package/dist/cli/{chunk-WPVJV23H.js → chunk-GFETP5X7.js} +7 -7
  29. package/dist/cli/{chunk-IFZA4IGI.mjs → chunk-GWKHJ6BN.mjs} +2 -2
  30. package/dist/cli/{chunk-AH2CBDQJ.mjs → chunk-HYYWZFYF.mjs} +2 -2
  31. package/dist/cli/{chunk-RULYYQB4.mjs → chunk-IPOAJ56O.mjs} +5 -5
  32. package/dist/cli/{chunk-V2TC2ARE.mjs → chunk-JBXDWAGB.mjs} +4 -4
  33. package/dist/cli/{chunk-OIDETCX2.js → chunk-KHZVZOJF.js} +20 -20
  34. package/dist/cli/{chunk-4ENCU2BI.mjs → chunk-KOBUUBOO.mjs} +2 -2
  35. package/dist/cli/{chunk-FWH6QYTE.js → chunk-L5UB7RF2.js} +5 -5
  36. package/dist/cli/{chunk-BDNVUPDX.js → chunk-LQRWLQAQ.js} +2 -2
  37. package/dist/cli/{chunk-J5QAOURJ.js → chunk-LTJQCMEM.js} +20 -20
  38. package/dist/cli/{chunk-LOV5JGWO.mjs → chunk-LZV3AJAX.mjs} +2 -2
  39. package/dist/cli/{chunk-SEWLXJHM.mjs → chunk-MMWD3ZTQ.mjs} +2 -2
  40. package/dist/cli/{chunk-E73BRM5N.js → chunk-NQ6NYC54.js} +13 -13
  41. package/dist/cli/{chunk-LKVWMLWI.mjs → chunk-OD4LINNE.mjs} +1 -1
  42. package/dist/cli/{chunk-NH3LVGVR.js → chunk-OOFYQCNU.js} +5 -5
  43. package/dist/cli/{chunk-ZEKRYFMN.js → chunk-OPGDVTAQ.js} +48 -48
  44. package/dist/cli/{chunk-P6BVT2OW.js → chunk-OUKIU4AE.js} +2 -2
  45. package/dist/cli/{chunk-FEWBYUUF.js → chunk-P4GUUPIV.js} +2 -2
  46. package/dist/cli/{chunk-TCJZQRX6.js → chunk-PFJNZUUK.js} +12 -12
  47. package/dist/cli/{chunk-K6RPKBD7.mjs → chunk-PH4SALNI.mjs} +1 -1
  48. package/dist/cli/{chunk-PQEWFVJ3.js → chunk-RIR3YNNB.js} +15 -15
  49. package/dist/cli/{chunk-BCEXSQPK.mjs → chunk-RSQ6AVH3.mjs} +1 -1
  50. package/dist/cli/{chunk-LHL6VWJE.mjs → chunk-S72EZ4R5.mjs} +1 -1
  51. package/dist/cli/{chunk-IKA37N6Y.js → chunk-SDJ5CTZX.js} +26 -26
  52. package/dist/cli/{chunk-FXRSHBRP.js → chunk-V5YGEK5Q.js} +8 -8
  53. package/dist/cli/{chunk-UWMK5DLS.js → chunk-WIKOKQJV.js} +1 -1
  54. package/dist/cli/{chunk-5HV2CNXA.js → chunk-XG5NEJOK.js} +10 -10
  55. package/dist/cli/{chunk-B2FQZ7P4.mjs → chunk-YDXPAUGF.mjs} +2 -2
  56. package/dist/cli/{chunk-YD5BBYS2.mjs → chunk-YRRXHWQ2.mjs} +5 -5
  57. package/dist/cli/{chunk-EPQIA32E.js → chunk-Z75WS3TZ.js} +100 -100
  58. package/dist/cli/{chunk-H3NH5RJ6.js → chunk-ZNXUAZDK.js} +41 -41
  59. package/dist/cli/{chunk-2US3VJXX.mjs → chunk-ZPD6SPP2.mjs} +1 -1
  60. package/dist/cli/concurrent-runs-help-7SA3A2K5.js +22 -0
  61. package/dist/cli/{concurrent-runs-help-WD2EUKO7.mjs → concurrent-runs-help-P5TBHSRA.mjs} +6 -6
  62. package/dist/cli/{csv-UI63ZOMD.js → csv-2F5LOZUT.js} +13 -13
  63. package/dist/cli/{csv-RM3FOTS5.mjs → csv-KPYMOFM2.mjs} +4 -4
  64. package/dist/cli/{db-V5SWE3WN.js → db-4H4CJFI2.js} +27 -27
  65. package/dist/cli/{db-RIJBJCT7.mjs → db-URVQ2LNU.mjs} +6 -6
  66. package/dist/cli/{describe-HZC4GOLO.mjs → describe-KV6RFX2K.mjs} +18 -18
  67. package/dist/cli/describe-R7QLYW6K.js +50 -0
  68. package/dist/cli/{executions-2Q23JJSI.js → executions-BAAJY5LB.js} +8 -8
  69. package/dist/cli/{executions-XRH267DY.mjs → executions-NFQCGCBK.mjs} +6 -6
  70. package/dist/cli/{feedback-Y5MWMTQ2.mjs → feedback-UF2TRDNI.mjs} +6 -6
  71. package/dist/cli/{feedback-BEHH4KGB.js → feedback-Y3WJ5VTT.js} +14 -14
  72. package/dist/cli/{git-644DZQKA.mjs → git-EIURJKMS.mjs} +5 -5
  73. package/dist/cli/git-TIF77U5E.js +26 -0
  74. package/dist/cli/index.js +143 -143
  75. package/dist/cli/index.mjs +45 -45
  76. package/dist/cli/{integrations-PMXZ7V6Y.mjs → integrations-TPEILZYO.mjs} +7 -7
  77. package/dist/cli/{integrations-ILXWYGTO.js → integrations-YVBIIULS.js} +29 -29
  78. package/dist/cli/{legacy-noops-YUG2HVGQ.mjs → legacy-noops-EVEQ4T2F.mjs} +6 -6
  79. package/dist/cli/{legacy-noops-USLUHQWW.js → legacy-noops-K5YAE7DD.js} +9 -9
  80. package/dist/cli/{mcp-X63UPZS7.mjs → mcp-7UX5HDKR.mjs} +4 -4
  81. package/dist/cli/{mcp-DFLBEEWG.js → mcp-NADIFFBS.js} +24 -24
  82. package/dist/cli/{monitors-POG6YUZ4.js → monitors-TOWPB2IO.js} +100 -100
  83. package/dist/cli/{monitors-QGI7QH4K.mjs → monitors-V2XU3WU3.mjs} +7 -7
  84. package/dist/cli/{org-VAJL4BCS.mjs → org-J2FDLRIR.mjs} +6 -6
  85. package/dist/cli/{org-E3NIDN32.js → org-S2UZTR74.js} +121 -121
  86. package/dist/cli/{outcomes-SCQFFBXS.js → outcomes-DIU4I6IA.js} +14 -14
  87. package/dist/cli/{outcomes-FOE35FHM.mjs → outcomes-ECG7SORM.mjs} +6 -6
  88. package/dist/cli/{play-BGK7PDXO.js → play-LW5RPGMR.js} +324 -324
  89. package/dist/cli/{play-7N4Z2LEH.mjs → play-SIYRTGQF.mjs} +19 -19
  90. package/dist/cli/{providers-KDI3B22S.mjs → providers-5VIQLQGV.mjs} +6 -6
  91. package/dist/cli/{providers-OK2ES375.js → providers-G4FAPJ6K.js} +9 -9
  92. package/dist/cli/{quickstart-HOHFIFVW.js → quickstart-6NLZQN2K.js} +6 -6
  93. package/dist/cli/{quickstart-LHJF7YCP.mjs → quickstart-IPM5YDLX.mjs} +4 -4
  94. package/dist/cli/{run-K45RGJP4.js → run-VGIB7CJB.js} +44 -44
  95. package/dist/cli/{run-BQIDPU5J.mjs → run-Z3TL5ZOG.mjs} +23 -23
  96. package/dist/cli/{search-PD3OAWO3.mjs → search-2CLGFCVP.mjs} +7 -7
  97. package/dist/cli/search-BJFP7VHT.js +32 -0
  98. package/dist/cli/{search-output-P2JVWNCK.js → search-output-FEB5JLB5.js} +6 -6
  99. package/dist/cli/{search-output-FVT2FPUN.mjs → search-output-O6RCBYN6.mjs} +4 -4
  100. package/dist/cli/{secrets-LDCXYN33.js → secrets-OVVWC2HX.js} +15 -15
  101. package/dist/cli/{secrets-4MCBJUGL.mjs → secrets-RBHLBJHA.mjs} +6 -6
  102. package/dist/cli/sessions-HCKHUILD.js +23 -0
  103. package/dist/cli/{sessions-36VI33IL.mjs → sessions-PFA3PFXV.mjs} +6 -6
  104. package/dist/cli/{settings-D6L7S4ZC.mjs → settings-N54VKHLV.mjs} +12 -12
  105. package/dist/cli/{settings-3J4FUQPF.js → settings-V5OAQOFP.js} +85 -85
  106. package/dist/cli/{setup-PBQ773AV.mjs → setup-2EZ563DR.mjs} +9 -9
  107. package/dist/cli/{setup-L6VH3OR4.js → setup-XF3KBJ6Y.js} +49 -49
  108. package/dist/cli/{skills-ZRTREJY2.mjs → skills-7DULCICX.mjs} +7 -7
  109. package/dist/cli/skills-TZC2JNIZ.js +37 -0
  110. package/dist/cli/tools-ECUMBLZB.js +57 -0
  111. package/dist/cli/{tools-OAHCQUQB.mjs → tools-NC5IVGAT.mjs} +17 -17
  112. package/dist/cli/update-4AAEZJ64.js +37 -0
  113. package/dist/cli/{update-ZM4LSW5L.mjs → update-4H3GBUVU.mjs} +9 -9
  114. package/dist/cli/{views-F4MEME43.js → views-CEGJLVO7.js} +21 -21
  115. package/dist/cli/{views-W6PVUSE3.mjs → views-O2V4FIII.mjs} +6 -6
  116. package/dist/cli/{workflow-37V7F5I4.js → workflow-EJNNNQOE.js} +17 -17
  117. package/dist/cli/{workflow-7E2QYAIY.mjs → workflow-SGWK2I2Z.mjs} +7 -7
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +112 -112
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-AN2KCWG2.js +0 -44
  129. package/dist/cli/concurrent-runs-help-SKAAESKY.js +0 -22
  130. package/dist/cli/describe-RRWLYUQS.js +0 -50
  131. package/dist/cli/git-OEHB7UQH.js +0 -26
  132. package/dist/cli/search-QCFLRPCX.js +0 -32
  133. package/dist/cli/sessions-WTQ6QNAU.js +0 -23
  134. package/dist/cli/skills-PENWR7KI.js +0 -37
  135. package/dist/cli/tools-TIN7MRLX.js +0 -57
  136. package/dist/cli/update-4TIZS6WV.js +0 -37
@@ -1,11 +1,11 @@
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; }
2
2
 
3
- var _chunkBDNVUPDXjs = require('./chunk-BDNVUPDX.js');
3
+ var _chunkLQRWLQAQjs = require('./chunk-LQRWLQAQ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkZEKRYFMNjs = require('./chunk-ZEKRYFMN.js');
8
+ var _chunkOPGDVTAQjs = require('./chunk-OPGDVTAQ.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,18 +18,18 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkZEKRYFMNjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkBDNVUPDXjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkOPGDVTAQjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkLQRWLQAQjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkZEKRYFMNjs.requireSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkOPGDVTAQjs.requireSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
29
29
  })
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
- _chunkZEKRYFMNjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
32
+ _chunkOPGDVTAQjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
33
33
  quietAdvisory: true
34
34
  });
35
35
  }
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
21
21
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
22
22
 
23
23
 
24
- var _chunkUWMK5DLSjs = require('./chunk-UWMK5DLS.js');
24
+ var _chunkWIKOKQJVjs = require('./chunk-WIKOKQJV.js');
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = _chunkUWMK5DLSjs.SDK_RELEASE.version;
28
- var SDK_API_MAJOR = _chunkUWMK5DLSjs.SDK_RELEASE.contracts.api.currentMajor;
29
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkUWMK5DLSjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
27
+ var SDK_VERSION = _chunkWIKOKQJVjs.SDK_RELEASE.version;
28
+ var SDK_API_MAJOR = _chunkWIKOKQJVjs.SDK_RELEASE.contracts.api.currentMajor;
29
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkWIKOKQJVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
30
30
 
31
31
  // src/agent-runtime.ts
32
32
  var _fs = require('fs');
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-LKVWMLWI.mjs";
40
+ } from "./chunk-OD4LINNE.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-2US3VJXX.mjs";
7
+ } from "./chunk-ZPD6SPP2.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-LKVWMLWI.mjs";
14
+ } from "./chunk-OD4LINNE.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-JLXLCD6F.mjs";
3
+ } from "./chunk-3TJKNRHY.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-F4ZLUDKW.mjs";
3
+ } from "./chunk-AUXDJJYK.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,13 +1,13 @@
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; }
2
2
 
3
- var _chunkZTHMJ4SKjs = require('./chunk-ZTHMJ4SK.js');
3
+ var _chunk5D3QECRXjs = require('./chunk-5D3QECRX.js');
4
4
 
5
5
 
6
6
  var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkGE62FFN6js = require('./chunk-GE62FFN6.js');
10
+ var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunkGE62FFN6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunkGE62FFN6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunkCR7U44AWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunkZTHMJ4SKjs.httpJson.call(void 0,
31
+ const { status, data } = await _chunk5D3QECRXjs.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
5
+ var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
6
6
 
7
7
 
8
8
 
@@ -22,14 +22,14 @@ var _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkGE62FFN6js = require('./chunk-GE62FFN6.js');
25
+ var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunk4VKDPTHFjs = require('./chunk-4VKDPTHF.js');
32
+ var _chunk3E2C6CIEjs = require('./chunk-3E2C6CIE.js');
33
33
 
34
34
 
35
35
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
60
60
  return `Service notice: ${banner.message}`;
61
61
  }
62
62
  function envFilePath(baseUrl) {
63
- return _chunkGE62FFN6js.hostEnvFilePath.call(void 0, baseUrl);
63
+ return _chunkCR7U44AWjs.hostEnvFilePath.call(void 0, baseUrl);
64
64
  }
65
65
  function normalizeAuthScope(value) {
66
66
  if (!value || value === "global") return "global";
@@ -73,7 +73,7 @@ function parseAuthScope(args) {
73
73
  }
74
74
  function pendingClaimPath(baseUrl, scope) {
75
75
  if (scope === "folder") {
76
- const target = _chunkGE62FFN6js.resolveProjectPinTarget.call(void 0, );
76
+ const target = _chunkCR7U44AWjs.resolveProjectPinTarget.call(void 0, );
77
77
  if (!target.ok) {
78
78
  throw new Error(
79
79
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -83,10 +83,10 @@ function pendingClaimPath(baseUrl, scope) {
83
83
  }
84
84
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
85
85
  }
86
- return `${_chunkGE62FFN6js.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
86
+ return `${_chunkCR7U44AWjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
87
87
  }
88
88
  function legacyPendingClaimTokenPath(baseUrl) {
89
- return `${_chunkGE62FFN6js.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
89
+ return `${_chunkCR7U44AWjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
90
90
  }
91
91
  function savePendingClaim(baseUrl, claim) {
92
92
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -191,21 +191,21 @@ function parseRegisterWaitMode(args) {
191
191
  function shouldWaitForRegisterClaim(mode) {
192
192
  if (mode === "yes") return true;
193
193
  if (mode === "no") return false;
194
- return _chunk4VKDPTHFjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
194
+ return _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
195
195
  }
196
196
  function saveEnvValues(values, baseUrl, scope) {
197
197
  const filtered = {
198
- ...values[_chunkGE62FFN6js.HOST_URL_ENV] ? { [_chunkGE62FFN6js.HOST_URL_ENV]: values[_chunkGE62FFN6js.HOST_URL_ENV] } : {},
199
- ...values[_chunkGE62FFN6js.API_KEY_ENV] ? { [_chunkGE62FFN6js.API_KEY_ENV]: values[_chunkGE62FFN6js.API_KEY_ENV] } : {},
200
- ...values[_chunkGE62FFN6js.ACTIVE_ORG_ID_ENV] ? { [_chunkGE62FFN6js.ACTIVE_ORG_ID_ENV]: values[_chunkGE62FFN6js.ACTIVE_ORG_ID_ENV] } : {},
201
- ...Object.prototype.hasOwnProperty.call(values, _chunkGE62FFN6js.ACTIVE_ORG_NAME_ENV) ? { [_chunkGE62FFN6js.ACTIVE_ORG_NAME_ENV]: values[_chunkGE62FFN6js.ACTIVE_ORG_NAME_ENV] } : {},
198
+ ...values[_chunkCR7U44AWjs.HOST_URL_ENV] ? { [_chunkCR7U44AWjs.HOST_URL_ENV]: values[_chunkCR7U44AWjs.HOST_URL_ENV] } : {},
199
+ ...values[_chunkCR7U44AWjs.API_KEY_ENV] ? { [_chunkCR7U44AWjs.API_KEY_ENV]: values[_chunkCR7U44AWjs.API_KEY_ENV] } : {},
200
+ ...values[_chunkCR7U44AWjs.ACTIVE_ORG_ID_ENV] ? { [_chunkCR7U44AWjs.ACTIVE_ORG_ID_ENV]: values[_chunkCR7U44AWjs.ACTIVE_ORG_ID_ENV] } : {},
201
+ ...Object.prototype.hasOwnProperty.call(values, _chunkCR7U44AWjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkCR7U44AWjs.ACTIVE_ORG_NAME_ENV]: values[_chunkCR7U44AWjs.ACTIVE_ORG_NAME_ENV] } : {},
202
202
  // An explicit empty list must reach the store: it clears a stale line.
203
- ...Object.prototype.hasOwnProperty.call(values, _chunkGE62FFN6js.FEATURES_ENV) ? { [_chunkGE62FFN6js.FEATURES_ENV]: values[_chunkGE62FFN6js.FEATURES_ENV] } : {}
203
+ ...Object.prototype.hasOwnProperty.call(values, _chunkCR7U44AWjs.FEATURES_ENV) ? { [_chunkCR7U44AWjs.FEATURES_ENV]: values[_chunkCR7U44AWjs.FEATURES_ENV] } : {}
204
204
  };
205
205
  if (scope === "folder") {
206
- _chunkGE62FFN6js.saveProjectDeeplineEnvValues.call(void 0, filtered);
206
+ _chunkCR7U44AWjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
207
207
  } else {
208
- _chunkGE62FFN6js.saveHostEnvValues.call(void 0, baseUrl, filtered);
208
+ _chunkCR7U44AWjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
209
209
  }
210
210
  }
211
211
  function activeOrgEnvValues(data) {
@@ -213,21 +213,21 @@ function activeOrgEnvValues(data) {
213
213
  if (!orgId) return {};
214
214
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
215
215
  return {
216
- [_chunkGE62FFN6js.ACTIVE_ORG_ID_ENV]: orgId,
217
- [_chunkGE62FFN6js.ACTIVE_ORG_NAME_ENV]: orgName,
218
- ..._chunkGE62FFN6js.featureEnvValues.call(void 0, data)
216
+ [_chunkCR7U44AWjs.ACTIVE_ORG_ID_ENV]: orgId,
217
+ [_chunkCR7U44AWjs.ACTIVE_ORG_NAME_ENV]: orgName,
218
+ ..._chunkCR7U44AWjs.featureEnvValues.call(void 0, data)
219
219
  };
220
220
  }
221
221
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
222
222
  const headers = {
223
223
  "Content-Type": "application/json",
224
- "User-Agent": `deepline-ts-sdk/${_chunk4VKDPTHFjs.SDK_VERSION}`,
224
+ "User-Agent": `deepline-ts-sdk/${_chunk3E2C6CIEjs.SDK_VERSION}`,
225
225
  "X-Deepline-Client-Family": "sdk",
226
226
  "X-Deepline-CLI-Family": "sdk",
227
- "X-Deepline-Agent-Runtime": _chunk4VKDPTHFjs.detectAgentRuntime.call(void 0, ),
228
- "X-Deepline-CLI-Version": _chunk4VKDPTHFjs.SDK_VERSION,
229
- "X-Deepline-SDK-Version": _chunk4VKDPTHFjs.SDK_VERSION,
230
- "X-Deepline-API-Contract": _chunk4VKDPTHFjs.SDK_API_CONTRACT
227
+ "X-Deepline-Agent-Runtime": _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, ),
228
+ "X-Deepline-CLI-Version": _chunk3E2C6CIEjs.SDK_VERSION,
229
+ "X-Deepline-SDK-Version": _chunk3E2C6CIEjs.SDK_VERSION,
230
+ "X-Deepline-API-Contract": _chunk3E2C6CIEjs.SDK_API_CONTRACT
231
231
  };
232
232
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
233
233
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -266,10 +266,10 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
266
266
  if (failure.name === "AbortError" || failure.name === "TimeoutError") {
267
267
  throw failure;
268
268
  }
269
- const causeCode = _chunk4VKDPTHFjs.networkCauseCode.call(void 0, failure);
269
+ const causeCode = _chunk3E2C6CIEjs.networkCauseCode.call(void 0, failure);
270
270
  throw Object.assign(
271
271
  new (0, _chunkLFQJW4S2js.DeeplineError)(
272
- _chunk4VKDPTHFjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
272
+ _chunk3E2C6CIEjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
273
273
  void 0,
274
274
  "NETWORK_ERROR",
275
275
  causeCode ? { causeCode } : void 0
@@ -286,7 +286,7 @@ async function readStatusBanner(baseUrl) {
286
286
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
287
287
  }
288
288
  async function reportSetupCompleted(input) {
289
- const apiKey = input.authScope === "folder" ? _chunkGE62FFN6js.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkGE62FFN6js.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
289
+ const apiKey = input.authScope === "folder" ? _chunkCR7U44AWjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkCR7U44AWjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
290
290
  if (!apiKey) return;
291
291
  try {
292
292
  await httpJson(
@@ -415,7 +415,7 @@ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
415
415
  return EXIT_SERVER;
416
416
  }
417
417
  async function handleRegister(args, options) {
418
- const baseUrl = _chunkGE62FFN6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
418
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
419
419
  let orgName = "";
420
420
  let orgId = "";
421
421
  let agentName = "";
@@ -486,14 +486,14 @@ async function handleRegister(args, options) {
486
486
  savePendingClaim(baseUrl, pendingClaim);
487
487
  saveEnvValues(
488
488
  {
489
- [_chunkGE62FFN6js.HOST_URL_ENV]: baseUrl
489
+ [_chunkCR7U44AWjs.HOST_URL_ENV]: baseUrl
490
490
  },
491
491
  baseUrl,
492
492
  authScope
493
493
  );
494
494
  }
495
495
  if (claimUrl && !_optionalChain([options, 'optionalAccess', _16 => _16.delegatedApproval])) {
496
- const shouldOpen = waitMode !== "no" && _chunk4VKDPTHFjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
496
+ const shouldOpen = waitMode !== "no" && _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
497
497
  console.log(" Open this approval page in your browser:");
498
498
  console.log(` ${claimUrl}`);
499
499
  if (pendingClaim.device) {
@@ -501,7 +501,7 @@ async function handleRegister(args, options) {
501
501
  ` Click Approve if the page shows ${pendingClaim.device.userCode}.`
502
502
  );
503
503
  }
504
- const opened = shouldOpen && _chunkJ5QAOURJjs.openInBrowser.call(void 0, claimUrl) === "opened";
504
+ const opened = shouldOpen && _chunkLTJQCMEMjs.openInBrowser.call(void 0, claimUrl) === "opened";
505
505
  if (claimToken && pendingClaim.approvalLinkReporting) {
506
506
  await reportApprovalLinkShown(
507
507
  baseUrl,
@@ -554,8 +554,8 @@ async function handleRegister(args, options) {
554
554
  if (apiKey) {
555
555
  saveEnvValues(
556
556
  {
557
- [_chunkGE62FFN6js.HOST_URL_ENV]: baseUrl,
558
- [_chunkGE62FFN6js.API_KEY_ENV]: apiKey,
557
+ [_chunkCR7U44AWjs.HOST_URL_ENV]: baseUrl,
558
+ [_chunkCR7U44AWjs.API_KEY_ENV]: apiKey,
559
559
  ...activeOrgEnvValues(statusData)
560
560
  },
561
561
  baseUrl,
@@ -577,7 +577,7 @@ async function handleRegister(args, options) {
577
577
  }
578
578
  }
579
579
  async function handleWait(args, options) {
580
- const baseUrl = _chunkGE62FFN6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
580
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
581
581
  let timeoutSeconds = 300;
582
582
  let requestedScope;
583
583
  if (args.includes("--auth-scope")) {
@@ -601,7 +601,7 @@ async function handleWait(args, options) {
601
601
  const authScope = resumed.scope;
602
602
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _18 => _18.claimToken]), () => ( ""));
603
603
  if (!pendingClaim) {
604
- const scopedApiKey = authScope === "folder" ? _chunkGE62FFN6js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkGE62FFN6js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
604
+ const scopedApiKey = authScope === "folder" ? _chunkCR7U44AWjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkCR7U44AWjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
605
605
  if (scopedApiKey) {
606
606
  if (!_optionalChain([options, 'optionalAccess', _19 => _19.quiet])) console.log("Already connected.");
607
607
  return EXIT_OK;
@@ -664,8 +664,8 @@ async function handleWait(args, options) {
664
664
  if (apiKey) {
665
665
  saveEnvValues(
666
666
  {
667
- [_chunkGE62FFN6js.HOST_URL_ENV]: baseUrl,
668
- [_chunkGE62FFN6js.API_KEY_ENV]: apiKey,
667
+ [_chunkCR7U44AWjs.HOST_URL_ENV]: baseUrl,
668
+ [_chunkCR7U44AWjs.API_KEY_ENV]: apiKey,
669
669
  ...activeOrgEnvValues(data)
670
670
  },
671
671
  baseUrl,
@@ -695,8 +695,8 @@ async function handleWait(args, options) {
695
695
  return EXIT_AUTH;
696
696
  }
697
697
  async function authStatusLine(timeoutMs = 3e3) {
698
- const baseUrl = _chunkGE62FFN6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
699
- const apiKey = _chunkGE62FFN6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
698
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
699
+ const apiKey = _chunkCR7U44AWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
700
700
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
701
701
  try {
702
702
  const { status, data } = await httpJson(
@@ -719,9 +719,9 @@ async function authStatusLine(timeoutMs = 3e3) {
719
719
  }
720
720
  }
721
721
  async function handleStatus(args) {
722
- const baseUrl = _chunkGE62FFN6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
722
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
723
723
  const reveal = args.includes("--reveal");
724
- const jsonOutput = _chunkJ5QAOURJjs.argsWantJson.call(void 0, args);
724
+ const jsonOutput = _chunkLTJQCMEMjs.argsWantJson.call(void 0, args);
725
725
  const hasExplicitAuthScope = args.includes("--auth-scope");
726
726
  let authScope = null;
727
727
  if (hasExplicitAuthScope) {
@@ -762,14 +762,14 @@ async function handleStatus(args) {
762
762
  };
763
763
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
764
764
  }
765
- const apiKey = authScope === "folder" ? _chunkGE62FFN6js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkGE62FFN6js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkGE62FFN6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
765
+ const apiKey = authScope === "folder" ? _chunkCR7U44AWjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkCR7U44AWjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkCR7U44AWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
766
766
  if (!apiKey) {
767
767
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
768
768
  baseUrl,
769
769
  _nullishCoalesce(authScope, () => ( void 0))
770
770
  );
771
771
  if (pendingClaim) {
772
- _chunkJ5QAOURJjs.printCommandEnvelope.call(void 0,
772
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
773
773
  {
774
774
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
775
775
  status: "pending",
@@ -799,7 +799,7 @@ async function handleStatus(args) {
799
799
  );
800
800
  return EXIT_OK;
801
801
  }
802
- _chunkJ5QAOURJjs.printCommandEnvelope.call(void 0,
802
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
803
803
  {
804
804
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
805
805
  status: "not connected",
@@ -832,7 +832,7 @@ async function handleStatus(args) {
832
832
  }
833
833
  );
834
834
  if (status === 401 || status === 403) {
835
- _chunkJ5QAOURJjs.printCommandEnvelope.call(void 0,
835
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
836
836
  {
837
837
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
838
838
  status: "unauthorized",
@@ -859,7 +859,7 @@ async function handleStatus(args) {
859
859
  console.error(`Auth status error (status ${status}).`);
860
860
  return EXIT_SERVER;
861
861
  }
862
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkGE62FFN6js.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
862
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkCR7U44AWjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
863
863
  clearSatisfiedPendingClaim(
864
864
  baseUrl,
865
865
  resolvedAuthScope,
@@ -887,28 +887,28 @@ async function handleStatus(args) {
887
887
  if (apiKeyResp) {
888
888
  saveEnvValues(
889
889
  {
890
- [_chunkGE62FFN6js.HOST_URL_ENV]: baseUrl,
891
- [_chunkGE62FFN6js.API_KEY_ENV]: apiKeyResp,
890
+ [_chunkCR7U44AWjs.HOST_URL_ENV]: baseUrl,
891
+ [_chunkCR7U44AWjs.API_KEY_ENV]: apiKeyResp,
892
892
  ...activeOrgEnvValues(data)
893
893
  },
894
894
  baseUrl,
895
895
  resolvedAuthScope
896
896
  );
897
897
  if (resolvedAuthScope === "folder") {
898
- const target = _chunkGE62FFN6js.resolveProjectPinTarget.call(void 0, );
898
+ const target = _chunkCR7U44AWjs.resolveProjectPinTarget.call(void 0, );
899
899
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
900
900
  } else {
901
901
  savedApiKeyPath = envFilePath(baseUrl);
902
902
  }
903
903
  }
904
- } else if (resolvedAuthScope === "folder" || _chunkGE62FFN6js.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
905
- saveEnvValues(_chunkGE62FFN6js.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
904
+ } else if (resolvedAuthScope === "folder" || _chunkCR7U44AWjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
905
+ saveEnvValues(_chunkCR7U44AWjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
906
906
  }
907
- _chunkJ5QAOURJjs.printCommandEnvelope.call(void 0,
907
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
908
908
  {
909
909
  ...payload,
910
- ..._chunk4VKDPTHFjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
911
- command_context: _chunkGE62FFN6js.resolveCliCommandContext.call(void 0,
910
+ ..._chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
911
+ command_context: _chunkCR7U44AWjs.resolveCliCommandContext.call(void 0,
912
912
  { baseUrl, apiKey },
913
913
  resolvedAuthScope
914
914
  )
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-IFZA4IGI.mjs";
6
+ } from "./chunk-GWKHJ6BN.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-JLXLCD6F.mjs";
11
+ } from "./chunk-3TJKNRHY.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-2US3VJXX.mjs";
15
+ } from "./chunk-ZPD6SPP2.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-FVT2FPUN.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-O6RCBYN6.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-YGVLCJNY.mjs";
3
+ } from "./chunk-ASIXRCHD.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-2US3VJXX.mjs";
10
+ } from "./chunk-ZPD6SPP2.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-U7F4ODVQ.mjs";
4
+ } from "./chunk-4FTTLJVV.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-V2TC2ARE.mjs";
7
+ } from "./chunk-JBXDWAGB.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-F4ZLUDKW.mjs";
10
+ } from "./chunk-AUXDJJYK.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-JLXLCD6F.mjs";
13
+ } from "./chunk-3TJKNRHY.mjs";
14
14
  import {
15
15
  DEFAULT_MAX_RETRIES,
16
16
  DEFAULT_TIMEOUT,
17
17
  TRANSIENT_HTTP_STATUSES,
18
18
  autoDetectBaseUrl,
19
19
  defaultRetryBackoffMs
20
- } from "./chunk-2US3VJXX.mjs";
20
+ } from "./chunk-ZPD6SPP2.mjs";
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  import { spawn, spawnSync } from "child_process";
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkFXRSHBRPjs = require('./chunk-FXRSHBRP.js');
6
+ var _chunkV5YGEK5Qjs = require('./chunk-V5YGEK5Q.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 _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
14
+ var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.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 = _chunkJ5QAOURJjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkLTJQCMEMjs.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 ? _chunkJ5QAOURJjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkJ5QAOURJjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkLTJQCMEMjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkLTJQCMEMjs.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 = _chunkFXRSHBRPjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkV5YGEK5Qjs.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 : _chunkFXRSHBRPjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkV5YGEK5Qjs.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 : _chunkJ5QAOURJjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkJ5QAOURJjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkLTJQCMEMjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkLTJQCMEMjs.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 || _chunkJ5QAOURJjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkLTJQCMEMjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -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 _chunkJ5QAOURJjs = require('./chunk-J5QAOURJ.js');
3
+ var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.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 && !_chunkJ5QAOURJjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkLTJQCMEMjs.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 (_chunkJ5QAOURJjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkLTJQCMEMjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);