fluxy-bot 0.5.25 → 0.5.27

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxy-bot",
3
- "version": "0.5.25",
3
+ "version": "0.5.27",
4
4
  "description": "Self-hosted, self-evolving AI agent with its own dashboard.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -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
- log.info(`Loaded ${mcpConfig.length} MCP server(s) from MCP.json`);
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,9 +203,11 @@ 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;
210
+ log.info(`Agent msg: type=${msg.type} subtype=${(msg as any).subtype || '-'}`);
206
211
 
207
212
  switch (msg.type) {
208
213
  case 'assistant': {