Skip to content

fix: support current V2 command API - #1

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

fix: support current V2 command API#1
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 /loop by forwarding the expanded command prompt through context.session.prompt while preserving attachments and delivery
  • migrate V2 TUI slots to the current { append, render } API
  • validate against @opencode-ai/plugin@0.0.0-beta-18593 and align OpenTUI dependencies with the beta SDK
  • add regression coverage for command invocation and slot registration

Verification

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

@danyel117
danyel117 merged commit a7c3bed into mainSep 3, 2026
4 checks passed
Sign up for freeto 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

@danyel117