T3 Code Atlas

contracts/scheduledTask

25 schemas in 1 file.

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

Blast radius

2 direct · 6 transitive workspaces · 6 apps affected

What a change to these 25 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 surface8 RPC
Framework
effect-schema
Shape
›{23 fields }
id: makeEntityId
enabled: boolean
projectId: makeEntityId
›threadId: union2 members
| makeEntityId
| null
›modelSelection: {4 fields }
provider?: unknown
instanceId?: unknown
model: unknown
options?: ProviderOptionSelections | null
runtimeMode: RuntimeMode
interactionMode: ProviderInteractionMode
createdAt: string
updatedAt: string
nextRunAt: string | null
lastRunAt: string | null
lastRunStatus: ScheduledTaskRunStatus
lastRunError: string | null
runCount: number
blockedByPolicy?: string
Framework
effect-schema
Shape
›{1 field }
id: makeEntityId
Framework
effect-schema
Shape
›{1 field }
id: makeEntityId
Framework
effect-schema
Shape
›{4 fields }
_tag: "ScheduledTaskError"
message: string
taskId?: makeEntityId
cause?: unknown
Framework
effect-schema
Shape
›{3 fields }
id: makeEntityId
acceptAnyOutcome?: boolean
Framework
effect-schema
Shape
›{2 fields }
tasks: ForwardCompatibleArray
Framework
effect-schema
Shape
›{2 fields }
id: makeEntityId
acceptAnyOutcome?: boolean
Framework
effect-schema
Shape
›{1 field }
id: makeEntityId
Framework
effect-schema
Shape
›{1 field }
id: makeEntityId
Framework
effect-schema
Shape
"never" | "running" | "succeeded" | "failed"
Framework
effect-schema
Shape
›union4 members · discriminated by type
›| "interval"{2 fields }
type: "interval"
everyMs: number
›| "fixed_time"{3 fields }
type: "fixed_time"
timeOfDay: TrimmedNonEmptyStringLocal time as HH:MM, such as 09:30.
weekdays?: number[]Default: every day.
›| "once"{2 fields }
type: "once"
›| "webhook"{5 fields }
type: "webhook"
›maxDeliveryAgeMinutes?: union2 members
| …
| null
›dedupe?: {3 fields }Key templates such as {{body.id}}. Window in seconds, default 120.
replayKey: …
coalesceKey: …
coalesceWindowSeconds: …
filters?: …All must match. Max 16. Omitted: keep stored. [] clears.
Framework
effect-schema
Shape
›{2 fields }
id: makeEntityId
enabled: boolean
Framework
effect-schema
Shape
"new_thread" | "continue" | "fresh_session"
Framework
effect-schema
Shape
›{17 fields }
id?: makeEntityId
requireExisting?: booleanReject the save if the task no longer exists, for edits based on an earlier read.
commandId?: makeEntityId
enabled: boolean
projectId: makeEntityId
›threadId?: union2 members
| makeEntityId
| null
unbindThread?: boolean
›modelSelection: {4 fields }
provider?: unknown
instanceId?: unknown
model: unknown
options?: ProviderOptionSelections | null
runtimeMode: RuntimeMode
interactionMode: ProviderInteractionMode
Framework
effect-schema
Shape
›union4 members · discriminated by type
›| "interval"{2 fields }
type: "interval"
everyMs: numberMin 60000.
›| "fixed_time"{3 fields }
type: "fixed_time"
timeOfDay: TrimmedNonEmptyStringLocal time as HH:MM, such as 09:30.
weekdays?: number[]Default: every day.
›| "once"{2 fields }
type: "once"
›| "webhook"{5 fields }
type: "webhook"
›signature?: union2 membersOmit for URL token only.
›| {5 fields }
header: …
encoding: …
prefix: …
secret: …
secretRef: …
| null
›maxDeliveryAgeMinutes?: union2 members
| …
| null
›dedupe?: {3 fields }Key templates such as {{body.id}}. Window in seconds, default 120.
replayKey: …
coalesceKey: …
coalesceWindowSeconds: …
filters?: …All must match. Max 16. Omitted: keep stored. [] clears.
Framework
effect-schema
Shape
›{5 fields }
query: string
headers: Record<string, string>
body: string
bodyTruncated: boolean
renderedPrompt: string | null
Framework
effect-schema
Shape
›union9 members
| "accepted"
| "dispatch_failed"
| "duplicate"
| "coalesced"
| "rejected_signature"
| "disabled"
| "rate_limited"
| "expired"
| "filtered"
Framework
effect-schema
Shape
›{11 fields }
taskId: makeEntityId
receivedAt: string
contentType: string | null
bodyBytes: number
signatureVerified: boolean
pendingWindow?: boolean
missingFields: string[]
error: string | null
Framework
effect-schema
Shape
›{3 fields }
hasSecret: boolean
Framework
effect-schema
Shape
›{3 fields }
header: TrimmedNonEmptyStringHeader with the signature, such as x-hub-signature-256.
encoding: "hex" | "base64"
prefix: string
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Nightly v0.1.15-nightly.20261205.5786be521199aace2026-12-05