[PR #2511] feat(sdk): enhance createOpencodeTui with all CLI options #10338

Closed
opened 2026-02-16 18:14:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2511

State: closed
Merged: No


Summary

  • Enhanced TuiOptions type to include all available CLI options
  • Updated createOpencodeTui function to properly pass through all options
  • Added support for: continue, prompt, port, hostname, printLogs, and logLevel options

Changes

  • Expanded TuiOptions interface with all CLI flags from the TUI command
  • Modified argument building in createOpencodeTui to use proper CLI flag format
  • Each option is now correctly formatted with appropriate flag prefixes
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2511 **State:** closed **Merged:** No --- ## Summary - Enhanced `TuiOptions` type to include all available CLI options - Updated `createOpencodeTui` function to properly pass through all options - Added support for: continue, prompt, port, hostname, printLogs, and logLevel options ## Changes - Expanded `TuiOptions` interface with all CLI flags from the TUI command - Modified argument building in `createOpencodeTui` to use proper CLI flag format - Each option is now correctly formatted with appropriate flag prefixes
yindo added the pull-request label 2026-02-16 18:14:58 -05:00
yindo closed this issue 2026-02-16 18:14:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10338