MCPcopy Create free account

hub / github.com/anomalyco/opencode / functions

Functions12,468 in github.com/anomalyco/opencode

↓ 5 callersFunctionfork
()
packages/app/src/pages/session/use-session-commands.tsx:377
↓ 5 callersFunctionformatDate
(value: Date | null | undefined)
packages/console/core/script/lookup-user.ts:296
↓ 5 callersFunctionformatErrorString
(error: string, label: string)
packages/web/src/components/share/part.tsx:371
↓ 5 callersFunctionformatMicroCents
(value: number)
packages/console/core/script/black-stats.ts:274
↓ 5 callersFunctionformatNumber
(value: number, locale: string)
packages/web/src/components/share/common.tsx:26
↓ 5 callersFunctionformatPromptTooLargeError
(files: { filename: string; content: string }[])
packages/opencode/src/cli/cmd/github.shared.ts:24
↓ 5 callersFunctionformatRetryTime
(seconds: number)
packages/console/app/src/routes/zen/util/handler.ts:811
↓ 5 callersFunctionformatTranscript
( session: SessionInfo, messages: MessageWithParts[], options: TranscriptOptions, )
packages/tui/src/util/transcript.ts:26
↓ 5 callersFunctionformatTrillions
(value: number)
packages/stats/app/src/routes/index.tsx:1562
↓ 5 callersFunctionformatTypescript
(input: string)
packages/core/script/migration.ts:175
↓ 5 callersFunctionget
(id: string)
packages/enterprise/src/core/share.ts:130
↓ 5 callersFunctiongetLegacyTerminalStorageKeys
(dir: string, legacySessionID?: string)
packages/app/src/context/terminal.tsx:92
↓ 5 callersFunctiongetModelColor
(model: string)
packages/console/app/src/routes/workspace/[id]/usage/graph-section.tsx:122
↓ 5 callersFunctiongetMsgParts
(msgId: string)
packages/app/src/pages/session/timeline/message-timeline.tsx:304
↓ 5 callersMethodgetNullCell
()
packages/app/src/addons/serialize.ts:30
↓ 5 callersFunctiongetOpenAIMetadata
(message: { providerOptions?: SharedV3ProviderOptions })
packages/core/src/github-copilot/chat/convert-to-openai-compatible-chat-messages.ts:9
↓ 5 callersFunctiongetRankColor
(key: string, fallbackIndex: number, order: Map<string, number>, colors: readonly string[])
packages/stats/app/src/routes/index.tsx:1550
↓ 5 callersFunctiongetRuntime
()
packages/core/src/effect/runtime.ts:7
↓ 5 callersFunctiongetRuntime
()
packages/opencode/src/effect/run-service.ts:35
↓ 5 callersMethodgetSQL
@internal
packages/effect-drizzle-sqlite/src/sqlite-core/effect/update.ts:351
↓ 5 callersFunctiongetValue
(item: T)
packages/ui/src/components/radio-group.tsx:37
↓ 5 callersMethodgetWidth
()
packages/app/src/addons/serialize.ts:43
↓ 5 callersFunctiongetWorkerPool
(style: WorkerPoolStyle | undefined)
packages/session-ui/src/pierre/worker.ts:35
↓ 5 callersFunctiongitStatus
(args: string[])
packages/opencode/src/cli/cmd/github.handler.ts:462
↓ 5 callersFunctiongithubRequest
(path: string, init: RequestInit, attempt = 0)
script/github/close-prs.ts:295
↓ 5 callersFunctiongoogleMetadata
(metadata: Record<string, unknown>)
packages/llm/src/protocols/gemini.ts:191
↓ 5 callersFunctiongroupParts
(parts: { messageID: string; part: PartType }[])
packages/session-ui/src/components/message-part.tsx:616
↓ 5 callersFunctiongrowOnly
()
packages/ui/src/components/text-reveal.stories.tsx:105
↓ 5 callersFunctiongy
(i: number)
packages/console/app/src/routes/go/index.tsx:114
↓ 5 callersFunctionhandleNotificationClick
(href?: string)
packages/app/src/utils/notification-click.ts:7
↓ 5 callersFunctionhasArg
(name: string)
packages/opencode/src/cli/network.ts:41
↓ 5 callersFunctionhasTheme
(name: string)
packages/tui/src/theme/index.ts:215
↓ 5 callersFunctionheaders
(input: unknown)
packages/core/src/v1/config/provider-options.ts:201
↓ 5 callersFunctionhttpClient
(response: Response, onRequest?: (request: HttpClientRequest.HttpClientRequest) => void)
packages/opencode/test/server/httpapi-ui.test.ts:172
↓ 5 callersFunctionid
()
packages/app/src/components/titlebar-tab-strip.tsx:36
↓ 5 callersFunctionidentifier
()
packages/console/support/src/routes/lookup.tsx:22
↓ 5 callersFunctioninline
(info: Inline)
packages/opencode/src/cli/cmd/run.ts:73
↓ 5 callersFunctioninsertPart
(text: string, part: PromptInfo["parts"][number])
packages/tui/src/component/prompt/autocomplete.tsx:172
↓ 5 callersFunctioninstallStressSessionTabs
(page: Page, input?: { draftID?: string; sessionIDs?: string[] })
packages/app/e2e/performance/timeline/timeline-test-helpers.ts:36
↓ 5 callersFunctionisContextOverflow
(message: string)
packages/llm/src/provider-error.ts:26
↓ 5 callersFunctionisExitCommand
(input: string)
packages/opencode/src/cli/cmd/run/prompt.shared.ts:46
↓ 5 callersFunctionisMcpConfigured
(entry: McpEntry)
packages/opencode/src/mcp/index.ts:120
↓ 5 callersFunctionisMcpRemote
(config: McpEntry)
packages/opencode/src/cli/cmd/mcp.ts:54
↓ 5 callersFunctionisNushell
(shell: string)
packages/desktop/src/main/shell-env.ts:64
↓ 5 callersFunctionisRecord
(value: unknown)
packages/app/src/utils/runtime-adapters.ts:3
↓ 5 callersFunctionisRecord
(value: unknown)
packages/app/src/context/highlights.tsx:21
↓ 5 callersFunctionisRecord
(value: unknown)
packages/app/src/context/server.tsx:30
↓ 5 callersFunctionjson
(req: Parameters<typeof HttpClientResponse.fromWeb>[0], body: unknown, status = 200)
packages/opencode/test/share/share-next.test.ts:25
↓ 5 callersFunctionjson
(response: HttpClientResponse.HttpClientResponse)
packages/opencode/test/server/session-messages.test.ts:84
↓ 5 callersFunctionkey
(scope: ServerScope, directory: string)
packages/app/src/utils/worktree.ts:4
↓ 5 callersFunctionkeyText
(key: KeyLabel, t?: (key: KeyLabel) => string)
packages/app/src/context/command.tsx:35
↓ 5 callersFunctionkind
()
packages/app/src/components/file-tree.tsx:137
↓ 5 callersFunctionlatestTool
(assistant: DraftAssistant | undefined, callID?: string)
packages/core/src/session/message-updater.ts:84
↓ 5 callersFunctionlayer
(list: () => SkillV2.Info[])
packages/core/test/skill/guidance.test.ts:31
↓ 5 callersFunctionlegacySessionHref
(directory: string, sessionID: string)
packages/app/src/utils/session-route.ts:9
↓ 5 callersMethodlistSessions
(params: ListSessionsRequest)
packages/opencode/src/acp/agent.ts:51
↓ 5 callersFunctionlive
(name: string, value: Body<A, E2, R | Scope.Scope>, opts?: number | TestOptions)
packages/llm/test/lib/effect.ts:32
↓ 5 callersFunctionloadDialogSessionList
(input: { search?: string filter: SessionListFilter list: (query: ReturnType<typeof createDialogSessionL
packages/tui/src/component/dialog-session-list.tsx:34
↓ 5 callersFunctionloadOlderTimeline
(input: { sessionID: Accessor<string | undefined> more: Accessor<boolean> loading: Accessor<boolean> l
packages/app/src/pages/session/timeline/model.ts:106
↓ 5 callersFunctionloadPathQuery
(scope: ServerScope, directory: string | null, sdk: OpencodeClient)
packages/app/src/context/global-sync/bootstrap.ts:193
↓ 5 callersFunctionloaded
(messages: SessionV1.WithParts[])
packages/opencode/src/session/instruction.ts:227
↓ 5 callersFunctionlock
(filePath: string)
packages/opencode/src/tool/edit.ts:37
↓ 5 callersFunctionmakeDir
(dir: string)
packages/opencode/test/tool/apply_patch.test.ts:77
↓ 5 callersFunctionmakeTool
(id: string, executeFn?: () => void)
packages/opencode/test/tool/tool-define.test.ts:30
↓ 5 callersFunctionmark
(selected: number)
packages/opencode/src/cli/cmd/run/footer.question.tsx:141
↓ 5 callersFunctionmatches
(prompt: NonNullable<ReturnType<typeof prompts>[number]>, value: Record<string, string>)
packages/app/src/components/dialog-connect-provider.tsx:222
↓ 5 callersFunctionmax
()
packages/app/src/pages/session/terminal-panel.tsx:48
↓ 5 callersFunctionmerge
(a: readonly T[], b: readonly T[])
packages/app/src/context/server-session.ts:95
↓ 5 callersFunctionmergeProvider
(providerID: ProviderV2.ID, provider: Partial<Info>)
packages/opencode/src/provider/provider.ts:1340
↓ 5 callersFunctionmergeProviderOptions
( ...items: ReadonlyArray<ProviderOptions | undefined> )
packages/llm/src/schema/options.ts:39
↓ 5 callersMethodmessage
* Get a message from a session
packages/sdk/js/src/gen/sdk.gen.ts:629
↓ 5 callersFunctionmessageSelector
(id: string)
packages/app/e2e/performance/timeline/first-navigation-benchmark.spec.ts:85
↓ 5 callersFunctionmicrocentsToDollars
(value: number)
packages/stats/core/src/domain/home.ts:993
↓ 5 callersFunctionmockStressTimeline
( page: Page, input?: { onMessages?: (input: { sessionID: string; before?: string; phase: "start" | "end"
packages/app/e2e/performance/timeline/timeline-test-helpers.ts:22
↓ 5 callersFunctionmockTuiRuntime
(dir: string, plugin: PluginSpec[], opts?: { plugin_enabled?: Record<string, boolean> })
packages/opencode/test/fixture/tui-runtime.ts:32
↓ 5 callersFunctionmode
()
packages/tui/src/feature-plugins/system/diff-viewer.tsx:104
↓ 5 callersFunctionmodels
(catalog: Catalog.Draft)
packages/core/test/catalog.test.ts:266
↓ 5 callersFunctionmountEditorContext
(WebSocketImpl?: typeof WebSocket)
packages/opencode/test/cli/tui/editor-context.test.tsx:24
↓ 5 callersFunctionmoveFileTreeSelectionToFirstChild
(rows: readonly FileTreeRow[], selected: number | undefined)
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:129
↓ 5 callersFunctionmoveFileTreeSelectionToParent
(rows: readonly FileTreeRow[], selected: number | undefined)
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:137
↓ 5 callersMethodmoveSession
* Move session * * Move a session to another project directory, optionally transferring local changes.
packages/sdk/js/src/v2/gen/sdk.gen.ts:623
↓ 5 callersFunctionnextSuggestionIndex
(current: number, delta: -1 | 1, count: number)
packages/app/src/components/directory-picker-domain.ts:218
↓ 5 callersFunctionnormalizePromptContent
(content: string)
packages/tui/src/editor.ts:12
↓ 5 callersFunctionnormalizeServerUrl
(input: string)
packages/app/src/context/server.tsx:12
↓ 5 callersFunctionnote
(footer: FooterApi, text: string)
packages/opencode/src/cli/cmd/run/demo.ts:155
↓ 5 callersFunctionnum
(value: unknown)
packages/app/src/context/terminal.tsx:35
↓ 5 callersMethodoauth
* Begin OAuth connection * * Start an OAuth attempt and return the authorization details.
packages/sdk/js/src/v2/gen/sdk.gen.ts:6009
↓ 5 callersFunctionok
(data: T)
packages/opencode/test/cli/run/runtime.test.ts:75
↓ 5 callersFunctionopenAIConfig
(model: ModelsDev.Provider["models"][string], baseURL: string)
packages/opencode/test/session/llm.test.ts:33
↓ 5 callersFunctionopenApiPath
(path: string)
packages/opencode/test/server/httpapi-query-schema-drift.test.ts:115
↓ 5 callersFunctionopenEditor
(input: { value: string; renderer: CliRenderer; cwd?: string; stdin?: EditorStdio })
packages/tui/src/editor.ts:26
↓ 5 callersFunctionoption
(name: string)
packages/llm/script/setup-recording-env.ts:225
↓ 5 callersFunctionoption
(args: string[], name: string)
packages/opencode/test/server/httpapi-exercise/routing.ts:82
↓ 5 callersFunctionout
(result: { text(): string })
packages/opencode/src/git/index.ts:20
↓ 5 callersFunctionoutput
()
packages/tui/src/routes/session/index.tsx:1720
↓ 5 callersFunctionpasteMode
(text: string)
packages/app/src/components/prompt-input/paste.ts:20
↓ 5 callersFunctionpickAttachmentFiles
(input: { picker?: AttachmentPicker directory: () => string fallback: () => void onFile: (file: File)
packages/app/src/components/prompt-input/files.ts:14
↓ 5 callersFunctionpickFocus
(tab: number = store.tab)
packages/app/src/pages/session/composer/session-question-dock.tsx:155
↓ 5 callersFunctionpickerAbsoluteInput
(input: string, home: string, current: string)
packages/app/src/components/directory-picker-domain.ts:77
↓ 5 callersFunctionpickerFileSearchQuery
(root: string, input: string, home: string)
packages/app/src/components/directory-picker-domain.ts:66
← previousnext →1,701–1,800 of 12,468, ranked by callers