Skip to content

Add unforced-agi launch command - #1

Open
unforced wants to merge 1 commit into
mainfrom
cli-launch-command
Open

Add unforced-agi launch command#1
unforced wants to merge 1 commit into
mainfrom
cli-launch-command

Conversation

@unforced

@unforced unforced commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds unforced-agi launch — one command that starts (or reattaches to) the UnforcedAGI Claude Code session in a tmux session named unforcedagi, rooted at ~/UnforcedAGI.
  • Idempotent: first run creates + attaches; later runs just attach. Detach with Ctrl-b d and it keeps running in the background.
  • Guards: clear errors if tmux, claude, or ~/UnforcedAGI are missing.
  • README updated with usage; bumps version to 0.0.2.

Test plan

  • bun run bin/unforced-agi.ts help prints help with launch listed
  • bun run bin/unforced-agi.ts version prints 0.0.2
  • bun run bin/unforced-agi.ts bogus exits 1 with usage hint
  • unforced-agi launch from a fresh terminal creates the tmux session and attaches
  • Detach (Ctrl-b d); rerun unforced-agi launch reattaches the same session
  • Run from inside an existing tmux session — uses switch-client instead of attach

🤖 Generated with Claude Code

One command to start (or reattach to) the UnforcedAGI session: it
manages a tmux session named "unforcedagi" rooted at ~/UnforcedAGI,
runs `claude` inside, and attaches the terminal. Detach with Ctrl-b d
and the session keeps running; rerun `launch` to reattach.

Guards against missing tmux, missing claude, or missing ~/UnforcedAGI
with clear error messages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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