agent-afk 5.326.1 → 5.326.3
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/journal/types.d.ts +8 -1
- package/dist/agent/provider.d.ts +1 -0
- package/dist/agent/tools/subagent/root-validation.d.ts +8 -0
- package/dist/agent/tools/subagent-executor.execute-once.helpers.d.ts +7 -2
- package/dist/agent/types/sdk-types.d.ts +1 -0
- package/dist/cli/commands/interactive/surface-setup.suggest-record.d.ts +3 -0
- package/dist/cli/input/suggest-prompt-state.d.ts +2 -1
- package/dist/cli/input/suggest-tier2.d.ts +2 -1
- package/dist/cli/input/suggest-types.d.ts +5 -0
- package/dist/cli/input/suggest.d.ts +1 -1
- package/dist/cli/terminal-compositor.ghost.record.d.ts +5 -0
- package/dist/cli.mjs +448 -448
- package/dist/config/env.d.ts +8 -0
- package/dist/config/env.telegram.d.ts +8 -0
- package/dist/index.mjs +216 -216
- package/dist/telegram/audio-transcriber.d.ts +3 -1
- package/dist/telegram.mjs +237 -237
- package/package.json +1 -1
|
@@ -24,11 +24,13 @@ export declare class OpenAIAudioTranscriber implements AudioTranscriber {
|
|
|
24
24
|
private readonly apiUrl;
|
|
25
25
|
private readonly apiKey;
|
|
26
26
|
private readonly model;
|
|
27
|
-
|
|
27
|
+
private readonly timeoutMs;
|
|
28
|
+
constructor(apiUrl: string, apiKey: string | undefined, model: string, timeoutMs?: number);
|
|
28
29
|
transcribe(bytes: Buffer, fileName: string, maxBytes: number): Promise<TranscribeResult>;
|
|
29
30
|
}
|
|
30
31
|
export declare function createTranscriber(env: {
|
|
31
32
|
AFK_TRANSCRIBE_API_URL?: string;
|
|
32
33
|
AFK_TRANSCRIBE_API_KEY?: string;
|
|
33
34
|
AFK_TRANSCRIBE_MODEL?: string;
|
|
35
|
+
AFK_TRANSCRIBE_TIMEOUT_MS?: string;
|
|
34
36
|
}): AudioTranscriber | null;
|