MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / patchUiState

Function patchUiState

ui-tui/src/app/uiStore.ts:42–43  ·  view source on GitHub ↗
(next: Partial<UiState> | ((state: UiState) => UiState))

Source from the content-addressed store, hash-verified

40export const getUiState = () => $uiState.get()
41
42export const patchUiState = (next: Partial<UiState> | ((state: UiState) => UiState)) =>
43 $uiState.set(typeof next === 'function' ? next($uiState.get()) : { ...$uiState.get(), ...next })
44
45export const resetUiState = () => $uiState.set(buildUiState())

Callers 15

startSubmitFunction · 0.85
useSubmissionFunction · 0.85
clearNoticeMethod · 0.85
applyNoticeMethod · 0.85
clearNoticeStateMethod · 0.85
idleMethod · 0.85
interruptTurnMethod · 0.85
startMessageMethod · 0.85
useMainAppFunction · 0.85
refreshFunction · 0.85
exitHandlerFunction · 0.85
applyDisplayFunction · 0.85

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected