deepline 0.3.507 → 0.3.509

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 (132) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-admission-codes.ts +11 -0
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/db-session-plan.ts +47 -6
  8. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
  9. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
  10. package/dist/cli/{auth-BNP3M27C.mjs → auth-6IR2QH4N.mjs} +5 -5
  11. package/dist/cli/auth-SUTQ4SZQ.js +43 -0
  12. package/dist/cli/{billing-7HIVX4YJ.js → billing-SYBK3ZYU.js} +82 -82
  13. package/dist/cli/{billing-JKJ2AEZ6.mjs → billing-WEWHH6ST.mjs} +7 -7
  14. package/dist/cli/{chunk-D2T4W5LR.mjs → chunk-25MAOMVS.mjs} +2 -2
  15. package/dist/cli/{chunk-LSONU2E2.mjs → chunk-2U7Z4LFG.mjs} +6 -6
  16. package/dist/cli/{chunk-E7YIIEZU.js → chunk-2ZJRCAHG.js} +11 -11
  17. package/dist/cli/{chunk-YAAJHS6W.mjs → chunk-3CZHC24N.mjs} +1 -1
  18. package/dist/cli/{chunk-E5HGDYU3.js → chunk-4DVANPBN.js} +41 -41
  19. package/dist/cli/{chunk-IBKWVFWP.mjs → chunk-54YPOG5W.mjs} +2 -2
  20. package/dist/cli/{chunk-56SRWY5F.js → chunk-5Y3I5LEQ.js} +16 -16
  21. package/dist/cli/{chunk-H334EFON.mjs → chunk-6KBVQ76G.mjs} +2 -2
  22. package/dist/cli/{chunk-OBATCFZO.js → chunk-6TBRWRJ2.js} +7 -7
  23. package/dist/cli/{chunk-6AQO5OJ5.js → chunk-726UDAV2.js} +7 -7
  24. package/dist/cli/{chunk-5PXGAA2M.js → chunk-7KALZEDZ.js} +4 -4
  25. package/dist/cli/{chunk-ILUZ7IHP.js → chunk-7NMPGX3W.js} +21 -21
  26. package/dist/cli/{chunk-HPZONIDF.js → chunk-AD45WJHN.js} +5 -5
  27. package/dist/cli/{chunk-JPN6OBPW.js → chunk-AO63MXT6.js} +1 -1
  28. package/dist/cli/{chunk-QWRSWQ7Z.js → chunk-CMSPA5VX.js} +6 -6
  29. package/dist/cli/{chunk-REFT4DMJ.js → chunk-DGOSW42X.js} +96 -96
  30. package/dist/cli/{chunk-TVR4R2E6.mjs → chunk-E3HWUGDT.mjs} +1 -1
  31. package/dist/cli/{chunk-GMRWVXU2.mjs → chunk-EEEWADSR.mjs} +2 -2
  32. package/dist/cli/{chunk-WQAHMVBT.mjs → chunk-FNLGMMJJ.mjs} +2 -2
  33. package/dist/cli/{chunk-NJRJGXVF.mjs → chunk-FQCIYGQY.mjs} +2 -2
  34. package/dist/cli/{chunk-RFJANXCC.js → chunk-GTAU4C44.js} +14 -14
  35. package/dist/cli/{chunk-TZ7APOBM.js → chunk-HMAETS53.js} +3 -3
  36. package/dist/cli/{chunk-T6FUNWXX.mjs → chunk-IZW7IOD6.mjs} +1 -1
  37. package/dist/cli/{chunk-GDHLL5EQ.js → chunk-J5P4PDRT.js} +3 -0
  38. package/dist/cli/{chunk-76R5I7HR.js → chunk-JZJNA57M.js} +6 -6
  39. package/dist/cli/{chunk-RTLWYERT.mjs → chunk-K2RCVD7S.mjs} +1 -1
  40. package/dist/cli/{chunk-2ZINJVWW.js → chunk-O527H5GY.js} +16 -16
  41. package/dist/cli/{chunk-EYZJDHXA.mjs → chunk-OOD5LGUS.mjs} +3 -3
  42. package/dist/cli/{chunk-V4GGTOCX.js → chunk-Q5UO2ENN.js} +3 -3
  43. package/dist/cli/{chunk-V2K34NAO.js → chunk-Q7G6WORO.js} +2 -2
  44. package/dist/cli/{chunk-IWZRQ6YW.mjs → chunk-R2KNJMOY.mjs} +1 -1
  45. package/dist/cli/{chunk-WTY2R4R3.js → chunk-RA2NKHV5.js} +5 -5
  46. package/dist/cli/{chunk-XKGNEN4P.mjs → chunk-RSKAPLST.mjs} +1 -1
  47. package/dist/cli/{chunk-OPEJASMJ.mjs → chunk-S7JEF2MR.mjs} +2 -2
  48. package/dist/cli/{chunk-5I2XKXLS.mjs → chunk-SEQIB5WJ.mjs} +5 -5
  49. package/dist/cli/{chunk-VGEBRTHF.mjs → chunk-T67NAGSD.mjs} +4 -4
  50. package/dist/cli/{chunk-5A66OJZD.mjs → chunk-UART6FGK.mjs} +1 -1
  51. package/dist/cli/{chunk-H6PABDS4.mjs → chunk-VH522HUP.mjs} +10 -10
  52. package/dist/cli/{chunk-MN5HO2PN.js → chunk-VTVZ7EUA.js} +9 -9
  53. package/dist/cli/{chunk-AXYLMDU3.js → chunk-VZ773N7G.js} +8 -8
  54. package/dist/cli/{chunk-VQLD5M43.mjs → chunk-WJ6H2W3O.mjs} +5 -5
  55. package/dist/cli/{chunk-MQRT5NYP.js → chunk-WPBTWRKG.js} +26 -26
  56. package/dist/cli/{chunk-EEJLV77L.mjs → chunk-WUKNKFB3.mjs} +2 -2
  57. package/dist/cli/{chunk-2OKEMB5A.mjs → chunk-XEQH65DT.mjs} +1 -1
  58. package/dist/cli/{chunk-JCE2JNGD.mjs → chunk-XIBNY6H6.mjs} +5 -5
  59. package/dist/cli/{chunk-WOPWSAGS.js → chunk-XPKBYMJH.js} +53 -53
  60. package/dist/cli/{chunk-7TZA6LJI.mjs → chunk-Y4M5HPQV.mjs} +5 -5
  61. package/dist/cli/{chunk-AFSYNOG4.mjs → chunk-YJM3NOME.mjs} +3 -0
  62. package/dist/cli/{chunk-3D5ZNYYI.js → chunk-Z2LVZDO5.js} +44 -44
  63. package/dist/cli/{chunk-ZCNGMQVD.js → chunk-ZXGMWXZW.js} +2 -2
  64. package/dist/cli/command-docs.js +2 -2
  65. package/dist/cli/command-docs.mjs +1 -1
  66. package/dist/cli/{csv-LZTQOPP2.mjs → csv-4LAJ2ZKG.mjs} +4 -4
  67. package/dist/cli/{csv-WYJVU5HV.js → csv-5KNONIAX.js} +13 -13
  68. package/dist/cli/{db-UCUXPY7S.js → db-5PEXOSN3.js} +27 -27
  69. package/dist/cli/{db-D6XFOQP3.mjs → db-BEVCJI66.mjs} +6 -6
  70. package/dist/cli/{describe-HKL2XK67.mjs → describe-TDJIUSD6.mjs} +18 -18
  71. package/dist/cli/describe-ZB6G6DOV.js +50 -0
  72. package/dist/cli/{executions-5CF5NM7V.js → executions-36GV3A27.js} +8 -8
  73. package/dist/cli/{executions-AFHYXH73.mjs → executions-KXCPU6YC.mjs} +6 -6
  74. package/dist/cli/{feedback-MLKQ572F.mjs → feedback-GEUUT4S7.mjs} +4 -4
  75. package/dist/cli/{feedback-GJAX3JZE.js → feedback-SPQABV33.js} +8 -8
  76. package/dist/cli/{git-BMLROZOU.mjs → git-AE36X2R6.mjs} +5 -5
  77. package/dist/cli/git-UX7L6R32.js +25 -0
  78. package/dist/cli/index.js +142 -142
  79. package/dist/cli/index.mjs +42 -42
  80. package/dist/cli/{legacy-noops-Y7JSQVLQ.mjs → legacy-noops-LUEDAK7J.mjs} +5 -5
  81. package/dist/cli/{legacy-noops-FHRDF7MC.js → legacy-noops-TKPHN7WT.js} +8 -8
  82. package/dist/cli/{monitors-Z6RPIQIH.js → monitors-B2EAIGZI.js} +100 -100
  83. package/dist/cli/{monitors-ZEVK3UD7.mjs → monitors-JHJZ5XG7.mjs} +7 -7
  84. package/dist/cli/{org-PFLVANIN.mjs → org-GUICCEBZ.mjs} +6 -6
  85. package/dist/cli/{org-TXJ3RES5.js → org-PYCPXEAU.js} +72 -72
  86. package/dist/cli/{pages-ESKKBK5Y.js → pages-CV4TQNFY.js} +18 -18
  87. package/dist/cli/{pages-BKEMQ2J7.mjs → pages-Y2XI36HY.mjs} +6 -6
  88. package/dist/cli/{play-AAFOZJKQ.js → play-MTVK66JK.js} +468 -429
  89. package/dist/cli/{play-4Z6Z7KVY.mjs → play-VWCQNGZZ.mjs} +93 -54
  90. package/dist/cli/{providers-WEU4UNKY.js → providers-N72BUCXZ.js} +9 -9
  91. package/dist/cli/{providers-KYP2UWDV.mjs → providers-ZOZTST3A.mjs} +6 -6
  92. package/dist/cli/{quickstart-7EUDF4IL.mjs → quickstart-DXIC3NHS.mjs} +4 -4
  93. package/dist/cli/{quickstart-DXYZCOJY.js → quickstart-FK53VZB3.js} +6 -6
  94. package/dist/cli/{run-MB2R5PQ7.mjs → run-IL2KI33N.mjs} +23 -23
  95. package/dist/cli/{run-3YN6P26W.js → run-NNAYDCEN.js} +41 -41
  96. package/dist/cli/{search-MIFBESRE.mjs → search-7IPVMQCO.mjs} +8 -8
  97. package/dist/cli/search-OZHP5ZE2.js +33 -0
  98. package/dist/cli/{search-output-NUWL47SR.js → search-output-YHTWLSDE.js} +6 -6
  99. package/dist/cli/{search-output-2IR3UA4W.mjs → search-output-ZY2GE35S.mjs} +4 -4
  100. package/dist/cli/{secrets-E6WIYONW.mjs → secrets-BGUMHDZ7.mjs} +6 -6
  101. package/dist/cli/{secrets-6UT6BIDJ.js → secrets-ZML76SH2.js} +15 -15
  102. package/dist/cli/{sessions-AP7L6YCL.mjs → sessions-F5XO6HZJ.mjs} +5 -5
  103. package/dist/cli/{sessions-NF2RBXMJ.js → sessions-WDINUUZ3.js} +6 -6
  104. package/dist/cli/{settings-MMLHJ5E5.mjs → settings-73SMIICV.mjs} +12 -12
  105. package/dist/cli/{settings-FZWXYP4W.js → settings-TOX2P5M5.js} +82 -82
  106. package/dist/cli/{setup-YHXAAJNZ.js → setup-DNFHFQ7N.js} +50 -50
  107. package/dist/cli/{setup-WJNN2CZZ.mjs → setup-FDJZYBMS.mjs} +10 -10
  108. package/dist/cli/{skills-KXZ5PJU2.mjs → skills-6HJ2IAY6.mjs} +8 -8
  109. package/dist/cli/skills-NE7WN5PP.js +37 -0
  110. package/dist/cli/{tools-K6S7RX7B.mjs → tools-4FJIIE4R.mjs} +17 -17
  111. package/dist/cli/tools-ETX4MNNO.js +57 -0
  112. package/dist/cli/update-N2DMPSUH.js +35 -0
  113. package/dist/cli/{update-2SFWEVM6.mjs → update-UMRPPILV.mjs} +10 -10
  114. package/dist/cli/{workflow-IR3RCVHZ.mjs → workflow-LSFOG5VU.mjs} +7 -7
  115. package/dist/cli/{workflow-SM3Q45X5.js → workflow-SK3BUHB4.js} +17 -17
  116. package/dist/index.js +9 -9
  117. package/dist/index.mjs +6 -6
  118. package/dist/install-integrity.json +103 -102
  119. package/dist/release.d.mts +1 -1
  120. package/dist/release.d.ts +1 -1
  121. package/dist/release.js +2 -2
  122. package/dist/release.mjs +1 -1
  123. package/dist/server.js +5 -5
  124. package/dist/server.mjs +3 -3
  125. package/package.json +1 -1
  126. package/dist/cli/auth-6PJ4G5PC.js +0 -43
  127. package/dist/cli/describe-XS4OIASD.js +0 -50
  128. package/dist/cli/git-RIXUHRDL.js +0 -25
  129. package/dist/cli/search-Z7GUKVFE.js +0 -33
  130. package/dist/cli/skills-4YYUFNMS.js +0 -37
  131. package/dist/cli/tools-OCYEMMUP.js +0 -57
  132. package/dist/cli/update-WQIPUQ4K.js +0 -35
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-H6PABDS4.mjs";
3
+ } from "./chunk-VH522HUP.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-TVR4R2E6.mjs";
6
+ } from "./chunk-E3HWUGDT.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-NJRJGXVF.mjs";
17
+ } from "./chunk-FQCIYGQY.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-D2T4W5LR.mjs";
21
+ } from "./chunk-25MAOMVS.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-H334EFON.mjs";
24
+ } from "./chunk-6KBVQ76G.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-IWZRQ6YW.mjs";
28
+ } from "./chunk-R2KNJMOY.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkWTY2R4R3js = require('./chunk-WTY2R4R3.js');
6
+ var _chunkRA2NKHV5js = require('./chunk-RA2NKHV5.js');
7
7
 
