Skip to content

feat(opencode): add dual package entrypoint - #1674

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

feat(opencode): add dual package entrypoint#1674
kunickiaj merged 1 commit into
mainfrom
09-09-feat_opencode_add_dual_package_entrypoint

Conversation

@kunickiaj

@kunickiaj kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Description

Export one typed package object for both supported OpenCode hosts. OpenCode 1 uses server(), OpenCode 2 uses the inactive setup() shell, and named V1 compatibility exports remain available.

The packed smokes now prove the tarball loads through actual OpenCode 1.18.30 and pinned OpenCode 2 hosts, reject a sabotaged V1 entrypoint, compile a fresh consumer without the V2 SDK in production dependencies, and isolate duplicate-registration state.

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 --filter @codemem/opencode-plugin test
  • pnpm --filter @codemem/opencode-plugin test:packed-artifact
  • pnpm --filter @codemem/opencode-plugin test:opencode-v2-contract
  • pnpm --filter codemem test:plugin
  • pnpm run tsc
  • pnpm run lint (passes with existing repository warnings)

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 20:13
@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-09T22:43:57.517028Z 68014f2 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: a3aa57d610

ℹ️ 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/index.js
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from a3aa57d to 87a2e41 Compare September 9, 2026 20:20

@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: 87a2e41ce1

ℹ️ 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/README.md
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 87a2e41 to 6ae5c12 Compare September 9, 2026 20:44
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from 300d034 to 0476da2 Compare September 9, 2026 20:44
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 6ae5c12 to 4a25952 Compare September 9, 2026 20:57
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from 0476da2 to f3ff720 Compare September 9, 2026 21:34
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 4a25952 to 04ab0bc Compare September 9, 2026 21:34

@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: 04ab0bc649

ℹ️ 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 README.md
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from f3ff720 to f60ae38 Compare September 9, 2026 22:09
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 04ab0bc to 415db27 Compare September 9, 2026 22:09

@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: 415db27428

ℹ️ 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 README.md
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch from f60ae38 to adcac8c Compare September 9, 2026 22:27
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 415db27 to 06d1da3 Compare September 9, 2026 22:27
@kunickiaj
kunickiaj force-pushed the 09-09-refactor_opencode_extract_shared_plugin_runtime branch 2 times, most recently from d29f26a to 6a71e1d Compare September 9, 2026 22:32
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 06d1da3 to 783dcc1 Compare September 9, 2026 22:32
@kunickiaj
kunickiaj changed the base branch from 09-09-refactor_opencode_extract_shared_plugin_runtime to graphite-base/1674 September 9, 2026 22:38
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from 783dcc1 to e085a99 Compare September 9, 2026 22:39
@graphite-app
graphite-app Bot changed the base branch from graphite-base/1674 to main September 9, 2026 22:39
@kunickiaj
kunickiaj force-pushed the 09-09-feat_opencode_add_dual_package_entrypoint branch from e085a99 to 68014f2 Compare September 9, 2026 22:39

kunickiaj commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

Merge activity

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

@kunickiaj
kunickiaj merged commit 686d988 into main Sep 9, 2026
15 checks passed
@kunickiaj
kunickiaj deleted the 09-09-feat_opencode_add_dual_package_entrypoint branch September 9, 2026 22:53
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