deepline 0.3.440 → 0.3.441

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 (134) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -1
  3. package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +17 -3
  4. package/dist/bundling-sources/shared_libs/tool-execution-error.ts +17 -3
  5. package/dist/cli/{auth-KBORTFO6.mjs → auth-D2ZF664Y.mjs} +6 -6
  6. package/dist/cli/auth-XTW4JZT4.js +40 -0
  7. package/dist/cli/{billing-VJSUCB5I.mjs → billing-4MIYCPSV.mjs} +7 -7
  8. package/dist/cli/{billing-RE5WN7IQ.js → billing-5OLSZRHE.js} +83 -83
  9. package/dist/cli/{chunk-R2P756BJ.js → chunk-27LQEDGO.js} +16 -16
  10. package/dist/cli/{chunk-GRAEERVE.mjs → chunk-2LVCAPN7.mjs} +3 -3
  11. package/dist/cli/{chunk-M6WSQZHP.js → chunk-2MMUUSBN.js} +57 -57
  12. package/dist/cli/{chunk-CI56TXRS.js → chunk-2VZKT2PE.js} +35 -35
  13. package/dist/cli/{chunk-BBYGXP2I.js → chunk-3IRJIEIE.js} +12 -12
  14. package/dist/cli/{chunk-ATTUUPIU.js → chunk-3XPO3MWC.js} +8 -8
  15. package/dist/cli/{chunk-V74O7X2X.mjs → chunk-4N3ZT6OJ.mjs} +2 -2
  16. package/dist/cli/{chunk-MAMVGOSC.mjs → chunk-4QF2K7TM.mjs} +1 -1
  17. package/dist/cli/{chunk-PCNOULRB.mjs → chunk-55GDG7QJ.mjs} +4 -4
  18. package/dist/cli/{chunk-N5D4EMIY.mjs → chunk-7DH2FD7Y.mjs} +1 -1
  19. package/dist/cli/{chunk-WU4U6VSB.js → chunk-A6QCMBGL.js} +5 -5
  20. package/dist/cli/{chunk-EPABMF45.js → chunk-AG5SQSH5.js} +6 -6
  21. package/dist/cli/{chunk-NPBJI7RE.js → chunk-ALJJRZNJ.js} +8 -8
  22. package/dist/cli/{chunk-OX5JAD3D.mjs → chunk-ARVYJDPQ.mjs} +4 -4
  23. package/dist/cli/{chunk-Z7SKBAOU.js → chunk-AVQ4V6Y7.js} +93 -93
  24. package/dist/cli/{chunk-42YHEY2R.mjs → chunk-AZZCCHOL.mjs} +2 -2
  25. package/dist/cli/{chunk-KAJK6XVI.js → chunk-CFUTOWE4.js} +6 -6
  26. package/dist/cli/{chunk-4RKPT6IE.js → chunk-DE354WOP.js} +2 -2
  27. package/dist/cli/{chunk-PPDBRJRW.js → chunk-DIAWYWT5.js} +6 -1
  28. package/dist/cli/{chunk-RAJP44MZ.mjs → chunk-DIDMHGVH.mjs} +1 -1
  29. package/dist/cli/{chunk-GJI7C2OU.js → chunk-DV4G676C.js} +8 -8
  30. package/dist/cli/{chunk-V2ZITVZA.js → chunk-F2EMJUDJ.js} +26 -26
  31. package/dist/cli/{chunk-KCC3FKIW.mjs → chunk-FAG4DFUC.mjs} +1 -1
  32. package/dist/cli/{chunk-K23LXA4N.mjs → chunk-FOLT3LUQ.mjs} +2 -2
  33. package/dist/cli/{chunk-GFEWNYQ4.js → chunk-GAGGHXYN.js} +2 -2
  34. package/dist/cli/{chunk-RDIN3NKA.js → chunk-GEQOPXOS.js} +2 -2
  35. package/dist/cli/{chunk-E4IXDAZI.mjs → chunk-HBL4PM5Q.mjs} +6 -1
  36. package/dist/cli/{chunk-ZLD46RSR.mjs → chunk-HS6ASYW5.mjs} +2 -2
  37. package/dist/cli/{chunk-VXQQZV4A.js → chunk-HUH6EA5B.js} +33 -33
  38. package/dist/cli/{chunk-2H4EY7KH.js → chunk-JKVRBCZL.js} +26 -26
  39. package/dist/cli/{chunk-CWFN7MUU.mjs → chunk-KSWTIOZT.mjs} +9 -9
  40. package/dist/cli/{chunk-NIR2UK5V.mjs → chunk-LB5TQPKK.mjs} +1 -1
  41. package/dist/cli/{chunk-O7PC3VOI.mjs → chunk-M65GHY4K.mjs} +1 -1
  42. package/dist/cli/{chunk-GWC7OBRD.mjs → chunk-NYLJMRYD.mjs} +2 -2
  43. package/dist/cli/{chunk-4GHEUG6W.js → chunk-OWXLYPMV.js} +20 -20
  44. package/dist/cli/{chunk-NUX2QHNC.mjs → chunk-OZDT2CZW.mjs} +1 -1
  45. package/dist/cli/{chunk-OOVQITRM.js → chunk-PNS3K6A2.js} +50 -50
  46. package/dist/cli/{chunk-R7GGDUOM.mjs → chunk-POSRLOHP.mjs} +3 -3
  47. package/dist/cli/{chunk-XL4FJX7J.mjs → chunk-PPJ4PF6F.mjs} +3 -3
  48. package/dist/cli/{chunk-GOHOTLUV.mjs → chunk-PUWMWNBM.mjs} +4 -4
  49. package/dist/cli/{chunk-DS7Y7X26.mjs → chunk-SKXQZUMX.mjs} +1 -1
  50. package/dist/cli/{chunk-HNMQSS7P.js → chunk-UJLPE55B.js} +1 -1
  51. package/dist/cli/{chunk-FGTKAXRJ.js → chunk-XM5Z53VA.js} +101 -101
  52. package/dist/cli/{chunk-T6XBX45B.mjs → chunk-XUART5TY.mjs} +5 -5
  53. package/dist/cli/{csv-L64ECPD5.js → csv-PWSQ7DBG.js} +14 -14
  54. package/dist/cli/{csv-MP3WOYPE.mjs → csv-ZWRKX6NU.mjs} +5 -5
  55. package/dist/cli/{db-FOV7GHXS.mjs → db-AYIEGUOY.mjs} +7 -7
  56. package/dist/cli/{db-RZJK6LGN.js → db-M24C22YN.js} +34 -34
  57. package/dist/cli/{describe-WWENJAG2.js → describe-F34NXGCE.js} +22 -22
  58. package/dist/cli/{describe-R2BEQHVZ.mjs → describe-K2CCAFJO.mjs} +16 -16
  59. package/dist/cli/describe-core.d.mts +2 -2
  60. package/dist/cli/describe-core.d.ts +2 -2
  61. package/dist/cli/describe-core.js +4 -4
  62. package/dist/cli/describe-core.mjs +3 -3
  63. package/dist/cli/{executions-C5WO6TGN.mjs → executions-TMH5FSYX.mjs} +7 -7
  64. package/dist/cli/{executions-3LFEK56I.js → executions-UHHRRBBT.js} +9 -9
  65. package/dist/cli/{feedback-K6OAZUQ4.mjs → feedback-GCTX3HJS.mjs} +5 -5
  66. package/dist/cli/{feedback-EMWUZ4LV.js → feedback-Z7C47J2X.js} +9 -9
  67. package/dist/cli/git-MCFHPAML.js +24 -0
  68. package/dist/cli/{git-DJLL3OCZ.mjs → git-RDHXJML2.mjs} +6 -6
  69. package/dist/cli/index.js +136 -136
  70. package/dist/cli/index.mjs +38 -38
  71. package/dist/cli/{legacy-noops-EAJG56KP.mjs → legacy-noops-3E75KHWC.mjs} +6 -6
  72. package/dist/cli/{legacy-noops-57SRSZ7M.js → legacy-noops-X6QQUMNF.js} +9 -9
  73. package/dist/cli/{monitors-OI57AAIG.js → monitors-AVTVW5L2.js} +93 -93
  74. package/dist/cli/{monitors-FHTQ6227.mjs → monitors-HCNIDGV2.mjs} +7 -7
  75. package/dist/cli/{org-YGHFZTWJ.mjs → org-ILD73S74.mjs} +7 -7
  76. package/dist/cli/{org-26EHPBKF.js → org-QUJYCJJE.js} +69 -69
  77. package/dist/cli/{play-PXGYS4DH.js → play-7M53PMCN.js} +373 -373
  78. package/dist/cli/{play-KBKWTIXK.mjs → play-DQJ7LGQG.mjs} +15 -15
  79. package/dist/cli/{providers-IZYBWI6M.js → providers-3HC5S52G.js} +10 -10
  80. package/dist/cli/{providers-YPFEVK5C.mjs → providers-WV35XXID.mjs} +7 -7
  81. package/dist/cli/{quickstart-RBCTFLI3.js → quickstart-KJZOURAH.js} +7 -7
  82. package/dist/cli/{quickstart-SJ2M56CV.mjs → quickstart-UESOANHH.mjs} +5 -5
  83. package/dist/cli/search-255SE477.js +30 -0
  84. package/dist/cli/{search-PSPZTTKR.mjs → search-V3ZQE4UU.mjs} +8 -8
  85. package/dist/cli/{secrets-BCS4FE5D.mjs → secrets-ILDTXJ3L.mjs} +7 -7
  86. package/dist/cli/{secrets-XIWKYXGD.js → secrets-IU2FWIQI.js} +16 -16
  87. package/dist/cli/{sessions-L3UEERFX.mjs → sessions-4M6WBATB.mjs} +6 -6
  88. package/dist/cli/sessions-Y25VJZSV.js +16 -0
  89. package/dist/cli/{settings-X2GMYBE7.js → settings-5BMSV6EL.js} +78 -78
  90. package/dist/cli/{settings-SFFP7AR5.mjs → settings-Z4R5U5OZ.mjs} +11 -11
  91. package/dist/cli/{setup-QIHAXFBL.mjs → setup-FWSJMJWR.mjs} +9 -9
  92. package/dist/cli/{setup-4ERUKDQ5.js → setup-QZ3ZN4RI.js} +44 -44
  93. package/dist/cli/skills-4JXC4C57.js +29 -0
  94. package/dist/cli/{skills-BYNSDIKJ.mjs → skills-RA7HJTXG.mjs} +7 -7
  95. package/dist/cli/{tools-PQSMCIA7.mjs → tools-5VI3FPWV.mjs} +15 -15
  96. package/dist/cli/tools-BGVCWIZ5.js +44 -0
  97. package/dist/cli/update-GPXJHQXJ.js +31 -0
  98. package/dist/cli/{update-BI4E6UXI.mjs → update-O7B44SN5.mjs} +9 -9
  99. package/dist/cli/{workflow-PMRFMZVP.mjs → workflow-3MOKM4IM.mjs} +8 -8
  100. package/dist/cli/{workflow-52P63K65.js → workflow-7W3BTJPH.js} +18 -18
  101. package/dist/{client-Doml68vC.d.mts → client-BCmnJaL9.d.mts} +1 -1
  102. package/dist/{client-9nH8tx4R.d.ts → client-BqQ7Rb11.d.ts} +1 -1
  103. package/dist/{compiler-manifest-CF2qngKr.d.ts → compiler-manifest-CWz_sNOQ.d.mts} +6 -2
  104. package/dist/{compiler-manifest-CF2qngKr.d.mts → compiler-manifest-CWz_sNOQ.d.ts} +6 -2
  105. package/dist/{index-Bq37k0sE.d.ts → index-4NPXDzlD.d.ts} +1 -1
  106. package/dist/{index-DTI-iNw8.d.mts → index-BF2JB_Ug.d.mts} +1 -1
  107. package/dist/index.d.mts +5 -5
  108. package/dist/index.d.ts +5 -5
  109. package/dist/index.js +10 -10
  110. package/dist/index.mjs +6 -6
  111. package/dist/install-integrity.json +96 -96
  112. package/dist/plays/bundle-play-file.d.mts +3 -3
  113. package/dist/plays/bundle-play-file.d.ts +3 -3
  114. package/dist/plays/bundle-play-file.mjs +2 -2
  115. package/dist/plays/csv-data-input.js +3 -3
  116. package/dist/plays/csv-data-input.mjs +2 -2
  117. package/dist/plays/play-description.d.mts +2 -2
  118. package/dist/plays/play-description.d.ts +2 -2
  119. package/dist/plays/run-request.d.mts +2 -2
  120. package/dist/plays/run-request.d.ts +2 -2
  121. package/dist/plays/run-request.js +3 -3
  122. package/dist/plays/run-request.mjs +2 -2
  123. package/dist/release.d.mts +1 -1
  124. package/dist/release.d.ts +1 -1
  125. package/dist/release.js +2 -2
  126. package/dist/release.mjs +1 -1
  127. package/package.json +1 -1
  128. package/dist/cli/auth-LXI5K7V6.js +0 -40
  129. package/dist/cli/git-2BW2UDK6.js +0 -24
  130. package/dist/cli/search-5CFJRSGN.js +0 -30
  131. package/dist/cli/sessions-YX2AJF5I.js +0 -16
  132. package/dist/cli/skills-EOPZVMJS.js +0 -29
  133. package/dist/cli/tools-UEZW4OD7.js +0 -44
  134. package/dist/cli/update-6TOZCQ4Y.js +0 -31
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkR2P756BJjs = require('./chunk-R2P756BJ.js');
7
+ var _chunk27LQEDGOjs = require('./chunk-27LQEDGO.js');
8
8
 