8
8
 
9
- var _chunkRFJANXCCjs = require('./chunk-RFJANXCC.js');
9
+ var _chunkGTAU4C44js = require('./chunk-GTAU4C44.js');
10
10
 
11
11
 
12
12
 
13
- var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
13
+ var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
17
+ var _chunkHMAETS53js = require('./chunk-HMAETS53.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkTZ7APOBMjs.sdkCliStateDirPath.call(void 0, _chunkTZ7APOBMjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkHMAETS53js.sdkCliStateDirPath.call(void 0, _chunkHMAETS53js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunkWTY2R4R3js.DeeplineClient)();
137
+ const client = new (0, _chunkRA2NKHV5js.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-NUWL47SR.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-YHTWLSDE.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunk6AQO5OJ5js.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkRFJANXCCjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunk726UDAV2js.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkGTAU4C44js.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
189
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-XKGNEN4P.mjs";
19
+ } from "./chunk-RSKAPLST.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunk3D5ZNYYIjs = require('./chunk-3D5ZNYYI.js');
14
+ var _chunkZ2LVZDO5js = require('./chunk-Z2LVZDO5.js');
15
15
 
16
16
 
17
- var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
17
+ var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
23
+ var _chunkHMAETS53js = require('./chunk-HMAETS53.js');
24
24
 
25
25
 
26
26
 
27
- var _chunk5PXGAA2Mjs = require('./chunk-5PXGAA2M.js');
27
+ var _chunk7KALZEDZjs = require('./chunk-7KALZEDZ.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkTZ7APOBMjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkHMAETS53js.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunk5PXGAA2Mjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunk7KALZEDZjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkTZ7APOBMjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkHMAETS53js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunk3D5ZNYYIjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkZ2LVZDO5js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunk3D5ZNYYIjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkZ2LVZDO5js.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunk3D5ZNYYIjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkZ2LVZDO5js.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunk3D5ZNYYIjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkZ2LVZDO5js.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunk3D5ZNYYIjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkZ2LVZDO5js.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunk3D5ZNYYIjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkZ2LVZDO5js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunk3D5ZNYYIjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkZ2LVZDO5js.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkTZ7APOBMjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkHMAETS53js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
303
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
313
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
330
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
353
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkTZ7APOBMjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkHMAETS53js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunk3D5ZNYYIjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunk5PXGAA2Mjs.SDK_VERSION
367
+ skillNames: [..._chunkZ2LVZDO5js.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunk7KALZEDZjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
373
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk3D5ZNYYIjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkZ2LVZDO5js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk3D5ZNYYIjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkZ2LVZDO5js.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkTZ7APOBMjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkHMAETS53js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunk3D5ZNYYIjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkZ2LVZDO5js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunk3D5ZNYYIjs.SkillsStateUnavailableError)) throw error;
433
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkZ2LVZDO5js.SkillsStateUnavailableError)) throw error;
433
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
449
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunk3D5ZNYYIjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkZ2LVZDO5js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
507
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
523
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunk5PXGAA2Mjs.SDK_VERSION,
563
+ cliVersion: _chunk7KALZEDZjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunk3D5ZNYYIjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkZ2LVZDO5js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
578
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunk3D5ZNYYIjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkZ2LVZDO5js.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunk3D5ZNYYIjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkZ2LVZDO5js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
645
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunk3D5ZNYYIjs.syncSdkSkillsIfNeeded.call(void 0, _chunkTZ7APOBMjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkZ2LVZDO5js.syncSdkSkillsIfNeeded.call(void 0, _chunkHMAETS53js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-H334EFON.mjs";
4
+ } from "./chunk-6KBVQ76G.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-YAAJHS6W.mjs";
7
+ } from "./chunk-3CZHC24N.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -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 _chunkREFT4DMJjs = require('./chunk-REFT4DMJ.js');
3
+ var _chunkDGOSW42Xjs = require('./chunk-DGOSW42X.js');
4
4
 
5
5
 
6
- var _chunk76R5I7HRjs = require('./chunk-76R5I7HR.js');
6
+ var _chunkJZJNA57Mjs = require('./chunk-JZJNA57M.js');
7
7
 
8
8
 
9
9
 
@@ -14,18 +14,18 @@ var _chunkTMQUMILMjs = require('./chunk-TMQUMILM.js');
14
14
  var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
15
15
 
16
16
 
17
- var _chunkWTY2R4R3js = require('./chunk-WTY2R4R3.js');
17
+ var _chunkRA2NKHV5js = require('./chunk-RA2NKHV5.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkRFJANXCCjs = require('./chunk-RFJANXCC.js');
21
+ var _chunkGTAU4C44js = require('./chunk-GTAU4C44.js');
22
22
 
23
23
 
24
- var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
24
+ var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
28
+ var _chunkHMAETS53js = require('./chunk-HMAETS53.js');
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  var _fs = require('fs');
@@ -34,14 +34,14 @@ var _path = require('path');
34
34
  // src/cli/doc-read-reporting.ts
35
35
  var REPORT_TIMEOUT_MS = 1e3;
36
36
  async function reportDocRead(docId) {
37
- if (_chunkRFJANXCCjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkGTAU4C44js.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkTZ7APOBMjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkTZ7APOBMjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunkHMAETS53js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunkHMAETS53js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
41
41
  if (!apiKey) return;
42
42
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
43
43
  method: "POST",
44
- headers: _chunkRFJANXCCjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunkGTAU4C44js.failureReportHeaders.call(void 0, apiKey),
45
45
  body: JSON.stringify({ doc_id: docId }),
46
46
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
47
47
  });
@@ -54,16 +54,16 @@ function nothingNamed(name) {
54
54
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
55
55
  }
56
56
  function findNamed2(name, options) {
57
- return _chunkTMQUMILMjs.findNamed.call(void 0, name, options, _chunkTMQUMILMjs.describeLookupsFor.call(void 0, new (0, _chunkWTY2R4R3js.DeeplineClient)()));
57
+ return _chunkTMQUMILMjs.findNamed.call(void 0, name, options, _chunkTMQUMILMjs.describeLookupsFor.call(void 0, new (0, _chunkRA2NKHV5js.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunkWTY2R4R3js.DeeplineClient)();
60
+ const client = new (0, _chunkRA2NKHV5js.DeeplineClient)();
61
61
  const lookups = _chunkTMQUMILMjs.describeLookupsFor.call(void 0, client);
62
62
  const outcome = await _chunkTMQUMILMjs.describeName.call(void 0, name, options, {
63
63
  ...lookups,
64
64
  // `tools describe` has already fetched the tool for its compatibility check.
65
65
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
66
- seedStarterScript: _chunkREFT4DMJjs.seedToolListScript
66
+ seedStarterScript: _chunkDGOSW42Xjs.seedToolListScript
67
67
  });
68
68
  if (outcome.status === "missing") {
69
69
  if (onMissing) return onMissing();
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
89
89
  ` : text;
90
90
  _fs.writeFileSync.call(void 0, path, content);
91
91
  const bytes = Buffer.byteLength(content);
92
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
92
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
93
93
  { path, bytes },
94
94
  { json, text: `Wrote ${path} (${bytes} bytes)
95
95
  ` }
96
96
  );
97
97
  return 0;
98
98
  }
99
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunk76R5I7HRjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunkJZJNA57Mjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
104
  "Describe anything search returns: a tool, monitor type, or play."
105
105
  ).addHelpText(
106
106
  "after",
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-IWZRQ6YW.mjs";
5
+ } from "./chunk-R2KNJMOY.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-YAAJHS6W.mjs";
8
+ } from "./chunk-3CZHC24N.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunk5PXGAA2Mjs = require('./chunk-5PXGAA2M.js');
34
+ var _chunk7KALZEDZjs = require('./chunk-7KALZEDZ.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunk5PXGAA2Mjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunk7KALZEDZjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1107,8 +1107,8 @@ function runtimeSelectionHeaders(runtime, env) {
1107
1107
  }
1108
1108
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1109
1109
  return {
1110
- [_chunk5PXGAA2Mjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
- ...receivers ? { [_chunk5PXGAA2Mjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1110
+ [_chunk7KALZEDZjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
+ ...receivers ? { [_chunk7KALZEDZjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1112
1112
  };
1113
1113
  }
1114
1114
  function normalizeTestPolicyOverrides(value, source) {
@@ -1179,7 +1179,7 @@ var PlayClient = class {
1179
1179
  return _chunkRNSHCJMEjs.startPlayRun.call(void 0,
1180
1180
  this.http,
1181
1181
  resolved.request,
1182
- _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk5PXGAA2Mjs.SDK_API_MAJOR) } : headers,
1182
+ _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk7KALZEDZjs.SDK_API_MAJOR) } : headers,
1183
1183
  options
1184
1184
  );
1185
1185
  }
@@ -3260,7 +3260,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3260
3260
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3261
3261
  );
3262
3262
  }
3263
- return { [_chunk5PXGAA2Mjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3263
+ return { [_chunk7KALZEDZjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3264
3264
  }
3265
3265
  function sleep(ms) {
3266
3266
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4079,7 +4079,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4079
4079
  );
4080
4080
  const headers = _optionalChain([options, 'optionalAccess', _184 => _184.cliAdmission]) ? {
4081
4081
  ...runtimeHeaders,
4082
- "X-Deepline-API-Major": String(_chunk5PXGAA2Mjs.SDK_API_MAJOR)
4082
+ "X-Deepline-API-Major": String(_chunk7KALZEDZjs.SDK_API_MAJOR)
4083
4083
  } : runtimeHeaders;
4084
4084
  const http = this.http;
4085
4085
  let submitted = false;
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
5
+ var _chunkHMAETS53js = require('./chunk-HMAETS53.js');
6
6
 
7
7
 
8
- var _chunk5PXGAA2Mjs = require('./chunk-5PXGAA2M.js');
8
+ var _chunk7KALZEDZjs = require('./chunk-7KALZEDZ.js');
9
9
 
10
10
 
11
11
 
@@ -293,8 +293,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
293
293
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
294
294
  var defaultBrowserCommandRunner = childProcess;
295
295
  function getAuthedHttpClient() {
296
- const config = _chunkTZ7APOBMjs.resolveConfig.call(void 0, );
297
- return { config, http: new (0, _chunkTZ7APOBMjs.HttpClient)(config) };
296
+ const config = _chunkHMAETS53js.resolveConfig.call(void 0, );
297
+ return { config, http: new (0, _chunkHMAETS53js.HttpClient)(config) };
298
298
  }
299
299
  function stableOsUserId() {
300
300
  try {
@@ -634,7 +634,7 @@ function collectLocalEnvInfo() {
634
634
  os: `${process.platform} ${process.arch}`,
635
635
  node_version: process.version,
636
636
  home_dir: homeDir,
637
- agent_runtime: _chunk5PXGAA2Mjs.detectAgentRuntime.call(void 0, )
637
+ agent_runtime: _chunk7KALZEDZjs.detectAgentRuntime.call(void 0, )
638
638
  };
639
639
  const env = process.env;
640
640
  const optional = {
@@ -881,9 +881,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
881
881
  }
882
882
  function withAgentCommandContext(value) {
883
883
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
884
- return _chunk5PXGAA2Mjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
884
+ return _chunk7KALZEDZjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
885
885
  ...valueRecord,
886
- command_context: _chunkTZ7APOBMjs.resolveCliCommandContext.call(void 0, )
886
+ command_context: _chunkHMAETS53js.resolveCliCommandContext.call(void 0, )
887
887
  } : value;
888
888
  }
889
889
  function printJson(value, fields) {
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkJPN6OBPWjs = require('./chunk-JPN6OBPW.js');
19
+ var _chunkAO63MXT6js = require('./chunk-AO63MXT6.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkJPN6OBPWjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkJPN6OBPWjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkJPN6OBPWjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkAO63MXT6js.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkAO63MXT6js.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkAO63MXT6js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');