MCPcopy Create free account

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

Functions703 in github.com/agegr/pi-web

↓ 12 callersFunctionresolveSessionPath
(sessionId: string)
lib/session-reader.ts:112
↓ 9 callersMethodemit
(event: AgentEvent)
lib/rpc-manager.ts:256
↓ 7 callersMethodabort
()
lib/pi-types.ts:140
↓ 7 callersFunctiongetFileExt
(filePath: string)
lib/file-types.ts:41
↓ 7 callersFunctioninvalidateModelsCache
()
lib/models-cache.ts:33
↓ 7 callersFunctionnormalizeFilePathSlashes
(filePath: string)
lib/file-paths.ts:1
↓ 6 callersMethoddestroy
()
lib/rpc-manager.ts:602
↓ 6 callersFunctiongetAllowedFileRoots
()
lib/file-access.ts:23
↓ 6 callersFunctiongetRelativeFilePath
(filePath: string, cwd?: string)
lib/file-paths.ts:30
↓ 6 callersFunctiongetRpcSession
(sessionId: string)
lib/rpc-manager.ts:975
↓ 6 callersFunctioninvalidateSessionListCache
()
lib/session-reader.ts:97
↓ 6 callersMethodisAlive
()
lib/rpc-manager.ts:135
↓ 6 callersFunctionisFilePathAllowed
(target: string, allowedRoots: Set<string>)
lib/file-access.ts:54
↓ 6 callersFunctionuseIsMobile
()
hooks/useIsMobile.ts:29
↓ 5 callersFunctionallowFileRoot
(root: string)
lib/allowed-roots.ts:19
↓ 5 callersFunctioncacheSessionPath
(sessionId: string, filePath: string)
lib/session-reader.ts:130
↓ 5 callersFunctionencodeFilePathForApi
(filePath: string)
lib/file-paths.ts:8
↓ 5 callersFunctiongetFileApiUrl
( filePath: string, type: "read" | "download" | "meta" | "preview" | "watch", sourceSessionId?: string |
components/FileViewer.tsx:118
↓ 5 callersFunctiongetFileName
(filePath: string)
lib/file-paths.ts:16
↓ 5 callersFunctiongit
(cwd: string, args: string[])
lib/worktree.ts:51
↓ 5 callersFunctionisWindowsAbsolutePath
(filePath: string)
lib/file-access.ts:19
↓ 5 callersMethodsend
(command: Record<string, unknown>)
lib/rpc-manager.ts:304
↓ 5 callersFunctionvisibleCharPositions
(text: string)
lib/ansi.ts:39
↓ 4 callersMethodapplyForcedEmptySystemPrompt
()
lib/rpc-manager.ts:250
↓ 4 callersFunctionformatSize
(bytes: number)
components/FileViewer.tsx:158
↓ 4 callersFunctionformatTime
(ts?: number)
components/MessageView.tsx:73
↓ 4 callersFunctiongetDisplayableAssistantBlocks
( message: AssistantMessage, options: DisplayOptions = {}, )
lib/message-display.ts:11
↓ 4 callersFunctionlistAllSessions
()
lib/session-reader.ts:48
↓ 4 callersFunctionnotifyRunningChange
()
lib/rpc-manager.ts:1014
↓ 4 callersFunctionstartRpcSession
( sessionId: string, sessionFile: string, cwd: string, toolNames?: string[] )
lib/rpc-manager.ts:1029
↓ 4 callersFunctionuseTheme
()
hooks/useTheme.ts:27
↓ 3 callersFunctionbuildAtMentionText
(entryPath: string, isDir: boolean)
lib/file-fuzzy.ts:173
↓ 3 callersFunctionbuildSessionContext
( entries: SessionEntry[], leafId?: string | null, options: { deferThinking?: boolean; deferToolResultIm
lib/session-reader.ts:194
↓ 3 callersFunctionbuttonStyle
(disabled?: boolean, danger?: boolean)
components/PluginsConfig.tsx:167
↓ 3 callersFunctioncheckCwdAllowed
Same gate as /api/files: only session cwds / project roots / explicitly * allowed dirs may be inspected or mutated through this endpoint.
app/api/worktrees/route.ts:8
↓ 3 callersFunctionclassifyGitStatus
(entry: GitPorcelainEntry)
lib/git-status.ts:39
↓ 3 callersMethodcloseCustomUi
(id: string, value: unknown)
lib/rpc-manager.ts:658
↓ 3 callersFunctioncopyText
(text: string)
lib/clipboard.ts:1
↓ 3 callersMethodcreateExtensionUiContext
()
lib/rpc-manager.ts:807
↓ 3 callersFunctiondocumentPreviewKind
(filePath: string)
lib/file-types.ts:57
↓ 3 callersFunctionemptyCounts
()
app/api/plugins/route.ts:26
↓ 3 callersFunctiongetAudioMime
(filePath: string)
lib/file-types.ts:49
↓ 3 callersFunctiongetFileIcon
(name: string, size = 14)
components/FileIcons.tsx:202
↓ 3 callersFunctiongetImageMime
(filePath: string)
lib/file-types.ts:45
↓ 3 callersFunctiongetPathCache
()
lib/session-reader.ts:102
↓ 3 callersFunctiongetPathToIdCache
()
lib/session-reader.ts:107
↓ 3 callersFunctiongetRegistry
()
lib/rpc-manager.ts:959
↓ 3 callersFunctiongetRunningRpcSessionIds
()
lib/rpc-manager.ts:979
↓ 3 callersFunctiongetSessionEntries
(filePath: string)
lib/session-reader.ts:189
↓ 3 callersFunctiongit
(cwd: string, args: string[], maxBuffer = GIT_STATUS_MAX_BUFFER)
lib/git-changes.ts:21
↓ 3 callersFunctionisValidSessionId
(sessionId: string | null)
lib/session-file-references-core.ts:5
↓ 3 callersFunctionkeyFor
(source: string, scope: PluginScope)
app/api/plugins/route.ts:34
↓ 3 callersFunctionloadSkillsWithInstallInfo
(cwd: string)
lib/skills-service.ts:5
↓ 3 callersFunctionnormalizeSlashes
(filePath: string)
lib/allowed-roots.ts:8
↓ 3 callersFunctionparseUnifiedPatch
(text: string)
lib/patch.ts:24
↓ 3 callersMethodreload
(options?: { beforeSessionStart?: () => void | Promise<void> })
lib/pi-types.ts:133
↓ 3 callersFunctionresolveLocalFileHref
( href: string | undefined, baseDir?: string, relativeRoot = baseDir, )
lib/file-links.ts:77
↓ 3 callersFunctionresult
( install: SkillInstallInfo, state: SkillUpdateResult["state"], latestVersion?: string, message?: stri
lib/skill-updates.ts:90
↓ 3 callersFunctionrunNpx
(args: string[], opts: RunNpxOptions = {})
lib/npx.ts:52
↓ 3 callersMethodsetUIContext
(uiContext?: unknown, mode?: "tui" | "rpc" | "json" | "print")
lib/pi-types.ts:73
↓ 3 callersFunctionsettle
(status: EventStreamConnectionStatus)
hooks/useAgentSession.ts:604
↓ 3 callersFunctionshortenPath
(path: string)
components/PluginsConfig.tsx:11
↓ 3 callersFunctionshortenPath
(p: string)
components/SkillsConfig.tsx:12
↓ 3 callersFunctionskillFolder
(skillPath: string)
lib/skill-updates.ts:83
↓ 3 callersFunctionsplitFinalAssistantBlocks
( message: AssistantMessage, options: DisplayOptions = {}, )
lib/message-display.ts:22
↓ 3 callersFunctionwithUndiciErrorListener
(dispatcher: T)
lib/http-dispatcher.ts:31
↓ 2 callersMethodabortBash
()
lib/pi-types.ts:142
↓ 2 callersFunctionannotateSkillsWithInstallInfo
( skills: SkillInfo[], { cwd, agentDir, globalLockPath = getGlobalSkillsLockPath(), projec
lib/skill-lock.ts:121
↓ 2 callersFunctionansi256Color
(index: number)
lib/ansi.ts:118
↓ 2 callersFunctionappendTitleRequestToTrailingUser
(messages: AgentMessage[])
lib/session-title.ts:77
↓ 2 callersFunctionasBracketedPaste
(text: string)
lib/terminal-input.ts:61
↓ 2 callersFunctionbuildEntriesFromFiles
(files: string[])
lib/file-fuzzy.ts:59
↓ 2 callersFunctionbuildFileAtMentionsText
(entryPaths: string[])
lib/file-fuzzy.ts:178
↓ 2 callersFunctionbuildSessionTitleAgentOptions
(source: Agent)
lib/session-title.ts:46
↓ 2 callersFunctionbuildSkillUpdateArgs
(install: SkillInstallInfo)
lib/skill-updates.ts:51
↓ 2 callersFunctioncaptureScrollDistance
(scrollHeight: number, scrollTop: number)
lib/chat-lazy-load.ts:16
↓ 2 callersFunctioncheckSkillUpdate
( install: SkillInstallInfo, options: CheckOptions = {}, )
lib/skill-updates.ts:213
↓ 2 callersFunctioncheckSkillUpdates
( installs: SkillInstallInfo[], options: CheckOptions = {}, )
lib/skill-updates.ts:242
↓ 2 callersFunctioncloneDraft
(draft: ChatDraft)
lib/draft-store.ts:13
↓ 2 callersFunctioncloneNode
(node: T, compressedEntryIds?: string[])
app/api/sessions/[id]/route.ts:49
↓ 2 callersFunctioncompress
(node: SessionTreeNode)
components/BranchNavigator.tsx:44
↓ 2 callersFunctionconfigureHttpDispatcher
( timeoutMs: number = DEFAULT_HTTP_IDLE_TIMEOUT_MS, )
lib/http-dispatcher.ts:58
↓ 2 callersFunctioncountToolCallBlocks
(blocks: AssistantContentBlock[])
lib/message-display.ts:37
↓ 2 callersFunctioncreateClientInputRequest
()
app/api/auth/login/[provider]/route.ts:73
↓ 2 callersFunctioncreateHeadlessCustomUiTui
( requestRender: (force?: boolean) => void, columns = DEFAULT_CUSTOM_UI_COLUMNS, rows = DEFAULT_CUSTOM_U
lib/custom-ui-terminal.ts:15
↓ 2 callersMethodemitCustomUiRender
(id: string, custom: ActiveCustomUi)
lib/rpc-manager.ts:641
↓ 2 callersFunctionextractGitError
(error: unknown)
lib/worktree.ts:226
↓ 2 callersFunctionfetchEntries
(dirPath: string)
components/FileExplorer.tsx:72
↓ 2 callersFunctionfetchJson
( url: string, fetcher: Fetcher, headers?: HeadersInit, )
lib/skill-updates.ts:106
↓ 2 callersFunctionfilePathFromSegments
(segments: string[])
app/api/files/[...path]/route.ts:65
↓ 2 callersFunctionfilterFileEntries
( entries: FileIndexEntry[], query: string, limit: number = AT_RESULT_LIMIT, )
lib/file-fuzzy.ts:120
↓ 2 callersFunctionfindRepositoryRoot
(cwd: string)
lib/git-changes.ts:30
↓ 2 callersFunctiongenerateSessionTitle
(source: AgentSession)
lib/session-title.ts:168
↓ 2 callersFunctiongetAdditionalAllowedRoots
()
lib/allowed-roots.ts:12
↓ 2 callersMethodgetAllTools
()
lib/pi-types.ts:159
↓ 2 callersFunctiongetCallbackRegistry
()
app/api/auth/login/[provider]/route.ts:12
↓ 2 callersFunctiongetDocumentMime
(filePath: string)
lib/file-types.ts:53
↓ 2 callersFunctiongetFileDirectory
(filePath: string)
lib/file-paths.ts:21
↓ 2 callersFunctiongetGlobalSkillsLockPath
({ homeDir = homedir(), xdgStateHome = process.env.XDG_STATE_HOME, }: GlobalLockPathOptions = {})
lib/skill-lock.ts:31
↓ 2 callersFunctiongetInitialNavigation
(searchParams: Pick<URLSearchParams, "get">)
lib/initial-navigation.ts:6
next →1–100 of 703, ranked by callers