@probelabs/probe 0.6.0-rc166 → 0.6.0-rc168

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/index.d.ts CHANGED
@@ -9,6 +9,8 @@ export interface ProbeAgentOptions {
9
9
  sessionId?: string;
10
10
  /** Custom system prompt to replace the default system message */
11
11
  customPrompt?: string;
12
+ /** Alias for customPrompt. More intuitive naming for system prompts. */
13
+ systemPrompt?: string;
12
14
  /** Predefined prompt type (persona) */
13
15
  promptType?: 'code-explorer' | 'engineer' | 'code-review' | 'support' | 'architect';
14
16
  /** Allow the use of the 'implement' tool for code editing */
@@ -35,6 +37,10 @@ export interface ProbeAgentOptions {
35
37
  storageAdapter?: StorageAdapter;
36
38
  /** Hook callbacks for event-driven integration */
37
39
  hooks?: Record<string, (data: any) => void | Promise<void>>;
40
+ /** List of allowed tool names. Use ['*'] for all tools (default), [] or null for no tools (raw AI mode), or specific tool names like ['search', 'query', 'extract']. Supports exclusion with '!' prefix (e.g., ['*', '!bash']). */
41
+ allowedTools?: string[] | null;
42
+ /** Convenience flag to disable all tools (equivalent to allowedTools: []). Takes precedence over allowedTools if set. */
43
+ disableTools?: boolean;
38
44
  }
39
45
 
40
46
  /**
@@ -724,4 +730,4 @@ export declare class AppTracer {
724
730
  export declare function initializeTelemetryFromOptions(options: any): TelemetryConfig;
725
731
 
726
732
  // Default export for ES modules
727
- export { ProbeAgent as default };
733
+ export { ProbeAgent as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@probelabs/probe",
3
- "version": "0.6.0-rc166",
3
+ "version": "0.6.0-rc168",
4
4
  "description": "Node.js wrapper for the probe code search tool",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -77,6 +77,7 @@
77
77
  "@ai-sdk/anthropic": "^2.0.8",
78
78
  "@ai-sdk/google": "^2.0.14",
79
79
  "@ai-sdk/openai": "^2.0.10",
80
+ "@anthropic-ai/claude-agent-sdk": "^0.1.46",
80
81
  "@modelcontextprotocol/sdk": "^1.0.0",
81
82
  "@probelabs/maid": "^0.0.21",
82
83
  "adm-zip": "^0.5.16",
@@ -11,6 +11,8 @@ export interface ProbeAgentOptions {
11
11
  sessionId?: string;
12
12
  /** Custom system prompt to replace the default system message */
13
13
  customPrompt?: string;
14
+ /** Alias for customPrompt. More intuitive naming for system prompts. */
15
+ systemPrompt?: string;
14
16
  /** Predefined prompt type (persona) */
15
17
  promptType?: 'code-explorer' | 'engineer' | 'code-review' | 'support' | 'architect';
16
18
  /** Allow the use of the 'implement' tool for code editing */
@@ -35,6 +37,10 @@ export interface ProbeAgentOptions {
35
37
  mcpConfig?: any;
36
38
  /** @deprecated Use mcpConfig instead */
37
39
  mcpServers?: any[];
40
+ /** List of allowed tool names. Use ['*'] for all tools (default), [] or null for no tools (raw AI mode), or specific tool names like ['search', 'query', 'extract']. Supports exclusion with '!' prefix (e.g., ['*', '!bash']). */
41
+ allowedTools?: string[] | null;
42
+ /** Convenience flag to disable all tools (equivalent to allowedTools: []). Takes precedence over allowedTools if set. */
43
+ disableTools?: boolean;
38
44
  /** Retry configuration for handling transient API failures */
39
45
  retry?: RetryOptions;
40
46
  /** Fallback configuration for multi-provider support */
@@ -227,4 +233,4 @@ export interface ProbeAgentEvents {
227
233
  }
228
234
 
229
235
  // Default export
230
- export { ProbeAgent as default };
236
+ export { ProbeAgent as default };