deepline 0.3.416 → 0.3.417

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 (111) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +6 -1
  4. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +53 -32
  5. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +14 -0
  7. package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +64 -9
  8. package/dist/cli/{auth-FLYZAZ7I.mjs → auth-2WNDS7OY.mjs} +4 -4
  9. package/dist/cli/auth-3NIULVL4.js +40 -0
  10. package/dist/cli/{billing-XZ62L6ZE.mjs → billing-4Z7QGTTO.mjs} +4 -4
  11. package/dist/cli/{billing-SVGZSMBY.js → billing-P26TYS3F.js} +73 -73
  12. package/dist/cli/{chunk-FFEA6KAB.mjs → chunk-2HQOCIFE.mjs} +2 -2
  13. package/dist/cli/{chunk-YK3XHX7G.js → chunk-3FPDXTYQ.js} +16 -16
  14. package/dist/cli/{chunk-G3WJWD4R.mjs → chunk-3U6CYHMT.mjs} +1 -1
  15. package/dist/cli/{chunk-NWPC3FUA.js → chunk-5D477CAK.js} +8 -8
  16. package/dist/cli/{chunk-DT36JAAX.mjs → chunk-723EDOP2.mjs} +2 -2
  17. package/dist/cli/{chunk-WL3MI252.js → chunk-A3G7FZXB.js} +35 -35
  18. package/dist/cli/{chunk-2DRO4YWM.js → chunk-C3YRH3EQ.js} +2 -2
  19. package/dist/cli/{chunk-NPFMAFUC.mjs → chunk-CCRV2MCO.mjs} +1 -1
  20. package/dist/cli/{chunk-PH6OXQC7.mjs → chunk-ECKCIGJC.mjs} +1 -1
  21. package/dist/cli/{chunk-F5KJFBDA.js → chunk-EHGFSE44.js} +1 -1
  22. package/dist/cli/{chunk-ZMQTLPLJ.mjs → chunk-GRIE5VE3.mjs} +1 -1
  23. package/dist/cli/{chunk-2MQJODFQ.mjs → chunk-H25KUAJM.mjs} +1 -1
  24. package/dist/cli/{chunk-ERPU6HBQ.mjs → chunk-H67BP5SQ.mjs} +3 -3
  25. package/dist/cli/{chunk-XUMHZPE3.mjs → chunk-IHHPUALO.mjs} +1 -1
  26. package/dist/cli/{chunk-ESUBIEVT.js → chunk-IX6CRC7R.js} +6 -6
  27. package/dist/cli/{chunk-MRL2OMZY.js → chunk-L5YPTOLF.js} +10 -10
  28. package/dist/cli/{chunk-7OLAGY3W.mjs → chunk-MRBM5H5V.mjs} +4 -4
  29. package/dist/cli/{chunk-XP6LSFCW.mjs → chunk-NATVQHG6.mjs} +5 -5
  30. package/dist/cli/{chunk-UXLXZN2F.js → chunk-OLCY3CTW.js} +2 -2
  31. package/dist/cli/{chunk-UJTWIOQK.js → chunk-OW7VBN4Q.js} +6 -6
  32. package/dist/cli/{chunk-E5FNJE3Y.js → chunk-QLP4Z6JG.js} +4 -4
  33. package/dist/cli/{chunk-TOIDV6Q4.js → chunk-QS7WRPCP.js} +50 -50
  34. package/dist/cli/{chunk-ZCO7R65D.js → chunk-R7HAELOE.js} +52 -52
  35. package/dist/cli/{chunk-Q6MUMX2G.mjs → chunk-RRBYMSN6.mjs} +2 -2
  36. package/dist/cli/{chunk-DBMALDT3.mjs → chunk-TNFYPFMU.mjs} +8 -8
  37. package/dist/cli/{chunk-4R3TJDWD.js → chunk-ULGMHMTD.js} +8 -8
  38. package/dist/cli/{chunk-ENBTCBGT.mjs → chunk-W2DLQJ35.mjs} +3 -3
  39. package/dist/cli/{chunk-MT7VPFMN.mjs → chunk-WRM2OWWT.mjs} +2 -2
  40. package/dist/cli/{chunk-LFUGXKJW.js → chunk-Y2HY7GL3.js} +20 -20
  41. package/dist/cli/{chunk-YCAMTIYM.js → chunk-YGZV4IVP.js} +79 -79
  42. package/dist/cli/{chunk-6GYQG6V3.mjs → chunk-Z7IVSY3A.mjs} +3 -3
  43. package/dist/cli/{chunk-TXLZ6BJC.js → chunk-ZJFUKGDR.js} +26 -26
  44. package/dist/cli/{csv-X72WTTMT.js → csv-PHHEOCRC.js} +12 -12
  45. package/dist/cli/{csv-4TAHSCJO.mjs → csv-UKZDQDD5.mjs} +3 -3
  46. package/dist/cli/{db-3LIMAM2U.js → db-DUMQYDPZ.js} +25 -25
  47. package/dist/cli/{db-CK3WE7QC.mjs → db-K3N4AJHP.mjs} +4 -4
  48. package/dist/cli/{describe-FW6XZCFK.mjs → describe-LYS7YLGP.mjs} +12 -12
  49. package/dist/cli/{describe-H2Z2VKU2.js → describe-RSQAAZWX.js} +16 -16
  50. package/dist/cli/describe-core.d.mts +1 -1
  51. package/dist/cli/describe-core.d.ts +1 -1
  52. package/dist/cli/{executions-VXGO3GSE.mjs → executions-A7OT35MH.mjs} +4 -4
  53. package/dist/cli/{executions-X7SXKMAI.js → executions-FQI2EGXY.js} +6 -6
  54. package/dist/cli/{feedback-KTDQHUNJ.mjs → feedback-E77JS5G4.mjs} +3 -3
  55. package/dist/cli/{feedback-6I3NFUPV.js → feedback-EGTCQ4VW.js} +7 -7
  56. package/dist/cli/git-PHGV243L.js +24 -0
  57. package/dist/cli/{git-ODZASGIK.mjs → git-Y66QSXUA.mjs} +4 -4
  58. package/dist/cli/index.js +131 -131
  59. package/dist/cli/index.mjs +36 -36
  60. package/dist/cli/{legacy-noops-HLVQGZ72.js → legacy-noops-BUEO7ZIG.js} +7 -7
  61. package/dist/cli/{legacy-noops-KNGT6U3L.mjs → legacy-noops-E7NYDS2S.mjs} +4 -4
  62. package/dist/cli/{monitors-3F5EZCMB.js → monitors-IGOA4L5O.js} +84 -84
  63. package/dist/cli/{monitors-JLGADUE5.mjs → monitors-YGX7XZHL.mjs} +4 -4
  64. package/dist/cli/{org-D7AW6LIR.mjs → org-IUCMNFCG.mjs} +4 -4
  65. package/dist/cli/{org-Z4LPCJII.js → org-QOVN4IJE.js} +64 -64
  66. package/dist/cli/{play-MO3SAHDS.mjs → play-BASBWJY7.mjs} +10 -10
  67. package/dist/cli/{play-UBNDV57A.js → play-GCQETZW6.js} +283 -283
  68. package/dist/cli/{providers-QCBNQY4A.mjs → providers-RF7LEMAP.mjs} +4 -4
  69. package/dist/cli/{providers-SL6ZSEDI.js → providers-VC5QBJZ3.js} +7 -7
  70. package/dist/cli/{quickstart-YGFVF6VL.js → quickstart-64EULHRG.js} +5 -5
  71. package/dist/cli/{quickstart-K7J4YOTE.mjs → quickstart-7GAOQSQA.mjs} +3 -3
  72. package/dist/cli/search-7TOXLL4V.js +30 -0
  73. package/dist/cli/{search-DVE6TKQ3.mjs → search-UOMJJUVT.mjs} +5 -5
  74. package/dist/cli/{secrets-G7ZMCH5J.js → secrets-GGXQOSGV.js} +13 -13
  75. package/dist/cli/{secrets-JOVBXCUR.mjs → secrets-MIIKANZ7.mjs} +4 -4
  76. package/dist/cli/{sessions-QQV7FO4Y.js → sessions-L7OMZEPU.js} +5 -5
  77. package/dist/cli/{sessions-NA5POIR5.mjs → sessions-VQENKFWC.mjs} +4 -4
  78. package/dist/cli/{settings-XGFHXFCJ.js → settings-GKI7CZ62.js} +75 -75
  79. package/dist/cli/{settings-AM44HC2C.mjs → settings-JCJPJCKF.mjs} +8 -8
  80. package/dist/cli/{setup-RUBLF452.mjs → setup-BN25RDMT.mjs} +7 -7
  81. package/dist/cli/{setup-DA4TSWCY.js → setup-P4AM7K34.js} +42 -42
  82. package/dist/cli/{skills-TRG55YOF.mjs → skills-3M2OV4EQ.mjs} +5 -5
  83. package/dist/cli/skills-NGE2YPQJ.js +29 -0
  84. package/dist/cli/{tools-CEEA7DU4.mjs → tools-337Y5WWW.mjs} +12 -12
  85. package/dist/cli/tools-ROHOYYLK.js +44 -0
  86. package/dist/cli/update-6ZC2XCW6.js +31 -0
  87. package/dist/cli/{update-Y5GSWR67.mjs → update-A3Y6PY7O.mjs} +7 -7
  88. package/dist/cli/{workflow-74I6RNJR.mjs → workflow-LPO25MX7.mjs} +5 -5
  89. package/dist/cli/{workflow-D2VHQKJB.js → workflow-XQATHEOS.js} +15 -15
  90. package/dist/{client-D2A39edb.d.mts → client-CNfY1AzH.d.mts} +57 -13
  91. package/dist/{client-D6w0_gN1.d.ts → client-CNjtvsqn.d.ts} +57 -13
  92. package/dist/index.d.mts +2 -2
  93. package/dist/index.d.ts +2 -2
  94. package/dist/index.js +6 -6
  95. package/dist/index.mjs +3 -3
  96. package/dist/install-integrity.json +80 -80
  97. package/dist/plays/play-description.d.mts +1 -1
  98. package/dist/plays/play-description.d.ts +1 -1
  99. package/dist/plays/run-request.d.mts +1 -1
  100. package/dist/plays/run-request.d.ts +1 -1
  101. package/dist/release.d.mts +1 -1
  102. package/dist/release.d.ts +1 -1
  103. package/dist/release.js +2 -2
  104. package/dist/release.mjs +1 -1
  105. package/package.json +1 -1
  106. package/dist/cli/auth-BNQP4UYQ.js +0 -40
  107. package/dist/cli/git-LLP4T6XB.js +0 -24
  108. package/dist/cli/search-V4HNFZRE.js +0 -30
  109. package/dist/cli/skills-6AQTCBTF.js +0 -29
  110. package/dist/cli/tools-JLPTH7TF.js +0 -44
  111. package/dist/cli/update-EKEBZDIX.js +0 -31
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-NPFMAFUC.mjs";
5
+ } from "./chunk-CCRV2MCO.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-2MQJODFQ.mjs";
8
+ } from "./chunk-H25KUAJM.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  recentSearchRef,
7
7
  registerDeprecatedSearchCommand
8
- } from "./chunk-ENBTCBGT.mjs";
8
+ } from "./chunk-W2DLQJ35.mjs";
9
9
  import {
10
10
  arrayField,
11
11
  formatModelDescription,
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  DeeplineClient,
47
47
  validateExecutionIdempotencyKey
48
- } from "./chunk-PH6OXQC7.mjs";
48
+ } from "./chunk-ECKCIGJC.mjs";
49
49
  import {
50
50
  stableStringify
51
51
  } from "./chunk-UBKA33KY.mjs";
@@ -55,18 +55,18 @@ import {
55
55
  maybeAutoUpdateAndRelaunch,
56
56
  registerCompatibilityCatalog,
57
57
  runToolExecuteStage
58
- } from "./chunk-7OLAGY3W.mjs";
58
+ } from "./chunk-MRBM5H5V.mjs";
59
59
  import {
60
60
  isCliTraceEnabled,
61
61
  recordCliTrace,
62
62
  resolveCliMaintenancePolicy
63
- } from "./chunk-ZMQTLPLJ.mjs";
63
+ } from "./chunk-GRIE5VE3.mjs";
64
64
  import {
65
65
  checkSdkCompatibility,
66
66
  enforceSdkCompatibilityResponse,
67
67
  flushDeferredSkillsSyncNotices,
68
68
  syncSdkSkillsIfNeeded
69
- } from "./chunk-6GYQG6V3.mjs";
69
+ } from "./chunk-Z7IVSY3A.mjs";
70
70
  import {
71
71
  printCommandEnvelope,
72
72
  printCompactJson,
@@ -74,12 +74,12 @@ import {
74
74
  printJsonError,
75
75
  renderCommandEnvelopeText,
76
76
  shouldEmitJson
77
- } from "./chunk-NPFMAFUC.mjs";
77
+ } from "./chunk-CCRV2MCO.mjs";
78
78
  import {
79
79
  readSdkSkillsLocalVersion,
80
80
  resolveConfig,
81
81
  sdkCliStateDirPath
82
- } from "./chunk-2MQJODFQ.mjs";
82
+ } from "./chunk-H25KUAJM.mjs";
83
83
  import {
84
84
  DeeplineError
85
85
  } from "./chunk-E4IXDAZI.mjs";