9
9
 
10
- var _chunkM6WSQZHPjs = require('./chunk-M6WSQZHP.js');
10
+ var _chunk2MMUUSBNjs = require('./chunk-2MMUUSBN.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkBBYGXP2Ijs = require('./chunk-BBYGXP2I.js');
14
+ var _chunk3IRJIEIEjs = require('./chunk-3IRJIEIE.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkVXQQZV4Ajs = require('./chunk-VXQQZV4A.js');
18
+ var _chunkHUH6EA5Bjs = require('./chunk-HUH6EA5B.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 = _chunkVXQQZV4Ajs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkHUH6EA5Bjs.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/${_chunkVXQQZV4Ajs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkHUH6EA5Bjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkVXQQZV4Ajs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkVXQQZV4Ajs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkHUH6EA5Bjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkHUH6EA5Bjs.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()]) || _chunkVXQQZV4Ajs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkHUH6EA5Bjs.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") || !_chunkR2P756BJjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkM6WSQZHPjs.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") || !_chunk27LQEDGOjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk2MMUUSBNjs.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()]) || _chunkVXQQZV4Ajs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkHUH6EA5Bjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkR2P756BJjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunk27LQEDGOjs.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()]) || _chunkVXQQZV4Ajs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkHUH6EA5Bjs.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 = _chunkR2P756BJjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunk27LQEDGOjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkR2P756BJjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunk27LQEDGOjs.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 (_chunkBBYGXP2Ijs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunk3IRJIEIEjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkBBYGXP2Ijs.addJsonNotice.call(void 0, {
169
+ _chunk3IRJIEIEjs.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 (!_chunkR2P756BJjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunk27LQEDGOjs.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 _chunkR2P756BJjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunk27LQEDGOjs.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 (!_chunkBBYGXP2Ijs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunk3IRJIEIEjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeeplineError
3
- } from "./chunk-E4IXDAZI.mjs";
3
+ } from "./chunk-HBL4PM5Q.mjs";
4
4
 
5
5
  // node_modules/csv-parse/dist/esm/sync.js
6
6
  var global$1 = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBBYGXP2Ijs = require('./chunk-BBYGXP2I.js');
5
+ var _chunk3IRJIEIEjs = require('./chunk-3IRJIEIE.js');
6
6
 
7
7
 
8
8
 
@@ -25,7 +25,7 @@ var _chunkBBYGXP2Ijs = require('./chunk-BBYGXP2I.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkVXQQZV4Ajs = require('./chunk-VXQQZV4A.js');
28
+ var _chunkHUH6EA5Bjs = require('./chunk-HUH6EA5B.js');
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
 
@@ -52,7 +52,7 @@ function statusBannerLine(value) {
52
52
  return `Service notice: ${banner.message}`;
53
53
  }
54
54
  function envFilePath(baseUrl) {
55
- return _chunkVXQQZV4Ajs.hostEnvFilePath.call(void 0, baseUrl);
55
+ return _chunkHUH6EA5Bjs.hostEnvFilePath.call(void 0, baseUrl);
56
56
  }
57
57
  function normalizeAuthScope(value) {
58
58
  if (!value || value === "global") return "global";
@@ -65,7 +65,7 @@ function parseAuthScope(args) {
65
65
  }
66
66
  function pendingClaimPath(baseUrl, scope) {
67
67
  if (scope === "folder") {
68
- const target = _chunkVXQQZV4Ajs.resolveProjectPinTarget.call(void 0, );
68
+ const target = _chunkHUH6EA5Bjs.resolveProjectPinTarget.call(void 0, );
69
69
  if (!target.ok) {
70
70
  throw new Error(
71
71
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -75,10 +75,10 @@ function pendingClaimPath(baseUrl, scope) {
75
75
  }
76
76
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
77
77
  }
78
- return `${_chunkVXQQZV4Ajs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
78
+ return `${_chunkHUH6EA5Bjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
79
79
  }
80
80
  function legacyPendingClaimTokenPath(baseUrl) {
81
- return `${_chunkVXQQZV4Ajs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
81
+ return `${_chunkHUH6EA5Bjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
82
82
  }
83
83
  function savePendingClaim(baseUrl, claim) {
84
84
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -180,21 +180,21 @@ function parseRegisterWaitMode(args) {
180
180
  function shouldWaitForRegisterClaim(mode) {
181
181
  if (mode === "yes") return true;
182
182
  if (mode === "no") return false;
183
- return _chunkVXQQZV4Ajs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
183
+ return _chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
184
184
  }
185
185
  function saveEnvValues(values, baseUrl, scope) {
186
186
  const filtered = {
187
- ...values[_chunkVXQQZV4Ajs.HOST_URL_ENV] ? { [_chunkVXQQZV4Ajs.HOST_URL_ENV]: values[_chunkVXQQZV4Ajs.HOST_URL_ENV] } : {},
188
- ...values[_chunkVXQQZV4Ajs.API_KEY_ENV] ? { [_chunkVXQQZV4Ajs.API_KEY_ENV]: values[_chunkVXQQZV4Ajs.API_KEY_ENV] } : {},
189
- ...values[_chunkVXQQZV4Ajs.ACTIVE_ORG_ID_ENV] ? { [_chunkVXQQZV4Ajs.ACTIVE_ORG_ID_ENV]: values[_chunkVXQQZV4Ajs.ACTIVE_ORG_ID_ENV] } : {},
190
- ...Object.prototype.hasOwnProperty.call(values, _chunkVXQQZV4Ajs.ACTIVE_ORG_NAME_ENV) ? { [_chunkVXQQZV4Ajs.ACTIVE_ORG_NAME_ENV]: values[_chunkVXQQZV4Ajs.ACTIVE_ORG_NAME_ENV] } : {},
187
+ ...values[_chunkHUH6EA5Bjs.HOST_URL_ENV] ? { [_chunkHUH6EA5Bjs.HOST_URL_ENV]: values[_chunkHUH6EA5Bjs.HOST_URL_ENV] } : {},
188
+ ...values[_chunkHUH6EA5Bjs.API_KEY_ENV] ? { [_chunkHUH6EA5Bjs.API_KEY_ENV]: values[_chunkHUH6EA5Bjs.API_KEY_ENV] } : {},
189
+ ...values[_chunkHUH6EA5Bjs.ACTIVE_ORG_ID_ENV] ? { [_chunkHUH6EA5Bjs.ACTIVE_ORG_ID_ENV]: values[_chunkHUH6EA5Bjs.ACTIVE_ORG_ID_ENV] } : {},
190
+ ...Object.prototype.hasOwnProperty.call(values, _chunkHUH6EA5Bjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkHUH6EA5Bjs.ACTIVE_ORG_NAME_ENV]: values[_chunkHUH6EA5Bjs.ACTIVE_ORG_NAME_ENV] } : {},
191
191
  // An explicit empty list must reach the store: it clears a stale line.
192
- ...Object.prototype.hasOwnProperty.call(values, _chunkVXQQZV4Ajs.FEATURES_ENV) ? { [_chunkVXQQZV4Ajs.FEATURES_ENV]: values[_chunkVXQQZV4Ajs.FEATURES_ENV] } : {}
192
+ ...Object.prototype.hasOwnProperty.call(values, _chunkHUH6EA5Bjs.FEATURES_ENV) ? { [_chunkHUH6EA5Bjs.FEATURES_ENV]: values[_chunkHUH6EA5Bjs.FEATURES_ENV] } : {}
193
193
  };
194
194
  if (scope === "folder") {
195
- _chunkVXQQZV4Ajs.saveProjectDeeplineEnvValues.call(void 0, filtered);
195
+ _chunkHUH6EA5Bjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
196
196
  } else {
197
- _chunkVXQQZV4Ajs.saveHostEnvValues.call(void 0, baseUrl, filtered);
197
+ _chunkHUH6EA5Bjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
198
198
  }
199
199
  }
200
200
  function activeOrgEnvValues(data) {
@@ -202,21 +202,21 @@ function activeOrgEnvValues(data) {
202
202
  if (!orgId) return {};
203
203
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
204
204
  return {
205
- [_chunkVXQQZV4Ajs.ACTIVE_ORG_ID_ENV]: orgId,
206
- [_chunkVXQQZV4Ajs.ACTIVE_ORG_NAME_ENV]: orgName,
207
- ..._chunkVXQQZV4Ajs.featureEnvValues.call(void 0, data)
205
+ [_chunkHUH6EA5Bjs.ACTIVE_ORG_ID_ENV]: orgId,
206
+ [_chunkHUH6EA5Bjs.ACTIVE_ORG_NAME_ENV]: orgName,
207
+ ..._chunkHUH6EA5Bjs.featureEnvValues.call(void 0, data)
208
208
  };
209
209
  }
210
210
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
211
211
  const headers = {
212
212
  "Content-Type": "application/json",
213
- "User-Agent": `deepline-ts-sdk/${_chunkVXQQZV4Ajs.SDK_VERSION}`,
213
+ "User-Agent": `deepline-ts-sdk/${_chunkHUH6EA5Bjs.SDK_VERSION}`,
214
214
  "X-Deepline-Client-Family": "sdk",
215
215
  "X-Deepline-CLI-Family": "sdk",
216
- "X-Deepline-Agent-Runtime": _chunkVXQQZV4Ajs.detectAgentRuntime.call(void 0, ),
217
- "X-Deepline-CLI-Version": _chunkVXQQZV4Ajs.SDK_VERSION,
218
- "X-Deepline-SDK-Version": _chunkVXQQZV4Ajs.SDK_VERSION,
219
- "X-Deepline-API-Contract": _chunkVXQQZV4Ajs.SDK_API_CONTRACT
216
+ "X-Deepline-Agent-Runtime": _chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, ),
217
+ "X-Deepline-CLI-Version": _chunkHUH6EA5Bjs.SDK_VERSION,
218
+ "X-Deepline-SDK-Version": _chunkHUH6EA5Bjs.SDK_VERSION,
219
+ "X-Deepline-API-Contract": _chunkHUH6EA5Bjs.SDK_API_CONTRACT
220
220
  };
221
221
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
222
222
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -262,7 +262,7 @@ async function readStatusBanner(baseUrl) {
262
262
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
263
263
  }
264
264
  async function reportSetupCompleted(input) {
265
- const apiKey = input.authScope === "folder" ? _chunkVXQQZV4Ajs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkVXQQZV4Ajs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
265
+ const apiKey = input.authScope === "folder" ? _chunkHUH6EA5Bjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkHUH6EA5Bjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
266
266
  if (!apiKey) return;
267
267
  try {
268
268
  await httpJson(
@@ -359,7 +359,7 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
359
359
  }
360
360
  }
361
361
  async function handleRegister(args) {
362
- const baseUrl = _chunkVXQQZV4Ajs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
362
+ const baseUrl = _chunkHUH6EA5Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
363
363
  let orgName = "";
364
364
  let orgId = "";
365
365
  let agentName = "";
@@ -414,19 +414,19 @@ async function handleRegister(args) {
414
414
  });
415
415
  saveEnvValues(
416
416
  {
417
- [_chunkVXQQZV4Ajs.HOST_URL_ENV]: baseUrl
417
+ [_chunkHUH6EA5Bjs.HOST_URL_ENV]: baseUrl
418
418
  },
419
419
  baseUrl,
420
420
  authScope
421
421
  );
422
422
  }
423
423
  if (claimUrl) {
424
- const shouldOpen = waitMode !== "no" && _chunkVXQQZV4Ajs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
424
+ const shouldOpen = waitMode !== "no" && _chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
425
425
  console.log(
426
426
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
427
427
  );
428
428
  console.log(` ${claimUrl}`);
429
- if (shouldOpen) _chunkBBYGXP2Ijs.openInBrowser.call(void 0, claimUrl);
429
+ if (shouldOpen) _chunk3IRJIEIEjs.openInBrowser.call(void 0, claimUrl);
430
430
  }
431
431
  if (data.cli_message) {
432
432
  console.log(String(data.cli_message));
@@ -469,8 +469,8 @@ async function handleRegister(args) {
469
469
  if (apiKey) {
470
470
  saveEnvValues(
471
471
  {
472
- [_chunkVXQQZV4Ajs.HOST_URL_ENV]: baseUrl,
473
- [_chunkVXQQZV4Ajs.API_KEY_ENV]: apiKey,
472
+ [_chunkHUH6EA5Bjs.HOST_URL_ENV]: baseUrl,
473
+ [_chunkHUH6EA5Bjs.API_KEY_ENV]: apiKey,
474
474
  ...activeOrgEnvValues(statusData)
475
475
  },
476
476
  baseUrl,
@@ -492,7 +492,7 @@ async function handleRegister(args) {
492
492
  }
493
493
  }
494
494
  async function handleWait(args) {
495
- const baseUrl = _chunkVXQQZV4Ajs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
495
+ const baseUrl = _chunkHUH6EA5Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
496
496
  let timeoutSeconds = 300;
497
497
  let requestedScope;
498
498
  if (args.includes("--auth-scope")) {
@@ -516,7 +516,7 @@ async function handleWait(args) {
516
516
  const authScope = resumed.scope;
517
517
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _12 => _12.claimToken]), () => ( ""));
518
518
  if (!pendingClaim) {
519
- const scopedApiKey = authScope === "folder" ? _chunkVXQQZV4Ajs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkVXQQZV4Ajs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
519
+ const scopedApiKey = authScope === "folder" ? _chunkHUH6EA5Bjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkHUH6EA5Bjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
520
520
  if (scopedApiKey) {
521
521
  console.log("Already connected.");
522
522
  return EXIT_OK;
@@ -559,8 +559,8 @@ async function handleWait(args) {
559
559
  if (apiKey) {
560
560
  saveEnvValues(
561
561
  {
562
- [_chunkVXQQZV4Ajs.HOST_URL_ENV]: baseUrl,
563
- [_chunkVXQQZV4Ajs.API_KEY_ENV]: apiKey,
562
+ [_chunkHUH6EA5Bjs.HOST_URL_ENV]: baseUrl,
563
+ [_chunkHUH6EA5Bjs.API_KEY_ENV]: apiKey,
564
564
  ...activeOrgEnvValues(data)
565
565
  },
566
566
  baseUrl,
@@ -584,8 +584,8 @@ async function handleWait(args) {
584
584
  return EXIT_AUTH;
585
585
  }
586
586
  async function authStatusLine(timeoutMs = 3e3) {
587
- const baseUrl = _chunkVXQQZV4Ajs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
588
- const apiKey = _chunkVXQQZV4Ajs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
587
+ const baseUrl = _chunkHUH6EA5Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
588
+ const apiKey = _chunkHUH6EA5Bjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
589
589
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
590
590
  try {
591
591
  const { status, data } = await httpJson(
@@ -608,9 +608,9 @@ async function authStatusLine(timeoutMs = 3e3) {
608
608
  }
609
609
  }
610
610
  async function handleStatus(args) {
611
- const baseUrl = _chunkVXQQZV4Ajs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
611
+ const baseUrl = _chunkHUH6EA5Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
612
612
  const reveal = args.includes("--reveal");
613
- const jsonOutput = _chunkBBYGXP2Ijs.argsWantJson.call(void 0, args);
613
+ const jsonOutput = _chunk3IRJIEIEjs.argsWantJson.call(void 0, args);
614
614
  const hasExplicitAuthScope = args.includes("--auth-scope");
615
615
  let authScope = null;
616
616
  if (hasExplicitAuthScope) {
@@ -651,14 +651,14 @@ async function handleStatus(args) {
651
651
  };
652
652
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
653
653
  }
654
- const apiKey = authScope === "folder" ? _chunkVXQQZV4Ajs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkVXQQZV4Ajs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkVXQQZV4Ajs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
654
+ const apiKey = authScope === "folder" ? _chunkHUH6EA5Bjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkHUH6EA5Bjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkHUH6EA5Bjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
655
655
  if (!apiKey) {
656
656
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
657
657
  baseUrl,
658
658
  _nullishCoalesce(authScope, () => ( void 0))
659
659
  );
660
660
  if (pendingClaim) {
661
- _chunkBBYGXP2Ijs.printCommandEnvelope.call(void 0,
661
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
662
662
  {
663
663
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
664
664
  status: "pending",
@@ -679,7 +679,7 @@ async function handleStatus(args) {
679
679
  );
680
680
  return EXIT_OK;
681
681
  }
682
- _chunkBBYGXP2Ijs.printCommandEnvelope.call(void 0,
682
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
683
683
  {
684
684
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
685
685
  status: "not connected",
@@ -712,7 +712,7 @@ async function handleStatus(args) {
712
712
  }
713
713
  );
714
714
  if (status === 401 || status === 403) {
715
- _chunkBBYGXP2Ijs.printCommandEnvelope.call(void 0,
715
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
716
716
  {
717
717
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
718
718
  status: "unauthorized",
@@ -739,7 +739,7 @@ async function handleStatus(args) {
739
739
  console.error(`Auth status error (status ${status}).`);
740
740
  return EXIT_SERVER;
741
741
  }
742
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkVXQQZV4Ajs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
742
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkHUH6EA5Bjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
743
743
  clearSatisfiedPendingClaim(
744
744
  baseUrl,
745
745
  resolvedAuthScope,
@@ -767,28 +767,28 @@ async function handleStatus(args) {
767
767
  if (apiKeyResp) {
768
768
  saveEnvValues(
769
769
  {
770
- [_chunkVXQQZV4Ajs.HOST_URL_ENV]: baseUrl,
771
- [_chunkVXQQZV4Ajs.API_KEY_ENV]: apiKeyResp,
770
+ [_chunkHUH6EA5Bjs.HOST_URL_ENV]: baseUrl,
771
+ [_chunkHUH6EA5Bjs.API_KEY_ENV]: apiKeyResp,
772
772
  ...activeOrgEnvValues(data)
773
773
  },
774
774
  baseUrl,
775
775
  resolvedAuthScope
776
776
  );
777
777
  if (resolvedAuthScope === "folder") {
778
- const target = _chunkVXQQZV4Ajs.resolveProjectPinTarget.call(void 0, );
778
+ const target = _chunkHUH6EA5Bjs.resolveProjectPinTarget.call(void 0, );
779
779
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
780
780
  } else {
781
781
  savedApiKeyPath = envFilePath(baseUrl);
782
782
  }
783
783
  }
784
- } else if (resolvedAuthScope === "folder" || _chunkVXQQZV4Ajs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
785
- saveEnvValues(_chunkVXQQZV4Ajs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
784
+ } else if (resolvedAuthScope === "folder" || _chunkHUH6EA5Bjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
785
+ saveEnvValues(_chunkHUH6EA5Bjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
786
786
  }
787
- _chunkBBYGXP2Ijs.printCommandEnvelope.call(void 0,
787
+ _chunk3IRJIEIEjs.printCommandEnvelope.call(void 0,
788
788
  {
789
789
  ...payload,
790
- ..._chunkVXQQZV4Ajs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
791
- command_context: _chunkVXQQZV4Ajs.resolveCliCommandContext.call(void 0,
790
+ ..._chunkHUH6EA5Bjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
791
+ command_context: _chunkHUH6EA5Bjs.resolveCliCommandContext.call(void 0,
792
792
  { baseUrl, apiKey },
793
793
  resolvedAuthScope
794
794
  )
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-PCNOULRB.mjs";
6
+ } from "./chunk-55GDG7QJ.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-K23LXA4N.mjs";
10
+ } from "./chunk-FOLT3LUQ.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-XL4FJX7J.mjs";
14
+ } from "./chunk-PPJ4PF6F.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -3,7 +3,7 @@ import {
3
3
  ConfigError,
4
4
  RateLimitError,
5
5
  ToolRateLimitError
6
- } from "./chunk-MAMVGOSC.mjs";
6
+ } from "./chunk-4QF2K7TM.mjs";
7
7
  import {
8
8
  apiErrorCodeFromResponse,
9
9
  apiErrorMessage
@@ -14,10 +14,10 @@ import {
14
14
  ToolExecutionError,
15
15
  deserializeToolExecutionFailure,
16
16
  serializeToolExecutionFailure
17
- } from "./chunk-E4IXDAZI.mjs";
17
+ } from "./chunk-HBL4PM5Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-NIR2UK5V.mjs";
20
+ } from "./chunk-LB5TQPKK.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-K23LXA4N.mjs";
3
+ } from "./chunk-FOLT3LUQ.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -17,13 +17,13 @@ import {
17
17
  sdkCliStateDirPath,
18
18
  skillsAgentPathSegment,
19
19
  writeSdkSkillsLocalVersion
20
- } from "./chunk-XL4FJX7J.mjs";
20
+ } from "./chunk-PPJ4PF6F.mjs";
21
21
  import {
22
22
  DeeplineError
23
- } from "./chunk-E4IXDAZI.mjs";
23
+ } from "./chunk-HBL4PM5Q.mjs";
24
24
  import {
25
25
  SDK_RELEASE
26
- } from "./chunk-NIR2UK5V.mjs";
26
+ } from "./chunk-LB5TQPKK.mjs";
27
27
 
28
28
  // src/compat.ts
29
29
  import { randomUUID } from "crypto";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-MLJBCS3E.mjs";
17
17
  import {
18
18
  DeeplineError
19
- } from "./chunk-E4IXDAZI.mjs";
19
+ } from "./chunk-HBL4PM5Q.mjs";
20
20
 
21
21
  // src/cli/tool-features.ts
22
22
  var VIEWS = {
@@ -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.440",
52
+ version: "0.3.441",
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."