deepline 0.3.539 → 0.3.541

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 (162) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +10 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +8 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-execution-queries.ts +2 -2
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +20 -7
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +30 -11
  7. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -1
  8. package/dist/cli/auth-V76O674K.js +43 -0
  9. package/dist/cli/{auth-QD7QGD3B.mjs → auth-WJXA7XGM.mjs} +5 -5
  10. package/dist/cli/{billing-KOQAF6WS.js → billing-34IV5DSV.js} +105 -94
  11. package/dist/cli/{billing-FIZXMHBW.mjs → billing-SHS4HMWT.mjs} +21 -10
  12. package/dist/cli/{chunk-FSQCB5SJ.js → chunk-2TAGAPLL.js} +2 -2
  13. package/dist/cli/{chunk-Q4HNK7JX.js → chunk-323I5KQ5.js} +8 -8
  14. package/dist/cli/{chunk-GLEGINSP.mjs → chunk-53QZ24DP.mjs} +2 -2
  15. package/dist/cli/chunk-5LNWLEO3.mjs +54 -0
  16. package/dist/cli/{chunk-TZBCJHV6.js → chunk-5N4ENMYE.js} +1 -1
  17. package/dist/cli/{chunk-JHEZQMOM.mjs → chunk-6PJAC3P5.mjs} +1 -1
  18. package/dist/cli/{chunk-K5MZHTK7.js → chunk-6TZEDCN7.js} +3 -3
  19. package/dist/cli/{chunk-G3UFDUYU.mjs → chunk-7AUQSK24.mjs} +1 -1
  20. package/dist/cli/{chunk-6KG4KVTH.mjs → chunk-ABDXKELH.mjs} +5 -5
  21. package/dist/cli/{chunk-FIRV7BXJ.mjs → chunk-AU7ZKXW5.mjs} +1 -1
  22. package/dist/cli/{chunk-APKZGUTU.mjs → chunk-BMNLD63A.mjs} +4 -4
  23. package/dist/cli/{chunk-FH3P3E4S.js → chunk-BUCTWJBM.js} +2 -2
  24. package/dist/cli/{chunk-KQTX545E.js → chunk-C2LYJ3EX.js} +13 -13
  25. package/dist/cli/{chunk-W32KT6LM.js → chunk-CNBPATLI.js} +5 -5
  26. package/dist/cli/{chunk-5QL4GJB2.js → chunk-CY5LW6DW.js} +2 -2
  27. package/dist/cli/{chunk-SDAP5MCO.mjs → chunk-DF7ARQRB.mjs} +2 -2
  28. package/dist/cli/{chunk-ADV2IB2C.mjs → chunk-DHC7EGI7.mjs} +5 -5
  29. package/dist/cli/{chunk-6NZBLFL4.mjs → chunk-ECPCZVDM.mjs} +1 -1
  30. package/dist/cli/{chunk-K22EKW6L.js → chunk-F3TLGM2U.js} +5 -5
  31. package/dist/cli/chunk-FANIRW74.mjs +9 -0
  32. package/dist/cli/{chunk-ISXX5DUD.js → chunk-FOCNY4GV.js} +3 -3
  33. package/dist/cli/{chunk-GLKUC5PO.mjs → chunk-FRPJSFNL.mjs} +2 -2
  34. package/dist/cli/{chunk-RULRGMMM.mjs → chunk-FTKX7OGB.mjs} +5 -5
  35. package/dist/cli/{chunk-EAZS52DL.js → chunk-FVZ5Y5L6.js} +15 -15
  36. package/dist/cli/{chunk-MI53W4DN.js → chunk-FYQWTENQ.js} +53 -53
  37. package/dist/cli/{chunk-Y66ZMOJI.mjs → chunk-GLINYHY7.mjs} +1 -1
  38. package/dist/cli/chunk-GWHA4DAC.js +9 -0
  39. package/dist/cli/{chunk-JBCQFG7G.mjs → chunk-H74CLEMB.mjs} +3 -3
  40. package/dist/cli/{chunk-E7D37PLM.mjs → chunk-IDDKNMFX.mjs} +36 -0
  41. package/dist/cli/{chunk-NR5PLMNG.js → chunk-IZXMX65M.js} +107 -107
  42. package/dist/cli/{chunk-6V3LNYK5.mjs → chunk-JZNKEHXQ.mjs} +2 -2
  43. package/dist/cli/{chunk-5RUB53KG.js → chunk-KIYETQ6K.js} +26 -26
  44. package/dist/cli/{chunk-GEO2EMM7.mjs → chunk-LRPFCB2P.mjs} +1 -1
  45. package/dist/cli/{chunk-V7DEGIYO.js → chunk-M6XIKHBS.js} +4 -4
  46. package/dist/cli/{chunk-KAEVL62Q.js → chunk-MPYM6TUO.js} +44 -44
  47. package/dist/cli/{chunk-LE5KN7CZ.mjs → chunk-NB4AIXEA.mjs} +3 -3
  48. package/dist/cli/{chunk-FTBWFDF3.js → chunk-OK4JMVTM.js} +7 -7
  49. package/dist/cli/chunk-POZPEDW7.js +54 -0
  50. package/dist/cli/{chunk-CQJCLHBE.js → chunk-Q66ADD4O.js} +41 -41
  51. package/dist/cli/{chunk-GNCIMHO2.mjs → chunk-QI76LGE3.mjs} +10 -10
  52. package/dist/cli/{chunk-F43MXIN3.mjs → chunk-RYYGNUNO.mjs} +2 -2
  53. package/dist/cli/{chunk-3YDI2PTN.js → chunk-S6FF7Q5P.js} +10 -10
  54. package/dist/cli/{chunk-YMQFQO3K.js → chunk-S7NKIEHL.js} +16 -16
  55. package/dist/cli/{chunk-DZFVVP3S.mjs → chunk-UC5QFQGC.mjs} +5 -5
  56. package/dist/cli/{chunk-VK5UTS5B.js → chunk-UKO6POLZ.js} +9 -9
  57. package/dist/cli/{chunk-5YF35HAV.js → chunk-UXXFCOE3.js} +6 -6
  58. package/dist/cli/{chunk-XTYHZEJ2.js → chunk-V4EYJKGJ.js} +36 -0
  59. package/dist/cli/{chunk-N3LPGGWD.mjs → chunk-VMIIUMAN.mjs} +1 -1
  60. package/dist/cli/{chunk-XZBXQCRJ.js → chunk-WIV3E6Y7.js} +22 -22
  61. package/dist/cli/{chunk-MKESK3SW.mjs → chunk-WZMG2M65.mjs} +4 -4
  62. package/dist/cli/{chunk-55ITVU2V.mjs → chunk-XO2SGONT.mjs} +2 -2
  63. package/dist/cli/{chunk-2XMFT44N.mjs → chunk-XTR32PMA.mjs} +1 -1
  64. package/dist/cli/{chunk-LEREPTAE.js → chunk-ZD673XAL.js} +19 -19
  65. package/dist/cli/{chunk-E4QHTDPF.mjs → chunk-ZL2DER5D.mjs} +1 -1
  66. package/dist/cli/command-docs.js +3 -2
  67. package/dist/cli/command-docs.mjs +2 -1
  68. package/dist/cli/concurrent-runs-help-MFEPUP6Y.js +21 -0
  69. package/dist/cli/concurrent-runs-help-ZJ77SAEU.mjs +21 -0
  70. package/dist/cli/{csv-BWWJYV2C.js → csv-MJLIZZOR.js} +13 -13
  71. package/dist/cli/{csv-G5RQQ74W.mjs → csv-PX7F5YJN.mjs} +4 -4
  72. package/dist/cli/{db-5KNDLADE.js → db-BNCNAY4G.js} +27 -27
  73. package/dist/cli/{db-AJZHWB3V.mjs → db-KPKGTHPA.mjs} +6 -6
  74. package/dist/cli/{describe-QY5TKWVD.mjs → describe-5OUJA5TH.mjs} +17 -17
  75. package/dist/cli/describe-7MF5AHIU.js +49 -0
  76. package/dist/cli/describe-core.d.mts +3 -3
  77. package/dist/cli/describe-core.d.ts +3 -3
  78. package/dist/cli/{executions-SJPH3MZT.mjs → executions-NMQY4GEY.mjs} +6 -6
  79. package/dist/cli/{executions-BCCW76BI.js → executions-YNOFR7T2.js} +8 -8
  80. package/dist/cli/{feedback-S6SZOFGK.mjs → feedback-LWYEO5LL.mjs} +6 -6
  81. package/dist/cli/{feedback-GF65JKK6.js → feedback-RCP5DPO6.js} +14 -14
  82. package/dist/cli/{git-F5FT5YVB.mjs → git-3O4PFP3Q.mjs} +5 -5
  83. package/dist/cli/git-WLQ3BS6K.js +25 -0
  84. package/dist/cli/index.js +157 -143
  85. package/dist/cli/index.mjs +57 -43
  86. package/dist/cli/{legacy-noops-NOA4P5NE.mjs → legacy-noops-KFP674JT.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-ECR6FS6U.js → legacy-noops-ZPZRG366.js} +9 -9
  88. package/dist/cli/mcp-HCXDW6PL.js +352 -0
  89. package/dist/cli/mcp-OCYUXQ6L.mjs +352 -0
  90. package/dist/cli/{monitors-DEWBSURN.js → monitors-7Q7YT22Y.js} +100 -100
  91. package/dist/cli/{monitors-CTYSAGP4.mjs → monitors-V5KJIJJE.mjs} +7 -7
  92. package/dist/cli/{org-EKSKKT7H.mjs → org-C3QLHX7U.mjs} +6 -6
  93. package/dist/cli/{org-ZM2UUMZZ.js → org-S37K6QYH.js} +86 -86
  94. package/dist/cli/{play-6JQOM6DE.js → play-MLREAYHJ.js} +473 -455
  95. package/dist/cli/{play-R2BH374J.mjs → play-MXQ2DKML.mjs} +35 -17
  96. package/dist/cli/{providers-X7WMIWO4.mjs → providers-FDJ4ZOST.mjs} +6 -6
  97. package/dist/cli/{providers-CMIYHEMN.js → providers-PPDWY7DH.js} +9 -9
  98. package/dist/cli/{quickstart-ZZ7L6VZJ.mjs → quickstart-2Z57AMB7.mjs} +4 -4
  99. package/dist/cli/{quickstart-6HVPAMSW.js → quickstart-BOWQM7S7.js} +6 -6
  100. package/dist/cli/{run-FP32RKBU.mjs → run-5RNJGPQ2.mjs} +22 -22
  101. package/dist/cli/{run-OOHYH3GI.js → run-66HXNJNV.js} +42 -42
  102. package/dist/cli/{search-BDDNC23Z.mjs → search-7G4FYQYO.mjs} +7 -7
  103. package/dist/cli/search-LTUIIV6W.js +32 -0
  104. package/dist/cli/{search-output-QXJ6CV5G.mjs → search-output-6K4FHCVI.mjs} +4 -4
  105. package/dist/cli/{search-output-5VZIQQAM.js → search-output-L6ICQDBL.js} +6 -6
  106. package/dist/cli/{secrets-Z7CQSQGC.mjs → secrets-FTQPCU7O.mjs} +6 -6
  107. package/dist/cli/{secrets-EN2HQCO3.js → secrets-PWFJKF7G.js} +15 -15
  108. package/dist/cli/sessions-2IVFGTPA.js +22 -0
  109. package/dist/cli/{sessions-I2H37OTJ.mjs → sessions-YSSAAQVJ.mjs} +6 -6
  110. package/dist/cli/{settings-CTRAPFNZ.js → settings-CZEMF2WD.js} +85 -85
  111. package/dist/cli/{settings-IYSC5PPQ.mjs → settings-KN7GNZ5J.mjs} +12 -12
  112. package/dist/cli/{setup-PU3HOVI3.mjs → setup-5WLHGH57.mjs} +9 -9
  113. package/dist/cli/{setup-XIN53GEW.js → setup-RW4X6DX4.js} +49 -49
  114. package/dist/cli/{skills-TYBML2ZO.mjs → skills-DLVI7IZK.mjs} +7 -7
  115. package/dist/cli/skills-WT42AZVH.js +36 -0
  116. package/dist/cli/tools-D6STYBQG.js +56 -0
  117. package/dist/cli/{tools-ZVNE6M6J.mjs → tools-JVYQF7P3.mjs} +16 -16
  118. package/dist/cli/{update-54WENBNT.mjs → update-XKLXU7YS.mjs} +9 -9
  119. package/dist/cli/update-XTUKBC3J.js +34 -0
  120. package/dist/cli/{views-EUBB4ONT.mjs → views-QRRCWP6B.mjs} +6 -6
  121. package/dist/cli/{views-7L75EZOJ.js → views-YNUYFS3S.js} +21 -21
  122. package/dist/cli/{workflow-GUKGFJ72.mjs → workflow-KYFMA4LM.mjs} +7 -7
  123. package/dist/cli/{workflow-EZVYCR6Y.js → workflow-YUKADKCJ.js} +17 -17
  124. package/dist/{client-DZTnAv4B.d.ts → client-B1fixtK1.d.ts} +1 -1
  125. package/dist/{client-D0uDBybG.d.mts → client-CE4QBVbp.d.mts} +1 -1
  126. package/dist/{client-core-BhWf8Y1b.d.mts → client-core-2BkNBgrx.d.mts} +3 -1
  127. package/dist/{client-core-og3AP1LL.d.ts → client-core-C-3FVlVq.d.ts} +3 -1
  128. package/dist/{compiler-manifest-Bes3OVA3.d.ts → compiler-manifest-Cys06iYg.d.mts} +14 -0
  129. package/dist/{compiler-manifest-Bes3OVA3.d.mts → compiler-manifest-Cys06iYg.d.ts} +14 -0
  130. package/dist/{errors-Dc5r42ks.d.mts → errors-B6eMjKcr.d.mts} +1 -1
  131. package/dist/{errors-BJm4lLWc.d.ts → errors-rdOUqcU2.d.ts} +1 -1
  132. package/dist/{index-DTkiz_Ur.d.mts → index-CZdYO81A.d.mts} +1 -1
  133. package/dist/{index-BfV7mRPF.d.ts → index-ejWadAL5.d.ts} +1 -1
  134. package/dist/index.d.mts +7 -7
  135. package/dist/index.d.ts +7 -7
  136. package/dist/index.js +9 -9
  137. package/dist/index.mjs +6 -6
  138. package/dist/install-integrity.json +120 -112
  139. package/dist/plays/bundle-play-file.d.mts +3 -3
  140. package/dist/plays/bundle-play-file.d.ts +3 -3
  141. package/dist/plays/bundle-play-file.mjs +1 -1
  142. package/dist/plays/play-description.d.mts +2 -2
  143. package/dist/plays/play-description.d.ts +2 -2
  144. package/dist/plays/run-request.d.mts +2 -2
  145. package/dist/plays/run-request.d.ts +2 -2
  146. package/dist/release.d.mts +1 -1
  147. package/dist/release.d.ts +1 -1
  148. package/dist/release.js +2 -2
  149. package/dist/release.mjs +1 -1
  150. package/dist/server.d.mts +4 -4
  151. package/dist/server.d.ts +4 -4
  152. package/dist/server.js +5 -5
  153. package/dist/server.mjs +3 -3
  154. package/package.json +1 -1
  155. package/dist/cli/auth-O5Y2VYXK.js +0 -43
  156. package/dist/cli/describe-B6CN6CFJ.js +0 -49
  157. package/dist/cli/git-DX6NB7VF.js +0 -25
  158. package/dist/cli/search-34C6LFOJ.js +0 -32
  159. package/dist/cli/sessions-RYQX3NDD.js +0 -22
  160. package/dist/cli/skills-576CX7DK.js +0 -36
  161. package/dist/cli/tools-EXMUWA3Z.js +0 -56
  162. package/dist/cli/update-RAHETNL2.js +0 -34
