MCPcopy Create free account

hub / github.com/agegr/pi-web / functions

Functions703 in github.com/agegr/pi-web

↓ 2 callersFunctiongetMessageText
(content: CustomMessage["content"] | UserMessage["content"])
components/MessageView.tsx:1298
↓ 2 callersFunctiongetModelsCacheState
()
lib/models-cache.ts:22
↓ 2 callersFunctiongetModelsPath
()
app/api/models-config/route.ts:9
↓ 2 callersFunctiongetNextVisibleCount
(currentVisibleCount: number, pageSize = VISIBLE_PAGE_SIZE)
lib/chat-lazy-load.ts:12
↓ 2 callersFunctiongetPackageSource
(entry: PackageSource)
app/api/plugins/route.ts:38
↓ 2 callersFunctiongetPiPackageDir
()
app/api/sessions/[id]/export/route.ts:23
↓ 2 callersFunctiongetRunningListeners
()
lib/rpc-manager.ts:996
↓ 2 callersMethodgetSkills
()
lib/pi-types.ts:64
↓ 2 callersFunctiongetVisibleRenderWindow
(totalCount: number, visibleCount: number)
lib/chat-lazy-load.ts:3
↓ 2 callersFunctioninspectUploadTargets
(directory: string, fileNames: string[])
lib/file-upload.ts:39
↓ 2 callersFunctioninstall
(overrides = {})
lib/skill-updates.test.mjs:13
↓ 2 callersFunctioninvalidateProjectCache
()
lib/worktree.ts:47
↓ 2 callersFunctioninvalidateSessionPathCache
(sessionId: string)
lib/session-reader.ts:146
↓ 2 callersFunctionisAudioPath
(filePath: string)
lib/file-types.ts:67
↓ 2 callersFunctionisBashOutputPathReferencedByEntries
(filePath: string, entries: SessionEntry[])
lib/session-file-references-core.ts:76
↓ 2 callersFunctionisDocumentPreviewPath
(filePath: string)
lib/file-types.ts:71
↓ 2 callersFunctionisEmptyThinkingBlock
(block: AssistantContentBlock, options: DisplayOptions = {})
lib/message-display.ts:7
↓ 2 callersFunctionisFilePathReferencedByEntries
(filePath: string, entries: SessionEntry[])
lib/session-file-references-core.ts:67
↓ 2 callersFunctionisImagePath
(filePath: string)
lib/file-types.ts:63
↓ 2 callersFunctionisPathChar
(ch: string)
lib/session-file-references-core.ts:21
↓ 2 callersMethodisRunning
()
lib/rpc-manager.ts:139
↓ 2 callersFunctionisWithinPath
(parent: string, target: string)
lib/git-changes.ts:38
↓ 2 callersFunctionjoinFilePath
(parent: string, child: string)
lib/file-paths.ts:41
↓ 2 callersFunctionlistWorktrees
(cwd: string)
lib/worktree.ts:132
↓ 2 callersFunctionloadModels
(cwd: string)
app/api/models/route.ts:41
↓ 2 callersFunctionloadModelsWithCache
(cwd: string, loader: () => Promise<ModelsData>)
lib/models-cache.ts:40
↓ 2 callersFunctionmarkOldestNoticeExiting
(notices: NoticeItem[])
hooks/useAgentSession.ts:197
↓ 2 callersFunctionn
(s: string)
app/api/sessions/[id]/export/route.ts:127
↓ 2 callersMethodnavigateTree
(targetId: string, options?: { summarize?: boolean })
lib/pi-types.ts:145
↓ 2 callersFunctionnormalizeCustomPanelLines
(lines: string[])
lib/ansi.ts:88
↓ 2 callersFunctionnormalizeFilePathSlashes
(filePath: string)
lib/file-links.ts:9
↓ 2 callersFunctionnormalizeLocalPath
(filePath: string)
lib/file-links.ts:20
↓ 2 callersFunctionnormalizeToolCalls
(msg: AgentMessage)
lib/normalize.ts:21
↓ 2 callersFunctiononOpenFile
()
components/MarkdownBody.test.mjs:17
↓ 2 callersFunctionopenRegularFileNoFollow
(filePath: string)
lib/bash-output.ts:14
↓ 2 callersFunctionpackageKey
(pkg: Pick<PluginPackageInfo, "source" | "scope">)
components/PluginsConfig.tsx:15
↓ 2 callersFunctionparseAnsiLine
(line: string)
lib/ansi.ts:188
↓ 2 callersFunctionparseCompactionSummary
(summary: string)
lib/compaction-summary.ts:10
↓ 2 callersFunctionparseGeneratedSessionTitle
(raw: string)
lib/session-title.ts:108
↓ 2 callersFunctionparseGitPorcelainV1
(output: string)
lib/git-status.ts:14
↓ 2 callersFunctionparseLaunchOptions
(args = process.argv.slice(2), env = process.env)
bin/pi-web-options.js:12
↓ 2 callersFunctionparseUploadConflictStrategy
(value: string | null)
lib/file-upload.ts:14
↓ 2 callersFunctionpathDepth
(p: string)
lib/file-fuzzy.ts:46
↓ 2 callersMethodprompt
(text: string, options?: { images?: Array<{ type: "image"; data: string; mimeType: string }>; streamin
lib/pi-types.ts:135
↓ 2 callersFunctionreadPlugins
(cwd: string)
app/api/plugins/route.ts:201
↓ 2 callersFunctionreadSessionHeader
(filePath: string)
lib/session-reader.ts:156
↓ 2 callersFunctionreadStatusEntries
(repositoryRoot: string)
lib/git-changes.ts:47
↓ 2 callersFunctionreadUtf8FileWithinLimit
( filePath: string, maxBytes = MAX_INLINE_BASH_OUTPUT_BYTES, )
lib/bash-output.ts:30
↓ 2 callersMethodresetIdleTimer
()
lib/rpc-manager.ts:260
↓ 2 callersFunctionresolveBashOutputPath
(filePath: string, tempRoot: string)
lib/bash-output.ts:7
↓ 2 callersFunctionresolveDirentIsDirectory
( dirent: DirentType, fullPath: string, )
lib/file-dirent.ts:5
↓ 2 callersFunctionresolveProject
(cwd: string)
lib/worktree.ts:76
↓ 2 callersFunctionresolveSessionIdByPath
(filePath: string)
lib/session-reader.ts:121
↓ 2 callersFunctionresourceSummary
(pkg: PluginPackageInfo)
components/PluginsConfig.tsx:19
↓ 2 callersFunctionrestoreScrollTop
(scrollHeight: number, savedDistance: number)
lib/chat-lazy-load.ts:20
↓ 2 callersFunctionsafeDecode
(value: string)
lib/file-links.ts:1
↓ 2 callersFunctionsearch
(nodes: SessionTreeNode[], path: string[])
components/BranchNavigator.tsx:28
↓ 2 callersMethodselect
(title: string, options: string[], opts?: DialogOptionsLike)
lib/pi-types.ts:86
↓ 2 callersFunctionsendAgentCommand
( sessionId: string, command: Record<string, unknown>, )
lib/agent-client.ts:10
↓ 2 callersFunctionset
(k: K, v: ProviderEntry[K])
components/ModelsConfig.tsx:295
↓ 2 callersMethodsetActiveToolsByName
(names: string[])
lib/pi-types.ts:161
↓ 2 callersMethodsetForceEmptySystemPrompt
(force: boolean)
lib/rpc-manager.ts:158
↓ 2 callersMethodsetSessionName
(name: string)
lib/pi-types.ts:148
↓ 2 callersFunctionskillNameFromPackage
(pkg: string)
lib/skill-updates.ts:78
↓ 2 callersFunctionsourceLabel
(skill: Skill)
components/SkillsConfig.tsx:17
↓ 2 callersMethodstart
()
lib/rpc-manager.ts:143
↓ 2 callersFunctionstatusColor
(status: PluginPackageInfo["status"])
components/PluginsConfig.tsx:55
↓ 2 callersFunctionstripAnsi
(text: string)
lib/ansi.ts:35
↓ 2 callersFunctiontoPluginScope
(scope: string)
app/api/plugins/route.ts:30
↓ 2 callersFunctiontoTerminalKeyData
(event: TerminalKeyEventLike)
lib/terminal-input.ts:39
↓ 2 callersFunctionvalidateUploadFileNames
(fileNames: string[])
lib/file-upload.ts:21
↓ 2 callersFunctionversionSummary
(pkg: PluginPackageInfo)
components/PluginsConfig.tsx:30
↓ 2 callersMethodwaitForExtensionsBound
()
lib/rpc-manager.ts:225
↓ 2 callersFunctionwithExtensionTools
(session: AgentSessionLike, toolNames: string[])
lib/rpc-manager.ts:91
↓ 1 callersMethodabortCompaction
()
lib/pi-types.ts:162
↓ 1 callersFunctionaddCount
(counts: PluginResourceCounts, kind: keyof PluginResourceCounts)
app/api/plugins/route.ts:93
↓ 1 callersFunctionaddWorktree
(cwd: string, branch: string)
lib/worktree.ts:173
↓ 1 callersFunctionappendFlattenedKeptDescendants
(source: T, projectedParent: T)
app/api/sessions/[id]/route.ts:61
↓ 1 callersFunctionapply
()
hooks/useTheme.ts:33
↓ 1 callersFunctionapplyAnsiCodes
(style: CSSProperties, codes: number[])
lib/ansi.ts:136
↓ 1 callersFunctionassistant
(content)
lib/message-display.test.mjs:8
↓ 1 callersFunctionassistantEntry
(id, parentId, text, timestamp = "2026-01-01T00:00:00.000Z")
lib/session-reader.test.mjs:30
↓ 1 callersFunctionassistantMessage
(text)
lib/session-title.test.mjs:14
↓ 1 callersFunctionattachVisibleRef
(idx: number, refIndex: number)
components/ChatWindow.tsx:481
↓ 1 callersFunctionbase64ImageInfo
(block: unknown)
lib/session-reader.ts:241
↓ 1 callersMethodbeginExtensionBinding
(options: ExtensionBindingOptions = {})
lib/rpc-manager.ts:163
↓ 1 callersFunctionbuildActivePath
(nodes: SessionTreeNode[], targetId: string | null)
components/BranchNavigator.tsx:25
↓ 1 callersFunctionbuildAtInsertText
(entryPath: string, isDir: boolean, forceQuotes = false)
lib/file-fuzzy.ts:157
↓ 1 callersFunctionbuildSessionTree
(sessions: SessionInfo[])
components/SessionSidebar.tsx:192
↓ 1 callersFunctionbuildSkillsShUrl
(source: string, skillName: string)
lib/skill-lock.ts:74
↓ 1 callersFunctioncheckGlobalSkill
( install: SkillInstallInfo, options: Required<Pick<CheckOptions, "fetcher" | "resolveGitTreeHash">> & Che
lib/skill-updates.ts:153
↓ 1 callersFunctioncheckProjectSkill
( install: SkillInstallInfo, options: Required<Pick<CheckOptions, "fetcher" | "skillsApiBase">> & CheckOpt
lib/skill-updates.ts:194
↓ 1 callersFunctionclassify
(pair)
lib/git-changes.test.mjs:40
↓ 1 callersFunctioncleanPatchPath
(path: string)
lib/patch.ts:115
↓ 1 callersFunctioncleanup
()
lib/rpc-manager.ts:962
↓ 1 callersFunctioncleanup
()
app/api/auth/login/[provider]/route.ts:108
↓ 1 callersFunctionclearDraft
(key: string)
lib/draft-store.ts:37
↓ 1 callersMethodclearQueue
()
lib/pi-types.ts:158
↓ 1 callersFunctioncollectResource
( resource: ResolvedResource, kind: keyof PluginResourceCounts, countsByPackage: Map<string, PluginResou
app/api/plugins/route.ts:154
↓ 1 callersFunctioncollectResources
(paths: ResolvedPaths)
app/api/plugins/route.ts:186
← previousnext →101–200 of 703, ranked by callers