Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

chore(chat): no any in the queue announcement

Salman Qureshi34a958b6dc62
diff --git a/src/core/agent.ts b/src/core/agent.ts
index 4b493517..bf0a1740 100644
--- a/src/core/agent.ts
+++ b/src/core/agent.ts
@@ -1086,7 +1086,7 @@ export class Agent {
*/
private announceQueue(running: ChannelMessage | null = this.processing ? this.currentMessage : null): void {
if (!running) return;
- const web = this.channels.get('web' as any) as { sendQueued?: (t: string, d: { position: number; busyWith?: string; busySessionId?: string }) => void } | undefined;
+ const web = this.channels.get('web') as unknown as { sendQueued?: (t: string, d: { position: number; busyWith?: string; busySessionId?: string }) => void } | undefined;
if (!web?.sendQueued) return;
const busyWith = (this.currentActivity && this.currentMessage === running ? this.currentActivity : running.content)
.replace(/^\W+/u, '').replace(/\s+/g, ' ').trim().slice(0, 90) || 'another task';