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

Function syntax

packages/opencode/src/cli/cmd/run/scrollback.shared.ts:5–7  ·  view source on GitHub ↗
(style?: SyntaxStyle)

Source from the content-addressed store, hash-verified

3import type { StreamCommit } from "./types"
4
5function syntax(style?: SyntaxStyle): SyntaxStyle {
6 return style ?? SyntaxStyle.fromTheme([])
7}
8
9export function entrySyntax(commit: StreamCommit, theme: RunTheme): SyntaxStyle {
10 if (commit.kind === "reasoning") {

Callers 9

PromptFunction · 0.85
EditBodyFunction · 0.85
ReasoningPartFunction · 0.85
TextPartFunction · 0.85
WriteFunction · 0.85
EditFunction · 0.85
DiffFunction · 0.85
entrySyntaxFunction · 0.85
RunEntryContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected