Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ functions
Functions
12,468 in github.com/anomalyco/opencode
⨍
Functions
12,468
◇
Types & classes
2,231
↓ 2 callers
Function
syncHeap
()
packages/app/src/components/debug-bar.tsx:247
↓ 2 callers
Function
syncInp
(at = performance.now())
packages/app/src/components/debug-bar.tsx:231
↓ 2 callers
Function
syncLong
(at = performance.now())
packages/app/src/components/debug-bar.tsx:223
↓ 2 callers
Function
syncResponse
(request: HttpServerRequest.HttpServerRequest)
packages/opencode/test/server/httpapi-workspace-routing.test.ts:116
↓ 2 callers
Function
syncSessionModel
(local: Local, msg: UserMessage)
packages/app/src/pages/session/session-model-helpers.ts:14
↓ 2 callers
Function
syncTaskTab
(data: SubagentData, part: ToolPart, children?: Set<string>)
packages/opencode/src/cli/cmd/run/subagent-data.ts:333
↓ 2 callers
Function
synced
(db: Database.Interface["db"], state: Record<string, number>)
packages/opencode/src/control-plane/workspace.ts:919
↓ 2 callers
Function
t
(key: string)
packages/app/src/components/dialog-custom-provider.test.ts:4
↓ 2 callers
Function
t
(key: keyof typeof uiEn, params?: UiI18nParams)
packages/enterprise/src/app.tsx:60
↓ 2 callers
Function
t
(key: Key, params?: Record<string, string | number>)
packages/stats/app/src/context/i18n.tsx:22
↓ 2 callers
Function
tabIds
()
packages/app/src/components/titlebar-tab-strip.tsx:181
↓ 2 callers
Function
taggedErrorFields
(schema: Schema.Top)
packages/httpapi-codegen/src/index.ts:940
↓ 2 callers
Function
tail
(s: string, n: number)
packages/opencode/test/lib/cli-process.ts:499
↓ 2 callers
Function
take
(value: string)
packages/opencode/src/cli/cmd/run/session.shared.ts:74
↓ 2 callers
Function
takePrefix
(input: string, maximumBytes: number)
packages/core/src/tool-output-store.ts:50
↓ 2 callers
Function
takeUntil
(expected: string, seen = "")
packages/opencode/test/server/httpapi-v2-pty.test.ts:159
↓ 2 callers
Function
taskAgent
( raw: unknown, list?: readonly { name: string; color?: string }[], )
packages/session-ui/src/components/message-part.tsx:394
↓ 2 callers
Function
teardown
(session: Active)
packages/core/src/pty.ts:116
↓ 2 callers
Function
terminalInput
(font: string | undefined)
packages/app/src/context/settings.tsx:98
↓ 2 callers
Function
terminalPersistTarget
(scope: ServerScopeValue, dir: string, legacy?: string[])
packages/app/src/context/terminal.tsx:116
↓ 2 callers
Function
terminalRecoveryKey
(pty: { id: string; title: string; titleNumber: number })
packages/app/src/pages/session/terminal-panel.tsx:159
↓ 2 callers
Function
testAgent
(input: { name: string mode: Agent.Info["mode"] permission: Parameters<typeof Permission.fromConfig>[0]
packages/opencode/test/agent/plan-mode-subagent-bypass.test.ts:12
↓ 2 callers
Function
testEffect
(layer: Layer.Layer<R, E>)
packages/llm/test/lib/effect.ts:49
↓ 2 callers
Function
text
(v: unknown)
packages/opencode/src/cli/cmd/run/permission.shared.ts:54
↓ 2 callers
Function
text
(data: unknown)
packages/opencode/src/cli/cmd/run/trace.ts:39
↓ 2 callers
Function
text
()
packages/session-ui/src/components/file.tsx:710
↓ 2 callers
Function
text
()
packages/session-ui/src/components/shell-submessage-motion.stories.tsx:152
↓ 2 callers
Function
textEvent
(direction: "client" | "server", body: string)
packages/http-recorder/src/websocket.ts:42
↓ 2 callers
Function
textPart
(index: number, partIndex: number, length: number)
packages/app/e2e/smoke/session-timeline.fixture.ts:102
↓ 2 callers
Function
textWidth
()
packages/ui/src/components/text-strikethrough.tsx:28
↓ 2 callers
Function
theme
()
packages/tui/src/feature-plugins/sidebar/todo.tsx:10
↓ 2 callers
Function
themePreferenceLabelKey
(preference: ThemePreference)
packages/stats/app/src/routes/stats-shell.tsx:528
↓ 2 callers
Function
thoughtSignature
(providerMetadata: ProviderMetadata | undefined)
packages/llm/src/protocols/gemini.ts:193
↓ 2 callers
Function
thumbHeight
()
packages/ui/src/components/scroll-view.tsx:77
↓ 2 callers
Function
tick
()
packages/app/src/context/global-sync/queue.ts:16
↓ 2 callers
Function
tick
()
packages/app/src/context/global-sync/queue.test.ts:5
↓ 2 callers
Function
tile
()
packages/app/src/pages/layout/sidebar-project.tsx:318
↓ 2 callers
Function
timeout
(ms: number)
packages/opencode/test/session/llm.test.ts:587
↓ 2 callers
Function
title
()
packages/enterprise/src/routes/share/[shareID].tsx:224
↓ 2 callers
Function
tmpdirEffect
(options: Parameters<typeof tmpdir>[0])
packages/opencode/test/server/httpapi-config.test.ts:21
↓ 2 callers
Function
toBottom
()
packages/tui/src/routes/session/index.tsx:416
↓ 2 callers
Function
toGlobOptions
(options: Options)
packages/core/src/util/glob.ts:13
↓ 2 callers
Function
toInterval
(date: Date)
packages/console/app/src/routes/zen/util/modelTpsLimiter.ts:14
↓ 2 callers
Function
toJsonSchema
(schema: Schema.Top)
packages/core/src/tool/tool.ts:158
↓ 2 callers
Function
toModelOutput
(output: ModelOutput)
packages/core/src/tool/grep.ts:38
↓ 2 callers
Function
toOptions
(items: typeof favorites, category: string)
packages/tui/src/component/dialog-model.tsx:29
↓ 2 callers
Function
toPercent
(tokens: number, input: number)
packages/app/src/components/session/session-context-breakdown.ts:13
↓ 2 callers
Function
toProviderAggregate
(data: AthenaData)
packages/stats/core/src/domain/inference.ts:180
↓ 2 callers
Function
toRow
(absolute: string, home: string, group: Row["group"])
packages/app/src/components/dialog-select-directory.tsx:26
↓ 2 callers
Function
toggle
(answer: string)
packages/tui/src/routes/session/question.tsx:85
↓ 2 callers
Function
toggle
()
packages/app/src/pages/session/composer/session-followup-dock.tsx:19
↓ 2 callers
Function
toggle
()
packages/app/src/pages/session/composer/session-revert-dock.tsx:25
↓ 2 callers
Function
tokenTotal
(msg: AssistantMessage)
packages/app/src/components/session/session-context-metrics.ts:27
↓ 2 callers
Function
toolArgsLine
(value: string)
packages/opencode/test/lib/llm-server.ts:117
↓ 2 callers
Function
toolDescription
()
packages/app/src/pages/session/composer/session-permission-dock.tsx:15
↓ 2 callers
Function
toolError
(ctx: ToolFrame)
packages/opencode/src/cli/cmd/run/tool.ts:211
↓ 2 callers
Function
toolFrame
(commit: StreamCommit, raw: string)
packages/opencode/src/cli/cmd/run/tool.ts:1259
↓ 2 callers
Function
toolInlineInfo
(part: ToolPart)
packages/opencode/src/cli/cmd/run/tool.ts:1300
↓ 2 callers
Function
toolLayer
(replacements: LayerNode.Replacements = [])
packages/core/test/tool-webfetch.test.ts:42
↓ 2 callers
Function
toolLayer
(flags: Partial<RuntimeFlags.Info> = {})
packages/opencode/test/tool/grep.test.ts:25
↓ 2 callers
Function
toolResult
(tool: SessionMessage.AssistantTool, providerMetadata: ProviderMetadata | undefined)
packages/core/src/session/runner/to-llm-message.ts:39
↓ 2 callers
Function
toolStartLine
(id: string, name: string)
packages/opencode/test/lib/llm-server.ts:99
↓ 2 callers
Function
toolStatus
(part: ToolPart)
packages/opencode/src/cli/cmd/run/session-data.ts:397
↓ 2 callers
Function
toolStructuredFinal
(commit: StreamCommit)
packages/opencode/src/cli/cmd/run/tool.ts:1290
↓ 2 callers
Function
touch
(map: Map<K, V>, key: K, value: V)
packages/app/src/pages/session/handoff.ts:15
↓ 2 callers
Function
touch
(sessionKey: string)
packages/app/src/context/layout.tsx:374
↓ 2 callers
Function
touch
(path: string, bytes?: number)
packages/app/src/context/file/content-cache.ts:26
↓ 2 callers
Function
touchMessage
(sessionID: string, messageID: string)
packages/tui/src/context/sync.tsx:147
↓ 2 callers
Function
traceSubagentState
(state: FooterSubagentState)
packages/opencode/src/cli/cmd/run/stream.ts:91
↓ 2 callers
Function
traceTabs
(trace: Trace | undefined, prev: FooterSubagentTab[], next: FooterSubagentTab[])
packages/opencode/src/cli/cmd/run/stream.transport.ts:364
↓ 2 callers
Function
trackUsage
( sessionId: string, billingSource: BillingSource, authInfo: AuthInfo, modelInfo: ModelInfo,
packages/console/app/src/routes/zen/util/handler.ts:1046
↓ 2 callers
Function
tracked
(sessionID: string | undefined)
packages/opencode/src/cli/cmd/run/stream.transport.ts:461
↓ 2 callers
Function
transformResponse
(response: Response)
packages/opencode/src/plugin/snowflake-cortex.ts:400
↓ 2 callers
Function
transition
(action: () => void)
packages/console/app/src/routes/black/index.tsx:27
↓ 2 callers
Function
trigger
(value)
packages/tui/src/plugin/command-shim.ts:100
↓ 2 callers
Function
trigger
()
packages/session-ui/src/components/basic-tool.tsx:182
↓ 2 callers
Function
triggerAction
(item: VisibleAction | undefined)
packages/tui/src/ui/dialog-select.tsx:503
↓ 2 callers
Function
trim
(list: Array<{ at: number; dur: number }>, span: number, at: number)
packages/app/src/components/debug-bar.tsx:207
↓ 2 callers
Function
trimGitSuffix
(input: string)
packages/core/src/repository.ts:141
↓ 2 callers
Function
trimGitSuffix
(input: string)
packages/opencode/src/util/repository.ts:72
↓ 2 callers
Function
trimTerminal
(pty: LocalPTY)
packages/app/src/context/terminal.tsx:106
↓ 2 callers
Function
truncate
(value: string)
packages/core/src/session/compaction.ts:81
↓ 2 callers
Function
tryFetch
(url: string)
packages/opencode/src/cli/cmd/import.ts:121
↓ 2 callers
Function
tryParseJson
(text: string)
packages/opencode/src/server/routes/instance/httpapi/handlers/session.ts:41
↓ 2 callers
Method
tui
()
packages/sdk/js/src/v2/gen/sdk.gen.ts:7211
↓ 2 callers
Function
tupleItemsSchema
(items: ReadonlyArray<unknown>)
packages/llm/src/protocols/utils/tool-schema.ts:19
↓ 2 callers
Function
turn
(index: number, target: boolean)
packages/app/e2e/regression/session-timeline-context-resize.spec.ts:131
↓ 2 callers
Function
turn
(index: number)
packages/app/e2e/smoke/session-timeline.fixture.ts:183
↓ 2 callers
Function
turnDurationMs
(userMessageID: string)
packages/app/src/pages/session/timeline/message-timeline.tsx:936
↓ 2 callers
Function
turnSummaryCommit
(input: { agent: string model: string duration: string messageID?: string })
packages/opencode/src/cli/cmd/run/turn-summary.ts:5
↓ 2 callers
Function
turns
()
packages/enterprise/src/routes/share/[shareID].tsx:247
↓ 2 callers
Function
typecheck
()
script/beta.ts:73
↓ 2 callers
Function
typescriptMigrations
()
packages/core/script/migration.ts:121
↓ 2 callers
Function
unableToLoad
(name: string, error?: unknown)
packages/core/src/tool/skill.ts:54
↓ 2 callers
Function
unavailable
( effect: Effect.Effect<void, SessionV2.NotFoundError | SessionV2.OperationUnavailableError>, )
packages/core/test/session-create.test.ts:312
↓ 2 callers
Function
unescapeString
(str: string)
packages/opencode/src/tool/edit.ts:500
↓ 2 callers
Function
unique
(items: ReadonlyArray<string>)
packages/llm/test/recorded-utils.ts:17
↓ 2 callers
Function
uniqueEntries
(items: Entry[])
packages/app/src/components/dialog-select-file.tsx:57
↓ 2 callers
Function
unquote
(text: string)
packages/opencode/src/tool/shell.ts:127
↓ 2 callers
Function
unwrapNamedError
(error: unknown)
packages/app/src/utils/server-errors.ts:38
← previous
next →
5,001–5,100 of 12,468, ranked by callers