agent-afk 5.117.0 → 5.118.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/providers/anthropic-direct/tracing-fetch.d.ts +5 -1
- package/dist/agent/providers/openai-compatible/query/client.d.ts +2 -0
- package/dist/agent/providers/openai-compatible/tracing-fetch.d.ts +6 -0
- package/dist/agent/providers/shared/rate-limit-bucket.d.ts +28 -0
- package/dist/agent/providers/shared/rate-limit-headers.d.ts +3 -0
- package/dist/cli.mjs +538 -538
- package/dist/config/env-helpers.d.ts +5 -0
- package/dist/config/env.d.ts +3 -4
- package/dist/index.mjs +220 -220
- package/dist/telegram.mjs +267 -267
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { EnvVarMeta, EnvVarCategory } from './env.js';
|
|
2
|
+
export declare function getEnvVarMeta(name: string): EnvVarMeta | undefined;
|
|
3
|
+
export declare function getMissingRequiredEnvVars(category?: EnvVarCategory): EnvVarMeta[];
|
|
4
|
+
export declare function isEnvVarSet(name: string): boolean;
|
|
5
|
+
export declare function getEnvVarValue(name: string): string | undefined;
|
package/dist/config/env.d.ts
CHANGED
|
@@ -163,6 +163,8 @@ export declare const env: {
|
|
|
163
163
|
readonly AFK_WRITE_DENYLIST: string | undefined;
|
|
164
164
|
readonly AFK_READ_DENYLIST: string | undefined;
|
|
165
165
|
readonly AFK_WRITE_DIFF: string | undefined;
|
|
166
|
+
readonly AFK_RATE_LIMIT_ADMISSION_DISABLED: string | undefined;
|
|
167
|
+
readonly AFK_RATE_LIMIT_STAGGER_MAX_MS: string | undefined;
|
|
166
168
|
readonly AFK_WEB_ALLOW_PRIVATE_HOSTS: string | undefined;
|
|
167
169
|
readonly AFK_DEMO_CLEAN: string | undefined;
|
|
168
170
|
readonly SCRIPT: string | undefined;
|
|
@@ -177,7 +179,4 @@ export declare const env: {
|
|
|
177
179
|
};
|
|
178
180
|
export declare function isPlainOutputRequested(): boolean;
|
|
179
181
|
export type EnvVarName = keyof typeof env;
|
|
180
|
-
export
|
|
181
|
-
export declare function getMissingRequiredEnvVars(category?: EnvVarCategory): EnvVarMeta[];
|
|
182
|
-
export declare function isEnvVarSet(name: string): boolean;
|
|
183
|
-
export declare function getEnvVarValue(name: string): string | undefined;
|
|
182
|
+
export { getEnvVarMeta, getMissingRequiredEnvVars, isEnvVarSet, getEnvVarValue, } from './env-helpers.js';
|