@probelabs/probe 0.6.0-rc210 → 0.6.0-rc212

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.
Files changed (32) hide show
  1. package/bin/binaries/probe-v0.6.0-rc212-aarch64-apple-darwin.tar.gz +0 -0
  2. package/bin/binaries/probe-v0.6.0-rc212-aarch64-unknown-linux-musl.tar.gz +0 -0
  3. package/bin/binaries/probe-v0.6.0-rc212-x86_64-apple-darwin.tar.gz +0 -0
  4. package/bin/binaries/probe-v0.6.0-rc212-x86_64-pc-windows-msvc.zip +0 -0
  5. package/bin/binaries/probe-v0.6.0-rc212-x86_64-unknown-linux-musl.tar.gz +0 -0
  6. package/build/agent/ProbeAgent.js +19 -3
  7. package/build/agent/index.js +639 -75
  8. package/build/agent/probeTool.js +11 -2
  9. package/build/agent/tools.js +8 -0
  10. package/build/index.js +6 -1
  11. package/build/search.js +2 -2
  12. package/build/tools/analyzeAll.js +624 -0
  13. package/build/tools/common.js +149 -85
  14. package/build/tools/langchain.js +1 -1
  15. package/build/tools/vercel.js +61 -2
  16. package/cjs/agent/ProbeAgent.cjs +9698 -6756
  17. package/cjs/index.cjs +9702 -6754
  18. package/package.json +1 -1
  19. package/src/agent/ProbeAgent.js +19 -3
  20. package/src/agent/probeTool.js +11 -2
  21. package/src/agent/tools.js +8 -0
  22. package/src/index.js +6 -1
  23. package/src/search.js +2 -2
  24. package/src/tools/analyzeAll.js +624 -0
  25. package/src/tools/common.js +149 -85
  26. package/src/tools/langchain.js +1 -1
  27. package/src/tools/vercel.js +61 -2
  28. package/bin/binaries/probe-v0.6.0-rc210-aarch64-apple-darwin.tar.gz +0 -0
  29. package/bin/binaries/probe-v0.6.0-rc210-aarch64-unknown-linux-musl.tar.gz +0 -0
  30. package/bin/binaries/probe-v0.6.0-rc210-x86_64-apple-darwin.tar.gz +0 -0
  31. package/bin/binaries/probe-v0.6.0-rc210-x86_64-pc-windows-msvc.zip +0 -0
  32. package/bin/binaries/probe-v0.6.0-rc210-x86_64-unknown-linux-musl.tar.gz +0 -0
