agentwheel 0.14.8 → 0.14.13
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/AGENT.md +1 -1
- package/README.md +128 -2
- package/dist/{chunk-QJTTISLY.js → chunk-PKAPR55N.js} +1 -1
- package/dist/{identify-T4RE5RBD.js → identify-VV7SXUIQ.js} +1 -1
- package/dist/index.js +2158 -403
- package/install.md +7 -0
- package/openpack.json +1 -1
- package/package.json +6 -2
- package/skills/agentwheel/SKILL.md +49 -1
- package/skills/agentwheel/references/ct111-selfhost-instruction-activation.md +24 -0
- package/skills/agentwheel/references/fleet-control-cleanup-ct107-node-and-effective-adapters.md +39 -0
- package/skills/agentwheel/references/fleet-plugin-rollouts.md +69 -0
- package/skills/agentwheel/references/harness-path-map-rules-2026-06-13.md +98 -0
- package/skills/agentwheel/references/hermes-background-review-routing.md +98 -0
- package/skills/agentwheel/references/hermes-plugin-rollout-source-routing.md +20 -0
- package/skills/agentwheel/references/hermes-profile-scoped-skill-rollout.md +43 -0
- package/skills/agentwheel/references/hermes-self-improve-runtime-drift.md +25 -0
- package/skills/agentwheel/references/multi-runtime-plugin-packs.md +83 -0
- package/skills/agentwheel/references/optional-openclaw-plugin-artifacts.md +76 -0
- package/skills/agentwheel/references/package-manifest-and-registry-updates.md +76 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Optional OpenClaw plugin artifacts in OpenPack packages
|
|
2
|
+
|
|
3
|
+
Use this when a package contains runtime-neutral skills/core plus OpenClaw-only plugin code. Do not force non-OpenClaw platforms to install the plugin; expose it as a selectable `plugins/<name>` artifact.
|
|
4
|
+
|
|
5
|
+
## Package layout
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
openpack.json
|
|
9
|
+
agentwheel.json # optional legacy alias
|
|
10
|
+
AGENTS.md
|
|
11
|
+
skills/<skill-name>/
|
|
12
|
+
plugins/openclaw-agent-mesh/
|
|
13
|
+
package.json
|
|
14
|
+
openclaw.plugin.json
|
|
15
|
+
src/index.js
|
|
16
|
+
README.md
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Manifest pattern
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"schemaVersion": 2,
|
|
24
|
+
"name": "NestDevLab/agent-mesh",
|
|
25
|
+
"version": "0.9.0",
|
|
26
|
+
"provides": [
|
|
27
|
+
{ "type": "instructions", "path": "AGENTS.md" },
|
|
28
|
+
{ "type": "skills", "path": "skills" },
|
|
29
|
+
{ "type": "plugins", "path": "plugins" }
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
If older AgentWheel installs still read `agentwheel.json`, keep it in sync with `openpack.json` until the fleet is fully migrated.
|
|
35
|
+
|
|
36
|
+
## Smoke commands
|
|
37
|
+
|
|
38
|
+
Validate the package:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
agentwheel package validate /path/to/package
|
|
42
|
+
agentwheel scan /path/to/package --driver local
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
List artifacts:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
agentwheel list /path/to/package --driver local
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Dry-run only the OpenClaw plugin artifact:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
agentwheel install /path/to/package \
|
|
55
|
+
--driver local \
|
|
56
|
+
--adapter openclaw \
|
|
57
|
+
--target-root /tmp/agentwheel-openclaw-smoke \
|
|
58
|
+
--select plugins/openclaw-agent-mesh \
|
|
59
|
+
--dry-run \
|
|
60
|
+
--only-source
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Expected plan includes a `PLUGIN` action and semantic command. For fleet-managed OpenClaw plugins the command should be copy/materialized install, **not** symlink install:
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
openclaw plugins install .../plugins/openclaw-agent-mesh
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
If a dry-run still shows `openclaw plugins install --link ...`, the OpenClaw plugin target is using the legacy symlink flow. Patch AgentWheel's OpenClaw plugin command generation before applying fleet installs; do not compensate by adding runtime symlinks.
|
|
70
|
+
|
|
71
|
+
## Pitfalls
|
|
72
|
+
|
|
73
|
+
- Run `agentwheel install` with an absolute source path for local package smoke tests. A bare `.` can be interpreted as a registry dependency inside some package-resolution paths.
|
|
74
|
+
- For plugin-root repositories, do not point `provides[{type:"plugins"}].path` at `"."`; AgentWheel will treat each top-level file/directory as a separate plugin artifact. Materialize the plugin under `plugins/<plugin-name>/` and set `{ "type": "plugins", "path": "plugins" }`.
|
|
75
|
+
- Keep plugin package dependencies relative to the canonical repo layout, e.g. `file:../../packages/core` from `plugins/openclaw-agent-mesh/package.json`.
|
|
76
|
+
- For OpenClaw-specific plugins, do not add them to every platform profile by default; select `plugins/<name>` only for OpenClaw targets.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Package manifest and registry update workflow
|
|
2
|
+
|
|
3
|
+
Use this when converting an AgentWheel-installable repo to OpenPack, adding optional plugin artifacts, or updating catalogue metadata.
|
|
4
|
+
|
|
5
|
+
## Manifest rule
|
|
6
|
+
|
|
7
|
+
- `openpack.json` / `openpack.jsonc` is the canonical package manifest.
|
|
8
|
+
- `agentwheel.json` is legacy. Do not add or keep it unless a specific old AgentWheel runtime requires it.
|
|
9
|
+
- After removing legacy manifest files, verify with:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
agentwheel scan . --driver local
|
|
13
|
+
agentwheel package validate .
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
If testing a local source from inside the package directory, pass the absolute path rather than bare `.` when dependency resolution treats `.` as a registry name:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
agentwheel install /absolute/path/to/pkg \
|
|
20
|
+
--driver local \
|
|
21
|
+
--adapter openclaw \
|
|
22
|
+
--target-root /tmp/agentwheel-smoke \
|
|
23
|
+
--select plugins/<name> \
|
|
24
|
+
--dry-run \
|
|
25
|
+
--only-source
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Expected optional OpenClaw plugin signal:
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
PLUGIN MANAGED plugins/<name> ... (semantic plugin install planned) :: openclaw plugins install --link ...
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Optional plugin packaging
|
|
35
|
+
|
|
36
|
+
For packages that provide runtime-neutral skills/rules plus platform-specific plugins:
|
|
37
|
+
|
|
38
|
+
```jsonc
|
|
39
|
+
{
|
|
40
|
+
"schemaVersion": 2,
|
|
41
|
+
"name": "Owner/package",
|
|
42
|
+
"version": "0.1.0",
|
|
43
|
+
"provides": [
|
|
44
|
+
{ "type": "instructions", "path": "AGENTS.md" },
|
|
45
|
+
{ "type": "skills", "path": "skills" },
|
|
46
|
+
{ "type": "plugins", "path": "plugins" }
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Install platform-specific plugins explicitly with `--select plugins/<plugin-name>` so non-target runtimes do not receive optional integrations.
|
|
52
|
+
|
|
53
|
+
## README update checklist
|
|
54
|
+
|
|
55
|
+
When changing package shape, update the README in the same PR:
|
|
56
|
+
|
|
57
|
+
- State that OpenPack (`openpack.json`) is canonical.
|
|
58
|
+
- Remove references to deprecated `agentwheel sync`; use `agentwheel install --dry-run` and `agentwheel install`.
|
|
59
|
+
- Show runtime-neutral install flow.
|
|
60
|
+
- Show optional plugin install flow with `--select plugins/<name>`.
|
|
61
|
+
- Mention that generated runtime files are not committed.
|
|
62
|
+
|
|
63
|
+
## Registry/catalogue update pattern
|
|
64
|
+
|
|
65
|
+
AgentWheel registry source of truth is usually `index.json`.
|
|
66
|
+
|
|
67
|
+
- Update `index.json` entry description/tags for the package.
|
|
68
|
+
- Do not commit generated catalogue files (`catalogue-data.json`, `catalogue-vercel-index.json`) unless the repo specifically requires it for that PR.
|
|
69
|
+
- If there is a workflow that regenerates catalogue data on `main` after `index.json` or `catalogue/**` changes, leave generated data to that workflow. This avoids noisy diffs from volatile GitHub stars, timestamps, and sitemap refreshes.
|
|
70
|
+
- Verify JSON only:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
python3 -m json.tool index.json >/tmp/index-check.json
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Then open a small registry PR that references the package PR.
|