chore(opencode): align v1 compatibility baseline - #1666
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d67c311976
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
d67c311 to
018ef6c
Compare
018ef6c to
e61572c
Compare
Merge activity
|
## Description Align the OpenCode V1 adapter with the installed 1.18.29 SDK contract. This fixes nested application-log requests, current session and token event shapes, successful tool-hook output, and failed tool-part capture with deduplication. Legacy token fields remain covered explicitly. Stacked on #1666. ## Type of Change - [ ] 🚀 Feature (new functionality) - [x] 🐛 Bug fix (fixes an issue) - [ ] 📚 Documentation (docs-only change) - [ ] 🔧 Maintenance (refactor, chore, CI, etc.) - [ ] 🧪 Testing (test-only changes) ## Testing - [x] `pnpm --filter codemem test:plugin -- plugin-transform-hook.test.js` (349 tests) - [x] `pnpm --filter @codemem/opencode-plugin test` (15 tests) - [x] `pnpm run tsc` - [x] `pnpm run build` - [x] `pnpm --filter codemem test:packed-artifact` - [x] `node --check` for both touched JavaScript files - [x] Added/updated tests for changes ## Checklist - [x] Code follows project style - [x] Self-review completed - [x] Independent code review completed - [x] Documentation not needed; public behavior and configuration are unchanged - [x] No new warnings introduced `pnpm run lint` completes with existing repository warnings; Biome excludes the two touched `.opencode` files.

Description
Starts the Codemem 0.45 OpenCode 2 compatibility stack by creating a tested OpenCode 1 baseline. It raises the supported host floor to 1.18.29, aligns checked-in runtime pins and CI, adds package/root-wrapper coverage, and records the approved eight-PR roadmap.
Tracks codemem-5v7c.1.
Type of Change
Testing
pnpm run tsc,pnpm run lint,pnpm run test)Validated with
pnpm run tsc, full lint, targeted Biome, 15 package tests, 347 CLI plugin tests, packed-artifact smoke, 11 CI workflow tests, 36 release tests, andgit diff --check. The full workspace test suite was not run.Checklist
pnpm run lintpasses for touched files)