agent-afk 5.223.6 → 5.224.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/shared/compaction.d.ts +5 -1
- package/dist/cli.mjs +241 -241
- package/dist/config/env.d.ts +8 -0
- package/dist/index.mjs +111 -111
- package/dist/telegram.mjs +129 -129
- package/package.json +1 -1
package/dist/config/env.d.ts
CHANGED
|
@@ -194,6 +194,14 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
194
194
|
readonly default: "2048";
|
|
195
195
|
readonly example: "4096";
|
|
196
196
|
readonly category: "model";
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "AFK_MICROCOMPACT_DELEGATION_BYTES";
|
|
199
|
+
readonly description: "Byte threshold for delegation tool results (agent/compose/skill). These results carry pre-compressed subagent findings that are expensive to re-derive -- clearing them destroys irreplaceable synthesized knowledge. A delegation tool result must be at least this large before microcompaction considers clearing it. Default 16384 (16KB, vs 2KB for ordinary tools). Set to match AFK_MICROCOMPACT_TOOL_RESULT_BYTES to disable the elevated threshold.";
|
|
200
|
+
readonly type: "number";
|
|
201
|
+
readonly required: false;
|
|
202
|
+
readonly default: "16384";
|
|
203
|
+
readonly example: "32768";
|
|
204
|
+
readonly category: "model";
|
|
197
205
|
}, {
|
|
198
206
|
readonly name: "AFK_MODEL";
|
|
199
207
|
readonly description: "Default model for agent turns. Accepts slot names (local, small, medium, large), fixed-identity aliases (opus, sonnet, haiku, fable), or full model IDs. Migration: AFK_MODEL=sonnet now pins the fixed Sonnet identity rather than following a rebound medium tier.";
|