MCPcopy Create free account

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

Functions703 in github.com/agegr/pi-web

↓ 1 callersFunctioncollectStrings
(value: unknown, out: string[])
lib/session-file-references-core.ts:54
↓ 1 callersMethodcompact
(customInstructions?: string)
lib/pi-types.ts:147
↓ 1 callersFunctioncomplete
(result: BuiltinSlashCommandResult)
hooks/useAgentSession.ts:1278
↓ 1 callersFunctioncontainsExactPathReference
(text: string, filePath: string)
lib/session-file-references-core.ts:32
↓ 1 callersFunctioncopyButton
(field: SessionCopyField, value: string)
components/AppShell.tsx:1052
↓ 1 callersFunctioncostVal
(k: keyof NonNullable<ModelEntry["cost"]>)
components/ModelsConfig.tsx:520
↓ 1 callersFunctioncountToolCalls
(messages: AgentMessage[], indices: number[])
components/ChatWindow.tsx:74
↓ 1 callersFunctioncreateAddedFilePatch
(gitPath: string, content: string)
lib/git-changes.ts:83
↓ 1 callersMethodcreateExtensionCommandContextActions
()
lib/rpc-manager.ts:922
↓ 1 callersFunctioncreateFileBodyStream
(filePath: string, range?: { start: number; end: number })
app/api/files/[...path]/route.ts:219
↓ 1 callersFunctioncreateNoticeId
()
hooks/useAgentSession.ts:186
↓ 1 callersFunctioncreateShadowTools
(tools: AgentTool[])
lib/session-title.ts:32
↓ 1 callersFunctioncreateTrackedFilePatch
( repositoryRoot: string, relativePath: string, originalPath?: string, )
lib/git-changes.ts:101
↓ 1 callersFunctioncreateUndiciClient
(origin: string | URL, options: object)
lib/http-dispatcher.ts:38
↓ 1 callersFunctiondelay
(ms: number)
hooks/useAgentSession.ts:193
↓ 1 callersFunctiondiffLines
(patch: string)
components/FileViewer.tsx:164
↓ 1 callersFunctiondisplayCwd
Substitute the home dir prefix with ~ (no path truncation — see PathLabel)
components/SessionSidebar.tsx:109
↓ 1 callersFunctiondisplayPath
(p: string)
components/SkillsConfig.tsx:112
↓ 1 callersFunctionemptyCell
()
lib/patch.ts:33
↓ 1 callersFunctionencode
(data: unknown)
app/api/agent/running/events/route.ts:11
↓ 1 callersFunctionencode
(data: unknown)
app/api/agent/[id]/events/route.ts:31
↓ 1 callersFunctionencodeHeaderValue
(value: string)
app/api/sessions/[id]/export/route.ts:32
↓ 1 callersFunctionencodeHeaderValue
(value: string)
app/api/files/[...path]/route.ts:260
↓ 1 callersMethodensureExtensionsBound
(options: ExtensionBindingOptions = {})
lib/rpc-manager.ts:173
↓ 1 callersFunctionentryToUiMessage
( entry: SessionEntry, options: { deferThinking?: boolean; deferToolResultImages?: boolean }, )
lib/session-reader.ts:285
↓ 1 callersFunctionerrorMessage
(error: unknown)
app/api/models-config/test/route.ts:16
↓ 1 callersFunctionescapeHtml
(text: string)
app/api/files/[...path]/route.ts:331
↓ 1 callersMethodexecuteBash
(command: string, onChunk?: (chunk: string) => void, options?: { excludeFromContext?: boolean })
lib/pi-types.ts:141
↓ 1 callersFunctionexportSession
(filePath: string, outputPath: string)
app/api/sessions/[id]/export/route.ts:217
↓ 1 callersFunctionextractAtQuery
(textBeforeCursor: string)
lib/file-fuzzy.ts:26
↓ 1 callersFunctionextractMessageText
(message: Partial<AgentMessage>)
hooks/useAgentSession.ts:243
↓ 1 callersFunctionfetchGitStatus
(cwd: string)
components/FileExplorer.tsx:96
↓ 1 callersFunctionfileUrlToPath
(href: string)
lib/file-links.ts:62
↓ 1 callersFunctionfillPendingNotices
(visible: NoticeItem[], pending: NoticeItem[])
hooks/useAgentSession.ts:205
↓ 1 callersFunctionfilterByExactEnabledModels
( available: readonly T[], enabledModels: string[] | undefined, )
app/api/models/route.ts:30
↓ 1 callersFunctionfindFinalAssistantIndex
(messages: AgentMessage[], userIdx: number, endIdx: number)
components/ChatWindow.tsx:64
↓ 1 callersFunctionfindInstalledPackage
( packages: PluginPackageInfo[], source: string, scope: PluginScope, )
components/PluginsConfig.tsx:43
↓ 1 callersFunctionfindLockEntry
( entries: Record<string, SkillLockEntry>, skillName: string, )
lib/skill-lock.ts:54
↓ 1 callersFunctionfindNpxCli
* Locate `npx-cli.js` shipped with the running Node.js installation. * * On Windows the `npx` on PATH is actually `npx.cmd`, which Node.js (since *
lib/npx.ts:19
↓ 1 callersFunctionfirstVisibleChar
(text: string)
lib/ansi.ts:66
↓ 1 callersFunctionflush
()
lib/worktree.ts:137
↓ 1 callersFunctionflushChanges
()
lib/patch.ts:34
↓ 1 callersFunctionfmt
(n: number)
components/AppShell.tsx:854
↓ 1 callersMethodfollowUp
(text: string, images?: Array<{ type: "image"; data: string; mimeType: string }>)
lib/pi-types.ts:154
↓ 1 callersFunctionformatCompact
(n: number)
components/AppShell.tsx:1017
↓ 1 callersFunctionformatCustomType
(type: string)
components/MessageView.tsx:1329
↓ 1 callersFunctionformatDuration
(seconds: number)
components/FileViewer.tsx:459
↓ 1 callersFunctionformatInstalls
(count?: number)
app/api/skills/search/route.ts:30
↓ 1 callersFunctionformatRelativeTime
(dateStr: string)
components/SessionSidebar.tsx:75
↓ 1 callersFunctionformatTokenCount
(tokens: number)
components/ChatInput.tsx:93
↓ 1 callersFunctionformatUsage
(usage: { input: number; output: number; cacheRead: number; cacheWrite: number; cost: { total: numbe
components/MessageView.tsx:1357
↓ 1 callersMethodgetActiveToolNames
()
lib/pi-types.ts:160
↓ 1 callersFunctiongetAssistantResult
(agent: Agent, historyLength: number)
lib/session-title.ts:138
↓ 1 callersFunctiongetAssistantText
(message: AssistantMessage)
app/api/models-config/test/route.ts:20
↓ 1 callersFunctiongetBaseName
(filePath: string)
lib/file-types.ts:37
↓ 1 callersFunctiongetConfiguredVersion
(source: string)
app/api/plugins/route.ts:115
↓ 1 callersFunctiongetContentDisposition
(fileName: string, inline: boolean)
app/api/sessions/[id]/export/route.ts:38
↓ 1 callersFunctiongetContentDisposition
(filePath: string, asDownload = false)
app/api/files/[...path]/route.ts:266
↓ 1 callersMethodgetContextUsage
()
lib/pi-types.ts:163
↓ 1 callersMethodgetCustomUiWidth
(options: unknown)
lib/rpc-manager.ts:630
↓ 1 callersFunctiongetDisabledPackages
(settingsManager: SettingsManager)
app/api/plugins/route.ts:52
↓ 1 callersFunctiongetDraft
(key: string)
lib/draft-store.ts:24
↓ 1 callersMethodgetExtensionStatuses
()
lib/rpc-manager.ts:622
↓ 1 callersMethodgetExtensionWidgets
()
lib/rpc-manager.ts:626
↓ 1 callersMethodgetFollowUpMessages
()
lib/pi-types.ts:157
↓ 1 callersFunctiongetGitFileDiff
(cwd: string, filePath: string)
lib/git-changes.ts:124
↓ 1 callersFunctiongetGitStatus
(cwd: string)
lib/git-changes.ts:57
↓ 1 callersFunctiongetIndexCache
()
app/api/file-index/route.ts:56
↓ 1 callersFunctiongetInstallInfo
( entries: Record<string, SkillLockEntry>, skillName: string, scope: SkillInstallScope, )
lib/skill-lock.ts:85
↓ 1 callersFunctiongetLabel
(entry: SessionEntry)
components/BranchNavigator.tsx:54
↓ 1 callersFunctiongetLanguage
(filePath: string)
app/api/files/[...path]/route.ts:55
↓ 1 callersMethodgetLastAssistantText
()
lib/pi-types.ts:150
↓ 1 callersFunctiongetLocks
()
lib/rpc-manager.ts:970
↓ 1 callersFunctiongetManualInputRequest
()
app/api/auth/login/[provider]/route.ts:95
↓ 1 callersFunctiongetMessageImages
(content: CustomMessage["content"] | UserMessage["content"])
components/MessageView.tsx:1306
↓ 1 callersFunctiongetMessagePreview
(msg: AgentMessage | Partial<AgentMessage>)
components/ChatMinimap.tsx:15
↓ 1 callersFunctiongetNodeColor
(msg: AgentMessage | Partial<AgentMessage>)
components/ChatMinimap.tsx:44
↓ 1 callersFunctiongetPiCliPath
()
app/api/sessions/[id]/export/route.ts:44
↓ 1 callersFunctiongetPresetFromTools
(tools: ToolEntry[])
lib/tool-presets.ts:15
↓ 1 callersFunctiongetProjectCache
()
lib/worktree.ts:42
↓ 1 callersFunctiongetRecentProjects
* Return all projects (deduped by projectRoot so worktrees collapse into their * main repo) sorted by most recent session activity.
components/SessionSidebar.tsx:93
↓ 1 callersMethodgetRegisteredCommands
()
lib/pi-types.ts:68
↓ 1 callersFunctiongetRelativePath
(resource: ResolvedResource)
app/api/plugins/route.ts:108
↓ 1 callersFunctiongetRepoRoot
Main repo root (parent of the shared .git dir), or throws for non-git dirs
lib/worktree.ts:127
↓ 1 callersFunctiongetResourceName
(path: string, kind: PluginResourceKind)
app/api/plugins/route.ts:97
↓ 1 callersFunctiongetResultDiff
(result: ToolResultMessage)
components/MessageView.tsx:994
↓ 1 callersMethodgetSessionStats
()
lib/pi-types.ts:149
↓ 1 callersFunctiongetSnapshot
()
hooks/useTheme.ts:16
↓ 1 callersMethodgetSteeringMessages
()
lib/pi-types.ts:156
↓ 1 callersFunctiongetToolNamesForPreset
(preset: ToolPreset)
lib/tool-presets.ts:30
↓ 1 callersFunctiongetToolPreview
(block: ToolCallContent)
components/MessageView.tsx:1340
↓ 1 callersFunctiongetUploadDirectory
(segments: string[])
app/api/files/[...path]/route.ts:76
↓ 1 callersMethodhandleExtensionUiInput
(id: string, data: string)
lib/rpc-manager.ts:679
↓ 1 callersFunctionhasBranch
(nodes: SessionTreeNode[])
components/BranchNavigator.tsx:75
↓ 1 callersFunctionhasDeepseekCompat
(model: ModelEntry)
components/ModelsConfig.tsx:490
↓ 1 callersFunctionhasDisplayableProcessMessage
(message: AgentMessage)
components/ChatWindow.tsx:84
↓ 1 callersFunctionhasFinalAssistantAnswer
(message: AgentMessage)
components/ChatWindow.tsx:57
↓ 1 callersFunctionhasNullByte
(content: Buffer)
lib/git-changes.ts:79
↓ 1 callersFunctionhasReferenceBoundaryAfter
(text: string, index: number)
lib/session-file-references-core.ts:25
↓ 1 callersFunctionhasTextContent
(msg: AgentMessage | Partial<AgentMessage>)
components/ChatMinimap.tsx:51
← previousnext →201–300 of 703, ranked by callers