caique
API reference

caique

Every export of caique, with its signature and doc comment: processRuntime, ask, projection, resolvePrompts, decide, keyOf and 8 more, plus 22 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
canRenderfunctioncaique/raw
createIofunctioncaique/terminal
decidefunctioncaique/decide
flagOffunctioncaique/spec
keyOffunctioncaique/raw
problemWithfunctioncaique/spec
projectionfunctioncaique/ask
renderListfunctioncaique/raw
resolvePromptsfunctioncaique/binding
BUILT_IN_KINDSconstcaique/spec
streamsOfconstcaique/terminal
BoundPromptinterfacecaique/spec
Choiceinterfacecaique/spec
DecideInputinterfacecaique/decide
Decisioninterfacecaique/decide
Flagsinterfacecaique/decide
Iointerfacecaique/ask
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
PromptKindtypecaique/spec

On this page