@kitsy/coop 1.1.0 → 2.0.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.
Files changed (3) hide show
  1. package/README.md +11 -6
  2. package/dist/index.js +732 -188
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -18,9 +18,12 @@ pnpm exec coop --help
18
18
 
19
19
  Both entrypoints operate on the nearest parent `.coop/` workspace. If no workspace log target exists, CLI errors fall back to `~/.coop/logs/cli.log` or `COOP_HOME/logs/cli.log`.
20
20
 
21
+ COOP v2 stores project data under `.coop/projects/<project.id>/...` and keeps workspace selection in `.coop/config.yml`.
22
+
21
23
  Current implemented command families:
22
24
  - `coop`
23
- - `coop init`
25
+ - `coop init [--name <name>] [--id <id>] [--aliases <csv>] [--yes]`
26
+ - `coop project list|create|use|show`
24
27
  - `coop create task ...`
25
28
  - `coop create task --from <idea> --ai`
26
29
  - `coop create idea ...`
@@ -45,6 +48,7 @@ Current implemented command families:
45
48
  - `coop serve [--host <host>] [--port <port>] [--repo <path>]`
46
49
  - `coop webhook github [--host <host>] [--port <port>] [--repo <path>]`
47
50
  - `coop migrate --dry-run --to 2`
51
+ - `coop migrate workspace-layout --to v2 [--name <name>] [--id <id>] [--aliases <csv>] [--yes]`
48
52
  - `coop alias ...`
49
53
  - `coop list alias [pattern]`
50
54
  - `coop config index.data yaml|json`
@@ -58,10 +62,10 @@ Current implemented command families:
58
62
 
59
63
  Known limitations:
60
64
  - `ext` is still a placeholder for future phases.
61
- - Provider-backed AI is supported for `openai`, `anthropic`, `gemini`, and `ollama` via `.coop/config.yml` + env vars.
62
- - Authorization is advisory and config-driven (`.coop/config.yml -> authorization`).
63
- - Plugin runtime supports manifest triggers under `.coop/plugins/*.yml` (webhook + console + `github_pr` actions).
64
- - `coop ui` is read-only and depends on local `.coop/.index` data. The command rebuilds stale indexes before launch.
65
+ - Provider-backed AI is supported for `openai`, `anthropic`, `gemini`, and `ollama` via `.coop/projects/<project.id>/config.yml` + env vars.
66
+ - Authorization is advisory and config-driven (`.coop/projects/<project.id>/config.yml -> authorization`).
67
+ - Plugin runtime supports manifest triggers under `.coop/projects/<project.id>/plugins/*.yml` (webhook + console + `github_pr` actions).
68
+ - `coop ui` is read-only and depends on the active project's `.index` data. The command rebuilds stale indexes before launch.
65
69
  - `coop init` creates `.coop/.ignore` and `.coop/.gitignore` so logs, tmp files, and index artifacts are not committed by default.
66
70
 
67
71
  GitHub integration quick example:
@@ -75,7 +79,7 @@ github:
75
79
  merge_method: squash
76
80
  ```
77
81
 
78
- With `.coop/plugins/github-pr.yml` enabled:
82
+ With `.coop/projects/<project.id>/plugins/github-pr.yml` enabled:
79
83
  - `coop transition task PM-101 in_review` creates or updates a PR
80
84
  - `coop transition task PM-101 done` merges the linked PR
81
85
  - `coop webhook github --port 8787` receives GitHub review/merge webhooks and syncs task status
@@ -97,6 +101,7 @@ With cross-repo task references such as `external:platform-repo/PM-200`:
97
101
 
98
102
  Workspace identity:
99
103
  ```yaml
104
+ # .coop/projects/<project.id>/config.yml
100
105
  project:
101
106
  name: Payments Platform
102
107
  id: payments-platform