@agdf/cli 0.4.0 → 0.4.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 +9 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Install the user-wide OpenCode hook:
|
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
29
|
npx --yes @agdf/cli@latest opencode
|
|
30
|
+
npx --yes @agdf/cli@latest opencode-status
|
|
30
31
|
```
|
|
31
32
|
|
|
32
33
|
Install the AGDF CLI globally when `agdf` should be available as a regular
|
|
@@ -36,6 +37,7 @@ shell command on your machine:
|
|
|
36
37
|
npm install -g @agdf/cli
|
|
37
38
|
agdf init
|
|
38
39
|
agdf doctor
|
|
40
|
+
agdf gate-check --status-card
|
|
39
41
|
agdf gate-check --json
|
|
40
42
|
```
|
|
41
43
|
|
|
@@ -49,7 +51,7 @@ Use it to:
|
|
|
49
51
|
|
|
50
52
|
- install AGDF instructions and skills into a target repository
|
|
51
53
|
- initialize durable `.agdf/control` state when a repository should own it
|
|
52
|
-
- run deterministic validators such as `doctor` and `gate-check --json`
|
|
54
|
+
- run compact interactive checks such as `gate-check --status-card` and deterministic validators such as `doctor` and `gate-check --json`
|
|
53
55
|
- prepare Codex, GitHub Copilot and OpenCode surfaces from the same source of
|
|
54
56
|
truth while keeping Claude Code installation explicitly separate
|
|
55
57
|
|
|
@@ -74,6 +76,7 @@ authoritative reusable format, not AGDF's internal project backlog.
|
|
|
74
76
|
| `codex-repo` | Add a repository-local Codex marketplace and AGDF plugin copy. |
|
|
75
77
|
| `claude` | Install the AGDF plugin globally for Claude Code. |
|
|
76
78
|
| `opencode` | Install the AGDF npm plugin as a user-wide OpenCode hook. |
|
|
79
|
+
| `opencode-status` | Report OpenCode global config, package loadability, session signals and repository surface presence. |
|
|
77
80
|
| `opencode-repo` | Add OpenCode repository instructions, subagents, permissions and control templates. |
|
|
78
81
|
| `copilot` | Add `AGENTS.md`, Copilot instructions, skills and control templates. |
|
|
79
82
|
| `both` | Prepare the repository-file and plugin surfaces together. |
|
|
@@ -81,16 +84,19 @@ authoritative reusable format, not AGDF's internal project backlog.
|
|
|
81
84
|
| `config --language de\|en` | Persist the project language without creating the full control scaffold. |
|
|
82
85
|
| `doctor [--json]` | Check whether the durable control state is consistent and actionable. |
|
|
83
86
|
| `gate-check [--json]` | Report the current gate, blockers and next permitted action. |
|
|
87
|
+
| `gate-check --status-card` | Print compact interactive gate status without full JSON. |
|
|
84
88
|
| `delivery-map [--json]` | Report artefact relationships, evidence, risks and Context Graph effects. |
|
|
85
89
|
|
|
86
90
|
Examples:
|
|
87
91
|
|
|
88
92
|
```bash
|
|
89
93
|
npx --yes @agdf/cli@latest opencode
|
|
94
|
+
npx --yes @agdf/cli@latest opencode-status --json
|
|
90
95
|
npx --yes @agdf/cli@latest opencode-repo
|
|
91
96
|
npx --yes @agdf/cli@latest config --language en
|
|
92
97
|
npx --yes @agdf/cli@latest init
|
|
93
98
|
npx --yes @agdf/cli@latest doctor
|
|
99
|
+
npx --yes @agdf/cli@latest gate-check --status-card
|
|
94
100
|
npx --yes @agdf/cli@latest gate-check --json
|
|
95
101
|
npx --yes @agdf/cli@latest delivery-map --json
|
|
96
102
|
```
|
|
@@ -105,7 +111,8 @@ They do not replace AGDF skill judgement or user approvals.
|
|
|
105
111
|
repository.
|
|
106
112
|
- **Claude Code:** `claude` installs the AGDF plugin globally for Claude Code.
|
|
107
113
|
- **OpenCode:** `opencode` installs the user-wide npm plugin hook, while
|
|
108
|
-
`opencode-
|
|
114
|
+
`opencode-status` verifies global config, package loadability, session signals
|
|
115
|
+
and repository surface presence. `opencode-repo` writes the repository instructions, agents and permissions
|
|
109
116
|
AGDF needs. Repository instructions, generated agents and control files remain
|
|
110
117
|
the AGDF source of truth. The generated
|
|
111
118
|
OpenCode agents are intentional `mode: subagent` workflow controls, not
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agdf/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
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.4.
|
|
18
|
+
"create-agdf": "0.4.1"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"agdf",
|