Skip to content

[BUG] opencode still want to install latest plugin although I pin version #60

@WAY29

Description

@WAY29

Bug Description
opencode still want to install latest opencode-openai-codex-auth although I pin version

Steps to Reproduce

  1. add opencode config: "plugin": ["opencode-openai-codex-auth@4.0.2"],
    2.run opencode, get stuck
    3.run debug command: opencode run hello --print-logs --model opencode/grok-code, check it get stuck in install latest plugin

Expected Behavior
opencode open normally

Actual Behavior
opencode get sutck

Environment

  • opencode version: 1.0.134
  • Plugin version: 4.0.2
  • Operating System: macos
  • Node.js version: v24.8.0

Logs

opencode run hello --print-logs --model opencode/grok-code
INFO  2025-12-09T03:07:54 +286ms service=default version=1.0.134 args=["run","hello","--print-logs","--model","opencode/grok-code"] opencode
INFO  2025-12-09T03:07:54 +0ms service=default directory=/Users/lang/coding/ts/opencode creating instance
INFO  2025-12-09T03:07:54 +0ms service=project directory=/Users/lang/coding/ts/opencode fromDirectory
INFO  2025-12-09T03:07:54 +1ms service=project status=started git.rev-parse
INFO  2025-12-09T03:07:54 +2ms service=project status=completed duration=2 git.rev-parse
INFO  2025-12-09T03:07:54 +24ms service=default directory=/Users/lang/coding/ts/opencode bootstrapping
INFO  2025-12-09T03:07:54 +2ms service=config path=/Users/lang/.config/opencode/config.json loading
INFO  2025-12-09T03:07:54 +0ms service=config path=/Users/lang/.config/opencode/opencode.json loading
INFO  2025-12-09T03:07:54 +6ms service=config path=/Users/lang/.config/opencode/opencode.jsonc loading
INFO  2025-12-09T03:07:54 +1ms service=bun cmd=["/opt/homebrew/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode","add","@opencode-ai/plugin@1.0.134","--exact"] cwd=/Users/lang/.config/opencode running
INFO  2025-12-09T03:07:54 +6ms service=bun code=0 stdout=bun add v1.3.3 (274e01c7)

installed @opencode-ai/plugin@1.0.134

[1.00ms] done
 stderr=Saved lockfile
 done
INFO  2025-12-09T03:07:54 +1ms service=config path=/Users/lang/coding/ts/opencode/.opencode/opencode.jsonc loading
INFO  2025-12-09T03:07:54 +1ms service=config path=/Users/lang/coding/ts/opencode/.opencode/opencode.json loading
INFO  2025-12-09T03:07:54 +1ms service=bun cmd=["/opt/homebrew/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode","add","@opencode-ai/plugin@1.0.134","--exact"] cwd=/Users/lang/coding/ts/opencode/.opencode running
INFO  2025-12-09T03:07:54 +9ms service=bun code=0 stdout=bun add v1.3.3 (274e01c7)

installed @opencode-ai/plugin@1.0.134

[5.00ms] done
 stderr=Saved lockfile
 done
INFO  2025-12-09T03:07:54 +0ms service=plugin path=opencode-openai-codex-auth@4.0.2 loading plugin
INFO  2025-12-09T03:07:54 +21ms service=plugin path=opencode-openai-codex-auth loading plugin
INFO  2025-12-09T03:07:54 +1ms service=bun pkg=opencode-openai-codex-auth version=latest installing package using Bun's default registry resolution
INFO  2025-12-09T03:07:54 +0ms service=bun pkg=opencode-openai-codex-auth version=latest attempt=1 total=3 bun install attempt
INFO  2025-12-09T03:07:54 +0ms service=bun cmd=["/opt/homebrew/lib/node_modules/opencode-ai/node_modules/opencode-darwin-arm64/bin/opencode","add","--force","--exact","--cwd","/Users/lang/.cache/opencode","opencode-openai-codex-auth@latest"] cwd=/Users/lang/.cache/opencode running

Compliance Checklist
Please confirm:

  • I'm using this plugin for personal development only
  • I have an active ChatGPT Plus/Pro subscription
  • This issue is not related to attempting commercial use or TOS violations
  • I've reviewed the FAQ and Troubleshooting sections

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions