Skip to content

Add agent role labels, task notes, and blocked status#36

Open
davidewheeler9-spec wants to merge 1 commit intopablodelucca:mainfrom
davidewheeler9-spec:main
Open

Add agent role labels, task notes, and blocked status#36
davidewheeler9-spec wants to merge 1 commit intopablodelucca:mainfrom
davidewheeler9-spec:main

Conversation

@davidewheeler9-spec
Copy link

Summary

  • Role label — each agent can be assigned a custom name (e.g. "Codex Engineer") shown in the ToolOverlay
  • Task note — a one-line description shown below the role when the agent is selected
  • Blocked toggle — manual amber ⊗ status flag that coexists with auto-detected JSONL status (Working/Idle/Waiting)
  • Inline edit UI — clicking a selected character reveals role/note/blocked fields editable in-place; pencil buttons open input fields, Enter/blur confirms
  • Persistence — roles stored in workspaceState under pixel-agents.agentRoles, restored on webview reload and VS Code restart
  • Decoupled click behavior — clicking a character now only selects it (shows overlay); a new ⌨ button in the overlay header focuses the terminal explicitly, so input fields remain usable

Test plan

  • Click "+ Agent" to create agents — characters appear in office
  • Click a character → overlay appears without focusing the terminal
  • Type a role name → press Enter → role persists in overlay
  • Add a task note → blur → note persists
  • Click "○ Blocked" → toggles to amber "⊗ Blocked" indicator in overlay header
  • Click ⌨ button → Claude terminal gains focus
  • Reload webview → roles/notes/blocked status all restored correctly
  • Close and reopen VS Code → roles persist across sessions

🤖 Generated with Claude Code

Each agent can now have a custom role (e.g. "Codex Engineer"), a one-line
task note, and a manual Blocked toggle. These are edited inline via the
ToolOverlay when a character is selected. Roles persist to workspaceState
under pixel-agents.agentRoles and are restored on webview reload.

Also decouples click-to-select from terminal focus: clicking a character
shows the overlay without stealing keyboard focus. A new ⌨ button in the
overlay header focuses the terminal explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants