agent-afk 5.338.1 → 5.339.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/file-checkpoint/bash-checkpoint.d.ts +5 -0
- package/dist/agent/file-checkpoint/file-checkpoint.d.ts +6 -0
- package/dist/agent/file-checkpoint/git-snapshot.attrs.d.ts +9 -0
- package/dist/agent/file-checkpoint/git-snapshot.d.ts +49 -0
- package/dist/agent/file-checkpoint/git-snapshot.diff.d.ts +27 -0
- package/dist/agent/file-checkpoint/git-snapshot.exec.d.ts +34 -0
- package/dist/agent/file-checkpoint/git-snapshot.index.d.ts +6 -0
- package/dist/agent/file-checkpoint/rewind-plan.d.ts +1 -0
- package/dist/agent/file-checkpoint/turn-log.d.ts +9 -1
- package/dist/agent/hooks.d.ts +1 -0
- package/dist/agent/provider.d.ts +1 -0
- package/dist/agent/providers/openai-compatible/system-prompt-wiring.d.ts +10 -0
- package/dist/agent/providers/shared/prompt-fragment-tokens.d.ts +23 -0
- package/dist/agent/risk-classifier.d.ts +1 -1
- package/dist/agent/session/session-meta.d.ts +1 -0
- package/dist/agent/trace/events.d.ts +5 -0
- package/dist/agent/trace/events.session-phase.d.ts +2 -0
- package/dist/agent/trace/types.session-phase.d.ts +1 -1
- package/dist/agent/types/session-types.d.ts +1 -0
- package/dist/cli/terminal-compositor.frame.lines.d.ts +1 -1
- package/dist/cli/terminal-compositor.types.d.ts +1 -0
- package/dist/cli.mjs +572 -567
- package/dist/config/env.d.ts +21 -0
- package/dist/config/env.file-checkpoint.d.ts +21 -0
- package/dist/config/env.session-storage.d.ts +21 -0
- package/dist/index.mjs +433 -428
- package/dist/paths.checkpoint.d.ts +2 -0
- package/dist/paths.d.ts +1 -1
- package/dist/telegram.mjs +458 -453
- package/dist/utils/errors.d.ts +2 -0
- package/dist/web-server/fork-ledger.d.ts +1 -0
- package/package.json +1 -1
package/dist/config/env.d.ts
CHANGED
|
@@ -1474,6 +1474,27 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1474
1474
|
readonly required: false;
|
|
1475
1475
|
readonly example: "1";
|
|
1476
1476
|
readonly category: "process";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_DISABLE";
|
|
1479
|
+
readonly description: "Disable best-effort git-backed capture of foreground bash file changes for /rewind.";
|
|
1480
|
+
readonly type: "boolean";
|
|
1481
|
+
readonly required: false;
|
|
1482
|
+
readonly example: "1";
|
|
1483
|
+
readonly category: "debug";
|
|
1484
|
+
}, {
|
|
1485
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_TIMEOUT_MS";
|
|
1486
|
+
readonly description: "Maximum milliseconds per bash checkpoint capture or diff. Default 5000.";
|
|
1487
|
+
readonly type: "number";
|
|
1488
|
+
readonly required: false;
|
|
1489
|
+
readonly default: "5000";
|
|
1490
|
+
readonly category: "debug";
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_MAX_FILES";
|
|
1493
|
+
readonly description: "Maximum changed files captured per bash call; larger diffs are reported as partial. Default 1000.";
|
|
1494
|
+
readonly type: "number";
|
|
1495
|
+
readonly required: false;
|
|
1496
|
+
readonly default: "1000";
|
|
1497
|
+
readonly category: "debug";
|
|
1477
1498
|
}, {
|
|
1478
1499
|
readonly name: "AFK_FILE_CHECKPOINT_RETENTION_DISABLE";
|
|
1479
1500
|
readonly description: string;
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
export declare const FILE_CHECKPOINT_ENV_REGISTRY: readonly [{
|
|
2
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_DISABLE";
|
|
3
|
+
readonly description: "Disable best-effort git-backed capture of foreground bash file changes for /rewind.";
|
|
4
|
+
readonly type: "boolean";
|
|
5
|
+
readonly required: false;
|
|
6
|
+
readonly example: "1";
|
|
7
|
+
readonly category: "debug";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_TIMEOUT_MS";
|
|
10
|
+
readonly description: "Maximum milliseconds per bash checkpoint capture or diff. Default 5000.";
|
|
11
|
+
readonly type: "number";
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly default: "5000";
|
|
14
|
+
readonly category: "debug";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_MAX_FILES";
|
|
17
|
+
readonly description: "Maximum changed files captured per bash call; larger diffs are reported as partial. Default 1000.";
|
|
18
|
+
readonly type: "number";
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly default: "1000";
|
|
21
|
+
readonly category: "debug";
|
|
22
|
+
}, {
|
|
2
23
|
readonly name: "AFK_FILE_CHECKPOINT_RETENTION_DISABLE";
|
|
3
24
|
readonly description: string;
|
|
4
25
|
readonly type: "boolean";
|
|
@@ -19,6 +19,27 @@ export declare const SESSION_STORAGE_ENV_REGISTRY: readonly [{
|
|
|
19
19
|
readonly required: false;
|
|
20
20
|
readonly example: "1";
|
|
21
21
|
readonly category: "process";
|
|
22
|
+
}, {
|
|
23
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_DISABLE";
|
|
24
|
+
readonly description: "Disable best-effort git-backed capture of foreground bash file changes for /rewind.";
|
|
25
|
+
readonly type: "boolean";
|
|
26
|
+
readonly required: false;
|
|
27
|
+
readonly example: "1";
|
|
28
|
+
readonly category: "debug";
|
|
29
|
+
}, {
|
|
30
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_TIMEOUT_MS";
|
|
31
|
+
readonly description: "Maximum milliseconds per bash checkpoint capture or diff. Default 5000.";
|
|
32
|
+
readonly type: "number";
|
|
33
|
+
readonly required: false;
|
|
34
|
+
readonly default: "5000";
|
|
35
|
+
readonly category: "debug";
|
|
36
|
+
}, {
|
|
37
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_MAX_FILES";
|
|
38
|
+
readonly description: "Maximum changed files captured per bash call; larger diffs are reported as partial. Default 1000.";
|
|
39
|
+
readonly type: "number";
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly default: "1000";
|
|
42
|
+
readonly category: "debug";
|
|
22
43
|
}, {
|
|
23
44
|
readonly name: "AFK_FILE_CHECKPOINT_RETENTION_DISABLE";
|
|
24
45
|
readonly description: string;
|