mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-28 18:55:32 +00:00
fix(codex): bind cache rerun guidance to active plugin
This commit is contained in:
1 parent
dd6f58d3d4
commit
49f8893dd3
3 files changed
+7
-4
No files matched your search
@@ -154,11 +154,12 @@ history or native plugin caches. Older pre-manifest installs are cleaned
|
||||
conservatively and unverifiable files are retained with warnings.
|
||||
|
||||
After install, `codex plugin list` is only a registration check. From an ECC
|
||||
checkout, run the cache check to verify that the installed manifest can resolve
|
||||
its referenced skills, MCP config, and assets:
|
||||
checkout, set `ECC_PLUGIN_CACHE` to the active root identified above, then run
|
||||
the cache check to verify that the installed manifest can resolve its referenced
|
||||
skills, MCP config, and assets:
|
||||
|
||||
```bash
|
||||
node scripts/codex/check-plugin-cache.js
|
||||
node scripts/codex/check-plugin-cache.js --plugin-dir "$ECC_PLUGIN_CACHE"
|
||||
```
|
||||
|
||||
The installed plugin registers under the short slug `ecc` so tool and command names
|
||||
|
||||
@@ -231,7 +231,7 @@ function checkCache(options) {
|
||||
} else {
|
||||
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('Restart Codex, confirm the active plugin root with codex plugin list --json, and re-run this checker with --plugin-dir ACTIVE_ROOT (or --version ACTIVE_VERSION).');
|
||||
log('See .codex-plugin/README.md for native cache recovery and runtime dependency instructions.');
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -664,6 +664,8 @@ if (
|
||||
assert.match(result.stdout, /codex plugin add ecc@ecc/);
|
||||
assert.match(result.stdout, /same CODEX_HOME/);
|
||||
assert.match(result.stdout, /active plugin root/);
|
||||
assert.match(result.stdout, /--plugin-dir ACTIVE_ROOT/);
|
||||
assert.match(result.stdout, /--version ACTIVE_VERSION/);
|
||||
assert.doesNotMatch(result.stdout, /npm install|sync-ecc-to-codex\.sh/);
|
||||
} finally {
|
||||
cleanup(homeDir);
|
||||
|
||||
Reference in new issue
Block a user