Skip to content

@jsvision/core / CapabilityResolution

Interface: CapabilityResolution

Defined in: capability/profile.ts:144

The frozen result returned by the capability resolvers.

Properties

passthrough?

readonly optional passthrough?: Uint8Array<ArrayBufferLike>

Defined in: capability/profile.ts:157

Real input bytes the user typed while a live probe was in flight (not part of any terminal response). Present only on resolveCapabilitiesAsync runs that issued a query and captured such bytes. If you detect before starting your input loop, feed these into the decoder first, ahead of further stdin, so the keystrokes surface as events in arrival order. Omitted on the sync path and whenever nothing was captured.


profile

readonly profile: CapabilityProfile

Defined in: capability/profile.ts:146

The detected capabilities.


reasons

readonly reasons: CapabilityReasons

Defined in: capability/profile.ts:148

Which detection layer decided each field of profile.