@@ -962,7 +962,7 @@ Examples:
962
962
  process.exitCode = await narrowView();
963
963
  return;
964
964
  }
965
- const { describeAnything } = await import("./describe-FW6XZCFK.mjs");
965
+ const { describeAnything } = await import("./describe-LYS7YLGP.mjs");
966
966
  process.exitCode = await describeAnything(
967
967
  toolId,
968
968
  {
@@ -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(); } } 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 _chunkUJTWIOQKjs = require('./chunk-UJTWIOQK.js');
4
+ var _chunkOW7VBN4Qjs = require('./chunk-OW7VBN4Q.js');
5
5
 
6
6
 
7
- var _chunkE5FNJE3Yjs = require('./chunk-E5FNJE3Y.js');
7
+ var _chunkQLP4Z6JGjs = require('./chunk-QLP4Z6JG.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkE5FNJE3Yjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkQLP4Z6JGjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkUJTWIOQKjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkOW7VBN4Qjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkUJTWIOQKjs.printCommandEnvelope.call(void 0,
487
+ _chunkOW7VBN4Qjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkUJTWIOQKjs.printCommandEnvelope.call(void 0,
519
+ _chunkOW7VBN4Qjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkUJTWIOQKjs.printCommandEnvelope.call(void 0,
569
+ _chunkOW7VBN4Qjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkUJTWIOQKjs.printCommandEnvelope.call(void 0,
677
+ _chunkOW7VBN4Qjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-PH6OXQC7.mjs";
6
+ } from "./chunk-ECKCIGJC.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-NPFMAFUC.mjs";
10
+ } from "./chunk-CCRV2MCO.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-2MQJODFQ.mjs";
14
+ } from "./chunk-H25KUAJM.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-ZMQTLPLJ.mjs";
3
+ } from "./chunk-GRIE5VE3.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-6GYQG6V3.mjs";
8
+ } from "./chunk-Z7IVSY3A.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkYK3XHX7Gjs = require('./chunk-YK3XHX7G.js');
7
+ var _chunk3FPDXTYQjs = require('./chunk-3FPDXTYQ.js');
8
8
 
