MCPcopy Create free account

hub / github.com/anomalyco/opencode / functions

Functions12,468 in github.com/anomalyco/opencode

↓ 27 callersFunctiontitle
()
packages/opencode/src/cli/cmd/run.ts:450
↓ 27 callersFunctionwithTmp
( init: (dir: string) => Promise<T>, body: (tmp: { path: string; extra: T }) => Effect.Effect<A, E, R>, )
packages/opencode/test/plugin/loader-shared.test.ts:28
↓ 26 callersFunctionassistant
( input: Partial<UsageService.AssistantMessage> & Pick<UsageService.AssistantMessage, "cost">, )
packages/opencode/test/acp/usage.test.ts:11
↓ 26 callersFunctioncreateModel
(opts: { context: number output: number input?: number cost?: Provider.Model["cost"] npm?: string })
packages/opencode/test/session/compaction.test.ts:59
↓ 26 callersFunctionctx
(dir: string)
packages/opencode/test/plugin/install.test.ts:34
↓ 26 callersMethodfork
* Fork an existing session at a specific message
packages/sdk/js/src/gen/sdk.gen.ts:537
↓ 26 callersFunctionfromConfig
(input: Record<string, unknown>)
packages/opencode/test/effect/runtime-flags.test.ts:7
↓ 26 callersFunctioninfo
(data: ToolDict, skip: string[] = [])
packages/opencode/src/cli/cmd/run/tool.ts:175
↓ 26 callersMethodnothrow
* Configure the shell to not throw an exception on non-zero exit codes.
packages/plugin/src/shell.ts:37
↓ 26 callersFunctionuserInfo
(id: string)
packages/opencode/test/session/message-v2.test.ts:64
↓ 26 callersFunctionvalue
()
packages/session-ui/src/components/line-comment-annotations.tsx:378
↓ 26 callersFunctionwithSession
(input?: Parameters<SessionNs.Interface["create"]>[0])
packages/opencode/test/server/session-list.test.ts:23
↓ 26 callersFunctionwithTimeout
(promise: Promise<T>, ms: number, label?: string)
packages/opencode/src/util/timeout.ts:1
↓ 26 callersFunctionworkspaceInfo
(projectID: ProjectV2.ID, type: string, input?: Partial<Workspace.Info>)
packages/opencode/test/control-plane/workspace.test.ts:267
↓ 25 callersFunctionapplyDirectoryEvent
(input: { event: { type: string; properties?: unknown } store: Store<State> setStore: SetStoreFunction<S
packages/app/src/context/global-sync/event-reducer.ts:108
↓ 25 callersFunctionask
(input: Parameters<Permission.Interface["ask"]>[0])
packages/opencode/test/permission/next.test.ts:59
↓ 25 callersMethodchat
(modelId: OpenaiCompatibleModelId)
packages/core/src/github-copilot/copilot-provider.ts:40
↓ 25 callersFunctioncmd
(...args: string[])
packages/core/test/process/process.test.ts:15
↓ 25 callersFunctiondeferredResponse
()
packages/app/src/context/server-session.test.ts:48
↓ 25 callersMethodonClose
(fn: () => void)
packages/opencode/src/cli/cmd/run/footer.ts:378
↓ 25 callersFunctionresume
()
packages/tui/test/editor.test.ts:17
↓ 25 callersFunctionscope
()
packages/app/src/context/prompt.tsx:327
↓ 25 callersFunctionsetSelected
(next: string | null)
packages/ui/src/v2/components/segmented-control-v2.tsx:64
↓ 24 callersMethodclone
(next: Partial<BuilderState<S>>)
packages/opencode/test/server/httpapi-exercise/dsl.ts:132
↓ 24 callersMethodconfig
()
packages/sdk/js/src/v2/gen/sdk.gen.ts:1380
↓ 24 callersFunctioncopied
()
packages/session-ui/src/components/message-part.tsx:1124
↓ 24 callersMethoddispose
* Dispose the addon and clean up resources
packages/app/src/addons/serialize.ts:518
↓ 24 callersFunctionemitPromise
( contract: Contract, options?: { readonly outputTypes?: Readonly<Record<string, { readonly name: stri
packages/httpapi-codegen/src/index.ts:238
↓ 24 callersFunctioneventFeed
()
packages/opencode/test/cli/run/stream.transport.test.ts:143
↓ 24 callersMethodinitialize
(params: InitializeRequest)
packages/opencode/src/acp/agent.ts:35
↓ 24 callersFunctioninsertWorkspace
(info: Workspace.Info)
packages/opencode/test/control-plane/workspace.test.ts:280
↓ 24 callersFunctionmakeCtx
(directory: string)
packages/opencode/test/lsp/jdtls-root.test.ts:14
↓ 24 callersFunctionmakeService
( messages: readonly { info: unknown; parts: readonly unknown[] }[] = [], options?: { abort?: (i
packages/opencode/test/acp/service-session.test.ts:145
↓ 24 callersMethodremoveItem
(key: string)
packages/app/src/utils/persist.test.ts:40
↓ 24 callersFunctionrequestJson
(path: string, init?: RequestInit)
packages/opencode/test/server/httpapi-session.test.ts:226
↓ 24 callersFunctionresponseJson
(response: HttpClientResponse.HttpClientResponse)
packages/opencode/test/server/httpapi-session.test.ts:222
↓ 24 callersFunctionrm
(file: string)
packages/opencode/test/snapshot/snapshot.test.ts:49
↓ 24 callersFunctionshell
(template: string)
packages/opencode/src/config/markdown.ts:12
↓ 24 callersMethodstart
()
packages/opencode/src/acp/event.ts:56
↓ 24 callersFunctiontoJsonSchema
(schema: Schema.Top)
packages/llm/src/tool.ts:232
↓ 24 callersFunctiontoolCommit
(input: { tool: string phase: StreamCommit["phase"] toolState?: StreamCommit["toolState"] text?: strin
packages/opencode/test/cli/run/scrollback.surface.test.ts:234
↓ 24 callersFunctionwriteText
(filepath: string, content: string)
packages/opencode/test/tool/apply_patch.test.ts:76
↓ 23 callersFunctionbuildFileTree
(files: readonly FileTreeItem[])
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:34
↓ 23 callersFunctioncreatePlugTask
(input: PlugInput, dep: PlugDeps = defaultPlugDeps)
packages/opencode/src/cli/cmd/plug.ts:70
↓ 23 callersFunctioncreateTuiAttention
(input: { renderer: AttentionRenderer config: Pick<TuiConfig.Resolved, "attention"> kv?: TuiKV audio?:
packages/tui/src/attention.ts:114
↓ 23 callersFunctioncreateWebSocketServer
(onConnection: (socket: WebSocket, request: IncomingMessage) => void)
packages/opencode/test/plugin/openai-ws.test.ts:802
↓ 23 callersFunctiondispose
(key: string, entry: Entry<T>)
packages/app/src/utils/scoped-cache.ts:17
↓ 23 callersMethodemit
(event: FocusEvent)
packages/opencode/test/cli/cmd/tui/attention.test.ts:30
↓ 23 callersFunctionexpanded
()
packages/app/src/components/file-tree.tsx:390
↓ 23 callersFunctionfinishChunk
(reason: string)
packages/llm/test/lib/openai-chunks.ts:21
↓ 23 callersMethodinput
(model: Model)
packages/llm/src/schema/options.ts:205
↓ 23 callersMethodisInstance
(input: unknown)
packages/opencode/src/provider/provider.ts:1099
↓ 23 callersFunctionmake
(permission?: string)
packages/core/test/session-runner-tool-registry.test.ts:50
↓ 23 callersFunctionmessages
(sessionID)
packages/tui/src/plugin/adapters.tsx:134
↓ 23 callersFunctionparse
(schema: S, input: unknown)
packages/opencode/test/tool/parameters.test.ts:29
↓ 23 callersFunctionpersisted
( target: string | PersistTarget, store: [Store<T>, SetStoreFunction<T>], )
packages/app/src/utils/persist.ts:553
↓ 23 callersFunctionset
(k: string, v: string)
packages/opencode/test/provider/amazon-bedrock.test.ts:20
↓ 23 callersFunctiontext
(v: unknown)
packages/opencode/src/cli/cmd/run/tool.ts:155
↓ 22 callersFunctionapp
()
packages/opencode/test/server/httpapi-pty.test.ts:45
↓ 22 callersFunctionassistantInfo
( id: string, parentID: string, error?: SessionV1.Assistant["error"], meta?: { providerID: string; mod
packages/opencode/test/session/message-v2.test.ts:77
↓ 22 callersFunctionclaim
(renderer: TestRenderer)
packages/opencode/test/cli/run/scrollback.surface.test.ts:27
↓ 22 callersFunctionconfig
(attention: Partial<AttentionConfig["attention"]> = {})
packages/opencode/test/cli/cmd/tui/attention.test.ts:85
↓ 22 callersFunctionentries
(values: string[], kind: string)
packages/opencode/src/cli/cmd/mcp.ts:475
↓ 22 callersFunctionflattenFileTree
(tree: FileTree, expanded?: ReadonlySet<number>)
packages/tui/src/feature-plugins/system/diff-viewer-file-tree-utils.ts:76
↓ 22 callersFunctionisRecord
(value: unknown)
packages/llm/src/utils/record.ts:2
↓ 22 callersFunctionjs
(code: string, opts?: ChildProcess.CommandOptions)
packages/core/test/effect/cross-spawn-spawner.test.ts:15
↓ 22 callersMethodlimit
(limit: number | Placeholder)
packages/effect-drizzle-sqlite/src/sqlite-core/effect/update.ts:334
↓ 22 callersFunctionprovideInstanceEffect
(directory: string)
packages/opencode/test/fixture/fixture.ts:174
↓ 22 callersFunctionroot
()
packages/core/src/util/flock.ts:19
↓ 22 callersFunctionrun
(input: { file: string; spec: string; target: string; id: string })
packages/opencode/test/plugin/meta.test.ts:14
↓ 22 callersFunctionseed
(url: string, org?: string)
packages/opencode/test/share/share-next.test.ts:67
↓ 22 callersFunctionselected
()
packages/tui/src/context/local.tsx:363
↓ 22 callersMethodshell
* Run a shell command
packages/sdk/js/src/gen/sdk.gen.ts:667
↓ 22 callersFunctionwriteAndWait
(term: Terminal, data: string)
packages/app/src/addons/serialize.test.ts:33
↓ 21 callersFunctionargs
(cmd: string[])
packages/opencode/src/snapshot/index.ts:75
↓ 21 callersFunctioncallback
(_error, updates)
packages/core/src/filesystem/watcher.ts:86
↓ 21 callersFunctioncreateTerminal
(cols = 80, rows = 24)
packages/app/src/addons/serialize.test.ts:20
↓ 21 callersFunctiondeps
(global: string, target: string | Error)
packages/opencode/test/plugin/install.test.ts:9
↓ 21 callersFunctiongit
(cwd: string, ...args: string[])
packages/core/test/fixture/git.ts:47
↓ 21 callersFunctioninfo
()
packages/app/src/pages/session/use-session-commands.tsx:73
↓ 21 callersFunctionjson
(req: Parameters<typeof HttpClientResponse.fromWeb>[0], body: unknown, status = 200)
packages/opencode/test/account/service.test.ts:41
↓ 21 callersMethodnext
* Get the next TUI request from the queue
packages/sdk/js/src/gen/sdk.gen.ts:1004
↓ 21 callersFunctionplugin
( dir: string, kinds?: Array<"server" | "tui">, opts?: { server?: Record<string, unknown> tui?:
packages/opencode/test/plugin/install.test.ts:58
↓ 21 callersMethodproviders
* List all providers
packages/sdk/js/src/gen/sdk.gen.ts:365
↓ 21 callersMethodretryable
()
packages/llm/src/schema/errors.ts:181
↓ 21 callersFunctionround
(value: number, digits: number)
packages/stats/core/src/domain/home.ts:1008
↓ 21 callersFunctionrun
(db: DatabaseService, event: SessionEvent.Event)
packages/core/src/session/projector.ts:112
↓ 21 callersFunctionsearch
(items: T[], target: string, key: (item: T) => string)
packages/tui/src/context/sync.tsx:41
↓ 21 callersFunctionserverKey
()
packages/app/src/context/prompt.tsx:325
↓ 20 callersFunctionassistantMessage
(input: { sessionID: string; id: string; parts: SessionMessage["parts"] })
packages/opencode/test/cli/run/stream.transport.test.ts:189
↓ 20 callersFunctionbool
(name: string)
packages/opencode/src/effect/runtime-flags.ts:4
↓ 20 callersFunctioncurrent
()
packages/app/src/context/local.tsx:183
↓ 20 callersFunctiondecode64
(value: string | undefined)
packages/app/src/utils/base64.ts:3
↓ 20 callersFunctiondestroy
(commits: ClaimedCommit[])
packages/opencode/test/cli/run/scrollback.surface.test.ts:56
↓ 20 callersFunctionentryBody
(commit: StreamCommit)
packages/opencode/src/cli/cmd/run/entry.body.ts:165
↓ 20 callersFunctiongetDirectory
(path: string | undefined)
packages/core/src/util/path.ts:8
↓ 20 callersMethodgetFgColor
()
packages/app/src/addons/serialize.ts:46
↓ 20 callersFunctiongetStore
(name = SETTINGS_STORE)
packages/desktop/src/main/store.ts:13
↓ 20 callersFunctionload
(dir: string, flags?: Parameters<typeof RuntimeFlags.layer>[0])
packages/opencode/test/plugin/loader-shared.test.ts:39
↓ 20 callersFunctionmentionTriggerIndex
(value: string, offset = promptOffsetWidth(value))
packages/tui/src/prompt/display.ts:38
← previousnext →301–400 of 12,468, ranked by callers