ProjectContext
Inputs to shared project setup: configuration, acquisition signal, immutable CLI session identity, and immediate cleanup registration.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
config |
readonly |
Readonly<Config> |
- |
onCleanup |
readonly |
(cleanup: () => unknown) => void |
Register one owned release during acquisition. Callbacks run once in reverse order after app work stops, including when setup throws. Do not reuse the aborted acquisition signal for cleanup or register work after the factory settles. |
session |
readonly |
{ id: string; } |
The CLI session’s stable random ID. It survives watch reruns and differs between simultaneous CLI invocations. |
session.id |
readonly |
string |
- |
signal |
readonly |
AbortSignal |
- |