diff --git a/docs/features/coding_assistant.md b/docs/features/coding_assistant.md index f5edab0..0cd80af 100644 --- a/docs/features/coding_assistant.md +++ b/docs/features/coding_assistant.md @@ -32,8 +32,6 @@ - **Rich Message Rendering (`ChatMessage`)**: - **Markdown Support**: Full GitHub-flavored markdown rendering. - **Collapsible Reasoning**: AI "thought processes" can be toggled via "Show Reasoning ▼" to reduce visual clutter. - - **Code Change Plan (`CodeChangePlan.js`)**: Formats systematic step-by-step implementation plans generated by the AI. - - **File diff viewer (`DiffViewer.js` & `FileList.js`)**: Allows clicking on modified files to view inline diffs of suggested code changes. - **Utilities**: One-click copy, timestamp display, and playback tools (primarily leveraged if Voice Chat features overlap). - **Sticky Input Bar**: Standard auto-resizing text area for sending instructions to the active LLM. @@ -73,8 +71,8 @@ 2. **Attach Compute**: User clicks the Mesh Node Selector icon, selects a strategy (e.g., `Sync from Server`), and attaches an available (green) node like `test-node-1`. 3. **Monitor Execution**: The user instructs the AI: *"Run the backend unit tests."* 4. **Visibility**: The `MultiNodeConsole` opens automatically. The user sees the AI dispatching commands over the Execution Live Bus. -5. **Review Modifications**: If the AI patches a broken test, the AI replies with a `CodeChangePlan`. The user clicks the diffs in the `ChatWindow` to verify the code visually. -6. **Commit**: The files are automatically synced back upward via the node's local sync daemon. +5. **Review Execution**: The user verifies the command outputs or traces directly inside the `ChatWindow` as the AI responds. +6. **Commit**: Any generated files or changes are automatically synced back upward via the node's local sync daemon. --- @@ -84,9 +82,8 @@ | :--- | :--- | :--- | | `CodingAssistantPage.js` | Main layout, state coordination, node linking | `ui/client-app/src/pages/CodingAssistantPage.js` | | `ChatArea.js` | Layout wrapper for scroll behavior and text input | `ui/client-app/src/components/ChatArea.js` | -| `ChatWindow.js` | Complex message rendering, reasoning toggles, diff triggers | `ui/client-app/src/components/ChatWindow.js` | +| `ChatWindow.js` | Complex message rendering, reasoning toggles | `ui/client-app/src/components/ChatWindow.js` | | `MultiNodeConsole.js` | Bottom-anchored live WebSocket log stream | `ui/client-app/src/components/MultiNodeConsole.js` | -| `DiffViewer.js` | Inline code comparison (Before/After) | `ui/client-app/src/components/DiffViewer.js` | | `apiService.js` | Backend hooks for `attachNodesToSession`, LLM fetching | `ui/client-app/src/services/apiService.js` | ---