mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-04 07:05:49 +00:00
fix(codex): recommend native cache recovery in checker
This commit is contained in:
1 parent
89b8c26a6d
commit
dd6f58d3d4
2 files changed
+12
-6
No files matched your search
@@ -224,13 +224,15 @@ function checkCache(options) {
|
||||
if (failures > 0) {
|
||||
log(`${failures} cached manifest reference(s) do not resolve.`);
|
||||
log('codex plugin list only confirms marketplace registration; it is not proof of runtime skill loading.');
|
||||
const syncScript = path.join(REPO_ROOT, 'scripts', 'sync-ecc-to-codex.sh');
|
||||
if (fs.existsSync(syncScript)) {
|
||||
log('Use the supported sync path until the cache contains the referenced files:');
|
||||
log('npm install && bash scripts/sync-ecc-to-codex.sh');
|
||||
log('Refresh the native marketplace and re-add the plugin using the same CODEX_HOME as the affected session:');
|
||||
if (options.marketplace === 'ecc' && options.plugin === 'ecc') {
|
||||
log('codex plugin marketplace upgrade ecc');
|
||||
log('codex plugin add ecc@ecc');
|
||||
} else {
|
||||
log('Use the supported manual sync workflow from your ECC installation.');
|
||||
log('Follow the requested plugin marketplace instructions to refresh and re-add that native plugin.');
|
||||
}
|
||||
log('Restart Codex, confirm the active plugin root with codex plugin list --json, and re-run this checker against that root.');
|
||||
log('See .codex-plugin/README.md for native cache recovery and runtime dependency instructions.');
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user