@mastra/core 1.18.0-alpha.3 → 1.18.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 (213) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/_types/@internal_core/dist/index.d.ts +521 -172
  3. package/dist/agent/index.cjs +8 -8
  4. package/dist/agent/index.js +1 -1
  5. package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
  6. package/dist/{chunk-4K2NKQGN.cjs → chunk-2OZQLYLM.cjs} +196 -194
  7. package/dist/chunk-2OZQLYLM.cjs.map +1 -0
  8. package/dist/{chunk-VVR3SFKH.cjs → chunk-2RGBP3A3.cjs} +70 -70
  9. package/dist/{chunk-VVR3SFKH.cjs.map → chunk-2RGBP3A3.cjs.map} +1 -1
  10. package/dist/{chunk-GVHBM6VU.cjs → chunk-4LDFFARO.cjs} +29 -11
  11. package/dist/chunk-4LDFFARO.cjs.map +1 -0
  12. package/dist/{chunk-T5XU5TAV.cjs → chunk-4QLIPOI7.cjs} +82 -82
  13. package/dist/{chunk-T5XU5TAV.cjs.map → chunk-4QLIPOI7.cjs.map} +1 -1
  14. package/dist/{chunk-ZFZ6HQFT.cjs → chunk-5M3CKUAS.cjs} +210 -187
  15. package/dist/chunk-5M3CKUAS.cjs.map +1 -0
  16. package/dist/{chunk-D5VCCQ4L.js → chunk-6DDSP6ZE.js} +5 -5
  17. package/dist/{chunk-D5VCCQ4L.js.map → chunk-6DDSP6ZE.js.map} +1 -1
  18. package/dist/{chunk-5IZ346TV.cjs → chunk-A2FSD2KN.cjs} +7 -7
  19. package/dist/{chunk-5IZ346TV.cjs.map → chunk-A2FSD2KN.cjs.map} +1 -1
  20. package/dist/{chunk-64565EZF.cjs → chunk-ATKRXBCX.cjs} +22 -22
  21. package/dist/{chunk-64565EZF.cjs.map → chunk-ATKRXBCX.cjs.map} +1 -1
  22. package/dist/{chunk-K4NN2KQQ.cjs → chunk-AV4YSAZL.cjs} +6 -2
  23. package/dist/chunk-AV4YSAZL.cjs.map +1 -0
  24. package/dist/{chunk-7USX5P3I.js → chunk-B5LIMU4I.js} +28 -5
  25. package/dist/chunk-B5LIMU4I.js.map +1 -0
  26. package/dist/{chunk-BFRUEBG3.js → chunk-CEWIMGYP.js} +4 -4
  27. package/dist/{chunk-BFRUEBG3.js.map → chunk-CEWIMGYP.js.map} +1 -1
  28. package/dist/{chunk-X36INADV.cjs → chunk-CGDV5YUS.cjs} +131 -48
  29. package/dist/chunk-CGDV5YUS.cjs.map +1 -0
  30. package/dist/{chunk-HDPQ3LEE.js → chunk-DJ2RXLO3.js} +4 -4
  31. package/dist/{chunk-HDPQ3LEE.js.map → chunk-DJ2RXLO3.js.map} +1 -1
  32. package/dist/{chunk-OKKJRRSS.cjs → chunk-E7LJ7F56.cjs} +32 -14
  33. package/dist/chunk-E7LJ7F56.cjs.map +1 -0
  34. package/dist/{chunk-W2QYKEBN.js → chunk-ERAZTMF6.js} +113 -30
  35. package/dist/chunk-ERAZTMF6.js.map +1 -0
  36. package/dist/{chunk-IR4WRS3N.js → chunk-F77BL7Z7.js} +31 -13
  37. package/dist/chunk-F77BL7Z7.js.map +1 -0
  38. package/dist/{chunk-GRMC2OYN.js → chunk-FA4PTEBK.js} +6 -3
  39. package/dist/chunk-FA4PTEBK.js.map +1 -0
  40. package/dist/{chunk-YBVRBNRY.js → chunk-GIBIKVUG.js} +7 -7
  41. package/dist/{chunk-YBVRBNRY.js.map → chunk-GIBIKVUG.js.map} +1 -1
  42. package/dist/{chunk-QVVWKMFM.cjs → chunk-GXXNF6NF.cjs} +25 -25
  43. package/dist/{chunk-QVVWKMFM.cjs.map → chunk-GXXNF6NF.cjs.map} +1 -1
  44. package/dist/{chunk-OYAHOEQP.js → chunk-HJVPOP5S.js} +27 -9
  45. package/dist/chunk-HJVPOP5S.js.map +1 -0
  46. package/dist/{chunk-ABA3KD3X.js → chunk-HRT662B6.js} +3 -3
  47. package/dist/{chunk-ABA3KD3X.js.map → chunk-HRT662B6.js.map} +1 -1
  48. package/dist/chunk-IHVB4C5U.cjs +4 -0
  49. package/dist/{chunk-ROOVGRNA.cjs.map → chunk-IHVB4C5U.cjs.map} +1 -1
  50. package/dist/{chunk-OVWOD5GI.cjs → chunk-IKYWIQB2.cjs} +20 -20
  51. package/dist/{chunk-OVWOD5GI.cjs.map → chunk-IKYWIQB2.cjs.map} +1 -1
  52. package/dist/{chunk-UORUVXKY.js → chunk-JYVH24UY.js} +6 -6
  53. package/dist/{chunk-UORUVXKY.js.map → chunk-JYVH24UY.js.map} +1 -1
  54. package/dist/{chunk-AHFHYQS6.js → chunk-LQHNR4L7.js} +4 -4
  55. package/dist/{chunk-AHFHYQS6.js.map → chunk-LQHNR4L7.js.map} +1 -1
  56. package/dist/{chunk-OXS5X7PW.cjs → chunk-OJQCLQK7.cjs} +13 -13
  57. package/dist/{chunk-OXS5X7PW.cjs.map → chunk-OJQCLQK7.cjs.map} +1 -1
  58. package/dist/{chunk-CX5I6VS4.js → chunk-QE7OKYS3.js} +111 -38
  59. package/dist/chunk-QE7OKYS3.js.map +1 -0
  60. package/dist/{chunk-FB6O7FNK.js → chunk-QOFOOVPM.js} +9 -9
  61. package/dist/{chunk-FB6O7FNK.js.map → chunk-QOFOOVPM.js.map} +1 -1
  62. package/dist/{chunk-SLHDZJ4B.js → chunk-RHQHBU6R.js} +5 -4
  63. package/dist/chunk-RHQHBU6R.js.map +1 -0
  64. package/dist/{chunk-3UM5VCQ5.cjs → chunk-RIUDLIP3.cjs} +3 -3
  65. package/dist/{chunk-3UM5VCQ5.cjs.map → chunk-RIUDLIP3.cjs.map} +1 -1
  66. package/dist/chunk-S43VACTO.js +3 -0
  67. package/dist/{chunk-DMX7MC4N.js.map → chunk-S43VACTO.js.map} +1 -1
  68. package/dist/{chunk-PYNUWPGW.cjs → chunk-SMWXSQXP.cjs} +19 -19
  69. package/dist/{chunk-PYNUWPGW.cjs.map → chunk-SMWXSQXP.cjs.map} +1 -1
  70. package/dist/{chunk-32NEFSTI.js → chunk-T3TFXXGP.js} +12 -10
  71. package/dist/chunk-T3TFXXGP.js.map +1 -0
  72. package/dist/{chunk-6LHF5UDX.cjs → chunk-ULPWI6DN.cjs} +9 -9
  73. package/dist/{chunk-6LHF5UDX.cjs.map → chunk-ULPWI6DN.cjs.map} +1 -1
  74. package/dist/{chunk-QXPUTX3W.cjs → chunk-UZ426KMJ.cjs} +33 -32
  75. package/dist/chunk-UZ426KMJ.cjs.map +1 -0
  76. package/dist/{chunk-B6D4D2CY.cjs → chunk-VYVPUH6H.cjs} +112 -37
  77. package/dist/chunk-VYVPUH6H.cjs.map +1 -0
  78. package/dist/{chunk-MP2VGF73.js → chunk-WINCOFML.js} +3 -3
  79. package/dist/{chunk-MP2VGF73.js.map → chunk-WINCOFML.js.map} +1 -1
  80. package/dist/{chunk-ZFH5KWHO.js → chunk-Z5FE6LBA.js} +3 -3
  81. package/dist/{chunk-ZFH5KWHO.js.map → chunk-Z5FE6LBA.js.map} +1 -1
  82. package/dist/datasets/dataset.d.ts +1 -0
  83. package/dist/datasets/dataset.d.ts.map +1 -1
  84. package/dist/datasets/experiment/index.d.ts.map +1 -1
  85. package/dist/datasets/index.cjs +17 -17
  86. package/dist/datasets/index.js +2 -2
  87. package/dist/datasets/manager.d.ts +1 -0
  88. package/dist/datasets/manager.d.ts.map +1 -1
  89. package/dist/docs/SKILL.md +1 -1
  90. package/dist/docs/assets/SOURCE_MAP.json +534 -521
  91. package/dist/docs/references/reference-configuration.md +24 -0
  92. package/dist/docs/references/reference-core-mastra-model-gateway.md +2 -0
  93. package/dist/evals/index.cjs +23 -23
  94. package/dist/evals/index.js +3 -3
  95. package/dist/evals/scoreTraces/index.cjs +7 -7
  96. package/dist/evals/scoreTraces/index.js +3 -3
  97. package/dist/harness/index.cjs +17 -17
  98. package/dist/harness/index.js +7 -7
  99. package/dist/index.cjs +2 -2
  100. package/dist/index.js +1 -1
  101. package/dist/integration/index.cjs +2 -2
  102. package/dist/integration/index.js +1 -1
  103. package/dist/llm/index.cjs +16 -16
  104. package/dist/llm/index.js +5 -5
  105. package/dist/llm/model/gateways/models-dev.d.ts.map +1 -1
  106. package/dist/llm/model/provider-types.generated.d.ts +11 -2
  107. package/dist/loop/index.cjs +14 -14
  108. package/dist/loop/index.js +1 -1
  109. package/dist/mastra/index.cjs +2 -2
  110. package/dist/mastra/index.js +1 -1
  111. package/dist/memory/index.cjs +14 -14
  112. package/dist/memory/index.js +1 -1
  113. package/dist/models-dev-JGKQCSEN.js +3 -0
  114. package/dist/{models-dev-VDZIOMAC.js.map → models-dev-JGKQCSEN.js.map} +1 -1
  115. package/dist/models-dev-THY3NOPF.cjs +12 -0
  116. package/dist/{models-dev-MIC2CW43.cjs.map → models-dev-THY3NOPF.cjs.map} +1 -1
  117. package/dist/netlify-6TILQFDV.js +3 -0
  118. package/dist/{netlify-2CGMKEKT.js.map → netlify-6TILQFDV.js.map} +1 -1
  119. package/dist/netlify-NL6O2R7M.cjs +12 -0
  120. package/dist/{netlify-KZ4HQR5N.cjs.map → netlify-NL6O2R7M.cjs.map} +1 -1
  121. package/dist/observability/index.cjs +18 -18
  122. package/dist/observability/index.js +1 -1
  123. package/dist/observability/no-op.d.ts +14 -1
  124. package/dist/observability/no-op.d.ts.map +1 -1
  125. package/dist/observability/types/core.d.ts +35 -4
  126. package/dist/observability/types/core.d.ts.map +1 -1
  127. package/dist/observability/types/feedback.d.ts +42 -11
  128. package/dist/observability/types/feedback.d.ts.map +1 -1
  129. package/dist/observability/types/logging.d.ts +6 -9
  130. package/dist/observability/types/logging.d.ts.map +1 -1
  131. package/dist/observability/types/metrics.d.ts +6 -4
  132. package/dist/observability/types/metrics.d.ts.map +1 -1
  133. package/dist/observability/types/scores.d.ts +25 -10
  134. package/dist/observability/types/scores.d.ts.map +1 -1
  135. package/dist/observability/types/tracing.d.ts +12 -5
  136. package/dist/observability/types/tracing.d.ts.map +1 -1
  137. package/dist/processor-provider/index.cjs +10 -10
  138. package/dist/processor-provider/index.js +1 -1
  139. package/dist/processors/index.cjs +44 -44
  140. package/dist/processors/index.js +1 -1
  141. package/dist/processors/runner.d.ts.map +1 -1
  142. package/dist/provider-registry-CRD5YYZY.js +3 -0
  143. package/dist/{provider-registry-QRWUBN5N.js.map → provider-registry-CRD5YYZY.js.map} +1 -1
  144. package/dist/provider-registry-KXOHTVQF.cjs +40 -0
  145. package/dist/{provider-registry-HGWTTWCL.cjs.map → provider-registry-KXOHTVQF.cjs.map} +1 -1
  146. package/dist/provider-registry.json +27 -9
  147. package/dist/relevance/index.cjs +3 -3
  148. package/dist/relevance/index.js +1 -1
  149. package/dist/server/types.d.ts +16 -0
  150. package/dist/server/types.d.ts.map +1 -1
  151. package/dist/storage/constants.cjs +56 -56
  152. package/dist/storage/constants.d.ts.map +1 -1
  153. package/dist/storage/constants.js +1 -1
  154. package/dist/storage/domains/datasets/inmemory.d.ts.map +1 -1
  155. package/dist/storage/domains/observability/inmemory.d.ts.map +1 -1
  156. package/dist/storage/domains/observability/record-builders.d.ts.map +1 -1
  157. package/dist/storage/domains/observability/tracing.d.ts +8 -8
  158. package/dist/storage/domains/shared.d.ts +1 -1
  159. package/dist/storage/domains/shared.d.ts.map +1 -1
  160. package/dist/storage/index.cjs +276 -268
  161. package/dist/storage/index.js +3 -3
  162. package/dist/storage/types.d.ts +3 -0
  163. package/dist/storage/types.d.ts.map +1 -1
  164. package/dist/stream/index.cjs +8 -8
  165. package/dist/stream/index.js +1 -1
  166. package/dist/test-utils/llm-mock.cjs +4 -4
  167. package/dist/test-utils/llm-mock.js +1 -1
  168. package/dist/tool-loop-agent/index.cjs +4 -4
  169. package/dist/tool-loop-agent/index.js +1 -1
  170. package/dist/tools/index.cjs +11 -7
  171. package/dist/tools/index.d.ts +1 -1
  172. package/dist/tools/index.d.ts.map +1 -1
  173. package/dist/tools/index.js +1 -1
  174. package/dist/tools/is-vercel-tool.cjs +2 -2
  175. package/dist/tools/is-vercel-tool.js +1 -1
  176. package/dist/tools/validation.d.ts +1 -0
  177. package/dist/tools/validation.d.ts.map +1 -1
  178. package/dist/utils.cjs +23 -23
  179. package/dist/utils.js +1 -1
  180. package/dist/vector/index.cjs +7 -7
  181. package/dist/vector/index.js +1 -1
  182. package/dist/workflows/evented/index.cjs +10 -10
  183. package/dist/workflows/evented/index.js +1 -1
  184. package/dist/workflows/index.cjs +24 -24
  185. package/dist/workflows/index.js +1 -1
  186. package/dist/workspace/index.cjs +68 -68
  187. package/dist/workspace/index.js +1 -1
  188. package/package.json +3 -3
  189. package/src/llm/model/provider-types.generated.d.ts +11 -2
  190. package/dist/chunk-32NEFSTI.js.map +0 -1
  191. package/dist/chunk-4K2NKQGN.cjs.map +0 -1
  192. package/dist/chunk-7USX5P3I.js.map +0 -1
  193. package/dist/chunk-B6D4D2CY.cjs.map +0 -1
  194. package/dist/chunk-CX5I6VS4.js.map +0 -1
  195. package/dist/chunk-DMX7MC4N.js +0 -3
  196. package/dist/chunk-GRMC2OYN.js.map +0 -1
  197. package/dist/chunk-GVHBM6VU.cjs.map +0 -1
  198. package/dist/chunk-IR4WRS3N.js.map +0 -1
  199. package/dist/chunk-K4NN2KQQ.cjs.map +0 -1
  200. package/dist/chunk-OKKJRRSS.cjs.map +0 -1
  201. package/dist/chunk-OYAHOEQP.js.map +0 -1
  202. package/dist/chunk-QXPUTX3W.cjs.map +0 -1
  203. package/dist/chunk-ROOVGRNA.cjs +0 -4
  204. package/dist/chunk-SLHDZJ4B.js.map +0 -1
  205. package/dist/chunk-W2QYKEBN.js.map +0 -1
  206. package/dist/chunk-X36INADV.cjs.map +0 -1
  207. package/dist/chunk-ZFZ6HQFT.cjs.map +0 -1
  208. package/dist/models-dev-MIC2CW43.cjs +0 -12
  209. package/dist/models-dev-VDZIOMAC.js +0 -3
  210. package/dist/netlify-2CGMKEKT.js +0 -3
  211. package/dist/netlify-KZ4HQR5N.cjs +0 -12
  212. package/dist/provider-registry-HGWTTWCL.cjs +0 -40
  213. package/dist/provider-registry-QRWUBN5N.js +0 -3
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkK4NN2KQQ_cjs = require('./chunk-K4NN2KQQ.cjs');
3
+ var chunkAV4YSAZL_cjs = require('./chunk-AV4YSAZL.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-QVVWKMFM.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-GXXNF6NF.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-QVVWKMFM.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-GXXNF6NF.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 = chunkK4NN2KQQ_cjs.createTool({
6072
+ const tool = chunkAV4YSAZL_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 = chunkK4NN2KQQ_cjs.createTool({
6107
+ const tool = chunkAV4YSAZL_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 = chunkK4NN2KQQ_cjs.createTool({
6131
+ const tool = chunkAV4YSAZL_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({
@@ -6828,7 +6828,7 @@ function isAstGrepAvailable() {
6828
6828
  return astGrepModule !== null;
6829
6829
  }
6830
6830
  try {
6831
- const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-QVVWKMFM.cjs', document.baseURI).href)));
6831
+ const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-GXXNF6NF.cjs', document.baseURI).href)));
6832
6832
  req.resolve("@ast-grep/napi");
6833
6833
  return true;
6834
6834
  } catch {
@@ -6998,7 +6998,7 @@ function patternReplace(content, root, pattern, replacement) {
6998
6998
  }
6999
6999
  return { content: modifiedContent, count };
7000
7000
  }
7001
- var astEditTool = chunkK4NN2KQQ_cjs.createTool({
7001
+ var astEditTool = chunkAV4YSAZL_cjs.createTool({
7002
7002
  id: WORKSPACE_TOOLS.FILESYSTEM.AST_EDIT,
7003
7003
  description: `Edit code using AST-based analysis for intelligent transformations.
7004
7004
 
@@ -7117,7 +7117,7 @@ Pattern replace (for everything else):
7117
7117
  return output;
7118
7118
  }
7119
7119
  });
7120
- var deleteFileTool = chunkK4NN2KQQ_cjs.createTool({
7120
+ var deleteFileTool = chunkAV4YSAZL_cjs.createTool({
7121
7121
  id: WORKSPACE_TOOLS.FILESYSTEM.DELETE,
7122
7122
  description: "Delete a file or directory from the workspace filesystem",
7123
7123
  inputSchema: v4.z.object({
@@ -7139,7 +7139,7 @@ var deleteFileTool = chunkK4NN2KQQ_cjs.createTool({
7139
7139
  return `Deleted ${path8}`;
7140
7140
  }
7141
7141
  });
7142
- var editFileTool = chunkK4NN2KQQ_cjs.createTool({
7142
+ var editFileTool = chunkAV4YSAZL_cjs.createTool({
7143
7143
  id: WORKSPACE_TOOLS.FILESYSTEM.EDIT_FILE,
7144
7144
  description: `Edit a file by replacing specific text. The old_string must match exactly and be unique in the file.
7145
7145
 
@@ -7401,14 +7401,14 @@ Usage:
7401
7401
  - Always quote file paths that contain spaces (e.g., cd "/path/with spaces").
7402
7402
  - Use the timeout parameter (in seconds) to limit execution time. Behavior when omitted depends on the sandbox provider.
7403
7403
  - Optionally use cwd to override the working directory. Commands run from the sandbox default if omitted.`;
7404
- var executeCommandTool = chunkK4NN2KQQ_cjs.createTool({
7404
+ var executeCommandTool = chunkAV4YSAZL_cjs.createTool({
7405
7405
  id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
7406
7406
  description: baseDescription,
7407
7407
  inputSchema: executeCommandInputSchema,
7408
7408
  execute: executeCommand,
7409
7409
  toModelOutput: sandboxToModelOutput
7410
7410
  });
7411
- var executeCommandWithBackgroundTool = chunkK4NN2KQQ_cjs.createTool({
7411
+ var executeCommandWithBackgroundTool = chunkAV4YSAZL_cjs.createTool({
7412
7412
  id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
7413
7413
  description: `${baseDescription}
7414
7414
 
@@ -7417,7 +7417,7 @@ Set background: true to run long-running commands (dev servers, watchers) withou
7417
7417
  execute: executeCommand,
7418
7418
  toModelOutput: sandboxToModelOutput
7419
7419
  });
7420
- var fileStatTool = chunkK4NN2KQQ_cjs.createTool({
7420
+ var fileStatTool = chunkAV4YSAZL_cjs.createTool({
7421
7421
  id: WORKSPACE_TOOLS.FILESYSTEM.FILE_STAT,
7422
7422
  description: "Get file or directory metadata from the workspace. Returns existence, type, size, and modification time.",
7423
7423
  inputSchema: v4.z.object({
@@ -7441,7 +7441,7 @@ var fileStatTool = chunkK4NN2KQQ_cjs.createTool({
7441
7441
  }
7442
7442
  }
7443
7443
  });
7444
- var getProcessOutputTool = chunkK4NN2KQQ_cjs.createTool({
7444
+ var getProcessOutputTool = chunkAV4YSAZL_cjs.createTool({
7445
7445
  id: WORKSPACE_TOOLS.SANDBOX.GET_PROCESS_OUTPUT,
7446
7446
  description: `Get the current output (stdout, stderr) and status of a background process by its PID.
7447
7447
 
@@ -7539,7 +7539,7 @@ async function loadGitignore(filesystem) {
7539
7539
  }
7540
7540
 
7541
7541
  // src/workspace/tools/grep.ts
7542
- var grepTool = chunkK4NN2KQQ_cjs.createTool({
7542
+ var grepTool = chunkAV4YSAZL_cjs.createTool({
7543
7543
  id: WORKSPACE_TOOLS.FILESYSTEM.GREP,
7544
7544
  description: `Search file contents using a regex pattern. Walks the filesystem and returns matching lines with file paths and line numbers.
7545
7545
 
@@ -7693,7 +7693,7 @@ Usage:
7693
7693
  );
7694
7694
  }
7695
7695
  });
7696
- var indexContentTool = chunkK4NN2KQQ_cjs.createTool({
7696
+ var indexContentTool = chunkAV4YSAZL_cjs.createTool({
7697
7697
  id: WORKSPACE_TOOLS.SEARCH.INDEX,
7698
7698
  description: "Index content for search. The path becomes the document ID in search results.",
7699
7699
  inputSchema: v4.z.object({
@@ -7709,7 +7709,7 @@ var indexContentTool = chunkK4NN2KQQ_cjs.createTool({
7709
7709
  }
7710
7710
  });
7711
7711
  var KILL_TAIL_LINES = 50;
7712
- var killProcessTool = chunkK4NN2KQQ_cjs.createTool({
7712
+ var killProcessTool = chunkAV4YSAZL_cjs.createTool({
7713
7713
  id: WORKSPACE_TOOLS.SANDBOX.KILL_PROCESS,
7714
7714
  description: `Kill a background process by its PID.
7715
7715
 
@@ -7898,7 +7898,7 @@ function joinPath2(base, name) {
7898
7898
  }
7899
7899
 
7900
7900
  // src/workspace/tools/list-files.ts
7901
- var listFilesTool = chunkK4NN2KQQ_cjs.createTool({
7901
+ var listFilesTool = chunkAV4YSAZL_cjs.createTool({
7902
7902
  id: WORKSPACE_TOOLS.FILESYSTEM.LIST_FILES,
7903
7903
  description: `List files and directories in the workspace filesystem.
7904
7904
  Returns a compact tab-indented listing for efficient token usage.
@@ -7986,7 +7986,7 @@ function compressPath(filePath) {
7986
7986
  }
7987
7987
  return filePath;
7988
7988
  }
7989
- var lspInspectTool = chunkK4NN2KQQ_cjs.createTool({
7989
+ var lspInspectTool = chunkAV4YSAZL_cjs.createTool({
7990
7990
  id: WORKSPACE_TOOLS.LSP.LSP_INSPECT,
7991
7991
  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.",
7992
7992
  inputSchema: v4.z.object({
@@ -8133,7 +8133,7 @@ var lspInspectTool = chunkK4NN2KQQ_cjs.createTool({
8133
8133
  return result;
8134
8134
  }
8135
8135
  });
8136
- var mkdirTool = chunkK4NN2KQQ_cjs.createTool({
8136
+ var mkdirTool = chunkAV4YSAZL_cjs.createTool({
8137
8137
  id: WORKSPACE_TOOLS.FILESYSTEM.MKDIR,
8138
8138
  description: "Create a directory in the workspace filesystem",
8139
8139
  inputSchema: v4.z.object({
@@ -8150,7 +8150,7 @@ var mkdirTool = chunkK4NN2KQQ_cjs.createTool({
8150
8150
  return `Created directory ${path8}`;
8151
8151
  }
8152
8152
  });
8153
- var readFileTool = chunkK4NN2KQQ_cjs.createTool({
8153
+ var readFileTool = chunkAV4YSAZL_cjs.createTool({
8154
8154
  id: WORKSPACE_TOOLS.FILESYSTEM.READ_FILE,
8155
8155
  description: "Read the contents of a file from the workspace filesystem. Use offset/limit parameters to read specific line ranges for large files.",
8156
8156
  inputSchema: v4.z.object({
@@ -8198,7 +8198,7 @@ ${fullContent.toString("base64")}`,
8198
8198
  ${formattedContent}`, tokenLimit, "end");
8199
8199
  }
8200
8200
  });
8201
- var searchTool = chunkK4NN2KQQ_cjs.createTool({
8201
+ var searchTool = chunkAV4YSAZL_cjs.createTool({
8202
8202
  id: WORKSPACE_TOOLS.SEARCH.SEARCH,
8203
8203
  description: "Search indexed content in the workspace. Supports keyword (BM25), semantic (vector), and hybrid search modes.",
8204
8204
  inputSchema: v4.z.object({
@@ -8225,7 +8225,7 @@ var searchTool = chunkK4NN2KQQ_cjs.createTool({
8225
8225
  return lines.join("\n");
8226
8226
  }
8227
8227
  });
8228
- var writeFileTool = chunkK4NN2KQQ_cjs.createTool({
8228
+ var writeFileTool = chunkAV4YSAZL_cjs.createTool({
8229
8229
  id: WORKSPACE_TOOLS.FILESYSTEM.WRITE_FILE,
8230
8230
  description: "Write content to a file in the workspace filesystem. Creates parent directories if needed.",
8231
8231
  inputSchema: v4.z.object({
@@ -8473,5 +8473,5 @@ exports.requireWorkspace = requireWorkspace;
8473
8473
  exports.resolveToolConfig = resolveToolConfig;
8474
8474
  exports.searchTool = searchTool;
8475
8475
  exports.writeFileTool = writeFileTool;
8476
- //# sourceMappingURL=chunk-QVVWKMFM.cjs.map
8477
- //# sourceMappingURL=chunk-QVVWKMFM.cjs.map
8476
+ //# sourceMappingURL=chunk-GXXNF6NF.cjs.map
8477
+ //# sourceMappingURL=chunk-GXXNF6NF.cjs.map