agentwheel 0.20.18 → 0.20.20
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 +11 -0
- package/dist/{apply-ZGCJLZMZ.js → apply-Z5GVCPA4.js} +3 -3
- package/dist/{chunk-A44XYLUT.js → chunk-45WVSUJA.js} +2 -2
- package/dist/{chunk-GE7F76AC.js → chunk-BNIF3FUR.js} +9 -0
- package/dist/{chunk-FP26KSBM.js → chunk-FGFPAZ4J.js} +209 -4
- package/dist/{chunk-U2GRG4UI.js → chunk-QABA4WUP.js} +1 -1
- package/dist/{identify-O54QXPQR.js → identify-M6IA4RS7.js} +2 -2
- package/dist/index.js +410 -445
- package/dist/{transaction-4KBNHDQX.js → transaction-NLAIJ2ZZ.js} +2 -2
- package/openpack.json +1 -1
- package/package.json +1 -1
- package/skills/agentwheel/SKILL.md +30 -1
- package/skills/agentwheel-discovery/SKILL.md +1 -1
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
removeApplyJournal,
|
|
19
19
|
rollbackCompletedOperations,
|
|
20
20
|
writeApplyJournal
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FGFPAZ4J.js";
|
|
22
|
+
import "./chunk-BNIF3FUR.js";
|
|
23
23
|
export {
|
|
24
24
|
abortApplyJournal,
|
|
25
25
|
acquireApplyLock,
|
package/openpack.json
CHANGED
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ allowed-tools: [Bash]
|
|
|
5
5
|
license: MIT
|
|
6
6
|
metadata:
|
|
7
7
|
author: NestDevLab
|
|
8
|
-
version: "0.20.
|
|
8
|
+
version: "0.20.20"
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# agentwheel
|
|
@@ -357,6 +357,12 @@ Current config shape:
|
|
|
357
357
|
|
|
358
358
|
Use named targets:
|
|
359
359
|
|
|
360
|
+
Configured packages may declare `"runtimes": ["claude"]` to select adapter runtimes. All
|
|
361
|
+
configured-package plans honor it, including `--agent`, `--profile`, status, and update. Named
|
|
362
|
+
targets match their declared adapter; plain workspace commands match each package's adapter.
|
|
363
|
+
Agents sharing an adapter cannot be selected separately. Upgrade all members to a version
|
|
364
|
+
supporting this field before adding it to shared configuration.
|
|
365
|
+
|
|
360
366
|
```bash
|
|
361
367
|
agentwheel fleet register example-fleet --root /srv/agentwheel/fleets/example-fleet --required-package core-agent-pack
|
|
362
368
|
agentwheel fleet list
|
|
@@ -475,6 +481,9 @@ Drift means a managed runtime output changed outside agentwheel. Fix drift by ch
|
|
|
475
481
|
colliding upstream artifact.
|
|
476
482
|
- Eject an item into `.agentwheel/ejected` when the user wants local ownership.
|
|
477
483
|
|
|
484
|
+
When the plan instead keeps a file as foreign or refuses because another workspace owns it, that is
|
|
485
|
+
an ownership problem, not drift: see "Choosing an ownership command" under Troubleshooting.
|
|
486
|
+
|
|
478
487
|
Append durable local instruction text:
|
|
479
488
|
|
|
480
489
|
```bash
|
|
@@ -646,3 +655,23 @@ before Fleet qualification, owns paths under a fingerprint-only legacy key, run
|
|
|
646
655
|
--from-workspace-root <previous-owner-root> --json` from that workspace. It moves only proven,
|
|
647
656
|
still-desired entries into the stable state; add `--carry-drift` only after reviewing the drifted
|
|
648
657
|
paths. Apply the emitted command, then require a normal install plan without force flags.
|
|
658
|
+
|
|
659
|
+
### Choosing an ownership command
|
|
660
|
+
|
|
661
|
+
`agentwheel ownership --help` lists the commands; each subcommand's `--help` is the authoritative flag
|
|
662
|
+
reference. All of them dry-run by default and change only manifest metadata.
|
|
663
|
+
|
|
664
|
+
| Situation | Command |
|
|
665
|
+
|---|---|
|
|
666
|
+
| Unclear who owns what | `ownership recovery-plan` (read-only evidence report) |
|
|
667
|
+
| Refused: paths owned under a fingerprint-only legacy key | `ownership adopt-legacy` |
|
|
668
|
+
| `adopt-legacy` says entries are "already owned by the destination owner" (mixed legacy manifest) | Run a normal `install --agent <agent>` first; it migrates the state and keeps the foreign entry. Then hand off that entry. |
|
|
669
|
+
| Plan keeps one file as a `foreign artifact owned by …` in a stable manifest | `ownership handoff <type/name>` with `--from-workspace-root <root>`, or `--from-unknown-owner` for `workspace:unknown`; add `--to-fleet <id>` for a Fleet owner |
|
|
670
|
+
| Stale foreign entry already covered by the Fleet manifest | `ownership retire-stale` |
|
|
671
|
+
|
|
672
|
+
`handoff` refuses a file whose runtime hash differs from the manifest. If the drift is reviewed and
|
|
673
|
+
harmless, add `--carry-drift`; applying then also needs `--expected-runtime-hash` from the dry-run.
|
|
674
|
+
The recorded hash is kept, so the next install reports `DRIFT` for that file. Replacing it needs
|
|
675
|
+
`install --agent <agent> --force-drift`, which also force-refreshes every merge contribution of that
|
|
676
|
+
target (for example hooks): check that each merge destination is byte-identical afterwards. Never
|
|
677
|
+
narrow that install with `--select`: it removes unselected merge contributions.
|