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
Method
addAutocompleteProvider
()
lib/pi-types.ts:105
Function
addImages
(files: File[])
components/ChatInput.tsx:298
Method
bg
(...[, text]: Parameters<Theme["bg"]>)
lib/rpc-manager.ts:74
Method
bold
(text: string)
lib/rpc-manager.ts:75
Function
cachedFetcher
(input, init)
lib/skill-updates.ts:248
Function
cancel
()
app/api/files/[...path]/route.ts:253
Function
cancel
()
app/api/auth/login/[provider]/route.ts:180
Function
cleanup
()
app/api/agent/running/events/route.ts:39
Function
cleanup
()
app/api/agent/[id]/events/route.ts:53
Method
cleanup
()
lib/rpc-manager.ts:783
Function
code
({ className, children, ...props })
components/MarkdownBody.tsx:30
Function
compareModelEntries
( a: { id: string; name: string; provider: string }, b: { id: string; name: string; provider: string } )
app/api/models/route.ts:11
Function
compareModelOptions
(a: ModelOption, b: ModelOption)
components/ChatInput.tsx:75
Method
confirm
(title: string, message: string, opts?: DialogOptionsLike)
lib/pi-types.ts:87
Method
constructor
()
lib/rpc-manager.ts:65
Method
constructor
(public readonly inner: AgentSessionLike)
lib/rpc-manager.ts:125
Method
constructor
(readonly status: number)
lib/skill-updates.ts:42
Method
constructor
(public readonly status: Exclude<EventStreamConnectionStatus, "connected">)
hooks/useAgentSession.ts:178
Function
convertToLlm
(value)
lib/session-title.test.mjs:116
Function
copy
()
components/MarkdownBody.tsx:212
Function
copyContent
()
components/MessageView.tsx:170
Function
createUndiciOriginDispatcher
(origin: string | URL, options: object)
lib/http-dispatcher.ts:44
Method
custom
(...args: unknown[])
lib/pi-types.ts:101
Method
done
(value: T)
lib/rpc-manager.ts:719
Function
draftImageToAttachedImage
(image: ChatDraftImage)
components/ChatInput.tsx:145
Method
editor
(title: string, prefill?: string, opts?: DialogOptionsLike)
lib/pi-types.ts:89
Method
fg
(...[, text]: Parameters<Theme["fg"]>)
lib/rpc-manager.ts:73
Method
finish
(value: T)
lib/rpc-manager.ts:714
Method
getAllThemes
()
lib/pi-types.ts:109
Method
getBashModeBorderColor
()
lib/rpc-manager.ts:85
Method
getBgAnsi
()
lib/rpc-manager.ts:81
Method
getEditorComponent
()
lib/pi-types.ts:107
Method
getEditorText
()
lib/pi-types.ts:104
Method
getFgAnsi
()
lib/rpc-manager.ts:80
Function
getServerSnapshot
()
hooks/useIsMobile.ts:20
Function
getServerSnapshot
()
hooks/useTheme.ts:21
Function
getSnapshot
()
hooks/useIsMobile.ts:15
Method
getTheme
(name: string)
lib/pi-types.ts:110
Method
getThinkingBorderColor
()
lib/rpc-manager.ts:82
Method
getToolsExpanded
()
lib/pi-types.ts:112
Function
handleClick
(event: MouseEvent<HTMLAnchorElement>)
components/FileViewer.tsx:964
Function
handleClick
(event: MouseEvent<HTMLAnchorElement>)
components/MarkdownBody.tsx:65
Function
handler
(e: MouseEvent)
components/ChatInput.tsx:848
Function
handler
(e: MouseEvent)
components/SessionSidebar.tsx:695
Function
handler
(e: KeyboardEvent)
hooks/useKeyboardShortcuts.ts:48
Function
headers
()
next.config.ts:21
Function
ignoreUndiciDispatcherError
()
lib/http-dispatcher.ts:12
Function
imageSignature
(block: unknown)
hooks/useAgentSession.ts:258
Function
imageToDraftImage
(image: AttachedImage)
components/ChatInput.tsx:141
Method
input
(title: string, placeholder?: string, opts?: DialogOptionsLike)
lib/pi-types.ts:88
Function
insertIfEmpty
(text: string)
components/ChatInput.tsx:245
Function
insertText
(text: string)
components/ChatInput.tsx:275
Method
inverse
(text: string)
lib/rpc-manager.ts:78
Method
italic
(text: string)
lib/rpc-manager.ts:76
Function
loadFullOutput
()
components/MessageView.tsx:1385
Function
loader
()
lib/models-cache.test.mjs:43
Function
noticeReducer
(state: NoticeState, action: NoticeAction)
hooks/useAgentSession.ts:219
Method
notify
(message: string, type?: "info" | "warning" | "error")
lib/pi-types.ts:90
Method
onAbort
()
lib/rpc-manager.ts:793
Function
onMove
(ev: MouseEvent)
components/ChatMinimap.tsx:201
Method
onTerminalInput
()
lib/pi-types.ts:91
Function
onUp
()
components/ChatMinimap.tsx:206
Function
onVisible
()
hooks/useAgentSession.ts:861
Function
openUploadPicker
()
components/FileExplorer.tsx:579
Function
originalExecute
()
lib/session-title.test.mjs:108
Method
pasteToEditor
(text: string)
lib/pi-types.ts:102
Function
pre
({ children })
components/MarkdownBody.tsx:49
Function
prependText
(text: string)
components/ChatInput.tsx:258
Function
register
()
instrumentation.ts:1
Function
resolveGitTreeHash
(install: SkillInstallInfo)
lib/skill-updates.ts:120
Method
sessionFile
()
lib/rpc-manager.ts:131
Method
sessionId
()
lib/rpc-manager.ts:127
Method
setEditorComponent
()
lib/pi-types.ts:106
Method
setEditorText
(text: string)
lib/pi-types.ts:103
Method
setFooter
(factory: unknown)
lib/pi-types.ts:98
Method
setHeader
(factory: unknown)
lib/pi-types.ts:99
Method
setHiddenThinkingLabel
(label?: string)
lib/pi-types.ts:96
Method
setStatus
(key: string, text: string | undefined)
lib/pi-types.ts:92
Method
setTheme
(theme: unknown)
lib/pi-types.ts:111
Method
setTitle
(title: string)
lib/pi-types.ts:100
Method
setToolsExpanded
(expanded: boolean)
lib/pi-types.ts:113
Method
setWidget
(key: string, content: string[] | ((...args: never[]) => unknown) | undefined, options?: WidgetOptionsLike)
lib/pi-types.ts:97
Method
setWorkingIndicator
(options?: { frames?: string[]; intervalMs?: number })
lib/pi-types.ts:95
Method
setWorkingMessage
(message?: string)
lib/pi-types.ts:93
Method
setWorkingVisible
(visible: boolean)
lib/pi-types.ts:94
Method
settle
(value: T)
lib/rpc-manager.ts:789
Function
start
(controller)
app/api/files/[...path]/route.ts:224
Function
start
(controller)
app/api/auth/login/[provider]/route.ts:61
Function
start
(controller)
app/api/agent/running/events/route.ts:10
Function
start
(controller)
app/api/agent/[id]/events/route.ts:30
Function
step
()
components/SessionSidebar.tsx:251
Function
streamFunction
()
lib/session-title.test.mjs:118
Function
streamReducer
(state: StreamingState, action: StreamAction)
hooks/useAgentSession.ts:41
Method
strikethrough
(text: string)
lib/rpc-manager.ts:79
Function
stripThinkingSuffix
(modelRef: string)
app/api/models/route.ts:22
Function
subscribe
(cb: () => void)
hooks/useIsMobile.ts:8
Function
subscribe
(cb: () => void)
hooks/useTheme.ts:9
Function
table
({ children })
components/MarkdownBody.tsx:80
Method
theme
()
lib/rpc-manager.ts:913
Function
tick
()
components/MessageView.tsx:428
← previous
next →
601–700 of 703, ranked by callers