Skip to content

fix: support current V2 command API - #40

Merged
danyel117 merged 2 commits into
mainfrom
fix/v2-command-api
Sep 3, 2026
Merged

fix: support current V2 command API#40
danyel117 merged 2 commits into
mainfrom
fix/v2-command-api

Conversation

@danyel117

Copy link
Copy Markdown
Contributor

Summary

  • migrate V2 slash-command registration from removed draft.get/draft.update methods to draft.add
  • execute /goal by forwarding the expanded command prompt through context.session.prompt while preserving attachments and delivery
  • validate against @opencode-ai/plugin@0.0.0-beta-18593 and align OpenTUI dependencies with the beta SDK
  • add a regression test that invokes the registered command

Verification

  • bun run test (213 passing)
  • bun run lint
  • bun run typecheck
  • bun run build
  • bun run pack:dry-run

@danyel117
danyel117 merged commit f43626f into main Sep 3, 2026
4 checks passed
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