@rbbtsn0w/adg 0.3.0 → 0.4.0-beta.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 +18 -5
- package/dist/bin/adg.js +10 -621
- package/dist/src/agents/antigravity.js +55 -4
- package/dist/src/agents/base.js +16 -1
- package/dist/src/agents/claude.js +57 -4
- package/dist/src/agents/codex.js +50 -5
- package/dist/src/cli/handlers.js +454 -0
- package/dist/src/cli/index.js +319 -0
- package/dist/src/commands/link.js +2 -2
- package/dist/src/commands/marketplace.js +17 -42
- package/dist/src/commands/projection.js +28 -0
- package/dist/src/commands/status.js +35 -0
- package/dist/src/commands/sync.js +29 -0
- package/dist/src/commands/unlink.js +39 -0
- package/dist/src/render/plugins.js +32 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -224,16 +224,29 @@ adg plugins add owner/repo --ref main --sparse .agents/plugins --sparse plugins
|
|
|
224
224
|
adg plugins add ./some/local/repo --dir plugins
|
|
225
225
|
adg plugins import-skills ~/.agents/skills --as asc --prefix asc- --dir plugins
|
|
226
226
|
|
|
227
|
-
# project installed plugins into a runtime's discovery path
|
|
228
|
-
adg plugins link
|
|
229
|
-
adg plugins link
|
|
230
|
-
|
|
231
|
-
#
|
|
227
|
+
# project installed plugins into a runtime's discovery path (store stays the source of truth)
|
|
228
|
+
adg plugins link --target codex --global # enable in one agent (regenerate .codex-plugin)
|
|
229
|
+
adg plugins link --target claude --global # symlink into ~/.claude/skills/
|
|
230
|
+
adg plugins unlink --target antigravity asc # disable in one agent only (supports agent-only residuals)
|
|
231
|
+
adg plugins unlink --target all asc # disable in all agents
|
|
232
|
+
adg plugins sync --target antigravity asc # reconcile one agent to the store (clears residual)
|
|
233
|
+
adg plugins sync --target all --global # reconcile all agents to the store in one go
|
|
234
|
+
adg plugins marketplace sync owner/repo --target all # same, scoped to a whole source across all agents
|
|
235
|
+
|
|
236
|
+
# diagnose & maintain
|
|
237
|
+
adg plugins status --target antigravity # live-diff store vs agent (isolates global plugins if project is uninitialized)
|
|
232
238
|
adg plugins update --dir plugins # re-fetch remote sources; rescan local ones in place
|
|
233
239
|
adg plugins list --dir plugins # list locked plugins
|
|
234
240
|
adg plugins migrate --dir plugins # move flat installs into per-marketplace dirs
|
|
241
|
+
|
|
235
242
|
```
|
|
236
243
|
|
|
244
|
+
Two layers, two verb pairs. The **store** (`add` / `remove`) is the system of
|
|
245
|
+
record; **agents are projections** of it (`link` / `unlink` toggle one agent;
|
|
246
|
+
`sync` forces an agent to match the store). `remove` deletes from the store and
|
|
247
|
+
every agent at once — for per-agent control use `unlink`. When something looks
|
|
248
|
+
off, `status` shows the drift and `sync` repairs it.
|
|
249
|
+
|
|
237
250
|
#### On-disk layout
|
|
238
251
|
|
|
239
252
|
Plugins are grouped on disk by the source they came from. Remote installs nest
|