@mastra/core 1.13.0-alpha.0 → 1.13.1
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 +54 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-TBJAIP6B.js → chunk-2QU52I7Q.js} +4 -4
- package/dist/{chunk-TBJAIP6B.js.map → chunk-2QU52I7Q.js.map} +1 -1
- package/dist/{chunk-I6VMOC3Y.cjs → chunk-334VHLAR.cjs} +30 -30
- package/dist/{chunk-I6VMOC3Y.cjs.map → chunk-334VHLAR.cjs.map} +1 -1
- package/dist/{chunk-TULJME43.js → chunk-5QTS4EAT.js} +5 -5
- package/dist/{chunk-TULJME43.js.map → chunk-5QTS4EAT.js.map} +1 -1
- package/dist/{chunk-T4XSYZME.cjs → chunk-6IM3BPH2.cjs} +7 -7
- package/dist/{chunk-T4XSYZME.cjs.map → chunk-6IM3BPH2.cjs.map} +1 -1
- package/dist/{chunk-7XUAWSN5.cjs → chunk-6Q3ZFEII.cjs} +3 -3
- package/dist/chunk-6Q3ZFEII.cjs.map +1 -0
- package/dist/{chunk-DUJXXOGE.js → chunk-7UM6FE6A.js} +3 -3
- package/dist/{chunk-DUJXXOGE.js.map → chunk-7UM6FE6A.js.map} +1 -1
- package/dist/{chunk-RF7AUUHZ.cjs → chunk-7XDXDITO.cjs} +7 -7
- package/dist/{chunk-RF7AUUHZ.cjs.map → chunk-7XDXDITO.cjs.map} +1 -1
- package/dist/{chunk-ZS5PC5U5.js → chunk-AMNS5DF2.js} +8 -8
- package/dist/{chunk-ZS5PC5U5.js.map → chunk-AMNS5DF2.js.map} +1 -1
- package/dist/{chunk-AV22GHNZ.js → chunk-B3GKSY42.js} +3 -3
- package/dist/chunk-B3GKSY42.js.map +1 -0
- package/dist/{chunk-KQXXSDJK.cjs → chunk-CVHX5NQY.cjs} +15 -15
- package/dist/{chunk-KQXXSDJK.cjs.map → chunk-CVHX5NQY.cjs.map} +1 -1
- package/dist/{chunk-LNEBCHJZ.cjs → chunk-CYZJ2HT2.cjs} +16 -16
- package/dist/{chunk-LNEBCHJZ.cjs.map → chunk-CYZJ2HT2.cjs.map} +1 -1
- package/dist/{chunk-AIHI4CR3.cjs → chunk-DE2ZO3EV.cjs} +51 -51
- package/dist/{chunk-AIHI4CR3.cjs.map → chunk-DE2ZO3EV.cjs.map} +1 -1
- package/dist/{chunk-ZCIYZUTT.cjs → chunk-E7PW4ZAB.cjs} +3 -3
- package/dist/{chunk-ZCIYZUTT.cjs.map → chunk-E7PW4ZAB.cjs.map} +1 -1
- package/dist/{chunk-QKBTNVET.js → chunk-FERHLP5X.js} +4 -4
- package/dist/{chunk-QKBTNVET.js.map → chunk-FERHLP5X.js.map} +1 -1
- package/dist/{chunk-F57J45BC.js → chunk-FNVUZ3S2.js} +4 -4
- package/dist/{chunk-F57J45BC.js.map → chunk-FNVUZ3S2.js.map} +1 -1
- package/dist/{chunk-UWZSAUOC.js → chunk-GP4MO5B6.js} +9 -8
- package/dist/chunk-GP4MO5B6.js.map +1 -0
- package/dist/{chunk-O4ID5LLN.cjs → chunk-HACNMOMO.cjs} +24 -24
- package/dist/{chunk-O4ID5LLN.cjs.map → chunk-HACNMOMO.cjs.map} +1 -1
- package/dist/{chunk-VLQRMYCU.js → chunk-IBB623FC.js} +7 -7
- package/dist/{chunk-VLQRMYCU.js.map → chunk-IBB623FC.js.map} +1 -1
- package/dist/{chunk-OT4YBOYT.cjs → chunk-J333Z653.cjs} +9 -9
- package/dist/{chunk-OT4YBOYT.cjs.map → chunk-J333Z653.cjs.map} +1 -1
- package/dist/{chunk-MHEZRQTB.js → chunk-LYABHLZT.js} +3 -3
- package/dist/{chunk-MHEZRQTB.js.map → chunk-LYABHLZT.js.map} +1 -1
- package/dist/{chunk-E7EYGTV2.cjs → chunk-P2F6NZPK.cjs} +185 -185
- package/dist/{chunk-E7EYGTV2.cjs.map → chunk-P2F6NZPK.cjs.map} +1 -1
- package/dist/{chunk-MYDWI26N.js → chunk-R5GYOR52.js} +3 -3
- package/dist/{chunk-MYDWI26N.js.map → chunk-R5GYOR52.js.map} +1 -1
- package/dist/{chunk-M3YX6I4U.js → chunk-RGG5FM37.js} +4 -4
- package/dist/{chunk-M3YX6I4U.js.map → chunk-RGG5FM37.js.map} +1 -1
- package/dist/{chunk-D3LPAKB6.js → chunk-RHU25VWO.js} +3 -3
- package/dist/{chunk-D3LPAKB6.js.map → chunk-RHU25VWO.js.map} +1 -1
- package/dist/{chunk-RHKJ6WAK.cjs → chunk-S255NXHH.cjs} +54 -53
- package/dist/chunk-S255NXHH.cjs.map +1 -0
- package/dist/{chunk-CLPYWUCZ.cjs → chunk-SHN25XWN.cjs} +9 -9
- package/dist/{chunk-CLPYWUCZ.cjs.map → chunk-SHN25XWN.cjs.map} +1 -1
- package/dist/{chunk-ED7ICYXC.cjs → chunk-UAVVTLHL.cjs} +5 -5
- package/dist/{chunk-ED7ICYXC.cjs.map → chunk-UAVVTLHL.cjs.map} +1 -1
- package/dist/{chunk-KOIL5ZZE.cjs → chunk-V2NCW7QL.cjs} +5 -5
- package/dist/{chunk-KOIL5ZZE.cjs.map → chunk-V2NCW7QL.cjs.map} +1 -1
- package/dist/{chunk-XEBKZ4YL.js → chunk-YWZ4XNJQ.js} +4 -4
- package/dist/{chunk-XEBKZ4YL.js.map → chunk-YWZ4XNJQ.js.map} +1 -1
- package/dist/{chunk-ELX7FKS6.cjs → chunk-Z7DIN6EF.cjs} +6 -6
- package/dist/{chunk-ELX7FKS6.cjs.map → chunk-Z7DIN6EF.cjs.map} +1 -1
- package/dist/{chunk-M6T2TWG3.js → chunk-ZNIHEZDL.js} +3 -3
- package/dist/{chunk-M6T2TWG3.js.map → chunk-ZNIHEZDL.js.map} +1 -1
- package/dist/{chunk-7IOPLGJX.js → chunk-ZX4VFWA4.js} +3 -3
- package/dist/{chunk-7IOPLGJX.js.map → chunk-ZX4VFWA4.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 +310 -310
- package/dist/docs/references/docs-memory-overview.md +3 -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/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-J6H4MDDS.js +3 -0
- package/dist/{models-dev-WZV7KXO6.js.map → models-dev-J6H4MDDS.js.map} +1 -1
- package/dist/models-dev-NNNX6HMQ.cjs +12 -0
- package/dist/{models-dev-PF6BNK5U.cjs.map → models-dev-NNNX6HMQ.cjs.map} +1 -1
- package/dist/netlify-3DEYXRVR.cjs +12 -0
- package/dist/{netlify-DAYWB6TP.cjs.map → netlify-3DEYXRVR.cjs.map} +1 -1
- package/dist/netlify-45XINYG6.js +3 -0
- package/dist/{netlify-2TIV7DOF.js.map → netlify-45XINYG6.js.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-LSMHTOLE.cjs +40 -0
- package/dist/{provider-registry-DTJQ3BMU.cjs.map → provider-registry-LSMHTOLE.cjs.map} +1 -1
- package/dist/provider-registry-YCFZ6HTH.js +3 -0
- package/dist/{provider-registry-Z3GQXZ4X.js.map → provider-registry-YCFZ6HTH.js.map} +1 -1
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +140 -140
- package/dist/storage/index.js +1 -1
- package/dist/stream/aisdk/v5/transform.d.ts.map +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- 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 +6 -6
- 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/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 +67 -67
- package/dist/workspace/index.js +1 -1
- package/package.json +10 -10
- package/dist/chunk-7XUAWSN5.cjs.map +0 -1
- package/dist/chunk-AV22GHNZ.js.map +0 -1
- package/dist/chunk-RHKJ6WAK.cjs.map +0 -1
- package/dist/chunk-UWZSAUOC.js.map +0 -1
- package/dist/models-dev-PF6BNK5U.cjs +0 -12
- package/dist/models-dev-WZV7KXO6.js +0 -3
- package/dist/netlify-2TIV7DOF.js +0 -3
- package/dist/netlify-DAYWB6TP.cjs +0 -12
- package/dist/provider-registry-DTJQ3BMU.cjs +0 -40
- package/dist/provider-registry-Z3GQXZ4X.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkE7PW4ZAB_cjs = require('./chunk-E7PW4ZAB.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');
|
|
@@ -1563,7 +1563,7 @@ function isLSPAvailable() {
|
|
|
1563
1563
|
return jsonrpcModule !== null;
|
|
1564
1564
|
}
|
|
1565
1565
|
try {
|
|
1566
|
-
const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
1566
|
+
const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-HACNMOMO.cjs', document.baseURI).href)));
|
|
1567
1567
|
req.resolve("vscode-jsonrpc/node");
|
|
1568
1568
|
req.resolve("vscode-languageserver-protocol");
|
|
1569
1569
|
return true;
|
|
@@ -1577,7 +1577,7 @@ async function loadLSPDeps() {
|
|
|
1577
1577
|
return { ...jsonrpcModule, ...lspProtocolModule };
|
|
1578
1578
|
}
|
|
1579
1579
|
try {
|
|
1580
|
-
const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
1580
|
+
const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-HACNMOMO.cjs', document.baseURI).href)));
|
|
1581
1581
|
const jsonrpc = req("vscode-jsonrpc/node");
|
|
1582
1582
|
const protocol = req("vscode-languageserver-protocol");
|
|
1583
1583
|
jsonrpcModule = {
|
|
@@ -5858,7 +5858,7 @@ function createSkillTools(skills) {
|
|
|
5858
5858
|
};
|
|
5859
5859
|
}
|
|
5860
5860
|
function createSkillTool(skills) {
|
|
5861
|
-
const tool =
|
|
5861
|
+
const tool = chunkE7PW4ZAB_cjs.createTool({
|
|
5862
5862
|
id: "skill",
|
|
5863
5863
|
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.",
|
|
5864
5864
|
inputSchema: z__default.default.object({
|
|
@@ -5896,7 +5896,7 @@ ${skill.assets.map((a) => `- assets/${a}`).join("\n")}`);
|
|
|
5896
5896
|
return tool;
|
|
5897
5897
|
}
|
|
5898
5898
|
function createSkillSearchTool(skills) {
|
|
5899
|
-
const tool =
|
|
5899
|
+
const tool = chunkE7PW4ZAB_cjs.createTool({
|
|
5900
5900
|
id: "skill_search",
|
|
5901
5901
|
description: "Search across skill content to find relevant information. Useful when you need to find specific details within skills.",
|
|
5902
5902
|
inputSchema: z__default.default.object({
|
|
@@ -5920,7 +5920,7 @@ ${preview}`;
|
|
|
5920
5920
|
return tool;
|
|
5921
5921
|
}
|
|
5922
5922
|
function createSkillReadTool(skills) {
|
|
5923
|
-
const tool =
|
|
5923
|
+
const tool = chunkE7PW4ZAB_cjs.createTool({
|
|
5924
5924
|
id: "skill_read",
|
|
5925
5925
|
description: "Read a file from a skill directory (references, scripts, or assets). The path is relative to the skill root.",
|
|
5926
5926
|
inputSchema: z__default.default.object({
|
|
@@ -6618,7 +6618,7 @@ function isAstGrepAvailable() {
|
|
|
6618
6618
|
return astGrepModule !== null;
|
|
6619
6619
|
}
|
|
6620
6620
|
try {
|
|
6621
|
-
const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-
|
|
6621
|
+
const req = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunk-HACNMOMO.cjs', document.baseURI).href)));
|
|
6622
6622
|
req.resolve("@ast-grep/napi");
|
|
6623
6623
|
return true;
|
|
6624
6624
|
} catch {
|
|
@@ -6786,7 +6786,7 @@ function patternReplace(content, root, pattern, replacement) {
|
|
|
6786
6786
|
}
|
|
6787
6787
|
return { content: modifiedContent, count };
|
|
6788
6788
|
}
|
|
6789
|
-
var astEditTool =
|
|
6789
|
+
var astEditTool = chunkE7PW4ZAB_cjs.createTool({
|
|
6790
6790
|
id: WORKSPACE_TOOLS.FILESYSTEM.AST_EDIT,
|
|
6791
6791
|
description: `Edit code using AST-based analysis for intelligent transformations.
|
|
6792
6792
|
|
|
@@ -6902,7 +6902,7 @@ Pattern replace (for everything else):
|
|
|
6902
6902
|
return output;
|
|
6903
6903
|
}
|
|
6904
6904
|
});
|
|
6905
|
-
var deleteFileTool =
|
|
6905
|
+
var deleteFileTool = chunkE7PW4ZAB_cjs.createTool({
|
|
6906
6906
|
id: WORKSPACE_TOOLS.FILESYSTEM.DELETE,
|
|
6907
6907
|
description: "Delete a file or directory from the workspace filesystem",
|
|
6908
6908
|
inputSchema: v4.z.object({
|
|
@@ -6924,7 +6924,7 @@ var deleteFileTool = chunkZCIYZUTT_cjs.createTool({
|
|
|
6924
6924
|
return `Deleted ${path7}`;
|
|
6925
6925
|
}
|
|
6926
6926
|
});
|
|
6927
|
-
var editFileTool =
|
|
6927
|
+
var editFileTool = chunkE7PW4ZAB_cjs.createTool({
|
|
6928
6928
|
id: WORKSPACE_TOOLS.FILESYSTEM.EDIT_FILE,
|
|
6929
6929
|
description: `Edit a file by replacing specific text. The old_string must match exactly and be unique in the file.
|
|
6930
6930
|
|
|
@@ -7183,14 +7183,14 @@ Usage:
|
|
|
7183
7183
|
- Always quote file paths that contain spaces (e.g., cd "/path/with spaces").
|
|
7184
7184
|
- Use the timeout parameter (in seconds) to limit execution time. Behavior when omitted depends on the sandbox provider.
|
|
7185
7185
|
- Optionally use cwd to override the working directory. Commands run from the sandbox default if omitted.`;
|
|
7186
|
-
var executeCommandTool =
|
|
7186
|
+
var executeCommandTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7187
7187
|
id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
|
|
7188
7188
|
description: baseDescription,
|
|
7189
7189
|
inputSchema: executeCommandInputSchema,
|
|
7190
7190
|
execute: executeCommand,
|
|
7191
7191
|
toModelOutput: sandboxToModelOutput
|
|
7192
7192
|
});
|
|
7193
|
-
var executeCommandWithBackgroundTool =
|
|
7193
|
+
var executeCommandWithBackgroundTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7194
7194
|
id: WORKSPACE_TOOLS.SANDBOX.EXECUTE_COMMAND,
|
|
7195
7195
|
description: `${baseDescription}
|
|
7196
7196
|
|
|
@@ -7199,7 +7199,7 @@ Set background: true to run long-running commands (dev servers, watchers) withou
|
|
|
7199
7199
|
execute: executeCommand,
|
|
7200
7200
|
toModelOutput: sandboxToModelOutput
|
|
7201
7201
|
});
|
|
7202
|
-
var fileStatTool =
|
|
7202
|
+
var fileStatTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7203
7203
|
id: WORKSPACE_TOOLS.FILESYSTEM.FILE_STAT,
|
|
7204
7204
|
description: "Get file or directory metadata from the workspace. Returns existence, type, size, and modification time.",
|
|
7205
7205
|
inputSchema: v4.z.object({
|
|
@@ -7223,7 +7223,7 @@ var fileStatTool = chunkZCIYZUTT_cjs.createTool({
|
|
|
7223
7223
|
}
|
|
7224
7224
|
}
|
|
7225
7225
|
});
|
|
7226
|
-
var getProcessOutputTool =
|
|
7226
|
+
var getProcessOutputTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7227
7227
|
id: WORKSPACE_TOOLS.SANDBOX.GET_PROCESS_OUTPUT,
|
|
7228
7228
|
description: `Get the current output (stdout, stderr) and status of a background process by its PID.
|
|
7229
7229
|
|
|
@@ -7321,7 +7321,7 @@ async function loadGitignore(filesystem) {
|
|
|
7321
7321
|
}
|
|
7322
7322
|
|
|
7323
7323
|
// src/workspace/tools/grep.ts
|
|
7324
|
-
var grepTool =
|
|
7324
|
+
var grepTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7325
7325
|
id: WORKSPACE_TOOLS.FILESYSTEM.GREP,
|
|
7326
7326
|
description: `Search file contents using a regex pattern. Walks the filesystem and returns matching lines with file paths and line numbers.
|
|
7327
7327
|
|
|
@@ -7475,7 +7475,7 @@ Usage:
|
|
|
7475
7475
|
);
|
|
7476
7476
|
}
|
|
7477
7477
|
});
|
|
7478
|
-
var indexContentTool =
|
|
7478
|
+
var indexContentTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7479
7479
|
id: WORKSPACE_TOOLS.SEARCH.INDEX,
|
|
7480
7480
|
description: "Index content for search. The path becomes the document ID in search results.",
|
|
7481
7481
|
inputSchema: v4.z.object({
|
|
@@ -7491,7 +7491,7 @@ var indexContentTool = chunkZCIYZUTT_cjs.createTool({
|
|
|
7491
7491
|
}
|
|
7492
7492
|
});
|
|
7493
7493
|
var KILL_TAIL_LINES = 50;
|
|
7494
|
-
var killProcessTool =
|
|
7494
|
+
var killProcessTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7495
7495
|
id: WORKSPACE_TOOLS.SANDBOX.KILL_PROCESS,
|
|
7496
7496
|
description: `Kill a background process by its PID.
|
|
7497
7497
|
|
|
@@ -7680,7 +7680,7 @@ function joinPath2(base, name) {
|
|
|
7680
7680
|
}
|
|
7681
7681
|
|
|
7682
7682
|
// src/workspace/tools/list-files.ts
|
|
7683
|
-
var listFilesTool =
|
|
7683
|
+
var listFilesTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7684
7684
|
id: WORKSPACE_TOOLS.FILESYSTEM.LIST_FILES,
|
|
7685
7685
|
description: `List files and directories in the workspace filesystem.
|
|
7686
7686
|
Returns a compact tab-indented listing for efficient token usage.
|
|
@@ -7727,7 +7727,7 @@ ${result.summary}`,
|
|
|
7727
7727
|
);
|
|
7728
7728
|
}
|
|
7729
7729
|
});
|
|
7730
|
-
var mkdirTool =
|
|
7730
|
+
var mkdirTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7731
7731
|
id: WORKSPACE_TOOLS.FILESYSTEM.MKDIR,
|
|
7732
7732
|
description: "Create a directory in the workspace filesystem",
|
|
7733
7733
|
inputSchema: v4.z.object({
|
|
@@ -7744,7 +7744,7 @@ var mkdirTool = chunkZCIYZUTT_cjs.createTool({
|
|
|
7744
7744
|
return `Created directory ${path7}`;
|
|
7745
7745
|
}
|
|
7746
7746
|
});
|
|
7747
|
-
var readFileTool =
|
|
7747
|
+
var readFileTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7748
7748
|
id: WORKSPACE_TOOLS.FILESYSTEM.READ_FILE,
|
|
7749
7749
|
description: "Read the contents of a file from the workspace filesystem. Use offset/limit parameters to read specific line ranges for large files.",
|
|
7750
7750
|
inputSchema: v4.z.object({
|
|
@@ -7792,7 +7792,7 @@ ${fullContent.toString("base64")}`,
|
|
|
7792
7792
|
${formattedContent}`, tokenLimit, "end");
|
|
7793
7793
|
}
|
|
7794
7794
|
});
|
|
7795
|
-
var searchTool =
|
|
7795
|
+
var searchTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7796
7796
|
id: WORKSPACE_TOOLS.SEARCH.SEARCH,
|
|
7797
7797
|
description: "Search indexed content in the workspace. Supports keyword (BM25), semantic (vector), and hybrid search modes.",
|
|
7798
7798
|
inputSchema: v4.z.object({
|
|
@@ -7819,7 +7819,7 @@ var searchTool = chunkZCIYZUTT_cjs.createTool({
|
|
|
7819
7819
|
return lines.join("\n");
|
|
7820
7820
|
}
|
|
7821
7821
|
});
|
|
7822
|
-
var writeFileTool =
|
|
7822
|
+
var writeFileTool = chunkE7PW4ZAB_cjs.createTool({
|
|
7823
7823
|
id: WORKSPACE_TOOLS.FILESYSTEM.WRITE_FILE,
|
|
7824
7824
|
description: "Write content to a file in the workspace filesystem. Creates parent directories if needed.",
|
|
7825
7825
|
inputSchema: v4.z.object({
|
|
@@ -8062,5 +8062,5 @@ exports.requireWorkspace = requireWorkspace;
|
|
|
8062
8062
|
exports.resolveToolConfig = resolveToolConfig;
|
|
8063
8063
|
exports.searchTool = searchTool;
|
|
8064
8064
|
exports.writeFileTool = writeFileTool;
|
|
8065
|
-
//# sourceMappingURL=chunk-
|
|
8066
|
-
//# sourceMappingURL=chunk-
|
|
8065
|
+
//# sourceMappingURL=chunk-HACNMOMO.cjs.map
|
|
8066
|
+
//# sourceMappingURL=chunk-HACNMOMO.cjs.map
|