@@ -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 _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
4
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
5
5
 
6
6
 
7
7
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkV7DEGIYOjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkM6XIKHBSjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -4,13 +4,13 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-FIRV7BXJ.mjs";
7
+ } from "./chunk-AU7ZKXW5.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime
13
- } from "./chunk-G3UFDUYU.mjs";
13
+ } from "./chunk-7AUQSK24.mjs";
14
14
  import {
15
15
  DeeplineError,
16
16
  normalizeToolExecutionFailure,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-Y66ZMOJI.mjs";
4
+ } from "./chunk-GLINYHY7.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-MKESK3SW.mjs";
7
+ } from "./chunk-WZMG2M65.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-ADV2IB2C.mjs";
10
+ } from "./chunk-DHC7EGI7.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-GLKUC5PO.mjs";
13
+ } from "./chunk-FRPJSFNL.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-FIRV7BXJ.mjs";
16
+ } from "./chunk-AU7ZKXW5.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,9 +1,9 @@
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 _chunkNR5PLMNGjs = require('./chunk-NR5PLMNG.js');
3
+ var _chunkIZXMX65Mjs = require('./chunk-IZXMX65M.js');
4
4
 
5
5
 
6
- var _chunkFTBWFDF3js = require('./chunk-FTBWFDF3.js');
6
+ var _chunkOK4JMVTMjs = require('./chunk-OK4JMVTM.js');
7
7
 
