agent-afk 5.324.4 → 5.325.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/cli/terminal-compositor.reflow-shift.d.ts +45 -0
- package/dist/cli.mjs +397 -394
- package/dist/config/env.d.ts +22 -0
- package/dist/config/env.telegram.d.ts +22 -0
- package/dist/index.mjs +202 -202
- package/dist/telegram/audio-transcriber.d.ts +34 -0
- package/dist/telegram/bot.audio-handler.d.ts +6 -0
- package/dist/telegram/bot.d.ts +2 -0
- package/dist/telegram/handlers/voice.d.ts +8 -0
- package/dist/telegram.mjs +218 -218
- package/package.json +1 -1
package/dist/config/env.d.ts
CHANGED
|
@@ -715,6 +715,28 @@ export declare const ENV_REGISTRY: readonly [{
|
|
|
715
715
|
readonly default: "14400000";
|
|
716
716
|
readonly example: "3600000";
|
|
717
717
|
readonly category: "telegram";
|
|
718
|
+
}, {
|
|
719
|
+
readonly name: "AFK_TRANSCRIBE_API_URL";
|
|
720
|
+
readonly description: "OpenAI-compatible /audio/transcriptions endpoint URL used to transcribe inbound Telegram voice and audio messages. When unset, voice/audio messages receive a refusal reply naming this variable. Supports any OpenAI-compatible server including local Whisper deployments.";
|
|
721
|
+
readonly type: "string";
|
|
722
|
+
readonly required: false;
|
|
723
|
+
readonly example: "https://api.openai.com/v1/audio/transcriptions";
|
|
724
|
+
readonly category: "telegram";
|
|
725
|
+
}, {
|
|
726
|
+
readonly name: "AFK_TRANSCRIBE_API_KEY";
|
|
727
|
+
readonly description: "Bearer token for the AFK_TRANSCRIBE_API_URL transcription endpoint. Leave unset for unauthenticated local servers.";
|
|
728
|
+
readonly type: "string";
|
|
729
|
+
readonly required: false;
|
|
730
|
+
readonly category: "telegram";
|
|
731
|
+
readonly secret: true;
|
|
732
|
+
}, {
|
|
733
|
+
readonly name: "AFK_TRANSCRIBE_MODEL";
|
|
734
|
+
readonly description: "Model name forwarded to the AFK_TRANSCRIBE_API_URL endpoint (default: whisper-1). Change when using an endpoint that expects a different model identifier.";
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
readonly required: false;
|
|
737
|
+
readonly default: "whisper-1";
|
|
738
|
+
readonly example: "whisper-large-v3";
|
|
739
|
+
readonly category: "telegram";
|
|
718
740
|
}, {
|
|
719
741
|
readonly name: "TMUX";
|
|
720
742
|
readonly description: string;
|
|
@@ -74,4 +74,26 @@ export declare const TELEGRAM_ENV_REGISTRY: readonly [{
|
|
|
74
74
|
readonly default: "14400000";
|
|
75
75
|
readonly example: "3600000";
|
|
76
76
|
readonly category: "telegram";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "AFK_TRANSCRIBE_API_URL";
|
|
79
|
+
readonly description: "OpenAI-compatible /audio/transcriptions endpoint URL used to transcribe inbound Telegram voice and audio messages. When unset, voice/audio messages receive a refusal reply naming this variable. Supports any OpenAI-compatible server including local Whisper deployments.";
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
readonly required: false;
|
|
82
|
+
readonly example: "https://api.openai.com/v1/audio/transcriptions";
|
|
83
|
+
readonly category: "telegram";
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "AFK_TRANSCRIBE_API_KEY";
|
|
86
|
+
readonly description: "Bearer token for the AFK_TRANSCRIBE_API_URL transcription endpoint. Leave unset for unauthenticated local servers.";
|
|
87
|
+
readonly type: "string";
|
|
88
|
+
readonly required: false;
|
|
89
|
+
readonly category: "telegram";
|
|
90
|
+
readonly secret: true;
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "AFK_TRANSCRIBE_MODEL";
|
|
93
|
+
readonly description: "Model name forwarded to the AFK_TRANSCRIBE_API_URL endpoint (default: whisper-1). Change when using an endpoint that expects a different model identifier.";
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
readonly required: false;
|
|
96
|
+
readonly default: "whisper-1";
|
|
97
|
+
readonly example: "whisper-large-v3";
|
|
98
|
+
readonly category: "telegram";
|
|
77
99
|
}];
|