@axelgar/opentree 0.1.25 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ opentree is a cross-platform CLI tool that manages multiple AI coding agent sess
|
|
|
25
25
|
## Requirements
|
|
26
26
|
|
|
27
27
|
- **Git** (2.5+) - for worktree support
|
|
28
|
-
- **tmux** (
|
|
28
|
+
- **tmux** (3.0+) - for session orchestration
|
|
29
29
|
- **OpenCode** (optional) - default coding agent ([install](https://github.com/anomalyco/opencode))
|
|
30
30
|
- **GitHub CLI** (`gh`) (optional) - for PR creation and issue fetching ([install](https://cli.github.com/))
|
|
31
31
|
|
|
@@ -139,7 +139,7 @@ opentree issue 42 # Workspace from issue #42
|
|
|
139
139
|
opentree issue 42 --base dev # Branch off 'dev'
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
Fetches the issue from GitHub
|
|
142
|
+
Fetches the issue from GitHub and auto-generates a branch name (e.g. `issue-42-add-dark-mode`). Requires the `gh` CLI.
|
|
143
143
|
|
|
144
144
|
#### List Workspaces
|
|
145
145
|
|
|
@@ -309,9 +309,7 @@ e.g. a Claude Code hook in `~/.claude/settings.json`:
|
|
|
309
309
|
|
|
310
310
|
3. **State Persistence**: Workspace metadata (branch, created time, agent, issue number) stored in `.opentree/state.json`.
|
|
311
311
|
|
|
312
|
-
4. **Agent Integration**: When creating a workspace, opentree launches your configured agent
|
|
313
|
-
|
|
314
|
-
5. **Issue Context**: When using `opentree issue`, a `TASK.md` file is written to the worktree containing the issue details, giving the AI agent immediate context.
|
|
312
|
+
4. **Agent Integration**: When creating a workspace, opentree launches your configured agent inside the tmux window, ready to code. With no agent configured, it uses the first supported agent found on your PATH.
|
|
315
313
|
|
|
316
314
|
## Workflow Example
|
|
317
315
|
|
|
@@ -356,6 +354,10 @@ Install tmux:
|
|
|
356
354
|
- **Ubuntu/Debian**: `sudo apt install tmux`
|
|
357
355
|
- **Arch**: `sudo pacman -S tmux`
|
|
358
356
|
|
|
357
|
+
### "opentree requires tmux >= 3.0"
|
|
358
|
+
|
|
359
|
+
opentree sets the agent's environment via `tmux new-window -e`, which needs tmux 3.0 or newer. Upgrade tmux with your package manager (e.g. `brew upgrade tmux`).
|
|
360
|
+
|
|
359
361
|
### "Error: opencode not found"
|
|
360
362
|
|
|
361
363
|
Install OpenCode from [github.com/anomalyco/opencode](https://github.com/anomalyco/opencode), or configure a different agent in `opentree.toml`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axelgar/opentree",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Git worktree manager CLI for orchestrating parallel AI coding sessions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"bin/opentree"
|
|
16
16
|
],
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@axelgar/opentree-linux-x64": "0.
|
|
19
|
-
"@axelgar/opentree-linux-arm64": "0.
|
|
20
|
-
"@axelgar/opentree-darwin-x64": "0.
|
|
21
|
-
"@axelgar/opentree-darwin-arm64": "0.
|
|
18
|
+
"@axelgar/opentree-linux-x64": "0.2.0",
|
|
19
|
+
"@axelgar/opentree-linux-arm64": "0.2.0",
|
|
20
|
+
"@axelgar/opentree-darwin-x64": "0.2.0",
|
|
21
|
+
"@axelgar/opentree-darwin-arm64": "0.2.0"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">=18"
|