agent-afk 5.324.3 → 5.324.4
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/providers/openai-compatible/query/wind-down-final.d.ts +2 -1
- package/dist/agent/providers/shared/tool-loop-cap.d.ts +1 -0
- package/dist/agent/session/agent-session.lifecycle.d.ts +1 -0
- package/dist/agent/tools/git-read.policy.d.ts +1 -1
- package/dist/agent/tools/subagent-executor.dispatch-intent.d.ts +1 -0
- package/dist/cli.mjs +393 -393
- package/dist/index.mjs +201 -201
- package/dist/telegram.mjs +217 -217
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { WIND_DOWN_NO_ANSWER_PLACEHOLDER } from '../../shared/tool-loop-cap.js';
|
|
2
|
+
export { WIND_DOWN_NO_ANSWER_PLACEHOLDER };
|
|
2
3
|
export declare function stripToolCallMarkup(text: string): string;
|
|
3
4
|
export declare function windDownFinalText(roundText: string): string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const TOOL_USE_LOOP_CAPPED = "tool_use_loop_capped";
|
|
2
2
|
export declare const DEFAULT_MAX_TOOL_USE_ITERATIONS = 0;
|
|
3
|
+
export declare const WIND_DOWN_NO_ANSWER_PLACEHOLDER: string;
|
|
3
4
|
export declare const WIND_DOWN_NOTE: string;
|
|
4
5
|
export declare function resolveMaxToolIterations(configured: number | undefined): number;
|
|
5
6
|
export declare function shouldWindDown(completedRounds: number, maxIterations: number): boolean;
|
|
@@ -46,6 +46,7 @@ export interface BuildInitPromiseOptions {
|
|
|
46
46
|
setProviderIterator: (i: AsyncIterator<ProviderEvent>) => void;
|
|
47
47
|
getProviderIterator: () => AsyncIterator<ProviderEvent>;
|
|
48
48
|
getInputStream: () => QueryInputStream;
|
|
49
|
+
getProviderQuery: () => ProviderQuery;
|
|
49
50
|
isClosed: () => boolean;
|
|
50
51
|
abortSignal: AbortSignal;
|
|
51
52
|
accounting: AccountingAccumulator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const GIT_READ_SUBCOMMANDS: readonly ["status", "log", "diff", "show", "grep", "tag", "branch", "blame", "ls-files", "rev-parse"];
|
|
1
|
+
export declare const GIT_READ_SUBCOMMANDS: readonly ["status", "log", "diff", "show", "grep", "tag", "branch", "blame", "ls-files", "rev-parse", "merge-base", "rev-list", "reflog", "for-each-ref", "describe", "shortlog", "cat-file", "remote", "stash", "worktree"];
|
|
2
2
|
export type GitReadSubcommand = (typeof GIT_READ_SUBCOMMANDS)[number];
|
|
3
3
|
export interface GitReadRequest {
|
|
4
4
|
subcommand: unknown;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RegisteredAgent } from '../agents/index.js';
|
|
2
2
|
import type { ToolResult } from './types.js';
|
|
3
|
+
export declare function stripQuotedContent(prompt: string): string;
|
|
3
4
|
export declare function classifyDispatchIntent(prompt: string): string | undefined;
|
|
4
5
|
export declare function checkReadOnlyDispatchIntent(childWriteCapable: boolean, namedAgent: RegisteredAgent | undefined, prompt: string, classifyFn: (p: string) => string | undefined): ToolResult | undefined;
|
|
5
6
|
export declare function checkComposeReadOnlyDispatchIntent(nodes: ReadonlyArray<{
|