agent-afk 5.196.0 → 5.197.1
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/cli.mjs +621 -621
- package/dist/config/env-helpers.d.ts +2 -0
- package/dist/config/env.d.ts +10 -5
- package/dist/index.mjs +230 -230
- package/dist/telegram.mjs +302 -302
- package/package.json +1 -1
- package/assets/demo-placeholder.png +0 -0
|
@@ -3,3 +3,5 @@ export declare function getEnvVarMeta(name: string): EnvVarMeta | undefined;
|
|
|
3
3
|
export declare function getMissingRequiredEnvVars(category?: EnvVarCategory): EnvVarMeta[];
|
|
4
4
|
export declare function isEnvVarSet(name: string): boolean;
|
|
5
5
|
export declare function getEnvVarValue(name: string): string | undefined;
|
|
6
|
+
export declare function isExplicitlyDisabled(value: string): boolean;
|
|
7
|
+
export declare function isExplicitlyEnabled(value: string): boolean;
|
package/dist/config/env.d.ts
CHANGED
|
@@ -154,7 +154,8 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
154
154
|
readonly description: string;
|
|
155
155
|
readonly type: "boolean";
|
|
156
156
|
readonly required: false;
|
|
157
|
-
readonly
|
|
157
|
+
readonly default: "1";
|
|
158
|
+
readonly example: "0";
|
|
158
159
|
readonly category: "misc";
|
|
159
160
|
}, {
|
|
160
161
|
readonly name: "AFK_MICROCOMPACT_KEEP_LAST";
|
|
@@ -320,15 +321,19 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
320
321
|
readonly category: "model";
|
|
321
322
|
}, {
|
|
322
323
|
readonly name: "AFK_SUGGEST_ENABLED";
|
|
323
|
-
readonly description: "Enable the LLM-backed ghost-text suggestion tier in the interactive REPL. Set to
|
|
324
|
+
readonly description: "Enable the LLM-backed ghost-text suggestion tier in the interactive REPL. On by default. Set to 0/false/no/off to disable.";
|
|
324
325
|
readonly type: "boolean";
|
|
325
326
|
readonly required: false;
|
|
327
|
+
readonly default: "1";
|
|
328
|
+
readonly example: "0";
|
|
326
329
|
readonly category: "model";
|
|
327
330
|
}, {
|
|
328
331
|
readonly name: "AFK_SUGGEST_PROMPT";
|
|
329
|
-
readonly description: "Enable LLM-generated empty-prompt suggestions — a proposed next action shown as ghost text when the prompt is blank, accepted with Tab or Right-arrow. Fires only after a turn has completed in the session: the startup prompt (and the prompt right after /clear) is left clean because there is no session context to ground a proposal in. Set to
|
|
332
|
+
readonly description: "Enable LLM-generated empty-prompt suggestions — a proposed next action shown as ghost text when the prompt is blank, accepted with Tab or Right-arrow. Fires only after a turn has completed in the session: the startup prompt (and the prompt right after /clear) is left clean because there is no session context to ground a proposal in. On by default. Set to 0/false/no/off to disable. Requires AFK_SUGGEST_ENABLED (it reuses the same suggestion model and provider).";
|
|
330
333
|
readonly type: "boolean";
|
|
331
334
|
readonly required: false;
|
|
335
|
+
readonly default: "1";
|
|
336
|
+
readonly example: "0";
|
|
332
337
|
readonly category: "model";
|
|
333
338
|
}, {
|
|
334
339
|
readonly name: "AFK_SUGGEST_GHOST";
|
|
@@ -499,7 +504,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
499
504
|
readonly category: "model";
|
|
500
505
|
}, {
|
|
501
506
|
readonly name: "AFK_OPENAI_CHATGPT_OAUTH";
|
|
502
|
-
readonly description: "
|
|
507
|
+
readonly description: "Use ChatGPT-subscription OAuth credentials from ~/.codex/auth.json (auth_mode: chatgpt) as OpenAI provider auth. Off by default. Set to 1/true/yes/on to enable. READ-ONLY: AFK never refreshes these tokens — re-run codex when the access token expires. Routes requests over the Responses API to the private ChatGPT backend (chatgpt.com/backend-api).";
|
|
503
508
|
readonly type: "boolean";
|
|
504
509
|
readonly required: false;
|
|
505
510
|
readonly example: "1";
|
|
@@ -1301,4 +1306,4 @@ export type EnvObject = {
|
|
|
1301
1306
|
export declare const env: EnvObject;
|
|
1302
1307
|
export declare function isPlainOutputRequested(): boolean;
|
|
1303
1308
|
export type EnvVarName = keyof EnvObject;
|
|
1304
|
-
export { getEnvVarMeta, getMissingRequiredEnvVars, isEnvVarSet, getEnvVarValue, } from './env-helpers.js';
|
|
1309
|
+
export { getEnvVarMeta, getMissingRequiredEnvVars, isEnvVarSet, getEnvVarValue, isExplicitlyDisabled, isExplicitlyEnabled, } from './env-helpers.js';
|