mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-12 19:23:07 +08:00
fix: context-size /compact trigger, Codex marketplace plugin path, live README badges (#2237)
- suggest-compact hook now reads the latest usage record from the session transcript and suggests /compact at a window-scaled token threshold (160k/200k window, 250k/1M window; COMPACT_CONTEXT_THRESHOLD and COMPACT_CONTEXT_INTERVAL overridable), re-firing per 60k-token growth bucket; tool-call count stays as the secondary signal (#2155) - Codex repo marketplace now points at ./plugins/ecc instead of ./ — Codex never discovers plugins whose local marketplace source.path is the marketplace root (verified on Codex CLI 0.137.0); plugins/ecc is a thin folder referencing root skills/.mcp.json per maintainer direction on #2097; docs flag plugin mode as experimental with the upstream blocker openai/codex#26037 linked (#2128) - README badges for installs/stars/forks now use shields endpoint badges backed by api.ecc.tools (live install count 3,712 vs the stale static 150), which also eliminates shields' 'Unable to select next GitHub token from pool' render in the stars badge Closes #2155 Closes #2128
This commit is contained in:
@@ -30,10 +30,22 @@ codex plugin marketplace add affaan-m/ECC
|
||||
codex plugin marketplace add /absolute/path/to/ECC
|
||||
```
|
||||
|
||||
The marketplace entry points at the repository root so `.codex-plugin/plugin.json`,
|
||||
`skills/`, and `.mcp.json` resolve from one shared source of truth. After adding
|
||||
or updating the marketplace, restart Codex and install or enable `ecc` from the
|
||||
plugin directory.
|
||||
The marketplace entry points at `plugins/ecc/` — Codex does not discover
|
||||
plugins whose local marketplace `source.path` is the marketplace root (`./`),
|
||||
so the entry must target a concrete plugin subdirectory (see
|
||||
[#2128](https://github.com/affaan-m/ECC/issues/2128)). That thin plugin folder
|
||||
references the root `skills/` and `.mcp.json` so content stays single-sourced.
|
||||
After adding or updating the marketplace, restart Codex and install or enable
|
||||
`ecc` from the plugin directory.
|
||||
|
||||
> **Plugin mode is currently fragile on Codex.** Marketplace discovery and
|
||||
> install work with this layout, but runtime skill loading from local/repo
|
||||
> marketplaces is unreliable upstream
|
||||
> ([openai/codex#26037](https://github.com/openai/codex/issues/26037)) — Codex
|
||||
> copies only the plugin folder into its install cache, so parent-referenced
|
||||
> content may not be exposed in a fresh session. The safer, fully supported
|
||||
> path today is the manual sync flow:
|
||||
> `npm install && bash scripts/sync-ecc-to-codex.sh`.
|
||||
|
||||
Official Plugin Directory publishing is coming soon. For official OpenAI
|
||||
plugin-directory review, package this repo under the `openai/plugins`
|
||||
|
||||
Reference in New Issue
Block a user