@mastra/core 1.16.0-alpha.3 → 1.16.0-alpha.4

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 (155) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/agent/index.cjs +13 -13
  3. package/dist/agent/index.js +2 -2
  4. package/dist/agent/message-list/conversion/output-converter.d.ts.map +1 -1
  5. package/dist/agent/message-list/index.cjs +18 -18
  6. package/dist/agent/message-list/index.js +1 -1
  7. package/dist/{chunk-JBAMLTYP.js → chunk-3HRPHNFN.js} +4 -4
  8. package/dist/{chunk-JBAMLTYP.js.map → chunk-3HRPHNFN.js.map} +1 -1
  9. package/dist/{chunk-AVOGYFGK.cjs → chunk-4THMANGC.cjs} +83 -83
  10. package/dist/{chunk-AVOGYFGK.cjs.map → chunk-4THMANGC.cjs.map} +1 -1
  11. package/dist/{chunk-26OOSNWN.js → chunk-5SWCNP2L.js} +3 -3
  12. package/dist/{chunk-26OOSNWN.js.map → chunk-5SWCNP2L.js.map} +1 -1
  13. package/dist/{chunk-XYT5D2T7.cjs → chunk-6VYFRSNT.cjs} +13 -13
  14. package/dist/{chunk-XYT5D2T7.cjs.map → chunk-6VYFRSNT.cjs.map} +1 -1
  15. package/dist/{chunk-WZ2EJZ7R.cjs → chunk-7L2ICIDI.cjs} +6 -6
  16. package/dist/{chunk-WZ2EJZ7R.cjs.map → chunk-7L2ICIDI.cjs.map} +1 -1
  17. package/dist/{chunk-BF2JWKWL.cjs → chunk-BQA45RHN.cjs} +5 -5
  18. package/dist/{chunk-BF2JWKWL.cjs.map → chunk-BQA45RHN.cjs.map} +1 -1
  19. package/dist/{chunk-MLCFE6MR.js → chunk-GRMC2OYN.js} +19 -3
  20. package/dist/chunk-GRMC2OYN.js.map +1 -0
  21. package/dist/{chunk-GZWOMZ7C.js → chunk-IWIO6OOO.js} +3 -3
  22. package/dist/{chunk-GZWOMZ7C.js.map → chunk-IWIO6OOO.js.map} +1 -1
  23. package/dist/{chunk-WEKILIGZ.js → chunk-J3NJXIJ4.js} +3 -3
  24. package/dist/{chunk-WEKILIGZ.js.map → chunk-J3NJXIJ4.js.map} +1 -1
  25. package/dist/{chunk-XME4PQE7.cjs → chunk-K4NN2KQQ.cjs} +19 -3
  26. package/dist/chunk-K4NN2KQQ.cjs.map +1 -0
  27. package/dist/{chunk-Q7B3NPO3.cjs → chunk-LY7WIAF5.cjs} +3 -3
  28. package/dist/{chunk-Q7B3NPO3.cjs.map → chunk-LY7WIAF5.cjs.map} +1 -1
  29. package/dist/{chunk-4LDSJHWQ.cjs → chunk-M6632FUT.cjs} +7 -7
  30. package/dist/{chunk-4LDSJHWQ.cjs.map → chunk-M6632FUT.cjs.map} +1 -1
  31. package/dist/{chunk-MQ2YFSTS.cjs → chunk-MDEWERCK.cjs} +185 -185
  32. package/dist/{chunk-MQ2YFSTS.cjs.map → chunk-MDEWERCK.cjs.map} +1 -1
  33. package/dist/{chunk-2CEWKM43.js → chunk-MXISDFVM.js} +3 -3
  34. package/dist/{chunk-2CEWKM43.js.map → chunk-MXISDFVM.js.map} +1 -1
  35. package/dist/{chunk-2NDTZII6.cjs → chunk-NEWK2BT5.cjs} +15 -15
  36. package/dist/{chunk-2NDTZII6.cjs.map → chunk-NEWK2BT5.cjs.map} +1 -1
  37. package/dist/{chunk-VQMIFPSC.cjs → chunk-NTF7UIBI.cjs} +84 -84
  38. package/dist/{chunk-VQMIFPSC.cjs.map → chunk-NTF7UIBI.cjs.map} +1 -1
  39. package/dist/{chunk-TQO7BSJX.js → chunk-OPRJPAB7.js} +3 -3
  40. package/dist/{chunk-TQO7BSJX.js.map → chunk-OPRJPAB7.js.map} +1 -1
  41. package/dist/{chunk-TKGXEXRR.js → chunk-OYAS35A6.js} +10 -10
  42. package/dist/{chunk-TKGXEXRR.js.map → chunk-OYAS35A6.js.map} +1 -1
  43. package/dist/{chunk-O6O5MD7Q.cjs → chunk-PCQBJ3NP.cjs} +5 -2
  44. package/dist/chunk-PCQBJ3NP.cjs.map +1 -0
  45. package/dist/{chunk-4EZX3JLF.cjs → chunk-PNSY2ZGF.cjs} +9 -9
  46. package/dist/{chunk-4EZX3JLF.cjs.map → chunk-PNSY2ZGF.cjs.map} +1 -1
  47. package/dist/{chunk-YVFTL5BS.cjs → chunk-RQBBPR64.cjs} +16 -16
  48. package/dist/{chunk-YVFTL5BS.cjs.map → chunk-RQBBPR64.cjs.map} +1 -1
  49. package/dist/{chunk-YPJ5V2S5.js → chunk-S6VT4LMH.js} +5 -2
  50. package/dist/chunk-S6VT4LMH.js.map +1 -0
  51. package/dist/{chunk-IS7VFXXN.js → chunk-SVE7QF2W.js} +8 -8
  52. package/dist/{chunk-IS7VFXXN.js.map → chunk-SVE7QF2W.js.map} +1 -1
  53. package/dist/{chunk-BXDWBXQW.cjs → chunk-SXVV5X4E.cjs} +13 -13
  54. package/dist/chunk-SXVV5X4E.cjs.map +1 -0
  55. package/dist/{chunk-76GUV7TZ.js → chunk-UQ5BWWRH.js} +4 -4
  56. package/dist/{chunk-76GUV7TZ.js.map → chunk-UQ5BWWRH.js.map} +1 -1
  57. package/dist/{chunk-V7KMU6NL.cjs → chunk-V2XNSBIT.cjs} +7 -7
  58. package/dist/{chunk-V7KMU6NL.cjs.map → chunk-V2XNSBIT.cjs.map} +1 -1
  59. package/dist/{chunk-RKGUSDHX.cjs → chunk-XGTV24L5.cjs} +58 -58
  60. package/dist/{chunk-RKGUSDHX.cjs.map → chunk-XGTV24L5.cjs.map} +1 -1
  61. package/dist/{chunk-7LMIK23W.js → chunk-XKOCRXCP.js} +3 -3
  62. package/dist/{chunk-7LMIK23W.js.map → chunk-XKOCRXCP.js.map} +1 -1
  63. package/dist/{chunk-A25ZFPG7.js → chunk-XU4ZIJEV.js} +7 -7
  64. package/dist/{chunk-A25ZFPG7.js.map → chunk-XU4ZIJEV.js.map} +1 -1
  65. package/dist/{chunk-YSPKTAYB.cjs → chunk-XW4B2RAG.cjs} +24 -24
  66. package/dist/{chunk-YSPKTAYB.cjs.map → chunk-XW4B2RAG.cjs.map} +1 -1
  67. package/dist/{chunk-STU7CG7E.js → chunk-YE4J2QEX.js} +5 -5
  68. package/dist/{chunk-STU7CG7E.js.map → chunk-YE4J2QEX.js.map} +1 -1
  69. package/dist/{chunk-JO36CQSY.js → chunk-YIUXBYAI.js} +12 -12
  70. package/dist/chunk-YIUXBYAI.js.map +1 -0
  71. package/dist/{chunk-WZQ2AJZV.js → chunk-YXBNQTAA.js} +8 -8
  72. package/dist/{chunk-WZQ2AJZV.js.map → chunk-YXBNQTAA.js.map} +1 -1
  73. package/dist/{chunk-TUSCHVH3.js → chunk-ZJMETLCP.js} +4 -4
  74. package/dist/{chunk-TUSCHVH3.js.map → chunk-ZJMETLCP.js.map} +1 -1
  75. package/dist/datasets/index.cjs +17 -17
  76. package/dist/datasets/index.js +2 -2
  77. package/dist/docs/SKILL.md +1 -1
  78. package/dist/docs/assets/SOURCE_MAP.json +216 -216
  79. package/dist/docs/references/docs-memory-observational-memory.md +36 -0
  80. package/dist/docs/references/reference-memory-observational-memory.md +42 -3
  81. package/dist/evals/index.cjs +5 -5
  82. package/dist/evals/index.js +2 -2
  83. package/dist/evals/scoreTraces/index.cjs +3 -3
  84. package/dist/evals/scoreTraces/index.js +1 -1
  85. package/dist/harness/index.cjs +17 -17
  86. package/dist/harness/index.js +7 -7
  87. package/dist/index.cjs +2 -2
  88. package/dist/index.js +1 -1
  89. package/dist/integration/index.cjs +2 -2
  90. package/dist/integration/index.js +1 -1
  91. package/dist/llm/index.cjs +16 -16
  92. package/dist/llm/index.js +5 -5
  93. package/dist/llm/model/provider-types.generated.d.ts +3 -3
  94. package/dist/loop/index.cjs +14 -14
  95. package/dist/loop/index.js +1 -1
  96. package/dist/mastra/index.cjs +2 -2
  97. package/dist/mastra/index.js +1 -1
  98. package/dist/memory/index.cjs +14 -14
  99. package/dist/memory/index.js +1 -1
  100. package/dist/models-dev-JCB4Q53F.js +3 -0
  101. package/dist/{models-dev-A55UVGDD.js.map → models-dev-JCB4Q53F.js.map} +1 -1
  102. package/dist/models-dev-SV7R75OF.cjs +12 -0
  103. package/dist/{models-dev-2FOUJALF.cjs.map → models-dev-SV7R75OF.cjs.map} +1 -1
  104. package/dist/netlify-KG6ZIIC5.js +3 -0
  105. package/dist/{netlify-MF3L2BRE.js.map → netlify-KG6ZIIC5.js.map} +1 -1
  106. package/dist/netlify-SGAVTHDG.cjs +12 -0
  107. package/dist/{netlify-I3P5QPXG.cjs.map → netlify-SGAVTHDG.cjs.map} +1 -1
  108. package/dist/processor-provider/index.cjs +10 -10
  109. package/dist/processor-provider/index.js +1 -1
  110. package/dist/processors/index.cjs +42 -42
  111. package/dist/processors/index.js +1 -1
  112. package/dist/provider-registry-INQUWPG6.js +3 -0
  113. package/dist/{provider-registry-J76YNM72.js.map → provider-registry-INQUWPG6.js.map} +1 -1
  114. package/dist/provider-registry-UIDQJHBI.cjs +40 -0
  115. package/dist/{provider-registry-QB6DEJ7U.cjs.map → provider-registry-UIDQJHBI.cjs.map} +1 -1
  116. package/dist/provider-registry.json +8 -8
  117. package/dist/relevance/index.cjs +3 -3
  118. package/dist/relevance/index.js +1 -1
  119. package/dist/storage/index.cjs +74 -74
  120. package/dist/storage/index.js +1 -1
  121. package/dist/stream/index.cjs +11 -11
  122. package/dist/stream/index.js +2 -2
  123. package/dist/test-utils/llm-mock.cjs +4 -4
  124. package/dist/test-utils/llm-mock.js +1 -1
  125. package/dist/tool-loop-agent/index.cjs +4 -4
  126. package/dist/tool-loop-agent/index.js +1 -1
  127. package/dist/tools/index.cjs +7 -7
  128. package/dist/tools/index.js +1 -1
  129. package/dist/tools/is-vercel-tool.cjs +2 -2
  130. package/dist/tools/is-vercel-tool.js +1 -1
  131. package/dist/tools/validation.d.ts.map +1 -1
  132. package/dist/utils.cjs +23 -23
  133. package/dist/utils.js +1 -1
  134. package/dist/vector/index.cjs +7 -7
  135. package/dist/vector/index.js +1 -1
  136. package/dist/workflows/evented/index.cjs +10 -10
  137. package/dist/workflows/evented/index.js +1 -1
  138. package/dist/workflows/index.cjs +24 -24
  139. package/dist/workflows/index.js +1 -1
  140. package/dist/workspace/index.cjs +68 -68
  141. package/dist/workspace/index.js +1 -1
  142. package/package.json +6 -6
  143. package/src/llm/model/provider-types.generated.d.ts +3 -3
  144. package/dist/chunk-BXDWBXQW.cjs.map +0 -1
  145. package/dist/chunk-JO36CQSY.js.map +0 -1
  146. package/dist/chunk-MLCFE6MR.js.map +0 -1
  147. package/dist/chunk-O6O5MD7Q.cjs.map +0 -1
  148. package/dist/chunk-XME4PQE7.cjs.map +0 -1
  149. package/dist/chunk-YPJ5V2S5.js.map +0 -1
  150. package/dist/models-dev-2FOUJALF.cjs +0 -12
  151. package/dist/models-dev-A55UVGDD.js +0 -3
  152. package/dist/netlify-I3P5QPXG.cjs +0 -12
  153. package/dist/netlify-MF3L2BRE.js +0 -3
  154. package/dist/provider-registry-J76YNM72.js +0 -3
  155. package/dist/provider-registry-QB6DEJ7U.cjs +0 -40
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXME4PQE7_cjs = require('./chunk-XME4PQE7.cjs');
3
+ var chunkK4NN2KQQ_cjs = require('./chunk-K4NN2KQQ.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-YSPKTAYB.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-XW4B2RAG.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-YSPKTAYB.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-XW4B2RAG.cjs', document.baseURI).href)));
1602
1602
  const jsonrpc = req("vscode-jsonrpc/node");
1603
1603
  const protocol = req("vscode-languageserver-protocol");
1604
1604
  jsonrpcModule = {
@@ -5984,7 +5984,7 @@ async function resolveSkill(skills, identifier) {
5984
5984
  return { notFound: `Skill "${identifier}" not found. Available skills: ${skillEntries.join(", ")}` };
5985
5985
  }
5986
5986
  function createSkillTool(skills) {
5987
- const tool = chunkXME4PQE7_cjs.createTool({
5987
+ const tool = chunkK4NN2KQQ_cjs.createTool({
5988
5988
  id: "skill",
5989
5989
  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.",
5990
5990
  inputSchema: v4.z.object({
@@ -6019,7 +6019,7 @@ ${skill.assets.map((a) => `- assets/${a}`).join("\n")}`);
6019
6019
  return tool;
6020
6020
  }
6021
6021
  function createSkillSearchTool(skills) {
6022
- const tool = chunkXME4PQE7_cjs.createTool({
6022
+ const tool = chunkK4NN2KQQ_cjs.createTool({
6023
6023
  id: "skill_search",
6024
6024
  description: "Search across skill content to find relevant information. Useful when you need to find specific details within skills.",
6025
6025
  inputSchema: v4.z.object({
@@ -6043,7 +6043,7 @@ ${preview}`;
6043
6043
  return tool;
6044
6044
  }
6045
6045
  function createSkillReadTool(skills) {
6046
- const tool = chunkXME4PQE7_cjs.createTool({
6046
+ const tool = chunkK4NN2KQQ_cjs.createTool({
6047
6047
  id: "skill_read",
6048
6048
  description: "Read a file from a skill directory (references, scripts, or assets). The path is relative to the skill root.",
6049
6049
  inputSchema: v4.z.object({
@@ -6740,7 +6740,7 @@ function isAstGrepAvailable() {
6740
6740
  return astGrepModule !== null;
6741
6741
  }
6742
6742
  try {
6743
- const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-YSPKTAYB.cjs', document.baseURI).href)));
6743
+ const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-XW4B2RAG.cjs', document.baseURI).href)));
6744
6744
  req.resolve("@ast-grep/napi");
6745
6745
  return true;
6746
6746
  } catch {
@@ -6910,7 +6910,7 @@ function patternReplace(content, root, pattern, replacement) {
6910
6910
  }
6911
6911
  return { content: modifiedContent, count };
6912
6912
  }
6913
- var astEditTool = chunkXME4PQE7_cjs.createTool({
6913
+ var astEditTool = chunkK4NN2KQQ_cjs.createTool({
6914
6914
  id: WORKSPACE_TOOLS.FILESYSTEM.AST_EDIT,
6915
6915
  description: `Edit code using AST-based analysis for intelligent transformations.
6916
6916
 
@@ -7029,7 +7029,7 @@ Pattern replace (for everything else):
7029
7029
  return output;
7030
7030
  }
7031
7031
  });
7032
- var deleteFileTool = chunkXME4PQE7_cjs.createTool({
7032
+ var deleteFileTool = chunkK4NN2KQQ_cjs.createTool({
7033
7033
  id: WORKSPACE_TOOLS.FILESYSTEM.DELETE,
7034
7034
  description: "Delete a file or directory from the workspace filesystem",
7035
7035
  inputSchema: v4.z.object({
@@ -7051,7 +7051,7 @@ var deleteFileTool = chunkXME4PQE7_cjs.createTool({
7051
7051
  return `Deleted ${path7}`;
7052
7052
  }
7053
7053
  });
7054
- var editFileTool = chunkXME4PQE7_cjs.createTool({
7054
+ var editFileTool = chunkK4NN2KQQ_cjs.createTool({
7055
7055
  id: WORKSPACE_TOOLS.FILESYSTEM.EDIT_FILE,
7056
7056
  description: `Edit a file by replacing specific text. The old_string must match exactly and be unique in the file.
7057
7057
 
@@ -7313,14 +7313,14 @@ Usage:
7313
7313
  - Always quote file paths that contain spaces (e.g., cd "/path/with spaces").
7314
7314
  - Use the timeout parameter (in seconds) to limit execution time. Behavior when omitted depends on the sandbox provider.
7315
7315
  - Optionally use cwd to override the working directory. Commands run from the sandbox default if omitted.`;
7316
- var executeCommandTool = chunkXME4PQE7_cjs.createTool({
7316
+ var executeCommandTool = chunkK4NN2KQQ_cjs.createTool({
7317
7317
  id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
7318
7318
  description: baseDescription,
7319
7319
  inputSchema: executeCommandInputSchema,
7320
7320
  execute: executeCommand,
7321
7321
  toModelOutput: sandboxToModelOutput
7322
7322
  });
7323
- var executeCommandWithBackgroundTool = chunkXME4PQE7_cjs.createTool({
7323
+ var executeCommandWithBackgroundTool = chunkK4NN2KQQ_cjs.createTool({
7324
7324
  id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
7325
7325
  description: `${baseDescription}
7326
7326
 
@@ -7329,7 +7329,7 @@ Set background: true to run long-running commands (dev servers, watchers) withou
7329
7329
  execute: executeCommand,
7330
7330
  toModelOutput: sandboxToModelOutput
7331
7331
  });
7332
- var fileStatTool = chunkXME4PQE7_cjs.createTool({
7332
+ var fileStatTool = chunkK4NN2KQQ_cjs.createTool({
7333
7333
  id: WORKSPACE_TOOLS.FILESYSTEM.FILE_STAT,
7334
7334
  description: "Get file or directory metadata from the workspace. Returns existence, type, size, and modification time.",
7335
7335
  inputSchema: v4.z.object({
@@ -7353,7 +7353,7 @@ var fileStatTool = chunkXME4PQE7_cjs.createTool({
7353
7353
  }
7354
7354
  }
7355
7355
  });
7356
- var getProcessOutputTool = chunkXME4PQE7_cjs.createTool({
7356
+ var getProcessOutputTool = chunkK4NN2KQQ_cjs.createTool({
7357
7357
  id: WORKSPACE_TOOLS.SANDBOX.GET_PROCESS_OUTPUT,
7358
7358
  description: `Get the current output (stdout, stderr) and status of a background process by its PID.
7359
7359
 
@@ -7451,7 +7451,7 @@ async function loadGitignore(filesystem) {
7451
7451
  }
7452
7452
 
7453
7453
  // src/workspace/tools/grep.ts
7454
- var grepTool = chunkXME4PQE7_cjs.createTool({
7454
+ var grepTool = chunkK4NN2KQQ_cjs.createTool({
7455
7455
  id: WORKSPACE_TOOLS.FILESYSTEM.GREP,
7456
7456
  description: `Search file contents using a regex pattern. Walks the filesystem and returns matching lines with file paths and line numbers.
7457
7457
 
@@ -7605,7 +7605,7 @@ Usage:
7605
7605
  );
7606
7606
  }
7607
7607
  });
7608
- var indexContentTool = chunkXME4PQE7_cjs.createTool({
7608
+ var indexContentTool = chunkK4NN2KQQ_cjs.createTool({
7609
7609
  id: WORKSPACE_TOOLS.SEARCH.INDEX,
7610
7610
  description: "Index content for search. The path becomes the document ID in search results.",
7611
7611
  inputSchema: v4.z.object({
@@ -7621,7 +7621,7 @@ var indexContentTool = chunkXME4PQE7_cjs.createTool({
7621
7621
  }
7622
7622
  });
7623
7623
  var KILL_TAIL_LINES = 50;
7624
- var killProcessTool = chunkXME4PQE7_cjs.createTool({
7624
+ var killProcessTool = chunkK4NN2KQQ_cjs.createTool({
7625
7625
  id: WORKSPACE_TOOLS.SANDBOX.KILL_PROCESS,
7626
7626
  description: `Kill a background process by its PID.
7627
7627
 
@@ -7810,7 +7810,7 @@ function joinPath2(base, name) {
7810
7810
  }
7811
7811
 
7812
7812
  // src/workspace/tools/list-files.ts
7813
- var listFilesTool = chunkXME4PQE7_cjs.createTool({
7813
+ var listFilesTool = chunkK4NN2KQQ_cjs.createTool({
7814
7814
  id: WORKSPACE_TOOLS.FILESYSTEM.LIST_FILES,
7815
7815
  description: `List files and directories in the workspace filesystem.
7816
7816
  Returns a compact tab-indented listing for efficient token usage.
@@ -7857,7 +7857,7 @@ ${result.summary}`,
7857
7857
  );
7858
7858
  }
7859
7859
  });
7860
- var mkdirTool = chunkXME4PQE7_cjs.createTool({
7860
+ var mkdirTool = chunkK4NN2KQQ_cjs.createTool({
7861
7861
  id: WORKSPACE_TOOLS.FILESYSTEM.MKDIR,
7862
7862
  description: "Create a directory in the workspace filesystem",
7863
7863
  inputSchema: v4.z.object({
@@ -7874,7 +7874,7 @@ var mkdirTool = chunkXME4PQE7_cjs.createTool({
7874
7874
  return `Created directory ${path7}`;
7875
7875
  }
7876
7876
  });
7877
- var readFileTool = chunkXME4PQE7_cjs.createTool({
7877
+ var readFileTool = chunkK4NN2KQQ_cjs.createTool({
7878
7878
  id: WORKSPACE_TOOLS.FILESYSTEM.READ_FILE,
7879
7879
  description: "Read the contents of a file from the workspace filesystem. Use offset/limit parameters to read specific line ranges for large files.",
7880
7880
  inputSchema: v4.z.object({
@@ -7922,7 +7922,7 @@ ${fullContent.toString("base64")}`,
7922
7922
  ${formattedContent}`, tokenLimit, "end");
7923
7923
  }
7924
7924
  });
7925
- var searchTool = chunkXME4PQE7_cjs.createTool({
7925
+ var searchTool = chunkK4NN2KQQ_cjs.createTool({
7926
7926
  id: WORKSPACE_TOOLS.SEARCH.SEARCH,
7927
7927
  description: "Search indexed content in the workspace. Supports keyword (BM25), semantic (vector), and hybrid search modes.",
7928
7928
  inputSchema: v4.z.object({
@@ -7949,7 +7949,7 @@ var searchTool = chunkXME4PQE7_cjs.createTool({
7949
7949
  return lines.join("\n");
7950
7950
  }
7951
7951
  });
7952
- var writeFileTool = chunkXME4PQE7_cjs.createTool({
7952
+ var writeFileTool = chunkK4NN2KQQ_cjs.createTool({
7953
7953
  id: WORKSPACE_TOOLS.FILESYSTEM.WRITE_FILE,
7954
7954
  description: "Write content to a file in the workspace filesystem. Creates parent directories if needed.",
7955
7955
  inputSchema: v4.z.object({
@@ -8196,5 +8196,5 @@ exports.requireWorkspace = requireWorkspace;
8196
8196
  exports.resolveToolConfig = resolveToolConfig;
8197
8197
  exports.searchTool = searchTool;
8198
8198
  exports.writeFileTool = writeFileTool;
8199
- //# sourceMappingURL=chunk-YSPKTAYB.cjs.map
8200
- //# sourceMappingURL=chunk-YSPKTAYB.cjs.map
8199
+ //# sourceMappingURL=chunk-XW4B2RAG.cjs.map
8200
+ //# sourceMappingURL=chunk-XW4B2RAG.cjs.map