agent-afk 5.203.0 → 5.203.1
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/cli.mjs +689 -689
- package/dist/index.mjs +1 -1
- package/dist/telegram/session-anthropic.d.ts +1 -1
- package/dist/telegram/session-openai.d.ts +1 -1
- package/dist/telegram/session-xai.d.ts +1 -1
- package/dist/telegram/wire-telegram-executors.d.ts +24 -0
- package/dist/telegram.mjs +323 -323
- package/dist/web-server/session-owner.d.ts +1 -0
- package/dist/web-server/session-owner.wiring.d.ts +32 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AnthropicDirectProvider } from '../agent/providers/index.js';
|
|
2
|
+
import { type WiredExecutors } from '../agent/session/wire-executors.js';
|
|
3
|
+
import { BackgroundAgentRegistry } from '../agent/background-registry.js';
|
|
4
|
+
import { McpManager } from '../agent/mcp/index.js';
|
|
5
|
+
import { WorkspaceStore } from '../agent/workspace/index.js';
|
|
6
|
+
import { MemoryStore } from '../agent/memory/index.js';
|
|
7
|
+
import type { AgentSession } from '../agent/session/agent-session.js';
|
|
8
|
+
import type { AgentConfig } from '../agent/types.js';
|
|
9
|
+
import type { TraceWriter } from '../agent/trace/index.js';
|
|
10
|
+
export interface WebSessionWiring {
|
|
11
|
+
provider: AnthropicDirectProvider;
|
|
12
|
+
executors: WiredExecutors;
|
|
13
|
+
traceWriter: TraceWriter | undefined;
|
|
14
|
+
systemPrompt: string | undefined;
|
|
15
|
+
systemPromptSource: string | undefined;
|
|
16
|
+
backgroundRegistry: BackgroundAgentRegistry;
|
|
17
|
+
mcpManager: McpManager | undefined;
|
|
18
|
+
memoryStore: MemoryStore;
|
|
19
|
+
workspaceStore: WorkspaceStore;
|
|
20
|
+
drainSubagents: AgentConfig['drainSubagents'];
|
|
21
|
+
}
|
|
22
|
+
export interface WireWebSessionOptions {
|
|
23
|
+
model: string;
|
|
24
|
+
apiKey: string | undefined;
|
|
25
|
+
cwd: string;
|
|
26
|
+
rawPrompt: string | undefined;
|
|
27
|
+
rawPromptSource: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare function wireWebSession(opts: WireWebSessionOptions): Promise<WebSessionWiring>;
|
|
30
|
+
export interface WebSessionWiringInternal extends WebSessionWiring {
|
|
31
|
+
__bindSession: (s: AgentSession) => void;
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-afk",
|
|
3
|
-
"version": "5.203.
|
|
3
|
+
"version": "5.203.1",
|
|
4
4
|
"description": "Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|