Skip to content

feat: add Agents tab as landing page view#86

Merged
paolino merged 77 commits intomainfrom
feat/agents-first-view
Mar 17, 2026
Merged

feat: add Agents tab as landing page view#86
paolino merged 77 commits intomainfrom
feat/agents-first-view

Conversation

@paolino
Copy link
Copy Markdown
Collaborator

@paolino paolino commented Mar 16, 2026

Summary

  • New Agents tab (first tab in toolbar) showing agent session status at a glance
  • Sessions displayed as cards with colored status borders (running/waiting/completed/error)
  • Terminal attach/detach/stop controls per session
  • Worktree-only entries shown separately
  • Status filter when multiple session states exist
  • Page persisted to localStorage

Part of #84 — agents-first redesign

- 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
@paolino paolino added the feat New feature label Mar 16, 2026
@paolino paolino self-assigned this Mar 16, 2026
paolino added 3 commits March 16, 2026 08:04
- 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
paolino added 23 commits March 16, 2026 10:04
paolino added 29 commits March 17, 2026 17:14
@paolino paolino merged commit 7aa34f3 into main Mar 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant