MCPcopy Create free account

hub / github.com/anomalyco/opencode / functions

Functions12,468 in github.com/anomalyco/opencode

↓ 6 callersMethodprepareQuery
( query: Query, fields: SelectedFieldsOrdered | undefined, executeMethod: SQLiteExecuteMethod,
packages/effect-drizzle-sqlite/src/effect-sqlite/session.ts:51
↓ 6 callersFunctionprependHistoryEntry
( entries: PromptHistoryStoredEntry[], prompt: Prompt, comments: PromptHistoryComment[] = [], max = MA
packages/app/src/components/prompt-input/history.ts:79
↓ 6 callersFunctionpreviewStatus
( value: string, username: string, password: string, setStatus: (value: boolean | undefined) =
packages/app/src/components/dialog-select-server.tsx:92
↓ 6 callersFunctionproductLabel
(product: UsageProduct | TokenProduct, i18n: ReturnType<typeof useI18n>)
packages/stats/app/src/routes/index.tsx:76
↓ 6 callersFunctionpromptOffsetWidth
(value: string)
packages/tui/src/prompt/display.ts:3
↓ 6 callersFunctionpromptPlaceholder
(input: PromptPlaceholderInput)
packages/app/src/components/prompt-input/placeholder.ts:9
↓ 6 callersFunctionproviderUnavailable
()
packages/core/test/session-runner.test.ts:341
↓ 6 callersFunctionquestion
(id: string, sessionID: string)
packages/app/src/pages/session/composer/session-composer-state.test.ts:18
↓ 6 callersFunctionquestionSetEditing
(state: QuestionBodyState, editing: boolean)
packages/opencode/src/cli/cmd/run/question.shared.ts:125
↓ 6 callersFunctionqueueScroll
(count = 2)
packages/app/src/components/prompt-input.tsx:259
↓ 6 callersFunctionread
(subdir: string, filename: string)
packages/desktop/scripts/finalize-latest-yml.ts:73
↓ 6 callersFunctionread
(sub: string, file: string)
packages/desktop/scripts/finalize-latest-json.ts:95
↓ 6 callersFunctionread
(value: string)
packages/app/src/pages/session/timeline/rows.ts:295
↓ 6 callersFunctionreadCompactionPart
(sessionID: SessionID)
packages/opencode/test/session/compaction.test.ts:285
↓ 6 callersFunctionreadPackageThemes
(spec: string, pkg: PluginPackage)
packages/opencode/src/plugin/shared.ts:238
↓ 6 callersFunctionready
(directory: string)
packages/core/test/filesystem/watcher.test.ts:135
↓ 6 callersFunctionreal
(value: string)
packages/core/test/project.test.ts:23
↓ 6 callersFunctionreasoningSummary
(text: string)
packages/tui/src/context/thinking.ts:12
↓ 6 callersFunctionreduceSessionData
(input: SessionDataInput)
packages/opencode/src/cli/cmd/run/session-data.ts:773
↓ 6 callersFunctionref
(input: string)
script/raw-changelog.ts:46
↓ 6 callersFunctionrefresh
(methodID: Integration.MethodID, value: Pick<Credential.OAuth, "refresh" | "metadata">)
packages/core/src/plugin/provider/openai.ts:209
↓ 6 callersMethodreleasePendingThemes
()
packages/opencode/src/cli/cmd/run/scrollback.surface.ts:115
↓ 6 callersFunctionremap
(root: string, file: string)
packages/opencode/test/storage/storage.test.ts:32
↓ 6 callersFunctionremoveReaction
(commentType?: "issue" | "pr_review")
packages/opencode/src/cli/cmd/github.handler.ts:1205
↓ 6 callersFunctionrender
(input: Secret | Credential)
packages/llm/src/route/auth.ts:131
↓ 6 callersFunctionreq
(input: Partial<QuestionRequest> = {})
packages/opencode/test/cli/run/question.shared.test.ts:15
↓ 6 callersFunctionrequest
(path: string, init?: RequestInit)
packages/opencode/test/server/httpapi-instance.test.ts:126
↓ 6 callersFunctionrequest
(route: string, directory: string, query?: Record<string, string>)
packages/opencode/test/server/httpapi-file.test.ts:12
↓ 6 callersFunctionrequired
(value: T | undefined)
packages/core/test/catalog.test.ts:17
↓ 6 callersFunctionrequired
(value: T | undefined)
packages/core/test/plugin/provider-google-vertex.test.ts:25
↓ 6 callersFunctionresetEdit
()
packages/app/src/components/dialog-select-server.tsx:234
↓ 6 callersFunctionresolveInteractiveStdin
( stdin: NodeJS.ReadStream = process.stdin, open: (path: string) => NodeJS.ReadStream = openTerminalStdin,
packages/opencode/src/cli/cmd/run/runtime.stdin.ts:15
↓ 6 callersFunctionresolveThemeVariantV2
(variant: ThemeVariant, isDark: boolean)
packages/ui/src/theme/v2/resolve.ts:135
↓ 6 callersFunctionresolveUserShell
(envShell: string | undefined, loginShell: string | null | undefined)
packages/desktop/src/main/shell-env.ts:12
↓ 6 callersFunctionresolveVariant
( input: string | undefined, session: string | undefined, saved: string | undefined, variants: string[
packages/opencode/src/cli/cmd/run/variant.shared.ts:97
↓ 6 callersFunctionrestoreWorkspace
(workspace: WorkspaceV2.ID | undefined, fn: () => R)
packages/opencode/src/effect/bridge.ts:14
↓ 6 callersFunctionrevert
(input: { sessionID: string; messageID: string })
packages/app/src/pages/session.tsx:1691
↓ 6 callersFunctionrun
(value: Body<A, E, R | Scope.Scope>, layer: Layer.Layer<R, E2>)
packages/llm/test/lib/effect.ts:11
↓ 6 callersFunctionrun
()
packages/opencode/src/cli/cmd/run/footer.prompt.tsx:986
↓ 6 callersFunctionrun
(effect: Effect.Effect<A, E, SqlClientService>)
packages/effect-drizzle-sqlite/test/sqlite.test.ts:19
↓ 6 callersFunctionrunJob
(job: WslJob, runner: (abort: AbortController) => Promise<T>)
packages/desktop/src/main/wsl/servers.ts:278
↓ 6 callersFunctionruntime
()
packages/opencode/test/server/httpapi-exercise/runtime.ts:20
↓ 6 callersFunctionscrollKey
(event: Pick<KeyboardEvent, "key" | "altKey" | "ctrlKey" | "metaKey" | "shiftKey">)
packages/ui/src/components/scroll-view.tsx:11
↓ 6 callersFunctionscrollToBottom
(force: boolean)
packages/ui/src/hooks/create-auto-scroll.tsx:79
↓ 6 callersFunctionsearchProps
()
packages/ui/src/components/list.tsx:92
↓ 6 callersFunctionselect
(item: ModelItem)
packages/app/src/components/dialog-select-model.tsx:301
↓ 6 callersFunctionselected
()
packages/app/src/components/prompt-workspace-selector.tsx:18
↓ 6 callersFunctionselectedTreePath
(root: string, path: string, mode: "directory" | "file", base?: string)
packages/app/src/components/directory-picker-domain.ts:232
↓ 6 callersFunctionsend
(item: Sse)
packages/opencode/test/lib/llm-server.ts:418
↓ 6 callersFunctionserverHealth
()
packages/app/src/components/status-popover.tsx:89
↓ 6 callersFunctionserverScoped
()
packages/opencode/test/server/worktree-endpoint-repro.test.ts:36
↓ 6 callersFunctionsetEditing
(value: T | null)
packages/session-ui/src/components/line-comment-annotations.tsx:216
↓ 6 callersFunctionsetFileTreeDirectoryExpanded
( tree: FileTree, expanded: ReadonlySet<number>, selected: number | undefined, value: boolean, )
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:205
↓ 6 callersFunctionsetRules
(rules: PermissionV2.Ruleset)
packages/core/test/permission.test.ts:67
↓ 6 callersFunctionsetup
(input?: { currentVersion?: string; ready?: UpdaterReadyRecord })
packages/desktop/src/main/updater-controller.test.ts:4
↓ 6 callersFunctionsetup
()
packages/tui/test/cli/cmd/tui/notifications.test.ts:7
↓ 6 callersFunctionshouldListExpanded
(input: { level: number dir?: { expanded?: boolean; loaded?: boolean; loading?: boolean } })
packages/app/src/components/file-tree.tsx:42
↓ 6 callersFunctionsinglePatchFileIndex
( selected: number | undefined, active: number | undefined, current: number | undefined, first: number
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:169
↓ 6 callersMethodskills
* List skills * * Get a list of all available skills in the OpenCode system.
packages/sdk/js/src/v2/gen/sdk.gen.ts:591
↓ 6 callersFunctionsortedRootSessions
(store: SessionStore, now: number)
packages/app/src/pages/layout/helpers.ts:32
↓ 6 callersFunctionstartsWith
(bytes: Uint8Array, prefix: number[])
packages/core/src/tool/read-filesystem.ts:135
↓ 6 callersFunctionstat
(file: string)
packages/core/src/shell.ts:62
↓ 6 callersFunctionstatusName
(status: Record<string, MCPNS.Status> | MCPNS.Status, server: string)
packages/opencode/test/mcp/lifecycle.test.ts:281
↓ 6 callersFunctionstop
()
packages/ui/src/components/select.tsx:50
↓ 6 callersFunctiont
(key: keyof Dictionary, params?: Record<string, string | number>)
packages/desktop/src/renderer/i18n/index.ts:174
↓ 6 callersFunctiontabHref
(tab: Tab)
packages/app/src/context/tabs.tsx:36
↓ 6 callersFunctionterminalColors
(defaultBackground: string | null, palette: Array<string | null> = [])
packages/tui/test/theme.test.ts:47
↓ 6 callersFunctiontextBg
()
packages/tui/src/component/dialog-retry-action.tsx:44
↓ 6 callersFunctiontextBody
(content: string)
packages/opencode/src/cli/cmd/run/tool.ts:1373
↓ 6 callersFunctiontoNumber
(value: unknown)
packages/console/core/script/black-stats.ts:301
↓ 6 callersFunctiontoStatBaseRow
(data: StatBaseAggregate)
packages/stats/core/src/domain/stat.ts:66
↓ 6 callersMethodtodo
* Get the todo list for a session
packages/sdk/js/src/gen/sdk.gen.ts:513
↓ 6 callersFunctiontoggleFileTreeDirectory
(tree: FileTree, expanded: ReadonlySet<number>, selected: number | undefined)
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:197
↓ 6 callersFunctiontone
(body: ColorInput, start?: ColorInput)
packages/opencode/src/cli/cmd/run/theme.ts:594
↓ 6 callersFunctiontoolCallID
(value: ToolCallID | string)
packages/llm/src/schema/events.ts:234
↓ 6 callersFunctiontoolPart
(parts: SessionV1.Part[])
packages/opencode/test/session/prompt.test.ts:93
↓ 6 callersFunctiontoolUpdated
(part: SessionToolPart)
packages/opencode/test/cli/run/stream.transport.test.ts:325
↓ 6 callersFunctiontr
(translator: Translator | undefined, key: string, text: string, vars?: Record<string, string | number>)
packages/app/src/utils/server-errors.ts:21
↓ 6 callersFunctiontrimSessions
( input: Session[], options: { limit: number; permission: Record<string, PermissionRequest[]>; now?: numbe
packages/app/src/context/global-sync/session-trim.ts:33
↓ 6 callersFunctionuiApp
(input?: { password?: string username?: string client?: Layer.Layer<HttpClient.HttpClient> disableEmbe
packages/opencode/test/server/httpapi-ui.test.ts:89
↓ 6 callersFunctionunique
(values: string[])
packages/app/e2e/smoke/session-timeline.spec.ts:617
↓ 6 callersMethodunrevert
* Restore all reverted messages
packages/sdk/js/src/gen/sdk.gen.ts:695
↓ 6 callersFunctionunwrap
(message: string)
packages/session-ui/src/components/session-turn.tsx:33
↓ 6 callersFunctionupdate
(directory: string)
packages/core/test/location-layer.test.ts:88
↓ 6 callersFunctionupdateUnseen
(scope: "session" | "project", key: string, unseen: Notification[])
packages/app/src/context/notification.tsx:235
↓ 6 callersFunctionusage
(part: (typeof SessionV1.Event.PartUpdated.Type)["data"]["part"] | unknown)
packages/core/src/session/projector.ts:36
↓ 6 callersFunctionuseAuthSession
()
packages/console/app/src/context/auth.ts:28
↓ 6 callersFunctionuser
(content: Message.ContentInput)
packages/llm/test/recorded-scenarios.ts:234
↓ 6 callersFunctionwaitForStableTimeline
(page: Page, lastID: string)
packages/app/e2e/performance/timeline/session-tab-switch-probe.ts:113
↓ 6 callersFunctionwake
(key: Key)
packages/core/src/session/run-coordinator.ts:81
↓ 6 callersFunctionwithEnv
(vars: Record<string, string | undefined>, fx: () => Effect.Effect<A, E, R>)
packages/core/test/plugin/provider-azure.test.ts:28
↓ 6 callersFunctionwithFiles
(files: Record<string, string>, self: (dir: string) => Effect.Effect<A, E, R>)
packages/opencode/test/session/instruction.test.ts:60
↓ 6 callersFunctionwithPath
(input: string, action: (file: string) => unknown)
packages/app/src/context/file.tsx:243
↓ 6 callersFunctionwithProject
( serverPath: ServerPath, options: { git?: boolean config?: Partial<ConfigV1.Info> setup?: (di
packages/opencode/test/server/httpapi-sdk.test.ts:225
↓ 6 callersFunctionwithShell
(shell: string | undefined, fn: () => void | Promise<void>)
packages/core/test/shell.test.ts:7
↓ 6 callersFunctionworkspaceProxyURL
(target: string | URL, requestURL: URL)
packages/opencode/src/server/shared/workspace-routing.ts:31
↓ 6 callersFunctionwrite
( name: string, message: string, extra?: Record<string, unknown>, level: "info" | "warn" | "error" = "
packages/desktop/src/main/logging.ts:75
↓ 6 callersFunctionwrite
(file: string, text: string)
packages/opencode/test/session/revert-compact.test.ts:89
↓ 6 callersFunctionwrite
(key: string, value: string)
packages/ui/src/theme/context.tsx:100
↓ 5 callersFunctionabsolute
(input: string)
packages/core/src/database/path.ts:14
← previousnext →1,501–1,600 of 12,468, ranked by callers