agentwheel 0.20.11 → 0.20.12
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/dist/index.js
CHANGED
|
@@ -8541,6 +8541,14 @@ async function resolvePriorTargetState(options) {
|
|
|
8541
8541
|
};
|
|
8542
8542
|
}
|
|
8543
8543
|
if (options.stableLock) return { graphLock: options.stableLock };
|
|
8544
|
+
if (candidates.length > 0 && options.recoverLegacyState) {
|
|
8545
|
+
for (const candidate of candidates) {
|
|
8546
|
+
options.warn?.(
|
|
8547
|
+
`Legacy graph-only target state for ${options.adapter} at ${candidate.graphLockPath} has no correlated install manifest; runtime identity and ownership cannot be proven. Preserving it outside the recovered stable state.`
|
|
8548
|
+
);
|
|
8549
|
+
}
|
|
8550
|
+
return {};
|
|
8551
|
+
}
|
|
8544
8552
|
if (candidates.length > 1) {
|
|
8545
8553
|
throw new Error(`Ambiguous legacy target state for ${options.adapter}: multiple graph-only candidates were found.`);
|
|
8546
8554
|
}
|
package/openpack.json
CHANGED
package/package.json
CHANGED