@probelabs/probe 0.6.0-rc257 → 0.6.0-rc259
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/bin/binaries/probe-v0.6.0-rc259-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc259-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc259-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc259-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc259-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/ProbeAgent.js +13 -0
- package/build/agent/index.js +518 -135
- package/build/agent/probeTool.js +9 -0
- package/build/agent/shared/prompts.js +40 -8
- package/build/agent/tools.js +8 -0
- package/build/index.js +7 -2
- package/build/tools/common.js +56 -23
- package/build/tools/edit.js +139 -6
- package/build/tools/index.js +5 -2
- package/cjs/agent/ProbeAgent.cjs +3811 -5637
- package/cjs/index.cjs +3821 -5637
- package/package.json +1 -1
- package/src/agent/ProbeAgent.js +13 -0
- package/src/agent/probeTool.js +9 -0
- package/src/agent/shared/prompts.js +40 -8
- package/src/agent/tools.js +8 -0
- package/src/index.js +7 -2
- package/src/tools/common.js +56 -23
- package/src/tools/edit.js +139 -6
- package/src/tools/index.js +5 -2
- package/bin/binaries/probe-v0.6.0-rc257-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc257-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc257-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc257-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc257-x86_64-unknown-linux-musl.tar.gz +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -59,6 +59,7 @@ import {
|
|
|
59
59
|
attemptCompletionToolDefinition,
|
|
60
60
|
editToolDefinition,
|
|
61
61
|
createToolDefinition,
|
|
62
|
+
multiEditToolDefinition,
|
|
62
63
|
googleSearchToolDefinition,
|
|
63
64
|
urlContextToolDefinition,
|
|
64
65
|
attemptCompletionSchema,
|
|
@@ -964,6 +965,9 @@ export class ProbeAgent {
|
|
|
964
965
|
if (wrappedTools.createToolInstance && isToolAllowed('create')) {
|
|
965
966
|
this.toolImplementations.create = wrappedTools.createToolInstance;
|
|
966
967
|
}
|
|
968
|
+
if (wrappedTools.multiEditToolInstance && isToolAllowed('multi_edit')) {
|
|
969
|
+
this.toolImplementations.multi_edit = wrappedTools.multiEditToolInstance;
|
|
970
|
+
}
|
|
967
971
|
}
|
|
968
972
|
|
|
969
973
|
// Store wrapped tools for ACP system
|
|
@@ -2565,6 +2569,9 @@ ${extractGuidance}
|
|
|
2565
2569
|
if (this.allowEdit && isToolAllowed('create')) {
|
|
2566
2570
|
toolDefinitions += `${createToolDefinition}\n`;
|
|
2567
2571
|
}
|
|
2572
|
+
if (this.allowEdit && isToolAllowed('multi_edit')) {
|
|
2573
|
+
toolDefinitions += `${multiEditToolDefinition}\n`;
|
|
2574
|
+
}
|
|
2568
2575
|
// Bash tool (require both enableBash flag AND allowedTools permission)
|
|
2569
2576
|
if (this.enableBash && isToolAllowed('bash')) {
|
|
2570
2577
|
toolDefinitions += `${bashToolDefinition}\n`;
|
|
@@ -2670,6 +2677,9 @@ The configuration is loaded from src/config.js lines 15-25 which contains the da
|
|
|
2670
2677
|
if (this.allowEdit && isToolAllowed('create')) {
|
|
2671
2678
|
availableToolsList += '- create: Create new files with specified content.\n';
|
|
2672
2679
|
}
|
|
2680
|
+
if (this.allowEdit && isToolAllowed('multi_edit')) {
|
|
2681
|
+
availableToolsList += '- multi_edit: Apply multiple file edits in one call using a JSON array of operations.\n';
|
|
2682
|
+
}
|
|
2673
2683
|
if (this.enableDelegate && isToolAllowed('delegate')) {
|
|
2674
2684
|
availableToolsList += '- delegate: Delegate big distinct tasks to specialized probe subagents.\n';
|
|
2675
2685
|
}
|
|
@@ -3430,6 +3440,9 @@ Follow these instructions carefully:
|
|
|
3430
3440
|
if (this.allowEdit && this.allowedTools.isEnabled('create')) {
|
|
3431
3441
|
validTools.push('create');
|
|
3432
3442
|
}
|
|
3443
|
+
if (this.allowEdit && this.allowedTools.isEnabled('multi_edit')) {
|
|
3444
|
+
validTools.push('multi_edit');
|
|
3445
|
+
}
|
|
3433
3446
|
// Bash tool (require both enableBash flag AND allowedTools permission)
|
|
3434
3447
|
if (this.enableBash && this.allowedTools.isEnabled('bash')) {
|
|
3435
3448
|
validTools.push('bash');
|