Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrispyers/openkiwi
/ functions
Functions
537 in github.com/chrispyers/openkiwi
⨍
Functions
537
◇
Types & classes
151
↓ 191 callers
Method
log
(entry: Omit<LogEntry, 'id' | 'timestamp'>)
src/logger.ts:45
↓ 40 callers
Function
loadConfig
()
src/config-manager.ts:162
↓ 36 callers
Function
saveConfig
(e?: React.FormEvent, configOverride?: Config)
ui/src/App.tsx:774
↓ 34 callers
Function
makeAgent
(overrides: any = {})
src/tests/heartbeat-manager.test.ts:112
↓ 32 callers
Function
executeHeartbeat
Invoke the private static executeHeartbeat directly.
src/tests/heartbeat-manager.test.ts:149
↓ 24 callers
Function
makeContext
(connectionString?: string)
tools/tests/postgres.test.ts:31
↓ 24 callers
Function
storeContext
(stores: Record<string, any> = {})
tools/tests/qdrant.test.ts:56
↓ 23 callers
Method
getAgent
(id: string)
src/agent-manager.ts:84
↓ 22 callers
Method
getInstance
()
src/whatsapp-manager.ts:89
↓ 21 callers
Function
getApiUrl
(path: string, addr?: string)
ui/src/App.tsx:193
↓ 19 callers
Function
mockFetchOk
(body: any = {})
src/tests/unit/llm-provider.test.ts:9
↓ 17 callers
Function
streamChatCompletion
( providerConfig: LLMProviderConfig, messages: { role: string; content: string | { type: string; text?
src/llm-provider.ts:62
↓ 16 callers
Method
close
()
src/memory/manager.ts:119
↓ 15 callers
Function
drain
(gen: AsyncGenerator)
src/tests/unit/llm-provider.test.ts:90
↓ 14 callers
Function
isValidName
(name: string)
src/routes/projects.ts:16
↓ 14 callers
Function
lastRequestBody
()
src/tests/unit/llm-provider.test.ts:49
↓ 14 callers
Function
resolveWorkspacePath
(inputPath: string)
tools/lib/workspace.ts:13
↓ 13 callers
Method
listAgents
()
src/agent-manager.ts:51
↓ 13 callers
Function
mockGhSuccess
(stdout: string | object)
tools/tests/github.test.ts:15
↓ 13 callers
Method
registerTool
(tool: any)
src/tool-manager.ts:132
↓ 12 callers
Function
encrypt
(text: string)
src/config-manager.ts:27
↓ 12 callers
Function
mockQuerySuccess
(rows: any[], fields?: { name: string; dataTypeID: number }[])
tools/tests/postgres.test.ts:42
↓ 11 callers
Method
setAgentState
(id: string, status: string, details?: string)
src/agent-manager.ts:275
↓ 10 callers
Function
fetchAgents
(addr?: string, token?: string)
ui/src/App.tsx:656
↓ 10 callers
Function
getChatCompletion
( providerConfig: LLMProviderConfig, messages: { role: string; content: string }[], options?: { ma
src/llm-provider.ts:296
↓ 9 callers
Function
signMarkdown
(content: string)
src/security.ts:47
↓ 8 callers
Function
broadcastMessage
(message: any)
src/state.ts:14
↓ 8 callers
Function
decrypt
(text: string)
src/config-manager.ts:36
↓ 8 callers
Function
getBasename
(filePath)
ui/src/components/ChatBubble.jsx:9
↓ 8 callers
Function
ghApi
(...args: string[])
tools/github/github.ts:21
↓ 8 callers
Function
runAgentLoop
(options: AgentLoopOptions)
src/agent-loop.ts:287
↓ 8 callers
Method
sendMessage
(to: string, text: string)
src/whatsapp-manager.ts:302
↓ 7 callers
Method
getStatus
* Get status of all MCP server connections.
src/mcp-client.ts:383
↓ 7 callers
Method
getToolDefinitions
()
src/tool-manager.ts:145
↓ 7 callers
Method
getWorkflow
(id: string)
src/services/workflow-service.ts:29
↓ 7 callers
Function
handleDeleteProvider
(originalIndex: number)
ui/src/components/pages/ModelsPage.tsx:176
↓ 7 callers
Method
readFile
(filePath: string)
src/agent-manager.ts:289
↓ 7 callers
Method
saveSession
(session: Session)
src/session-manager.ts:96
↓ 7 callers
Function
uuid
()
ui/src/components/pages/SettingsPage/Settings_Connections.tsx:22
↓ 6 callers
Function
authMiddleware
(req: any, res: any, next: any)
src/security.ts:61
↓ 6 callers
Function
debug
(...args: unknown[])
tools/github/github.ts:11
↓ 6 callers
Function
detectCapabilities
(model: Model)
ui/src/components/pages/ModelsPage.tsx:186
↓ 6 callers
Function
fetchModels
(isSilent = false, configOverride?: { endpoint: string, apiKey?: string }, skipSetState = false, addr?: string
ui/src/App.tsx:725
↓ 6 callers
Method
getSession
(id: string)
src/session-manager.ts:68
↓ 6 callers
Function
handleRowClick
(idx: number)
ui/src/components/pages/ModelsPage.tsx:143
↓ 6 callers
Function
maskPat
(pat: string)
ui/src/components/pages/SettingsPage/Settings_Connections.tsx:86
↓ 6 callers
Function
readProjectConfig
(projectPath: string)
src/routes/projects.ts:45
↓ 6 callers
Function
saveAgentConfig
(formOverride?: any, successMessage?: string, successDescription?: string)
ui/src/App.tsx:813
↓ 6 callers
Function
signUrl
(url: string)
src/security.ts:30
↓ 6 callers
Function
writeProjectConfig
(projectPath: string, config: ProjectConfig)
src/services/project-orchestrator.ts:66
↓ 5 callers
Method
clear
()
src/logger.ts:99
↓ 5 callers
Method
connect
* Connect to a single MCP server, perform handshake, discover tools, and register them.
src/mcp-client.ts:85
↓ 5 callers
Function
createEmbedding
( providerConfig: LLMProviderConfig, input: string | string[] )
src/llm-provider.ts:402
↓ 5 callers
Method
createWorkflow
(name: string, description: string = '')
src/services/workflow-service.ts:33
↓ 5 callers
Function
debug
(...args: unknown[])
tools/qdrant/qdrant.ts:10
↓ 5 callers
Method
disconnect
* Disconnect from a specific MCP server.
src/mcp-client.ts:352
↓ 5 callers
Function
generateFileSignature
(pathSuffix: string, expires: number)
src/security.ts:11
↓ 5 callers
Method
getDefaultAgentId
* Returns the default agent ID: prefers 'luna', then oldest agent by * directory creation time, then first alphabetically.
src/agent-manager.ts:63
↓ 5 callers
Function
getGhArgs
(callIndex = 0)
tools/tests/github.test.ts:42
↓ 5 callers
Method
getWorkflowStates
(workflowId: string)
src/services/workflow-service.ts:64
↓ 5 callers
Function
popupPage
(type: 'success' | 'error', message = '')
src/routes/auth.ts:41
↓ 5 callers
Method
sync
(force: boolean = false)
src/memory/manager.ts:137
↓ 5 callers
Function
updateNode
(nodes: TreeNode[], targetPath: string, updater: (n: TreeNode) => TreeNode)
ui/src/components/pages/WorkspacePage.tsx:177
↓ 5 callers
Function
useTheme
()
ui/src/contexts/ThemeContext.tsx:89
↓ 5 callers
Function
verifyFileSignature
(pathSuffix: string, expires: number, signature: string)
src/security.ts:21
↓ 4 callers
Function
categoryToHeader
* Convert a category slug (e.g., "personal_info") to a section header (e.g., "Personal Info").
src/tools/memory_tools.ts:128
↓ 4 callers
Method
clear
(runId: string)
src/services/scratchpad.ts:120
↓ 4 callers
Function
execInWorkspace
( command: string, cwd: string, options: { timeout?: number; maxBuffer?: number } = {} )
tools/lib/exec.ts:37
↓ 4 callers
Function
fetchConfig
(addr?: string, token?: string)
ui/src/App.tsx:498
↓ 4 callers
Function
fetchConnectedClients
(addr?: string, token?: string)
ui/src/App.tsx:485
↓ 4 callers
Function
fetchSessions
(addr?: string, token?: string)
ui/src/App.tsx:711
↓ 4 callers
Function
fetchTelegramStatus
()
ui/src/App.tsx:609
↓ 4 callers
Function
fetchWhatsAppStatus
()
ui/src/App.tsx:562
↓ 4 callers
Function
getBasename
(filePath: string)
ui/src/components/code/ToolBlock.tsx:17
↓ 4 callers
Function
getDefaultConfig
()
src/routes/projects.ts:35
↓ 4 callers
Function
getExtension
(name: string)
ui/src/components/pages/WorkspacePage.tsx:38
↓ 4 callers
Method
getMemoryManager
(agentId: string)
src/agent-manager.ts:296
↓ 4 callers
Function
getProviderEndpoint
* Determines the correct API URL and headers based on provider type. * - Google Gemini: uses /v1beta/openai/chat/completions with Bearer auth * - Op
src/llm-provider.ts:23
↓ 4 callers
Method
getSkillDefinitions
()
src/skill-manager.ts:72
↓ 4 callers
Function
handleAddNode
(afterIndex: number | null)
ui/src/components/Workflows/WorkflowBuilder.tsx:284
↓ 4 callers
Function
lastRequestHeaders
()
src/tests/unit/llm-provider.test.ts:54
↓ 4 callers
Function
lastRequestUrl
()
src/tests/unit/llm-provider.test.ts:59
↓ 4 callers
Function
mockQueryError
(message: string)
tools/tests/postgres.test.ts:52
↓ 4 callers
Method
read
(runId: string, filter?: { agentId?: string })
src/services/scratchpad.ts:43
↓ 4 callers
Function
sortFindings
(findings: Finding[])
tools/security_scanner/security_scanner.ts:34
↓ 4 callers
Function
writeProjectConfig
(projectPath: string, config: ProjectConfig)
src/routes/projects.ts:57
↓ 3 callers
Function
any
(patterns: string[])
ui/src/components/pages/ModelsPage.tsx:195
↓ 3 callers
Function
buildStreamingMsgs
()
ui/src/App.tsx:1058
↓ 3 callers
Function
buildStreamingMsgs
()
ui/src/components/pages/CodePage.tsx:144
↓ 3 callers
Function
checkForUpdates
()
src/services/update-service.ts:8
↓ 3 callers
Method
createWorkflowState
(workflowId: string, name: string, orderIndex: number, assignedAgentId: string | null = null, requiresApproval
src/services/workflow-service.ts:72
↓ 3 callers
Method
deleteWorkflow
(id: string)
src/services/workflow-service.ts:56
↓ 3 callers
Function
ensureConfigDir
()
src/config-manager.ts:155
↓ 3 callers
Function
estimateTokens
* Rough token estimate: ~4 chars per token for English text. * This is intentionally conservative — better to compact early than overflow.
src/agent-loop.ts:15
↓ 3 callers
Method
executeHeartbeat
(agentId: string)
src/heartbeat-manager.ts:81
↓ 3 callers
Function
fetchGoogleStatus
()
ui/src/components/pages/SettingsPage/Settings_Connections.tsx:202
↓ 3 callers
Function
getAgentName
(agentId: string)
ui/src/components/pages/ProjectsPage.tsx:320
↓ 3 callers
Method
getAgentState
(id: string)
src/agent-manager.ts:263
↓ 3 callers
Function
getAppVersion
()
src/services/update-service.ts:4
↓ 3 callers
Function
getHeader
(name: string)
tools/google_gmail/google_gmail.ts:137
next →
1–100 of 537, ranked by callers