T3 Code Atlas

contracts/preview

34 schemas in 1 file.

Stablev0.1.14c0eed7328db2· 2026-12-05

Blast radius

2 direct · 6 transitive workspaces · 6 apps affected

What a change to these 34 schemas can reach, from workspace dependencies, imports, call sites, and protocol edges.

Affected apps (browser, edge, electron-main, electron-preload, node, react-native, worker)
Direct dependents
Contracts in its surface12 RPC1 MCP
Framework
effect-schema
Shape
›{7 fields }
port: number
processName: TrimmedNonEmptyString | null
pid: number | null
›terminal: union2 members
›| {2 fields }
threadId: makeEntityId
| null
›agent?: union2 members
›| {1 field }
threadId: makeEntityId
| null
Framework
effect-schema
Shape
›{3 fields }
scannedAt: string
configuredUrlProbing?: true
Framework
effect-schema
Shape
›{2 fields }
appearance: "dark" | "light"
colors: Record<string, HtmlPreviewColor>
Framework
effect-schema
Shape
›{6 fields }
threadId: makeEntityId
zoomFactor?: PreviewZoomFactor
hardReload?: boolean
clear?: "cookies" | "cache"
Framework
effect-schema
Shape
"system" | "light" | "dark"
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewClearProfileError"
profileId: string
cause: unknown
Framework
effect-schema
Shape
›{2 fields }
threadId: makeEntityId
tabId?: PreviewTabId
Framework
effect-schema
Shape
›{2 fields }
_tag: "PreviewControlRequiredError"
tabId: string
Framework
effect-schema
Shape
›union5 members · discriminated by type
›| "opened"{2 fields }
type: "opened"
›| "navigated"{2 fields }
type: "navigated"
›| "resized"{3 fields }
type: "resized"
›request?: {2 fields }
hardReload?: boolean
clear?: "cookies" | "cache"
›| "failed"{6 fields }
type: "failed"
title: string
code: number
description: string
›download?: {2 fields }
id: string
fileName: string
›| "closed"{1 field }
type: "closed"
Framework
effect-schema
Shape
›{5 fields }
_tag: "PreviewInvalidUrlError"
inputLength: number
reason: "empty" | "parse" | "unsupported-protocol" | "unexpected"
protocol?: string
cause: unknown
Framework
effect-schema
Shape
›{1 field }
threadId: makeEntityId
Framework
effect-schema
Shape
›{3 fields }
Framework
effect-schema
Shape
›union4 members · discriminated by _tag
›| "Idle"{1 field }
_tag: "Idle"
›| "Loading"{3 fields }
_tag: "Loading"
title: string
›| "Success"{3 fields }
_tag: "Success"
title: string
›| "LoadFailed"{6 fields }
_tag: "LoadFailed"
title: string
code: number
description: string
›download?: {2 fields }
id: string
fileName: string
Framework
effect-schema
Shape
›{8 fields }
threadId: makeEntityId
profileId?: BrowserProfileId
runtime?: PreviewRuntime
zoomFactor?: PreviewZoomFactor
reveal?: boolean
Framework
effect-schema
Shape
›{2 fields }
width: number
height: number
Framework
effect-schema
Shape
›{3 fields }
profiles: BrowserProfile[]
defaultProfileId: BrowserProfileId
recordingFrameRate?: BrowserRecordingFrameRate
Framework
effect-schema
Shape
›{5 fields }
threadId: makeEntityId
navStatus: PreviewNavStatus
canGoBack: boolean
canGoForward: boolean
Framework
effect-schema
Shape
›{3 fields }
threadId: makeEntityId
Framework
effect-schema
Shape
"desktop" | "server"
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewSessionLookupError"
threadId: string
tabId: string
Framework
effect-schema
Shape
›{15 fields }
navStatus: PreviewNavStatus
canGoBack: boolean
canGoForward: boolean
zoomFactor?: PreviewZoomFactor
profileId?: BrowserProfileId
runtime?: PreviewRuntime
headless?: boolean
automationOwner?: string
reveal?: boolean
›revealRequest?: {2 fields }
id: string
force: boolean
updatedAt: string
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewStopLocalServerError"
reason: "not-found" | "shared-group" | "unsupported" | "signal-failed"
cause?: unknown
Framework
effect-schema
Shape
›{2 fields }
port: number
Framework
effect-schema
Shape
›{2 fields }
need: "sandbox" | "libraries"
command: string
Framework
effect-schema
Shape
›tuple17 elements
0: "iphone-se"
1: "iphone-xr"
2: "iphone-12-pro"
3: "iphone-14-pro-max"
4: "pixel-7"
5: "samsung-galaxy-s8-plus"
6: "samsung-galaxy-s20-ultra"
7: "ipad-mini"
8: "ipad-air"
9: "ipad-pro"
10: "surface-pro-7"
11: "surface-duo"
12: "galaxy-z-fold-5"
13: "asus-zenbook-fold"
14: "samsung-galaxy-a51-71"
15: "nest-hub"
16: "nest-hub-max"
Framework
effect-schema
Shape
›union3 members · discriminated by _tag
›| "fill"{1 field }
_tag: "fill"
›| "freeform"{1 field }
_tag: "freeform"
›| "preset"{2 fields }
_tag: "preset"
›presetId: union25 members
| "iphone-se"
| "iphone-xr"
| "iphone-12-pro"
| "iphone-14-pro-max"
| "pixel-7"
| "samsung-galaxy-s8-plus"
| "samsung-galaxy-s20-ultra"
| "ipad-mini"
| "ipad-air"
| "ipad-pro"
| "surface-pro-7"
| "surface-duo"
| "galaxy-z-fold-5"
| "asus-zenbook-fold"
| "samsung-galaxy-a51-71"
| "nest-hub"
| "nest-hub-max"
| "desktop-1920x1080"
| "desktop-1440x900"
| "laptop-1366x768"
| "laptop-1280x800"
| "ipad-pro-11"
| "iphone-15-pro"
| "pixel-8"
| "galaxy-s24"
Framework
effect-schema
Shape
›{2 fields }
width: number
height: number
Framework
effect-schema
Shape
›tuple17 elements
0: 0.25
1: 0.33
2: 0.5
3: 0.67
4: 0.75
5: 0.8
6: 0.9
7: 1
8: 1.1
9: 1.25
10: 1.5
11: 1.75
12: 2
13: 2.5
14: 3
15: 4
16: 5
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Stable v0.1.14c0eed7328db22026-12-05