MCPcopy Create free account

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

Functions703 in github.com/agegr/pi-web

↓ 1 callersFunctionsetCost
(k: keyof NonNullable<ModelEntry["cost"]>, v: string)
components/ModelsConfig.tsx:521
↓ 1 callersFunctionsetDeepseekCompat
(model: ModelEntry, enabled: boolean)
components/ModelsConfig.tsx:494
↓ 1 callersFunctionsetDraft
(key: string, draft: ChatDraft)
lib/draft-store.ts:29
↓ 1 callersFunctionsetLevel
(level: ThinkingLevel, entry: string | null | "omit")
components/ModelsConfig.tsx:366
↓ 1 callersMethodsetModel
(model: ModelLike)
lib/pi-types.ts:144
↓ 1 callersFunctionsetPackageDisabled
( settingsManager: SettingsManager, source: string, scope: PluginScope, disabled: boolean, )
app/api/plugins/route.ts:63
↓ 1 callersMethodsetThinkingLevel
(level: string)
lib/pi-types.ts:146
↓ 1 callersFunctionshortVersion
(version?: string)
components/SkillsConfig.tsx:31
↓ 1 callersMethodshouldWaitForExtensions
(type: string)
lib/rpc-manager.ts:238
↓ 1 callersFunctionskillSlug
(name: string)
lib/skill-updates.ts:69
↓ 1 callersFunctionskillUpdateKey
(install: Pick<SkillInstallInfo, "scope" | "package">)
lib/skill-updates.ts:47
↓ 1 callersFunctionslashMatchRank
(command: SlashCommandPaletteItem, query: string)
components/ChatInput.tsx:131
↓ 1 callersFunctionsort
(nodes: SessionTreeNode[])
components/SessionSidebar.tsx:228
↓ 1 callersMethodsteer
(text: string, images?: Array<{ type: "image"; data: string; mimeType: string }>)
lib/pi-types.ts:153
↓ 1 callersFunctionstreamFile
(filePath: string, stat: fs.Stats, contentType: string, rangeHeader: string | null, asDownload = false)
app/api/files/[...path]/route.ts:273
↓ 1 callersFunctionstripLineSuffix
(filePath: string)
lib/file-links.ts:16
↓ 1 callersFunctionstripWrappingQuotes
(value: string)
lib/session-title.ts:91
↓ 1 callersFunctionsubmitValue
()
components/ChatWindow.tsx:832
↓ 1 callersMethodsubscribe
(listener: (event: AgentSessionEvent) => void)
lib/pi-types.ts:134
↓ 1 callersFunctionsubscribeRunningSessions
(listener: (ids: string[]) => void)
lib/rpc-manager.ts:1002
↓ 1 callersFunctionsyncLayout
()
components/ChatMinimap.tsx:153
↓ 1 callersFunctionsyncWindowTitle
()
components/AppShell.tsx:426
↓ 1 callersFunctiontoGitPath
(filePath: string)
lib/git-changes.ts:43
↓ 1 callersFunctiontoggle
()
components/MessageView.tsx:613
↓ 1 callersFunctiontrimEndVisibleSpaces
(text: string)
lib/ansi.ts:78
↓ 1 callersFunctionupdate
()
components/BranchNavigator.tsx:229
↓ 1 callersFunctionupdate
()
components/AppShell.tsx:139
↓ 1 callersFunctionupdateKey
(skill: Skill)
components/SkillsConfig.tsx:25
↓ 1 callersFunctionuploadFiles
( targetDirectory: string, files: File[], strategy: UploadConflictStrategy, onProgress: (progress: num
components/FileExplorer.tsx:121
↓ 1 callersFunctionuseAgentSession
(opts: UseAgentSessionOptions)
hooks/useAgentSession.ts:323
↓ 1 callersFunctionuseAudio
()
hooks/useAudio.ts:24
↓ 1 callersFunctionuseDragDrop
(onDrop: (files: File[]) => void)
hooks/useDragDrop.ts:5
↓ 1 callersFunctionuseGlobalKeyboardShortcuts
( options: UseGlobalKeyboardShortcutsOptions, )
hooks/useKeyboardShortcuts.ts:42
↓ 1 callersFunctionuseMessageRefs
(count: number)
components/ChatMinimap.tsx:401
↓ 1 callersFunctionuseScramble
(target: string, running: boolean)
components/SessionSidebar.tsx:238
↓ 1 callersFunctionuserEntry
(id, parentId, content, timestamp = "2026-01-01T00:00:00.000Z")
lib/session-reader.test.mjs:17
↓ 1 callersFunctionuserMessageKey
(message: Partial<AgentMessage>)
hooks/useAgentSession.ts:279
↓ 1 callersFunctionusesRenamePath
(indexStatus: string, worktreeStatus: string)
lib/git-status.ts:10
↓ 1 callersMethodwaitUntilReady
()
lib/rpc-manager.ts:169
↓ 1 callersFunctionwithAssistantBlocks
( message: AssistantMessage, content: AssistantContentBlock[], options: { omitUsage?: boolean } = {}, )
components/ChatWindow.tsx:91
↓ 1 callersMethodwithFinalRunningNotification
(operation: () => Promise<T>)
lib/rpc-manager.ts:242
↓ 1 callersFunctionwrapDocxPreviewHtml
(bodyHtml: string, fileName: string)
app/api/files/[...path]/route.ts:340
↓ 1 callersFunctionwriteJson
(path, value)
lib/skill-lock.test.mjs:12
↓ 1 callersFunctionwriteModelsJson
(data: Record<string, unknown>)
app/api/models-config/route.ts:23
FunctionAddPluginPanel
({ cwd, source, scope, busy, actionError, onSourceChange, onScopeChange, onInstall, }: { cwd
components/PluginsConfig.tsx:272
FunctionAddProviderPicker
({ oauthProviders, apiKeyProviders, onSelectOAuth, onSelectApiKey, onAddCustom, onClose, }: AddProviderPic
components/ModelsConfig.tsx:1148
FunctionAddSkillPanel
({ cwd, installedPackages, onInstalled, }: { cwd: string; installedPackages: Record<SkillInstallScop
components/SkillsConfig.tsx:337
FunctionAnimatedDropdown
({ open, children, style }: { open: boolean; children: ReactNode; style: CSSProperties })
components/SessionSidebar.tsx:142
FunctionApiKeyDetail
({ provider, onRefresh }: { provider: ApiKeyProvider; onRefresh: () => void })
components/ModelsConfig.tsx:968
FunctionAppShell
()
components/AppShell.tsx:31
FunctionAssistantMessageView
({ message, isStreaming, toolResults, modelNames, cwd, onOpenFile, showTimestamp, prevTimestam
components/MessageView.tsx:339
FunctionAudioViewer
({ filePath, cwd, sourceSessionId }: Props)
components/FileViewer.tsx:467
FunctionBashExecutionView
({ message, sessionId }: { message: BashExecutionMessage; sessionId?: string })
components/MessageView.tsx:1372
FunctionBlockView
({ block, toolResults, isStreaming, streamingDuration, toolCallDurations, cwd, onOpenFile, sessionId, entryId,
components/MessageView.tsx:581
FunctionBranchNavigator
({ tree, activeLeafId, onLeafChange, inline, containerRef, open: openProp, onToggle, hasSession, compact }: Pr
components/BranchNavigator.tsx:219
FunctionChatMinimap
({ messages, streamingMessage, scrollContainer, messageRefs }: Props)
components/ChatMinimap.tsx:67
FunctionChatWindow
({ session, newSessionCwd, onAgentEnd, onSessionCreated, onSessionForked, modelsRefreshKey, chatInputRef, onBr
components/ChatWindow.tsx:144
FunctionCheck
({ label, checked, onChange }: { label: string; checked: boolean; onChange: (v: boolean) => void })
components/ModelsConfig.tsx:273
FunctionCodeBlock
({ code, lang, headerAction }: { code: string; lang: string; headerAction?: ReactNode })
components/MarkdownBody.tsx:208
FunctionCompactionFileList
({ title, files }: { title: string; files: string[] })
components/MessageView.tsx:1123
FunctionCompactionFileMetadata
({ readFiles, modifiedFiles }: { readFiles: string[]; modifiedFiles: string[] })
components/MessageView.tsx:1106
FunctionCompactionMessageView
({ message }: { message: CustomMessage })
components/MessageView.tsx:1055
FunctionConfigIcon
({ size = 14 }: IconProps)
components/FileIcons.tsx:188
FunctionCssIcon
({ size = 14 }: IconProps)
components/FileIcons.tsx:81
FunctionCustomMessageView
({ message, cwd, onOpenFile }: { message: CustomMessage; cwd?: string; onOpenFile?: (filePath: string) => void
components/MessageView.tsx:1136
FunctionDELETE
( _req: Request, { params }: { params: Promise<{ id: string }> } )
app/api/sessions/[id]/route.ts:197
FunctionDELETE
(_req: Request, { params }: Params)
app/api/auth/api-key/[provider]/route.ts:52
FunctionDELETE
(req: Request)
app/api/worktrees/route.ts:76
FunctionDiffView
({ patch }: { patch: string })
components/FileViewer.tsx:200
FunctionDismissButton
({ onClick, title }: { onClick: () => void; title: string })
components/FileExplorer.tsx:165
FunctionDocFileIcon
({ size = 14 }: IconProps)
components/FileIcons.tsx:182
FunctionDockerfileIcon
({ size = 14 }: IconProps)
components/FileIcons.tsx:135
FunctionDocumentViewer
({ filePath, cwd, sourceSessionId }: Props)
components/FileViewer.tsx:583
FunctionDownloadLink
({ filePath, sourceSessionId }: { filePath: string; sourceSessionId?: string | null })
components/FileViewer.tsx:133
FunctionEnvIcon
({ size = 14 }: IconProps)
components/FileIcons.tsx:147
FunctionExtensionCustomPanel
({ request, onInput, }: { request: ExtensionCustomRequest; onInput: (request: ExtensionCustomRequest,
components/ChatWindow.tsx:1005
FunctionExtensionDialog
({ request, onRespond, }: { request: ExtensionDialogRequest; onRespond: (request: ExtensionDialogReque
components/ChatWindow.tsx:819
FunctionExtensionStatusBar
({ statuses }: { statuses: Array<{ key: string; text: string }> })
components/ChatWindow.tsx:694
FunctionExtensionWidgets
({ widgets }: { widgets: Array<{ key: string; lines: string[] }> })
components/ChatWindow.tsx:722
FunctionField
({ label, children }: { label: string; children: React.ReactNode })
components/ModelsConfig.tsx:156
FunctionFileViewer
({ filePath, cwd, sourceSessionId, onOpenFile, gitRefreshKey }: Props)
components/FileViewer.tsx:704
FunctionFolderIcon
({ size = 14, open = false }: IconProps & { open?: boolean })
components/FileIcons.tsx:11
FunctionGET
()
app/api/sessions/route.ts:5
FunctionGET
( req: Request, { params }: { params: Promise<{ id: string }> } )
app/api/sessions/[id]/route.ts:115
FunctionGET
( req: Request, { params }: { params: Promise<{ id: string }> } )
app/api/sessions/[id]/context/route.ts:5
FunctionGET
( _req: Request, { params }: { params: Promise<{ id: string }> }, )
app/api/sessions/[id]/state/route.ts:5
FunctionGET
( req: Request, { params }: { params: Promise<{ id: string; entryId: string }> }, )
app/api/sessions/[id]/entries/[entryId]/thinking/route.ts:4
FunctionGET
( req: Request, { params }: { params: Promise<{ id: string }> } )
app/api/sessions/[id]/export/route.ts:241
FunctionGET
( request: NextRequest, { params }: { params: Promise<{ path: string[] }> } )
app/api/files/[...path]/route.ts:389
FunctionGET
()
app/api/auth/providers/route.ts:5
FunctionGET
(_req: Request, { params }: Params)
app/api/auth/api-key/[provider]/route.ts:10
FunctionGET
()
app/api/auth/all-providers/route.ts:8
FunctionGET
( req: Request, { params }: { params: Promise<{ provider: string }> } )
app/api/auth/login/[provider]/route.ts:45
FunctionGET
(req: Request)
app/api/worktrees/route.ts:17
FunctionGET
(request: NextRequest)
app/api/git/diff/route.ts:5
FunctionGET
(request: NextRequest)
app/api/git/status/route.ts:6
FunctionGET
()
app/api/home/route.ts:4
FunctionGET
(req: NextRequest)
app/api/file-index/route.ts:116
FunctionGET
()
app/api/models-config/route.ts:30
FunctionGET
(req: Request)
app/api/plugins/route.ts:269
← previousnext →401–500 of 703, ranked by callers