8
8
 
9
9
 
@@ -14,16 +14,16 @@ var _chunkIPVRMYWTjs = require('./chunk-IPVRMYWT.js');
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunkW32KT6LMjs = require('./chunk-W32KT6LM.js');
17
+ var _chunkCNBPATLIjs = require('./chunk-CNBPATLI.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
22
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
26
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.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 (_chunkLEREPTAEjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkZD673XALjs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkFOCNY4GVjs.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: _chunkLEREPTAEjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkZD673XALjs.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 _chunkIPVRMYWTjs.findNamed.call(void 0, name, options, _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, new (0, _chunkW32KT6LMjs.DeeplineClient)()));
55
+ return _chunkIPVRMYWTjs.findNamed.call(void 0, name, options, _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, new (0, _chunkCNBPATLIjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkW32KT6LMjs.DeeplineClient)();
58
+ const client = new (0, _chunkCNBPATLIjs.DeeplineClient)();
59
59
  const lookups = _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, client);
60
60
  const outcome = await _chunkIPVRMYWTjs.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: _chunkNR5PLMNGjs.seedToolListScript
64
+ seedStarterScript: _chunkIZXMX65Mjs.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -87,18 +87,18 @@ function deliver(envelope, lines, { json, out }) {
87
87
  ` : text;
88
88
  _fs.writeFileSync.call(void 0, path, content);
89
89
  const bytes = Buffer.byteLength(content);
90
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
90
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
91
91
  { path, bytes },
92
92
  { json, text: `Wrote ${path} (${bytes} bytes)
93
93
  ` }
94
94
  );
95
95
  return 0;
96
96
  }
97
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0, envelope, { json, text });
97
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0, envelope, { json, text });
98
98
  return 0;
99
99
  }
100
100
  function registerDescribeCommand(program) {
101
- _chunkFTBWFDF3js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
101
+ _chunkOK4JMVTMjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
102
102
  "Describe anything search returns: a tool, monitor type, or play."
103
103
  ).addHelpText(
104
104
  "after",
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
5
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
6
6
 
7
7
 
8
8
 
@@ -22,14 +22,14 @@ var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkISXX5DUDjs = require('./chunk-ISXX5DUD.js');
25
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
32
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
33
33
 
34
34
 
35
35
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
60
60
  return `Service notice: ${banner.message}`;
61
61
  }
62
62
  function envFilePath(baseUrl) {
63
- return _chunkISXX5DUDjs.hostEnvFilePath.call(void 0, baseUrl);
63
+ return _chunkFOCNY4GVjs.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 = _chunkISXX5DUDjs.resolveProjectPinTarget.call(void 0, );
76
+ const target = _chunkFOCNY4GVjs.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 `${_chunkISXX5DUDjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
86
+ return `${_chunkFOCNY4GVjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
87
87
  }
88
88
  function legacyPendingClaimTokenPath(baseUrl) {
89
- return `${_chunkISXX5DUDjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
89
+ return `${_chunkFOCNY4GVjs.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 _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
194
+ return _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
195
195
  }
196
196
  function saveEnvValues(values, baseUrl, scope) {
197
197
  const filtered = {
198
- ...values[_chunkISXX5DUDjs.HOST_URL_ENV] ? { [_chunkISXX5DUDjs.HOST_URL_ENV]: values[_chunkISXX5DUDjs.HOST_URL_ENV] } : {},
199
- ...values[_chunkISXX5DUDjs.API_KEY_ENV] ? { [_chunkISXX5DUDjs.API_KEY_ENV]: values[_chunkISXX5DUDjs.API_KEY_ENV] } : {},
200
- ...values[_chunkISXX5DUDjs.ACTIVE_ORG_ID_ENV] ? { [_chunkISXX5DUDjs.ACTIVE_ORG_ID_ENV]: values[_chunkISXX5DUDjs.ACTIVE_ORG_ID_ENV] } : {},
201
- ...Object.prototype.hasOwnProperty.call(values, _chunkISXX5DUDjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkISXX5DUDjs.ACTIVE_ORG_NAME_ENV]: values[_chunkISXX5DUDjs.ACTIVE_ORG_NAME_ENV] } : {},
198
+ ...values[_chunkFOCNY4GVjs.HOST_URL_ENV] ? { [_chunkFOCNY4GVjs.HOST_URL_ENV]: values[_chunkFOCNY4GVjs.HOST_URL_ENV] } : {},
199
+ ...values[_chunkFOCNY4GVjs.API_KEY_ENV] ? { [_chunkFOCNY4GVjs.API_KEY_ENV]: values[_chunkFOCNY4GVjs.API_KEY_ENV] } : {},
200
+ ...values[_chunkFOCNY4GVjs.ACTIVE_ORG_ID_ENV] ? { [_chunkFOCNY4GVjs.ACTIVE_ORG_ID_ENV]: values[_chunkFOCNY4GVjs.ACTIVE_ORG_ID_ENV] } : {},
201
+ ...Object.prototype.hasOwnProperty.call(values, _chunkFOCNY4GVjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkFOCNY4GVjs.ACTIVE_ORG_NAME_ENV]: values[_chunkFOCNY4GVjs.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, _chunkISXX5DUDjs.FEATURES_ENV) ? { [_chunkISXX5DUDjs.FEATURES_ENV]: values[_chunkISXX5DUDjs.FEATURES_ENV] } : {}
203
+ ...Object.prototype.hasOwnProperty.call(values, _chunkFOCNY4GVjs.FEATURES_ENV) ? { [_chunkFOCNY4GVjs.FEATURES_ENV]: values[_chunkFOCNY4GVjs.FEATURES_ENV] } : {}
204
204
  };
205
205
  if (scope === "folder") {
206
- _chunkISXX5DUDjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
206
+ _chunkFOCNY4GVjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
207
207
  } else {
208
- _chunkISXX5DUDjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
208
+ _chunkFOCNY4GVjs.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
- [_chunkISXX5DUDjs.ACTIVE_ORG_ID_ENV]: orgId,
217
- [_chunkISXX5DUDjs.ACTIVE_ORG_NAME_ENV]: orgName,
218
- ..._chunkISXX5DUDjs.featureEnvValues.call(void 0, data)
216
+ [_chunkFOCNY4GVjs.ACTIVE_ORG_ID_ENV]: orgId,
217
+ [_chunkFOCNY4GVjs.ACTIVE_ORG_NAME_ENV]: orgName,
218
+ ..._chunkFOCNY4GVjs.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/${_chunkV7DEGIYOjs.SDK_VERSION}`,
224
+ "User-Agent": `deepline-ts-sdk/${_chunkM6XIKHBSjs.SDK_VERSION}`,
225
225
  "X-Deepline-Client-Family": "sdk",
226
226
  "X-Deepline-CLI-Family": "sdk",
227
- "X-Deepline-Agent-Runtime": _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ),
228
- "X-Deepline-CLI-Version": _chunkV7DEGIYOjs.SDK_VERSION,
229
- "X-Deepline-SDK-Version": _chunkV7DEGIYOjs.SDK_VERSION,
230
- "X-Deepline-API-Contract": _chunkV7DEGIYOjs.SDK_API_CONTRACT
227
+ "X-Deepline-Agent-Runtime": _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, ),
228
+ "X-Deepline-CLI-Version": _chunkM6XIKHBSjs.SDK_VERSION,
229
+ "X-Deepline-SDK-Version": _chunkM6XIKHBSjs.SDK_VERSION,
230
+ "X-Deepline-API-Contract": _chunkM6XIKHBSjs.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 = _chunkV7DEGIYOjs.networkCauseCode.call(void 0, failure);
269
+ const causeCode = _chunkM6XIKHBSjs.networkCauseCode.call(void 0, failure);
270
270
  throw Object.assign(
271
271
  new (0, _chunkBBTKAASQjs.DeeplineError)(
272
- _chunkV7DEGIYOjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
272
+ _chunkM6XIKHBSjs.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" ? _chunkISXX5DUDjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkISXX5DUDjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
289
+ const apiKey = input.authScope === "folder" ? _chunkFOCNY4GVjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkFOCNY4GVjs.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 = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
418
+ const baseUrl = _chunkFOCNY4GVjs.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
- [_chunkISXX5DUDjs.HOST_URL_ENV]: baseUrl
489
+ [_chunkFOCNY4GVjs.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" && _chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
496
+ const shouldOpen = waitMode !== "no" && _chunkM6XIKHBSjs.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 && _chunkLEREPTAEjs.openInBrowser.call(void 0, claimUrl) === "opened";
504
+ const opened = shouldOpen && _chunkZD673XALjs.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
- [_chunkISXX5DUDjs.HOST_URL_ENV]: baseUrl,
558
- [_chunkISXX5DUDjs.API_KEY_ENV]: apiKey,
557
+ [_chunkFOCNY4GVjs.HOST_URL_ENV]: baseUrl,
558
+ [_chunkFOCNY4GVjs.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 = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
580
+ const baseUrl = _chunkFOCNY4GVjs.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" ? _chunkISXX5DUDjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkISXX5DUDjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
604
+ const scopedApiKey = authScope === "folder" ? _chunkFOCNY4GVjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkFOCNY4GVjs.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
- [_chunkISXX5DUDjs.HOST_URL_ENV]: baseUrl,
668
- [_chunkISXX5DUDjs.API_KEY_ENV]: apiKey,
667
+ [_chunkFOCNY4GVjs.HOST_URL_ENV]: baseUrl,
668
+ [_chunkFOCNY4GVjs.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 = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
699
- const apiKey = _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
698
+ const baseUrl = _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
699
+ const apiKey = _chunkFOCNY4GVjs.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 = _chunkISXX5DUDjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
722
+ const baseUrl = _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
723
723
  const reveal = args.includes("--reveal");
724
- const jsonOutput = _chunkLEREPTAEjs.argsWantJson.call(void 0, args);
724
+ const jsonOutput = _chunkZD673XALjs.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" ? _chunkISXX5DUDjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkISXX5DUDjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkISXX5DUDjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
765
+ const apiKey = authScope === "folder" ? _chunkFOCNY4GVjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkFOCNY4GVjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkFOCNY4GVjs.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
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
772
+ _chunkZD673XALjs.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
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
802
+ _chunkZD673XALjs.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
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
835
+ _chunkZD673XALjs.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, () => ( (_chunkISXX5DUDjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
862
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkFOCNY4GVjs.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
- [_chunkISXX5DUDjs.HOST_URL_ENV]: baseUrl,
891
- [_chunkISXX5DUDjs.API_KEY_ENV]: apiKeyResp,
890
+ [_chunkFOCNY4GVjs.HOST_URL_ENV]: baseUrl,
891
+ [_chunkFOCNY4GVjs.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 = _chunkISXX5DUDjs.resolveProjectPinTarget.call(void 0, );
898
+ const target = _chunkFOCNY4GVjs.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" || _chunkISXX5DUDjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
905
- saveEnvValues(_chunkISXX5DUDjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
904
+ } else if (resolvedAuthScope === "folder" || _chunkFOCNY4GVjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
905
+ saveEnvValues(_chunkFOCNY4GVjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
906
906
  }
907
- _chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
907
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
908
908
  {
909
909
  ...payload,
910
- ..._chunkV7DEGIYOjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
911
- command_context: _chunkISXX5DUDjs.resolveCliCommandContext.call(void 0,
910
+ ..._chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
911
+ command_context: _chunkFOCNY4GVjs.resolveCliCommandContext.call(void 0,
912
912
  { baseUrl, apiKey },
913
913
  resolvedAuthScope
914
914
  )
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-ADV2IB2C.mjs";
3
+ } from "./chunk-DHC7EGI7.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// ../billing/plan-links.ts
2
+ var PRICING_PAGE_URL = "https://deepline.com/pricing";
3
+ var PLAN_PICKER_URL = "https://code.deepline.com/dashboard/billing?plan";
4
+ var PRICING_PAGE_NOTE = `See the pricing page for full details: ${PRICING_PAGE_URL}`;
5
+ var PLAN_UPGRADE_NOTE = `Agents: give the user ${PLAN_PICKER_URL} to upgrade the plan.`;
6
+
7
+
8
+
9
+ exports.PRICING_PAGE_NOTE = PRICING_PAGE_NOTE;
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-6NZBLFL4.mjs";
3
+ } from "./chunk-ECPCZVDM.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-GLKUC5PO.mjs";
7
+ } from "./chunk-FRPJSFNL.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-G3UFDUYU.mjs";
12
+ } from "./chunk-7AUQSK24.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -1,3 +1,6 @@
1
+ import {
2
+ PRICING_PAGE_NOTE
3
+ } from "./chunk-FANIRW74.mjs";
1
4
  import {
2
5
  PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS
3
6
  } from "./chunk-5LUF4LAR.mjs";
@@ -381,6 +384,7 @@ Output:
381
384
  Your runtime price, allowance used, paid overage, and reset date.
382
385
  Usage is shown in standard sandbox minutes at your current rate and in credits.
383
386
  ${PLAY_RUNTIME_PRICING_NOTE}
387
+ ${PRICING_PAGE_NOTE}
384
388
  Cost:
385
389
  Free to check.
386
390
  [[cli:
@@ -1353,6 +1357,17 @@ Output:
1353
1357
  held rateLimit window starts no run and returns the latest run with
1354
1358
  rateLimited {latestRunId, nextAllowedAt, message}.
1355
1359
  ]]
1360
+ Concurrency:
1361
+ A workspace runs as many Plays at once as its plan allows; each run holds
1362
+ one slot while it executes. A run over the limit is not rejected: it waits
1363
+ and starts when another finishes. While it waits, run.activity.summary
1364
+ starts with "Queued:", run.activity.observation.activityId is
1365
+ "run:sandbox-capacity", and warnings names the plan that runs more.
1366
+ [[cli:
1367
+ deepline billing entitlements shows this workspace's plan and limit and
1368
+ every plan's limit; this help prints them too when you are signed in.
1369
+ ]]
1370
+ ${PRICING_PAGE_NOTE}
1356
1371
  Cost:
1357
1372
  Spends Deepline credits through the play's tool calls. Validation errors
1358
1373
  (missing column, bad input) fail before any spend.
@@ -1593,6 +1608,17 @@ Output:
1593
1608
  sqlQualifiedTableName, actions}, and next.*.command, each naming the MCP call for a follow-up.
1594
1609
  With full: true the package is under package, beside the diagnostics.
1595
1610
  ]]
1611
+ Concurrency:
1612
+ A workspace runs as many Plays at once as its plan allows; each run holds
1613
+ one slot while it executes. A run over the limit is not rejected: it waits
1614
+ and starts when another finishes. While it waits, run.activity.summary
1615
+ starts with "Queued:", run.activity.observation.activityId is
1616
+ "run:sandbox-capacity", and warnings names the plan that runs more.
1617
+ [[cli:
1618
+ deepline billing entitlements shows this workspace's plan and limit and
1619
+ every plan's limit; this help prints them too when you are signed in.
1620
+ ]]
1621
+ ${PRICING_PAGE_NOTE}
1596
1622
  Cost:
1597
1623
  Free.
1598
1624
  Avoid:
@@ -1612,6 +1638,16 @@ Output fields:
1612
1638
  run.status queued, running, completed, failed, or stopped. Only
1613
1639
  the last three are terminal.
1614
1640
  run.activity the current step while running, null when finished.
1641
+ A queued capacity activity means it is waiting for a
1642
+ workspace concurrency slot, even if run.status says
1643
+ running. target.limit is the observed limit;
1644
+ target.limitSource=admission means it was pinned at
1645
+ launch. Plan changes apply to new launches, not that
1646
+ recorded limit. Scheduling retries automatically:
1647
+ watch the same run instead of resubmitting it.
1648
+ Read billing entitlements and billing plans for
1649
+ current limits and available plans. No queue ETA is
1650
+ guaranteed.
1615
1651
  run.retries failure-driven retries since the last resume:
1616
1652
  platformRecoveries {preCode, postCode} and
1617
1653
  recoveryOutcome (none, recovering, recovered,