Index

Modules: threecode, threecode/actions, threecode/api, threecode/compact, threecode/config, threecode/display, threecode/engine, threecode/fatprompt, threecode/fatprompt/rendering, threecode/fatprompt/runtime, threecode/minline, threecode/prompts, threecode/session, threecode/shell, threecode/signals, threecode/streamexec, threecode/terminal, threecode/toolstream, threecode/transcript, threecode/turns, threecode/types, threecode/ui, threecode/unicodewidth, threecode/update, threecode/util, threecode/web.

API symbols

absoluteBarTickFrame:
acquireSessionLock:
acquireTerminalWrite:
Action:
ActionKind:
activeCommandHook:
activeCurrent:
activeLockPath:
activeProviders:
activeSearchUrl:
addLine:
addScrollLine:
addTranscriptItem:
akApplyPatch:
akBash:
akClear:
akError:
akPatch:
akPlan:
akRead:
akWebFetch:
akWebSearch:
akWrite:
apiAfterCall:
apiAfterLiveContent:
apiBeforeCall:
apiContentDelta:
apiContentFinished:
ApiError:
apiFinalUsage:
apiNoUsage:
apiProgress:
apiProviderActivity:
apiReasoningDelta:
apiSetStatusLabel:
ApiStreamHooks:
apiStreamHooks:
apiTrimTrailingContent:
appendIndexAt:
appendItem:
appendSessionIndex:
appendTranscript:
apply:
applyGenerationDefaults:
applyInlineMd:
applyReasoning:
applyStreamingOptions:
applySummary:
assistantItem:
assistantTextBytes:
AssistantTextStyle:
autoUpdateEnabled:
availableReasonings:
back:
bannerFor:
barFooterBelowAtColBytes:
barFooterBelowBytes:
barFooterBytes:
barWrapRows:
bashMutationPath:
bashPathOverride:
bashReadPath:
bashTimeoutSecs:
BashViewport:
bashVisibleRows:
beginBash:
beginEditorRedraw:
beginForegroundEditorRedraw:
beginTurn:
BlueFg:
BoldOn:
bootstrapProvider:
BrightWhiteFg:
buildBatchAssistantMsg:
buildCredit:
buildProfile:
buildStreamAssistantMsg:
buildSystemPrompt:
buildUserMessage:
BuiltinSkills:
builtinSkillsDir:
bundledCaFile:
bundledSslContext:
callModel:
cancelActiveTool:
caNone:
capText:
captureStdoutWrites:
caSummarize:
catalogUrl:
cdHarnessOnly:
cdModal:
cdTranscriptResult:
changeLine:
charWrapAnsi:
ckModal:
ckMutating:
ckQuit:
ckSafeImmediate:
ckUnknown:
clampToWidth:
classifyCommand:
classifyRetry:
cleanupStaleBinaries:
clearBarBelowAtColBytes:
ClearBarBelowBytes:
clearBarEvent:
clearBarPrompt:
ClearBarPromptBytes:
clearBarRowBytes:
clearDraft:
clearFooterFrame:
clearInterrupted:
clearLine:
clearNetworkQuiet:
clearPendingDraft:
clearPendingHintEvent:
clearPromptAfterPendingReceiptBytes:
clearSpinnerFooterBytes:
clearTickerEvent:
clearToolViewport:
clipMiddle:
closeCachedStreamConn:
cmdError:
cmdResponse:
collapseHome:
CommandDisposition:
commandItem:
CommandKind:
CommandNames:
CommandResult:
commitTranscriptBytes:
completeLine:
completionFor:
computeDiff:
ConfigExample:
configPath:
consumeQueuedCommand:
consumeQueuedInput:
consumeResizePending:
contentStreamedLive:
ContextAction:
contextLabel:
contextWindowFor:
CTRL:
curatedFor:
currentBarHasGap:
currentBarLabel:
currentDraftPath:
currentProvider:
cursorVisual:
CyanFg:
debugEnabled:
debugOut:
decideContextAction:
decodeEntities:
DefaultBashMaxLines:
DefaultBashTimeout:
defaultEngine:
DefaultHeight:
defaultNameFromUrl:
defaultReasoningsFor:
DefaultSearchUrl:
DefaultSystemPrompt:
DefaultWidth:
DeferredSubmitMarker:
deleteNext:
deletePrevious:
deleteWordLeft:
detectMdHeader:
die:
DIGIT:
discoverSkills:
draftDir:
draftPathFor:
editorHeight:
EditorPromptBytes:
editorRows:
emitFatPromptEvent:
emitUserSubmit:
endTurn:
endTurnAfterTranscriptAppend:
endTurnBytes:
ensureDraftFlusherStarted:
ensureInputThreadStarted:
enterPromptInput:
eraseRowsAbove:
err:
errLn:
ESCAPES:
EscapeTailPollMs:
ExitApi:
ExitConfig:
ExitUsage:
experimentalEnabled:
explainExperimentalGate:
FatPrompt:
FatPromptEvent:
FatPromptEventKind:
FatPromptGeometry:
FatPromptState:
fatPromptState:
feedContent:
fetchModels:
FetchModelsHook:
fetchModelsHook:
fetchUrl:
ffClear:
ffNone:
ffSpinner:
ffTokenBar:
fileSig:
finalTranscriptRows:
findModel:
findSystemPromptOverride:
finishBash:
finishContent:
finishEditorRedraw:
finishForegroundEditorRedraw:
finishMd:
firstKnownGoodCombo:
firstModel:
firstUserMessage:
flushDraftNow:
followupStartsAfterReceipt:
FooterFrame:
footerFrame:
footerFrameBytes:
FooterFrameKind:
footerGeometry:
footerRowsAboveEditor:
FooterState:
formatHits:
formatItem:
formatModels:
formatUserPromptItem:
forward:
fpeClearBar:
fpeClearPendingHint:
fpeClearTicker:
fpeSetBar:
fpeSetPendingHint:
fpeSetPromptMode:
fpeSetTicker:
frameRows:
frameText:
fullRedraw:
gateExperimental:
GenerationDefaults:
GetChProc:
getchr:
goToBufferEnd:
goToBufferStart:
goToEnd:
goToStart:
GreyFg:
handleCommand:
handleCommandResult:
handleEscape:
handleMdLine:
hasElapsedSuffix:
hasKnownGoodModel:
hasNonNewlineBytes:
HasPendingInputProc:
hasQueuedAutosend:
HelpText:
hideCaret:
hideRealCaretBytes:
hint:
hintLn:
historyAdd:
historyFile:
historyFlush:
historyInit:
historyNext:
historyPrevious:
humanBytes:
humanTokens:
indexIdsAt:
indexPathAt:
inferProvider:
initEditor:
initFatPrompt:
initFatPromptState:
initKeyTables:
initLiveMarkdownStream:
initMarkdownState:
initStreamingView:
inlineAtFiles:
InputCancelled:
inputEditor:
inputMessages:
inputProfile:
inputSession:
inputState:
InputState:
inputStateLock:
inputThreadRunning:
insertNewline:
insertText:
installApiStreamHooks:
installEditorTweaks:
installInterruptHook:
installResizeHandler:
isBinaryContent:
isFirstUserMessage:
isInterrupted:
isKnownGood:
isMdFenceLine:
isMdSepRow:
isMdTableRow:
isNetworkQuiet:
isSkillRead:
Key:
KeyCallback:
KEYMAP:
KEYNAMES:
KeyPrefixCatalog:
KeySeq:
KEYSEQS:
KnownGoodCombo:
KnownGoodCombos:
knownGoodContextWindow:
knownGoodFamily:
knownGoodGeneration:
knownGoodReasoning:
knownGoodReasonings:
knownGoodTags:
labelCells:
LETTER:
levenshtein:
levenshteinCapped:
Line:
LineEditor:
LineEditorError:
LineEditorMode:
LineError:
LineHistory:
lineText:
listSessionPaths:
listSessionPathsForCwd:
listTools:
liveBarBytes:
liveEditorBarTickFrame:
liveEditorFooterAnchored:
liveEditorSpinnerBarBytes:
liveEditorSpinnerFooterBytes:
liveLabel:
LiveMarkdownStream:
loadDraft:
loadPendingDraft:
loadProfile:
loadSessionFile:
loadStateOrEmpty:
looksLikePath:
LOWERLETTER:
mangleCwd:
MarkdownState:
markNetworkQuiet:
markProviderActivity:
markResizePending:
materializeBuiltinSkills:
MaxBashTimeout:
mdInsert:
mdReplace:
moveToBarBelowBytes:
navigatedUp:
newReadCache:
newSessionPath:
nextCommandSymbol:
noFooterFrame:
note:
noteLn:
notifyEnabled:
OffWhiteFg:
onTurnInterrupted:
orderedModels:
paintBarBelow:
paintBarBytes:
paintBarPrompt:
paintInitialBar:
paintInitialPrompt:
paintPromptOnly:
parseActions:
parseActionsChecked:
parseConfigFile:
ParseIssue:
parseSearchHits:
parseSemver:
parseUsage:
parseXmlToolCalls:
password:
pendingDraftDir:
pendingDraftPathFor:
PendingHint:
pendingHint:
plainCommandBodyBytes:
PlanItem:
pmAssistant:
pmBash:
pmBufferedInput:
pmIdle:
pmOther:
pmPatch:
pmRead:
pmTurnRunning:
pmUser:
pmWrite:
prepareAssistantContentStart:
previewCmd:
previewSession:
PRINTABLE:
printActionResult:
printBashScroll:
printChar:
printCompactHeadTail:
printDiff:
printKnownGood:
printLine:
printSessionList:
printSkillLoaded:
printToolResult:
Profile:
promptEditProvider:
PromptMarker:
PromptMode:
promptNewProvider:
promptOnlyBytes:
promptOnlyResetBytes:
ProviderCatalog:
providerForProfile:
ProviderRec:
pushBashOutput:
putchr:
QuietRecvWakeMs:
QuietTooLongMs:
ReadCache:
readInput:
readLine:
readLineWith:
readOptional:
readRequired:
ReasoningLevels:
reasoningSupported:
receiptBarBytes:
receiptTouchesNextResponse:
redrawBytes:
refreshSystemPrompt:
releaseActiveSessionLock:
releaseIdleSubmittedInput:
releaseSessionLock:
releaseTerminalWrite:
renderAssistantContent:
renderBuffer:
renderedRows:
renderFooter:
renderHelp:
renderMdTable:
renderSession:
renderTokenLine:
renderToolBanner:
renderToolPending:
renderToolViewport:
repaintBarPrompt:
replaceFirst:
replaySessionTail:
requestTurnInterrupt:
Reset:
resetPromptInputAfterEmpty:
resolveFamily:
resolvePath:
resolveReasoning:
resolveSessionPath:
restoreCancelTermios:
restoreCursorStyle:
restoreInputTermios:
restoreTerminal:
retryCategory:
reverseCompleteLine:
rowsAboveEditor:
runAction:
runActionStreaming:
runeCellWidth:
runStreamingBash:
runTurns:
runTurnsInteractive:
safeCwd:
sanitizeUtf8:
saveDraft:
saveSession:
SearchHit:
selfUpdateCheck:
semverGt:
Session:
sessionDir:
SessionExt:
sessionIdFromPath:
SessionListCap:
sessionLockDir:
SessionLocked:
sessionLockPathFor:
sessionPathIndexDir:
sessionPreamble:
SessionPreview:
setActiveCommandHook:
setApiStreamHooks:
setBarEvent:
setBarPromptState:
setCommandStatusActive:
setEditor:
setExitCode:
setInterrupted:
setPendingHintEvent:
setPromptModeEvent:
setSteadyCursor:
setSymbol:
setTicker:
setTickerEvent:
setTokenBar:
setToolStdinWatcherEnabled:
setup:
shellTokens:
shortModel:
shortToFull:
showProfile:
showTool:
showUpdateNoticeMaybe:
skillNameFromAct:
skillsDirs:
spawnBackgroundUpdateMaybe:
spinnerBarBytes:
spinnerCleanupBytes:
spinnerFooterBytes:
spinnerFooterFrame:
splitModels:
splitStatements:
startBarTick:
startSpinner:
stopBarTick:
stopDraftFlusher:
stopSpinner:
stopTurnInputForFinalRender:
streamingEnabled:
StreamingView:
StreamMaxLines:
stripActions:
stripHtml:
stripInternalFields:
stripPreamble:
SubmitCallback:
subtleWrite:
subtleWriteLn:
summarizeHistory:
SummarizeKeepRecent:
SummarizeMaxTokens:
SummarizerSystemPrompt:
SummarizeThresholdFrac:
SummaryPrefix:
SyncBegin:
SyncEnd:
syncWrite:
TerminalEngine:
terminalHasPendingInput:
terminalLock:
tiAssistant:
tiCommand:
tiTool:
tiUserPrompt:
tokenBarFrame:
tokenBarRows:
TokenBarState:
tokenBarText:
tokenLineBytes:
tokenLineLabel:
tokenSlot:
toolBannerBytes:
toolCallToAction:
toolIcon:
toolItem:
ToolRecord:
toolResultBytes:
toolTranscriptBytes:
totalRows:
TranscriptItem:
TranscriptKind:
updateToolViewportSymbol:
UPPERLETTER:
Usage:
usageFromJson:
userConfigRoot:
userDataRoot:
userPromptItem:
utf8ByteCut:
utf8ByteCutEnd:
verifyBody:
verifyProfile:
VerifyProfileHook:
verifyProfileHook:
Version:
versionSuffix:
viewportRows:
visibleWidth:
visualCols:
visualDown:
visualUp:
warn:
warnLn:
webSearch:
welcome:
WidthProc:
withTerminalWriteLock:
WizardReadLineHook:
wizardReadLineHook:
wordLeft:
wordRight:
wrapAnsi:
writeAssistantBullet:
writeConfigFile:
WriteProc:
writeRaw:
writeTranscriptWithFatPrompt:
writeTranscriptWithFatPromptRestore:
xmlToolCallsFallback: