caique
API reference

caique

Every export of caique, with its signature and doc comment: processRuntime, ask, projection, resolvePrompts, localise, decide and 17 more, plus 27 types.

caique — prompts that are flags first. The first working slice is decide(): the pure rule that decides whether a person can be asked at all, which is what keeps a CLI built on this from hanging when an agent runs it. Widgets and the two façades follow; see .sdlc/intents/caique/.

import { processRuntime, ask, projection, … } from 'caique';

Constants

processRuntime

What a real process looks like. Callers that have not got one pass their own.

const processRuntime: () => Runtime;

Re-exported

Documented on the page of the entry point that declares them.

ExportKindDocumented in
askfunctioncaique/ask
askListfunctioncaique/raw
bindingsfunctioncaique/keys
canonicalfunctioncaique/keys
canReadKeysfunctioncaique/keys
canRenderfunctioncaique/raw
createIofunctioncaique/terminal
decidefunctioncaique/decide
decodefunctioncaique/keys
flagOffunctioncaique/spec
keyOffunctioncaique/raw
matchfunctioncaique/keys
problemWithfunctioncaique/spec
projectionfunctioncaique/ask
readKeysfunctioncaique/keys
renderListfunctioncaique/raw
resolvePromptsfunctioncaique/binding
specOffunctioncaique/keys
KeysErrorclasscaique/keys
BUILT_IN_KINDSconstcaique/spec
localiseconstcaique/binding
streamsOfconstcaique/terminal
Bindinginterfacecaique/keys
BoundPromptinterfacecaique/spec
Choiceinterfacecaique/spec
DecideInputinterfacecaique/decide
Decisioninterfacecaique/decide
Flagsinterfacecaique/decide
Iointerfacecaique/ask
KeyPressinterfacecaique/keys
KeyStreaminterfacecaique/raw
PromptableOptioninterfacecaique/binding
PromptSpecinterfacecaique/spec
RawIointerfacecaique/raw
Readerinterfacecaique/ask
ReadOptionsinterfacecaique/ask
Resolvedinterfacecaique/binding
ResolveFailureinterfacecaique/binding
ResolveInputinterfacecaique/binding
Runtimeinterfacecaique/decide
Streamsinterfacecaique/terminal
Writerinterfacecaique/ask
Answertypecaique/ask
Askedtypecaique/ask
Keytypecaique/raw
KeyInputtypecaique/keys
Keymaptypecaique/keys
KeysErrorCodetypecaique/keys
PromptKindtypecaique/spec

On this page