T3 Code Atlas

contracts/project

46 schemas in 1 file.

Nightlyv0.1.14-nightly.20261205.5772c0eed7328db2· 2026-12-05

Blast radius

3 direct · 5 transitive workspaces · 6 apps affected

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

Affected apps (browser, edge, electron-main, electron-preload, node, react-native, worker)
Contracts in its surface10 RPC2 HTTP4 MCP
Framework
effect-schema
Shape
›{16 fields }
id: makeEntityId
workspaceRoot: TrimmedNonEmptyString
repositoryIdentity?: RepositoryIdentity | null
faviconPath?: TrimmedNonEmptyString | null
›projectIcon?: union2 members
| ForwardCompatibleUnion
| null
›defaultModelSelection: union2 members
›| {4 fields }
provider?: unknown
instanceId?: unknown
model: unknown
›options?: union2 members
| …
| null
| null
defaultThreadEnvMode?: ThreadEnvMode | null
autoPull?: boolean
scripts: ProjectScript[]
trackedFolders?: ProjectTrackedFolders
pinnedAt?: string | null
archivedAt?: string | null
createdAt: string
updatedAt: string
deletedAt: string | null
Framework
effect-schema
Shape
›{4 fields }
path: string
lineNumber: PositiveInt
lineContent: string
Framework
effect-schema
Shape
›{1 field }
threadId: makeEntityId
Framework
effect-schema
Shape
›{1 field }
projectId: makeEntityId
Framework
effect-schema
Shape
›{3 fields }
projectId: makeEntityId
workspaceRoot: TrimmedNonEmptyString
commitError?: TrimmedNonEmptyString
Framework
effect-schema
Shape
›{6 fields }
workspaceRoot: TrimmedNonEmptyString
createWorkspaceRootIfMissing?: boolean
›defaultModelSelection?: union2 members
›| {4 fields }
provider?: …
instanceId?: …
model: unknown
options?: …
| null
scripts?: ProjectScript[]
trackedFolders?: ProjectAddedFolders
Framework
effect-schema
Shape
›{1 field }
projectId: makeEntityId
Framework
effect-schema
Shape
›union8 members
| "workspace_root_not_found"
| "workspace_root_create_failed"
| "workspace_root_stat_failed"
| "workspace_root_not_directory"
| "search_index_create_failed"
| "search_index_scan_timed_out"
| "search_index_search_failed"
| "directory_list_failed"
Framework
effect-schema
Shape
›{3 fields }
path: string
ignored?: boolean
Framework
effect-schema
Shape
"file" | "directory"
Framework
effect-schema
Shape
"workspace_path_outside_root" | "resolved_path_outside_root" | "path_not_file" | "binary_file" | "operation_failed"
Framework
effect-schema
Shape
›union8 members
| "realpath-workspace-root"
| "realpath-target"
| "open"
| "stat"
| "read"
| "close"
| "make-directory"
| "write-file"
Framework
effect-schema
Shape
›union18 members
| "gray"
| "red"
| "orange"
| "amber"
| "yellow"
| "lime"
| "green"
| "emerald"
| "teal"
| "cyan"
| "sky"
| "blue"
| "indigo"
| "violet"
| "purple"
| "fuchsia"
| "pink"
| "rose"
Framework
effect-schema
Shape
›union3 members
| …
| ?
| ?
Framework
effect-schema
Shape
›{2 fields }
path: string
byteLength: NonNegativeInt
Framework
effect-schema
Shape
›{8 fields }
_tag: "ProjectListEntriesError"
normalizedCwd?: TrimmedNonEmptyString
cause?: unknown
Framework
effect-schema
Shape
›{2 fields }
directoryPath?: string
Framework
effect-schema
Shape
›{2 fields }
entries: ProjectEntry[]
truncated: boolean
Framework
effect-schema
Shape
›{2 fields }
truncated: boolean
Framework
effect-schema
Shape
›union3 members · discriminated by type
›| "project.create"{3 fields }
type: "project.create"
commandId: makeEntityId
projectId: makeEntityId
›| "project.update"{5 fields }
type: "project.update"
commandId: makeEntityId
projectId: makeEntityId
trackFolders?: ProjectAddedFolders
untrackFolders?: NonBlankString[]
›| "project.delete"{4 fields }
type: "project.delete"
commandId: makeEntityId
projectId: makeEntityId
force?: boolean
Framework
effect-schema
Shape
›{4 fields }
_tag: "ProjectMutationError"
commandId: makeEntityId
message: string
cause?: unknown
Framework
effect-schema
Shape
›{10 fields }
_tag: "ProjectReadFileError"
relativePath?: string
resolvedPath?: string
resolvedWorkspaceRoot?: TrimmedNonEmptyString
operationPath?: string
cause?: unknown
Framework
effect-schema
Shape
›{3 fields }
relativePath: string
allowMissing?: boolean
Framework
effect-schema
Shape
›{6 fields }
relativePath: string
contents: string
byteLength: NonNegativeInt
truncated: boolean
exists?: boolean
readOnly?: boolean
Framework
effect-schema
Shape
›{10 fields }
runOnWorktreeCreate: boolean
runOnSettle?: boolean
stopOnSettle?: boolean
async?: boolean
autoOpenPreview?: boolean
Framework
effect-schema
Shape
"play" | "test" | "lint" | "configure" | "build" | "debug"
Framework
effect-schema
Shape
›{10 fields }
_tag: "ProjectSearchContentsError"
queryLength?: NonNegativeInt
limit?: PositiveInt
normalizedCwd?: TrimmedNonEmptyString
cause?: unknown
Framework
effect-schema
Shape
›{6 fields }
query: string
caseSensitive: boolean
wholeWord: boolean
useRegex: boolean
Framework
effect-schema
Shape
›{3 fields }
truncated: boolean
regexFallbackError?: string
Framework
effect-schema
Shape
›{10 fields }
_tag: "ProjectSearchEntriesError"
queryLength?: NonNegativeInt
limit?: PositiveInt
normalizedCwd?: TrimmedNonEmptyString
cause?: unknown
Framework
effect-schema
Shape
›{5 fields }
imageOnly?: boolean
Framework
effect-schema
Shape
›{2 fields }
entries: ProjectEntry[]
truncated: boolean
Framework
effect-schema
Shape
›{2 fields }
projects: Project[]
updatedAt: string
Framework
effect-schema
Shape
›{3 fields }
discovered?: boolean
Framework
effect-schema
Shape
›{11 fields }
workspaceRoot?: TrimmedNonEmptyString
›defaultModelSelection?: union2 members
›| {4 fields }
provider?: …
instanceId?: …
model: unknown
options?: …
| null
autoPull?: boolean
projectIcon?: ProjectIconOverride | null
faviconPath?: TrimmedNonEmptyString | null
defaultThreadEnvMode?: ThreadEnvMode | null
scripts?: ProjectScript[]
trackedFolders?: ProjectAddedFoldersExtra folders by absolute path. Replaces the whole list.
pinned?: boolean
archived?: boolean
Framework
effect-schema
Shape
›{10 fields }
_tag: "ProjectWriteFileError"
relativePath?: string
resolvedPath?: string
resolvedWorkspaceRoot?: TrimmedNonEmptyString
operationPath?: string
cause?: unknown
Framework
effect-schema
Shape
›{3 fields }
relativePath: string
contents: string
Framework
effect-schema
Shape
›{1 field }
relativePath: string
Framework
effect-schema
Shape
›union1 members
| [?, ?, ?]
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Nightly v0.1.14-nightly.20261205.5772c0eed7328db22026-12-05