@mastra/core 1.18.1-alpha.1 → 1.19.0-alpha.2

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 (150) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/agent/agent-legacy.d.ts +3 -1
  3. package/dist/agent/agent-legacy.d.ts.map +1 -1
  4. package/dist/agent/agent.d.ts +3 -1
  5. package/dist/agent/agent.d.ts.map +1 -1
  6. package/dist/agent/index.cjs +8 -8
  7. package/dist/agent/index.js +1 -1
  8. package/dist/{chunk-AV4YSAZL.cjs → chunk-2OYWVA6F.cjs} +17 -2
  9. package/dist/chunk-2OYWVA6F.cjs.map +1 -0
  10. package/dist/{chunk-YMPV2RMB.cjs → chunk-2RTFET56.cjs} +7 -7
  11. package/dist/{chunk-YMPV2RMB.cjs.map → chunk-2RTFET56.cjs.map} +1 -1
  12. package/dist/{chunk-6VRSFFQ4.cjs → chunk-4TUILCMR.cjs} +6 -6
  13. package/dist/{chunk-6VRSFFQ4.cjs.map → chunk-4TUILCMR.cjs.map} +1 -1
  14. package/dist/{chunk-WMF4CWAL.cjs → chunk-5OBBDZBA.cjs} +185 -185
  15. package/dist/{chunk-WMF4CWAL.cjs.map → chunk-5OBBDZBA.cjs.map} +1 -1
  16. package/dist/{chunk-7IE4K74P.js → chunk-6TEEIOHA.js} +4 -4
  17. package/dist/{chunk-7IE4K74P.js.map → chunk-6TEEIOHA.js.map} +1 -1
  18. package/dist/{chunk-JTJCFEIY.js → chunk-6XYHMM2X.js} +8 -8
  19. package/dist/{chunk-JTJCFEIY.js.map → chunk-6XYHMM2X.js.map} +1 -1
  20. package/dist/{chunk-AJZQPWAV.js → chunk-BS5UESNT.js} +41 -30
  21. package/dist/chunk-BS5UESNT.js.map +1 -0
  22. package/dist/{chunk-BZ2MSXOF.js → chunk-CSIKD56W.js} +3 -3
  23. package/dist/{chunk-BZ2MSXOF.js.map → chunk-CSIKD56W.js.map} +1 -1
  24. package/dist/{chunk-7V3UNILV.js → chunk-D5EXC3XM.js} +4 -4
  25. package/dist/{chunk-7V3UNILV.js.map → chunk-D5EXC3XM.js.map} +1 -1
  26. package/dist/{chunk-VEP4CV7E.cjs → chunk-E2SMTTP6.cjs} +15 -15
  27. package/dist/{chunk-VEP4CV7E.cjs.map → chunk-E2SMTTP6.cjs.map} +1 -1
  28. package/dist/{chunk-6R5PT6ZP.cjs → chunk-E3JUOJME.cjs} +5 -5
  29. package/dist/{chunk-6R5PT6ZP.cjs.map → chunk-E3JUOJME.cjs.map} +1 -1
  30. package/dist/{chunk-FA4PTEBK.js → chunk-EWPUWV33.js} +18 -3
  31. package/dist/chunk-EWPUWV33.js.map +1 -0
  32. package/dist/{chunk-QNNFMCSE.js → chunk-F4PVOQKD.js} +3 -3
  33. package/dist/{chunk-QNNFMCSE.js.map → chunk-F4PVOQKD.js.map} +1 -1
  34. package/dist/{chunk-XDZOEUNU.cjs → chunk-GFQPMPSV.cjs} +7 -113
  35. package/dist/chunk-GFQPMPSV.cjs.map +1 -0
  36. package/dist/{chunk-5ANYSU2W.cjs → chunk-GNA52EF4.cjs} +9 -9
  37. package/dist/{chunk-5ANYSU2W.cjs.map → chunk-GNA52EF4.cjs.map} +1 -1
  38. package/dist/{chunk-UJX2TJIF.js → chunk-IOHKSHT4.js} +3 -3
  39. package/dist/{chunk-UJX2TJIF.js.map → chunk-IOHKSHT4.js.map} +1 -1
  40. package/dist/{chunk-LVZKPNQO.cjs → chunk-IQV2SVCE.cjs} +52 -52
  41. package/dist/{chunk-LVZKPNQO.cjs.map → chunk-IQV2SVCE.cjs.map} +1 -1
  42. package/dist/{chunk-XNBGNCVV.cjs → chunk-L2FL7HMV.cjs} +25 -25
  43. package/dist/{chunk-XNBGNCVV.cjs.map → chunk-L2FL7HMV.cjs.map} +1 -1
  44. package/dist/{chunk-PB3KXPNE.js → chunk-M62LMDHE.js} +7 -7
  45. package/dist/{chunk-PB3KXPNE.js.map → chunk-M62LMDHE.js.map} +1 -1
  46. package/dist/{chunk-YCT2YQDL.cjs → chunk-MN7WNZE6.cjs} +6 -6
  47. package/dist/{chunk-YCT2YQDL.cjs.map → chunk-MN7WNZE6.cjs.map} +1 -1
  48. package/dist/{chunk-QADPCUBX.cjs → chunk-NWOPWLJ3.cjs} +82 -82
  49. package/dist/{chunk-QADPCUBX.cjs.map → chunk-NWOPWLJ3.cjs.map} +1 -1
  50. package/dist/{chunk-WLNT3YJ7.cjs → chunk-O542TXPV.cjs} +97 -86
  51. package/dist/chunk-O542TXPV.cjs.map +1 -0
  52. package/dist/{chunk-X4Q4KB6C.js → chunk-OZHBY6NY.js} +3 -3
  53. package/dist/{chunk-X4Q4KB6C.js.map → chunk-OZHBY6NY.js.map} +1 -1
  54. package/dist/{chunk-OLHODPXN.js → chunk-PPCEPCG7.js} +3 -3
  55. package/dist/{chunk-OLHODPXN.js.map → chunk-PPCEPCG7.js.map} +1 -1
  56. package/dist/{chunk-EXDBQKH4.cjs → chunk-QB4YHCVA.cjs} +15 -15
  57. package/dist/{chunk-EXDBQKH4.cjs.map → chunk-QB4YHCVA.cjs.map} +1 -1
  58. package/dist/{chunk-VMBWVH4B.js → chunk-QIOD3LOP.js} +3 -3
  59. package/dist/{chunk-VMBWVH4B.js.map → chunk-QIOD3LOP.js.map} +1 -1
  60. package/dist/{chunk-2W7R236U.cjs → chunk-RD76XK7E.cjs} +3 -3
  61. package/dist/{chunk-2W7R236U.cjs.map → chunk-RD76XK7E.cjs.map} +1 -1
  62. package/dist/{chunk-EAJDF6UV.js → chunk-SVIEJH5H.js} +3 -3
  63. package/dist/{chunk-EAJDF6UV.js.map → chunk-SVIEJH5H.js.map} +1 -1
  64. package/dist/{chunk-RF4TETYQ.js → chunk-VYZRHQUD.js} +5 -5
  65. package/dist/{chunk-RF4TETYQ.js.map → chunk-VYZRHQUD.js.map} +1 -1
  66. package/dist/{chunk-L2GYXPJJ.cjs → chunk-WKAEIA42.cjs} +9 -9
  67. package/dist/{chunk-L2GYXPJJ.cjs.map → chunk-WKAEIA42.cjs.map} +1 -1
  68. package/dist/{chunk-OTJAMDX5.js → chunk-X5BBF6AG.js} +3 -3
  69. package/dist/{chunk-OTJAMDX5.js.map → chunk-X5BBF6AG.js.map} +1 -1
  70. package/dist/{chunk-HQCBFWL2.js → chunk-Z6I5PBGG.js} +6 -112
  71. package/dist/chunk-Z6I5PBGG.js.map +1 -0
  72. package/dist/datasets/index.cjs +17 -17
  73. package/dist/datasets/index.js +2 -2
  74. package/dist/docs/SKILL.md +1 -1
  75. package/dist/docs/assets/SOURCE_MAP.json +232 -232
  76. package/dist/evals/index.cjs +5 -5
  77. package/dist/evals/index.js +2 -2
  78. package/dist/evals/scoreTraces/index.cjs +3 -3
  79. package/dist/evals/scoreTraces/index.js +1 -1
  80. package/dist/harness/index.cjs +19 -19
  81. package/dist/harness/index.js +8 -8
  82. package/dist/index.cjs +2 -2
  83. package/dist/index.js +1 -1
  84. package/dist/integration/index.cjs +2 -2
  85. package/dist/integration/index.js +1 -1
  86. package/dist/llm/index.cjs +16 -16
  87. package/dist/llm/index.js +5 -5
  88. package/dist/llm/model/provider-types.generated.d.ts +1 -50
  89. package/dist/loop/index.cjs +14 -14
  90. package/dist/loop/index.js +1 -1
  91. package/dist/mastra/index.cjs +2 -2
  92. package/dist/mastra/index.js +1 -1
  93. package/dist/memory/index.cjs +14 -14
  94. package/dist/memory/index.js +1 -1
  95. package/dist/models-dev-VAVD7BDV.cjs +12 -0
  96. package/dist/{models-dev-WD6XLSFC.cjs.map → models-dev-VAVD7BDV.cjs.map} +1 -1
  97. package/dist/models-dev-VFIUOVG4.js +3 -0
  98. package/dist/{models-dev-XG4KIUFT.js.map → models-dev-VFIUOVG4.js.map} +1 -1
  99. package/dist/netlify-KL3UR26O.cjs +12 -0
  100. package/dist/{netlify-FMBBUFKT.cjs.map → netlify-KL3UR26O.cjs.map} +1 -1
  101. package/dist/netlify-Q3SJTV4U.js +3 -0
  102. package/dist/{netlify-NDOVF45T.js.map → netlify-Q3SJTV4U.js.map} +1 -1
  103. package/dist/processor-provider/index.cjs +10 -10
  104. package/dist/processor-provider/index.js +1 -1
  105. package/dist/processors/index.cjs +44 -44
  106. package/dist/processors/index.js +1 -1
  107. package/dist/provider-registry-COX4XKGI.js +3 -0
  108. package/dist/{provider-registry-KHXFOGCK.js.map → provider-registry-COX4XKGI.js.map} +1 -1
  109. package/dist/provider-registry-IAU4XHVY.cjs +40 -0
  110. package/dist/{provider-registry-VUG7E4SG.cjs.map → provider-registry-IAU4XHVY.cjs.map} +1 -1
  111. package/dist/provider-registry.json +2 -108
  112. package/dist/relevance/index.cjs +3 -3
  113. package/dist/relevance/index.js +1 -1
  114. package/dist/storage/index.cjs +74 -74
  115. package/dist/storage/index.js +1 -1
  116. package/dist/stream/index.cjs +8 -8
  117. package/dist/stream/index.js +1 -1
  118. package/dist/test-utils/llm-mock.cjs +4 -4
  119. package/dist/test-utils/llm-mock.js +1 -1
  120. package/dist/tool-loop-agent/index.cjs +4 -4
  121. package/dist/tool-loop-agent/index.js +1 -1
  122. package/dist/tools/index.cjs +8 -8
  123. package/dist/tools/index.js +1 -1
  124. package/dist/tools/is-vercel-tool.cjs +2 -2
  125. package/dist/tools/is-vercel-tool.js +1 -1
  126. package/dist/tools/validation.d.ts.map +1 -1
  127. package/dist/utils.cjs +25 -25
  128. package/dist/utils.js +1 -1
  129. package/dist/vector/index.cjs +7 -7
  130. package/dist/vector/index.js +1 -1
  131. package/dist/workflows/evented/index.cjs +10 -10
  132. package/dist/workflows/evented/index.js +1 -1
  133. package/dist/workflows/index.cjs +24 -24
  134. package/dist/workflows/index.js +1 -1
  135. package/dist/workspace/index.cjs +68 -68
  136. package/dist/workspace/index.js +1 -1
  137. package/package.json +4 -4
  138. package/src/llm/model/provider-types.generated.d.ts +1 -50
  139. package/dist/chunk-AJZQPWAV.js.map +0 -1
  140. package/dist/chunk-AV4YSAZL.cjs.map +0 -1
  141. package/dist/chunk-FA4PTEBK.js.map +0 -1
  142. package/dist/chunk-HQCBFWL2.js.map +0 -1
  143. package/dist/chunk-WLNT3YJ7.cjs.map +0 -1
  144. package/dist/chunk-XDZOEUNU.cjs.map +0 -1
  145. package/dist/models-dev-WD6XLSFC.cjs +0 -12
  146. package/dist/models-dev-XG4KIUFT.js +0 -3
  147. package/dist/netlify-FMBBUFKT.cjs +0 -12
  148. package/dist/netlify-NDOVF45T.js +0 -3
  149. package/dist/provider-registry-KHXFOGCK.js +0 -3
  150. package/dist/provider-registry-VUG7E4SG.cjs +0 -40
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkAV4YSAZL_cjs = require('./chunk-AV4YSAZL.cjs');
3
+ var chunk2OYWVA6F_cjs = require('./chunk-2OYWVA6F.cjs');
4
4
  var chunkRO47SMI7_cjs = require('./chunk-RO47SMI7.cjs');
5
5
  var chunk7XAECHYL_cjs = require('./chunk-7XAECHYL.cjs');
6
6
  var nodePath = require('path');
@@ -1584,7 +1584,7 @@ function isLSPAvailable() {
1584
1584
  return jsonrpcModule !== null;
1585
1585
  }
1586
1586
  try {
1587
- const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-XNBGNCVV.cjs', document.baseURI).href)));
1587
+ const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-L2FL7HMV.cjs', document.baseURI).href)));
1588
1588
  req.resolve("vscode-jsonrpc/node");
1589
1589
  req.resolve("vscode-languageserver-protocol");
1590
1590
  return true;
@@ -1598,7 +1598,7 @@ async function loadLSPDeps() {
1598
1598
  return { ...jsonrpcModule, ...lspProtocolModule };
1599
1599
  }
1600
1600
  try {
1601
- const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-XNBGNCVV.cjs', document.baseURI).href)));
1601
+ const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-L2FL7HMV.cjs', document.baseURI).href)));
1602
1602
  const jsonrpc = req("vscode-jsonrpc/node");
1603
1603
  const protocol = req("vscode-languageserver-protocol");
1604
1604
  jsonrpcModule = {
@@ -6069,7 +6069,7 @@ async function resolveSkill(skills, identifier) {
6069
6069
  return { notFound: `Skill "${identifier}" not found. Available skills: ${skillEntries.join(", ")}` };
6070
6070
  }
6071
6071
  function createSkillTool(skills) {
6072
- const tool = chunkAV4YSAZL_cjs.createTool({
6072
+ const tool = chunk2OYWVA6F_cjs.createTool({
6073
6073
  id: "skill",
6074
6074
  description: "Activate a skill to load its full instructions. You should activate skills proactively when they are relevant to the user's request without asking for permission first.",
6075
6075
  inputSchema: v4.z.object({
@@ -6104,7 +6104,7 @@ ${skill.assets.map((a) => `- assets/${a}`).join("\n")}`);
6104
6104
  return tool;
6105
6105
  }
6106
6106
  function createSkillSearchTool(skills) {
6107
- const tool = chunkAV4YSAZL_cjs.createTool({
6107
+ const tool = chunk2OYWVA6F_cjs.createTool({
6108
6108
  id: "skill_search",
6109
6109
  description: "Search across skill content to find relevant information. Useful when you need to find specific details within skills.",
6110
6110
  inputSchema: v4.z.object({
@@ -6128,7 +6128,7 @@ ${preview}`;
6128
6128
  return tool;
6129
6129
  }
6130
6130
  function createSkillReadTool(skills) {
6131
- const tool = chunkAV4YSAZL_cjs.createTool({
6131
+ const tool = chunk2OYWVA6F_cjs.createTool({
6132
6132
  id: "skill_read",
6133
6133
  description: "Read a file from a skill directory (references, scripts, or assets). The path is relative to the skill root.",
6134
6134
  inputSchema: v4.z.object({
@@ -6833,7 +6833,7 @@ function isAstGrepAvailable() {
6833
6833
  return astGrepModule !== null;
6834
6834
  }
6835
6835
  try {
6836
- const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-XNBGNCVV.cjs', document.baseURI).href)));
6836
+ const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-L2FL7HMV.cjs', document.baseURI).href)));
6837
6837
  req.resolve("@ast-grep/napi");
6838
6838
  return true;
6839
6839
  } catch {
@@ -7003,7 +7003,7 @@ function patternReplace(content, root, pattern, replacement) {
7003
7003
  }
7004
7004
  return { content: modifiedContent, count };
7005
7005
  }
7006
- var astEditTool = chunkAV4YSAZL_cjs.createTool({
7006
+ var astEditTool = chunk2OYWVA6F_cjs.createTool({
7007
7007
  id: WORKSPACE_TOOLS.FILESYSTEM.AST_EDIT,
7008
7008
  description: `Edit code using AST-based analysis for intelligent transformations.
7009
7009
 
@@ -7122,7 +7122,7 @@ Pattern replace (for everything else):
7122
7122
  return output;
7123
7123
  }
7124
7124
  });
7125
- var deleteFileTool = chunkAV4YSAZL_cjs.createTool({
7125
+ var deleteFileTool = chunk2OYWVA6F_cjs.createTool({
7126
7126
  id: WORKSPACE_TOOLS.FILESYSTEM.DELETE,
7127
7127
  description: "Delete a file or directory from the workspace filesystem",
7128
7128
  inputSchema: v4.z.object({
@@ -7144,7 +7144,7 @@ var deleteFileTool = chunkAV4YSAZL_cjs.createTool({
7144
7144
  return `Deleted ${path8}`;
7145
7145
  }
7146
7146
  });
7147
- var editFileTool = chunkAV4YSAZL_cjs.createTool({
7147
+ var editFileTool = chunk2OYWVA6F_cjs.createTool({
7148
7148
  id: WORKSPACE_TOOLS.FILESYSTEM.EDIT_FILE,
7149
7149
  description: `Edit a file by replacing specific text. The old_string must match exactly and be unique in the file.
7150
7150
 
@@ -7406,14 +7406,14 @@ Usage:
7406
7406
  - Always quote file paths that contain spaces (e.g., cd "/path/with spaces").
7407
7407
  - Use the timeout parameter (in seconds) to limit execution time. Behavior when omitted depends on the sandbox provider.
7408
7408
  - Optionally use cwd to override the working directory. Commands run from the sandbox default if omitted.`;
7409
- var executeCommandTool = chunkAV4YSAZL_cjs.createTool({
7409
+ var executeCommandTool = chunk2OYWVA6F_cjs.createTool({
7410
7410
  id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
7411
7411
  description: baseDescription,
7412
7412
  inputSchema: executeCommandInputSchema,
7413
7413
  execute: executeCommand,
7414
7414
  toModelOutput: sandboxToModelOutput
7415
7415
  });
7416
- var executeCommandWithBackgroundTool = chunkAV4YSAZL_cjs.createTool({
7416
+ var executeCommandWithBackgroundTool = chunk2OYWVA6F_cjs.createTool({
7417
7417
  id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
7418
7418
  description: `${baseDescription}
7419
7419
 
@@ -7422,7 +7422,7 @@ Set background: true to run long-running commands (dev servers, watchers) withou
7422
7422
  execute: executeCommand,
7423
7423
  toModelOutput: sandboxToModelOutput
7424
7424
  });
7425
- var fileStatTool = chunkAV4YSAZL_cjs.createTool({
7425
+ var fileStatTool = chunk2OYWVA6F_cjs.createTool({
7426
7426
  id: WORKSPACE_TOOLS.FILESYSTEM.FILE_STAT,
7427
7427
  description: "Get file or directory metadata from the workspace. Returns existence, type, size, and modification time.",
7428
7428
  inputSchema: v4.z.object({
@@ -7446,7 +7446,7 @@ var fileStatTool = chunkAV4YSAZL_cjs.createTool({
7446
7446
  }
7447
7447
  }
7448
7448
  });
7449
- var getProcessOutputTool = chunkAV4YSAZL_cjs.createTool({
7449
+ var getProcessOutputTool = chunk2OYWVA6F_cjs.createTool({
7450
7450
  id: WORKSPACE_TOOLS.SANDBOX.GET_PROCESS_OUTPUT,
7451
7451
  description: `Get the current output (stdout, stderr) and status of a background process by its PID.
7452
7452
 
@@ -7544,7 +7544,7 @@ async function loadGitignore(filesystem) {
7544
7544
  }
7545
7545
 
7546
7546
  // src/workspace/tools/grep.ts
7547
- var grepTool = chunkAV4YSAZL_cjs.createTool({
7547
+ var grepTool = chunk2OYWVA6F_cjs.createTool({
7548
7548
  id: WORKSPACE_TOOLS.FILESYSTEM.GREP,
7549
7549
  description: `Search file contents using a regex pattern. Walks the filesystem and returns matching lines with file paths and line numbers.
7550
7550
 
@@ -7698,7 +7698,7 @@ Usage:
7698
7698
  );
7699
7699
  }
7700
7700
  });
7701
- var indexContentTool = chunkAV4YSAZL_cjs.createTool({
7701
+ var indexContentTool = chunk2OYWVA6F_cjs.createTool({
7702
7702
  id: WORKSPACE_TOOLS.SEARCH.INDEX,
7703
7703
  description: "Index content for search. The path becomes the document ID in search results.",
7704
7704
  inputSchema: v4.z.object({
@@ -7714,7 +7714,7 @@ var indexContentTool = chunkAV4YSAZL_cjs.createTool({
7714
7714
  }
7715
7715
  });
7716
7716
  var KILL_TAIL_LINES = 50;
7717
- var killProcessTool = chunkAV4YSAZL_cjs.createTool({
7717
+ var killProcessTool = chunk2OYWVA6F_cjs.createTool({
7718
7718
  id: WORKSPACE_TOOLS.SANDBOX.KILL_PROCESS,
7719
7719
  description: `Kill a background process by its PID.
7720
7720
 
@@ -7903,7 +7903,7 @@ function joinPath2(base, name) {
7903
7903
  }
7904
7904
 
7905
7905
  // src/workspace/tools/list-files.ts
7906
- var listFilesTool = chunkAV4YSAZL_cjs.createTool({
7906
+ var listFilesTool = chunk2OYWVA6F_cjs.createTool({
7907
7907
  id: WORKSPACE_TOOLS.FILESYSTEM.LIST_FILES,
7908
7908
  description: `List files and directories in the workspace filesystem.
7909
7909
  Returns a compact tab-indented listing for efficient token usage.
@@ -7991,7 +7991,7 @@ function compressPath(filePath) {
7991
7991
  }
7992
7992
  return filePath;
7993
7993
  }
7994
- var lspInspectTool = chunkAV4YSAZL_cjs.createTool({
7994
+ var lspInspectTool = chunk2OYWVA6F_cjs.createTool({
7995
7995
  id: WORKSPACE_TOOLS.LSP.LSP_INSPECT,
7996
7996
  description: "Inspect code at a specific symbol position using the Language Server Protocol. Provide an absolute file path, a 1-indexed line number, and the exact line content with <<< marking the cursor position. Exactly one <<< marker is required. Returns hover information, any diagnostics reported on that line, plus definition and implementation locations when available. Use this for type information, symbol navigation, and go-to-definition; use view to read the surrounding implementation.",
7997
7997
  inputSchema: v4.z.object({
@@ -8138,7 +8138,7 @@ var lspInspectTool = chunkAV4YSAZL_cjs.createTool({
8138
8138
  return result;
8139
8139
  }
8140
8140
  });
8141
- var mkdirTool = chunkAV4YSAZL_cjs.createTool({
8141
+ var mkdirTool = chunk2OYWVA6F_cjs.createTool({
8142
8142
  id: WORKSPACE_TOOLS.FILESYSTEM.MKDIR,
8143
8143
  description: "Create a directory in the workspace filesystem",
8144
8144
  inputSchema: v4.z.object({
@@ -8155,7 +8155,7 @@ var mkdirTool = chunkAV4YSAZL_cjs.createTool({
8155
8155
  return `Created directory ${path8}`;
8156
8156
  }
8157
8157
  });
8158
- var readFileTool = chunkAV4YSAZL_cjs.createTool({
8158
+ var readFileTool = chunk2OYWVA6F_cjs.createTool({
8159
8159
  id: WORKSPACE_TOOLS.FILESYSTEM.READ_FILE,
8160
8160
  description: "Read the contents of a file from the workspace filesystem. Use offset/limit parameters to read specific line ranges for large files.",
8161
8161
  inputSchema: v4.z.object({
@@ -8203,7 +8203,7 @@ ${fullContent.toString("base64")}`,
8203
8203
  ${formattedContent}`, tokenLimit, "end");
8204
8204
  }
8205
8205
  });
8206
- var searchTool = chunkAV4YSAZL_cjs.createTool({
8206
+ var searchTool = chunk2OYWVA6F_cjs.createTool({
8207
8207
  id: WORKSPACE_TOOLS.SEARCH.SEARCH,
8208
8208
  description: "Search indexed content in the workspace. Supports keyword (BM25), semantic (vector), and hybrid search modes.",
8209
8209
  inputSchema: v4.z.object({
@@ -8230,7 +8230,7 @@ var searchTool = chunkAV4YSAZL_cjs.createTool({
8230
8230
  return lines.join("\n");
8231
8231
  }
8232
8232
  });
8233
- var writeFileTool = chunkAV4YSAZL_cjs.createTool({
8233
+ var writeFileTool = chunk2OYWVA6F_cjs.createTool({
8234
8234
  id: WORKSPACE_TOOLS.FILESYSTEM.WRITE_FILE,
8235
8235
  description: "Write content to a file in the workspace filesystem. Creates parent directories if needed.",
8236
8236
  inputSchema: v4.z.object({
@@ -8478,5 +8478,5 @@ exports.requireWorkspace = requireWorkspace;
8478
8478
  exports.resolveToolConfig = resolveToolConfig;
8479
8479
  exports.searchTool = searchTool;
8480
8480
  exports.writeFileTool = writeFileTool;
8481
- //# sourceMappingURL=chunk-XNBGNCVV.cjs.map
8482
- //# sourceMappingURL=chunk-XNBGNCVV.cjs.map
8481
+ //# sourceMappingURL=chunk-L2FL7HMV.cjs.map
8482
+ //# sourceMappingURL=chunk-L2FL7HMV.cjs.map