RuntimeDiff
Category: Runtime
Source: runtime_diff.dart
Surface-facing outcome of a runtime workspace diff.
Canonical home for this type family: glue_runtimes' captureWorkspaceDiff builds these directly and cloud RuntimeSession.diffSinceBootstrap returns them, so glue_strategies consumers can pattern-match without importing the runtime adapter package.
Enums
RuntimeDiffUnavailableReason
| Value | Description |
|---|---|
executorDead |
Classes
sealed RuntimeDiffOutcome
Outcome of attempting to diff the runtime workspace against its bootstrap SHA.
Constructor
dart
const RuntimeDiffOutcome()RuntimeDiffOutcomeSuccess
Constructor
dart
const RuntimeDiffOutcomeSuccess({required this.patch, required this.meta})Properties
| Property | Type | Description |
|---|---|---|
patch | String | |
meta | RuntimeDiffMeta |
RuntimeDiffOutcomeEmpty
Constructor
dart
const RuntimeDiffOutcomeEmpty({required this.meta})Properties
| Property | Type | Description |
|---|---|---|
meta | RuntimeDiffMeta |
RuntimeDiffOutcomeUnavailable
Constructor
dart
const RuntimeDiffOutcomeUnavailable({required this.reason, this.hint})Properties
| Property | Type | Description |
|---|---|---|
reason | RuntimeDiffUnavailableReason | |
hint | String? |
RuntimeDiffMeta
Constructor
dart
const RuntimeDiffMeta({
required this.runtimeId,
required this.sandboxId,
required this.bootstrapSha,
required this.remoteUrl,
required this.runtimeCwd,
required this.format,
required this.capturedAt,
required this.sizeBytes,
})Properties
| Property | Type | Description |
|---|---|---|
runtimeId | String | |
sandboxId | String? | |
bootstrapSha | String? | |
remoteUrl | String? | |
runtimeCwd | String | |
format | String | |
capturedAt | DateTime | |
sizeBytes | int |