@johngaynor/entourage 0.4.1-next.30 → 0.4.1-next.32
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 +4 -3
- package/cli/entourage +3 -2
- package/cli/lib/task.sh +8 -0
- package/herdr/README.md +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -130,9 +130,10 @@ the description. The description names the task:
|
|
|
130
130
|
web/ a worktree of web on the same branch
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
Setup is off for now, while the local environment each task gets is worked
|
|
134
|
+
out. With `ENTOURAGE_SETUP=1`, a repo that has a `justfile` with a `setup`
|
|
135
|
+
recipe gets `just setup` run in the task's tab, so the checkout is ready to
|
|
136
|
+
work in. See [what a repo provides](herdr/README.md#what-a-repo-provides).
|
|
136
137
|
|
|
137
138
|
See [herdr/README.md](herdr/README.md#tasks) for the details.
|
|
138
139
|
|
package/cli/entourage
CHANGED
|
@@ -51,8 +51,9 @@ sdlc-define, sdlc-plan and sdlc-breakdown skills and asks you to approve it.
|
|
|
51
51
|
`task start` takes a branch, <type>/<description>, like
|
|
52
52
|
feat/abc-122-short-title (https://conventionalbranch.org). It makes a folder
|
|
53
53
|
in the project's tasks/ folder with a worktree of each repo on that branch,
|
|
54
|
-
and opens a tab for it.
|
|
55
|
-
|
|
54
|
+
and opens a tab for it. Setup is off for now: with ENTOURAGE_SETUP=1, a
|
|
55
|
+
repo with a justfile that has a `setup` recipe gets `just setup` run in that
|
|
56
|
+
tab, so the checkout is ready to work in.
|
|
56
57
|
Targets after the branch narrow the task: `app` takes only that repo, and
|
|
57
58
|
`app:athlete` sets it up for its athlete group (`just setup athlete`).
|
|
58
59
|
Join several groups with a comma: `app:athlete,coach`.
|
package/cli/lib/task.sh
CHANGED
|
@@ -116,11 +116,19 @@ task_undo() {
|
|
|
116
116
|
# here, so that `task start` returns at once and the install is on screen
|
|
117
117
|
# where the work will happen. Nothing in this step can fail the task: by now
|
|
118
118
|
# it exists and its tab is open.
|
|
119
|
+
#
|
|
120
|
+
# Setup is off unless ENTOURAGE_SETUP is 1, while the local environment each
|
|
121
|
+
# task gets is still being worked out: a recipe that starts a whole stack
|
|
122
|
+
# should not run for every task in the meantime.
|
|
119
123
|
# $1 the task's folder $2 what `tab.new` printed $3... the task's repos
|
|
120
124
|
run_setup() {
|
|
121
125
|
local tdir=$1 tab=$2 repo name line='' term count ready=() groups i=0
|
|
122
126
|
shift 2
|
|
123
127
|
count=$#
|
|
128
|
+
if [ "${ENTOURAGE_SETUP:-}" != 1 ]; then
|
|
129
|
+
say " setup not run: it is off for now (ENTOURAGE_SETUP=1 turns it on)"
|
|
130
|
+
return 0
|
|
131
|
+
fi
|
|
124
132
|
if ! have_just; then
|
|
125
133
|
say " setup skipped: just is not installed (https://just.systems)"
|
|
126
134
|
return 0
|
package/herdr/README.md
CHANGED
|
@@ -340,6 +340,10 @@ entourage task start <project> <branch> [<repo>[:<group>[,<group>...]] ...]
|
|
|
340
340
|
- **Where the tab starts:** in the worktree when the task has one repo; in
|
|
341
341
|
the task folder when it has several. That folder has `CLAUDE.md` and
|
|
342
342
|
`AGENTS.md` links to the project's `PROJECT.md`.
|
|
343
|
+
- **Setup is off for now**, while the local environment each task gets is
|
|
344
|
+
worked out. The output says it was not run. Set `ENTOURAGE_SETUP=1` (see
|
|
345
|
+
[entourage's variables](#entourages-variables)) to turn it on. The next
|
|
346
|
+
two points describe it when it is on, and groups in targets only matter then.
|
|
343
347
|
- **Setup runs in the tab.** For each repo that has a `setup` recipe (see
|
|
344
348
|
[What a repo provides](#what-a-repo-provides)), `just setup`, followed by
|
|
345
349
|
the target's groups if it named any, is typed into
|
|
@@ -365,7 +369,7 @@ have the same names in every repo. entourage only knows the names.
|
|
|
365
369
|
|
|
366
370
|
| Recipe | What it must do | Used by |
|
|
367
371
|
|---|---|---|
|
|
368
|
-
| `setup` | Make a fresh checkout ready to work in: install dependencies and anything else a new worktree lacks. Safe to run twice. Called with group names (`just setup athlete coach`), make ready only what those groups need, and fail with a clear message for a group the repo does not have. | `entourage task start` |
|
|
372
|
+
| `setup` | Make a fresh checkout ready to work in: install dependencies and anything else a new worktree lacks. Safe to run twice. Called with group names (`just setup athlete coach`), make ready only what those groups need, and fail with a clear message for a group the repo does not have. | `entourage task start`, when `ENTOURAGE_SETUP=1` |
|
|
369
373
|
|
|
370
374
|
```just
|
|
371
375
|
setup:
|
|
@@ -395,6 +399,7 @@ shell, or written as a `NAME=value` line in entourage's env file,
|
|
|
395
399
|
| `LINEAR_API_KEY` | Your Linear API key. `entourage linear key` writes this line for you. |
|
|
396
400
|
| `ENTOURAGE_AGENT` | The agent `task new` starts. `claude` when it is not set. |
|
|
397
401
|
| `ENTOURAGE_SQLITE` | The command that records hand-offs. `sqlite3` when it is not set. |
|
|
402
|
+
| `ENTOURAGE_SETUP` | `1` makes `task start` run each repo's `setup` recipe. Off when it is not set, for now. |
|
|
398
403
|
| `HERDR_APP_HOME` | Herdr's folder. `~/.config/herdr-app` when it is not set. |
|
|
399
404
|
| `CLAUDE_CONFIG_DIR` | Claude Code's folder, where skills are linked. `~/.claude` when it is not set. |
|
|
400
405
|
| `ENTOURAGE_HOME` | entourage's own folder. `~/.config/entourage` when it is not set. Export only: it says where the env file is, so the file cannot set it. |
|
package/package.json
CHANGED