agent-afk 5.68.0 → 5.70.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/bundled-plugins/awa-bundled/skills/contract/SKILL.md +2 -0
- package/dist/cli/config/types.d.ts +2 -0
- package/dist/cli.mjs +5 -5
- package/dist/config/env.d.ts +1 -0
- package/dist/index.mjs +116 -116
- package/dist/telegram/bot.d.ts +1 -0
- package/dist/telegram/handlers/message.d.ts +4 -1
- package/dist/telegram.mjs +220 -220
- package/package.json +1 -1
|
@@ -17,6 +17,8 @@ For each sub-agent you plan to dispatch, define a schema before the call:
|
|
|
17
17
|
|
|
18
18
|
Embed the schema at the top of every sub-agent's prompt and require results in that exact shape. Instruct each sub-agent explicitly: "Return ONLY the schema fields. No preamble, no analysis prose, no explanation — begin your response with the first schema field." When sub-agents return, validate field-by-field. If any artifact is missing, malformed, or wrapped in prose, re-dispatch only the failing sub-agent with the gap cited. Merge only schema-valid responses.
|
|
19
19
|
|
|
20
|
+
Also instruct each sub-agent to stop on non-convergence: if repeated attempts at the same sub-goal stop making progress after a few tries, do not keep retrying — return the best partial result through the schema's designated failure/partial channel (`failure_modes`, or whatever blocked/`unverified` field that agent's schema defines), naming what could not be resolved. Activity is not progress.
|
|
21
|
+
|
|
20
22
|
## Epistemic confidence
|
|
21
23
|
|
|
22
24
|
Recommended for all sub-agents. Add to your return schema:
|
|
@@ -40,6 +40,7 @@ export interface CliConfig {
|
|
|
40
40
|
targets?: number[];
|
|
41
41
|
};
|
|
42
42
|
verifyDone?: boolean;
|
|
43
|
+
tagOnlyChats?: number[];
|
|
43
44
|
};
|
|
44
45
|
interactive?: {
|
|
45
46
|
worktreeAutoname?: boolean;
|
|
@@ -102,6 +103,7 @@ export interface ConfigFileSchema {
|
|
|
102
103
|
targets?: number[];
|
|
103
104
|
};
|
|
104
105
|
verifyDone?: boolean;
|
|
106
|
+
tagOnlyChats?: number[];
|
|
105
107
|
};
|
|
106
108
|
interactive?: {
|
|
107
109
|
worktreeAutoname?: boolean;
|