agent-afk 5.138.4 → 5.140.0
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/anthropic-direct/build-dispatcher.d.ts +1 -1
- package/dist/agent/workspace/index.d.ts +1 -1
- package/dist/agent/workspace/workspace-tools.d.ts +1 -0
- package/dist/cli/input/suggest-prompt.context.d.ts +3 -0
- package/dist/cli/input/suggest-prompt.d.ts +1 -0
- package/dist/cli/input/suggest-types.d.ts +2 -0
- package/dist/cli/summarize-tool-events.d.ts +2 -0
- package/dist/cli.mjs +534 -533
- package/dist/config/env.d.ts +1 -0
- package/dist/index.mjs +183 -208
- package/dist/telegram/session-context.d.ts +1 -1
- package/dist/telegram.mjs +255 -254
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ export interface BuildDispatcherOptions {
|
|
|
29
29
|
}
|
|
30
30
|
export interface BuildDispatcherDeps {
|
|
31
31
|
memoryStore: MemoryStore;
|
|
32
|
-
workspaceStore
|
|
32
|
+
workspaceStore?: WorkspaceStore;
|
|
33
33
|
surface: string;
|
|
34
34
|
readOnlyMemory: boolean;
|
|
35
35
|
readOnlyBash: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { WorkspaceStore, } from './workspace-store.js';
|
|
2
2
|
export type { WorkspaceEntryType, WorkspaceEntry, WorkspacePublishInput, WorkspaceRelationType, } from './workspace-store.js';
|
|
3
|
-
export { workspacePublishTool, workspaceToolSchemas, createWorkspaceHandlers, } from './workspace-tools.js';
|
|
3
|
+
export { workspacePublishTool, workspaceQueryTool, workspaceToolSchemas, createWorkspaceHandlers, } from './workspace-tools.js';
|
|
4
4
|
export { renderWorkspacePreamble, injectWorkspacePreamble, } from './workspace-preamble.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AnthropicToolDef, ToolHandler } from '../tools/types.js';
|
|
2
2
|
import { WorkspaceStore } from './workspace-store.js';
|
|
3
3
|
export declare const workspacePublishTool: AnthropicToolDef;
|
|
4
|
+
export declare const workspaceQueryTool: AnthropicToolDef;
|
|
4
5
|
export declare const workspaceToolSchemas: AnthropicToolDef[];
|
|
5
6
|
export declare function createWorkspaceHandlers(store: WorkspaceStore, sessionId: string, agentId?: string): Map<string, ToolHandler>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CompleteRequest, SuggestContext } from './suggest-types.js';
|
|
2
|
+
export { extractOutcome } from './suggest-prompt.context.js';
|
|
2
3
|
export declare function buildPromptSuggestionSystem(): string;
|
|
3
4
|
export declare function buildPromptSuggestionUser(ctx: SuggestContext): string;
|
|
4
5
|
export declare function hasSuggestionGrounding(ctx: SuggestContext): boolean;
|
|
@@ -8,6 +8,8 @@ export interface SuggestContext {
|
|
|
8
8
|
getHistory(): string[];
|
|
9
9
|
getDropdownTopCandidate(buffer: string): string | null;
|
|
10
10
|
getTranscriptTail(): string;
|
|
11
|
+
getUserArc?(): string[];
|
|
12
|
+
getLastAssistantResponse?(): string;
|
|
11
13
|
lastSubmitted?: string;
|
|
12
14
|
getRecentCommands(): string[];
|
|
13
15
|
llmEnabled(): boolean;
|