Skip to content

CapabilityOptionOmission

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:155

One parameter whose declared enum values are not fully represented in the projected snapshot, identified well enough to fix the vessel definition.

The snapshot itself only tells the model that something is missing (via VesselCapabilityParameter.optionsOmitted); this is the developer’s side of that signal. Without it an enum that quietly grew past the budget — or that carries values with no text form — is invisible until the model starts guessing values it was never offered.

readonly actionName: ActionName

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:157


readonly budgetExceeded: boolean

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:173

Whether the remaining values exceeded MAX_CAPABILITY_OPTION_COUNT or MAX_CAPABILITY_OPTIONS_TOTAL_CHARS and so were omitted as a whole list rather than truncated.


readonly declaredCount: number

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:160

Values the vessel declared, after merging the enum across variants.


readonly parameterName: string

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:158


readonly unrenderableCount: number

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:166

How many of those had no faithful text form (a cyclic object, undefined, a symbol, a function) and were dropped rather than rendered as a placeholder the model could pick but the vessel could not act on.


readonly vesselId: VesselId

Defined in: packages/client/src/lib/voice-session/capability-snapshot.ts:156