deepline 0.3.419 → 0.3.421

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 (102) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/quickstart-prompts.ts +13 -16
  3. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +20 -30
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  5. package/dist/cli/{auth-S4XGFFWB.mjs → auth-56JTC4Q7.mjs} +4 -4
  6. package/dist/cli/auth-ZQMAF7W5.js +40 -0
  7. package/dist/cli/{billing-WQMBRCK3.js → billing-C5LR6FA7.js} +73 -73
  8. package/dist/cli/{billing-3MM7VKKA.mjs → billing-ZXOOZEUW.mjs} +4 -4
  9. package/dist/cli/{chunk-WHXZGCKE.js → chunk-2WOVAVJ3.js} +26 -26
  10. package/dist/cli/{chunk-GEHD7ZHY.js → chunk-2XKDLS5P.js} +6 -6
  11. package/dist/cli/{chunk-5R3CAKPM.js → chunk-4I26IVFC.js} +35 -35
  12. package/dist/cli/{chunk-LB7PZRYJ.mjs → chunk-4NS4EZHN.mjs} +2 -2
  13. package/dist/cli/{chunk-2ADW356Z.mjs → chunk-5E55HHW3.mjs} +4 -4
  14. package/dist/cli/{chunk-BQIUAAPX.mjs → chunk-5F6W5NWV.mjs} +5 -5
  15. package/dist/cli/{chunk-NJI4U7IR.js → chunk-5KYK4DGY.js} +8 -8
  16. package/dist/cli/{chunk-2MQXRENZ.js → chunk-6UKY4LBW.js} +20 -20
  17. package/dist/cli/{chunk-2Y2RQZRO.js → chunk-7SRVIWGT.js} +1 -1
  18. package/dist/cli/{chunk-3NUJRZN5.mjs → chunk-7TSF7E3B.mjs} +2 -2
  19. package/dist/cli/{chunk-ZCINJS4P.mjs → chunk-AZGJNNNE.mjs} +2 -2
  20. package/dist/cli/{chunk-VZSBJVI4.js → chunk-C25ZYL6U.js} +4 -4
  21. package/dist/cli/{chunk-LFSHGNT2.mjs → chunk-CTNA5QY2.mjs} +7 -6
  22. package/dist/cli/{chunk-IK3XE6GT.mjs → chunk-EKQH4IUU.mjs} +1 -1
  23. package/dist/cli/{chunk-PGHT4ESO.mjs → chunk-F4V4JJED.mjs} +3 -3
  24. package/dist/cli/{chunk-EP5EVGFD.js → chunk-FB5H5OOH.js} +10 -10
  25. package/dist/cli/{chunk-JUBHX5FK.js → chunk-GIJ47TAV.js} +6 -6
  26. package/dist/cli/{chunk-THGNECIR.js → chunk-HP5FD2LI.js} +8 -8
  27. package/dist/cli/{chunk-CKAQIJTU.js → chunk-JJQLBZEW.js} +2 -2
  28. package/dist/cli/{chunk-D4P53G7A.js → chunk-NSJRLP7R.js} +16 -16
  29. package/dist/cli/{chunk-5MLCBXXU.js → chunk-PKBPSMOT.js} +7 -6
  30. package/dist/cli/{chunk-PR5T2MON.js → chunk-QJV2ALPN.js} +2 -2
  31. package/dist/cli/{chunk-6LLEMZL5.mjs → chunk-RJLFCJ23.mjs} +3 -3
  32. package/dist/cli/{chunk-OVMJ57X5.mjs → chunk-RURYN2BE.mjs} +25 -57
  33. package/dist/cli/{chunk-7IXS77PX.mjs → chunk-SPLOMS4N.mjs} +1 -1
  34. package/dist/cli/{chunk-MUVGAGXH.mjs → chunk-UCI4QROZ.mjs} +1 -1
  35. package/dist/cli/{chunk-EPMYNLKZ.mjs → chunk-VC3E5HFO.mjs} +1 -1
  36. package/dist/cli/{chunk-LA7V3VIF.js → chunk-VEYAPBS4.js} +96 -128
  37. package/dist/cli/{chunk-KABBXKFO.mjs → chunk-VYLZS7X4.mjs} +1 -1
  38. package/dist/cli/{chunk-NPXUFHMI.js → chunk-WR4M5VWK.js} +52 -52
  39. package/dist/cli/{chunk-TLGTZ2XN.mjs → chunk-ZLPT2RZ5.mjs} +2 -2
  40. package/dist/cli/{chunk-JKDMQDJD.mjs → chunk-ZOL3CIKN.mjs} +3 -3
  41. package/dist/cli/{chunk-LIZP3TPY.mjs → chunk-ZSVWCV3G.mjs} +1 -1
  42. package/dist/cli/{chunk-WPJBDOVV.js → chunk-ZZBXD5VX.js} +50 -50
  43. package/dist/cli/command-docs.js +2 -2
  44. package/dist/cli/command-docs.mjs +1 -1
  45. package/dist/cli/{csv-JKBKQMJS.mjs → csv-EJ4QRLA2.mjs} +3 -3
  46. package/dist/cli/{csv-SILKSRLY.js → csv-G6H3U4XV.js} +12 -12
  47. package/dist/cli/{db-Y67OZBKB.mjs → db-PBIIALJ5.mjs} +4 -4
  48. package/dist/cli/{db-HUOYJZ2S.js → db-WKQFXUWI.js} +25 -25
  49. package/dist/cli/{describe-7PO235KZ.mjs → describe-DMRK4UNO.mjs} +12 -12
  50. package/dist/cli/{describe-RN25ACS6.js → describe-ZCU36ES2.js} +16 -16
  51. package/dist/cli/{executions-RNAT43OA.mjs → executions-JAHW6GMA.mjs} +4 -4
  52. package/dist/cli/{executions-4NQOE73P.js → executions-SBA3UYMH.js} +6 -6
  53. package/dist/cli/{feedback-WCPPBNAK.mjs → feedback-PKBUYHMD.mjs} +3 -3
  54. package/dist/cli/{feedback-QW2H7PZ7.js → feedback-QAE4V2NY.js} +7 -7
  55. package/dist/cli/git-54INNT33.js +24 -0
  56. package/dist/cli/{git-GLIWIFE3.mjs → git-GAO3SJAQ.mjs} +4 -4
  57. package/dist/cli/index.js +135 -135
  58. package/dist/cli/index.mjs +37 -37
  59. package/dist/cli/{legacy-noops-ADDQUU26.mjs → legacy-noops-5PY2ZZF3.mjs} +4 -4
  60. package/dist/cli/{legacy-noops-HUWR7BMO.js → legacy-noops-JCMVW5BL.js} +7 -7
  61. package/dist/cli/{monitors-ZR5BRAFH.mjs → monitors-GVYAZRMB.mjs} +4 -4
  62. package/dist/cli/{monitors-TBY3OEWL.js → monitors-YPS4LPDG.js} +84 -84
  63. package/dist/cli/{org-4JCEJFF4.js → org-OBVAU6K7.js} +64 -64
  64. package/dist/cli/{org-UBJ2J7I3.mjs → org-R7AKPKUB.mjs} +4 -4
  65. package/dist/cli/{play-WD5JVYPK.mjs → play-3LFM2SV2.mjs} +10 -10
  66. package/dist/cli/{play-X3ULEXAW.js → play-MTHQQHR6.js} +283 -283
  67. package/dist/cli/{providers-FPUQNBZT.js → providers-CTIROUI3.js} +7 -7
  68. package/dist/cli/{providers-5FHAFCKF.mjs → providers-IRICPDKU.mjs} +4 -4
  69. package/dist/cli/{quickstart-XFQSAVDZ.mjs → quickstart-5FBQVZ5B.mjs} +3 -3
  70. package/dist/cli/{quickstart-ARNCLYA5.js → quickstart-OZDVFNF2.js} +5 -5
  71. package/dist/cli/{search-GPFQ7DVB.mjs → search-FYM47QFU.mjs} +5 -5
  72. package/dist/cli/search-XIKHDZJ3.js +30 -0
  73. package/dist/cli/{secrets-X4SI4ODH.js → secrets-43GJUDAE.js} +13 -13
  74. package/dist/cli/{secrets-T4DP2OUW.mjs → secrets-ENBXU3O3.mjs} +4 -4
  75. package/dist/cli/{sessions-S374MOV3.mjs → sessions-7IQJOH5Z.mjs} +4 -4
  76. package/dist/cli/{sessions-CMRGH7VP.js → sessions-RXX5IHG6.js} +5 -5
  77. package/dist/cli/{settings-RGXD3IYO.mjs → settings-EZGDTS3K.mjs} +8 -8
  78. package/dist/cli/{settings-IWEDBHC4.js → settings-Z2CWWV7P.js} +75 -75
  79. package/dist/cli/{setup-PQHKVOYA.js → setup-2ON3TUXP.js} +42 -42
  80. package/dist/cli/{setup-N6UOP274.mjs → setup-N5UMUBBV.mjs} +7 -7
  81. package/dist/cli/skills-2WIHNEOS.js +29 -0
  82. package/dist/cli/{skills-DHOK5DZB.mjs → skills-4MR2Z2M5.mjs} +5 -5
  83. package/dist/cli/{tools-5Q4246NF.mjs → tools-MCEIWE3I.mjs} +12 -12
  84. package/dist/cli/tools-YUUSOKYX.js +44 -0
  85. package/dist/cli/{update-2LQIYQVX.mjs → update-2JDBGLTX.mjs} +7 -7
  86. package/dist/cli/update-PWX4MJ3R.js +31 -0
  87. package/dist/cli/{workflow-LDRMZBCK.js → workflow-7DNBY4WJ.js} +15 -15
  88. package/dist/cli/{workflow-DBIMUE7K.mjs → workflow-7UDXYU5Y.mjs} +5 -5
  89. package/dist/index.js +6 -6
  90. package/dist/index.mjs +3 -3
  91. package/dist/install-integrity.json +80 -80
  92. package/dist/release.d.mts +1 -1
  93. package/dist/release.d.ts +1 -1
  94. package/dist/release.js +2 -2
  95. package/dist/release.mjs +1 -1
  96. package/package.json +1 -1
  97. package/dist/cli/auth-SF265NLP.js +0 -40
  98. package/dist/cli/git-ODPWPPCD.js +0 -24
  99. package/dist/cli/search-TPHG6627.js +0 -30
  100. package/dist/cli/skills-2LO7KAVM.js +0 -29
  101. package/dist/cli/tools-JGBXER7K.js +0 -44
  102. package/dist/cli/update-V7WJDCBC.js +0 -31
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkD4P53G7Ajs = require('./chunk-D4P53G7A.js');
7
+ var _chunkNSJRLP7Rjs = require('./chunk-NSJRLP7R.js');
8
8
 
9
9
 
10
- var _chunkNPXUFHMIjs = require('./chunk-NPXUFHMI.js');
10
+ var _chunkWR4M5VWKjs = require('./chunk-WR4M5VWK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
14
+ var _chunkGIJ47TAVjs = require('./chunk-GIJ47TAV.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
18
+ var _chunkC25ZYL6Ujs = require('./chunk-C25ZYL6U.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 = _chunkVZSBJVI4js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkC25ZYL6Ujs.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/${_chunkVZSBJVI4js.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkC25ZYL6Ujs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkVZSBJVI4js.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkVZSBJVI4js.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkC25ZYL6Ujs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkC25ZYL6Ujs.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()]) || _chunkVZSBJVI4js.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkC25ZYL6Ujs.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") || !_chunkD4P53G7Ajs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkNPXUFHMIjs.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") || !_chunkNSJRLP7Rjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkWR4M5VWKjs.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()]) || _chunkVZSBJVI4js.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkC25ZYL6Ujs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkD4P53G7Ajs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkNSJRLP7Rjs.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()]) || _chunkVZSBJVI4js.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkC25ZYL6Ujs.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 = _chunkD4P53G7Ajs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkNSJRLP7Rjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkD4P53G7Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkNSJRLP7Rjs.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 (_chunkJUBHX5FKjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunkGIJ47TAVjs.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkJUBHX5FKjs.addJsonNotice.call(void 0, {
169
+ _chunkGIJ47TAVjs.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 (!_chunkD4P53G7Ajs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkNSJRLP7Rjs.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 _chunkD4P53G7Ajs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkNSJRLP7Rjs.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 (!_chunkJUBHX5FKjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunkGIJ47TAVjs.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -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.419",
52
+ version: "0.3.421",
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."
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-EPMYNLKZ.mjs";
5
+ } from "./chunk-VC3E5HFO.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-KABBXKFO.mjs";
8
+ } from "./chunk-VYLZS7X4.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-EPMYNLKZ.mjs";
5
+ } from "./chunk-VC3E5HFO.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-KABBXKFO.mjs";
28
+ } from "./chunk-VYLZS7X4.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
18
18
 
19
19
 
20
- var _chunk2Y2RQZROjs = require('./chunk-2Y2RQZRO.js');
20
+ var _chunk7SRVIWGTjs = require('./chunk-7SRVIWGT.js');
21
21
 
22
22
  // src/config.ts
23
23
 
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
649
649
  }
650
650
 
651
651
  // src/version.ts
652
- var SDK_VERSION = _chunk2Y2RQZROjs.SDK_RELEASE.version;
653
- var SDK_API_MAJOR = _chunk2Y2RQZROjs.SDK_RELEASE.contracts.api.currentMajor;
654
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk2Y2RQZROjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
652
+ var SDK_VERSION = _chunk7SRVIWGTjs.SDK_RELEASE.version;
653
+ var SDK_API_MAJOR = _chunk7SRVIWGTjs.SDK_RELEASE.contracts.api.currentMajor;
654
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunk7SRVIWGTjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
655
655
 
656
656
  // src/agent-runtime.ts
657
657
 
@@ -444,19 +444,20 @@ Cost:
444
444
  "tools grep": {
445
445
  core: `
446
446
  Purpose:
447
- Literal, case-insensitive filtering of the tool registry by id, provider,
447
+ Case-insensitive regex (RE2) filtering of the tool registry by id, provider,
448
448
  description, categories, or input field names.
449
449
  When:
450
- When you know a provider or field name and want every matching tool rather
451
- than a ranked guess. Use search for intent queries.
450
+ When you know a provider, id pattern, or field name and want every matching
451
+ tool rather than a ranked guess. Use search for intent queries.
452
452
  [[cli:
453
453
  Input:
454
- A query; --mode all (default, AND), any (OR), or phrase; --categories.
454
+ A query of regex terms; --mode all (default, AND), any (OR), or phrase
455
+ (whole query is one pattern); --categories.
455
456
  ]]
456
457
  [[cli:
457
458
  Output (JSON):
458
- tools[] with id, provider, displayName, description, categories, and
459
- executeCommand.
459
+ Every matching tool, id matches first: tools[] with id, provider,
460
+ displayName, description, categories, matchedFields, and executeCommand.
460
461
  ]]
461
462
  Cost:
462
463
  Free.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-EPMYNLKZ.mjs";
3
+ } from "./chunk-VC3E5HFO.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-6LLEMZL5.mjs";
14
+ } from "./chunk-RJLFCJ23.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-EPMYNLKZ.mjs";
17
+ } from "./chunk-VC3E5HFO.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-KABBXKFO.mjs";
25
+ } from "./chunk-VYLZS7X4.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
31
+ var _chunkC25ZYL6Ujs = require('./chunk-C25ZYL6U.js');
32
32
 
33
33
 
34
34
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkVZSBJVI4js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkC25ZYL6Ujs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _29 => _29.onServerTiming])) {
653
653
  try {
@@ -997,8 +997,8 @@ function runtimeSelectionHeaders(runtime, env) {
997
997
  }
998
998
  const receivers = _optionalChain([env, 'access', _51 => _51.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _52 => _52.trim, 'call', _53 => _53()]);
999
999
  return {
1000
- [_chunkVZSBJVI4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkVZSBJVI4js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunkC25ZYL6Ujs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunkC25ZYL6Ujs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
1002
  };
1003
1003
  }
1004
1004
  function normalizeTestPolicyOverrides(value, source) {
@@ -1069,7 +1069,7 @@ var PlayClient = class {
1069
1069
  return _chunk2H4EY7KHjs.startPlayRun.call(void 0,
1070
1070
  this.http,
1071
1071
  resolved.request,
1072
- _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkVZSBJVI4js.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkC25ZYL6Ujs.SDK_API_MAJOR) } : headers,
1073
1073
  options
1074
1074
  );
1075
1075
  }
@@ -1135,9 +1135,9 @@ var PlayClient = class {
1135
1135
  }
1136
1136
  };
1137
1137
  function createPlayClient(options) {
1138
- const config = _chunkVZSBJVI4js.resolveConfig.call(void 0, options);
1138
+ const config = _chunkC25ZYL6Ujs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkVZSBJVI4js.HttpClient)(config),
1140
+ new (0, _chunkC25ZYL6Ujs.HttpClient)(config),
1141
1141
  _nullishCoalesce(config.environment, () => ( process.env))
1142
1142
  );
1143
1143
  }
@@ -3151,7 +3151,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3151
3151
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3152
3152
  );
3153
3153
  }
3154
- return { [_chunkVZSBJVI4js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunkC25ZYL6Ujs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3155
3155
  }
3156
3156
  function sleep(ms) {
3157
3157
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3389,9 +3389,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3389
3389
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3390
3390
  */
3391
3391
  constructor(options) {
3392
- this.config = _chunkVZSBJVI4js.resolveConfig.call(void 0, options);
3392
+ this.config = _chunkC25ZYL6Ujs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkVZSBJVI4js.HttpClient)(this.config);
3394
+ this.http = new (0, _chunkC25ZYL6Ujs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
6
+ var _chunkC25ZYL6Ujs = require('./chunk-C25ZYL6U.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkVZSBJVI4js.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkVZSBJVI4js.HttpClient)(config) };
291
+ const config = _chunkC25ZYL6Ujs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkC25ZYL6Ujs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkVZSBJVI4js.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkC25ZYL6Ujs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkVZSBJVI4js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkC25ZYL6Ujs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkVZSBJVI4js.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkC25ZYL6Ujs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkEP5EVGFDjs = require('./chunk-EP5EVGFD.js');
6
+ var _chunkFB5H5OOHjs = require('./chunk-FB5H5OOH.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
10
+ var _chunkGIJ47TAVjs = require('./chunk-GIJ47TAV.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
14
+ var _chunkC25ZYL6Ujs = require('./chunk-C25ZYL6U.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkVZSBJVI4js.sdkCliStateDirPath.call(void 0, _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkC25ZYL6Ujs.sdkCliStateDirPath.call(void 0, _chunkC25ZYL6Ujs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5873,7 +5873,7 @@ var OPTIONAL_COLUMNS = [
5873
5873
  ];
5874
5874
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5875
5875
  if (result.results.length === 0)
5876
- return _chunkJUBHX5FKjs.renderCommandEnvelopeText.call(void 0, result);
5876
+ return _chunkGIJ47TAVjs.renderCommandEnvelopeText.call(void 0, result);
5877
5877
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5878
5878
  const kinds = new Set(rows.map((row) => row.kind));
5879
5879
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5898,7 +5898,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5898
5898
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5899
5899
  };
5900
5900
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5901
- ${_chunkJUBHX5FKjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5901
+ ${_chunkGIJ47TAVjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5902
5902
  const notes = rows.flatMap(
5903
5903
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5904
5904
  );
@@ -5983,7 +5983,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5983
5983
  console.error("--summary-width must be an integer of at least 2.");
5984
5984
  return 1;
5985
5985
  }
5986
- const { search_ref: searchRef, ...result } = await new (0, _chunkEP5EVGFDjs.DeeplineClient)().search({
5986
+ const { search_ref: searchRef, ...result } = await new (0, _chunkFB5H5OOHjs.DeeplineClient)().search({
5987
5987
  query,
5988
5988
  types,
5989
5989
  exclude,
@@ -5997,7 +5997,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5997
5997
  });
5998
5998
  if (searchRef) rememberSearchRef(searchRef);
5999
5999
  pointAtDescribe(result);
6000
- _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, result, {
6000
+ _chunkGIJ47TAVjs.printCommandEnvelope.call(void 0, result, {
6001
6001
  json: options.json === true,
6002
6002
  text: renderSearchResults(result, summaryWidth)
6003
6003
  });
@@ -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(); } }
2
2
 
3
- var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
3
+ var _chunkGIJ47TAVjs = require('./chunk-GIJ47TAV.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkJUBHX5FKjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkGIJ47TAVjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,19 +1,19 @@
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 _chunkPR5T2MONjs = require('./chunk-PR5T2MON.js');
4
+ var _chunkQJV2ALPNjs = require('./chunk-QJV2ALPN.js');
5
5
 
6
6
 
7
- var _chunk5R3CAKPMjs = require('./chunk-5R3CAKPM.js');
7
+ var _chunk4I26IVFCjs = require('./chunk-4I26IVFC.js');
8
8
 
9
9
 
10
- var _chunkNPXUFHMIjs = require('./chunk-NPXUFHMI.js');
10
+ var _chunkWR4M5VWKjs = require('./chunk-WR4M5VWK.js');
11
11
 
12
12
 
13
- var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
13
+ var _chunkGIJ47TAVjs = require('./chunk-GIJ47TAV.js');
14
14
 
15
15
 
16
- var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
16
+ var _chunkC25ZYL6Ujs = require('./chunk-C25ZYL6U.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkNPXUFHMIjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkWR4M5VWKjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkPR5T2MONjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkPR5T2MONjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkQJV2ALPNjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkQJV2ALPNjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkVZSBJVI4js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkC25ZYL6Ujs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkNPXUFHMIjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkWR4M5VWKjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkVZSBJVI4js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkC25ZYL6Ujs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunk5R3CAKPMjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunk4I26IVFCjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkGIJ47TAVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
1284
+ _chunkGIJ47TAVjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkGIJ47TAVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
1327
+ _chunkGIJ47TAVjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -444,19 +444,20 @@ Cost:
444
444
  "tools grep": {
445
445
  core: `
446
446
  Purpose:
447
- Literal, case-insensitive filtering of the tool registry by id, provider,
447
+ Case-insensitive regex (RE2) filtering of the tool registry by id, provider,
448
448
  description, categories, or input field names.
449
449
  When:
450
- When you know a provider or field name and want every matching tool rather
451
- than a ranked guess. Use search for intent queries.
450
+ When you know a provider, id pattern, or field name and want every matching
451
+ tool rather than a ranked guess. Use search for intent queries.
452
452
  [[cli:
453
453
  Input:
454
- A query; --mode all (default, AND), any (OR), or phrase; --categories.
454
+ A query of regex terms; --mode all (default, AND), any (OR), or phrase
455
+ (whole query is one pattern); --categories.
455
456
  ]]
456
457
  [[cli:
457
458
  Output (JSON):
458
- tools[] with id, provider, displayName, description, categories, and
459
- executeCommand.
459
+ Every matching tool, id matches first: tools[] with id, provider,
460
+ displayName, description, categories, matchedFields, and executeCommand.
460
461
  ]]
461
462
  Cost:
462
463
  Free.
@@ -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 _chunkNPXUFHMIjs = require('./chunk-NPXUFHMI.js');
3
+ var _chunkWR4M5VWKjs = require('./chunk-WR4M5VWK.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 = _chunkNPXUFHMIjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkWR4M5VWKjs.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,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-EPMYNLKZ.mjs";
3
+ } from "./chunk-VC3E5HFO.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-KABBXKFO.mjs";
20
+ } from "./chunk-VYLZS7X4.mjs";
21
21
  import {
22
22
  DeeplineError
23
23
  } from "./chunk-E4IXDAZI.mjs";
24
24
  import {
25
25
  SDK_RELEASE
26
- } from "./chunk-7IXS77PX.mjs";
26
+ } from "./chunk-SPLOMS4N.mjs";
27
27
 
28
28
  // src/compat.ts
29
29
  import { randomUUID } from "crypto";