Download packages/schema/src/v1/legacy-event.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/v1/legacy-event.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/schema/src/v1/legacy-event.ts
-
curl -L -o legacy-event.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/v1/legacy-event.ts
465 Bytes
| export * as LegacyEvent from "./legacy-event" | |
| import { Schema } from "effect" | |
| import { define, inventory } from "../event" | |
| import { SessionID } from "../session-id" | |
| import { SessionV1 } from "./session" | |
| export const CommandExecuted = define({ | |
| type: "command.executed", | |
| schema: { | |
| name: Schema.String, | |
| sessionID: SessionID, | |
| arguments: Schema.String, | |
| messageID: SessionV1.MessageID, | |
| }, | |
| }) | |
| export const Definitions = inventory(CommandExecuted) | |