agent-afk 5.197.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 +4 -6
- package/dist/index.mjs +230 -230
- package/dist/telegram.mjs +302 -302
- package/package.json +1 -1
|
@@ -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
|
@@ -504,11 +504,10 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
504
504
|
readonly category: "model";
|
|
505
505
|
}, {
|
|
506
506
|
readonly name: "AFK_OPENAI_CHATGPT_OAUTH";
|
|
507
|
-
readonly description: "Use ChatGPT-subscription OAuth credentials from ~/.codex/auth.json (auth_mode: chatgpt) as OpenAI provider auth.
|
|
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).";
|
|
508
508
|
readonly type: "boolean";
|
|
509
509
|
readonly required: false;
|
|
510
|
-
readonly
|
|
511
|
-
readonly example: "0";
|
|
510
|
+
readonly example: "1";
|
|
512
511
|
readonly category: "model";
|
|
513
512
|
}, {
|
|
514
513
|
readonly name: "AFK_PROVIDER";
|
|
@@ -1059,8 +1058,7 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
1059
1058
|
readonly description: string;
|
|
1060
1059
|
readonly type: "boolean";
|
|
1061
1060
|
readonly required: false;
|
|
1062
|
-
readonly
|
|
1063
|
-
readonly example: "0";
|
|
1061
|
+
readonly example: "1";
|
|
1064
1062
|
readonly category: "debug";
|
|
1065
1063
|
}, {
|
|
1066
1064
|
readonly name: "AFK_SUBAGENT_RESULT_CAP_BYTES";
|
|
@@ -1308,4 +1306,4 @@ export type EnvObject = {
|
|
|
1308
1306
|
export declare const env: EnvObject;
|
|
1309
1307
|
export declare function isPlainOutputRequested(): boolean;
|
|
1310
1308
|
export type EnvVarName = keyof EnvObject;
|
|
1311
|
-
export { getEnvVarMeta, getMissingRequiredEnvVars, isEnvVarSet, getEnvVarValue, } from './env-helpers.js';
|
|
1309
|
+
export { getEnvVarMeta, getMissingRequiredEnvVars, isEnvVarSet, getEnvVarValue, isExplicitlyDisabled, isExplicitlyEnabled, } from './env-helpers.js';
|