Skip to content

Add CLI tool with socket transport and related skills#227

Merged
sbertix merged 1 commit intomainfrom
sbertix/cli
Apr 13, 2026
Merged

Add CLI tool with socket transport and related skills#227
sbertix merged 1 commit intomainfrom
sbertix/cli

Conversation

@sbertix
Copy link
Copy Markdown
Collaborator

@sbertix sbertix commented Apr 10, 2026

Summary

  • supacode-cli: ArgumentParser-based CLI that communicates with the running app via Unix domain socket. Supports worktree, tab, surface, repo, and settings commands.
  • Socket protocol: Command (deeplink dispatch with response FD) and query (read-only state snapshots) message types with full FD lifecycle management.
  • Settings: CLI install/uninstall (symlink to /usr/local/bin), skill install for Claude Code and Codex, AutomatedActionPolicy replacing the old boolean toggle.
  • CLI/Deeplink reference windows: In-app reference views for both CLI commands and deeplink URLs, accessible from Developer settings.
  • Renamed: DeeplinkCheatsheetDeeplinkReference throughout.

Test plan

  • Install CLI from Developer settings, run supacode worktree list from a terminal
  • Run supacode tab new -i "echo hello" — should prompt for confirmation (unless policy is .always)
  • Run supacode surface split -d v from inside a Supacode terminal
  • Kill and relaunch Supacode, verify CLI commands from old terminals still work (stale socket fallback)
  • Pass --id with a UUID that already exists — should get an error, not a silent collision
  • Open CLI Reference and Deeplink Reference from Developer settings

- supacode-cli: ArgumentParser-based CLI communicating via Unix domain socket
- Socket server: command/query message protocol with FD lifecycle management
- Settings: CLI install/uninstall, skill install/uninstall, AutomatedActionPolicy
- Deeplink handling: source tracking, responseFD threading, confirmation dialogs
Copy link
Copy Markdown
Contributor

@khoi khoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets' go

@sbertix sbertix changed the title Add CLI tool with socket transport Add CLI tool with socket transport and related skills Apr 11, 2026
@sbertix sbertix merged commit e57d744 into main Apr 13, 2026
1 check passed
@sbertix sbertix deleted the sbertix/cli branch April 13, 2026 22:29
onevcat referenced this pull request in onevcat/Prowl Apr 20, 2026
Reviewed 47 commits between v0.8.0 and v0.8.1. Recorded skip decisions
for Tuist migration, upstream CLI (#227/#253/#246), and Ghostty opacity
toggle (#225) so the next sync has explicit precedent.
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