feat(tui): expose session composer top slot (#37518)
This commit is contained in:
parent
48adb9521c
commit
bce9c639d1
2 changed files with 6 additions and 0 deletions
5
.changeset/fresh-composers-slot.md
Normal file
5
.changeset/fresh-composers-slot.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@opencode-ai/cli": patch
|
||||
---
|
||||
|
||||
Expose a TUI plugin slot above the session composer.
|
||||
|
|
@ -928,6 +928,7 @@ export function Session() {
|
|||
</Show>
|
||||
</scrollbox>
|
||||
<box flexShrink={0}>
|
||||
<PluginSlot name="session.composer.top" input={{ sessionID: route.sessionID }} />
|
||||
<Composer
|
||||
sessionID={route.sessionID}
|
||||
open={composer.open || (!!session()?.parentID && forms().length === 0)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue