mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
Add bounded digit, letter, choice, union, and text captures across the TypeScript SDK, host protocol, Rust grammar, and command runtime. Validate capture schemas and invocation payloads before activation, preserve exact inferred handler types, and document the personal-command workflow.\n\nKeep modifier-only dictation events passive so Finder and other applications still receive Option state changes. Also emit balanced synthetic modifier transitions, tighten local installation behavior, and refine recording HUD responsiveness.
42 lines
690 B
TypeScript
42 lines
690 B
TypeScript
export {
|
|
choice,
|
|
defineHexConfig,
|
|
digit,
|
|
letter,
|
|
openApplication,
|
|
openPath,
|
|
openUrl,
|
|
press,
|
|
PROTOCOL_VERSION,
|
|
typeText,
|
|
text,
|
|
union,
|
|
} from "./model.js"
|
|
export type {
|
|
CommandDefinition,
|
|
CommandMetadata,
|
|
CaptureDescriptor,
|
|
AtomicCaptureDescriptor,
|
|
BoundedCaptureDescriptor,
|
|
CaptureSchema,
|
|
CaptureValues,
|
|
ChoiceCapture,
|
|
DigitCapture,
|
|
Letter,
|
|
LetterCapture,
|
|
DictationProtocolConfig,
|
|
Handler,
|
|
HandlerArguments,
|
|
HandlerContext,
|
|
HexConfig,
|
|
Modifier,
|
|
NativeAction,
|
|
PressOptions,
|
|
PromiseHex,
|
|
Transformation,
|
|
TransformationDefinition,
|
|
TextCapture,
|
|
TypedCommandDefinition,
|
|
UntypedCaptures,
|
|
UnionCapture,
|
|
} from "./model.js"
|