Repository navigation
Conversation
|
The following comment was made by an LLM, it may be inaccurate: |
|
any progress here? |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
|
Please reopen. This PR was auto-closed by the stale-PR cleanup, not on its merits, and the feature is still missing in V2 (v2.1.0).
|
Issue for this PR
No linked issue; feature PR adding the existing interactive skill-mention behavior to
run.Type of change
What does this PR do?
Adds
opencode run "@skill-id instructions". Resolves mentions by exact skill ID and sends skill attachments through the existing prompt API. Preserves prompt text, supports multiple mentions, deduplicates attachments, and leaves unknown mentions as text.Skill discovery now waits for plugin activation so the first request against a cold server sees registered skills. Includes CLI docs and tests.
How did you verify your code works?
bun run checkbun test test/run/noninteractive.test.ts— 15 passbun test test/skill.test.ts— 1 pass, first-request discoverybun dev run --standalone --model openai/gpt-5.6-luna --format json "@opencode-dev This is a CLI smoke test. From the attached skill, name the tool used for interactive TUI testing. Respond with the tool name only. Do not use tools or change files."— returnedtermctrl, exit 0, without tool calls. Used the installed V2 database for provider credentials; also verified attached skill content in an earlier sample-skill smoke test.Screenshots / recordings
CLI-only; JSON output verified above.
Checklist