fix: agents spec alignment#26540
Conversation
4b05a4e to
c636aec
Compare
|
+1 |
|
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. |
|
@EduSantosBrito you have 3 positive reactions now. Do you want to try re-opening this PR? |
|
I cannot reopen it saddly :/ @rekram1-node Maybe it's worth a reopen? |
Issue for this PR
Fixes #11972
Related: #20474, #21793
Type of change
What does this PR do?
Supports the Agent Skills
disable-model-invocationfrontmatter field.Per https://agentskills.io/client-implementation/adding-skills-support#filtering, skills can include metadata that controls model-facing invocation. When
disable-model-invocation: trueis present, OpenCode now excludes that skill from the model-facing available skills catalog while keeping the skill loadable by explicit name.This lets manual/internal skills stay available without spending model context or encouraging automatic model activation.
Also updates the OpenCode skills docs and regenerates the JS SDK type.
How did you verify your code works?
bun test test/skill/skill.test.ts --timeout 30000bun typecheckinpackages/opencodebun typecheckinpackages/sdk/jsScreenshots / recordings
Not applicable. No UI changes.
Checklist