agent-afk 5.75.3 → 5.76.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/README.md +1 -1
- package/dist/agent/routing-telemetry.d.ts +1 -0
- package/dist/agent/session/model-slots.d.ts +1 -1
- package/dist/agent/subagent.d.ts +1 -0
- package/dist/agent/tools/handlers/_rg-availability.d.ts +1 -0
- package/dist/agent/trace/events.d.ts +4 -0
- package/dist/agent/trace/types.d.ts +1 -0
- package/dist/cli.mjs +442 -443
- package/dist/index.mjs +159 -160
- package/dist/telegram.mjs +203 -204
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -145,7 +145,7 @@ afk chat "refactor this" --model gpt-5.5
|
|
|
145
145
|
| `local` | *(empty — you configure)* | Point at Ollama, LM Studio, or any OpenAI-compatible shim via `AFK_MODEL_LOCAL` + `AFK_MODEL_LOCAL_BASE_URL` |
|
|
146
146
|
| `small` | `claude-haiku-4-5-20251001` | Cheapest/fastest Anthropic tier |
|
|
147
147
|
| `medium` | `claude-sonnet-5` | General-use default |
|
|
148
|
-
| `large` | `claude-opus-
|
|
148
|
+
| `large` | `claude-opus-5` | Most capable |
|
|
149
149
|
|
|
150
150
|
The `haiku`/`sonnet`/`opus`/`fable` handles are **fixed identities**, not tier
|
|
151
151
|
aliases: they always resolve to their Claude model even after you rebind a tier
|
|
@@ -17,6 +17,7 @@ export interface RoutingDecisionEntry {
|
|
|
17
17
|
reason?: string | undefined;
|
|
18
18
|
requested_name?: string | undefined;
|
|
19
19
|
model?: string | undefined;
|
|
20
|
+
resolved_agent_type?: string | undefined;
|
|
20
21
|
mode?: string | undefined;
|
|
21
22
|
max_turns?: number | undefined;
|
|
22
23
|
node_count?: number | undefined;
|
|
@@ -11,7 +11,7 @@ export interface ModelSlotBinding {
|
|
|
11
11
|
export type ModelSlots = Record<SlotName, ModelSlotBinding>;
|
|
12
12
|
export declare const CLAUDE_HAIKU_ID = "claude-haiku-4-5-20251001";
|
|
13
13
|
export declare const CLAUDE_SONNET_ID = "claude-sonnet-5";
|
|
14
|
-
export declare const CLAUDE_OPUS_ID = "claude-opus-
|
|
14
|
+
export declare const CLAUDE_OPUS_ID = "claude-opus-5";
|
|
15
15
|
export declare const CLAUDE_FABLE_5_ID = "claude-fable-5";
|
|
16
16
|
export declare const DEFAULT_SLOT_BINDINGS: ModelSlots;
|
|
17
17
|
export declare const AUTO_SENTINEL = "auto";
|
package/dist/agent/subagent.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function describeRgUnavailable(rgPath: string): string | undefined;
|
|
@@ -108,6 +108,7 @@ export declare const SubagentStartedPayloadSchema: z.ZodObject<{
|
|
|
108
108
|
systemPromptHash: z.ZodOptional<z.ZodString>;
|
|
109
109
|
promptHead: z.ZodOptional<z.ZodString>;
|
|
110
110
|
agentType: z.ZodOptional<z.ZodString>;
|
|
111
|
+
resolvedAgentType: z.ZodOptional<z.ZodString>;
|
|
111
112
|
}, z.core.$strip>;
|
|
112
113
|
export declare const SubagentSucceededPayloadSchema: z.ZodObject<{
|
|
113
114
|
transition: z.ZodLiteral<"succeeded">;
|
|
@@ -152,6 +153,7 @@ export declare const SubagentLifecyclePayloadSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
152
153
|
systemPromptHash: z.ZodOptional<z.ZodString>;
|
|
153
154
|
promptHead: z.ZodOptional<z.ZodString>;
|
|
154
155
|
agentType: z.ZodOptional<z.ZodString>;
|
|
156
|
+
resolvedAgentType: z.ZodOptional<z.ZodString>;
|
|
155
157
|
}, z.core.$strip>, z.ZodObject<{
|
|
156
158
|
transition: z.ZodLiteral<"succeeded">;
|
|
157
159
|
subagentId: z.ZodString;
|
|
@@ -609,6 +611,7 @@ export declare const TraceEventInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
609
611
|
systemPromptHash: z.ZodOptional<z.ZodString>;
|
|
610
612
|
promptHead: z.ZodOptional<z.ZodString>;
|
|
611
613
|
agentType: z.ZodOptional<z.ZodString>;
|
|
614
|
+
resolvedAgentType: z.ZodOptional<z.ZodString>;
|
|
612
615
|
}, z.core.$strip>, z.ZodObject<{
|
|
613
616
|
transition: z.ZodLiteral<"succeeded">;
|
|
614
617
|
subagentId: z.ZodString;
|
|
@@ -923,6 +926,7 @@ export declare const TraceEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
923
926
|
systemPromptHash: z.ZodOptional<z.ZodString>;
|
|
924
927
|
promptHead: z.ZodOptional<z.ZodString>;
|
|
925
928
|
agentType: z.ZodOptional<z.ZodString>;
|
|
929
|
+
resolvedAgentType: z.ZodOptional<z.ZodString>;
|
|
926
930
|
}, z.core.$strip>, z.ZodObject<{
|
|
927
931
|
transition: z.ZodLiteral<"succeeded">;
|
|
928
932
|
subagentId: z.ZodString;
|