agent-afk 5.320.3 → 5.320.5
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/query-system.d.ts +4 -0
- package/dist/agent/session/model-slots.d.ts +2 -3
- package/dist/agent/session/model-slots.hints.d.ts +2 -0
- package/dist/agent/workspace/index.d.ts +1 -1
- package/dist/agent/workspace/workspace-preamble.d.ts +4 -0
- package/dist/cli.mjs +387 -384
- package/dist/index.mjs +193 -190
- package/dist/telegram.mjs +205 -202
- package/package.json +1 -1
|
@@ -5,6 +5,10 @@ export declare function splitAtEnvironmentBoundary(assembled: string): {
|
|
|
5
5
|
stablePrefix: string;
|
|
6
6
|
volatileTail: string;
|
|
7
7
|
} | null;
|
|
8
|
+
export declare function splitAtWorkspacePreamble(stable: string): {
|
|
9
|
+
sharedHead: string;
|
|
10
|
+
preambleTail: string;
|
|
11
|
+
} | null;
|
|
8
12
|
export declare function composeQuerySystem(options: {
|
|
9
13
|
state: SessionState;
|
|
10
14
|
systemPrefix: ContentBlockParam[] | null;
|
|
@@ -16,12 +16,11 @@ export declare const CLAUDE_OPUS_ID = "claude-opus-5-5";
|
|
|
16
16
|
export declare const CLAUDE_OPUS_55_ID = "claude-opus-5-5";
|
|
17
17
|
export declare const CLAUDE_FABLE_5_ID = "claude-fable-5";
|
|
18
18
|
export declare const CLAUDE_FABLE_5_1_ID = "claude-fable-5-1";
|
|
19
|
-
export declare const GROK_FLAGSHIP_ID = "grok-4.
|
|
19
|
+
export declare const GROK_FLAGSHIP_ID = "grok-4.5";
|
|
20
20
|
export declare const DEFAULT_SLOT_BINDINGS: ModelSlots;
|
|
21
21
|
export declare const AUTO_SENTINEL = "auto";
|
|
22
22
|
export declare const DIRECT_MODEL_ALIASES: Readonly<Record<string, string>>;
|
|
23
|
-
export
|
|
24
|
-
export declare const MODEL_ALIASES_HINT: readonly string[];
|
|
23
|
+
export { OPENAI_MODEL_HINTS, MODEL_ALIASES_HINT } from './model-slots.hints.js';
|
|
25
24
|
export declare function setSlotBindings(bindings: ModelSlots | undefined): void;
|
|
26
25
|
export declare function resetSlotBindings(): void;
|
|
27
26
|
export declare function computeSlotBindings(fileOverrides?: Partial<Record<SlotName, ModelSlotBinding>>): ModelSlots;
|
|
@@ -4,4 +4,4 @@ export { workspacePublishTool, workspaceQueryTool, workspaceSubscribeTool, works
|
|
|
4
4
|
export { WORKSPACE_DELIVERY_RING_CAPACITY, WORKSPACE_DELIVERY_MAX_BYTES, } from './workspace-subscription-constants.js';
|
|
5
5
|
export type { WorkspaceSubscription } from './workspace-subscription.js';
|
|
6
6
|
export { notifySubscribers, formatWorkspaceDeliveryEnvelope, generateSubscriptionId, } from './workspace-subscription.js';
|
|
7
|
-
export { renderWorkspacePreamble, injectWorkspacePreamble, } from './workspace-preamble.js';
|
|
7
|
+
export { renderWorkspacePreamble, injectWorkspacePreamble, WORKSPACE_PREAMBLE_MARKERS, } from './workspace-preamble.js';
|
|
@@ -2,3 +2,7 @@ import type { AgentConfig } from '../types/config-types.js';
|
|
|
2
2
|
import type { WorkspaceEntry } from './workspace-store.js';
|
|
3
3
|
export declare function renderWorkspacePreamble(entries: WorkspaceEntry[]): string;
|
|
4
4
|
export declare function injectWorkspacePreamble(config: AgentConfig, entries: WorkspaceEntry[]): AgentConfig;
|
|
5
|
+
export declare const WORKSPACE_CONTEXT_HEADER = "# Workspace context (shared findings from sibling agents)";
|
|
6
|
+
export declare const WORKSPACE_COLD_START_HEADER = "# Workspace (shared agent scratchpad)";
|
|
7
|
+
export declare const WORKSPACE_TRUNCATED_NOTICE = "[Workspace preamble truncated: too many entries. Earlier entries omitted.]";
|
|
8
|
+
export declare const WORKSPACE_PREAMBLE_MARKERS: readonly string[];
|