agentwheel 0.20.14 → 0.20.16
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 +2 -0
- package/dist/index.js +6 -2
- package/openpack.json +1 -1
- package/package.json +1 -1
- package/skills/agentwheel/SKILL.md +1 -1
- package/skills/agentwheel-discovery/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -148,6 +148,8 @@ revalidates the exact contribution under the apply lock. It removes only the sel
|
|
|
148
148
|
server; sibling servers and user configuration remain. The command previews by default. A later
|
|
149
149
|
runtime approval must use the same command with `--apply` instead of `--dry-run`.
|
|
150
150
|
|
|
151
|
+
When stable and legacy manifests disagree, `update --recover-legacy-state` explicitly uses recovered stable state while preserving legacy evidence. Preview the same command with `--dry-run` first.
|
|
152
|
+
|
|
151
153
|
For a surgical dependency update, start with a dry-run:
|
|
152
154
|
|
|
153
155
|
```bash
|
package/dist/index.js
CHANGED
|
@@ -9254,7 +9254,8 @@ async function syncProfile(options) {
|
|
|
9254
9254
|
forceDrift: options.forceDrift,
|
|
9255
9255
|
forceConflict: options.forceConflict,
|
|
9256
9256
|
forceForeignState: options.forceForeignState,
|
|
9257
|
-
replaceConflict: options.replaceConflict
|
|
9257
|
+
replaceConflict: options.replaceConflict,
|
|
9258
|
+
recoverLegacyState: options.recoverLegacyState
|
|
9258
9259
|
});
|
|
9259
9260
|
try {
|
|
9260
9261
|
const result = {
|
|
@@ -13763,7 +13764,7 @@ program.command("sync", { hidden: true }).argument("[name-or-source]", "configur
|
|
|
13763
13764
|
console.error("warning: 'agentwheel sync' is deprecated and will be removed in 0.10. Use 'agentwheel install'.");
|
|
13764
13765
|
await runInstallCommand(source, options, { apply: !options.dryRun });
|
|
13765
13766
|
});
|
|
13766
|
-
program.command("update").description("re-resolve tracking packages, then apply the result").argument("[name]", "configured package name or source to update").option("--adapter <adapter>", "built-in adapter or comma-separated adapters").option("-i, --installation-type <type>", "installation type (for example local or user)").option("--user", "use the user workspace", false).option("--local", "use the nearest local workspace", false).option("--fleet <id>", "use one registered named fleet").option("-t, --target-root <path>", "workspace root").option("--agent <name>", "named agent from merged config").option("--all", "run for every configured agent", false).option("--profile <name>", "workspace runtime profile").option("--dry-run", "show plans without writing", false).option("--force-drift", "replace drifted managed artifacts", false).option("--force-foreign-state", "plan even when another workspace owns install state at the same paths", false).option("--force-conflict", "adopt unmanaged destinations when their content already matches the desired artifact", false).option("--replace-conflict", "replace unmanaged destinations even when their content differs", false).option("--execute-plugins", "execute semantic plugin installs", false).option("--reload-runtimes", "run configured runtime reload commands after executed semantic plugin changes", false).option("--restart-runtimes", "alias for --reload-runtimes", false).option("--allow-adapter-code", "allow loading local adapter code from configured packages", false).option("--select <type/name>", "temporarily select an artifact by type/name (repeatable or comma-separated)", collectSelectOption, []).option("--artifact <type/name>", "update only one configured artifact while preserving sibling state").option("--skill <name>", "temporarily select a skill by name (repeatable or comma-separated)", collectSkillOption, []).option("--dependency <name-or-source>", "update one tracking dependency while keeping unrelated graph nodes locked (repeatable)", collectDependencyOption, []).option("--with-suggestions", "include suggested companion artifacts for selected roots", false).option("--suggestion <alias>", "include one suggested companion alias (repeatable or comma-separated)", collectSuggestionOption, []).option("--no-deps", "resolve only root sources and ignore requires with a warning").option("--only-source", "exclude unrelated configured workspace packages", false).option("--frozen-lock", "resolve strictly from the existing graph lock and cached sources", false).option("--offline", "resolve strictly from graph locks and local caches", false).option("--refresh", "refresh available package versions even when the version-index TTL is fresh", false).option("--yes", "trust all new transitive sources", false).option("--trust <pattern>", "pre-approve a transitive source glob (repeatable)", collectTrustOption, []).action(async (name, options) => {
|
|
13767
|
+
program.command("update").description("re-resolve tracking packages, then apply the result").argument("[name]", "configured package name or source to update").option("--adapter <adapter>", "built-in adapter or comma-separated adapters").option("-i, --installation-type <type>", "installation type (for example local or user)").option("--user", "use the user workspace", false).option("--local", "use the nearest local workspace", false).option("--fleet <id>", "use one registered named fleet").option("-t, --target-root <path>", "workspace root").option("--agent <name>", "named agent from merged config").option("--all", "run for every configured agent", false).option("--profile <name>", "workspace runtime profile").option("--dry-run", "show plans without writing", false).option("--force-drift", "replace drifted managed artifacts", false).option("--force-foreign-state", "plan even when another workspace owns install state at the same paths", false).option("--force-conflict", "adopt unmanaged destinations when their content already matches the desired artifact", false).option("--replace-conflict", "replace unmanaged destinations even when their content differs", false).option("--recover-legacy-state", "build a stable state while preserving invalid legacy candidates", false).option("--execute-plugins", "execute semantic plugin installs", false).option("--reload-runtimes", "run configured runtime reload commands after executed semantic plugin changes", false).option("--restart-runtimes", "alias for --reload-runtimes", false).option("--allow-adapter-code", "allow loading local adapter code from configured packages", false).option("--select <type/name>", "temporarily select an artifact by type/name (repeatable or comma-separated)", collectSelectOption, []).option("--artifact <type/name>", "update only one configured artifact while preserving sibling state").option("--skill <name>", "temporarily select a skill by name (repeatable or comma-separated)", collectSkillOption, []).option("--dependency <name-or-source>", "update one tracking dependency while keeping unrelated graph nodes locked (repeatable)", collectDependencyOption, []).option("--with-suggestions", "include suggested companion artifacts for selected roots", false).option("--suggestion <alias>", "include one suggested companion alias (repeatable or comma-separated)", collectSuggestionOption, []).option("--no-deps", "resolve only root sources and ignore requires with a warning").option("--only-source", "exclude unrelated configured workspace packages", false).option("--frozen-lock", "resolve strictly from the existing graph lock and cached sources", false).option("--offline", "resolve strictly from graph locks and local caches", false).option("--refresh", "refresh available package versions even when the version-index TTL is fresh", false).option("--yes", "trust all new transitive sources", false).option("--trust <pattern>", "pre-approve a transitive source glob (repeatable)", collectTrustOption, []).action(async (name, options) => {
|
|
13767
13768
|
if (options.onlySource && options.dependency.length > 0) throw new Error("--only-source cannot be combined with --dependency.");
|
|
13768
13769
|
if (options.onlySource && !name) throw new Error("--only-source requires a configured package argument.");
|
|
13769
13770
|
if (name && options.dependency.length > 0) throw new Error("A package argument cannot be combined with --dependency.");
|
|
@@ -14319,6 +14320,7 @@ async function runInstallCommand(nameOrSource, options, behavior) {
|
|
|
14319
14320
|
forceConflict: normalizedOptions.forceConflict,
|
|
14320
14321
|
forceForeignState: normalizedOptions.forceForeignState,
|
|
14321
14322
|
replaceConflict: normalizedOptions.replaceConflict,
|
|
14323
|
+
recoverLegacyState: normalizedOptions.recoverLegacyState,
|
|
14322
14324
|
noDeps: noDepsFromOptions(normalizedOptions),
|
|
14323
14325
|
includeSuggestions: normalizedOptions.withSuggestions,
|
|
14324
14326
|
suggestionAliases: suggestionAliasesFromOptions(normalizedOptions),
|
|
@@ -14425,6 +14427,7 @@ async function buildPlanReport(nameOrSource, options) {
|
|
|
14425
14427
|
forceConflict: normalizedOptions.forceConflict,
|
|
14426
14428
|
forceForeignState: normalizedOptions.forceForeignState,
|
|
14427
14429
|
replaceConflict: normalizedOptions.replaceConflict,
|
|
14430
|
+
recoverLegacyState: normalizedOptions.recoverLegacyState,
|
|
14428
14431
|
noDeps: noDepsFromOptions(normalizedOptions),
|
|
14429
14432
|
includeSuggestions: normalizedOptions.withSuggestions,
|
|
14430
14433
|
suggestionAliases: suggestionAliasesFromOptions(normalizedOptions),
|
|
@@ -16206,6 +16209,7 @@ function compositeUpdateArguments(profile, packageName, options) {
|
|
|
16206
16209
|
args.push("--profile", profile);
|
|
16207
16210
|
if (options.dryRun) args.push("--dry-run");
|
|
16208
16211
|
if (options.refresh) args.push("--refresh");
|
|
16212
|
+
if (options.recoverLegacyState) args.push("--recover-legacy-state");
|
|
16209
16213
|
if (options.forceDrift) args.push("--force-drift");
|
|
16210
16214
|
if (options.forceForeignState) args.push("--force-foreign-state");
|
|
16211
16215
|
if (options.forceConflict) args.push("--force-conflict");
|
package/openpack.json
CHANGED
package/package.json
CHANGED