@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.
- package/CHANGELOG.md +38 -0
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/conversion/output-converter.d.ts.map +1 -1
- package/dist/agent/message-list/index.cjs +18 -18
- package/dist/agent/message-list/index.js +1 -1
- package/dist/{chunk-JBAMLTYP.js → chunk-3HRPHNFN.js} +4 -4
- package/dist/{chunk-JBAMLTYP.js.map → chunk-3HRPHNFN.js.map} +1 -1
- package/dist/{chunk-AVOGYFGK.cjs → chunk-4THMANGC.cjs} +83 -83
- package/dist/{chunk-AVOGYFGK.cjs.map → chunk-4THMANGC.cjs.map} +1 -1
- package/dist/{chunk-26OOSNWN.js → chunk-5SWCNP2L.js} +3 -3
- package/dist/{chunk-26OOSNWN.js.map → chunk-5SWCNP2L.js.map} +1 -1
- package/dist/{chunk-XYT5D2T7.cjs → chunk-6VYFRSNT.cjs} +13 -13
- package/dist/{chunk-XYT5D2T7.cjs.map → chunk-6VYFRSNT.cjs.map} +1 -1
- package/dist/{chunk-WZ2EJZ7R.cjs → chunk-7L2ICIDI.cjs} +6 -6
- package/dist/{chunk-WZ2EJZ7R.cjs.map → chunk-7L2ICIDI.cjs.map} +1 -1
- package/dist/{chunk-BF2JWKWL.cjs → chunk-BQA45RHN.cjs} +5 -5
- package/dist/{chunk-BF2JWKWL.cjs.map → chunk-BQA45RHN.cjs.map} +1 -1
- package/dist/{chunk-MLCFE6MR.js → chunk-GRMC2OYN.js} +19 -3
- package/dist/chunk-GRMC2OYN.js.map +1 -0
- package/dist/{chunk-GZWOMZ7C.js → chunk-IWIO6OOO.js} +3 -3
- package/dist/{chunk-GZWOMZ7C.js.map → chunk-IWIO6OOO.js.map} +1 -1
- package/dist/{chunk-WEKILIGZ.js → chunk-J3NJXIJ4.js} +3 -3
- package/dist/{chunk-WEKILIGZ.js.map → chunk-J3NJXIJ4.js.map} +1 -1
- package/dist/{chunk-XME4PQE7.cjs → chunk-K4NN2KQQ.cjs} +19 -3
- package/dist/chunk-K4NN2KQQ.cjs.map +1 -0
- package/dist/{chunk-Q7B3NPO3.cjs → chunk-LY7WIAF5.cjs} +3 -3
- package/dist/{chunk-Q7B3NPO3.cjs.map → chunk-LY7WIAF5.cjs.map} +1 -1
- package/dist/{chunk-4LDSJHWQ.cjs → chunk-M6632FUT.cjs} +7 -7
- package/dist/{chunk-4LDSJHWQ.cjs.map → chunk-M6632FUT.cjs.map} +1 -1
- package/dist/{chunk-MQ2YFSTS.cjs → chunk-MDEWERCK.cjs} +185 -185
- package/dist/{chunk-MQ2YFSTS.cjs.map → chunk-MDEWERCK.cjs.map} +1 -1
- package/dist/{chunk-2CEWKM43.js → chunk-MXISDFVM.js} +3 -3
- package/dist/{chunk-2CEWKM43.js.map → chunk-MXISDFVM.js.map} +1 -1
- package/dist/{chunk-2NDTZII6.cjs → chunk-NEWK2BT5.cjs} +15 -15
- package/dist/{chunk-2NDTZII6.cjs.map → chunk-NEWK2BT5.cjs.map} +1 -1
- package/dist/{chunk-VQMIFPSC.cjs → chunk-NTF7UIBI.cjs} +84 -84
- package/dist/{chunk-VQMIFPSC.cjs.map → chunk-NTF7UIBI.cjs.map} +1 -1
- package/dist/{chunk-TQO7BSJX.js → chunk-OPRJPAB7.js} +3 -3
- package/dist/{chunk-TQO7BSJX.js.map → chunk-OPRJPAB7.js.map} +1 -1
- package/dist/{chunk-TKGXEXRR.js → chunk-OYAS35A6.js} +10 -10
- package/dist/{chunk-TKGXEXRR.js.map → chunk-OYAS35A6.js.map} +1 -1
- package/dist/{chunk-O6O5MD7Q.cjs → chunk-PCQBJ3NP.cjs} +5 -2
- package/dist/chunk-PCQBJ3NP.cjs.map +1 -0
- package/dist/{chunk-4EZX3JLF.cjs → chunk-PNSY2ZGF.cjs} +9 -9
- package/dist/{chunk-4EZX3JLF.cjs.map → chunk-PNSY2ZGF.cjs.map} +1 -1
- package/dist/{chunk-YVFTL5BS.cjs → chunk-RQBBPR64.cjs} +16 -16
- package/dist/{chunk-YVFTL5BS.cjs.map → chunk-RQBBPR64.cjs.map} +1 -1
- package/dist/{chunk-YPJ5V2S5.js → chunk-S6VT4LMH.js} +5 -2
- package/dist/chunk-S6VT4LMH.js.map +1 -0
- package/dist/{chunk-IS7VFXXN.js → chunk-SVE7QF2W.js} +8 -8
- package/dist/{chunk-IS7VFXXN.js.map → chunk-SVE7QF2W.js.map} +1 -1
- package/dist/{chunk-BXDWBXQW.cjs → chunk-SXVV5X4E.cjs} +13 -13
- package/dist/chunk-SXVV5X4E.cjs.map +1 -0
- package/dist/{chunk-76GUV7TZ.js → chunk-UQ5BWWRH.js} +4 -4
- package/dist/{chunk-76GUV7TZ.js.map → chunk-UQ5BWWRH.js.map} +1 -1
- package/dist/{chunk-V7KMU6NL.cjs → chunk-V2XNSBIT.cjs} +7 -7
- package/dist/{chunk-V7KMU6NL.cjs.map → chunk-V2XNSBIT.cjs.map} +1 -1
- package/dist/{chunk-RKGUSDHX.cjs → chunk-XGTV24L5.cjs} +58 -58
- package/dist/{chunk-RKGUSDHX.cjs.map → chunk-XGTV24L5.cjs.map} +1 -1
- package/dist/{chunk-7LMIK23W.js → chunk-XKOCRXCP.js} +3 -3
- package/dist/{chunk-7LMIK23W.js.map → chunk-XKOCRXCP.js.map} +1 -1
- package/dist/{chunk-A25ZFPG7.js → chunk-XU4ZIJEV.js} +7 -7
- package/dist/{chunk-A25ZFPG7.js.map → chunk-XU4ZIJEV.js.map} +1 -1
- package/dist/{chunk-YSPKTAYB.cjs → chunk-XW4B2RAG.cjs} +24 -24
- package/dist/{chunk-YSPKTAYB.cjs.map → chunk-XW4B2RAG.cjs.map} +1 -1
- package/dist/{chunk-STU7CG7E.js → chunk-YE4J2QEX.js} +5 -5
- package/dist/{chunk-STU7CG7E.js.map → chunk-YE4J2QEX.js.map} +1 -1
- package/dist/{chunk-JO36CQSY.js → chunk-YIUXBYAI.js} +12 -12
- package/dist/chunk-YIUXBYAI.js.map +1 -0
- package/dist/{chunk-WZQ2AJZV.js → chunk-YXBNQTAA.js} +8 -8
- package/dist/{chunk-WZQ2AJZV.js.map → chunk-YXBNQTAA.js.map} +1 -1
- package/dist/{chunk-TUSCHVH3.js → chunk-ZJMETLCP.js} +4 -4
- package/dist/{chunk-TUSCHVH3.js.map → chunk-ZJMETLCP.js.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +216 -216
- package/dist/docs/references/docs-memory-observational-memory.md +36 -0
- package/dist/docs/references/reference-memory-observational-memory.md +42 -3
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/index.cjs +17 -17
- package/dist/harness/index.js +7 -7
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/integration/index.cjs +2 -2
- package/dist/integration/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +3 -3
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-JCB4Q53F.js +3 -0
- package/dist/{models-dev-A55UVGDD.js.map → models-dev-JCB4Q53F.js.map} +1 -1
- package/dist/models-dev-SV7R75OF.cjs +12 -0
- package/dist/{models-dev-2FOUJALF.cjs.map → models-dev-SV7R75OF.cjs.map} +1 -1
- package/dist/netlify-KG6ZIIC5.js +3 -0
- package/dist/{netlify-MF3L2BRE.js.map → netlify-KG6ZIIC5.js.map} +1 -1
- package/dist/netlify-SGAVTHDG.cjs +12 -0
- package/dist/{netlify-I3P5QPXG.cjs.map → netlify-SGAVTHDG.cjs.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-INQUWPG6.js +3 -0
- package/dist/{provider-registry-J76YNM72.js.map → provider-registry-INQUWPG6.js.map} +1 -1
- package/dist/provider-registry-UIDQJHBI.cjs +40 -0
- package/dist/{provider-registry-QB6DEJ7U.cjs.map → provider-registry-UIDQJHBI.cjs.map} +1 -1
- package/dist/provider-registry.json +8 -8
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +74 -74
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/tools/index.cjs +7 -7
- package/dist/tools/index.js +1 -1
- package/dist/tools/is-vercel-tool.cjs +2 -2
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/validation.d.ts.map +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/dist/workspace/index.cjs +68 -68
- package/dist/workspace/index.js +1 -1
- package/package.json +6 -6
- package/src/llm/model/provider-types.generated.d.ts +3 -3
- package/dist/chunk-BXDWBXQW.cjs.map +0 -1
- package/dist/chunk-JO36CQSY.js.map +0 -1
- package/dist/chunk-MLCFE6MR.js.map +0 -1
- package/dist/chunk-O6O5MD7Q.cjs.map +0 -1
- package/dist/chunk-XME4PQE7.cjs.map +0 -1
- package/dist/chunk-YPJ5V2S5.js.map +0 -1
- package/dist/models-dev-2FOUJALF.cjs +0 -12
- package/dist/models-dev-A55UVGDD.js +0 -3
- package/dist/netlify-I3P5QPXG.cjs +0 -12
- package/dist/netlify-MF3L2BRE.js +0 -3
- package/dist/provider-registry-J76YNM72.js +0 -3
- package/dist/provider-registry-QB6DEJ7U.cjs +0 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
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-
|
|
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-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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-
|
|
8200
|
-
//# sourceMappingURL=chunk-
|
|
8199
|
+
//# sourceMappingURL=chunk-XW4B2RAG.cjs.map
|
|
8200
|
+
//# sourceMappingURL=chunk-XW4B2RAG.cjs.map
|