Skip to content

chore(opencode): align v1 compatibility baseline - #1666

Merged
kunickiaj merged 1 commit into
mainfrom
09-08-chore_opencode_align_v1_compatibility_baseline
Sep 9, 2026
Merged

chore(opencode): align v1 compatibility baseline#1666
kunickiaj merged 1 commit into
mainfrom
09-08-chore_opencode_align_v1_compatibility_baseline

Conversation

@kunickiaj

@kunickiaj kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner

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

  • 🚀 Feature (new functionality)
  • 🐛 Bug fix (fixes an issue)
  • 📚 Documentation (docs-only change)
  • 🔧 Maintenance (refactor, chore, CI, etc.)
  • 🧪 Testing (test-only changes)

Testing

  • Relevant checks pass locally (pnpm run tsc, pnpm run lint, pnpm run test)
  • Added/updated tests for changes
  • Manually verified changes work as expected

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, and git diff --check. The full workspace test suite was not run.

Checklist

  • Code follows project style (pnpm run lint passes for touched files)
  • Self-review completed
  • Documentation updated (if needed)
  • No new warnings introduced

kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

@kunickiaj
kunickiaj marked this pull request as ready for review September 9, 2026 04:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T05:45:37.475261Z e61572c New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread packages/opencode-plugin/package.json
Comment thread docs/versioning.md
@kunickiaj
kunickiaj force-pushed the 09-08-chore_opencode_align_v1_compatibility_baseline branch from d67c311 to 018ef6c Compare September 9, 2026 05:23
@kunickiaj
kunickiaj force-pushed the 09-08-chore_opencode_align_v1_compatibility_baseline branch from 018ef6c to e61572c Compare September 9, 2026 05:40

kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

Merge activity

  • Sep 9, 3:44 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Sep 9, 3:44 PM UTC: @kunickiaj merged this pull request with Graphite.

@kunickiaj
kunickiaj merged commit ab31712 into main Sep 9, 2026
15 checks passed
@kunickiaj
kunickiaj deleted the 09-08-chore_opencode_align_v1_compatibility_baseline branch September 9, 2026 15:44
kunickiaj added a commit that referenced this pull request Sep 9, 2026
## 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant