Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agegr/pi-web
/ functions
Functions
703 in github.com/agegr/pi-web
⨍
Functions
703
◇
Types & classes
142
↓ 2 callers
Function
getMessageText
(content: CustomMessage["content"] | UserMessage["content"])
components/MessageView.tsx:1298
↓ 2 callers
Function
getModelsCacheState
()
lib/models-cache.ts:22
↓ 2 callers
Function
getModelsPath
()
app/api/models-config/route.ts:9
↓ 2 callers
Function
getNextVisibleCount
(currentVisibleCount: number, pageSize = VISIBLE_PAGE_SIZE)
lib/chat-lazy-load.ts:12
↓ 2 callers
Function
getPackageSource
(entry: PackageSource)
app/api/plugins/route.ts:38
↓ 2 callers
Function
getPiPackageDir
()
app/api/sessions/[id]/export/route.ts:23
↓ 2 callers
Function
getRunningListeners
()
lib/rpc-manager.ts:996
↓ 2 callers
Method
getSkills
()
lib/pi-types.ts:64
↓ 2 callers
Function
getVisibleRenderWindow
(totalCount: number, visibleCount: number)
lib/chat-lazy-load.ts:3
↓ 2 callers
Function
inspectUploadTargets
(directory: string, fileNames: string[])
lib/file-upload.ts:39
↓ 2 callers
Function
install
(overrides = {})
lib/skill-updates.test.mjs:13
↓ 2 callers
Function
invalidateProjectCache
()
lib/worktree.ts:47
↓ 2 callers
Function
invalidateSessionPathCache
(sessionId: string)
lib/session-reader.ts:146
↓ 2 callers
Function
isAudioPath
(filePath: string)
lib/file-types.ts:67
↓ 2 callers
Function
isBashOutputPathReferencedByEntries
(filePath: string, entries: SessionEntry[])
lib/session-file-references-core.ts:76
↓ 2 callers
Function
isDocumentPreviewPath
(filePath: string)
lib/file-types.ts:71
↓ 2 callers
Function
isEmptyThinkingBlock
(block: AssistantContentBlock, options: DisplayOptions = {})
lib/message-display.ts:7
↓ 2 callers
Function
isFilePathReferencedByEntries
(filePath: string, entries: SessionEntry[])
lib/session-file-references-core.ts:67
↓ 2 callers
Function
isImagePath
(filePath: string)
lib/file-types.ts:63
↓ 2 callers
Function
isPathChar
(ch: string)
lib/session-file-references-core.ts:21
↓ 2 callers
Method
isRunning
()
lib/rpc-manager.ts:139
↓ 2 callers
Function
isWithinPath
(parent: string, target: string)
lib/git-changes.ts:38
↓ 2 callers
Function
joinFilePath
(parent: string, child: string)
lib/file-paths.ts:41
↓ 2 callers
Function
listWorktrees
(cwd: string)
lib/worktree.ts:132
↓ 2 callers
Function
loadModels
(cwd: string)
app/api/models/route.ts:41
↓ 2 callers
Function
loadModelsWithCache
(cwd: string, loader: () => Promise<ModelsData>)
lib/models-cache.ts:40
↓ 2 callers
Function
markOldestNoticeExiting
(notices: NoticeItem[])
hooks/useAgentSession.ts:197
↓ 2 callers
Function
n
(s: string)
app/api/sessions/[id]/export/route.ts:127
↓ 2 callers
Method
navigateTree
(targetId: string, options?: { summarize?: boolean })
lib/pi-types.ts:145
↓ 2 callers
Function
normalizeCustomPanelLines
(lines: string[])
lib/ansi.ts:88
↓ 2 callers
Function
normalizeFilePathSlashes
(filePath: string)
lib/file-links.ts:9
↓ 2 callers
Function
normalizeLocalPath
(filePath: string)
lib/file-links.ts:20
↓ 2 callers
Function
normalizeToolCalls
(msg: AgentMessage)
lib/normalize.ts:21
↓ 2 callers
Function
onOpenFile
()
components/MarkdownBody.test.mjs:17
↓ 2 callers
Function
openRegularFileNoFollow
(filePath: string)
lib/bash-output.ts:14
↓ 2 callers
Function
packageKey
(pkg: Pick<PluginPackageInfo, "source" | "scope">)
components/PluginsConfig.tsx:15
↓ 2 callers
Function
parseAnsiLine
(line: string)
lib/ansi.ts:188
↓ 2 callers
Function
parseCompactionSummary
(summary: string)
lib/compaction-summary.ts:10
↓ 2 callers
Function
parseGeneratedSessionTitle
(raw: string)
lib/session-title.ts:108
↓ 2 callers
Function
parseGitPorcelainV1
(output: string)
lib/git-status.ts:14
↓ 2 callers
Function
parseLaunchOptions
(args = process.argv.slice(2), env = process.env)
bin/pi-web-options.js:12
↓ 2 callers
Function
parseUploadConflictStrategy
(value: string | null)
lib/file-upload.ts:14
↓ 2 callers
Function
pathDepth
(p: string)
lib/file-fuzzy.ts:46
↓ 2 callers
Method
prompt
(text: string, options?: { images?: Array<{ type: "image"; data: string; mimeType: string }>; streamin
lib/pi-types.ts:135
↓ 2 callers
Function
readPlugins
(cwd: string)
app/api/plugins/route.ts:201
↓ 2 callers
Function
readSessionHeader
(filePath: string)
lib/session-reader.ts:156
↓ 2 callers
Function
readStatusEntries
(repositoryRoot: string)
lib/git-changes.ts:47
↓ 2 callers
Function
readUtf8FileWithinLimit
( filePath: string, maxBytes = MAX_INLINE_BASH_OUTPUT_BYTES, )
lib/bash-output.ts:30
↓ 2 callers
Method
resetIdleTimer
()
lib/rpc-manager.ts:260
↓ 2 callers
Function
resolveBashOutputPath
(filePath: string, tempRoot: string)
lib/bash-output.ts:7
↓ 2 callers
Function
resolveDirentIsDirectory
( dirent: DirentType, fullPath: string, )
lib/file-dirent.ts:5
↓ 2 callers
Function
resolveProject
(cwd: string)
lib/worktree.ts:76
↓ 2 callers
Function
resolveSessionIdByPath
(filePath: string)
lib/session-reader.ts:121
↓ 2 callers
Function
resourceSummary
(pkg: PluginPackageInfo)
components/PluginsConfig.tsx:19
↓ 2 callers
Function
restoreScrollTop
(scrollHeight: number, savedDistance: number)
lib/chat-lazy-load.ts:20
↓ 2 callers
Function
safeDecode
(value: string)
lib/file-links.ts:1
↓ 2 callers
Function
search
(nodes: SessionTreeNode[], path: string[])
components/BranchNavigator.tsx:28
↓ 2 callers
Method
select
(title: string, options: string[], opts?: DialogOptionsLike)
lib/pi-types.ts:86
↓ 2 callers
Function
sendAgentCommand
( sessionId: string, command: Record<string, unknown>, )
lib/agent-client.ts:10
↓ 2 callers
Function
set
(k: K, v: ProviderEntry[K])
components/ModelsConfig.tsx:295
↓ 2 callers
Method
setActiveToolsByName
(names: string[])
lib/pi-types.ts:161
↓ 2 callers
Method
setForceEmptySystemPrompt
(force: boolean)
lib/rpc-manager.ts:158
↓ 2 callers
Method
setSessionName
(name: string)
lib/pi-types.ts:148
↓ 2 callers
Function
skillNameFromPackage
(pkg: string)
lib/skill-updates.ts:78
↓ 2 callers
Function
sourceLabel
(skill: Skill)
components/SkillsConfig.tsx:17
↓ 2 callers
Method
start
()
lib/rpc-manager.ts:143
↓ 2 callers
Function
statusColor
(status: PluginPackageInfo["status"])
components/PluginsConfig.tsx:55
↓ 2 callers
Function
stripAnsi
(text: string)
lib/ansi.ts:35
↓ 2 callers
Function
toPluginScope
(scope: string)
app/api/plugins/route.ts:30
↓ 2 callers
Function
toTerminalKeyData
(event: TerminalKeyEventLike)
lib/terminal-input.ts:39
↓ 2 callers
Function
validateUploadFileNames
(fileNames: string[])
lib/file-upload.ts:21
↓ 2 callers
Function
versionSummary
(pkg: PluginPackageInfo)
components/PluginsConfig.tsx:30
↓ 2 callers
Method
waitForExtensionsBound
()
lib/rpc-manager.ts:225
↓ 2 callers
Function
withExtensionTools
(session: AgentSessionLike, toolNames: string[])
lib/rpc-manager.ts:91
↓ 1 callers
Method
abortCompaction
()
lib/pi-types.ts:162
↓ 1 callers
Function
addCount
(counts: PluginResourceCounts, kind: keyof PluginResourceCounts)
app/api/plugins/route.ts:93
↓ 1 callers
Function
addWorktree
(cwd: string, branch: string)
lib/worktree.ts:173
↓ 1 callers
Function
appendFlattenedKeptDescendants
(source: T, projectedParent: T)
app/api/sessions/[id]/route.ts:61
↓ 1 callers
Function
apply
()
hooks/useTheme.ts:33
↓ 1 callers
Function
applyAnsiCodes
(style: CSSProperties, codes: number[])
lib/ansi.ts:136
↓ 1 callers
Function
assistant
(content)
lib/message-display.test.mjs:8
↓ 1 callers
Function
assistantEntry
(id, parentId, text, timestamp = "2026-01-01T00:00:00.000Z")
lib/session-reader.test.mjs:30
↓ 1 callers
Function
assistantMessage
(text)
lib/session-title.test.mjs:14
↓ 1 callers
Function
attachVisibleRef
(idx: number, refIndex: number)
components/ChatWindow.tsx:481
↓ 1 callers
Function
base64ImageInfo
(block: unknown)
lib/session-reader.ts:241
↓ 1 callers
Method
beginExtensionBinding
(options: ExtensionBindingOptions = {})
lib/rpc-manager.ts:163
↓ 1 callers
Function
buildActivePath
(nodes: SessionTreeNode[], targetId: string | null)
components/BranchNavigator.tsx:25
↓ 1 callers
Function
buildAtInsertText
(entryPath: string, isDir: boolean, forceQuotes = false)
lib/file-fuzzy.ts:157
↓ 1 callers
Function
buildSessionTree
(sessions: SessionInfo[])
components/SessionSidebar.tsx:192
↓ 1 callers
Function
buildSkillsShUrl
(source: string, skillName: string)
lib/skill-lock.ts:74
↓ 1 callers
Function
checkGlobalSkill
( install: SkillInstallInfo, options: Required<Pick<CheckOptions, "fetcher" | "resolveGitTreeHash">> & Che
lib/skill-updates.ts:153
↓ 1 callers
Function
checkProjectSkill
( install: SkillInstallInfo, options: Required<Pick<CheckOptions, "fetcher" | "skillsApiBase">> & CheckOpt
lib/skill-updates.ts:194
↓ 1 callers
Function
classify
(pair)
lib/git-changes.test.mjs:40
↓ 1 callers
Function
cleanPatchPath
(path: string)
lib/patch.ts:115
↓ 1 callers
Function
cleanup
()
lib/rpc-manager.ts:962
↓ 1 callers
Function
cleanup
()
app/api/auth/login/[provider]/route.ts:108
↓ 1 callers
Function
clearDraft
(key: string)
lib/draft-store.ts:37
↓ 1 callers
Method
clearQueue
()
lib/pi-types.ts:158
↓ 1 callers
Function
collectResource
( resource: ResolvedResource, kind: keyof PluginResourceCounts, countsByPackage: Map<string, PluginResou
app/api/plugins/route.ts:154
↓ 1 callers
Function
collectResources
(paths: ResolvedPaths)
app/api/plugins/route.ts:186
← previous
next →
101–200 of 703, ranked by callers