MCPcopy Create free account

hub / github.com/anomalyco/opencode / functions

Functions12,468 in github.com/anomalyco/opencode

↓ 4 callersFunctionfiles
(input: { mime: string; text?: string; bytes?: Uint8Array })
packages/tui/test/prompt/local-attachment.test.ts:5
↓ 4 callersFunctionfilesOnly
()
packages/app/src/components/dialog-select-file.tsx:282
↓ 4 callersFunctionfindElement
(node: Node | null)
packages/session-ui/src/pierre/file-selection.ts:4
↓ 4 callersFunctionflush
()
packages/tui/src/context/sdk.tsx:54
↓ 4 callersFunctionflush
(type: "turn.abort" | "turn.cancel")
packages/opencode/src/cli/cmd/run/stream.transport.ts:874
↓ 4 callersMethodflush
(controller)
packages/core/src/github-copilot/responses/openai-responses-language-model.ts:1301
↓ 4 callersFunctionflushPart
(data: SessionData, commits: SessionCommit[], partID: string, interrupted = false)
packages/opencode/src/cli/cmd/run/session-data.ts:513
↓ 4 callersFunctionflushText
()
packages/llm/src/protocols/openai-responses.ts:375
↓ 4 callersFunctionfmt
(text: string)
packages/opencode/src/cli/cmd/run/tool.ts:643
↓ 4 callersFunctionfn
(value: unknown)
packages/ui/src/storybook/scaffold.tsx:4
↓ 4 callersFunctionfollowupBusy
(sessionID: string)
packages/app/src/pages/session.tsx:1550
↓ 4 callersFunctionformat
(answer?: ReadonlyArray<string>)
packages/tui/src/routes/session/index.tsx:2486
↓ 4 callersFunctionformatCatalogLabName
(lab: string)
packages/stats/app/src/routes/model-catalog.ts:80
↓ 4 callersFunctionformatCompletedSubagentDetail
(toolcalls: number, duration: string)
packages/tui/src/routes/session/index.tsx:2320
↓ 4 callersFunctionformatCurrentModelId
(input: { model: ModelSelection["model"] variant?: string variants?: readonly string[] includeVariant?
packages/opencode/src/acp/config-option.ts:148
↓ 4 callersFunctionformatDollars
(value: number)
packages/stats/app/src/routes/index.tsx:1795
↓ 4 callersFunctionformatError
(error: { name?: string message?: string data?: { message?: string } })
packages/opencode/src/cli/cmd/run/session-data.ts:163
↓ 4 callersFunctionformatModelUsageValue
(point: ModelUsagePoint, metric: "tokens" | "users")
packages/stats/app/src/routes/[lab]/[model].tsx:556
↓ 4 callersFunctionformatResetTime
(seconds: number, i18n: ReturnType<typeof useI18n>, keys: ResetTimeKeys)
packages/console/app/src/lib/format-reset-time.ts:34
↓ 4 callersFunctionformatUsageChartValue
(value: number, metric: "tokens" | "users")
packages/stats/app/src/routes/index.tsx:932
↓ 4 callersFunctionfragmentID
(kind: FragmentKind, suffix: string)
packages/core/test/session-runner.test.ts:408
↓ 4 callersFunctionfull
(file: string)
packages/core/src/shell.ts:66
↓ 4 callersFunctiongenerateSystem
(colors: TerminalColors, pick: "dark" | "light")
packages/opencode/src/cli/cmd/run/theme.ts:382
↓ 4 callersFunctiongeneration
(sessionID: string)
packages/app/src/context/server-session.ts:171
↓ 4 callersMethodgetBgColorMode
()
packages/app/src/addons/serialize.ts:45
↓ 4 callersMethodgetFgColorMode
()
packages/app/src/addons/serialize.ts:44
↓ 4 callersFunctiongetHoveredLinkText
(value: unknown)
packages/app/src/utils/runtime-adapters.ts:25
↓ 4 callersFunctiongetModel
(sdk: any, modelID: string, _options?: Record<string, any>)
packages/opencode/src/provider/provider.ts:205
↓ 4 callersFunctiongetNodeLength
(node: Node)
packages/app/src/components/prompt-input/editor-dom.ts:30
↓ 4 callersFunctiongetProjectAvatarVariant
(key?: string)
packages/app/src/context/layout.tsx:47
↓ 4 callersFunctiongetRedis
()
packages/console/app/src/routes/zen/util/redis.ts:6
↓ 4 callersFunctiongetRetryAfterDay
(now: number)
packages/console/app/src/routes/zen/util/ipRateLimiter.ts:52
↓ 4 callersMethodgetSessionID
()
packages/function/src/api.ts:94
↓ 4 callersFunctiongetTuiPluginOrigins
(directory: string)
packages/opencode/test/config/tui.test.ts:79
↓ 4 callersFunctiongetValue
()
packages/opencode/test/util/lazy.test.ts:7
↓ 4 callersFunctiongetWorkspaceTerminalCacheKey
(dir: string, scope: ServerScopeValue = ServerScope.local)
packages/app/src/context/terminal.tsx:88
↓ 4 callersFunctionglob
(p: string)
packages/opencode/test/tool/read.test.ts:97
↓ 4 callersFunctionglobal
(payload: Event)
packages/tui/test/cli/tui/data.test.tsx:20
↓ 4 callersFunctiongreyRef
(step: number)
packages/ui/src/theme/v2/foreground.ts:7
↓ 4 callersFunctiongroup
(comments: LineComment[])
packages/app/src/context/comments.tsx:69
↓ 4 callersFunctionhandoffKey
(scope: ServerScope, dir: string, id: string)
packages/app/src/context/local.tsx:30
↓ 4 callersFunctionhasChildren
()
packages/session-ui/src/components/basic-tool.tsx:91
↓ 4 callersFunctionhasExt
(path: string, ext: string)
packages/desktop/src/main/apps.ts:52
↓ 4 callersFunctionhasHeader
(headers: Set<string>, names: string[])
packages/stats/core/src/honeycomb-backfill.ts:389
↓ 4 callersFunctionhasSession
(input: RunRuntimeInput, state: RuntimeState)
packages/opencode/src/cli/cmd/run/runtime.ts:139
↓ 4 callersFunctionheaders
(contentType: string)
packages/core/src/plugin/provider/openai.ts:191
↓ 4 callersFunctionheal
(text: string)
packages/session-ui/src/components/markdown-stream.ts:48
↓ 4 callersFunctionhealth
()
packages/app/src/components/settings-v2/servers.tsx:104
↓ 4 callersMethodhealth
()
packages/sdk/js/src/v2/gen/sdk.gen.ts:6992
↓ 4 callersFunctionhighlighted
()
packages/tui/src/feature-plugins/system/diff-viewer-file-tree.tsx:71
↓ 4 callersFunctionhomeProjectDirectories
(result: string | string[] | null)
packages/app/src/pages/layout/helpers.ts:85
↓ 4 callersFunctionid
(node: Node)
packages/app/e2e/performance/timeline/session-tab-repaint-probe.ts:35
↓ 4 callersFunctionid
(prefix: string, index: number)
packages/app/e2e/regression/session-timeline-context-resize.spec.ts:224
↓ 4 callersFunctionidentity
(value: T)
packages/http-recorder/src/redactor.ts:11
↓ 4 callersFunctionignore
()
packages/opencode/src/cli/cmd/run/runtime.lifecycle.ts:263
↓ 4 callersFunctionindex
(sessionID: string)
packages/app/src/context/directory-sync.ts:46
↓ 4 callersFunctioninfo
(projectID: WorkspaceInfo["projectID"], type: string)
packages/opencode/test/control-plane/adapters.test.ts:6
↓ 4 callersFunctioninputFields
(schema: Schema.Top | undefined, source: InputField["source"], operation: string)
packages/httpapi-codegen/src/index.ts:781
↓ 4 callersFunctioninsertSession
(id: SessionV2.ID)
packages/core/test/session-runner.test.ts:294
↓ 4 callersFunctioninstallTimelineSettings
(page: Page)
packages/app/e2e/performance/timeline/timeline-test-helpers.ts:6
↓ 4 callersFunctionintegrationLayer
(client: HttpClient.HttpClient)
packages/opencode/test/share/share-next.test.ts:41
↓ 4 callersMethodinvalidateCache
()
packages/tui/src/component/bg-pulse-render.ts:182
↓ 4 callersFunctionisActionDisabled
(item: Action)
packages/tui/src/ui/dialog-select.tsx:516
↓ 4 callersFunctionisDefaultTitle
(title: string)
packages/tui/src/util/session.ts:1
↓ 4 callersFunctionisDirectoryAutoAccepting
(autoAccept: Record<string, boolean>, directory: string)
packages/app/src/context/permission-auto-respond.ts:18
↓ 4 callersFunctionisMissingUniqueUsersColumn
(cause: unknown)
packages/stats/core/src/domain/stat.ts:150
↓ 4 callersFunctionisMock
()
github/index.ts:345
↓ 4 callersFunctionisSessionNotFoundError
(error: unknown, sessionID: string)
packages/app/src/utils/server-errors.ts:45
↓ 4 callersFunctionisTabCloseTarget
(target: EventTarget | null)
packages/app/src/components/titlebar-tab-gesture.ts:3
↓ 4 callersFunctionisTaggedError
(error: unknown, tag: string)
packages/opencode/src/cli/error.ts:7
↓ 4 callersFunctionisoWeekStart
(value: number)
packages/console/core/script/black-stats.ts:291
↓ 4 callersFunctionjson
(response: HttpClientResponse.HttpClientResponse)
packages/opencode/test/server/project-init-git.test.ts:34
↓ 4 callersFunctionkebab
(value: string)
packages/llm/test/recorded-utils.ts:1
↓ 4 callersFunctionkeybind
()
packages/app/src/components/prompt-input/slash-popover.tsx:273
↓ 4 callersFunctionknownThemes
()
packages/ui/src/theme/context.tsx:40
↓ 4 callersFunctionlabel
(option: ChangeMode)
packages/app/src/pages/session.tsx:1030
↓ 4 callersFunctionlabel
(directory: string)
packages/app/src/pages/layout/sidebar-project.tsx:296
↓ 4 callersFunctionlatestRootSession
(stores: SessionStore[], now: number)
packages/app/src/pages/layout/helpers.ts:34
↓ 4 callersFunctionlegacySessionID
()
packages/opencode/test/project/migrate-global.test.ts:19
↓ 4 callersFunctionlegacySessionServer
( tabs: readonly { type: "session"; server: ServerConnection.Key; sessionId: string }[], sessionID: string
packages/app/src/utils/session-route.ts:19
↓ 4 callersFunctionlist
(args: string[])
packages/core/src/git.ts:435
↓ 4 callersFunctionlist
()
packages/opencode/test/permission/next.test.ts:71
↓ 4 callersFunctionlist
(value: T[] | undefined | null, fallback: T[])
packages/session-ui/src/components/session-turn.tsx:88
↓ 4 callersFunctionlistIn
(directory: string)
packages/opencode/test/provider/provider.test.ts:1868
↓ 4 callersFunctionlistenServer
(handler: TestHandler<E, R>)
packages/opencode/test/server/workspace-proxy.test.ts:26
↓ 4 callersMethodlistenerCount
(event: FocusEvent)
packages/opencode/test/cli/cmd/tui/attention.test.ts:34
↓ 4 callersFunctionlive
(name: string, value: Body<A, E2, R | Scope.Scope>, opts?: number | TestOptions)
packages/opencode/test/lib/effect.ts:77
↓ 4 callersFunctionloadProvidersQuery
(scope: ServerScope, directory: string | null, sdk: OpencodeClient)
packages/app/src/context/global-sync/bootstrap.ts:181
↓ 4 callersFunctionloadWorkspace
(workspaceID: string)
packages/console/support/src/lib/lookup.ts:132
↓ 4 callersFunctionloadWorktree
()
packages/opencode/src/control-plane/adapters/worktree.ts:12
↓ 4 callersFunctionlocaleFromCookieHeader
(header: string | null)
packages/console/app/src/lib/language.ts:296
↓ 4 callersFunctionlookupRows
( files: string[] | undefined, grain: Grain, opts: ImportOptions, map: (row: RawRow, grain: Grain, opt
packages/stats/core/src/honeycomb-backfill.ts:304
↓ 4 callersFunctionmake
(input: Message | Input)
packages/llm/src/schema/messages.ts:203
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-github-copilot.test.ts:29
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-openai.test.ts:31
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-togetherai.test.ts:23
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-google-vertex.test.ts:52
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-venice.test.ts:23
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-cloudflare-workers-ai.test.ts:50
↓ 4 callersFunctionmake
(method: string)
packages/core/test/plugin/provider-cohere.test.ts:24
← previousnext →2,101–2,200 of 12,468, ranked by callers