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.

refactor(core): type routeSkillIntent's messages parameter (lint ratchet)

Salman Qureshic1968693c2d9
diff --git a/src/core/agent.ts b/src/core/agent.ts
index 7e4f686d..6a7329b8 100644
--- a/src/core/agent.ts
+++ b/src/core/agent.ts
@@ -1977,7 +1977,7 @@ export class Agent {
* ambiguous match the user disambiguates. May rewrite or append to
* `messages`; never ends the turn on its own.
*/
- private async routeSkillIntent(msg: ChannelMessage, trimmed: string, messages: any[]): Promise<void> {
+ private async routeSkillIntent(msg: ChannelMessage, trimmed: string, messages: Array<{ role: string; content: unknown }>): Promise<void> {
if (this.skillBatcher && this.skillLoader && msg.channelType !== 'internal') {
try {
const intentRouter = this.skillLoader.intentRouter;