feat: add Agents tab as landing page view#86
Merged
Conversation
- New AgentsPage in Page type (Agents | Repos | Projects) - App.View.Agents module: session list with status badges, terminal attach/detach, worktree-only entries, status filter - Agents tab added as first tab in toolbar - CSS for agent rows with colored left border by status - Storage encode/decode for AgentsPage persistence - SwitchPage and Initialize handle AgentsPage
- 8 new tests in agents.spec.ts (fake token, no API needed) - Tab exists, is first, shows view, empty state, refresh button - Tab switching and persistence across reload - Update authenticated tests for 3-tab layout - Fix Map.values → Array conversion in collectStatuses
- Add AgentSession type to Lib.Types (state, createdAt, worktree, repo, issue) - Parse createdAt and worktree from daemon response - Display creation time in agent rows (with tooltip for full ISO timestamp) - Show worktree path in tooltip when available - Align status values with daemon (creating, running, attached, stopping, failed:*) - Update Projects and Issues views to extract .state from AgentSession
- Parse prompt and lastActivity from daemon response - Show prompt as subtitle below session row (truncated with ellipsis) - Show last activity timestamp below prompt - Add AgentSession fields for new daemon data
…, cleanup on leave
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of #84 — agents-first redesign