@agdf/cli 0.3.5 → 0.4.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/README.md +30 -13
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,16 +13,24 @@ GitHub Copilot and OpenCode.
|
|
|
13
13
|
|
|
14
14
|
## Quick Start
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Prepare one repository:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
19
|
npx --yes @agdf/cli@latest codex
|
|
20
|
-
npx --yes @agdf/cli@latest
|
|
20
|
+
npx --yes @agdf/cli@latest codex-repo
|
|
21
|
+
npx --yes @agdf/cli@latest claude
|
|
22
|
+
npx --yes @agdf/cli@latest opencode-repo
|
|
21
23
|
npx --yes @agdf/cli@latest copilot
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
Install
|
|
25
|
-
|
|
26
|
+
Install the user-wide OpenCode hook:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx --yes @agdf/cli@latest opencode
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Install the AGDF CLI globally when `agdf` should be available as a regular
|
|
33
|
+
shell command on your machine:
|
|
26
34
|
|
|
27
35
|
```bash
|
|
28
36
|
npm install -g @agdf/cli
|
|
@@ -62,8 +70,11 @@ authoritative reusable format, not AGDF's internal project backlog.
|
|
|
62
70
|
|
|
63
71
|
| Command | Purpose |
|
|
64
72
|
| --- | --- |
|
|
65
|
-
| `codex` |
|
|
66
|
-
| `
|
|
73
|
+
| `codex` | Install the AGDF plugin globally for Codex. |
|
|
74
|
+
| `codex-repo` | Add a repository-local Codex marketplace and AGDF plugin copy. |
|
|
75
|
+
| `claude` | Install the AGDF plugin globally for Claude Code. |
|
|
76
|
+
| `opencode` | Install the AGDF npm plugin as a user-wide OpenCode hook. |
|
|
77
|
+
| `opencode-repo` | Add OpenCode repository instructions, subagents, permissions and control templates. |
|
|
67
78
|
| `copilot` | Add `AGENTS.md`, Copilot instructions, skills and control templates. |
|
|
68
79
|
| `both` | Prepare the repository-file and plugin surfaces together. |
|
|
69
80
|
| `init` | Create durable `.agdf/control` files when repository-owned control state is required. |
|
|
@@ -75,6 +86,8 @@ authoritative reusable format, not AGDF's internal project backlog.
|
|
|
75
86
|
Examples:
|
|
76
87
|
|
|
77
88
|
```bash
|
|
89
|
+
npx --yes @agdf/cli@latest opencode
|
|
90
|
+
npx --yes @agdf/cli@latest opencode-repo
|
|
78
91
|
npx --yes @agdf/cli@latest config --language en
|
|
79
92
|
npx --yes @agdf/cli@latest init
|
|
80
93
|
npx --yes @agdf/cli@latest doctor
|
|
@@ -87,13 +100,17 @@ They do not replace AGDF skill judgement or user approvals.
|
|
|
87
100
|
|
|
88
101
|
## Surface Notes
|
|
89
102
|
|
|
90
|
-
- **Codex:** `codex`
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
- **Claude Code:**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
103
|
+
- **Codex:** `codex` installs the AGDF plugin globally for Codex, while
|
|
104
|
+
`codex-repo` prepares a repository-local marketplace for testing AGDF in one
|
|
105
|
+
repository.
|
|
106
|
+
- **Claude Code:** `claude` installs the AGDF plugin globally for Claude Code.
|
|
107
|
+
- **OpenCode:** `opencode` installs the user-wide npm plugin hook, while
|
|
108
|
+
`opencode-repo` writes the repository instructions, agents and permissions
|
|
109
|
+
AGDF needs. Repository instructions, generated agents and control files remain
|
|
110
|
+
the AGDF source of truth. The generated
|
|
111
|
+
OpenCode agents are intentional `mode: subagent` workflow controls, not
|
|
112
|
+
`.opencode/skills/` entries or primary menu agents; use `@agdf-gate-check`
|
|
113
|
+
as the visible entry point for new build/change intent.
|
|
97
114
|
- **GitHub Copilot:** `copilot` writes repository instructions and skills. If
|
|
98
115
|
`AGENTS.md` already exists, AGDF preserves it and writes `AGENTS.agdf.md` for
|
|
99
116
|
manual merging.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agdf/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Primary AGDF CLI for repository-local AI governance, delivery controls and agent setup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"smoke-test": "node ./scripts/smoke-test.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"create-agdf": "0.
|
|
18
|
+
"create-agdf": "0.4.0"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"agdf",
|