Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
TypeScript
123456789101112import { Schema } from "effect"
/** * Host-supplied session annotations, durable and opaque to core. Keys are * arbitrary; values must be JSON-serializable. Children and forks inherit * the parent's current metadata unless the creator supplies its own. */export const SessionMetadata = Schema.Record(Schema.String, Schema.Json).annotate({ identifier: "Session.Metadata",})export type SessionMetadata = typeof SessionMetadata.Type