Download packages/schema/src/pty-ticket.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/pty-ticket.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/schema/src/pty-ticket.ts
-
curl -L -o pty-ticket.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/pty-ticket.ts
346 Bytes
| export * as PtyTicket from "./pty-ticket" | |
| import { Schema } from "effect" | |
| import { PositiveInt } from "./schema" | |
| export const ConnectToken = Schema.Struct({ | |
| ticket: Schema.String, | |
| expires_in: PositiveInt, | |
| }).annotate({ identifier: "PtyTicket.ConnectToken" }) | |
| export interface ConnectToken extends Schema.Schema.Type<typeof ConnectToken> {} | |