MCPcopy Create free account
hub / github.com/anomalyco/opencode / theme

Function theme

packages/tui/src/feature-plugins/sidebar/context.tsx:14–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13function View(props: { api: TuiPluginApi; session_id: string }) {
14 const theme = () => props.api.theme.current
15 const msg = createMemo(() => props.api.state.session.messages(props.session_id))
16 const session = createMemo(() => props.api.state.session.get(props.session_id))
17 const cost = createMemo(() => session()?.cost ?? 0)

Callers 1

ViewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected