@probelabs/probe 0.6.0-rc234 → 0.6.0-rc235
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-rc235-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc235-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc235-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc235-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc235-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/ProbeAgent.js +17 -0
- package/build/agent/index.js +20 -0
- package/cjs/agent/ProbeAgent.cjs +20 -0
- package/cjs/index.cjs +20 -0
- package/package.json +1 -1
- package/src/agent/ProbeAgent.js +17 -0
- package/bin/binaries/probe-v0.6.0-rc234-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc234-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc234-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc234-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc234-x86_64-unknown-linux-musl.tar.gz +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3680,6 +3680,17 @@ Follow these instructions carefully:
|
|
|
3680
3680
|
const executeToolCall = async () => {
|
|
3681
3681
|
// For delegate tool, pass current iteration, max iterations, session ID, and config
|
|
3682
3682
|
if (toolName === 'delegate') {
|
|
3683
|
+
// Reconstruct allowedTools array preserving all modes (same logic as clone())
|
|
3684
|
+
let allowedToolsForDelegate = null;
|
|
3685
|
+
if (this.allowedTools.mode === 'whitelist') {
|
|
3686
|
+
allowedToolsForDelegate = [...this.allowedTools.allowed];
|
|
3687
|
+
} else if (this.allowedTools.mode === 'none') {
|
|
3688
|
+
allowedToolsForDelegate = [];
|
|
3689
|
+
} else if (this.allowedTools.mode === 'all' && this.allowedTools.exclusions?.length > 0) {
|
|
3690
|
+
allowedToolsForDelegate = ['*', ...this.allowedTools.exclusions.map(t => '!' + t)];
|
|
3691
|
+
}
|
|
3692
|
+
// If mode is 'all' with no exclusions, leave as null (default)
|
|
3693
|
+
|
|
3683
3694
|
const enhancedParams = {
|
|
3684
3695
|
...toolParams,
|
|
3685
3696
|
currentIteration,
|
|
@@ -3690,6 +3701,12 @@ Follow these instructions carefully:
|
|
|
3690
3701
|
model: this.model, // Inherit model
|
|
3691
3702
|
searchDelegate: this.searchDelegate,
|
|
3692
3703
|
enableTasks: this.enableTasks, // Inherit task management (subagent gets isolated TaskManager)
|
|
3704
|
+
enableMcp: !!this.mcpBridge, // Inherit MCP enablement
|
|
3705
|
+
mcpConfig: this.mcpConfig, // Inherit MCP configuration
|
|
3706
|
+
mcpConfigPath: this.mcpConfigPath, // Inherit MCP config path
|
|
3707
|
+
enableBash: this.enableBash, // Inherit bash enablement
|
|
3708
|
+
bashConfig: this.bashConfig, // Inherit bash configuration
|
|
3709
|
+
allowedTools: allowedToolsForDelegate, // Inherit allowed tools from parent
|
|
3693
3710
|
debug: this.debug,
|
|
3694
3711
|
tracer: this.tracer
|
|
3695
3712
|
};
|
package/build/agent/index.js
CHANGED
|
@@ -83679,6 +83679,14 @@ ${errorXml}
|
|
|
83679
83679
|
});
|
|
83680
83680
|
const executeToolCall = async () => {
|
|
83681
83681
|
if (toolName === "delegate") {
|
|
83682
|
+
let allowedToolsForDelegate = null;
|
|
83683
|
+
if (this.allowedTools.mode === "whitelist") {
|
|
83684
|
+
allowedToolsForDelegate = [...this.allowedTools.allowed];
|
|
83685
|
+
} else if (this.allowedTools.mode === "none") {
|
|
83686
|
+
allowedToolsForDelegate = [];
|
|
83687
|
+
} else if (this.allowedTools.mode === "all" && this.allowedTools.exclusions?.length > 0) {
|
|
83688
|
+
allowedToolsForDelegate = ["*", ...this.allowedTools.exclusions.map((t) => "!" + t)];
|
|
83689
|
+
}
|
|
83682
83690
|
const enhancedParams = {
|
|
83683
83691
|
...toolParams,
|
|
83684
83692
|
currentIteration,
|
|
@@ -83694,6 +83702,18 @@ ${errorXml}
|
|
|
83694
83702
|
searchDelegate: this.searchDelegate,
|
|
83695
83703
|
enableTasks: this.enableTasks,
|
|
83696
83704
|
// Inherit task management (subagent gets isolated TaskManager)
|
|
83705
|
+
enableMcp: !!this.mcpBridge,
|
|
83706
|
+
// Inherit MCP enablement
|
|
83707
|
+
mcpConfig: this.mcpConfig,
|
|
83708
|
+
// Inherit MCP configuration
|
|
83709
|
+
mcpConfigPath: this.mcpConfigPath,
|
|
83710
|
+
// Inherit MCP config path
|
|
83711
|
+
enableBash: this.enableBash,
|
|
83712
|
+
// Inherit bash enablement
|
|
83713
|
+
bashConfig: this.bashConfig,
|
|
83714
|
+
// Inherit bash configuration
|
|
83715
|
+
allowedTools: allowedToolsForDelegate,
|
|
83716
|
+
// Inherit allowed tools from parent
|
|
83697
83717
|
debug: this.debug,
|
|
83698
83718
|
tracer: this.tracer
|
|
83699
83719
|
};
|
package/cjs/agent/ProbeAgent.cjs
CHANGED
|
@@ -110357,6 +110357,14 @@ ${errorXml}
|
|
|
110357
110357
|
});
|
|
110358
110358
|
const executeToolCall = async () => {
|
|
110359
110359
|
if (toolName === "delegate") {
|
|
110360
|
+
let allowedToolsForDelegate = null;
|
|
110361
|
+
if (this.allowedTools.mode === "whitelist") {
|
|
110362
|
+
allowedToolsForDelegate = [...this.allowedTools.allowed];
|
|
110363
|
+
} else if (this.allowedTools.mode === "none") {
|
|
110364
|
+
allowedToolsForDelegate = [];
|
|
110365
|
+
} else if (this.allowedTools.mode === "all" && this.allowedTools.exclusions?.length > 0) {
|
|
110366
|
+
allowedToolsForDelegate = ["*", ...this.allowedTools.exclusions.map((t4) => "!" + t4)];
|
|
110367
|
+
}
|
|
110360
110368
|
const enhancedParams = {
|
|
110361
110369
|
...toolParams,
|
|
110362
110370
|
currentIteration,
|
|
@@ -110372,6 +110380,18 @@ ${errorXml}
|
|
|
110372
110380
|
searchDelegate: this.searchDelegate,
|
|
110373
110381
|
enableTasks: this.enableTasks,
|
|
110374
110382
|
// Inherit task management (subagent gets isolated TaskManager)
|
|
110383
|
+
enableMcp: !!this.mcpBridge,
|
|
110384
|
+
// Inherit MCP enablement
|
|
110385
|
+
mcpConfig: this.mcpConfig,
|
|
110386
|
+
// Inherit MCP configuration
|
|
110387
|
+
mcpConfigPath: this.mcpConfigPath,
|
|
110388
|
+
// Inherit MCP config path
|
|
110389
|
+
enableBash: this.enableBash,
|
|
110390
|
+
// Inherit bash enablement
|
|
110391
|
+
bashConfig: this.bashConfig,
|
|
110392
|
+
// Inherit bash configuration
|
|
110393
|
+
allowedTools: allowedToolsForDelegate,
|
|
110394
|
+
// Inherit allowed tools from parent
|
|
110375
110395
|
debug: this.debug,
|
|
110376
110396
|
tracer: this.tracer
|
|
110377
110397
|
};
|
package/cjs/index.cjs
CHANGED
|
@@ -96685,6 +96685,14 @@ ${errorXml}
|
|
|
96685
96685
|
});
|
|
96686
96686
|
const executeToolCall = async () => {
|
|
96687
96687
|
if (toolName === "delegate") {
|
|
96688
|
+
let allowedToolsForDelegate = null;
|
|
96689
|
+
if (this.allowedTools.mode === "whitelist") {
|
|
96690
|
+
allowedToolsForDelegate = [...this.allowedTools.allowed];
|
|
96691
|
+
} else if (this.allowedTools.mode === "none") {
|
|
96692
|
+
allowedToolsForDelegate = [];
|
|
96693
|
+
} else if (this.allowedTools.mode === "all" && this.allowedTools.exclusions?.length > 0) {
|
|
96694
|
+
allowedToolsForDelegate = ["*", ...this.allowedTools.exclusions.map((t4) => "!" + t4)];
|
|
96695
|
+
}
|
|
96688
96696
|
const enhancedParams = {
|
|
96689
96697
|
...toolParams,
|
|
96690
96698
|
currentIteration,
|
|
@@ -96700,6 +96708,18 @@ ${errorXml}
|
|
|
96700
96708
|
searchDelegate: this.searchDelegate,
|
|
96701
96709
|
enableTasks: this.enableTasks,
|
|
96702
96710
|
// Inherit task management (subagent gets isolated TaskManager)
|
|
96711
|
+
enableMcp: !!this.mcpBridge,
|
|
96712
|
+
// Inherit MCP enablement
|
|
96713
|
+
mcpConfig: this.mcpConfig,
|
|
96714
|
+
// Inherit MCP configuration
|
|
96715
|
+
mcpConfigPath: this.mcpConfigPath,
|
|
96716
|
+
// Inherit MCP config path
|
|
96717
|
+
enableBash: this.enableBash,
|
|
96718
|
+
// Inherit bash enablement
|
|
96719
|
+
bashConfig: this.bashConfig,
|
|
96720
|
+
// Inherit bash configuration
|
|
96721
|
+
allowedTools: allowedToolsForDelegate,
|
|
96722
|
+
// Inherit allowed tools from parent
|
|
96703
96723
|
debug: this.debug,
|
|
96704
96724
|
tracer: this.tracer
|
|
96705
96725
|
};
|
package/package.json
CHANGED
package/src/agent/ProbeAgent.js
CHANGED
|
@@ -3680,6 +3680,17 @@ Follow these instructions carefully:
|
|
|
3680
3680
|
const executeToolCall = async () => {
|
|
3681
3681
|
// For delegate tool, pass current iteration, max iterations, session ID, and config
|
|
3682
3682
|
if (toolName === 'delegate') {
|
|
3683
|
+
// Reconstruct allowedTools array preserving all modes (same logic as clone())
|
|
3684
|
+
let allowedToolsForDelegate = null;
|
|
3685
|
+
if (this.allowedTools.mode === 'whitelist') {
|
|
3686
|
+
allowedToolsForDelegate = [...this.allowedTools.allowed];
|
|
3687
|
+
} else if (this.allowedTools.mode === 'none') {
|
|
3688
|
+
allowedToolsForDelegate = [];
|
|
3689
|
+
} else if (this.allowedTools.mode === 'all' && this.allowedTools.exclusions?.length > 0) {
|
|
3690
|
+
allowedToolsForDelegate = ['*', ...this.allowedTools.exclusions.map(t => '!' + t)];
|
|
3691
|
+
}
|
|
3692
|
+
// If mode is 'all' with no exclusions, leave as null (default)
|
|
3693
|
+
|
|
3683
3694
|
const enhancedParams = {
|
|
3684
3695
|
...toolParams,
|
|
3685
3696
|
currentIteration,
|
|
@@ -3690,6 +3701,12 @@ Follow these instructions carefully:
|
|
|
3690
3701
|
model: this.model, // Inherit model
|
|
3691
3702
|
searchDelegate: this.searchDelegate,
|
|
3692
3703
|
enableTasks: this.enableTasks, // Inherit task management (subagent gets isolated TaskManager)
|
|
3704
|
+
enableMcp: !!this.mcpBridge, // Inherit MCP enablement
|
|
3705
|
+
mcpConfig: this.mcpConfig, // Inherit MCP configuration
|
|
3706
|
+
mcpConfigPath: this.mcpConfigPath, // Inherit MCP config path
|
|
3707
|
+
enableBash: this.enableBash, // Inherit bash enablement
|
|
3708
|
+
bashConfig: this.bashConfig, // Inherit bash configuration
|
|
3709
|
+
allowedTools: allowedToolsForDelegate, // Inherit allowed tools from parent
|
|
3693
3710
|
debug: this.debug,
|
|
3694
3711
|
tracer: this.tracer
|
|
3695
3712
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|