mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 06:35:35 +00:00
Adds TUI prompt traits, refs, and plugin slots (#20741)
This commit is contained in:
parent
5e1b513527
commit
29f7dc073b
18 changed files with 316 additions and 132 deletions
|
|
@ -211,6 +211,7 @@ export function createTuiPluginApi(opts: Opts = {}): HostPluginApi {
|
|||
}
|
||||
},
|
||||
trigger: () => {},
|
||||
show: () => {},
|
||||
},
|
||||
route: {
|
||||
register: () => {
|
||||
|
|
@ -231,6 +232,7 @@ export function createTuiPluginApi(opts: Opts = {}): HostPluginApi {
|
|||
DialogConfirm: () => null,
|
||||
DialogPrompt: () => null,
|
||||
DialogSelect: () => null,
|
||||
Slot: () => null,
|
||||
Prompt: () => null,
|
||||
toast: () => {},
|
||||
dialog: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue