Skip to content

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 ​

ValueDescription
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 ​

PropertyTypeDescription
patchString
metaRuntimeDiffMeta

RuntimeDiffOutcomeEmpty ​

Constructor ​

dart
const RuntimeDiffOutcomeEmpty({required this.meta})

Properties ​

PropertyTypeDescription
metaRuntimeDiffMeta

RuntimeDiffOutcomeUnavailable ​

Constructor ​

dart
const RuntimeDiffOutcomeUnavailable({required this.reason, this.hint})

Properties ​

PropertyTypeDescription
reasonRuntimeDiffUnavailableReason
hintString?

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 ​

PropertyTypeDescription
runtimeIdString
sandboxIdString?
bootstrapShaString?
remoteUrlString?
runtimeCwdString
formatString
capturedAtDateTime
sizeBytesint

Released under the MIT License.