agentwheel 0.6.0 → 0.8.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 CHANGED
@@ -33,10 +33,10 @@ No lock-in. No central gatekeeper. Your packages live in plain git repos, your c
33
33
 
34
34
  ---
35
35
 
36
- > **Status: early (v0.6).** The lifecycle core is real and tested — local/git/skillkit/vercel
36
+ > **Status: early (v0.7).** The lifecycle core is real and tested — local/git/skillkit/vercel
37
37
  > sources, optional registry discovery, plan/sync/update/drift/uninstall, overlays, eject/remember,
38
38
  > profiles, runtime auto-detection, fleet targeting, asset-includes, selective installs,
39
- > update notifications, rich JSON merge, and pluggable adapters.
39
+ > update notifications, full Claude/Codex adapters, rich JSON/TOML merge, and pluggable adapters.
40
40
  > Expect sharp edges.
41
41
 
42
42
  ## What it does
@@ -101,14 +101,24 @@ For a control-plane setup, define named agents in config. Global config lives at
101
101
  ```jsonc
102
102
  {
103
103
  "agents": {
104
- "lab-openclaw": { "adapter": "openclaw", "root": "/Users/me/.openclaw-home" },
105
- "docs-copilot": { "adapter": "copilot", "root": "/Users/me/projects/docs" }
104
+ "lab-openclaw": { "adapter": "openclaw", "root": "/Users/me/.openclaw-home", "transport": "local" },
105
+ "remote-codex": {
106
+ "adapter": "codex",
107
+ "root": "/home/agent/project",
108
+ "transport": "ssh",
109
+ "host": "agent-host.example",
110
+ "user": "agent",
111
+ "port": 22,
112
+ "identityFile": "~/.ssh/id_ed25519"
113
+ }
106
114
  },
107
115
  "profiles": {
108
- "daily": [
109
- { "agent": "lab-openclaw" },
110
- { "agent": "docs-copilot" }
111
- ]
116
+ "daily": {
117
+ "runtimes": [
118
+ { "agent": "lab-openclaw" },
119
+ { "agent": "remote-codex" }
120
+ ]
121
+ }
112
122
  }
113
123
  }
114
124
  ```
@@ -119,6 +129,16 @@ agentwheel sync --all
119
129
  agentwheel sync --profile daily
120
130
  ```
121
131
 
132
+ SSH targets use the same manifest and drift model as local targets. `plan --dry-run` reads the
133
+ remote install manifest and hashes remote files before deciding whether a file is up to date,
134
+ drifted, or conflicting. SSH hosts need `ssh`, `tar`, and `node` available on `PATH`.
135
+
136
+ To scaffold a control-plane example:
137
+
138
+ ```bash
139
+ agentwheel init --fleet-example
140
+ ```
141
+
122
142
  Target resolution order is exact: `--target-root` wins, then `--agent`, then auto-detect from the
123
143
  current directory, then fallback to the current directory.
124
144
 
@@ -139,9 +159,9 @@ Flow: **author + your workspace → `sync` → runtime**.
139
159
  A package is a git repo (or folder) with a JSON manifest and a canonical layout:
140
160
 
141
161
  ```jsonc
142
- // agentwheel.json (plain JSON or JSONC — both work)
162
+ // openpack.json (plain JSON or JSONC — both work; agentwheel.json remains a legacy alias)
143
163
  {
144
- "schemaVersion": 1,
164
+ "schemaVersion": 2,
145
165
  "name": "your-org/agent-pack",
146
166
  "version": "0.1.0",
147
167
  "provides": [
@@ -204,7 +224,7 @@ optional, and `agentwheel add <url|path>` always works without it.
204
224
  The public package registry lives at
205
225
  [`NestDevLab/agentwheel-registry`](https://github.com/NestDevLab/agentwheel-registry).
206
226
 
207
- 1. Create a public repo with `agentwheel.json` and a standard layout such as `instructions/`, `rules/`, `skills/`, `commands/`, `mcp/`, or `hooks/`.
227
+ 1. Create a public repo with `openpack.json` and a standard layout such as `instructions/`, `rules/`, `skills/`, `commands/`, `mcp/`, or `hooks/`.
208
228
  2. Open a pull request to `agentwheel-registry` that adds an entry to `index.json`.
209
229
  3. Users install by short name:
210
230
 
@@ -260,6 +280,20 @@ agentwheel sync ./my-pack --adapter-config ./myco-internal.jsonc
260
280
  Built-in adapters ship for common runtimes; declarative adapters need no code and stay private.
261
281
  Programmatic adapters, for private runtime logic beyond file placement, require explicit `--allow-adapter-code`.
262
282
 
283
+ Built-in runtime targets:
284
+
285
+ | Runtime | Main targets |
286
+ |---|---|
287
+ | **OpenClaw** | `.openclaw/AGENTS.md`, `.openclaw/skills`, `.openclaw/rules`, `.openclaw/commands`, MCP/hooks/settings, semantic plugin planning |
288
+ | **Claude Code** | `.claude/CLAUDE.md`, `.claude/skills`, `.claude/commands`, `.claude/agents`, `.claude/rules`, `.claude/.mcp.json`, `.claude/settings.json` |
289
+ | **Codex CLI** | `.codex/AGENTS.md`, `.codex/skills`, `.codex/commands`, `.codex/agents`, `.codex/rules`, `.codex/config.toml`, `.codex/hooks.json` |
290
+ | **Hermes** | `.hermes/AGENTS.md`, `.hermes/skills`, `.hermes/rules`, `.hermes/commands`, MCP/hooks/settings |
291
+ | **GitHub Copilot** | `.github/copilot-instructions.md`, `.github/instructions`, `.github/prompts` |
292
+
293
+ Claude MCP and hooks/settings are merged as JSON. Codex MCP entries are merged into
294
+ `[mcp_servers]` in `.codex/config.toml` without deleting unrelated user config; hooks use
295
+ `.codex/hooks.json`.
296
+
263
297
  Copilot support is intentionally file-drop only: instructions, rules, and prompt/command files are
264
298
  placed in GitHub-native locations, while raw `SKILL.md` directories stay disabled until there is a
265
299
  clear conversion format.
@@ -272,6 +306,7 @@ clear conversion format.
272
306
  - [x] **v0.4** — runtime auto-detection; no `--target-root` needed for normal use; fleet config with named agents; global + project config merge; `--agent` and `--all`.
273
307
  - [x] **v0.5** — asset-includes compose shared files into skills at install time; executable bits preserved; hashes include composed assets.
274
308
  - [x] **v0.6** — selective installs with `--select`/`--skill`; required artifacts; cached npm update notifier.
309
+ - [x] **v0.7** — full Claude/Codex adapters; Codex TOML MCP merge; subagent enumeration; `--skill` selector fix.
275
310
 
276
311
  ## Design docs
277
312