Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "codex-context-window",
"version": "0.3.0",
"version": "0.3.1",
"description": "Inject Codex context-window limits and usage through lifecycle hooks.",
"author": {
"name": "Nikolai Leon"
"name": "Nikolai Leon",
"url": "https://github.com/nleononline"
},
"homepage": "https://github.com/nleononline/codex-context-window",
"repository": "https://github.com/nleononline/codex-context-window",
Expand All @@ -19,12 +20,14 @@
"shortDescription": "Keep Codex aware of its context-window limit and usage.",
"longDescription": "Uses bundled native binaries to read the startup context-window limit and latest server-reported token usage from the current local Codex session file, then injects compact model-visible signals at supported lifecycle points.",
"developerName": "Nikolai Leon",
"category": "Productivity",
"category": "Developer Tools",
"capabilities": [
"Hooks"
],
"websiteURL": "https://github.com/nleononline/codex-context-window",
"defaultPrompt": [
"Show my current Codex context-window limit and usage."
]
}
},
"hooks": "./hooks/hooks.json"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove the rejected top-level hooks field

When the staged v0.3.1 plugin is installed, Codex validates .codex-plugin/plugin.json, and the current ingestion schema rejects hooks as an unsupported top-level field. This addition therefore prevents the plugin from loading instead of explicitly declaring its hooks; omit it and continue relying on default hooks/ discovery.

Useful? React with 👍 / 👎.

}
29 changes: 29 additions & 0 deletions .github/release-notes/v0.3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Codex Context Window v0.3.1 improves how the plugin is described and classified without changing its runtime behavior.

The plugin remains independently distributed through the `codex-context-window` marketplace. Its manifest now exposes clearer publisher and project metadata, explicitly references the bundled lifecycle hooks, and places the plugin in the Developer Tools category.

## What changed

- **Clearer publisher metadata** — the manifest now links the publisher name to its GitHub profile.
- **Project website in plugin details** — the interface metadata links directly to the public repository.
- **Explicit hook declaration** — the manifest points to `./hooks/hooks.json` instead of relying only on default discovery.
- **More accurate category** — Codex now presents the plugin under Developer Tools rather than Productivity.

The native hook implementation and the context-window signals it produces are unchanged.

## Upgrade

Refresh the marketplace and reinstall the plugin:

```bash
codex plugin marketplace upgrade codex-context-window
codex plugin add codex-context-window@codex-context-window
```

Then open a new chat or restart Codex so the refreshed plugin is loaded.

## Compatibility

This release has no breaking configuration changes and supports the same macOS, Linux, and Windows targets as v0.3.0.

**Full Changelog**: https://github.com/nleononline/codex-context-window/compare/v0.3.0...v0.3.1
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Productivity"
"category": "Developer Tools"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codex-context-window"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "Native Codex hook for reporting context-window limits and usage"
license = "MIT"
Expand Down