| import type { CommandV2Info } from "@opencode-ai/sdk/v2/types"; | |
| import type { Hooks } from "./registration.js"; | |
| export interface CommandDraft { | |
| list(): readonly CommandV2Info[]; | |
| get(name: string): CommandV2Info | undefined; | |
| update(name: string, update: (command: CommandV2Info) => void): void; | |
| remove(name: string): void; | |
| } | |
| export type CommandHooks = Hooks<{ | |
| transform: CommandDraft; | |
| }>; | |
Xet Storage Details
- Size:
- 408 Bytes
- Xet hash:
- e01715655de07209c0c168bd619544fd90d9ad45bb001a29ff1f59dfb95fef3a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.