@clipboard-health/groundcrew 4.44.2 → 4.45.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/crew.config.example.ts +9 -6
- package/docs/task-sources.md +3 -1
- package/package.json +2 -2
package/crew.config.example.ts
CHANGED
|
@@ -104,7 +104,7 @@ export default {
|
|
|
104
104
|
// // Linear adapter. The most common use is `kind: "shell"`, which wires
|
|
105
105
|
// // any external system via command templates that emit/consume JSON.
|
|
106
106
|
// // See the shell adapter's ShellIssue schema for the JSON contract
|
|
107
|
-
// // `
|
|
107
|
+
// // `listTasks` / `getTask` must emit.
|
|
108
108
|
// sources: [
|
|
109
109
|
// // Optional: explicitly declare Linear only when you need custom status
|
|
110
110
|
// // names. Omitted fields keep their defaults.
|
|
@@ -121,16 +121,19 @@ export default {
|
|
|
121
121
|
// {
|
|
122
122
|
// kind: "shell",
|
|
123
123
|
// name: "jira",
|
|
124
|
+
// // Install via task-sources/jira (see task-sources/jira/README.md):
|
|
125
|
+
// // cp task-sources/jira/jira.sh ~/.config/groundcrew/jira.sh
|
|
124
126
|
// // Open local task-store directories for read/write inside the
|
|
125
127
|
// // safehouse/srt sandbox when this source owns the launched task.
|
|
126
128
|
// sandboxWritePaths: ["~/plans"],
|
|
127
129
|
// commands: {
|
|
128
|
-
// verify: "jira
|
|
129
|
-
//
|
|
130
|
-
//
|
|
131
|
-
// markInProgress: "jira
|
|
130
|
+
// verify: "~/.config/groundcrew/jira.sh verify",
|
|
131
|
+
// listTasks: "~/.config/groundcrew/jira.sh list",
|
|
132
|
+
// getTask: "~/.config/groundcrew/jira.sh get ${id}",
|
|
133
|
+
// markInProgress: "~/.config/groundcrew/jira.sh move ${id} \"$JIRA_STATE_IN_PROGRESS\"",
|
|
134
|
+
// // Full wiring (markInReview/markDone, env, timeouts): see task-sources/jira/README.md
|
|
132
135
|
// },
|
|
133
|
-
// timeouts: {
|
|
136
|
+
// timeouts: { listTasks: 60_000 },
|
|
134
137
|
// },
|
|
135
138
|
// ],
|
|
136
139
|
//
|
package/docs/task-sources.md
CHANGED
|
@@ -25,6 +25,8 @@ export default {
|
|
|
25
25
|
};
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
A complete, runnable JIRA source backed by the [`jira` CLI](https://github.com/ankitpokhrel/jira-cli) ships in [`task-sources/jira/`](../task-sources/jira/README.md): a single `jira.sh` dispatcher (`verify`/`list`/`get`/`move`) that maps JIRA's REST output into the contract below, plus the config block to wire it up.
|
|
29
|
+
|
|
28
30
|
`commands.listTasks` must print a JSON array of issues. `commands.getTask`, when
|
|
29
31
|
set, must print one issue, print nothing for "not found", or exit `3` for "not
|
|
30
32
|
found". The legacy aliases `commands.fetch` and `commands.resolveOne` still work
|
|
@@ -72,7 +74,7 @@ source's declared paths. The `sdx` runner does not mount these host paths.
|
|
|
72
74
|
]
|
|
73
75
|
```
|
|
74
76
|
|
|
75
|
-
Allowed `status` values are `todo`, `in-progress`, `in-review`, `done`, and `other`.
|
|
77
|
+
Allowed `status` values are `todo`, `in-progress`, `in-review`, `done`, and `other`. In shell-script JSON output, emit both `repository` and `agent`; use `null` when a task should not be groundcrew-eligible. `hasMoreBlockers` is optional and defaults to `false`; `sourceRef` is opaque data that groundcrew passes back to your writeback command.
|
|
76
78
|
|
|
77
79
|
## Todo.txt
|
|
78
80
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipboard-health/groundcrew",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.45.0",
|
|
4
4
|
"description": "Linear-driven orchestrator that launches AI coding agents in git worktrees, with workspace lifecycle and usage tracking.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"dependency-cruiser": "17.4.3",
|
|
90
90
|
"husky": "9.1.7",
|
|
91
91
|
"jscpd": "5.0.9",
|
|
92
|
-
"knip": "6.
|
|
92
|
+
"knip": "6.16.1",
|
|
93
93
|
"lint-staged": "17.0.7",
|
|
94
94
|
"markdownlint-cli2": "0.22.1",
|
|
95
95
|
"nx": "22.7.5",
|