agent-afk 5.307.13 → 5.307.14
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/README.md +1 -1
- package/dist/agent/plugins/tool-injector.d.ts +2 -0
- package/dist/agent/provider.d.ts +2 -0
- package/dist/agent/providers/anthropic-direct/cache-policy.d.ts +3 -4
- package/dist/agent/providers/anthropic-direct/query/live-client.d.ts +6 -0
- package/dist/agent/providers/anthropic-direct/query/retry-context.d.ts +1 -0
- package/dist/agent/providers/anthropic-direct/query/usage-limit-catch-up.d.ts +3 -0
- package/dist/agent/providers/anthropic-direct/query/usage-limit-pause.d.ts +2 -1
- package/dist/agent/tools/skill-bridge.d.ts +2 -0
- package/dist/cli/slash/_lib/flag-harvest.d.ts +1 -9
- package/dist/cli/slash/plugin-skills/state.d.ts +1 -0
- package/dist/cli.mjs +372 -373
- package/dist/config/env.browser.d.ts +1 -0
- package/dist/config/env.d.ts +5 -1
- package/dist/config/env.daemon.d.ts +3 -1
- package/dist/config/env.mcp.d.ts +1 -0
- package/dist/index.mjs +163 -163
- package/dist/telegram.mjs +191 -191
- package/dist/utils/errors.d.ts +1 -0
- package/dist/utils/skill-md.d.ts +11 -0
- package/package.json +1 -1
package/dist/config/env.d.ts
CHANGED
|
@@ -888,6 +888,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
888
888
|
readonly description: "Port for the `afk web` browser surface. Defaults to 4141; falls back to an ephemeral port when taken. Overridden by --port.";
|
|
889
889
|
readonly type: "number";
|
|
890
890
|
readonly required: false;
|
|
891
|
+
readonly default: "4141";
|
|
891
892
|
readonly example: "4141";
|
|
892
893
|
readonly category: "daemon";
|
|
893
894
|
}, {
|
|
@@ -895,6 +896,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
895
896
|
readonly description: "Bind address for the `afk web` browser surface. Defaults to 127.0.0.1. Unlike the daemon control surface, a non-loopback bind is REFUSED unless AFK_WEB_TOKEN (or --token) is also set, because this surface can submit prompts and approve tool use. Overridden by --host.";
|
|
896
897
|
readonly type: "string";
|
|
897
898
|
readonly required: false;
|
|
899
|
+
readonly default: "127.0.0.1";
|
|
898
900
|
readonly example: "127.0.0.1";
|
|
899
901
|
readonly category: "daemon";
|
|
900
902
|
}, {
|
|
@@ -968,7 +970,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
968
970
|
readonly category: "worktree";
|
|
969
971
|
}, {
|
|
970
972
|
readonly name: "AFK_AUTO_ROUTING";
|
|
971
|
-
readonly description: "Auto-route bare slash inputs to matching skills. Applies to interactive, chat, and telegram surfaces.";
|
|
973
|
+
readonly description: "Auto-route bare slash inputs to matching skills. Applies to interactive, chat, and telegram surfaces. The afk web surface also inherits the interactive value (autoRouting.interactive), so this setting covers web sessions too.";
|
|
972
974
|
readonly type: "boolean";
|
|
973
975
|
readonly required: false;
|
|
974
976
|
readonly example: "true";
|
|
@@ -1024,6 +1026,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1024
1026
|
readonly description: "Opt-in to loading + spawning MCP servers declared in <cwd>/.mcp.json. Fail-closed: when unset (or 0), project-local servers are NOT spawned; set to a truthy value (1/true/yes/on) to load them. A project-local .mcp.json spawns arbitrary commands on session start, so it is off by default to prevent code execution when entering an untrusted repo (issue #571). Skipped servers are listed in a startup warning with the opt-in instruction.";
|
|
1025
1027
|
readonly type: "boolean";
|
|
1026
1028
|
readonly required: false;
|
|
1029
|
+
readonly default: "0";
|
|
1027
1030
|
readonly example: "1";
|
|
1028
1031
|
readonly category: "mcp";
|
|
1029
1032
|
}, {
|
|
@@ -1399,6 +1402,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1399
1402
|
readonly description: string;
|
|
1400
1403
|
readonly type: "string";
|
|
1401
1404
|
readonly required: false;
|
|
1405
|
+
readonly default: "default";
|
|
1402
1406
|
readonly example: "work";
|
|
1403
1407
|
readonly category: "browser";
|
|
1404
1408
|
}, {
|
|
@@ -61,6 +61,7 @@ export declare const DAEMON_ENV_REGISTRY: readonly [{
|
|
|
61
61
|
readonly description: "Port for the `afk web` browser surface. Defaults to 4141; falls back to an ephemeral port when taken. Overridden by --port.";
|
|
62
62
|
readonly type: "number";
|
|
63
63
|
readonly required: false;
|
|
64
|
+
readonly default: "4141";
|
|
64
65
|
readonly example: "4141";
|
|
65
66
|
readonly category: "daemon";
|
|
66
67
|
}, {
|
|
@@ -68,6 +69,7 @@ export declare const DAEMON_ENV_REGISTRY: readonly [{
|
|
|
68
69
|
readonly description: "Bind address for the `afk web` browser surface. Defaults to 127.0.0.1. Unlike the daemon control surface, a non-loopback bind is REFUSED unless AFK_WEB_TOKEN (or --token) is also set, because this surface can submit prompts and approve tool use. Overridden by --host.";
|
|
69
70
|
readonly type: "string";
|
|
70
71
|
readonly required: false;
|
|
72
|
+
readonly default: "127.0.0.1";
|
|
71
73
|
readonly example: "127.0.0.1";
|
|
72
74
|
readonly category: "daemon";
|
|
73
75
|
}, {
|
|
@@ -141,7 +143,7 @@ export declare const DAEMON_ENV_REGISTRY: readonly [{
|
|
|
141
143
|
readonly category: "worktree";
|
|
142
144
|
}, {
|
|
143
145
|
readonly name: "AFK_AUTO_ROUTING";
|
|
144
|
-
readonly description: "Auto-route bare slash inputs to matching skills. Applies to interactive, chat, and telegram surfaces.";
|
|
146
|
+
readonly description: "Auto-route bare slash inputs to matching skills. Applies to interactive, chat, and telegram surfaces. The afk web surface also inherits the interactive value (autoRouting.interactive), so this setting covers web sessions too.";
|
|
145
147
|
readonly type: "boolean";
|
|
146
148
|
readonly required: false;
|
|
147
149
|
readonly example: "true";
|
package/dist/config/env.mcp.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const MCP_ENV_REGISTRY: readonly [{
|
|
|
10
10
|
readonly description: "Opt-in to loading + spawning MCP servers declared in <cwd>/.mcp.json. Fail-closed: when unset (or 0), project-local servers are NOT spawned; set to a truthy value (1/true/yes/on) to load them. A project-local .mcp.json spawns arbitrary commands on session start, so it is off by default to prevent code execution when entering an untrusted repo (issue #571). Skipped servers are listed in a startup warning with the opt-in instruction.";
|
|
11
11
|
readonly type: "boolean";
|
|
12
12
|
readonly required: false;
|
|
13
|
+
readonly default: "0";
|
|
13
14
|
readonly example: "1";
|
|
14
15
|
readonly category: "mcp";
|
|
15
16
|
}];
|