Skip to content

Enhance dashboard, agent status, work delete, and add --model flag#2

Merged
mgreau merged 2 commits intomainfrom
mgreau/enhance-dashboard-and-commands
Mar 6, 2026
Merged

Enhance dashboard, agent status, work delete, and add --model flag#2
mgreau merged 2 commits intomainfrom
mgreau/enhance-dashboard-and-commands

Conversation

@mgreau
Copy link
Copy Markdown
Owner

@mgreau mgreau commented Mar 6, 2026

Summary

  • Status dashboard: Enrich Feature Work section with branch name, session indicator (● running, ○ past), and age
  • Agent status: Fix table alignment broken by ANSI color codes, sort by last active (most recent first), display worktree name instead of full path
  • Work delete: Fix name-based matching (was broken by premature filepath.Abs), show summary before confirming, clean up Claude session files on delete
  • --model flag: Add -m/--model to work new, work resume, review, and review resume to specify Claude model when opening iTerm tabs
  • session.ProjectDir(): New helper for session directory cleanup

Test plan

  • go build ./... passes
  • go test ./... passes
  • zen status shows enriched feature work with branch, session indicators, age
  • zen agent status table aligned, sorted by last active
  • zen work delete <name> matches by name, shows summary, cleans sessions
  • zen work new --help / zen review --help show --model flag
  • Binary deployed locally and tested

🤖 Generated with Claude Code

mgreau and others added 2 commits March 6, 2026 17:03
- Status dashboard: enrich Feature Work section with branch name, session
  indicator (● running, ○ past session), and age
- Agent status: fix table alignment (ANSI codes no longer break columns),
  sort by last active (most recent first), show worktree name instead of path
- Work delete: fix name-based matching (was broken by premature filepath.Abs),
  show summary before confirming, clean up Claude session files on delete
- Add --model/-m flag to work new, work resume, review, and review resume
  to specify the Claude model when opening iTerm tabs
- Add session.ProjectDir() helper for session directory cleanup

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Upstream refactored iterm-specific code to a terminal.Terminal interface
supporting both iTerm2 and Ghostty. This merge resolution:
- Adds model parameter to Terminal interface methods (OpenTabWithClaude,
  OpenTabWithResume)
- Updates both iTerm and Ghostty implementations to pass --model flag
- Renames --no-iterm to --no-terminal per upstream convention
- Removes unused OpenTabWithClaudeModel helper

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mgreau mgreau merged commit 4839aff into main Mar 6, 2026
1 check passed
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.

1 participant