mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-12 17:43:25 +00:00
feat(plugin): expose session rename and wait to plugins (#39932)
This commit is contained in:
parent
102086c50f
commit
2cfe8883ea
5 changed files with 20 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ export interface SessionHooks {
|
|||
|
||||
export type SessionDomain = Pick<
|
||||
SessionApi<unknown>,
|
||||
"create" | "get" | "prompt" | "generate" | "command" | "synthetic" | "interrupt"
|
||||
"create" | "get" | "prompt" | "generate" | "command" | "synthetic" | "interrupt" | "rename" | "wait"
|
||||
> & {
|
||||
readonly hook: Hooks<SessionHooks>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue