Interface: DevWorkspace
Defined in: src/batteries/dev_tools/types.ts:196
Mutable workspace state passed to step middleware.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
diagnostics | public | Diagnostic[] | Accumulated normalized diagnostics in production order. | src/batteries/dev_tools/types.ts:204 |
files | public | Map<string, WorkspaceFile> | Current mutable workspace file map. | src/batteries/dev_tools/types.ts:198 |
pendingDeletions | public | Map<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 |
persistedPaths | public | Map<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 |
recreated | public | Set<string> | Paths vacated and then newly created during this execution; these summarize as additions, not modifications. | src/batteries/dev_tools/types.ts:212 |
renames | public | Map<string, string> | Destination-to-original acquisition path identity map, retained across writes for final rename reporting. | src/batteries/dev_tools/types.ts:206 |
token | readonly | DevWorkspaceToken | Runtime-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 |
unreadable | public | Set<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 |