github asheshgoplani/agent-deck v1.7.31

latest releases: v1.16.4, v1.16.3, v1.16.2...
4 months ago

Fixed

  • Pi (pi CLI from Inflection AI) detected as first-class tool in CLI + TUI session creation paths (community PR #674 by @masta-g3, rebased onto current main).

agent-deck add -c pi . and TUI session creation both produced Tool="shell" with Command="pi", even though internal/tmux (toolDetectionOrder, DefaultRawPatterns, content-based detectToolFromCommand) and internal/session/userconfig (builtin registration, GetToolIcon, validators) were already wired for Pi. Two missed creation-path call sites:

  • cmd/agent-deck/main.go::detectTool — the free-form -c parser
  • internal/ui/home.go — the inline tool-mapping switch in createSessionInGroupWithWorktreeAndOptions

Both are now Pi-aware. detectTool uses a new hasCommandToken helper that does whitespace-token matching (via slices.Contains over strings.Fields) rather than strings.Contains, so the short ambiguous "pi" name does not false-match against "epic", "tapioca", "spider", "happiness", etc. The TUI's inline switch is extracted into a reusable createSessionTool(command) (string, string) so it is testable in isolation.

Tests

  • TestDetectTool_Pi — 5 cases including substring-false-match guards (cmd/agent-deck/copilot_detect_test.go)
  • TestCreateSessionTool_Pi (internal/ui/home_test.go)

Both registered in .claude/release-tests.yaml as v1731-pr674-pi-detect-cli and v1731-pr674-pi-detect-tui.

Co-credit

Original Pi detection pattern by @masta-g3 in PR #674. Their branch was stale (would have reverted v1.7.29 quick-approve hotkey + v1.7.30 color-tint TUI rendering), so the changes were reapplied here on top of current main and extended with the false-match guard cases.

Agent Deck v1.7.31

Terminal session manager for AI coding agents.

Installation

Homebrew (recommended):

brew install asheshgoplani/tap/agent-deck

Quick Install:

curl -fsSL https://raw.githubusercontent.com/asheshgoplani/agent-deck/main/install.sh | bash

Go Install:

go install github.com/asheshgoplani/agent-deck/cmd/agent-deck@v1.7.31

Changelog

  • 345e6e5 feat(remote): show SSH session output in remote preview (#577)
  • 2a4673a fix(#674): detect Pi as first-class tool in CLI + TUI creation paths (v1.7.31)

Full Changelog: v1.7.30...v1.7.31

Don't miss a new agent-deck release

NewReleases is sending notifications on new releases.