[Bug]: opencode integration unusable on opencode v2 — run --command removed (upstream: anomalyco/opencode#49903)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start in src/specify_cli/integrations/opencode/init.py:62-67 and inspect how the integration builds the opencode command. Check anomalyco/opencode#49903 for the upstream v2 headless command decision and reproduce the reported command failure. This issue is done when workflow command steps dispatch successfully on opencode v2 using the supported upstream path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
The opencode integration dispatches commands as opencode run --command <name>, but opencode v2 removed --command. Every workflow command step fails immediately with Unrecognized flag: --command (exit 1).
Tracking report — no spec-kit-side workaround is proposed. The integration can only be fixed once upstream decides the v2 headless command path. Upstream: anomalyco/opencode#49903.
Steps to Reproduce
- Install opencode v2 (
opencode --version→ 2.0.8). - Run a workflow command step with
command: speckit.specify,integration: opencode. - Spec Kit emits
opencode run --command speckit.specify ….
Expected Behavior
The command is dispatched and runs.
Actual Behavior
opencode run --command speckit.specify … → ERROR: Unrecognized flag: --command in command opencode run, exit 1 (failed in ~54 ms in run cockpit-d012782e9339).
Specify CLI Version
1.0.9.dev0
AI Agent
opencode
Operating System
Ubuntu 24.04.5 LTS (Linux 6.17.0-1032-oem, x86_64)
Python Version
3.12.3
Error Logs
$ opencode run --command speckit.specify "build a login page"
ERROR
Unrecognized flag: --command in command opencode run
exit=1
Additional Context
src/specify_cli/integrations/opencode/__init__.py:62-67appends--command.- The slash prompt is synthesized internally, so users cannot avoid it.
- Upstream report: anomalyco/opencode#49903. Related: #2416, #2409, #4580.
- Requested handling: tracking issue (e.g.
triage-can-wait) until upstream decides, to prevent duplicate reports.
AI Disclosure
Drafted with an AI assistant (OpenCode agent, model: DeepSeek V4.1 Flash); commands and logs reproduced on the affected machine and reviewed by the reporter before posting.
- Lingua principale
- Python
- Stelle
- 138k
- Fork
- 12.4k
- Merge medio
- 3g 6h
- PR unite (30g)
- 136
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/spec-kit
-
triage-can-wait
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
enhancement needs-triage triage-can-wait
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
bundle-submission needs-info triage-can-wait validation-failed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
author-awaiting enhancement needs-triage preset-submission triage-can-wait validation-failed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
author-awaiting enhancement extension-submission needs-triage triage-can-wait validation-failed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Tutte le issue di github/spec-kit
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ClickHouse/clickhouse-connect#1057 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
open-telemetry/sig-end-user#406 ·
-
bug ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100