@@ -196,12 +196,21 @@ export function createWrappedTools(baseTools) {
196
196
  // Wrap delegate tool
197
197
  if (baseTools.delegateTool) {
198
198
  wrappedTools.delegateToolInstance = wrapToolWithEmitter(
199
- baseTools.delegateTool,
200
- 'delegate',
199
+ baseTools.delegateTool,
200
+ 'delegate',
201
201
  baseTools.delegateTool.execute
202
202
  );
203
203
  }
204
204
 
205
+ // Wrap analyze_all tool
206
+ if (baseTools.analyzeAllTool) {
207
+ wrappedTools.analyzeAllToolInstance = wrapToolWithEmitter(
208
+ baseTools.analyzeAllTool,
209
+ 'analyze_all',
210
+ baseTools.analyzeAllTool.execute
211
+ );
212
+ }
213
+
205
214
  // Wrap bash tool
206
215
  if (baseTools.bashTool) {
207
216
  wrappedTools.bashToolInstance = wrapToolWithEmitter(
@@ -4,6 +4,7 @@ import {
4
4
  queryTool,
5
5
  extractTool,
6
6
  delegateTool,
7
+ analyzeAllTool,
7
8
  bashTool,
8
9
  editTool,
9
10
  createTool,
@@ -14,6 +15,7 @@ import {
14
15
  querySchema,
15
16
  extractSchema,
16
17
  delegateSchema,
18
+ analyzeAllSchema,
17
19
  bashSchema,
18
20
  editSchema,
19
21
  createSchema,
@@ -21,6 +23,7 @@ import {
21
23
  queryToolDefinition,
22
24
  extractToolDefinition,
23
25
  delegateToolDefinition,
26
+ analyzeAllToolDefinition,
24
27
  bashToolDefinition,
25
28
  editToolDefinition,
26
29
  createToolDefinition,
@@ -53,6 +56,9 @@ export function createTools(configOptions) {
53
56
  if (configOptions.enableDelegate && isToolAllowed('delegate')) {
54
57
  tools.delegateTool = delegateTool(configOptions);
55
58
  }
59
+ if (isToolAllowed('analyze_all')) {
60
+ tools.analyzeAllTool = analyzeAllTool(configOptions);
61
+ }
56
62
 
57
63
  // Add bash tool if enabled
58
64
  if (configOptions.enableBash && isToolAllowed('bash')) {
@@ -88,6 +94,7 @@ export {
88
94
  querySchema,
89
95
  extractSchema,
90
96
  delegateSchema,
97
+ analyzeAllSchema,
91
98
  bashSchema,
92
99
  editSchema,
93
100
  createSchema,
@@ -96,6 +103,7 @@ export {
96
103
  queryToolDefinition,
97
104
  extractToolDefinition,
98
105
  delegateToolDefinition,
106
+ analyzeAllToolDefinition,
99
107
  bashToolDefinition,
100
108
  editToolDefinition,
101
109
  createToolDefinition,
package/build/index.js CHANGED
@@ -25,12 +25,14 @@ import {
25
25
  querySchema,
26
26
  extractSchema,
27
27
  delegateSchema,
28
+ analyzeAllSchema,
28
29
  attemptCompletionSchema,
29
30
  bashSchema,
30
31
  searchToolDefinition,
31
32
  queryToolDefinition,
32
33
  extractToolDefinition,
33
34
  delegateToolDefinition,
35
+ analyzeAllToolDefinition,
34
36
  attemptCompletionToolDefinition,
35
37
  bashToolDefinition,
36
38
  parseXmlToolCall
@@ -41,7 +43,7 @@ import {
41
43
  editToolDefinition,
42
44
  createToolDefinition
43
45
  } from './tools/edit.js';
44
- import { searchTool, queryTool, extractTool, delegateTool } from './tools/vercel.js';
46
+ import { searchTool, queryTool, extractTool, delegateTool, analyzeAllTool } from './tools/vercel.js';
45
47
  import { bashTool } from './tools/bash.js';
46
48
  import { editTool, createTool } from './tools/edit.js';
47
49
  import { ProbeAgent } from './agent/ProbeAgent.js';
@@ -85,6 +87,7 @@ export {
85
87
  queryTool,
86
88
  extractTool,
87
89
  delegateTool,
90
+ analyzeAllTool,
88
91
  bashTool,
89
92
  editTool,
90
93
  createTool,
@@ -96,6 +99,7 @@ export {
96
99
  querySchema,
97
100
  extractSchema,
98
101
  delegateSchema,
102
+ analyzeAllSchema,
99
103
  attemptCompletionSchema,
100
104
  bashSchema,
101
105
  editSchema,
@@ -105,6 +109,7 @@ export {
105
109
  queryToolDefinition,
106
110
  extractToolDefinition,
107
111
  delegateToolDefinition,
112
+ analyzeAllToolDefinition,
108
113
  attemptCompletionToolDefinition,
109
114
  bashToolDefinition,
110
115
  editToolDefinition,
package/build/search.js CHANGED
@@ -94,8 +94,8 @@ export async function search(options) {
94
94
 
95
95
  // Set default maxTokens if not provided
96
96
  if (!options.maxTokens) {
97
- options.maxTokens = 10000;
98
- cliArgs.push('--max-tokens', '10000');
97
+ options.maxTokens = 20000;
98
+ cliArgs.push('--max-tokens', '20000');
99
99
  }
100
100
 
101
101
  // Set default timeout if not provided