opencode-openai-codex-auth icon indicating copy to clipboard operation
opencode-openai-codex-auth copied to clipboard

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

Open WAY29 opened this issue 1 month ago • 6 comments

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

Steps to Reproduce

  1. add opencode config: "plugin": ["[email protected]"], 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/[email protected]","--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/[email protected]

[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/[email protected]","--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/[email protected]

[5.00ms] done
 stderr=Saved lockfile
 done
INFO  2025-12-09T03:07:54 +0ms service=plugin [email protected] 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:

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

Additional Context

WAY29 avatar Dec 09 '25 03:12 WAY29