Skip to content

fix(validate): use opencode debug agents for agent discovery - #4

Merged
painhardcore merged 1 commit into
masterfrom
fix-opencode-agent-check
Nov 13, 2026
Merged

painhardcore merged 1 commit into
masterfrom
fix-opencode-agent-check

Conversation

@painhardcore

Copy link
Copy Markdown
Owner

OpenCode renamed debug agent <name> to debug agents, which lists every agent as JSON. With a current OpenCode installed (tested with v2.2.6), make check failed with Unknown subcommand "agent". CI skips this step because OpenCode isn't installed there, so it never caught the rename.

validate.sh now lists the agents once and checks that poteto-agent and comment-sicko are both in the list.

Verification

  • make check passes with OpenCode v2.2.6 installed.
  • The check fails when run outside the repository, where OpenCode does not load the pstack agents.

OpenCode renamed 'debug agent <name>' to 'debug agents', which lists
every agent. The old command failed make check on any machine with a
current OpenCode install. List the agents once and check that both
pstack agents are present.
@painhardcore
painhardcore merged commit 1d37f08 into master Nov 13, 2026
2 checks passed
@painhardcore
painhardcore deleted the fix-opencode-agent-check branch November 13, 2026 19:19
@painhardcore painhardcore mentioned this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant