@probelabs/probe 0.6.0-rc225 → 0.6.0-rc227
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-rc227-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc227-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc227-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc227-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc227-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/ProbeAgent.d.ts +24 -0
- package/build/agent/ProbeAgent.js +310 -141
- package/build/agent/engines/enhanced-claude-code.js +72 -3
- package/build/agent/index.js +386 -129
- package/build/tools/analyzeAll.js +6 -1
- package/build/tools/bash.js +18 -3
- package/build/tools/edit.js +19 -10
- package/build/tools/vercel.js +17 -7
- package/build/utils/path-validation.js +148 -1
- package/cjs/agent/ProbeAgent.cjs +683 -389
- package/cjs/index.cjs +680 -389
- package/package.json +1 -1
- package/src/agent/ProbeAgent.d.ts +24 -0
- package/src/agent/ProbeAgent.js +310 -141
- package/src/agent/engines/enhanced-claude-code.js +72 -3
- package/src/tools/analyzeAll.js +6 -1
- package/src/tools/bash.js +18 -3
- package/src/tools/edit.js +19 -10
- package/src/tools/vercel.js +17 -7
- package/src/utils/path-validation.js +148 -1
- package/bin/binaries/probe-v0.6.0-rc225-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc225-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc225-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc225-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc225-x86_64-unknown-linux-musl.tar.gz +0 -0
package/package.json
CHANGED
|
@@ -3,6 +3,26 @@ import { EventEmitter } from 'events';
|
|
|
3
3
|
import type { RetryOptions } from './RetryManager';
|
|
4
4
|
import type { FallbackOptions } from './FallbackManager';
|
|
5
5
|
|
|
6
|
+
// ============================================================================
|
|
7
|
+
// Timeout Configuration Constants
|
|
8
|
+
// ============================================================================
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Default activity timeout for engine streams (3 minutes / 180000ms).
|
|
12
|
+
* This is the time allowed between stream chunks before considering the stream stalled.
|
|
13
|
+
*/
|
|
14
|
+
export const ENGINE_ACTIVITY_TIMEOUT_DEFAULT: number;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Minimum allowed activity timeout (5 seconds / 5000ms).
|
|
18
|
+
*/
|
|
19
|
+
export const ENGINE_ACTIVITY_TIMEOUT_MIN: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Maximum allowed activity timeout (10 minutes / 600000ms).
|
|
23
|
+
*/
|
|
24
|
+
export const ENGINE_ACTIVITY_TIMEOUT_MAX: number;
|
|
25
|
+
|
|
6
26
|
/**
|
|
7
27
|
* Configuration options for creating a ProbeAgent instance
|
|
8
28
|
*/
|
|
@@ -80,6 +100,10 @@ export interface ProbeAgentOptions {
|
|
|
80
100
|
completionPrompt?: string;
|
|
81
101
|
/** Enable task management system for tracking multi-step progress */
|
|
82
102
|
enableTasks?: boolean;
|
|
103
|
+
/** Timeout in ms for AI requests (default: 120000 or REQUEST_TIMEOUT env var). Used to abort hung requests. */
|
|
104
|
+
requestTimeout?: number;
|
|
105
|
+
/** Maximum timeout in ms for the entire operation including all retries and fallbacks (default: 300000 or MAX_OPERATION_TIMEOUT env var). This is the absolute maximum time for streamTextWithRetryAndFallback. */
|
|
106
|
+
maxOperationTimeout?: number;
|
|
83
107
|
}
|
|
84
108
|
|
|
85
109
|
/**
|