chore: prepare v3.0.0 release

This commit is contained in:
Numman Ali
2025-11-04 23:20:39 +00:00
parent 25e4344846
commit fd68ea1d00
3 changed files with 74 additions and 18 deletions
+57 -6
View File
@@ -1,10 +1,61 @@
# Changelog
All notable changes to this project will be documented in this file.
All notable changes to this project are documented here. Dates use the ISO format (YYYY-MM-DD).
## [Unreleased]
## [3.0.0] - 2025-11-04
### Added
- Codex-style usage-limit messaging that mirrors the 5-hour and weekly windows reported by the Codex CLI.
- Documentation guidance noting that OpenCode's context auto-compaction and usage sidebar require the canonical `config/full-opencode.json`.
- Added stable prompt caching via host-provided `prompt_cache_key` and Codex conversation headers.
- Improved usage-limit error messaging to mirror Codex CLI short-term and weekly windows.
- Synced CODEX_MODE bridge prompt content with the latest Codex CLI release.
- Updated documentation and README to reflect the canonical `config/full-opencode.json` and new behaviour.
### Changed
- Prompt caching now relies solely on the host-supplied `prompt_cache_key`; conversation/session headers are forwarded only when OpenCode provides one.
- CODEX_MODE bridge prompt refreshed to the newest Codex CLI release so tool awareness stays in sync.
### Fixed
- Clarified README, docs, and configuration references so the canonical config matches shipped behaviour.
- Pinned `hono` (4.10.4) and `vite` (7.1.12) to resolve upstream security advisories.
## [2.1.2] - 2025-10-12
### Added
- Comprehensive compliance documentation (ToS guidance, security, privacy) and a full user/developer doc set.
### Fixed
- Per-model configuration lookup, stateless multi-turn conversations, case-insensitive model normalization, and GitHub instruction caching.
## [2.1.1] - 2025-10-04
### Fixed
- README cache-clearing snippet now runs in a subshell from the home directory to avoid path issues while removing cached plugin files.
## [2.1.0] - 2025-10-04
### Added
- Enhanced CODEX_MODE bridge prompt with Task tool and MCP awareness plus ETag-backed verification of OpenCode system prompts.
### Changed
- Request transformation made async to support prompt verification caching; AGENTS.md renamed to provide cross-agent guidance.
## [2.0.0] - 2025-10-03
### Added
- Full TypeScript rewrite with strict typing, 123 automated tests, and nine pre-configured model variants matching the Codex CLI.
- CODEX_MODE introduced (enabled by default) with a lightweight bridge prompt and configurability via config file or `CODEX_MODE` env var.
### Changed
- Library reorganized into semantic folders (auth, prompts, request, etc.) and OAuth flow polished with the new success page.
## [1.0.3] - 2025-10-02
### Changed
- Major internal refactor splitting the runtime into focused modules (logger, request/response handlers) and removing legacy debug output.
## [1.0.2] - 2025-10-02
### Added
- ETag-based GitHub caching for Codex instructions and release-tag tracking for more stable prompt updates.
### Fixed
- Default model fallback, text verbosity initialization, and standardized error logging prefixes.
## [1.0.1] - 2025-10-01
### Added
- README clarifications: opencode auto-installs plugins, config locations, and streamlined quick-start instructions.
## [1.0.0] - 2025-10-01
### Added
- Initial production release with ChatGPT Plus/Pro OAuth support, tool remapping, auto-updating Codex instructions, and zero runtime dependencies.
+10 -10
View File
@@ -1,15 +1,16 @@
{
"name": "opencode-openai-codex-auth",
"version": "2.1.2",
"version": "3.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "opencode-openai-codex-auth",
"version": "2.1.2",
"version": "3.0.0",
"license": "MIT",
"dependencies": {
"@openauthjs/openauth": "^0.4.3"
"@openauthjs/openauth": "^0.4.3",
"hono": "^4.10.4"
},
"devDependencies": {
"@opencode-ai/plugin": "^0.13.7",
@@ -1638,11 +1639,10 @@
}
},
"node_modules/hono": {
"version": "4.9.9",
"resolved": "https://registry.npmjs.org/hono/-/hono-4.9.9.tgz",
"integrity": "sha512-Hxw4wT6zjJGZJdkJzAx9PyBdf7ZpxaTSA0NfxqjLghwMrLBX8p33hJBzoETRakF3UJu6OdNQBZAlNSkGqKFukw==",
"version": "4.10.4",
"resolved": "https://registry.npmjs.org/hono/-/hono-4.10.4.tgz",
"integrity": "sha512-YG/fo7zlU3KwrBL5vDpWKisLYiM+nVstBQqfr7gCPbSYURnNEP9BDxEMz8KfsDR9JX0lJWDRNc6nXX31v7ZEyg==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=16.9.0"
}
@@ -2331,9 +2331,9 @@
"license": "MIT"
},
"node_modules/vite": {
"version": "7.1.9",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.9.tgz",
"integrity": "sha512-4nVGliEpxmhCL8DslSAUdxlB6+SMrhB0a1v5ijlh1xB1nEPuy1mxaHxysVucLHuWryAxLWg6a5ei+U4TLn/rFg==",
"version": "7.1.12",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz",
"integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==",
"dev": true,
"license": "MIT",
"dependencies": {
+7 -2
View File
@@ -1,6 +1,6 @@
{
"name": "opencode-openai-codex-auth",
"version": "2.1.2",
"version": "3.0.0",
"description": "OpenAI ChatGPT (Codex backend) OAuth auth plugin for opencode - use your ChatGPT Plus/Pro subscription instead of API credits",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -55,6 +55,11 @@
"vitest": "^3.2.4"
},
"dependencies": {
"@openauthjs/openauth": "^0.4.3"
"@openauthjs/openauth": "^0.4.3",
"hono": "^4.10.4"
},
"overrides": {
"hono": "^4.10.4",
"vite": "^7.1.12"
}
}