mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-08 10:23:20 +00:00
feat(core): global form support (#35959)
This commit is contained in:
parent
79415f625a
commit
b44a981eef
17 changed files with 493 additions and 93 deletions
|
|
@ -10,7 +10,7 @@ function ok<T>(data: T) {
|
|||
}
|
||||
|
||||
function form(id: string, sessionID: string): FormInfo {
|
||||
return { id, sessionID, mode: "form", fields: [] }
|
||||
return { id, sessionID, title: "Input requested", mode: "form", fields: [] }
|
||||
}
|
||||
|
||||
function formCreated(info: FormInfo): V2Event {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue