MCPcopy Create free account

hub / github.com/anomalyco/opencode / functions

Functions12,468 in github.com/anomalyco/opencode

↓ 5 callersFunctionactive
()
packages/app/src/components/directory-picker-domain.ts:366
↓ 5 callersFunctionactive
()
packages/session-ui/src/components/tool-count-summary.stories.tsx:71
↓ 5 callersFunctionactiveTreeNavigation
(request: number, current: number)
packages/app/src/components/directory-picker-domain.ts:137
↓ 5 callersFunctionaddPart
(part: ContentPart)
packages/app/src/components/prompt-input.tsx:1091
↓ 5 callersFunctionaddSubtask
(sessionID: SessionID, messageID: MessageID, model = ref)
packages/opencode/test/session/prompt.test.ts:420
↓ 5 callersFunctionagentHost
(agent: AgentV2.Interface)
packages/core/test/plugin/host.ts:55
↓ 5 callersFunctionanimating
()
packages/session-ui/src/components/tool-status-title.tsx:44
↓ 5 callersFunctionassistant
(value: string, content: SessionMessage.Assistant["content"])
packages/core/test/session-runner-message.test.ts:18
↓ 5 callersFunctionassistant
( id: string, tokens: { input: number; output: number; reasoning: number; read: number; write: number },
packages/app/src/components/session/session-context-metrics.test.ts:5
↓ 5 callersFunctionattachmentMime
(file: File)
packages/app/src/components/prompt-input/files.ts:85
↓ 5 callersFunctionauthFromToken
(token: string | null)
packages/app/src/utils/server.ts:9
↓ 5 callersMethodauthenticate
(params: AuthenticateRequest)
packages/opencode/src/acp/agent.ts:39
↓ 5 callersFunctionbody
(input: unknown)
packages/core/src/v1/config/provider-options.ts:170
↓ 5 callersFunctionbooleanValue
(value: unknown)
packages/stats/app/src/routes/model-catalog.ts:301
↓ 5 callersFunctionbootstrapSessionData
(input: { data: SessionData messages: Array<{ parts: Part[] }> permissions: PermissionRequest[]
packages/opencode/src/cli/cmd/run/session-data.ts:283
↓ 5 callersFunctionbtn
(accent?: boolean)
packages/ui/src/components/text-reveal.stories.tsx:37
↓ 5 callersFunctionbuildRemote
(input: { host: string; segments: string[]; remote?: string; protocol?: string })
packages/core/src/repository.ts:174
↓ 5 callersFunctionbuildRemoteReference
(input: { host: string; segments: string[]; remote?: string; protocol?: string })
packages/opencode/src/util/repository.ts:105
↓ 5 callersFunctioncacheSet
(key: string, value: string)
packages/app/src/utils/persist.ts:55
↓ 5 callersFunctioncallback
()
packages/console/app/src/routes/temp.tsx:27
↓ 5 callersFunctioncanDisposeDirectory
(input: DisposeCheck)
packages/app/src/context/global-sync/eviction.ts:21
↓ 5 callersFunctioncap
(ms: number)
packages/opencode/src/session/retry.ts:31
↓ 5 callersFunctioncaptureGlobalEvents
()
packages/opencode/test/control-plane/workspace.test.ts:136
↓ 5 callersFunctioncategory
(sample: CachedRepaintTrace["samples"][number])
packages/app/e2e/performance/timeline/session-tab-repaint-probe.ts:194
↓ 5 callersFunctionchat
(message: string, files: PromptFiles = [])
packages/opencode/src/cli/cmd/github.handler.ts:889
↓ 5 callersFunctionchecksPortable
(checks: SchemaAST.Checks | undefined)
packages/httpapi-codegen/src/index.ts:858
↓ 5 callersFunctionchild
(root: BoxRenderable | RootRenderable, index: number)
packages/opencode/test/cli/run/footer.view.test.tsx:251
↓ 5 callersFunctionchildSessionOnPath
(sessions: Session[] | undefined, rootID: string, activeID?: string)
packages/app/src/pages/layout/helpers.ts:44
↓ 5 callersFunctioncleanPickerInput
(value: string)
packages/app/src/components/directory-picker-domain.ts:252
↓ 5 callersMethodclearExitTimer
()
packages/opencode/src/cli/cmd/run/footer.ts:943
↓ 5 callersFunctionclearOverlay
()
packages/session-ui/src/pierre/file-find.ts:130
↓ 5 callersFunctionclearPrependAnchor
()
packages/app/src/pages/session/timeline/message-timeline.tsx:341
↓ 5 callersFunctionclonePromptParts
(prompt: Prompt)
packages/app/src/components/prompt-input/history.ts:34
↓ 5 callersFunctioncmd
(dir: string, name: string, exec = true)
packages/core/test/util/which.test.ts:7
↓ 5 callersFunctioncoalesceServerEvents
(events: QueuedServerEvent[])
packages/app/src/context/server-sdk.tsx:40
↓ 5 callersFunctioncollectStream
(stream: Stream.Stream<Uint8Array, PlatformError>, maxOutputBytes: number | undefined)
packages/core/src/process.ts:121
↓ 5 callersFunctioncombineRowsForModel
(model: string, rows: StatMetricRow[])
packages/stats/core/src/domain/home.ts:719
↓ 5 callersFunctioncommand
(command: string, args: string[] = [], input?: string)
packages/tui/src/clipboard.ts:9
↓ 5 callersFunctioncommentOnPR
(prNumber: number, reason: string)
script/beta.ts:21
↓ 5 callersFunctioncompact
(input: Record<string, string | undefined>)
packages/core/src/v1/config/provider-options.ts:208
↓ 5 callersFunctionconfigureSmokePage
(page: Page, directory: string)
packages/app/e2e/smoke/session-timeline.spec.ts:356
↓ 5 callersFunctionconnection
(updates: SessionNotification[])
packages/opencode/test/acp/usage.test.ts:122
↓ 5 callersFunctioncontainsPath
(filepath: string, ctx: InstanceContext)
packages/opencode/src/project/instance-context.ts:18
↓ 5 callersFunctioncontent
()
packages/tui/src/routes/session/permission.tsx:631
↓ 5 callersFunctioncontentWidth
()
packages/tui/src/component/error-component.tsx:95
↓ 5 callersFunctioncontext
(args: Record<string, unknown>, options: ToolExecutionOptions)
packages/opencode/src/session/tools.ts:56
↓ 5 callersFunctioncost
(input: ModelsDev.Model["cost"])
packages/core/src/plugin/models-dev.ts:13
↓ 5 callersFunctioncostPerMillion
(costMicrocents: number, tokens: number)
packages/stats/core/src/domain/home.ts:988
↓ 5 callersFunctioncount
()
packages/tui/src/plugin/adapters.tsx:120
↓ 5 callersFunctioncreate
(prefix: string, direction: "descending" | "ascending", timestamp?: number)
packages/opencode/src/id/id.ts:51
↓ 5 callersFunctioncreateAssistantMessage
(sessionID: SessionID, parentID: MessageID, root: string)
packages/opencode/test/session/compaction.test.ts:113
↓ 5 callersFunctioncreateChildStoreManager
(input: { owner: Owner scope: ServerScope persist: typeof persisted isBooting: (directory: string) =>
packages/app/src/context/global-sync/child-store.ts:23
↓ 5 callersFunctioncreateLocalWorkspace
(input: { projectID: Project.Info["id"]; type: string; directory: string })
packages/opencode/test/server/httpapi-instance-context.test.ts:65
↓ 5 callersFunctioncreatePickedFileAuthorizations
( read: (path: string, maxBytes: number) => Promise<ArrayBuffer> = readAttachment, budget = MAX_ATTACHMENT
packages/desktop/src/main/attachment-picker.ts:6
↓ 5 callersFunctioncreatePromptAttachmentsCore
(input: PromptAttachmentsCoreInput)
packages/app/src/components/prompt-input/attachments.ts:52
↓ 5 callersFunctioncreatePromptHistory
(items?: RunPrompt[])
packages/opencode/src/cli/cmd/run/prompt.shared.ts:55
↓ 5 callersFunctioncreateScopedCache
(createValue: (key: string) => T, options: ScopedCacheOptions<T> = {})
packages/app/src/utils/scoped-cache.ts:13
↓ 5 callersFunctioncreateServerProjects
(input: { scope: Accessor<ServerScope> store: Store<T> setStore: SetStoreFunction<T> })
packages/app/src/context/server.tsx:68
↓ 5 callersFunctioncreateSession
(messages: SessionMessages)
packages/opencode/src/cli/cmd/run/session.shared.ts:145
↓ 5 callersFunctioncreateSummaryCompaction
(sessionID: SessionID)
packages/opencode/test/session/compaction.test.ts:281
↓ 5 callersFunctioncreateWebSocketImpl
(...sockets: FakeWebSocket[])
packages/opencode/test/cli/tui/editor-context.test.tsx:56
↓ 5 callersFunctioncreateWorktreeScoped
(input: { server: TestServer directory: string path: string init: RequestInit timeoutLabel: string
packages/opencode/test/server/worktree-endpoint-repro.test.ts:110
↓ 5 callersFunctioncreateWslServersController
( appVersion: string, spawnSidecar: SpawnSidecar, options?: WslServersControllerOptions, )
packages/desktop/src/main/wsl/servers.ts:61
↓ 5 callersFunctioncurrentSubagentState
()
packages/opencode/src/cli/cmd/run/stream.transport.ts:463
↓ 5 callersFunctioncustomUpdate
(value: string, selected: boolean = on())
packages/app/src/pages/session/composer/session-question-dock.tsx:111
↓ 5 callersFunctioncycleVariant
(current: string | undefined, variants: string[])
packages/opencode/src/cli/cmd/run/variant.shared.ts:61
↓ 5 callersFunctiondata
(validate: (value: any) => void)
packages/opencode/test/server/httpapi-exercise/index.ts:44
↓ 5 callersFunctiondecodeUtf8
(resource: string, decoder: TextDecoder, bytes?: Uint8Array)
packages/core/src/tool/read-filesystem.ts:153
↓ 5 callersMethoddelete
* Delete a session and all its data
packages/sdk/js/src/gen/sdk.gen.ts:469
↓ 5 callersFunctiondestroyRenderer
(renderer: Pick<CliRenderer, "isDestroyed" | "setTerminalTitle" | "destroy">)
packages/tui/src/util/renderer.ts:3
↓ 5 callersFunctiondim
(value: string)
packages/opencode/src/cli/cmd/account.ts:14
↓ 5 callersFunctiondirect
(options: Options, extraKeys: ReadonlyArray<string> = [])
packages/core/src/v1/config/provider-options.ts:162
↓ 5 callersFunctiondirectoryAcceptKey
(directory: string)
packages/app/src/context/permission-auto-respond.ts:8
↓ 5 callersFunctiondisplayCharAt
(value: string, offset: number)
packages/tui/src/prompt/display.ts:29
↓ 5 callersFunctiondispose
()
packages/app/src/context/global-sync/queue.ts:81
↓ 5 callersFunctiondisposeCopyButtons
(root: Element)
packages/session-ui/src/components/markdown.tsx:164
↓ 5 callersFunctiondropSessionCaches
(store: SessionCache, sessionIDs: Iterable<string>)
packages/app/src/context/global-sync/session-cache.ts:24
↓ 5 callersFunctionduration
(input: number)
packages/tui/src/util/locale.ts:39
↓ 5 callersFunctionduration
()
packages/ui/src/components/thinking-heading.stories.tsx:582
↓ 5 callersFunctioneditorSelectionKey
(selection: EditorSelection | undefined)
packages/tui/src/context/editor.ts:376
↓ 5 callersFunctioneffectiveWorkspaceOrder
(local: string, dirs: string[], persisted?: string[])
packages/app/src/pages/layout/helpers.ts:127
↓ 5 callersFunctionenqueueServerEvent
(queue: QueuedServerEvent[], event: QueuedServerEvent)
packages/app/src/context/server-sdk.tsx:29
↓ 5 callersFunctionenvValue
(...names: string[])
packages/opencode/test/session/llm-native-recorded.test.ts:68
↓ 5 callersFunctionexists
(path: string)
packages/desktop/src/main/apps.ts:8
↓ 5 callersFunctionexpanded
()
packages/app/src/pages/session/timeline/message-timeline.tsx:151
↓ 5 callersFunctionexpectCrlf
(content: string)
packages/opencode/test/tool/edit.test.ts:365
↓ 5 callersFunctionexpectLf
(content: string)
packages/opencode/test/tool/edit.test.ts:359
↓ 5 callersFunctionexpectOpenAIResponsesRequest
(input: { readonly history: NativeRequestInput["messages"] readonly providerOptions?: NativeRequestInput["
packages/opencode/test/session/llm-native.test.ts:132
↓ 5 callersFunctionexpectStatus
(request: () => Promise<{ response: Response }>, status: number)
packages/opencode/test/server/httpapi-sdk.test.ts:135
↓ 5 callersFunctionexpectToolOutput
(body: OpenAIResponses.OpenAIResponsesBody)
packages/llm/test/provider/openai-responses.test.ts:34
↓ 5 callersFunctionfailureText
(exit: Exit.Exit<unknown, unknown>)
packages/http-recorder/test/record-replay.test.ts:59
↓ 5 callersFunctionfakeLayer
(calls: string[])
packages/opencode/test/acp/directory.test.ts:86
↓ 5 callersFunctionfakeSelectorSdk
(calls: string[])
packages/core/test/plugin/provider-azure.test.ts:49
↓ 5 callersFunctionfetch
(requestInput: RequestInfo | URL, init?: RequestInit)
packages/opencode/src/plugin/openai/codex.ts:334
↓ 5 callersFunctionfg
()
packages/tui/src/routes/session/index.tsx:1643
↓ 5 callersFunctionfileFromDiffPath
(value: string | undefined)
packages/opencode/src/project/vcs.ts:57
↓ 5 callersFunctionfilenameFromUri
(uri: string | undefined)
packages/opencode/src/acp/content.ts:259
↓ 5 callersFunctionfindLast
( items: readonly T[], predicate: (item: T, index: number, items: readonly T[]) => boolean, )
packages/core/src/util/array.ts:1
↓ 5 callersFunctionflattenSelectOptions
(option: Extract<SessionConfigOption, { type: "select" }>)
packages/opencode/test/cli/acp/acp-test-client.ts:85
↓ 5 callersFunctionforceRemove
(target: string)
packages/core/src/util/effect-flock.ts:114
← previousnext →1,601–1,700 of 12,468, ranked by callers