Skip to content

fix: align plugin-lib pin to v0.8.5 #199 - #200

Merged
four-bytes-robby merged 2 commits into
mainfrom
fix/199-plugin-lib-pin
Jul 6, 2026
Merged

fix: align plugin-lib pin to v0.8.5 #199#200
four-bytes-robby merged 2 commits into
mainfrom
fix/199-plugin-lib-pin

Conversation

@four-bytes-robby

@four-bytes-robby four-bytes-robby commented Jul 6, 2026

Copy link
Copy Markdown
Member

Description

Pins @four-bytes/opencode-plugin-lib to tag v0.8.5 (commit 04ea32f) on four-bytes/four-opencode-plugin-lib.

Changes

  • package.json: Updated plugin-lib dependency from v0.8.4 to v0.8.5
  • AGENTS.md: Synced version reference to v0.8.5

Background

The v0.8.5 tag was created on four-bytes/four-opencode-plugin-lib to resolve the pinned dependency. This PR aligns the brain's plugin-lib dependency to that tag.

Closes #199


Summary by cubic

Pins @four-bytes/opencode-plugin-lib to v0.8.5 to match the released tag and avoid CI/install mismatches. Regenerates bun.lock and updates docs.

  • Dependencies
    • Pin @four-bytes/opencode-plugin-lib to github:four-bytes/four-opencode-plugin-lib#v0.8.5 and regenerate bun.lock.
    • Update AGENTS.md references to v0.8.5.

Written for commit 00c2e43. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Documentation
    • Updated guidance for the plugin library dependency version and related release tagging instructions.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

AGENTS.md documentation updated to correct the pinned GitHub tag reference for the @four-bytes/opencode-plugin-lib dependency from v0.8.6 to v0.8.5, aligning documentation with the actual dependency pin, including related merge/tag instruction text.

Changes

Documentation Fix

Layer / File(s) Summary
Correct plugin-lib version pin
AGENTS.md
Dependency pin and "when plugin-lib changes are merged" tagging instructions updated from v0.8.6 to v0.8.5.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related issues

Possibly related PRs

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR fixes the reported mismatch by aligning AGENTS.md to v0.8.5, matching issue #199's required change.
Out of Scope Changes check ✅ Passed The changes stay within scope, updating only the plugin-lib version reference and related guidance.
Title check ✅ Passed The title clearly summarizes the dependency pin update to v0.8.5 and matches the main change.
Description check ✅ Passed The description covers the change, background, and linked issue, but the checklist section is not filled out.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/199-plugin-lib-pin
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch fix/199-plugin-lib-pin

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@AGENTS.md`:
- Around line 56-61: The dependency tag was updated in the guidance, but the
lockfile still pins `@four-bytes/opencode-plugin-lib` to the old v0.8.4 reference,
so refresh bun.lock to match the new v0.8.5 tag. Update the lock entry generated
for the dependency so it resolves to the new tag, and keep the package.json note
in AGENTS.md consistent with the regenerated lockfile.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 57e4d1e2-f12d-41b6-896b-bdd375dac843

📥 Commits

Reviewing files that changed from the base of the PR and between ccce442 and 1548eea.

📒 Files selected for processing (1)
  • AGENTS.md

Comment thread AGENTS.md

@cubic-dev-ai cubic-dev-ai 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.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="AGENTS.md">

<violation number="1" location="AGENTS.md:56">
P1: The AGENTS.md documentation was updated to state that `package.json` pins `@four-bytes/opencode-plugin-lib` to `#v0.8.5`, but the `bun.lock` file was not regenerated or updated in this PR. The lockfile still resolves to the old commit (`8b78211` / `v0.8.4`), which means CI and local installs may continue to fetch the previous version despite the documented claim. Since AGENTS.md itself instructs maintainers to "Update all dependent plugins' `package.json` + `bun.lock` to new tag," the lockfile should be regenerated with `bun install` so the resolved commit matches the declared `v0.8.5` tag.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread AGENTS.md
**CI:** `package.json` pins to a GitHub tag:
```json
"@four-bytes/opencode-plugin-lib": "github:four-bytes/four-opencode-plugin-lib#v0.8.6"
"@four-bytes/opencode-plugin-lib": "github:four-bytes/four-opencode-plugin-lib#v0.8.5"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1: The AGENTS.md documentation was updated to state that package.json pins @four-bytes/opencode-plugin-lib to #v0.8.5, but the bun.lock file was not regenerated or updated in this PR. The lockfile still resolves to the old commit (8b78211 / v0.8.4), which means CI and local installs may continue to fetch the previous version despite the documented claim. Since AGENTS.md itself instructs maintainers to "Update all dependent plugins' package.json + bun.lock to new tag," the lockfile should be regenerated with bun install so the resolved commit matches the declared v0.8.5 tag.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At AGENTS.md, line 56:

<comment>The AGENTS.md documentation was updated to state that `package.json` pins `@four-bytes/opencode-plugin-lib` to `#v0.8.5`, but the `bun.lock` file was not regenerated or updated in this PR. The lockfile still resolves to the old commit (`8b78211` / `v0.8.4`), which means CI and local installs may continue to fetch the previous version despite the documented claim. Since AGENTS.md itself instructs maintainers to "Update all dependent plugins' `package.json` + `bun.lock` to new tag," the lockfile should be regenerated with `bun install` so the resolved commit matches the declared `v0.8.5` tag.</comment>

<file context>
@@ -53,11 +53,11 @@ Issues → Branch → PR → Merge (feature workflow)
 **CI:** `package.json` pins to a GitHub tag:
 ```json
-"@four-bytes/opencode-plugin-lib": "github:four-bytes/four-opencode-plugin-lib#v0.8.6"
+"@four-bytes/opencode-plugin-lib": "github:four-bytes/four-opencode-plugin-lib#v0.8.5"

When plugin-lib changes are merged:
</file context>


</details>

@four-bytes-robby

Copy link
Copy Markdown
Member Author

@coderabbitai @cubic-dev-ai Fixed in 00c2e43bun.lock regenerated to resolve v0.8.5 tag correctly. The lockfile now points to the correct commit for the v0.8.5 tag on four-opencode-plugin-lib.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
git log --oneline -5
git show --stat 00c2e43 2>/dev/null | head -20
echo "---"
grep -n "opencode-plugin-lib" bun.lock | head -20

Length of output: 1324


Confirmed — commit 00c2e43 regenerates bun.lock, and it now resolves @four-bytes/opencode-plugin-lib to the v0.8.5 tag (pinned to commit 04ea32f), consistent with package.json and AGENTS.md. Thanks for the fix!

@four-bytes-robby
four-bytes-robby merged commit 0843bfd into main Jul 6, 2026
6 checks passed
@four-bytes-robby
four-bytes-robby deleted the fix/199-plugin-lib-pin branch July 6, 2026 17:32
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.

fix: align plugin-lib dependency pin to v0.8.5

1 participant