Download packages/schema/src/durable-event-manifest.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/durable-event-manifest.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/schema/src/durable-event-manifest.ts
-
curl -L -o durable-event-manifest.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/durable-event-manifest.ts
497 Bytes
| export * as DurableEventManifest from "./durable-event-manifest" | |
| import { Event } from "./event" | |
| import { SessionEvent } from "./session-event" | |
| import { SessionV1 } from "./session-v1" | |
| export const SessionDurable = { | |
| definitions: Event.durable(SessionEvent.DurableDefinitions), | |
| schema: SessionEvent.Durable, | |
| } as const | |
| export const Durable = Event.durable([ | |
| ...SessionV1.Event.Definitions.filter((definition) => definition.durable !== undefined), | |
| ...SessionEvent.DurableDefinitions, | |
| ]) | |