deepline 0.3.506 → 0.3.507

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 (142) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +27 -6
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +38 -1
  4. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +4 -2
  5. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +15 -0
  7. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +24 -4
  8. package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +405 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +6 -1
  10. package/dist/cli/auth-6PJ4G5PC.js +43 -0
  11. package/dist/cli/{auth-ZHFONT2D.mjs → auth-BNP3M27C.mjs} +5 -5
  12. package/dist/cli/{billing-3Z7N4WTL.js → billing-7HIVX4YJ.js} +79 -79
  13. package/dist/cli/{billing-B2YEMNHE.mjs → billing-JKJ2AEZ6.mjs} +6 -6
  14. package/dist/cli/{chunk-YEX6RPUO.mjs → chunk-2OKEMB5A.mjs} +1 -1
  15. package/dist/cli/{chunk-LRSRJJPD.js → chunk-2ZINJVWW.js} +16 -16
  16. package/dist/cli/{chunk-HINTYT5H.js → chunk-3D5ZNYYI.js} +44 -44
  17. package/dist/cli/{chunk-SUJIVF6L.js → chunk-56SRWY5F.js} +16 -16
  18. package/dist/cli/{chunk-TEMORCEE.mjs → chunk-5A66OJZD.mjs} +1 -1
  19. package/dist/cli/{chunk-CHGRURBN.mjs → chunk-5I2XKXLS.mjs} +5 -5
  20. package/dist/cli/{chunk-FWSEGIT6.js → chunk-5PXGAA2M.js} +4 -4
  21. package/dist/cli/{chunk-75NAFY36.js → chunk-6AQO5OJ5.js} +7 -7
  22. package/dist/cli/{chunk-5ARG7J7A.js → chunk-76R5I7HR.js} +6 -6
  23. package/dist/cli/{chunk-2IXXB7OA.mjs → chunk-7TZA6LJI.mjs} +5 -5
  24. package/dist/cli/{chunk-OD6TASBP.js → chunk-AXYLMDU3.js} +8 -8
  25. package/dist/cli/{chunk-FFGQR5J3.mjs → chunk-D2T4W5LR.mjs} +2 -2
  26. package/dist/cli/{chunk-OHNMJ5XQ.js → chunk-E5HGDYU3.js} +41 -41
  27. package/dist/cli/{chunk-3F676QXJ.js → chunk-E7YIIEZU.js} +11 -11
  28. package/dist/cli/{chunk-6RYVIZRP.mjs → chunk-EEJLV77L.mjs} +2 -2
  29. package/dist/cli/{chunk-BQBPVUFJ.mjs → chunk-EYZJDHXA.mjs} +3 -3
  30. package/dist/cli/{chunk-Z7EHY2MF.mjs → chunk-GMRWVXU2.mjs} +2 -2
  31. package/dist/cli/{chunk-2CFTDVEP.mjs → chunk-H334EFON.mjs} +2 -2
  32. package/dist/cli/{chunk-QAY5AS2H.mjs → chunk-H6PABDS4.mjs} +10 -10
  33. package/dist/cli/{chunk-F53SGS3C.js → chunk-HPZONIDF.js} +5 -5
  34. package/dist/cli/{chunk-O4DZG4VA.mjs → chunk-IBKWVFWP.mjs} +2 -2
  35. package/dist/cli/{chunk-ZZDTWVCQ.js → chunk-ILUZ7IHP.js} +21 -21
  36. package/dist/cli/{chunk-YVOS5KSG.mjs → chunk-IWZRQ6YW.mjs} +1 -1
  37. package/dist/cli/{chunk-GJNIC2CO.mjs → chunk-JCE2JNGD.mjs} +5 -5
  38. package/dist/cli/{chunk-2OY5DXTC.js → chunk-JPN6OBPW.js} +1 -1
  39. package/dist/cli/{chunk-OUGJUM5X.mjs → chunk-LSONU2E2.mjs} +6 -6
  40. package/dist/cli/{chunk-PRIHD5XS.js → chunk-MN5HO2PN.js} +9 -9
  41. package/dist/cli/{chunk-N7G36GXB.js → chunk-MQRT5NYP.js} +26 -26
  42. package/dist/cli/{chunk-YWZEBPXK.mjs → chunk-NJRJGXVF.mjs} +2 -2
  43. package/dist/cli/{chunk-AD2WJUZA.js → chunk-OBATCFZO.js} +7 -7
  44. package/dist/cli/{chunk-XUY7WQ2R.mjs → chunk-OPEJASMJ.mjs} +2 -2
  45. package/dist/cli/{chunk-QP333GFE.js → chunk-QWRSWQ7Z.js} +6 -6
  46. package/dist/cli/{chunk-E554XCJI.js → chunk-REFT4DMJ.js} +96 -96
  47. package/dist/cli/{chunk-GRESJ3H3.js → chunk-RFJANXCC.js} +14 -14
  48. package/dist/cli/{chunk-ONBXTEFQ.mjs → chunk-RTLWYERT.mjs} +1 -1
  49. package/dist/cli/{chunk-3BFZEHBH.mjs → chunk-T6FUNWXX.mjs} +1 -1
  50. package/dist/cli/{chunk-D7OCORZ7.mjs → chunk-TVR4R2E6.mjs} +1 -1
  51. package/dist/cli/{chunk-MHRR47VQ.js → chunk-TZ7APOBM.js} +3 -3
  52. package/dist/cli/{chunk-F7IQQYKV.js → chunk-V2K34NAO.js} +2 -2
  53. package/dist/cli/{chunk-YJKKOSXS.js → chunk-V4GGTOCX.js} +3 -3
  54. package/dist/cli/{chunk-EN7GXLFX.mjs → chunk-VGEBRTHF.mjs} +4 -4
  55. package/dist/cli/{chunk-BJ5OX62J.mjs → chunk-VQLD5M43.mjs} +5 -5
  56. package/dist/cli/{chunk-ZM5BJ5MP.js → chunk-WOPWSAGS.js} +53 -53
  57. package/dist/cli/{chunk-ND4WPLTE.mjs → chunk-WQAHMVBT.mjs} +2 -2
  58. package/dist/cli/{chunk-DB54ROPH.js → chunk-WTY2R4R3.js} +5 -5
  59. package/dist/cli/{chunk-OPBXKB57.mjs → chunk-XKGNEN4P.mjs} +1 -1
  60. package/dist/cli/{chunk-TS4KFQKS.mjs → chunk-YAAJHS6W.mjs} +1 -1
  61. package/dist/cli/{chunk-26DJ4BDY.js → chunk-ZCNGMQVD.js} +2 -2
  62. package/dist/cli/{csv-ARHQ54HA.mjs → csv-LZTQOPP2.mjs} +4 -4
  63. package/dist/cli/{csv-7K7LK63Y.js → csv-WYJVU5HV.js} +13 -13
  64. package/dist/cli/{db-JBX24NJY.mjs → db-D6XFOQP3.mjs} +6 -6
  65. package/dist/cli/{db-V4Z2I6DY.js → db-UCUXPY7S.js} +27 -27
  66. package/dist/cli/{describe-RBDSGSZ7.mjs → describe-HKL2XK67.mjs} +18 -18
  67. package/dist/cli/describe-XS4OIASD.js +50 -0
  68. package/dist/cli/describe-core.d.mts +2 -2
  69. package/dist/cli/describe-core.d.ts +2 -2
  70. package/dist/cli/{executions-XEZKV5QU.js → executions-5CF5NM7V.js} +8 -8
  71. package/dist/cli/{executions-BAZEU63W.mjs → executions-AFHYXH73.mjs} +6 -6
  72. package/dist/cli/{feedback-LOERESRU.js → feedback-GJAX3JZE.js} +8 -8
  73. package/dist/cli/{feedback-YDSWBHCO.mjs → feedback-MLKQ572F.mjs} +4 -4
  74. package/dist/cli/{git-4Z3W2CQU.mjs → git-BMLROZOU.mjs} +5 -5
  75. package/dist/cli/git-RIXUHRDL.js +25 -0
  76. package/dist/cli/index.js +138 -138
  77. package/dist/cli/index.mjs +41 -41
  78. package/dist/cli/{legacy-noops-4QIQPVE5.js → legacy-noops-FHRDF7MC.js} +8 -8
  79. package/dist/cli/{legacy-noops-E4HH7S5O.mjs → legacy-noops-Y7JSQVLQ.mjs} +5 -5
  80. package/dist/cli/{monitors-QBHDSDA7.js → monitors-Z6RPIQIH.js} +127 -112
  81. package/dist/cli/{monitors-FPDW5DDM.mjs → monitors-ZEVK3UD7.mjs} +34 -19
  82. package/dist/cli/{org-UCDHIHAD.mjs → org-PFLVANIN.mjs} +6 -6
  83. package/dist/cli/{org-JO4GGSAH.js → org-TXJ3RES5.js} +72 -72
  84. package/dist/cli/{pages-6V52IZXY.mjs → pages-BKEMQ2J7.mjs} +6 -6
  85. package/dist/cli/{pages-FJAAXAWO.js → pages-ESKKBK5Y.js} +18 -18
  86. package/dist/cli/{play-MF4DWROJ.mjs → play-4Z6Z7KVY.mjs} +18 -18
  87. package/dist/cli/{play-F3AENS6W.js → play-AAFOZJKQ.js} +317 -317
  88. package/dist/cli/{providers-NJJLTECA.mjs → providers-KYP2UWDV.mjs} +6 -6
  89. package/dist/cli/{providers-XXOQLPX7.js → providers-WEU4UNKY.js} +9 -9
  90. package/dist/cli/{quickstart-Z5MSMI7S.mjs → quickstart-7EUDF4IL.mjs} +4 -4
  91. package/dist/cli/{quickstart-JCE3XGQG.js → quickstart-DXYZCOJY.js} +6 -6
  92. package/dist/cli/{run-X2DNIW3F.js → run-3YN6P26W.js} +41 -41
  93. package/dist/cli/{run-56UGPIRL.mjs → run-MB2R5PQ7.mjs} +23 -23
  94. package/dist/cli/{search-SZYI4NBB.mjs → search-MIFBESRE.mjs} +8 -8
  95. package/dist/cli/search-Z7GUKVFE.js +33 -0
  96. package/dist/cli/{search-output-T35QNZUF.mjs → search-output-2IR3UA4W.mjs} +4 -4
  97. package/dist/cli/{search-output-7UNT6EMP.js → search-output-NUWL47SR.js} +6 -6
  98. package/dist/cli/{secrets-JMUAVIVC.js → secrets-6UT6BIDJ.js} +15 -15
  99. package/dist/cli/{secrets-Q36VC35L.mjs → secrets-E6WIYONW.mjs} +6 -6
  100. package/dist/cli/{sessions-HG6I3HMY.mjs → sessions-AP7L6YCL.mjs} +5 -5
  101. package/dist/cli/{sessions-SUXU7OM7.js → sessions-NF2RBXMJ.js} +6 -6
  102. package/dist/cli/{settings-UIELQ5CV.js → settings-FZWXYP4W.js} +82 -82
  103. package/dist/cli/{settings-Z76XW4KF.mjs → settings-MMLHJ5E5.mjs} +12 -12
  104. package/dist/cli/{setup-OXNYAOQ4.mjs → setup-WJNN2CZZ.mjs} +10 -10
  105. package/dist/cli/{setup-2L7H5P2O.js → setup-YHXAAJNZ.js} +50 -50
  106. package/dist/cli/skills-4YYUFNMS.js +37 -0
  107. package/dist/cli/{skills-XSNLXJGI.mjs → skills-KXZ5PJU2.mjs} +8 -8
  108. package/dist/cli/{tools-SUSFAYFH.mjs → tools-K6S7RX7B.mjs} +17 -17
  109. package/dist/cli/tools-OCYEMMUP.js +57 -0
  110. package/dist/cli/{update-ENSTG3QO.mjs → update-2SFWEVM6.mjs} +10 -10
  111. package/dist/cli/update-WQIPUQ4K.js +35 -0
  112. package/dist/cli/{workflow-Z33QE6VT.mjs → workflow-IR3RCVHZ.mjs} +7 -7
  113. package/dist/cli/{workflow-FMBZNY4F.js → workflow-SM3Q45X5.js} +17 -17
  114. package/dist/{client-Cx0420fs.d.ts → client-BlwD-G4v.d.ts} +1 -1
  115. package/dist/{client-BDbouy3Y.d.mts → client-DMpsMNH9.d.mts} +1 -1
  116. package/dist/{client-core-CwiVaMZ5.d.mts → client-core-CITtRTbB.d.mts} +27 -8
  117. package/dist/{client-core-B4hq0-m2.d.ts → client-core-DwBLuEkm.d.ts} +27 -8
  118. package/dist/index.d.mts +3 -3
  119. package/dist/index.d.ts +3 -3
  120. package/dist/index.js +9 -9
  121. package/dist/index.mjs +6 -6
  122. package/dist/install-integrity.json +105 -104
  123. package/dist/plays/play-description.d.mts +1 -1
  124. package/dist/plays/play-description.d.ts +1 -1
  125. package/dist/plays/run-request.d.mts +1 -1
  126. package/dist/plays/run-request.d.ts +1 -1
  127. package/dist/release.d.mts +1 -1
  128. package/dist/release.d.ts +1 -1
  129. package/dist/release.js +2 -2
  130. package/dist/release.mjs +1 -1
  131. package/dist/server.d.mts +2 -2
  132. package/dist/server.d.ts +2 -2
  133. package/dist/server.js +5 -5
  134. package/dist/server.mjs +3 -3
  135. package/package.json +1 -1
  136. package/dist/cli/auth-MMHG2OFE.js +0 -43
  137. package/dist/cli/describe-AYXVS6DZ.js +0 -50
  138. package/dist/cli/git-T6WKO7EA.js +0 -25
  139. package/dist/cli/search-B753RTKC.js +0 -33
  140. package/dist/cli/skills-DEVXYGYH.js +0 -37
  141. package/dist/cli/tools-SCGHABDL.js +0 -57
  142. package/dist/cli/update-BSIILGO3.js +0 -35
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-D7OCORZ7.mjs";
5
+ } from "./chunk-TVR4R2E6.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-2IXXB7OA.mjs";
9
+ } from "./chunk-7TZA6LJI.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-YWZEBPXK.mjs";
49
+ } from "./chunk-NJRJGXVF.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-ONBXTEFQ.mjs";
52
+ } from "./chunk-RTLWYERT.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-BMCRTI6Z.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-CHGRURBN.mjs";
62
+ } from "./chunk-5I2XKXLS.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-YEX6RPUO.mjs";
67
+ } from "./chunk-2OKEMB5A.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-GJNIC2CO.mjs";
73
+ } from "./chunk-JCE2JNGD.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-2CFTDVEP.mjs";
81
+ } from "./chunk-H334EFON.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-YVOS5KSG.mjs";
86
+ } from "./chunk-IWZRQ6YW.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1053,7 +1053,7 @@ Examples:
1053
1053
  process.exitCode = await narrowView();
1054
1054
  return;
1055
1055
  }
1056
- const { describeAnything } = await import("./describe-RBDSGSZ7.mjs");
1056
+ const { describeAnything } = await import("./describe-HKL2XK67.mjs");
1057
1057
  process.exitCode = await describeAnything(
1058
1058
  toolId,
1059
1059
  {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
3
+ var _chunkOBATCFZOjs = require('./chunk-OBATCFZO.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
7
+ var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkMHRR47VQjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkAD2WJUZAjs.PlayClient)(
142
- new (0, _chunkMHRR47VQjs.HttpClient)(config),
140
+ const config = _chunkTZ7APOBMjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkOBATCFZOjs.PlayClient)(
142
+ new (0, _chunkTZ7APOBMjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-2CFTDVEP.mjs";
4
+ } from "./chunk-H334EFON.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-TS4KFQKS.mjs";
7
+ } from "./chunk-YAAJHS6W.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkLRSRJJPDjs = require('./chunk-LRSRJJPD.js');
7
+ var _chunk2ZINJVWWjs = require('./chunk-2ZINJVWW.js');
8
8
 
9
9
 
10
- var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
10
+ var _chunk3D5ZNYYIjs = require('./chunk-3D5ZNYYI.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
14
+ var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
15
15
 
16
16
 
17
- var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
17
+ var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
18
18
 
19
19
 
20
- var _chunkFWSEGIT6js = require('./chunk-FWSEGIT6.js');
20
+ var _chunk5PXGAA2Mjs = require('./chunk-5PXGAA2M.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkMHRR47VQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkTZ7APOBMjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkFWSEGIT6js.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunk5PXGAA2Mjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkFWSEGIT6js.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkFWSEGIT6js.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunk5PXGAA2Mjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunk5PXGAA2Mjs.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkFWSEGIT6js.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk5PXGAA2Mjs.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkLRSRJJPDjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkHINTYT5Hjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk2ZINJVWWjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk3D5ZNYYIjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkFWSEGIT6js.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk5PXGAA2Mjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkLRSRJJPDjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunk2ZINJVWWjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkFWSEGIT6js.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk5PXGAA2Mjs.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkLRSRJJPDjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunk2ZINJVWWjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkLRSRJJPDjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunk2ZINJVWWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunk75NAFY36js.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunk6AQO5OJ5js.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunk75NAFY36js.addJsonNotice.call(void 0, {
171
+ _chunk6AQO5OJ5js.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkLRSRJJPDjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunk2ZINJVWWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkLRSRJJPDjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunk2ZINJVWWjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunk75NAFY36js.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunk6AQO5OJ5js.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-TS4KFQKS.mjs";
4
+ } from "./chunk-YAAJHS6W.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-TEMORCEE.mjs";
3
+ } from "./chunk-5A66OJZD.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-FFGQR5J3.mjs";
6
+ } from "./chunk-D2T4W5LR.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-YVOS5KSG.mjs";
17
+ } from "./chunk-IWZRQ6YW.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-TS4KFQKS.mjs";
24
+ } from "./chunk-YAAJHS6W.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-OPBXKB57.mjs";
27
+ } from "./chunk-XKGNEN4P.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.506",
52
+ version: "0.3.507",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-QAY5AS2H.mjs";
3
+ } from "./chunk-H6PABDS4.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-D7OCORZ7.mjs";
6
+ } from "./chunk-TVR4R2E6.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-YWZEBPXK.mjs";
17
+ } from "./chunk-NJRJGXVF.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-FFGQR5J3.mjs";
21
+ } from "./chunk-D2T4W5LR.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-2CFTDVEP.mjs";
24
+ } from "./chunk-H334EFON.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-YVOS5KSG.mjs";
28
+ } from "./chunk-IWZRQ6YW.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
6
+ var _chunkOBATCFZOjs = require('./chunk-OBATCFZO.js');
7
7
 
8
8
 
9
9
  var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
@@ -11,7 +11,7 @@ var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
14
+ var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunk75NAFY36js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk6AQO5OJ5js.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 ? _chunk75NAFY36js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk75NAFY36js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk6AQO5OJ5js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk6AQO5OJ5js.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");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkAD2WJUZAjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkOBATCFZOjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkAD2WJUZAjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkOBATCFZOjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunk75NAFY36js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunk75NAFY36js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk6AQO5OJ5js.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunk6AQO5OJ5js.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunk75NAFY36js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk6AQO5OJ5js.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
5
+ var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
6
6
 
7
7
 
8
- var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
8
+ var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
39
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
139
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
153
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
200
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
227
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
254
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
269
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkMHRR47VQjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkTZ7APOBMjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk75NAFY36js.openInBrowser.call(void 0, connectUrl);
292
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk6AQO5OJ5js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
322
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
371
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk6AQO5OJ5js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
392
+ _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-ONBXTEFQ.mjs";
3
+ } from "./chunk-RTLWYERT.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-YVOS5KSG.mjs";
7
+ } from "./chunk-IWZRQ6YW.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkFWSEGIT6js = require('./chunk-FWSEGIT6.js');
34
+ var _chunk5PXGAA2Mjs = require('./chunk-5PXGAA2M.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(_chunkFWSEGIT6js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunk5PXGAA2Mjs.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
- [_chunkFWSEGIT6js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
- ...receivers ? { [_chunkFWSEGIT6js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1110
+ [_chunk5PXGAA2Mjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
+ ...receivers ? { [_chunk5PXGAA2Mjs.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(_chunkFWSEGIT6js.SDK_API_MAJOR) } : headers,
1182
+ _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk5PXGAA2Mjs.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 { [_chunkFWSEGIT6js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3263
+ return { [_chunk5PXGAA2Mjs.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(_chunkFWSEGIT6js.SDK_API_MAJOR)
4082
+ "X-Deepline-API-Major": String(_chunk5PXGAA2Mjs.SDK_API_MAJOR)
4083
4083
  } : runtimeHeaders;
4084
4084
  const http = this.http;
4085
4085
  let submitted = false;