Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit 9ef8aec

Browse files
committed
feat(admin): redesign write AI agent panel into a focused module
- Decompose the inline WriteAgentPanel into features/write/components/agent/ (useWriteAgent hook + view components), keeping the data layer intact - Composer-centric layout: inline model selector with search + recents, session-header title dropdown with inline rename and delete-confirm - Asymmetric messages — plain flowing assistant text (no bubble), right-aligned user chips; expandable tool-call detail (params/result/error) - Pin diff-review suggestions to the bottom of the thread; gate accept/reject/reapply until the agent run finishes (prevents snapshot desync) - Persist agent sessions for unsaved docs via the draft id and preserve the first turn across draft creation
1 parent c8a0a6f commit 9ef8aec

20 files changed

Lines changed: 1944 additions & 966 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ stats.html
88
.env.development
99
.idea
1010
.superpowers
11+
.claude/scheduled_tasks.lock
12+
.claude/worktrees
1113

1214
/src/views/dev
1315
g.d.ts

0 commit comments

Comments
 (0)