agent-afk 5.19.1 → 5.19.3
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/dist/agent/concurrency-pool.d.ts +2 -0
- package/dist/agent/dag.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/query.d.ts +2 -0
- package/dist/agent/subagent/wave.d.ts +1 -0
- package/dist/agent/subagent.d.ts +1 -0
- package/dist/agent/types/config-types.d.ts +1 -0
- package/dist/cli.mjs +426 -426
- package/dist/index.mjs +148 -148
- package/dist/telegram.mjs +220 -220
- package/package.json +1 -1
package/dist/agent/dag.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface AnthropicDirectQueryOptions {
|
|
|
22
22
|
thinking?: import('@anthropic-ai/sdk/resources').ThinkingConfigParam;
|
|
23
23
|
effort?: import('../../types/sdk-types.js').EffortLevel;
|
|
24
24
|
baseUrl?: string;
|
|
25
|
+
maxToolUseIterations?: number;
|
|
25
26
|
traceWriter?: import('../../trace/index.js').TraceWriter;
|
|
26
27
|
autoResumeOnUsageLimit?: boolean;
|
|
27
28
|
cwdDependentsFactory?: (cwd: string) => {
|
|
@@ -42,6 +43,7 @@ export declare class AnthropicDirectQuery implements ProviderQuery {
|
|
|
42
43
|
private readonly thinking?;
|
|
43
44
|
private readonly effort?;
|
|
44
45
|
private readonly baseUrl?;
|
|
46
|
+
private readonly maxToolUseIterations?;
|
|
45
47
|
private readonly traceWriter?;
|
|
46
48
|
private readonly state;
|
|
47
49
|
private readonly abort;
|
|
@@ -7,5 +7,6 @@ export interface WaveTask<T = unknown> {
|
|
|
7
7
|
export interface RunWaveOptions {
|
|
8
8
|
failFast?: boolean;
|
|
9
9
|
teardown?: boolean;
|
|
10
|
+
maxConcurrency?: number;
|
|
10
11
|
}
|
|
11
12
|
export declare function runWave<T = unknown>(tasks: ReadonlyArray<WaveTask<T>>, options?: RunWaveOptions): Promise<SubagentResult<T>[]>;
|
package/dist/agent/subagent.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { type SubagentHandle } from './subagent/handle.js';
|
|
|
11
11
|
import type { SubagentStatus, SubagentResult, SubagentTrace } from './subagent/result.js';
|
|
12
12
|
export type { SubagentStatus, SubagentResult, SubagentTrace, SubagentHandle };
|
|
13
13
|
export declare const DENY_ELICITATION: NonNullable<AgentConfig['onElicitation']>;
|
|
14
|
+
export declare const SUBAGENT_DEFAULT_MAX_TOOL_USE_ITERATIONS = 50;
|
|
14
15
|
export interface ForkParent {
|
|
15
16
|
sessionId?: string;
|
|
16
17
|
id?: string;
|