agent-afk 5.358.0 → 5.360.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/daemon/github-event-poller.d.ts +13 -0
- package/dist/agent/tools/dispatch-preparation.d.ts +1 -0
- package/dist/agent/tools/dispatcher.pre-dispatch-gates.d.ts +1 -1
- package/dist/agent/tools/handlers/artifact-publish.d.ts +7 -0
- package/dist/agent/tools/readonly-bash.destructive-git.d.ts +2 -2
- package/dist/agent/tools/readonly-bash.destructive-git.here-string.d.ts +14 -0
- package/dist/agent/tools/readonly-bash.destructive-git.literal.d.ts +1 -0
- package/dist/agent/tools/schemas.artifact.d.ts +2 -1
- package/dist/agent/trace/events.d.ts +6 -0
- package/dist/agent/trace/events.session-phase.d.ts +6 -0
- package/dist/agent/trace/types.session-phase.d.ts +1 -1
- package/dist/agent/worktree/worktree-inventory.d.ts +31 -0
- package/dist/agent/worktree/worktree-sweep.d.ts +3 -0
- package/dist/bundled-plugins/awa-bundled/skills/refactor/SKILL.md +1 -1
- package/dist/cli.mjs +559 -554
- package/dist/config/env.auth.d.ts +6 -0
- package/dist/config/env.d.ts +8 -2
- package/dist/config/env.misc.d.ts +2 -2
- package/dist/improve/propose/template-engine.cluster-text.d.ts +10 -0
- package/dist/index.mjs +444 -442
- package/dist/telegram.mjs +474 -472
- package/package.json +2 -2
|
@@ -126,6 +126,12 @@ export declare const AUTH_ENV_REGISTRY: readonly [{
|
|
|
126
126
|
readonly required: false;
|
|
127
127
|
readonly category: "auth";
|
|
128
128
|
readonly secret: true;
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "AFK_ARTIFACT_SESSION_LIMIT";
|
|
131
|
+
readonly description: "Maximum number of artifacts the artifact_publish tool may register per session. Prevents unbounded storage growth in autonomous loops. Default: 50.";
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly required: false;
|
|
134
|
+
readonly category: "misc";
|
|
129
135
|
}, {
|
|
130
136
|
readonly name: "AFK_IMAGE_SESSION_LIMIT";
|
|
131
137
|
readonly description: "Maximum number of images the image_generate tool may produce per session. Prevents runaway spend in autonomous loops. Default: 10.";
|
package/dist/config/env.d.ts
CHANGED
|
@@ -683,6 +683,12 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
683
683
|
readonly required: false;
|
|
684
684
|
readonly category: "auth";
|
|
685
685
|
readonly secret: true;
|
|
686
|
+
}, {
|
|
687
|
+
readonly name: "AFK_ARTIFACT_SESSION_LIMIT";
|
|
688
|
+
readonly description: "Maximum number of artifacts the artifact_publish tool may register per session. Prevents unbounded storage growth in autonomous loops. Default: 50.";
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
readonly required: false;
|
|
691
|
+
readonly category: "misc";
|
|
686
692
|
}, {
|
|
687
693
|
readonly name: "AFK_IMAGE_SESSION_LIMIT";
|
|
688
694
|
readonly description: "Maximum number of images the image_generate tool may produce per session. Prevents runaway spend in autonomous loops. Default: 10.";
|
|
@@ -1871,8 +1877,8 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1871
1877
|
readonly description: string;
|
|
1872
1878
|
readonly type: "boolean";
|
|
1873
1879
|
readonly required: false;
|
|
1874
|
-
readonly
|
|
1875
|
-
readonly
|
|
1880
|
+
readonly example: "1";
|
|
1881
|
+
readonly category: "misc";
|
|
1876
1882
|
}, {
|
|
1877
1883
|
readonly name: "AFK_OTLP_ENDPOINT";
|
|
1878
1884
|
readonly description: string;
|
|
@@ -184,8 +184,8 @@ export declare const MISC_ENV_REGISTRY: readonly [{
|
|
|
184
184
|
readonly description: string;
|
|
185
185
|
readonly type: "boolean";
|
|
186
186
|
readonly required: false;
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
187
|
+
readonly example: "1";
|
|
188
|
+
readonly category: "misc";
|
|
189
189
|
}, {
|
|
190
190
|
readonly name: "AFK_OTLP_ENDPOINT";
|
|
191
191
|
readonly description: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FailureCard } from '../schemas.js';
|
|
2
|
+
interface DisplayCluster {
|
|
3
|
+
normalized: string;
|
|
4
|
+
count: number;
|
|
5
|
+
sample: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function clusterMarkdown(text: string): string;
|
|
8
|
+
export declare function extractDisplayClusters(card: FailureCard): DisplayCluster[];
|
|
9
|
+
export declare function renderClusterSection(clusters: DisplayCluster[], failureCount: number): string[];
|
|
10
|
+
export {};
|