T3 Code Atlas

contracts/previewAutomation

67 schemas in 1 file.

Nightlyv0.1.15-nightly.20261205.5786be521199aace· 2026-12-05

Blast radius

1 direct · 1 transitive workspaces · 1 app affected

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

Affected apps (node)
Direct dependents
Contracts in its surface12 MCP
Framework
effect-schema
Shape
›union2 members · discriminated by kind
›| "url"{2 fields }
kind: "url"
url: stringWebsite URL. Absolute http(s) URL, or a bare host (https; http for loopback).
›| "environment-port"{4 fields }
kind: "environment-port"
port: ?Dev-server port here.
protocol?: ?Default http.
path?: string
Framework
effect-schema
Shape
›{6 fields }
_tag: "McpCapabilityUnavailableError"
environmentId: makeEntityId
threadId?: makeEntityId
providerSessionId?: TrimmedNonEmptyString
providerInstanceId?: TrimmedNonEmptyString
Framework
effect-schema
Shape
›{19 fields }
›action: union8 members
| "click"
| "type"
| "hover"
| "select"
| "drag"
| "upload"
| "press"
| "scroll"
tabId?: PreviewTabId
x?: number
y?: number
button?: "left" | "right" | "middle"
clickCount?: number
text?: string
clear?: boolean
values?: string[]
paths?: string[]
key?: string
modifiers: unknown
deltaX?: number
deltaY?: number
timeoutMs?: number
Framework
effect-schema
Shape
›{6 fields }
id: string
action: string
status: "running" | "succeeded" | "failed" | "interrupted"
startedAt: string
completedAt?: string
error?: string
Framework
effect-schema
Shape
›{8 fields }
tabId?: PreviewTabId
x?: number
y?: number
timeoutMs?: numberDefault 15000.
button?: "left" | "right" | "middle"Button. Default left. Right opens the menu.
clickCount?: number1 click, 2 double, 3 triple. Default 1.
Framework
effect-schema
Shape
›{1 field }
_tag: "PreviewAutomationClientDisconnectedError"
Framework
effect-schema
Shape
"system" | "light" | "dark"
Framework
effect-schema
Shape
›{4 fields }
level: string
text: string
timestamp: string
source?: string
Framework
effect-schema
Shape
›{16 fields }
_tag: "PreviewAutomationControlInterruptedError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
Framework
effect-schema
Shape
›union8 members
| "agentMismatch"
| "unclaimedTab"
| "humanControl"
| "tabRequired"
| "closed"
| "interrupted"
| "dialogPending"
| "tabLimit"
Framework
effect-schema
Shape
›{4 fields }
tabId?: PreviewTabId
accept: boolean
promptText?: string
authChallengeId?: string
Framework
effect-schema
Shape
›{4 fields }
tabId?: PreviewTabId
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{3 fields }
tabId?: PreviewTabId
expression: string
awaitPromise?: boolean
Framework
effect-schema
Shape
›{16 fields }
_tag: "PreviewAutomationExecutionError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
reason?: string
Framework
effect-schema
Shape
›{1 field }
supportedOperations?: PreviewAutomationOperation[]
Framework
effect-schema
Shape
›{3 fields }
focused: boolean
›liveTabs?: arrayof
›{3 fields }
threadId: makeEntityId
visible?: boolean
Framework
effect-schema
Shape
›{2 fields }
environmentId: makeEntityId
Framework
effect-schema
Shape
›{6 fields }
tabId?: PreviewTabId
x?: number
y?: number
timeoutMs?: …Default 15000.
Framework
effect-schema
Shape
›{18 fields }
_tag: "PreviewAutomationInvalidSelectorError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
selectorKind?: "locator" | "selector"
selectorLength?: number
staleRef?: boolean
Framework
effect-schema
Shape
›{3 fields }
url: string
code: number
description: string
Framework
effect-schema
Shape
›{1 field }
_tag: "PreviewAutomationMalformedResponseError"
Framework
effect-schema
Shape
›{5 fields }
tabId?: PreviewTabId
url?: stringWebsite URL. Absolute http(s) URL, or a bare host (https; http for loopback). For public pages.
readiness?: "load" | "domContentLoaded" | "none"Default 'load'. 'none': return at once.
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{6 fields }
url: string
method: string
status: number | null
failed: boolean
errorText?: string
timestamp: string
Framework
effect-schema
Shape
›{15 fields }
_tag: "PreviewAutomationNoAvailableHostError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs?: number
remoteMessageLength?: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause?: unknown
Framework
effect-schema
Shape
›{6 fields }
tabId?: PreviewTabId
url?: stringFirst page URL. Absolute http(s) URL, or a bare host (https; http for loopback). Omit to open a blank tab.
open?: boolean
show?: boolean
reuseExistingTab?: boolean
profileId?: TrimmedNonEmptyStringProfile id or name from preview_status, for a new tab. Default: the user's. A tab keeps its profile.
Framework
effect-schema
Shape
›tuple20 elements
0: "status"
1: "open"
2: "navigate"
3: "snapshot"
4: "click"
5: "type"
6: "press"
7: "scroll"
8: "evaluate"
9: "waitFor"
10: "recordingStart"
11: "recordingStop"
12: "resize"
13: "setColorScheme"
14: "dialog"
15: "close"
16: "upload"
17: "hover"
18: "select"
19: "drag"
Framework
effect-schema
Shape
›{3 fields }
tabId?: PreviewTabId
key: " " | string
modifiers?: "Alt" | "Control" | "Meta" | "Shift"[]
Framework
effect-schema
Shape
›{3 fields }
name: string
incognito?: boolean
Framework
effect-schema
Shape
›{6 fields }
id: string
path: string
mimeType: string
sizeBytes: number
createdAt: string
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewAutomationRecordingDeadlineExpiredError"
threadId: makeEntityId
cause?: unknown
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewAutomationRecordingDesktopUpdateRequiredError"
threadId: makeEntityId
cause?: unknown
Framework
effect-schema
Shape
›{3 fields }
recording: boolean
startedAt: string | null
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewAutomationRecordingTooLargeError"
threadId: makeEntityId
cause?: unknown
Framework
effect-schema
Shape
›{3 fields }
_tag: "PreviewAutomationRecordingTransferError"
threadId: makeEntityId
cause?: unknown
Framework
effect-schema
Shape
›{15 fields }
_tag: "PreviewAutomationRemoteUnavailableError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
Framework
effect-schema
Shape
›{8 fields }
threadId: makeEntityId
tabId?: PreviewTabId
tabIdExplicit?: boolean
agentSessionId?: string
input: unknown
timeoutMs: number
Framework
effect-schema
Shape
›{1 field }
_tag: "PreviewAutomationRequestQueueClosedError"
Framework
effect-schema
Shape
›{7 fields }
tabId?: PreviewTabId
mode: "fill" | "freeform" | "preset"
width?: unknown
height?: unknown
orientation?: "portrait" | "landscape"
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{3 fields }
viewport?: PreviewRenderedViewportSizeViewport size after the resize. Omitted when it could not be measured.
Framework
effect-schema
Shape
›{6 fields }
ok: boolean
result?: unknown
›error?: {3 fields }
message: string
detail?: unknown
Framework
effect-schema
Shape
›{16 fields }
_tag: "PreviewAutomationResultTooLargeError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
maximumBytes?: number
Framework
effect-schema
Shape
›{5 fields }
tabId?: PreviewTabId
deltaX?: number
deltaY?: number
Framework
effect-schema
Shape
›{5 fields }
tabId?: PreviewTabId
values: string[]Empty clears it.
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{1 field }
selected: string[]The values of the options now selected.
Framework
effect-schema
Shape
›{11 fields }
url: string
title: string
loading: boolean
visibleText: string
accessibilityTree: unknown
›screenshot: {4 fields }
mimeType: "image/png"
data: string
width: number
height: number
›fullScreenshot?: {3 fields }
data: string
width: number
height: number
Framework
effect-schema
Shape
›{2 fields }
fullScreenshot?: boolean
pixelsRequired?: boolean
Framework
effect-schema
Shape
›{1 field }
›screenshot: {2 fields }
width: number
height: number
Framework
effect-schema
Shape
"metrics" | "frames" | "page state" | "screenshot" | "accessibility tree"
Framework
effect-schema
Shape
›{17 fields }
available: boolean
visible: boolean
notVisibleReason?: string
tabId: PreviewTabId | null
url: string | null
title: string | null
loading: boolean
›control?: {3 fields }
ownedByCaller: boolean
generation: number
›dialog?: union2 members
›| {4 fields }
type: string
message: string
defaultValue: string
authChallengeId?: string
| null
viewportSetting?: PreviewViewportSetting
›fileChooser?: union2 members
›| {2 fields }
multiple: boolean
accept: string
| null
›downloads?: arrayof
›{5 fields }
fileName: string
path: string
sizeBytes: number
url: string
completedAt: string
›tabs?: arrayof
›{7 fields }
url: string | null
openerTabId?: PreviewTabId
ownedByCaller?: boolean
visible?: boolean
profileId?: BrowserProfileId
defaultProfileId?: BrowserProfileId
Framework
effect-schema
Shape
›union2 members · discriminated by type
›| "connected"{2 fields }
type: "connected"
›| "request"{3 fields }
type: "request"
Framework
effect-schema
Shape
›{15 fields }
_tag: "PreviewAutomationTabNotFoundError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
Framework
effect-schema
Shape
"agent" | "human" | "unclaimed"
Framework
effect-schema
Shape
›{17 fields }
_tag: "PreviewAutomationTargetNotEditableError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
selectorKind?: "focused-element" | "locator" | "selector"
selectorLength?: number
Framework
effect-schema
Shape
›{2 fields }
timeoutMs: number
Framework
effect-schema
Shape
›{17 fields }
_tag: "PreviewAutomationTimeoutError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength?: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause?: unknown
pendingStages?: unknown
reason?: string
Framework
effect-schema
Shape
›{6 fields }
tabId?: PreviewTabId
text: string
clear?: boolean
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{6 fields }
_tag: "PreviewAutomationUnavailableError"
capability: "preview"
environmentId: makeEntityId
threadId?: makeEntityId
providerSessionId?: TrimmedNonEmptyString
providerInstanceId?: TrimmedNonEmptyString
Framework
effect-schema
Shape
›{15 fields }
_tag: "PreviewAutomationUnsupportedClientError"
environmentId: makeEntityId
threadId: makeEntityId
providerSessionId: TrimmedNonEmptyString
providerInstanceId: TrimmedNonEmptyString
tabId?: PreviewTabId
timeoutMs: number
remoteMessageLength: number
remoteDetailKind?: "null" | "array" | "object" | "string" | "number" | "boolean"
cause: unknown
Framework
effect-schema
Shape
›{5 fields }
tabId?: PreviewTabId
paths: string[]
locator?: TrimmedNonEmptyStringSet files on this <input type=file> instead of the open picker.
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{6 fields }
tabId?: PreviewTabId
text?: NonBlankStringCase counts.
urlIncludes?: TrimmedNonEmptyString
timeoutMs?: numberDefault 15000.
Framework
effect-schema
Shape
›{4 fields }
requestedUrl: string
resolvedUrl: string
resolutionKind: "direct" | "direct-private-network"
environmentId: makeEntityId
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Nightly v0.1.15-nightly.20261205.5786be521199aace2026-12-05