mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 12:49:51 +00:00
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
import type { Hooks } from "./registration.js"
|
|
|
|
export interface ShellCreateBefore {
|
|
command: string
|
|
cwd: string
|
|
timeout: number
|
|
shell: string
|
|
env: Record<string, string | undefined>
|
|
}
|
|
|
|
export interface ShellHooks {
|
|
readonly "create.before": ShellCreateBefore
|
|
}
|
|
|
|
export interface ShellDomain {
|
|
readonly hook: Hooks<ShellHooks>
|
|
}
|