fluxy-bot 0.5.25 → 0.5.26
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/package.json
CHANGED
|
@@ -176,10 +176,13 @@ export async function startFluxyAgentQuery(
|
|
|
176
176
|
const mcpConfig = JSON.parse(fs.readFileSync(mcpConfigPath, 'utf-8'));
|
|
177
177
|
if (Array.isArray(mcpConfig) && mcpConfig.length) {
|
|
178
178
|
mcpServers = mcpConfig;
|
|
179
|
-
|
|
179
|
+
const names = mcpConfig.map((s: any) => Object.keys(s).join(',')).join(', ');
|
|
180
|
+
log.info(`Loaded MCP server(s): [${names}]`);
|
|
180
181
|
}
|
|
181
182
|
} catch {}
|
|
182
183
|
|
|
184
|
+
log.info(`Starting agent query${mcpServers ? ` with ${mcpServers.length} MCP server(s)` : ''}...`);
|
|
185
|
+
|
|
183
186
|
const claudeQuery = query({
|
|
184
187
|
prompt: sdkPrompt,
|
|
185
188
|
options: {
|
|
@@ -200,6 +203,7 @@ export async function startFluxyAgentQuery(
|
|
|
200
203
|
});
|
|
201
204
|
|
|
202
205
|
onMessage('bot:typing', { conversationId });
|
|
206
|
+
log.info('Agent query created, waiting for first message...');
|
|
203
207
|
|
|
204
208
|
for await (const msg of claudeQuery) {
|
|
205
209
|
if (abortController.signal.aborted) break;
|