9
9
 
10
- var _chunkZCO7R65Djs = require('./chunk-ZCO7R65D.js');
10
+ var _chunkR7HAELOEjs = require('./chunk-R7HAELOE.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkUJTWIOQKjs = require('./chunk-UJTWIOQK.js');
14
+ var _chunkOW7VBN4Qjs = require('./chunk-OW7VBN4Q.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkE5FNJE3Yjs = require('./chunk-E5FNJE3Y.js');
18
+ var _chunkQLP4Z6JGjs = require('./chunk-QLP4Z6JG.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunkE5FNJE3Yjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkQLP4Z6JGjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunkE5FNJE3Yjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkQLP4Z6JGjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkE5FNJE3Yjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkE5FNJE3Yjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkQLP4Z6JGjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkQLP4Z6JGjs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkE5FNJE3Yjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkQLP4Z6JGjs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkYK3XHX7Gjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkZCO7R65Djs.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk3FPDXTYQjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkR7HAELOEjs.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkE5FNJE3Yjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkQLP4Z6JGjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkYK3XHX7Gjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunk3FPDXTYQjs.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkE5FNJE3Yjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkQLP4Z6JGjs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunkYK3XHX7Gjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunk3FPDXTYQjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkYK3XHX7Gjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunk3FPDXTYQjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunkUJTWIOQKjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunkOW7VBN4Qjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkUJTWIOQKjs.addJsonNotice.call(void 0, {
169
+ _chunkOW7VBN4Qjs.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunkYK3XHX7Gjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunk3FPDXTYQjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  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";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunkYK3XHX7Gjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunk3FPDXTYQjs.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunkUJTWIOQKjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunkOW7VBN4Qjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;