I need to plan a refactor that folds a floating bottom-right "timeline-agent" chat box…
- User
I need to plan a refactor that folds a floating bottom-right "timeline-agent" chat box into the existing "task pane" (renaming it to "Action Pane"), and changes the pane's tab-handle to add new buttons.
Working directory: /Users/user_c042661f/Documents/reigh-workspace/.megaplan-worktrees/action-pane-20260425-1847/standard
Please find and report (with file paths and key line numbers):
-
The task pane — the lockable side pane that today shows tasks (processing / succeeded / failed). I need:
- The main pane component file
- The pane control "tab" / handle component (which currently shows the active task indicator and lock button)
- Where lock/unlock state lives
- The task list header (currently "processing" on top row, "succeeded" + "failed" on a second row) — exact file & line for the layout
- How the pane integrates with the editor/generations panes (the recent z-index fix and 50/50 viewport split when both Editor and Generations are locked)
-
The timeline-agent chat popup — a floating chat anchored to bottom-right of the screen. I need:
- The popup component file
- The message thread / scrolling list component
- The message composer (input)
- Where it's mounted (parent that renders it)
- Open/close state and any keyboard shortcuts
-
The standalone microphone button — used today separate from the popup. I need:
- The button component
- The handler it invokes (so the new mic button on the pane handle can call the same handler)
- Where it's currently mounted
-
Search hints — try terms like "task pane", "TaskPane", "ActionPane", "timeline agent", "timelineAgent", "agent chat", "ChatBox", "ChatPopup", "mic", "microphone", "Mic", "lock", "PaneTab", "pane control", "ProcessingTasks", "SucceededTasks", "FailedTasks". Also check
src/shared/for shared components and any existing tool that uses the pane (e.g.,src/tools/*/). -
CLAUDE.md / structure docs — peek at
../structure.mdand../docs/structure_detail/frontend_architecture.mdif they exist, briefly, to understand naming conventions.
Be thorough — report a list of touch points (file paths + 1-line description each) so I can write an implementation plan without re-exploring. Don't read .megaplan/ or vendor/.
Report concisely. ~400 words target.
-
Assistant
I'll help you map out the refactor touchpoints. Let me search systematically across the codebase.
Assistant
Now let me search for the key components:
Assistant
Let me broaden the search and look for pane-related components:
Assistant
Let me search more specifically for pane-related components:
Assistant
Let me search for task-related components more directly:
Assistant
Great! Now let me explore the TasksPane directory and search for the chat/timeline components:
Assistant
Excellent find! Let me now read key files and search for the remaining components:
Assistant
Let me search for Agent Chat and floating chat components:
Assistant
Now let me read the key files and look for where AgentChat is mounted:
Assistant
Let me now read TasksPane and search for how the voice button is used:
Assistant
Let me read more of TasksPane and check the frontend architecture docs:
Assistant
Now let me find where the z-index management and viewport split logic is:
Assistant
Now let me read the key state and UI layer files:
Assistant
Perfect! Let me get one more file to see how Editor and Generations panes are laid out:
Assistant