Skip to content
1 min read · 259 words

Interface: DevWorkspace

Defined in: src/batteries/dev_tools/types.ts:196

Mutable workspace state passed to step middleware.

Properties

PropertyModifierTypeDescriptionDefined in
diagnosticspublicDiagnostic[]Accumulated normalized diagnostics in production order.src/batteries/dev_tools/types.ts:204
filespublicMap<string, WorkspaceFile>Current mutable workspace file map.src/batteries/dev_tools/types.ts:198
pendingDeletionspublicMap<string, string>Workspace path to on-disk path awaiting deletion; retained when a persisted file is removed from memory.src/batteries/dev_tools/types.ts:210
persistedPathspublicMap<string, string>Workspace path to its current on-disk path; acquisition seeds identity and renames re-key it so later writes use the live disk source.src/batteries/dev_tools/types.ts:208
recreatedpublicSet<string>Paths vacated and then newly created during this execution; these summarize as additions, not modifications.src/batteries/dev_tools/types.ts:212
renamespublicMap<string, string>Destination-to-original acquisition path identity map, retained across writes for final rename reporting.src/batteries/dev_tools/types.ts:206
tokenreadonlyDevWorkspaceTokenRuntime-minted opaque identity unique per execution and persistence point; middleware must copy it unchanged or stale short-circuits are refused.src/batteries/dev_tools/types.ts:202
unreadablepublicSet<string>Paths that were in the workspace but were dropped by a failed re-read; they remain on disk, are excluded from changes, and surface in the result.src/batteries/dev_tools/types.ts:200