deepline 0.3.507 → 0.3.508

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 (126) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-admission-codes.ts +11 -0
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
  8. package/dist/cli/{auth-BNP3M27C.mjs → auth-2URIN52G.mjs} +5 -5
  9. package/dist/cli/auth-LFU77QDI.js +43 -0
  10. package/dist/cli/{billing-JKJ2AEZ6.mjs → billing-IW23GSR5.mjs} +6 -6
  11. package/dist/cli/{billing-7HIVX4YJ.js → billing-R2HY2ZVJ.js} +79 -79
  12. package/dist/cli/{chunk-YAAJHS6W.mjs → chunk-2LY42EZJ.mjs} +1 -1
  13. package/dist/cli/{chunk-WQAHMVBT.mjs → chunk-2PYFXXYA.mjs} +2 -2
  14. package/dist/cli/{chunk-MQRT5NYP.js → chunk-2YOM5J3G.js} +26 -26
  15. package/dist/cli/{chunk-56SRWY5F.js → chunk-3BZ74K27.js} +16 -16
  16. package/dist/cli/{chunk-GMRWVXU2.mjs → chunk-3C6VBHNW.mjs} +2 -2
  17. package/dist/cli/{chunk-D2T4W5LR.mjs → chunk-3XBI4KZM.mjs} +2 -2
  18. package/dist/cli/{chunk-E5HGDYU3.js → chunk-3ZNPIJX6.js} +41 -41
  19. package/dist/cli/{chunk-EEJLV77L.mjs → chunk-4DAR2GYV.mjs} +2 -2
  20. package/dist/cli/{chunk-REFT4DMJ.js → chunk-63BGKU3A.js} +96 -96
  21. package/dist/cli/{chunk-LSONU2E2.mjs → chunk-63MCLOR2.mjs} +6 -6
  22. package/dist/cli/{chunk-5PXGAA2M.js → chunk-74UO7THC.js} +4 -4
  23. package/dist/cli/{chunk-ILUZ7IHP.js → chunk-7PELFO3C.js} +21 -21
  24. package/dist/cli/{chunk-E7YIIEZU.js → chunk-AYNO4VFW.js} +11 -11
  25. package/dist/cli/{chunk-TVR4R2E6.mjs → chunk-C6TP4DR3.mjs} +1 -1
  26. package/dist/cli/{chunk-V2K34NAO.js → chunk-D73YB5NQ.js} +2 -2
  27. package/dist/cli/{chunk-H6PABDS4.mjs → chunk-DWV7KM6H.mjs} +10 -10
  28. package/dist/cli/{chunk-H334EFON.mjs → chunk-DZ7JCRAL.mjs} +2 -2
  29. package/dist/cli/{chunk-JPN6OBPW.js → chunk-ESVK4Z7S.js} +1 -1
  30. package/dist/cli/{chunk-IWZRQ6YW.mjs → chunk-FRT5MFLF.mjs} +1 -1
  31. package/dist/cli/{chunk-MN5HO2PN.js → chunk-FXKKFM7J.js} +9 -9
  32. package/dist/cli/{chunk-JCE2JNGD.mjs → chunk-GRGZKXLL.mjs} +5 -5
  33. package/dist/cli/{chunk-5I2XKXLS.mjs → chunk-IF242BIJ.mjs} +5 -5
  34. package/dist/cli/{chunk-3D5ZNYYI.js → chunk-IZZ7FFWP.js} +44 -44
  35. package/dist/cli/{chunk-TZ7APOBM.js → chunk-J3LJ37WD.js} +3 -3
  36. package/dist/cli/{chunk-IBKWVFWP.mjs → chunk-JEB6BNIU.mjs} +2 -2
  37. package/dist/cli/{chunk-OBATCFZO.js → chunk-JRHMPZJX.js} +7 -7
  38. package/dist/cli/{chunk-6AQO5OJ5.js → chunk-JUYW6TSU.js} +7 -7
  39. package/dist/cli/{chunk-7TZA6LJI.mjs → chunk-JXYVBF5L.mjs} +5 -5
  40. package/dist/cli/{chunk-QWRSWQ7Z.js → chunk-JYNHHO3J.js} +6 -6
  41. package/dist/cli/{chunk-T6FUNWXX.mjs → chunk-K4RME7AV.mjs} +1 -1
  42. package/dist/cli/{chunk-XKGNEN4P.mjs → chunk-KSQO32L5.mjs} +1 -1
  43. package/dist/cli/{chunk-2ZINJVWW.js → chunk-M37I4A2Z.js} +16 -16
  44. package/dist/cli/{chunk-V4GGTOCX.js → chunk-N5HRBS4K.js} +3 -3
  45. package/dist/cli/{chunk-5A66OJZD.mjs → chunk-NC2FIUPX.mjs} +1 -1
  46. package/dist/cli/{chunk-NJRJGXVF.mjs → chunk-OWH7SSBO.mjs} +2 -2
  47. package/dist/cli/{chunk-RFJANXCC.js → chunk-P7GOQTUN.js} +14 -14
  48. package/dist/cli/{chunk-RTLWYERT.mjs → chunk-Q4I5YKN4.mjs} +1 -1
  49. package/dist/cli/{chunk-EYZJDHXA.mjs → chunk-QBZECLNG.mjs} +3 -3
  50. package/dist/cli/{chunk-WOPWSAGS.js → chunk-R4S2AK3Q.js} +53 -53
  51. package/dist/cli/{chunk-OPEJASMJ.mjs → chunk-RNZQ7RDW.mjs} +2 -2
  52. package/dist/cli/{chunk-HPZONIDF.js → chunk-RUD77W2Y.js} +5 -5
  53. package/dist/cli/{chunk-AXYLMDU3.js → chunk-RWXHMG6F.js} +8 -8
  54. package/dist/cli/{chunk-WTY2R4R3.js → chunk-TVADI7K5.js} +5 -5
  55. package/dist/cli/{chunk-2OKEMB5A.mjs → chunk-UDH3YMBI.mjs} +1 -1
  56. package/dist/cli/{chunk-VQLD5M43.mjs → chunk-VXNL4HLE.mjs} +5 -5
  57. package/dist/cli/{chunk-VGEBRTHF.mjs → chunk-XSOLA2ED.mjs} +4 -4
  58. package/dist/cli/{chunk-76R5I7HR.js → chunk-ZL2ME3UT.js} +6 -6
  59. package/dist/cli/{chunk-ZCNGMQVD.js → chunk-ZLIAUR2E.js} +2 -2
  60. package/dist/cli/{csv-LZTQOPP2.mjs → csv-CMJSMC2I.mjs} +4 -4
  61. package/dist/cli/{csv-WYJVU5HV.js → csv-DPDO6BU6.js} +13 -13
  62. package/dist/cli/{db-UCUXPY7S.js → db-PPPKNTT5.js} +27 -27
  63. package/dist/cli/{db-D6XFOQP3.mjs → db-SL3EFN6V.mjs} +6 -6
  64. package/dist/cli/describe-JKZ67X3E.js +50 -0
  65. package/dist/cli/{describe-HKL2XK67.mjs → describe-XLN33FJX.mjs} +18 -18
  66. package/dist/cli/{executions-5CF5NM7V.js → executions-6YDTV2J6.js} +8 -8
  67. package/dist/cli/{executions-AFHYXH73.mjs → executions-O6Z5B5NY.mjs} +6 -6
  68. package/dist/cli/{feedback-GJAX3JZE.js → feedback-BZ434BN4.js} +8 -8
  69. package/dist/cli/{feedback-MLKQ572F.mjs → feedback-DP7LPWAD.mjs} +4 -4
  70. package/dist/cli/{git-BMLROZOU.mjs → git-MI7E5WGL.mjs} +5 -5
  71. package/dist/cli/git-U5N6CTML.js +25 -0
  72. package/dist/cli/index.js +138 -138
  73. package/dist/cli/index.mjs +41 -41
  74. package/dist/cli/{legacy-noops-FHRDF7MC.js → legacy-noops-65WNPQVZ.js} +8 -8
  75. package/dist/cli/{legacy-noops-Y7JSQVLQ.mjs → legacy-noops-6VYXF2MG.mjs} +5 -5
  76. package/dist/cli/{monitors-Z6RPIQIH.js → monitors-BYUCTVSC.js} +100 -100
  77. package/dist/cli/{monitors-ZEVK3UD7.mjs → monitors-Y7I5ZVCN.mjs} +7 -7
  78. package/dist/cli/{org-TXJ3RES5.js → org-F2ASWTFY.js} +72 -72
  79. package/dist/cli/{org-PFLVANIN.mjs → org-IW3YD6JZ.mjs} +6 -6
  80. package/dist/cli/{pages-BKEMQ2J7.mjs → pages-H2CXNIDB.mjs} +6 -6
  81. package/dist/cli/{pages-ESKKBK5Y.js → pages-X6HLRQNV.js} +18 -18
  82. package/dist/cli/{play-AAFOZJKQ.js → play-H2EM7DTI.js} +317 -317
  83. package/dist/cli/{play-4Z6Z7KVY.mjs → play-LLEEDXRX.mjs} +18 -18
  84. package/dist/cli/{providers-WEU4UNKY.js → providers-6R2SPOEV.js} +9 -9
  85. package/dist/cli/{providers-KYP2UWDV.mjs → providers-BZR5JONN.mjs} +6 -6
  86. package/dist/cli/{quickstart-7EUDF4IL.mjs → quickstart-KVES7R6D.mjs} +4 -4
  87. package/dist/cli/{quickstart-DXYZCOJY.js → quickstart-PW7ONQUH.js} +6 -6
  88. package/dist/cli/{run-3YN6P26W.js → run-HVUQROBE.js} +41 -41
  89. package/dist/cli/{run-MB2R5PQ7.mjs → run-RDI3Q6GO.mjs} +23 -23
  90. package/dist/cli/{search-MIFBESRE.mjs → search-3TJ24CUF.mjs} +8 -8
  91. package/dist/cli/search-NKEEGLY6.js +33 -0
  92. package/dist/cli/{search-output-NUWL47SR.js → search-output-JHT553SL.js} +6 -6
  93. package/dist/cli/{search-output-2IR3UA4W.mjs → search-output-Y57OBQXX.mjs} +4 -4
  94. package/dist/cli/{secrets-E6WIYONW.mjs → secrets-OZK7GRD5.mjs} +6 -6
  95. package/dist/cli/{secrets-6UT6BIDJ.js → secrets-U5JHWAXU.js} +15 -15
  96. package/dist/cli/{sessions-AP7L6YCL.mjs → sessions-D6DSEQ2T.mjs} +5 -5
  97. package/dist/cli/{sessions-NF2RBXMJ.js → sessions-PNMYAJNB.js} +6 -6
  98. package/dist/cli/{settings-FZWXYP4W.js → settings-DLPEHYGS.js} +82 -82
  99. package/dist/cli/{settings-MMLHJ5E5.mjs → settings-ITLSLT2R.mjs} +12 -12
  100. package/dist/cli/{setup-WJNN2CZZ.mjs → setup-XTYLF2CF.mjs} +10 -10
  101. package/dist/cli/{setup-YHXAAJNZ.js → setup-Y5ZYEC6U.js} +50 -50
  102. package/dist/cli/{skills-KXZ5PJU2.mjs → skills-C4WCAVII.mjs} +8 -8
  103. package/dist/cli/skills-K6FVG3BX.js +37 -0
  104. package/dist/cli/tools-LSALTN7I.js +57 -0
  105. package/dist/cli/{tools-K6S7RX7B.mjs → tools-ZESAPVOW.mjs} +17 -17
  106. package/dist/cli/{update-2SFWEVM6.mjs → update-4PCKVDCS.mjs} +10 -10
  107. package/dist/cli/update-P5KGNFNL.js +35 -0
  108. package/dist/cli/{workflow-IR3RCVHZ.mjs → workflow-42CL4TVR.mjs} +7 -7
  109. package/dist/cli/{workflow-SM3Q45X5.js → workflow-XXKXMPTI.js} +17 -17
  110. package/dist/index.js +9 -9
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +101 -100
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/dist/server.js +5 -5
  118. package/dist/server.mjs +3 -3
  119. package/package.json +1 -1
  120. package/dist/cli/auth-6PJ4G5PC.js +0 -43
  121. package/dist/cli/describe-XS4OIASD.js +0 -50
  122. package/dist/cli/git-RIXUHRDL.js +0 -25
  123. package/dist/cli/search-Z7GUKVFE.js +0 -33
  124. package/dist/cli/skills-4YYUFNMS.js +0 -37
  125. package/dist/cli/tools-OCYEMMUP.js +0 -57
  126. package/dist/cli/update-WQIPUQ4K.js +0 -35
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-H6PABDS4.mjs";
3
+ } from "./chunk-DWV7KM6H.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-TVR4R2E6.mjs";
6
+ } from "./chunk-C6TP4DR3.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-NJRJGXVF.mjs";
17
+ } from "./chunk-OWH7SSBO.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-D2T4W5LR.mjs";
21
+ } from "./chunk-3XBI4KZM.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-H334EFON.mjs";
24
+ } from "./chunk-DZ7JCRAL.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-IWZRQ6YW.mjs";
28
+ } from "./chunk-FRT5MFLF.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkJPN6OBPWjs = require('./chunk-JPN6OBPW.js');
19
+ var _chunkESVK4Z7Sjs = require('./chunk-ESVK4Z7S.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkJPN6OBPWjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkJPN6OBPWjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkJPN6OBPWjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkESVK4Z7Sjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkESVK4Z7Sjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkESVK4Z7Sjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk2ZINJVWWjs = require('./chunk-2ZINJVWW.js');
7
+ var _chunkM37I4A2Zjs = require('./chunk-M37I4A2Z.js');
8
8
 
9
9
 
10
- var _chunk3D5ZNYYIjs = require('./chunk-3D5ZNYYI.js');
10
+ var _chunkIZZ7FFWPjs = require('./chunk-IZZ7FFWP.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
14
+ var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
15
15
 
16
16
 
17
- var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
17
+ var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
18
18
 
19
19
 
20
- var _chunk5PXGAA2Mjs = require('./chunk-5PXGAA2M.js');
20
+ var _chunk74UO7THCjs = require('./chunk-74UO7THC.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 = _chunkTZ7APOBMjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkJ3LJ37WDjs.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/${_chunk5PXGAA2Mjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunk74UO7THCjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunk5PXGAA2Mjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunk5PXGAA2Mjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunk74UO7THCjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunk74UO7THCjs.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()]) || _chunk5PXGAA2Mjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk74UO7THCjs.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") || !_chunk2ZINJVWWjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk3D5ZNYYIjs.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") || !_chunkM37I4A2Zjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkIZZ7FFWPjs.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()]) || _chunk5PXGAA2Mjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk74UO7THCjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunk2ZINJVWWjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkM37I4A2Zjs.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()]) || _chunk5PXGAA2Mjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk74UO7THCjs.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 = _chunk2ZINJVWWjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkM37I4A2Zjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunk2ZINJVWWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkM37I4A2Zjs.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 (_chunk6AQO5OJ5js.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunk6AQO5OJ5js.addJsonNotice.call(void 0, {
171
+ _chunkJUYW6TSUjs.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 (!_chunk2ZINJVWWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkM37I4A2Zjs.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 _chunk2ZINJVWWjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkM37I4A2Zjs.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 (!_chunk6AQO5OJ5js.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkJUYW6TSUjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkWTY2R4R3js = require('./chunk-WTY2R4R3.js');
6
+ var _chunkTVADI7K5js = require('./chunk-TVADI7K5.js');
7
7
 
8
8
 
9
- var _chunkRFJANXCCjs = require('./chunk-RFJANXCC.js');
9
+ var _chunkP7GOQTUNjs = require('./chunk-P7GOQTUN.js');
10
10
 
11
11
 
12
12
 
13
- var _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
13
+ var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkTZ7APOBMjs = require('./chunk-TZ7APOBM.js');
17
+ var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkTZ7APOBMjs.sdkCliStateDirPath.call(void 0, _chunkTZ7APOBMjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkJ3LJ37WDjs.sdkCliStateDirPath.call(void 0, _chunkJ3LJ37WDjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunkWTY2R4R3js.DeeplineClient)();
137
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-NUWL47SR.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-JHT553SL.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunk6AQO5OJ5js.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkRFJANXCCjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunkJUYW6TSUjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkP7GOQTUNjs.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunk6AQO5OJ5js.printCommandEnvelope.call(void 0,
189
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-H334EFON.mjs";
11
+ } from "./chunk-DZ7JCRAL.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -1,6 +1,6 @@
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
- var _chunk3D5ZNYYIjs = require('./chunk-3D5ZNYYI.js');
3
+ var _chunkIZZ7FFWPjs = require('./chunk-IZZ7FFWP.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunk3D5ZNYYIjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkIZZ7FFWPjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-TVR4R2E6.mjs";
5
+ } from "./chunk-C6TP4DR3.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-7TZA6LJI.mjs";
9
+ } from "./chunk-JXYVBF5L.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-NJRJGXVF.mjs";
49
+ } from "./chunk-OWH7SSBO.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-RTLWYERT.mjs";
52
+ } from "./chunk-Q4I5YKN4.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-5I2XKXLS.mjs";
62
+ } from "./chunk-IF242BIJ.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-2OKEMB5A.mjs";
67
+ } from "./chunk-UDH3YMBI.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-JCE2JNGD.mjs";
73
+ } from "./chunk-GRGZKXLL.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-H334EFON.mjs";
81
+ } from "./chunk-DZ7JCRAL.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-IWZRQ6YW.mjs";
86
+ } from "./chunk-FRT5MFLF.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-HKL2XK67.mjs");
1056
+ const { describeAnything } = await import("./describe-XLN33FJX.mjs");
1057
1057
  process.exitCode = await describeAnything(
1058
1058
  toolId,
1059
1059
  {
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-IWZRQ6YW.mjs";
5
+ } from "./chunk-FRT5MFLF.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-YAAJHS6W.mjs";
8
+ } from "./chunk-2LY42EZJ.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -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.507",
52
+ version: "0.3.508",
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,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-YAAJHS6W.mjs";
4
+ } from "./chunk-2LY42EZJ.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkOBATCFZOjs = require('./chunk-OBATCFZO.js');
6
+ var _chunkJRHMPZJXjs = require('./chunk-JRHMPZJX.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 _chunk6AQO5OJ5js = require('./chunk-6AQO5OJ5.js');
14
+ var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.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 = _chunk6AQO5OJ5js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkJUYW6TSUjs.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 ? _chunk6AQO5OJ5js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk6AQO5OJ5js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkJUYW6TSUjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkJUYW6TSUjs.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 = _chunkOBATCFZOjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkJRHMPZJXjs.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 : _chunkOBATCFZOjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkJRHMPZJXjs.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 : _chunk6AQO5OJ5js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunk6AQO5OJ5js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkJUYW6TSUjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkJUYW6TSUjs.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 || _chunk6AQO5OJ5js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkJUYW6TSUjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-5A66OJZD.mjs";
3
+ } from "./chunk-NC2FIUPX.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-D2T4W5LR.mjs";
6
+ } from "./chunk-3XBI4KZM.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-IWZRQ6YW.mjs";
17
+ } from "./chunk-FRT5MFLF.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-YAAJHS6W.mjs";
24
+ } from "./chunk-2LY42EZJ.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-XKGNEN4P.mjs";
27
+ } from "./chunk-KSQO32L5.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-VQLD5M43.mjs";
7
+ } from "./chunk-VXNL4HLE.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-JCE2JNGD.mjs";
10
+ } from "./chunk-GRGZKXLL.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-H334EFON.mjs";
14
+ } from "./chunk-DZ7JCRAL.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-IWZRQ6YW.mjs";
17
+ } from "./chunk-FRT5MFLF.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-YAAJHS6W.mjs";
20
+ } from "./chunk-2LY42EZJ.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();