@probelabs/probe 0.6.0-rc265 → 0.6.0-rc267
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-rc267-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc267-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc267-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc267-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc267-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/ProbeAgent.js +644 -1442
- package/build/agent/engines/enhanced-vercel.js +0 -7
- package/build/agent/index.js +3941 -5940
- package/build/agent/mcp/index.js +6 -15
- package/build/agent/mcp/xmlBridge.js +24 -324
- package/build/agent/tasks/index.js +0 -1
- package/build/agent/tools.js +11 -181
- package/build/index.js +13 -35
- package/build/tools/common.js +15 -707
- package/build/tools/executePlan.js +2 -2
- package/build/tools/index.js +8 -11
- package/cjs/agent/ProbeAgent.cjs +3734 -5831
- package/cjs/index.cjs +4797 -6869
- package/package.json +1 -1
- package/src/agent/ProbeAgent.js +644 -1442
- package/src/agent/engines/enhanced-vercel.js +0 -7
- package/src/agent/index.js +10 -2
- package/src/agent/mcp/index.js +6 -15
- package/src/agent/mcp/xmlBridge.js +24 -324
- package/src/agent/tasks/index.js +0 -1
- package/src/agent/tools.js +11 -181
- package/src/index.js +13 -35
- package/src/tools/common.js +15 -707
- package/src/tools/executePlan.js +2 -2
- package/src/tools/index.js +8 -11
- package/bin/binaries/probe-v0.6.0-rc265-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc265-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc265-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc265-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc265-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/xmlParsingUtils.js +0 -221
- package/src/agent/xmlParsingUtils.js +0 -221
|
@@ -393,7 +393,7 @@ export function createExecutePlanTool(options) {
|
|
|
393
393
|
description: 'Execute a JavaScript DSL program to orchestrate tool calls. ' +
|
|
394
394
|
'Use for batch processing, paginated APIs, multi-step workflows where intermediate data is large. ' +
|
|
395
395
|
'Write simple synchronous-looking code — do NOT use async/await.',
|
|
396
|
-
|
|
396
|
+
inputSchema: executePlanSchema,
|
|
397
397
|
execute: async ({ code, description }) => {
|
|
398
398
|
// Generate a unique session ID for this execute_plan invocation
|
|
399
399
|
// This ensures search pagination is isolated per execute_plan call
|
|
@@ -1051,7 +1051,7 @@ export function createCleanupExecutePlanTool(options) {
|
|
|
1051
1051
|
return tool({
|
|
1052
1052
|
description: 'Clean up output buffer and session store from previous execute_plan calls. ' +
|
|
1053
1053
|
'Use this when a previous execute_plan failed and left stale data, or before starting a fresh analysis.',
|
|
1054
|
-
|
|
1054
|
+
inputSchema: cleanupExecutePlanSchema,
|
|
1055
1055
|
execute: async ({ clearOutputBuffer = true, clearSessionStore = false }) => {
|
|
1056
1056
|
const span = tracer?.createToolSpan?.('cleanup_execute_plan', {
|
|
1057
1057
|
'cleanup.clear_output_buffer': clearOutputBuffer,
|
package/build/tools/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export { editTool, createTool, multiEditTool } from './edit.js';
|
|
|
12
12
|
export { createSearchTool, createQueryTool, createExtractTool } from './langchain.js';
|
|
13
13
|
|
|
14
14
|
// Export execute_plan and cleanup_execute_plan tools
|
|
15
|
-
export { createExecutePlanTool,
|
|
15
|
+
export { createExecutePlanTool, createCleanupExecutePlanTool } from './executePlan.js';
|
|
16
16
|
|
|
17
17
|
// Export common schemas and utilities
|
|
18
18
|
export {
|
|
@@ -24,15 +24,15 @@ export {
|
|
|
24
24
|
executePlanSchema,
|
|
25
25
|
cleanupExecutePlanSchema,
|
|
26
26
|
delegateDescription,
|
|
27
|
-
delegateToolDefinition,
|
|
28
27
|
bashDescription,
|
|
29
|
-
bashToolDefinition,
|
|
30
28
|
attemptCompletionSchema,
|
|
31
|
-
attemptCompletionToolDefinition,
|
|
32
29
|
parseAndResolvePaths,
|
|
33
30
|
resolveTargetPath,
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
listFilesSchema,
|
|
32
|
+
searchFilesSchema,
|
|
33
|
+
readImageSchema,
|
|
34
|
+
listSkillsSchema,
|
|
35
|
+
useSkillSchema
|
|
36
36
|
} from './common.js';
|
|
37
37
|
|
|
38
38
|
// Export edit and create schemas
|
|
@@ -42,10 +42,7 @@ export {
|
|
|
42
42
|
multiEditSchema,
|
|
43
43
|
editDescription,
|
|
44
44
|
createDescription,
|
|
45
|
-
multiEditDescription
|
|
46
|
-
editToolDefinition,
|
|
47
|
-
createToolDefinition,
|
|
48
|
-
multiEditToolDefinition
|
|
45
|
+
multiEditDescription
|
|
49
46
|
} from './edit.js';
|
|
50
47
|
|
|
51
48
|
// Export system message
|
|
@@ -66,4 +63,4 @@ const tools = {
|
|
|
66
63
|
DEFAULT_SYSTEM_MESSAGE
|
|
67
64
|
};
|
|
68
65
|
|
|
69
|
-
export { tools };
|
|
66
|
+
export { tools };
|