Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 6 additions & 36 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -98,7 +98,7 @@ picked up automatically the first time you run an `rt` command inside it:

```bash
cd ~/code/my-repo
rt status # or rt cd, rt branch switch, anything repo-aware
rt status # or rt cd, anything repo-aware
```

On first invocation rt will:
Expand All@@ -110,15 +110,14 @@ On first invocation rt will:

If the daemon was already running, the next refresh cycle picks it up (MR data
refreshes every 5 min, port scans every ~30s). From then on `rt status`,
`rt runner`, ticket lookup, port scanning, and MR notifications all work from
`rt run`, ticket lookup, port scanning, and MR notifications all work from
anywhere on your machine.

### Optional per-repo config

| Command | When you need it |
|---|---|
| `rt hooks` | Repo uses husky and you want a quick on/off toggle |
| `rt workspace sync` | Repo has a `.code-workspace` file you want synced across worktrees |
| `rt settings extension` | Install the `rt-context` status-bar extension into local editors |

### Global settings that affect every repo
Expand All@@ -127,8 +126,8 @@ Set these once; they apply to all repos:

```bash
rt settings gitlab token # required for rt status, MR actions, notifications
rt settings linear token # required for ticket lookup in rt status / branch names
rt settings linear team # only needed if you use `rt branch create` to file new tickets
rt settings linear token # required for ticket lookup in rt status
rt settings linear team # Set default Linear team
rt settings notifications # pick which events fire native macOS notifications
```

Expand All@@ -146,9 +145,10 @@ rt <command> [subcommand] [args]

```bash
rt cd # Fuzzy worktree/repo directory picker
rt code # Open a worktree in your preferred editor
```

In `rt nav`, `ctrl-o` opens the selected folder in your preferred editor.

Shell alias added by install:
```bash
rtcd # cd into a picked worktree (wraps rt cd)
Expand All@@ -160,16 +160,6 @@ rtcd # cd into a picked worktree (wraps rt cd)
rt run # Interactive script runner: repo → worktree → package → script
```

### Branch

```bash
rt branch switch # Checkout with automatic stash handling
rt branch create # Create from a Linear ticket or scratch
rt branch clean # Interactively delete stale branches
```

`rt branch switch` and `rt branch create` are also available as `rt git branch switch/create`.

### Git

```bash
Expand DownExpand Up@@ -200,23 +190,6 @@ rt port # Port scanner + killer (daemon-powered, zero-config)
```


### Open

```bash
rt open mr # Open the current branch's GitLab MR
rt open pipeline # Open GitLab CI pipelines (alias: rt open ci)
rt open repo # Open the repository page
rt open ticket # Open the Linear ticket for this branch
```

### Workspace

```bash
rt workspace sync # Auto-sync a .code-workspace file across all worktrees
```

Keeps per-worktree settings (`peacock.color`, etc.) while syncing shared config.

### Daemon

The daemon runs in the background, caching MR data, scanning ports, and guarding git hooks.
Expand DownExpand Up@@ -245,8 +218,6 @@ rt settings dev-mode # Toggle between local source and the installed bi
### Other

```bash
rt x # Script runner with setup/teardown lifecycle
rt build # Interactive turbo build selector
rt hooks # Toggle git hooks on/off
rt verify # Installation verification
rt version # Print version + mode (dev/prod)
Expand DownExpand Up@@ -373,7 +344,6 @@ From the menu you can restart the daemon, stop it, toggle launch-at-login, and c
| macOS | Required (Apple Silicon or Intel) |
| `fzf` | 0.71.0 or newer (`--listen` and `--id-nth`, used by `rt nav`'s live refresh); `brew install fzf` |
| `tmux` | `brew install tmux` |
| `zellij` | Optional, only needed for `rt x --zellij` mode (`brew install zellij`) |
| `chafa` | Optional, renders image previews in `rt nav` as colored character art (`brew install chafa`) |
| `kitten` | Optional, upgrades `rt nav` image previews to true pixels on Kitty-protocol terminals such as Ghostty. Ships with Kitty (`brew install --cask kitty`) |

Expand Down
6 changes: 3 additions & 3 deletions cli.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,9 +9,9 @@
*
* Usage:
* rt interactive menu
* rt branch switch direct subcommand
* rt branch subcommand picker
* rt build direct command
* rt daemon status direct subcommand
* rt daemon subcommand picker
* rt run direct command
*/

import { dispatch } from "./lib/command-tree.ts";
Expand Down
128 changes: 0 additions & 128 deletions commands/__tests__/agent.test.ts

This file was deleted.

142 changes: 0 additions & 142 deletions commands/agent.ts

This file was deleted.

Loading
Loading