iconsulting/packages/services/conversation-service/src/infrastructure/claude
hailin 2a8a15fcb6 fix: resolve ClaudeModule DI crash + historical QR code display bug
1. ClaudeModule missing ConversationORM in TypeOrmModule.forFeature —
   ImmigrationToolsService now depends on ConversationORMRepository
   (added in query_user_profile), but ClaudeModule only had TokenUsageORM.
   Fix: add ConversationORM to ClaudeModule's TypeORM imports.

2. Historical messages show "支付创建失败" for payment QR codes —
   toolCall.result is stored as JSON string in DB metadata JSONB.
   Live streaming (useChat.ts) parses it correctly, but REST API
   load (chatStore.ts → MessageBubble.tsx) does not.
   Fix: normalize toolCall.result in ToolCallResult component —
   JSON.parse if string, pass through if already object.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 12:24:15 -08:00
..
prompts feat(agent): implement 3-layer architecture for better response quality 2026-01-23 07:51:19 -08:00
strategy feat(agents): implement multi-agent collaboration architecture 2026-02-06 04:26:39 -08:00
tools feat(agents): add query_user_profile tool for user info lookup 2026-02-07 12:17:23 -08:00
claude-agent-v2.service.ts feat(agents): implement multi-agent collaboration architecture 2026-02-06 04:26:39 -08:00
claude-agent.service.ts feat(agents): implement multi-agent collaboration architecture 2026-02-06 04:26:39 -08:00
claude.module.ts fix: resolve ClaudeModule DI crash + historical QR code display bug 2026-02-07 12:24:15 -08:00
intent-classifier.ts feat(agents): implement multi-agent collaboration architecture 2026-02-06 04:26:39 -08:00
response-gate.ts feat(agents): implement multi-agent collaboration architecture 2026-02-06 04:26:39 -08:00
token-usage.service.ts refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00