agent-afk 5.346.0 → 5.348.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/agents/index.d.ts +1 -1
- package/dist/agent/agents/tool-def.d.ts +4 -1
- package/dist/agent/daemon.startup-register.d.ts +3 -1
- package/dist/agent/episodes/facet-bridge.d.ts +2 -0
- package/dist/agent/episodes/index.d.ts +6 -3
- package/dist/agent/episodes/q-ingest.d.ts +16 -0
- package/dist/agent/episodes/q-store.d.ts +35 -0
- package/dist/agent/episodes/types.d.ts +0 -11
- package/dist/agent/memory/index.d.ts +1 -1
- package/dist/agent/memory/memory-loader.d.ts +10 -0
- package/dist/agent/memory/memory-store.d.ts +1 -0
- package/dist/agent/memory/memory-store.schema.d.ts +2 -2
- package/dist/agent/memory/types.d.ts +5 -3
- package/dist/agent/outcomes/terminal-state.d.ts +1 -0
- package/dist/agent/providers/shared/abortable-stream.d.ts +6 -1
- package/dist/agent/providers/shared/stream-stall-timeout.d.ts +2 -0
- package/dist/agent/session/default-subagent-model.d.ts +2 -0
- package/dist/agent/session/pause-controller.d.ts +3 -0
- package/dist/agent/session/session-meta.d.ts +5 -4
- package/dist/agent/subagent/fork-child-config.d.ts +1 -0
- package/dist/agent/subagent/identity-preamble.d.ts +5 -1
- package/dist/agent/tools/handlers/index.d.ts +2 -1
- package/dist/agent/tools/handlers/journal.d.ts +2 -0
- package/dist/agent/tools/schemas.journal.d.ts +2 -0
- package/dist/agent/tools/schemas.order.d.ts +1 -1
- package/dist/agent/tools/subagent-executor.d.ts +1 -0
- package/dist/agent/trace/receipt.types.d.ts +4 -0
- package/dist/bundled-plugins/awa-bundled/skills/ground-state/SKILL.md +1 -1
- package/dist/cli/_lib/stream-renderer-lifecycle.d.ts +1 -1
- package/dist/cli/commands/doctor-checks.subsystem.d.ts +30 -0
- package/dist/cli/commands/interactive/bootstrap-session-builder.d.ts +1 -1
- package/dist/cli.mjs +702 -593
- package/dist/config/delegation-profiles.d.ts +28 -0
- package/dist/config/env.d.ts +15 -0
- package/dist/config/env.episode.d.ts +8 -0
- package/dist/config/env.model.d.ts +7 -0
- package/dist/index.mjs +466 -406
- package/dist/telegram.mjs +510 -470
- package/package.json +1 -1
- package/dist/agent/episodes/extract.d.ts +0 -2
- package/dist/agent/episodes/synthesize.d.ts +0 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface DelegationProfileValues {
|
|
2
|
+
maxNestingDepth: number;
|
|
3
|
+
maxConcurrentChildrenPerAgent: number | undefined;
|
|
4
|
+
maxConcurrentAgents: number | undefined;
|
|
5
|
+
maxTotalAgents: number | undefined;
|
|
6
|
+
}
|
|
7
|
+
export declare const DELEGATION_PROFILES: Readonly<{
|
|
8
|
+
readonly normal: {
|
|
9
|
+
readonly maxNestingDepth: 3;
|
|
10
|
+
readonly maxConcurrentChildrenPerAgent: undefined;
|
|
11
|
+
readonly maxConcurrentAgents: undefined;
|
|
12
|
+
readonly maxTotalAgents: undefined;
|
|
13
|
+
};
|
|
14
|
+
readonly deep: {
|
|
15
|
+
readonly maxNestingDepth: 5;
|
|
16
|
+
readonly maxConcurrentChildrenPerAgent: 4;
|
|
17
|
+
readonly maxConcurrentAgents: 16;
|
|
18
|
+
readonly maxTotalAgents: 48;
|
|
19
|
+
};
|
|
20
|
+
readonly shallow: {
|
|
21
|
+
readonly maxNestingDepth: 2;
|
|
22
|
+
readonly maxConcurrentChildrenPerAgent: 2;
|
|
23
|
+
readonly maxConcurrentAgents: 8;
|
|
24
|
+
readonly maxTotalAgents: 16;
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
export type DelegationProfileName = keyof typeof DELEGATION_PROFILES;
|
|
28
|
+
export declare function resolveDelegationProfile(raw: string | undefined): DelegationProfileValues | undefined;
|
package/dist/config/env.d.ts
CHANGED
|
@@ -162,6 +162,13 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
162
162
|
readonly default: "10";
|
|
163
163
|
readonly example: "5";
|
|
164
164
|
readonly category: "process";
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "AFK_DELEGATION_PROFILE";
|
|
167
|
+
readonly description: string;
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
readonly required: false;
|
|
170
|
+
readonly example: "deep";
|
|
171
|
+
readonly category: "model";
|
|
165
172
|
}, {
|
|
166
173
|
readonly name: "AFK_MAX_NESTING_DEPTH";
|
|
167
174
|
readonly description: string;
|
|
@@ -1916,6 +1923,14 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1916
1923
|
readonly default: "0";
|
|
1917
1924
|
readonly example: "1";
|
|
1918
1925
|
readonly category: "misc";
|
|
1926
|
+
}, {
|
|
1927
|
+
readonly name: "AFK_EPISODE_RECALL";
|
|
1928
|
+
readonly description: string;
|
|
1929
|
+
readonly type: "boolean";
|
|
1930
|
+
readonly required: false;
|
|
1931
|
+
readonly default: "0";
|
|
1932
|
+
readonly example: "1";
|
|
1933
|
+
readonly category: "misc";
|
|
1919
1934
|
}];
|
|
1920
1935
|
export type EnvObject = {
|
|
1921
1936
|
readonly [K in (typeof ENV_REGISTRY)[number]['name']]: string | undefined;
|
|
@@ -6,4 +6,12 @@ export declare const EPISODE_ENV_REGISTRY: readonly [{
|
|
|
6
6
|
readonly default: "0";
|
|
7
7
|
readonly example: "1";
|
|
8
8
|
readonly category: "misc";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "AFK_EPISODE_RECALL";
|
|
11
|
+
readonly description: string;
|
|
12
|
+
readonly type: "boolean";
|
|
13
|
+
readonly required: false;
|
|
14
|
+
readonly default: "0";
|
|
15
|
+
readonly example: "1";
|
|
16
|
+
readonly category: "misc";
|
|
9
17
|
}];
|
|
@@ -149,6 +149,13 @@ export declare const MODEL_ENV_REGISTRY: readonly [{
|
|
|
149
149
|
readonly default: "10";
|
|
150
150
|
readonly example: "5";
|
|
151
151
|
readonly category: "process";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "AFK_DELEGATION_PROFILE";
|
|
154
|
+
readonly description: string;
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly required: false;
|
|
157
|
+
readonly example: "deep";
|
|
158
|
+
readonly category: "model";
|
|
152
159
|
}, {
|
|
153
160
|
readonly name: "AFK_MAX_NESTING_DEPTH";
|
|
154
161
|
readonly description: string;
|