@clipboard-health/groundcrew 4.27.0 → 4.27.1
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 +10 -8
- package/crew.config.example.ts +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ npm install -g @clipboard-health/groundcrew@latest
|
|
|
49
49
|
|
|
50
50
|
# 2. Scaffold a global config. Agents are sandboxed by default
|
|
51
51
|
# (Safehouse/Docker Sandboxes); add --runner none to run unsandboxed on the host.
|
|
52
|
-
crew init --global --project-dir ~/dev --repo OWNER/REPO --
|
|
52
|
+
crew init --global --project-dir ~/dev --repo OWNER/REPO --agent claude
|
|
53
53
|
|
|
54
54
|
# 3. Run the clone commands printed by `crew init`.
|
|
55
55
|
|
|
@@ -64,7 +64,7 @@ crew doctor
|
|
|
64
64
|
crew run --watch
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
`crew init --global` writes config to `${XDG_CONFIG_HOME:-$HOME/.config}/groundcrew/`. Pass `--repo` more than once for multiple repos. `--
|
|
67
|
+
`crew init --global` writes config to `${XDG_CONFIG_HOME:-$HOME/.config}/groundcrew/`. Pass `--repo` more than once for multiple repos. `--agent claude` or `--agent codex` chooses the single built-in agent preset to enable in the generated config.
|
|
68
68
|
|
|
69
69
|
## Task Pickup
|
|
70
70
|
|
|
@@ -72,8 +72,8 @@ crew run --watch
|
|
|
72
72
|
|
|
73
73
|
Linear works out of the box: assign tasks to yourself and add an `agent-*` label.
|
|
74
74
|
|
|
75
|
-
- `agent-claude`, `agent-codex`, or `agent-<name>` routes to that
|
|
76
|
-
- `agent-any` routes to the enabled
|
|
75
|
+
- `agent-claude`, `agent-codex`, or `agent-<name>` routes to that agent.
|
|
76
|
+
- `agent-any` routes to the enabled agent with the most session headroom, after skipping agents over their session limit or weekly paced budget.
|
|
77
77
|
- Tasks without an `agent-*` label are ignored by `crew run`; dispatch one manually with `crew start <TASK>`.
|
|
78
78
|
|
|
79
79
|
Groundcrew scans `workspace.knownRepositories` to infer which repo a task belongs to.
|
|
@@ -91,17 +91,19 @@ Write tasks as complete agent instructions: the goal, the context and constraint
|
|
|
91
91
|
```bash
|
|
92
92
|
crew init [--global | --local] [--force] [--dry-run] # create a crew.config.ts
|
|
93
93
|
[--project-dir <dir>] [--repo <repo>]...
|
|
94
|
-
[--runner <auto|safehouse|sdx|none>] [--
|
|
94
|
+
[--runner <auto|safehouse|sdx|none>] [--agent <claude|codex>]
|
|
95
95
|
crew doctor # check setup
|
|
96
|
+
crew source list|verify [<source>] # inspect configured task sources
|
|
96
97
|
crew task list [--source <name>] # list tasks across sources
|
|
97
98
|
crew task get <TASK> [--source <name>] [--prompt] # inspect one task or its prompt
|
|
98
99
|
crew task create "Title" --source <name> [--agent <name>] # create a source task
|
|
100
|
+
crew task validate [<source>] # validate task content
|
|
99
101
|
crew status [<TASK>] # inspect current state or one task
|
|
100
102
|
crew run [--watch] # one-shot or --watch forever
|
|
101
103
|
crew start <TASK> # provision + launch one task now
|
|
102
104
|
crew stop <TASK> [--reason <text>] # stop workspace, keep worktree
|
|
103
105
|
crew resume <TASK> # reopen a paused task
|
|
104
|
-
crew cleanup <TASK>
|
|
106
|
+
crew cleanup [--force] <TASK> # tear down every worktree for a task
|
|
105
107
|
crew upgrade [<version>] # reinstall crew globally through npm
|
|
106
108
|
```
|
|
107
109
|
|
|
@@ -109,7 +111,7 @@ See [command details](./docs/commands.md) for status output, doctor behavior, an
|
|
|
109
111
|
|
|
110
112
|
## Configuration
|
|
111
113
|
|
|
112
|
-
Workspace settings and at least one enabled
|
|
114
|
+
Workspace settings and at least one enabled agent are required; everything else has a default.
|
|
113
115
|
|
|
114
116
|
```ts
|
|
115
117
|
import type { Config } from "@clipboard-health/groundcrew";
|
|
@@ -122,7 +124,7 @@ export default {
|
|
|
122
124
|
// Strings live under projectDir; use { name, projectDirOverride } to override per repo.
|
|
123
125
|
knownRepositories: ["OWNER/REPO"],
|
|
124
126
|
},
|
|
125
|
-
|
|
127
|
+
agents: {
|
|
126
128
|
default: "claude",
|
|
127
129
|
definitions: {
|
|
128
130
|
claude: {},
|
package/crew.config.example.ts
CHANGED
|
@@ -27,9 +27,9 @@ export default {
|
|
|
27
27
|
// { name: "other-org/other-repo", projectDirOverride: "~/work" }
|
|
28
28
|
knownRepositories: ["your-org/your-repo"],
|
|
29
29
|
},
|
|
30
|
-
|
|
30
|
+
agents: {
|
|
31
31
|
default: "claude",
|
|
32
|
-
// `definitions` is the enabled
|
|
32
|
+
// `definitions` is the enabled agent set. Built-in keys can use `{}` to
|
|
33
33
|
// opt into the shipped command/color/usage preset. Add `codex: {}` if you
|
|
34
34
|
// want both shipped agents, or add a custom entry and tag tasks with
|
|
35
35
|
// `agent-<name>`.
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
// // it into the agent. Chain with `&&` so a failed mint aborts launch.
|
|
100
100
|
// preLaunch: "SESSION_TOKEN=$(your-mint-command) && export SESSION_TOKEN",
|
|
101
101
|
// preLaunchEnv: ["SESSION_TOKEN"],
|
|
102
|
-
// // Required for this
|
|
102
|
+
// // Required for this agent when `local.runner` resolves to `sdx`.
|
|
103
103
|
// sandbox: { agent: "claude" },
|
|
104
104
|
// },
|
|
105
105
|
//
|
|
@@ -110,7 +110,7 @@ export default {
|
|
|
110
110
|
// local: { runner: "auto" },
|
|
111
111
|
//
|
|
112
112
|
// // Groundcrew does not create or authenticate sdx sandboxes. For an sdx
|
|
113
|
-
// //
|
|
113
|
+
// // agent, create the matching sandbox yourself before first launch:
|
|
114
114
|
// // sbx create --name groundcrew-claude claude ~/dev/groundcrew
|
|
115
115
|
// // sbx exec -it groundcrew-claude claude auth login
|
|
116
116
|
// // sbx exec -it groundcrew-claude gh auth login
|
package/package.json
CHANGED