MCPcopy Create free account

hub / github.com/anomalyco/opencode / functions

Functions12,468 in github.com/anomalyco/opencode

↓ 7 callersFunctionsyncFooter
(commits: StreamCommit[], patch?: FooterPatch, nextSubagent?: FooterSubagentState)
packages/opencode/src/cli/cmd/run/stream.transport.ts:504
↓ 7 callersFunctionterminalColors
(input: Partial<TerminalColors> = {})
packages/opencode/test/cli/run/theme.test.ts:7
↓ 7 callersFunctiontestProviderConfig
(llmUrl: string)
packages/opencode/test/lib/test-provider.ts:9
↓ 7 callersFunctiontheme
()
packages/tui/src/feature-plugins/home/footer.tsx:11
↓ 7 callersFunctiontoLLMMessages
(messages: readonly SessionMessage.Message[], model: Model)
packages/core/src/session/runner/to-llm-message.ts:170
↓ 7 callersFunctiontodoState
(input: { count: number done: boolean live: boolean })
packages/app/src/pages/session/composer/session-composer-state.ts:13
↓ 7 callersFunctiontoken
(content: string)
packages/session-ui/src/components/markdown-worker-protocol.test.ts:8
↓ 7 callersFunctiontool
(part: ToolPart)
packages/opencode/src/cli/cmd/run.ts:90
↓ 7 callersFunctiontoolUpdates
(updates: SessionUpdateParams[])
packages/opencode/test/acp/event.test.ts:298
↓ 7 callersFunctiontouch
(sessionID: string)
packages/app/src/context/server-session.ts:440
↓ 7 callersFunctiontreePathWithin
(base: string | undefined, path: string)
packages/app/src/components/directory-picker-domain.ts:83
↓ 7 callersFunctiontrigger
()
packages/session-ui/src/components/message-part.tsx:1891
↓ 7 callersFunctiontrimDiff
(diff: string)
packages/opencode/src/tool/edit.ts:646
↓ 7 callersFunctionturn
(msg: SessionMessages[number])
packages/opencode/src/cli/cmd/run/session.shared.ts:132
↓ 7 callersFunctionunit
(value: number, name: string)
packages/opencode/src/session/retry.ts:100
↓ 7 callersFunctionupdate
(key: string[], fn: (draft: T) => void)
packages/opencode/src/storage/storage.ts:280
↓ 7 callersFunctionupdaterAction
(state: UpdaterState | undefined)
packages/app/src/components/updater-action.ts:7
↓ 7 callersFunctionuseClipboard
()
packages/tui/src/context/clipboard.tsx:16
↓ 7 callersFunctionuseDialog
()
packages/ui/src/context/dialog.tsx:170
↓ 7 callersFunctionuseFilteredList
(props: FilteredListProps<T>)
packages/ui/src/hooks/use-filtered-list.tsx:20
↓ 7 callersFunctionuseIssueId
()
github/index.ts:360
↓ 7 callersFunctionuserMessage
(id: string, sessionID: string)
packages/app/src/context/global-sync/event-reducer.test.ts:18
↓ 7 callersFunctionuuid
()
packages/app/src/utils/uuid.ts:3
↓ 7 callersFunctionvisible
()
packages/tui/src/component/prompt/autocomplete.tsx:673
↓ 7 callersFunctionwebSearchProviderLabel
(provider: unknown)
packages/opencode/src/tool/websearch.ts:39
↓ 7 callersFunctionwithCategory
(category: string)
packages/app/src/pages/session/use-session-commands.tsx:32
↓ 7 callersFunctionwithConfigTree
( input: { global?: object; project?: object; local?: object }, effect: Effect.Effect<A, E, R>, )
packages/opencode/test/config/config.test.ts:193
↓ 7 callersFunctionwithEnv
(vars: Record<string, string | undefined>, effect: () => Effect.Effect<A, E, R>)
packages/core/test/plugin/provider-opencode.test.ts:47
↓ 7 callersFunctionwithEnv
(vars: Record<string, string | undefined>, effect: () => Effect.Effect<A, E, R>)
packages/core/test/plugin/provider-cloudflare-workers-ai.test.ts:28
↓ 7 callersFunctionwithOpenAIOptions
( modelID: string, options: Options, defaults: { readonly textVerbosity?: boolean } = {}, )
packages/llm/src/providers/openai-options.ts:72
↓ 7 callersFunctionwithSh
(fx: () => Effect.Effect<A, E, R>)
packages/opencode/test/session/prompt.test.ts:75
↓ 7 callersFunctionwriteLogoTint
( buffer: Uint16Array, offset: number, base: Rgb, primary: Rgb, primaryMix: number, peakMix: numbe
packages/tui/src/component/bg-pulse-render.ts:103
↓ 6 callersMethod_prepare
@internal
packages/effect-drizzle-sqlite/src/sqlite-core/effect/update.ts:360
↓ 6 callersMethod_prepare
@internal
packages/effect-drizzle-sqlite/src/sqlite-core/effect/select.ts:222
↓ 6 callersMethod_prepare
@internal
packages/effect-drizzle-sqlite/src/sqlite-core/effect/insert.ts:307
↓ 6 callersMethod_prepare
@internal
packages/effect-drizzle-sqlite/src/sqlite-core/effect/delete.ts:219
↓ 6 callersFunctionactionId
(id: string)
packages/app/src/context/command.tsx:39
↓ 6 callersFunctionactive
()
packages/opencode/src/cli/cmd/run/footer.question.tsx:286
↓ 6 callersFunctionadapt
(events: ReadonlyArray<AISDKAdapterEvent>)
packages/opencode/test/session/llm.test.ts:178
↓ 6 callersFunctionaddRateLimitValue
(target: Record<string, string>, key: string, value: string)
packages/llm/src/route/executor.ts:108
↓ 6 callersFunctionaddTheme
(name: string, theme: unknown)
packages/tui/src/theme/index.ts:220
↓ 6 callersFunctionaggregateByModel
(rows: StatMetricRow[])
packages/stats/core/src/domain/home.ts:675
↓ 6 callersFunctionalias
(data: Record<string, { url: string; signature: string }>, key: string, src: string)
packages/desktop/scripts/finalize-latest-json.ts:142
↓ 6 callersFunctionall
(input: string, patterns: Record<string, any>)
packages/opencode/src/util/wildcard.ts:21
↓ 6 callersFunctionallExpandedFileTreeDirectories
(tree: FileTree)
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:193
↓ 6 callersFunctionalphaTone
(color: HexColor, alpha: number)
packages/ui/src/theme/resolve.ts:67
↓ 6 callersFunctionapplyThemePreference
(preference: ThemePreference)
packages/stats/app/src/routes/stats-shell.tsx:45
↓ 6 callersFunctionaskPermission
(state: State, item: Permit)
packages/opencode/src/cli/cmd/run/demo.ts:477
↓ 6 callersFunctionasks
()
packages/opencode/test/tool/read.test.ts:137
↓ 6 callersFunctionassistantRow
( id: SessionMessage.ID, seq: number, time: { created: DateTime.Utc; completed?: DateTime.Utc } = { crea
packages/core/test/session-projector.test.ts:33
↓ 6 callersFunctionbasic
(username: string, password: string)
packages/opencode/test/server/httpapi-authorization.test.ts:68
↓ 6 callersFunctionbasicUsage
()
packages/opencode/test/session/compaction.test.ts:53
↓ 6 callersFunctionbedrockBaseURL
(sdk: unknown, modelID = "anthropic.claude-sonnet-4-5")
packages/core/test/plugin/provider-amazon-bedrock.test.ts:62
↓ 6 callersFunctionblocked
()
packages/app/src/components/status-popover-body.tsx:331
↓ 6 callersFunctionbootstrapSubagentData
(input: BootstrapSubagentInput)
packages/opencode/src/cli/cmd/run/subagent-data.ts:709
↓ 6 callersFunctionbusy
(sessionID = "session-1")
packages/opencode/test/cli/run/stream.transport.test.ts:45
↓ 6 callersFunctioncacheDelete
(key: string)
packages/app/src/utils/persist.ts:39
↓ 6 callersFunctioncanToggle
()
packages/app/src/pages/home.tsx:787
↓ 6 callersFunctioncatalog
(id: string)
packages/app/src/hooks/provider-catalog.test.ts:5
↓ 6 callersMethodchildren
()
packages/opencode/src/cli/cmd/run/footer.ts:305
↓ 6 callersFunctionchunk
(input: { delta?: Record<string, unknown>; finish?: string; usage?: Usage })
packages/opencode/test/lib/llm-server.ts:69
↓ 6 callersFunctionchunks
(items: T[], size: number)
packages/stats/core/src/domain/stat.ts:243
↓ 6 callersFunctionclearHighlightFind
()
packages/session-ui/src/pierre/file-find.ts:79
↓ 6 callersMethodclearInterruptTimer
()
packages/opencode/src/cli/cmd/run/footer.ts:907
↓ 6 callersFunctionclearReadyWatcher
(state: ReadyWatcher)
packages/session-ui/src/pierre/file-runtime.ts:10
↓ 6 callersFunctioncliTry
(message: string, fn: () => PromiseLike<Value>)
packages/opencode/src/cli/cmd/providers.ts:33
↓ 6 callersFunctionclonePrompt
(prompt: RunPrompt)
packages/opencode/src/cli/cmd/run/footer.prompt.tsx:106
↓ 6 callersFunctioncloneSelectedLineRange
(range: SelectedLineRange)
packages/session-ui/src/pierre/selection-bridge.ts:25
↓ 6 callersFunctionclose
(dismiss: Dismiss)
packages/app/src/components/dialog-select-model.tsx:131
↓ 6 callersFunctioncmp
(a: string, b: string)
packages/app/src/context/global-sync/utils.ts:5
↓ 6 callersFunctioncode
(seed: number, lines: number, width = 32)
packages/app/e2e/performance/timeline/session-timeline-stress.fixture.ts:196
↓ 6 callersFunctioncompletedTool
( sessionID: string, callID: string, output = "done", attachments: Extract<ToolPart["state"], { status
packages/opencode/test/acp/event.test.ts:250
↓ 6 callersFunctionconfig
(name: string)
packages/opencode/test/mcp/oauth-auto-connect.test.ts:164
↓ 6 callersFunctionconfigData
(input: unknown, tag: string)
packages/tui/src/util/error.ts:86
↓ 6 callersFunctionconnectTicket
(listener: Awaited<ReturnType<typeof startListener>>, id: string, dir: string)
packages/opencode/test/server/httpapi-listen.test.ts:80
↓ 6 callersFunctioncontent
(text: string)
packages/core/test/session-tool-progress.test.ts:24
↓ 6 callersFunctioncontentBlockID
(value: ContentBlockID | string)
packages/llm/src/schema/events.ts:233
↓ 6 callersFunctionconvertToOpenAIResponsesInput
({ prompt, systemMessageMode, fileIdPrefixes, store, hasLocalShellTool = false, }: { prompt: Langu
packages/core/src/github-copilot/responses/convert-to-openai-responses-input.ts:21
↓ 6 callersFunctioncookie
(locale: Locale)
packages/console/app/src/lib/language.ts:325
↓ 6 callersFunctioncopyCommand
( os: NodeJS.Platform, wayland: boolean, has: (name: string) => boolean, )
packages/tui/src/clipboard.ts:76
↓ 6 callersFunctioncreateCat
(listener: Awaited<ReturnType<typeof startListener>>, dir: string)
packages/opencode/test/server/httpapi-listen.test.ts:86
↓ 6 callersFunctioncreateGoogleModel
(reasoning: boolean, npm: "@ai-sdk/google" | "@ai-sdk/google-vertex")
packages/opencode/test/provider/transform.test.ts:215
↓ 6 callersFunctioncreateKnownSession
( session: ACPSession.Interface, sessionId: string, part: { messageId: string; partId: string; partType:
packages/opencode/test/acp/event.test.ts:304
↓ 6 callersFunctioncreatePermissionBodyState
(requestID: string)
packages/opencode/src/cli/cmd/run/permission.shared.ts:70
↓ 6 callersFunctioncreatePromptSubmit
(input: PromptSubmitInput)
packages/app/src/components/prompt-input/submit.ts:196
↓ 6 callersFunctioncreateSessionOwnership
(sessionKey: () => string)
packages/app/src/pages/session/session-ownership.ts:3
↓ 6 callersFunctioncreateSubagentData
()
packages/opencode/src/cli/cmd/run/subagent-data.ts:653
↓ 6 callersFunctioncreateTextFragment
(content: string)
packages/app/src/components/prompt-input/editor-dom.ts:3
↓ 6 callersFunctioncreateTokenProductRecord
(value: (product: TokenProduct) => T)
packages/stats/core/src/domain/home.ts:807
↓ 6 callersFunctioncreateTuiResolvedConfig
(input: ResolvedInput = {})
packages/tui/test/fixture/tui-runtime.ts:10
↓ 6 callersFunctioncreateUsageProductRecord
(value: (product: UsageProduct) => T)
packages/stats/core/src/domain/home.ts:798
↓ 6 callersFunctioncurrent
(sdk: OpencodeClient)
packages/opencode/src/cli/cmd/run.ts:578
↓ 6 callersFunctioncurrent
()
packages/ui/src/components/accordion.stories.tsx:67
↓ 6 callersFunctioncurrentTab
()
packages/app/src/components/titlebar.tsx:291
↓ 6 callersFunctioncycling
()
packages/ui/src/components/thinking-heading.stories.tsx:581
↓ 6 callersFunctiondebugTerminal
(...values: unknown[])
packages/app/src/components/terminal.tsx:66
↓ 6 callersFunctiondefer
()
packages/opencode/test/tool/task.test.ts:61
↓ 6 callersFunctiondeleteMessageParts
( cache: { part: Record<string, Part[] | undefined>; part_text_accum_delta: Record<string, string | undefi
packages/app/src/context/server-session.ts:157
↓ 6 callersFunctionderiveSubagentSessionPermission
(input: { parentSessionPermission: PermissionV1.Ruleset subagent: Agent.Info })
packages/opencode/src/agent/subagent-permissions.ts:14
↓ 6 callersFunctiondiagnostics
()
packages/opencode/src/lsp/client.ts:623
← previousnext →1,301–1,400 of 12,468, ranked by callers