feat(plugin): expose session rename
This commit is contained in:
parent
fe09a2e9b7
commit
5910c5049e
8 changed files with 51 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
import type { SessionApi } from "@opencode-ai/client/effect/api"
|
||||
|
||||
export type SessionDomain = Pick<SessionApi<unknown>, "create" | "get" | "prompt" | "command" | "interrupt">
|
||||
export type SessionDomain = Pick<SessionApi<unknown>, "create" | "get" | "prompt" | "command" | "rename" | "interrupt">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
import type { SessionApi } from "@opencode-ai/client/promise/api"
|
||||
|
||||
export type SessionDomain = Pick<SessionApi, "create" | "get" | "prompt" | "command" | "interrupt">
|
||||
export type SessionDomain = Pick<SessionApi, "create" | "get" | "prompt" | "command" | "rename" | "interrupt">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue