Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f5871c4
Allow config to override logging and silence warn toasts
riatzukiza Nov 21, 2025
6152bfc
docs: clarify install and plugin settings
riatzukiza Nov 21, 2025
52a7e4c
Merge pull request #69 from open-hax/docs/readme-dedupe
riatzukiza Nov 21, 2025
aa8e1c9
Fixed unsafe mutable export with getter function
opencode-agent[bot] Nov 21, 2025
8618d01
chore: release v0.4.1 (PR #69) (#70)
riatzukiza Nov 21, 2025
5aa5dcd
Merge branch 'dev' into logging-config-overrides
riatzukiza Nov 21, 2025
d8c1039
Remove plugin-side compaction flow
riatzukiza Nov 21, 2025
e0f2509
Added config override assertions to logger tests.
opencode-agent[bot] Nov 21, 2025
b5557dc
Merge branch 'dev' into remove-plugin-compaction
riatzukiza Nov 21, 2025
07cc8c2
Merge pull request #68 from open-hax/logging-config-overrides
riatzukiza Nov 21, 2025
ee1f888
chore: release v0.4.2 (PR #68) (#72)
riatzukiza Nov 21, 2025
ed41bff
Add prefix mismatch diagnostics and tests
riatzukiza Nov 21, 2025
a7dac97
Merge branch 'dev' into remove-plugin-compaction
riatzukiza Nov 21, 2025
89fb08b
Merge pull request #71 from open-hax/remove-plugin-compaction
riatzukiza Nov 21, 2025
a455bd1
chore: release v0.4.3 (PR #71) (#74)
riatzukiza Nov 21, 2025
0552640
chore: drop compaction and tune logging
riatzukiza Nov 21, 2025
4225303
Add env-tail cache option and log inspector
riatzukiza Nov 22, 2025
138b520
Fix prefix mismatch test expectation for user prior role
riatzukiza Nov 22, 2025
fea41f3
Merge pull request #75 from open-hax/compaction-logging-cleanup
riatzukiza Nov 22, 2025
39fca57
Add configurable env tail append option
riatzukiza Nov 22, 2025
588d226
Potential fix for pull request finding 'Unused variable, import, func…
riatzukiza Nov 22, 2025
bc28004
Merge branch 'dev' into append-env-context-config
riatzukiza Nov 22, 2025
208d9d2
Merge pull request #76 from open-hax/append-env-context-config
riatzukiza Nov 22, 2025
2478ca2
Refactor session manager item equality
riatzukiza Nov 22, 2025
9a8b3e0
Handle computeHash stringify failures
riatzukiza Nov 22, 2025
a0c5fee
Merge pull request #78 from open-hax/session-items-equal-helper
riatzukiza Nov 22, 2025
89a27e5
chore: release v0.4.4 (PR #78) (#79)
riatzukiza Nov 22, 2025
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
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
bun.lockb
.worktrees/

dist/
coverage/
Expand All @@ -17,4 +18,3 @@ tmp
.worktrees/
.envrc
.env

37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,89 +3,124 @@
All notable changes to this project are documented here. Dates use the ISO format (YYYY-MM-DD).

## [3.3.0] - 2025-11-19

### Added

- Codex Max support that mirrors the Codex CLI: normalization for every `gpt-5.1-codex-max` alias, `reasoningEffort: "xhigh"`, and unit tests covering both the transformer and request body integration path.
- Documentation and configuration updates calling out Codex Max as the flagship preset, plus refreshed samples showing how to opt into the Extra High reasoning mode.

### Changed

- Sample configs (`full` + `minimal`), README tables, AGENTS.md, and the diagnostics script now prefer `gpt-5.1-codex-max`, keeping plugin defaults aligned with Codex CLI behaviour.

### Fixed

- Requests that specify `reasoningEffort: "xhigh"` for non-supported models are now automatically downgraded to `high`, preventing API errors when Codex Max isn't selected.

## [3.2.0] - 2025-11-13

### Added

- GPT-5.1 family integration: normalization for `gpt-5.1`/`gpt-5.1-codex`/`gpt-5.1-codex-mini`, expanded reasoning heuristics (including `reasoningEffort: "none"`), and preservation of the native `shell`/`apply_patch` tools emitted by Codex CLI.
- Updated configuration, diagnostics script, and docs to showcase the 5.1 lineup (low/medium/high plus `none`) while keeping GPT-5 presets available for backwards compatibility.

### Changed

- Default fallback model now targets `gpt-5.1`, and Codex Mini requests always use the new `gpt-5.1-codex-mini` slug to stay in sync with the latest Codex release.

### Fixed

- Prevented invalid reasoning combinations by clamping unsupported `none`/`minimal` requests on Codex models and ensuring parallel tool-call behavior matches both GPT-5 and GPT-5.1 Codex variants.

## [3.1.0] - 2025-11-11

### Added

- Codex Mini support end-to-end: normalization to the `codex-mini-latest` slug, proper reasoning defaults, and two new presets (`gpt-5-codex-mini-medium` / `gpt-5-codex-mini-high`).
- Documentation & configuration updates describing the Codex Mini tier (200k input / 100k output tokens) plus refreshed totals (11 presets, 160+ unit tests).

### Fixed

- Prevented Codex Mini from inheriting the lightweight (`minimal`) reasoning profile used by `gpt-5-mini`/`nano`, ensuring the API always receives supported effort levels.

## [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`.
- Documentation guidance noting that OpenCode's usage sidebar requires the canonical `config/full-opencode.json`.

### 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.
Loading
Loading