cofounder-crew 0.1.0 → 0.1.2
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 +19 -13
- package/dist/src/setup.js +2 -2
- package/dist/src/setup.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Cofounder Crew gives a project a small file-based team runtime: named members, r
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
cd my-project
|
|
9
|
-
npm create cofounder@latest
|
|
9
|
+
npm create cofounder@latest -- --template worktree --setup-codex --yes
|
|
10
10
|
codex
|
|
11
11
|
```
|
|
12
12
|
|
|
@@ -20,6 +20,12 @@ Create a team skeleton:
|
|
|
20
20
|
npm create cofounder@latest
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
This does not install a persistent `cofounder` shell command. For one-off runtime commands, use:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npx -y --package cofounder-crew -- cofounder team
|
|
27
|
+
```
|
|
28
|
+
|
|
23
29
|
Use isolated Git worktrees for implementation tasks and install the Codex MCP entry:
|
|
24
30
|
|
|
25
31
|
```bash
|
|
@@ -68,21 +74,21 @@ The important part is that everything is plain files. You can inspect prompts, s
|
|
|
68
74
|
## Core Commands
|
|
69
75
|
|
|
70
76
|
```bash
|
|
71
|
-
cofounder team
|
|
72
|
-
cofounder run backend "inspect this repo"
|
|
73
|
-
cofounder delegate backend "add focused tests for the parser"
|
|
74
|
-
cofounder status <task_id>
|
|
75
|
-
cofounder logs <task_id>
|
|
76
|
-
cofounder watch <task_id>
|
|
77
|
-
cofounder cancel <task_id>
|
|
78
|
-
cofounder interrupt <task_id> "revise the approach and continue"
|
|
77
|
+
npx -y --package cofounder-crew -- cofounder team
|
|
78
|
+
npx -y --package cofounder-crew -- cofounder run backend "inspect this repo"
|
|
79
|
+
npx -y --package cofounder-crew -- cofounder delegate backend "add focused tests for the parser"
|
|
80
|
+
npx -y --package cofounder-crew -- cofounder status <task_id>
|
|
81
|
+
npx -y --package cofounder-crew -- cofounder logs <task_id>
|
|
82
|
+
npx -y --package cofounder-crew -- cofounder watch <task_id>
|
|
83
|
+
npx -y --package cofounder-crew -- cofounder cancel <task_id>
|
|
84
|
+
npx -y --package cofounder-crew -- cofounder interrupt <task_id> "revise the approach and continue"
|
|
79
85
|
```
|
|
80
86
|
|
|
81
87
|
For isolated worktree tasks:
|
|
82
88
|
|
|
83
89
|
```bash
|
|
84
|
-
cofounder diff <task_id>
|
|
85
|
-
cofounder apply <task_id>
|
|
90
|
+
npx -y --package cofounder-crew -- cofounder diff <task_id>
|
|
91
|
+
npx -y --package cofounder-crew -- cofounder apply <task_id>
|
|
86
92
|
```
|
|
87
93
|
|
|
88
94
|
`diff` prints the generated patch. `apply` validates it with `git apply --check`, applies it to the main working tree, and stores the patch under `.cofounder/runs/<task_id>/apply.patch`.
|
|
@@ -92,13 +98,13 @@ cofounder apply <task_id>
|
|
|
92
98
|
Install the MCP entry:
|
|
93
99
|
|
|
94
100
|
```bash
|
|
95
|
-
cofounder setup codex --install
|
|
101
|
+
npx -y --package cofounder-crew -- cofounder setup codex --install
|
|
96
102
|
```
|
|
97
103
|
|
|
98
104
|
Equivalent command:
|
|
99
105
|
|
|
100
106
|
```bash
|
|
101
|
-
codex mcp add cofounder -- npx -y cofounder-crew mcp
|
|
107
|
+
codex mcp add cofounder -- npx -y --package cofounder-crew -- cofounder mcp
|
|
102
108
|
```
|
|
103
109
|
|
|
104
110
|
Codex will get these tools:
|
package/dist/src/setup.js
CHANGED
|
@@ -15,7 +15,7 @@ export function formatCodexSetup(options = {}) {
|
|
|
15
15
|
|
|
16
16
|
Preferred from npm registry:
|
|
17
17
|
|
|
18
|
-
codex mcp add cofounder -- npx -y ${packageName} mcp
|
|
18
|
+
codex mcp add cofounder -- npx -y --package ${packageName} -- cofounder mcp
|
|
19
19
|
|
|
20
20
|
After npm link or global install:
|
|
21
21
|
|
|
@@ -33,7 +33,7 @@ Then open Codex from a configured project:
|
|
|
33
33
|
}
|
|
34
34
|
export async function installCodexMcp(options = {}) {
|
|
35
35
|
const packageName = options.packageName ?? DEFAULT_PUBLISHED_PACKAGE;
|
|
36
|
-
const args = ["mcp", "add", "cofounder", "--", "npx", "-y", packageName, "mcp"];
|
|
36
|
+
const args = ["mcp", "add", "cofounder", "--", "npx", "-y", "--package", packageName, "--", "cofounder", "mcp"];
|
|
37
37
|
try {
|
|
38
38
|
await execFileAsync("codex", args, {
|
|
39
39
|
maxBuffer: 10 * 1024 * 1024
|
package/dist/src/setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,aAAa,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;AAC1C,MAAM,CAAC,MAAM,yBAAyB,GAAG,gBAAgB,CAAC;AAM1D,MAAM,UAAU,gBAAgB,CAAC,UAA6B,EAAE;IAC9D,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,yBAAyB,CAAC;IACrE,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClD,MAAM,aAAa,GAAG,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC9C,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,oBAAoB,CAAC;QAC9D,CAAC,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,IAAI,C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