Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/can1357/oh-my-pi
/ functions
Functions
28,097 in github.com/can1357/oh-my-pi
⨍
Functions
28,097
◇
Types & classes
6,439
↳
Endpoints
39
↓ 8,935 callers
Method
push
(text: string)
packages/coding-agent/src/tts/tts-client.ts:60
↓ 6,970 callers
Method
join
(link: string)
packages/coding-agent/src/collab/guest.ts:220
↓ 3,974 callers
Method
map
Maps payload into provider models.
packages/catalog/src/model-manager.ts:23
↓ 2,950 callers
Method
slice
Slice `text` to its first `units` graphemes. Memoized across reveal ticks: * streaming blocks grow only by appending and the reveal target advances
packages/coding-agent/src/modes/controllers/streaming-reveal.ts:98
↓ 2,903 callers
Function
describe
(_info: MutationInfo)
packages/typescript-edit-benchmark/src/mutations.ts:240
↓ 2,455 callers
Method
trim
()
packages/utils/src/ptree.ts:113
↓ 2,106 callers
Method
filter
(self, record: logging.LogRecord)
python/robomp/src/logging_config.py:123
↓ 2,048 callers
Method
join
(...paths: string[])
packages/utils/src/temp.ts:48
↓ 2,012 callers
Method
fg
(color: string, text: string)
packages/coding-agent/src/extensibility/legacy-pi-coding-agent-shim.ts:52
↓ 1,995 callers
Method
get
(key: string)
packages/ai/src/auth-storage.ts:597
↓ 1,946 callers
Method
get
(key: "edit.mode")
packages/coding-agent/src/utils/edit-mode.ts:35
↓ 1,564 callers
Method
find
* Find a model by provider and ID.
packages/coding-agent/src/config/model-registry.ts:1871
↓ 1,366 callers
Method
resolve
(value: unknown)
packages/coding-agent/src/eval/js/worker-core.ts:7
↓ 1,283 callers
Method
addChild
(component: Component)
packages/tui/src/tui.ts:524
↓ 1,263 callers
Method
replace
* Replace the in-memory buffer with the given text. Used when an upstream * minimizer rewrites the captured output after the raw bytes have already
packages/coding-agent/src/session/streaming-output.ts:1123
↓ 1,207 callers
Method
set
(key: string, value: string)
packages/coding-agent/src/session/redis-session-storage.ts:19
↓ 1,164 callers
Method
now
()
packages/tui/src/tui.ts:97
↓ 1,113 callers
Method
execute
Execute one cell. Caller invokes once per cell and aggregates results.
packages/coding-agent/src/eval/backend.ts:56
↓ 1,106 callers
Method
now
()
packages/coding-agent/src/goals/runtime.ts:18
↓ 1,078 callers
Method
write
(data: string | Uint8Array)
packages/coding-agent/src/dap/client.ts:32
↓ 991 callers
Function
str
(key: string)
packages/ai/src/usage/openai-codex-reset.ts:103
↓ 914 callers
Method
has
Check if a blob exists.
packages/coding-agent/src/session/blob-store.ts:167
↓ 840 callers
Method
parse
* Parse `input` into a {@link Patch}. `options.cwd` resolves absolute * paths inside headers to cwd-relative form; `options.path` provides a * fal
packages/hashline/src/input.ts:409
↓ 835 callers
Method
append
* Append one newline-terminated line. File and memory storage perform the * write synchronously in-body; indexed backends queue in call order. *
packages/coding-agent/src/session/session-storage.ts:22
↓ 801 callers
Method
path
()
packages/coding-agent/src/config/config-file.ts:59
↓ 746 callers
Method
add
(prompt: string, cwd?: string)
packages/tui/src/components/editor.ts:367
↓ 739 callers
Method
mkdir
(path: string)
packages/coding-agent/src/edit/modes/patch.ts:77
↓ 695 callers
Method
isolated
* Create an isolated instance for testing. * Does not affect the global singleton.
packages/coding-agent/src/config/settings.ts:324
↓ 685 callers
Method
run
(...params: SqlValue[])
packages/mnemopi/src/core/annotations.ts:114
↓ 642 callers
Method
text
()
packages/utils/src/ptree.ts:227
↓ 632 callers
Function
type
(component: HistorySearchComponent, text: string)
packages/coding-agent/test/modes/components/history-search.test.ts:38
↓ 578 callers
Method
result
()
packages/ai/src/utils/event-stream.ts:116
↓ 574 callers
Function
getBundledModel
(provider: GeneratedProvider, modelId: string)
packages/catalog/src/models.ts:32
↓ 574 callers
Method
set
(key: string, entry: UsageCacheEntry<T>)
packages/ai/src/auth-storage.ts:599
↓ 562 callers
Method
delete
(path: string)
packages/coding-agent/src/edit/modes/patch.ts:76
↓ 503 callers
Method
warn
(message: string, meta?: Record<string, unknown>)
packages/ai/src/usage.ts:250
↓ 492 callers
Method
sleep
(dryRun = false)
packages/mnemopi/src/core/memory.ts:506
↓ 483 callers
Method
render
()
packages/coding-agent/test/modes/components/hook-selector-slider.test.ts:20
↓ 478 callers
Method
text
(self)
packages/coding-agent/src/eval/py/runner.py:524
↓ 470 callers
Method
handleInput
* Optional handler for keyboard input when component has focus
packages/tui/src/tui.ts:152
↓ 462 callers
Function
buildModel
(spec: ModelSpec<TApi>)
packages/catalog/src/build.ts:19
↓ 446 callers
Method
create
* Create a TaskTool instance with async agent discovery.
packages/coding-agent/src/task/index.ts:566
↓ 411 callers
Method
appendMessage
* Append a message as a child of the current leaf, then advance the leaf. * CompactionSummaryMessage / BranchSummaryMessage are rejected here — they
packages/coding-agent/src/session/session-manager.ts:1339
↓ 388 callers
Method
close
Close the transport
packages/coding-agent/src/mcp/types.ts:233
↓ 378 callers
Function
visibleWidth
(str: string)
packages/tui/src/utils.ts:249
↓ 370 callers
Method
render
* Render the component to an array of physical rows at the given width. * The result is component-owned and `readonly` to the caller; an unchanged
packages/tui/src/tui.ts:147
↓ 356 callers
Method
handleInput
(data: string)
packages/coding-agent/src/modes/setup-wizard/scenes/types.ts:42
↓ 348 callers
Method
exists
(path: string)
packages/coding-agent/src/edit/modes/patch.ts:72
↓ 345 callers
Method
prompt
(input: string)
packages/coding-agent/src/advisor/runtime.ts:15
↓ 343 callers
Method
prepare
* Read a section's target file, parse the section, validate the snapshot * tag (with recovery), and apply the edits in memory. Returns a * {@link
packages/hashline/src/patcher.ts:281
↓ 341 callers
Method
dispose
Dispose of any resources (e.g., LSP connection)
packages/coding-agent/src/lsp/types.ts:317
↓ 337 callers
Method
createSync
(prefix?: string)
packages/utils/src/temp.ts:12
↓ 336 callers
Method
debug
(message: string, meta?: Record<string, unknown>)
packages/ai/src/usage.ts:249
↓ 335 callers
Method
writeFile
(rawPath: string, data: unknown)
packages/coding-agent/src/eval/js/shared/helpers.ts:35
↓ 332 callers
Method
abort
(reason?: unknown)
packages/coding-agent/src/advisor/runtime.ts:16
↓ 326 callers
Method
inMemory
* Create an in-memory keybindings manager without file persistence.
packages/coding-agent/src/config/keybindings.ts:526
↓ 321 callers
Method
exec
* Execute a shell command and return stdout/stderr/code. * Supports timeout and abort signal.
packages/coding-agent/src/extensibility/hooks/types.ts:582
↓ 320 callers
Method
strip
(line: string)
packages/tui/test/render-stress-harness.ts:2676
↓ 315 callers
Method
stop
()
packages/tui/src/terminal.ts:319
↓ 313 callers
Function
range
Commits in `base..head`, oldest first.
packages/coding-agent/src/utils/git.ts:1439
↓ 308 callers
Function
str
(value: unknown)
packages/collab-web/src/tool-render/util.ts:12
↓ 299 callers
Method
toString
()
packages/coding-agent/src/task/agents.ts:84
↓ 298 callers
Method
setText
Set the text content
packages/tui/src/editor-component.ts:20
↓ 291 callers
Method
existsSync
(path: string)
packages/coding-agent/src/session/session-storage.ts:45
↓ 280 callers
Method
start
(onInput: (data: string) => void, onResize: () => void)
packages/tui/src/terminal.ts:316
↓ 273 callers
Method
values
()
packages/coding-agent/test/extension-flag-dispatch.test.ts:7
↓ 272 callers
Method
exit
Resolve the process `exited` promise and close stdout.
packages/coding-agent/test/tools/lsp-regressions.test.ts:60
↓ 270 callers
Function
truncateToWidth
( text: string, maxWidth: number, ellipsisKind?: Ellipsis | null | "", pad?: boolean | null, )
packages/tui/src/utils.ts:109
↓ 268 callers
Method
clear
(sessionKey: string)
packages/coding-agent/src/autoresearch/types.ts:150
↓ 263 callers
Method
error
()
packages/coding-agent/src/dap/client.ts:203
↓ 257 callers
Method
init
(options?: InteractiveModeInitOptions)
packages/coding-agent/src/modes/types.ts:213
↓ 256 callers
Method
bold
(text: string)
packages/coding-agent/src/extensibility/legacy-pi-coding-agent-shim.ts:53
↓ 256 callers
Function
createMockModel
(options: MockModelOptions = {})
packages/ai/src/providers/mock.ts:232
↓ 256 callers
Function
matchesKey
(data: string, keyId: KeyId)
packages/tui/src/keys.ts:547
↓ 254 callers
Method
entries
Snapshot every registered entry in insertion (id) order.
packages/coding-agent/src/tools/conflict-detect.ts:220
↓ 254 callers
Function
resetSettingsForTest
()
packages/coding-agent/src/config/settings.ts:1506
↓ 252 callers
Method
toString
()
packages/utils/src/temp.ts:44
↓ 250 callers
Method
has
(key: K)
packages/mnemopi/src/util/lru.ts:13
↓ 249 callers
Method
requestRender
Force a redraw after async edits to the composer (live segment/preview inserts).
packages/coding-agent/src/stt/stt-controller.ts:28
↓ 245 callers
Method
describe
(info: MutationInfo)
packages/typescript-edit-benchmark/src/mutations.ts:33
↓ 245 callers
Function
removeWithRetries
(target: string)
packages/coding-agent/src/mnemopi/backend.ts:596
↓ 245 callers
Function
sum
(list: ReportRow[], pick: (r: ReportRow) => number)
scripts/eval-bench-runs.ts:454
↓ 238 callers
Method
requestRender
Schedule a repaint of the transcript.
packages/coding-agent/src/modes/components/chat-block.ts:9
↓ 236 callers
Method
next
()
packages/tui/test/render-stress-harness.ts:485
↓ 233 callers
Method
clear
Wipe all persisted state for this backend (slash `/memory clear`).
packages/coding-agent/src/memory-backend/types.ts:118
↓ 224 callers
Method
query
(subject?: string, predicate?: string, asOf?: string)
packages/mnemopi/src/core/beam/types.ts:36
↓ 211 callers
Method
getText
Get the current text content
packages/tui/src/editor-component.ts:17
↓ 210 callers
Method
get
(key: string)
packages/coding-agent/src/session/redis-session-storage.ts:16
↓ 206 callers
Method
waitForIdle
Wait for the agent to finish streaming
packages/coding-agent/src/extensibility/hooks/types.ts:213
↓ 205 callers
Function
settle
(term: VirtualTerminal)
packages/tui/test/render-regressions.test.ts:134
↓ 199 callers
Method
cwd
()
packages/coding-agent/src/eval/js/shared/helpers.ts:17
↓ 196 callers
Method
at
* Returns the element at the specified index without removing it. * Supports negative indices (e.g., `-1` for the last element). * * @param inde
packages/utils/src/ring.ts:111
↓ 195 callers
Method
dim
(s: string)
packages/coding-agent/src/modes/components/session-selector.ts:377
↓ 190 callers
Function
isEnoent
(err: unknown)
packages/utils/src/fs-error.ts:30
↓ 189 callers
Method
showError
(message: string)
packages/coding-agent/src/modes/types.ts:242
↓ 184 callers
Method
json
()
packages/utils/src/ptree.ts:241
↓ 181 callers
Method
open
(socket)
packages/coding-agent/src/dap/client.ts:198
↓ 178 callers
Method
addEventListener
(type: string, listener: (event: MessageEvent | Event) => void)
packages/coding-agent/src/eval/__tests__/js-context-manager.test.ts:116
↓ 176 callers
Function
replaceTabs
(text)
packages/coding-agent/src/export/html/template.js:649
↓ 174 callers
Method
push
(event: AssistantMessageEvent)
packages/ai/src/utils/event-stream.ts:136
next →
1–100 of 28,097, ranked by callers