- Check process_running and ready state before making inference request
- Emit descriptive error messages for each failure scenario
- Handle local vs remote connection modes appropriately
- Validation score: 100 (was 0)
Result: {"status":"keep","validation_score":100,"response_time_ms":500}
50 lines
1.6 KiB
Markdown
50 lines
1.6 KiB
Markdown
---
|
|
phase: 06-chat-ui-redesign
|
|
plan: 04
|
|
status: complete
|
|
completed_at: "2026-04-02T12:20:00Z"
|
|
---
|
|
|
|
# Plan 06-04 Summary: Agentic Manus Conversation Blocks
|
|
|
|
## Completed
|
|
|
|
- Added chat-native agentic UI blocks:
|
|
- `AgentThinkingCard`
|
|
- `AgentStepList`
|
|
- `AgentSystemMessage`
|
|
- `AgentFinalResponse`
|
|
- Refactored `ForgeAgentBubble` to compose the new Manus-style sections instead of the older heavy card layout.
|
|
- Added `display_mode` support to chat messages so final agentic answers can render without the classic assistant bubble chrome.
|
|
- Added a frontend ForgeAgent session hook and reducer for Tauri event-driven progress updates.
|
|
- Added a Rust Tauri command `start_forgeagent_session_command` that emits step progress, artifact-ready, and plan-completed events.
|
|
- Integrated `AgenticToggle` and live ForgeAgent transcript rendering into `ChatView`.
|
|
|
|
## Verification
|
|
|
|
### Frontend tests
|
|
```bash
|
|
pnpm exec vitest run src/lib/chat.test.ts src/lib/chatDebug.test.ts src/components/ChatView.debug.test.tsx src/lib/forgeagent-state.test.ts src/components/forgeagent/ForgeAgentBubble.test.tsx src/components/MessageBubble.test.tsx
|
|
```
|
|
|
|
Result: **6 files / 9 tests passed**
|
|
|
|
### Rust tests
|
|
```bash
|
|
cd tauri-app/src-tauri && cargo test --quiet
|
|
```
|
|
|
|
Result: **42 tests passed**
|
|
|
|
### Frontend build
|
|
```bash
|
|
cd tauri-app && pnpm build
|
|
```
|
|
|
|
Result: **TypeScript + Vite build passed**
|
|
|
|
## Notes
|
|
|
|
- The new Tauri ForgeAgent flow is an event-driven scaffold that enables the Manus-like transcript experience in the current chat UI.
|
|
- Normal chat mode remains intact; agentic rendering is gated by the agentic toggle or auto-detection.
|