agent-afk 5.338.1 → 5.340.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 +2 -0
- 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/operator-notify.d.ts +12 -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/session-control/index.d.ts +1 -1
- package/dist/agent/session-control/reads.d.ts +0 -2
- package/dist/agent/shell-jobs/process-jobs.d.ts +2 -0
- package/dist/agent/subscription-usage.d.ts +0 -1
- package/dist/agent/tools/hooks/inline-image-hook.d.ts +2 -0
- package/dist/agent/tools/hooks/inline-image-render.d.ts +8 -0
- package/dist/agent/tools/skill-bridge.d.ts +1 -2
- package/dist/agent/tools/subagent-executor.execute-once.read-scope.d.ts +10 -0
- package/dist/agent/tools/tool-call-ledger.d.ts +19 -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/receipt.journal.d.ts +2 -2
- package/dist/agent/trace/types.session-phase.d.ts +1 -1
- package/dist/agent/types/session-types.d.ts +1 -0
- package/dist/agent/usage/usage-http.d.ts +2 -0
- package/dist/cli/render/picker.d.ts +1 -1
- 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 +612 -601
- package/dist/config/env.auth.d.ts +8 -0
- package/dist/config/env.d.ts +50 -0
- package/dist/config/env.file-checkpoint.d.ts +21 -0
- package/dist/config/env.session-storage.d.ts +21 -0
- package/dist/config/env.ui.d.ts +21 -0
- package/dist/index.mjs +476 -475
- package/dist/paths.checkpoint.d.ts +2 -0
- package/dist/paths.d.ts +1 -1
- package/dist/telegram.mjs +517 -506
- package/dist/utils/errors.d.ts +2 -0
- package/dist/web-server/fork-ledger.d.ts +1 -0
- package/package.json +1 -1
|
@@ -138,4 +138,12 @@ export declare const AUTH_ENV_REGISTRY: readonly [{
|
|
|
138
138
|
readonly type: "string";
|
|
139
139
|
readonly required: false;
|
|
140
140
|
readonly category: "misc";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "AFK_INLINE_IMAGES";
|
|
143
|
+
readonly description: string;
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly default: "";
|
|
147
|
+
readonly example: "0";
|
|
148
|
+
readonly category: "misc";
|
|
141
149
|
}];
|
package/dist/config/env.d.ts
CHANGED
|
@@ -688,6 +688,14 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
688
688
|
readonly type: "string";
|
|
689
689
|
readonly required: false;
|
|
690
690
|
readonly category: "misc";
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "AFK_INLINE_IMAGES";
|
|
693
|
+
readonly description: string;
|
|
694
|
+
readonly type: "string";
|
|
695
|
+
readonly required: false;
|
|
696
|
+
readonly default: "";
|
|
697
|
+
readonly example: "0";
|
|
698
|
+
readonly category: "misc";
|
|
691
699
|
}, {
|
|
692
700
|
readonly name: "TELEGRAM_BOT_TOKEN";
|
|
693
701
|
readonly description: "Telegram bot token from @BotFather. Required to run the Telegram bot surface.";
|
|
@@ -1253,6 +1261,27 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1253
1261
|
readonly required: false;
|
|
1254
1262
|
readonly example: "truecolor";
|
|
1255
1263
|
readonly category: "process";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly name: "TERM";
|
|
1266
|
+
readonly description: string;
|
|
1267
|
+
readonly type: "string";
|
|
1268
|
+
readonly required: false;
|
|
1269
|
+
readonly example: "xterm-kitty";
|
|
1270
|
+
readonly category: "process";
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly name: "TERM_PROGRAM";
|
|
1273
|
+
readonly description: string;
|
|
1274
|
+
readonly type: "string";
|
|
1275
|
+
readonly required: false;
|
|
1276
|
+
readonly example: "iTerm.app";
|
|
1277
|
+
readonly category: "process";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly name: "TERM_PROGRAM_VERSION";
|
|
1280
|
+
readonly description: string;
|
|
1281
|
+
readonly type: "string";
|
|
1282
|
+
readonly required: false;
|
|
1283
|
+
readonly example: "3.5.0";
|
|
1284
|
+
readonly category: "process";
|
|
1256
1285
|
}, {
|
|
1257
1286
|
readonly name: "AFK_TEXT_MEASURE";
|
|
1258
1287
|
readonly description: string;
|
|
@@ -1474,6 +1503,27 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1474
1503
|
readonly required: false;
|
|
1475
1504
|
readonly example: "1";
|
|
1476
1505
|
readonly category: "process";
|
|
1506
|
+
}, {
|
|
1507
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_DISABLE";
|
|
1508
|
+
readonly description: "Disable best-effort git-backed capture of foreground bash file changes for /rewind.";
|
|
1509
|
+
readonly type: "boolean";
|
|
1510
|
+
readonly required: false;
|
|
1511
|
+
readonly example: "1";
|
|
1512
|
+
readonly category: "debug";
|
|
1513
|
+
}, {
|
|
1514
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_TIMEOUT_MS";
|
|
1515
|
+
readonly description: "Maximum milliseconds per bash checkpoint capture or diff. Default 5000.";
|
|
1516
|
+
readonly type: "number";
|
|
1517
|
+
readonly required: false;
|
|
1518
|
+
readonly default: "5000";
|
|
1519
|
+
readonly category: "debug";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly name: "AFK_FILE_CHECKPOINT_BASH_MAX_FILES";
|
|
1522
|
+
readonly description: "Maximum changed files captured per bash call; larger diffs are reported as partial. Default 1000.";
|
|
1523
|
+
readonly type: "number";
|
|
1524
|
+
readonly required: false;
|
|
1525
|
+
readonly default: "1000";
|
|
1526
|
+
readonly category: "debug";
|
|
1477
1527
|
}, {
|
|
1478
1528
|
readonly name: "AFK_FILE_CHECKPOINT_RETENTION_DISABLE";
|
|
1479
1529
|
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;
|
package/dist/config/env.ui.d.ts
CHANGED
|
@@ -109,4 +109,25 @@ export declare const UI_ENV_REGISTRY: readonly [{
|
|
|
109
109
|
readonly required: false;
|
|
110
110
|
readonly example: "truecolor";
|
|
111
111
|
readonly category: "process";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "TERM";
|
|
114
|
+
readonly description: string;
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly example: "xterm-kitty";
|
|
118
|
+
readonly category: "process";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "TERM_PROGRAM";
|
|
121
|
+
readonly description: string;
|
|
122
|
+
readonly type: "string";
|
|
123
|
+
readonly required: false;
|
|
124
|
+
readonly example: "iTerm.app";
|
|
125
|
+
readonly category: "process";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "TERM_PROGRAM_VERSION";
|
|
128
|
+
readonly description: string;
|
|
129
|
+
readonly type: "string";
|
|
130
|
+
readonly required: false;
|
|
131
|
+
readonly example: "3.5.0";
|
|
132
|
+
readonly category: "process";
|
|
112
133
|
}];
|