Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x0funky/TermHive
/ functions
Functions
428 in github.com/0x0funky/TermHive
⨍
Functions
428
◇
Types & classes
101
↓ 2 callers
Function
loadFiles
()
client/src/components/ProjectWiki.tsx:76
↓ 2 callers
Function
makeTitle
Make a short conversation title from the first user message.
src/daemon/orchestrator.ts:605
↓ 2 callers
Function
mcpServerKeyForCodex
(agentId: string)
src/mcp-config.ts:41
↓ 2 callers
Function
normalizePath
Normalize for path equality — case-insensitive + forward slashes on Windows.
src/pty-manager.ts:44
↓ 2 callers
Method
onExit
Subscribe to app-server process exits (so threads can be re-resumed).
src/daemon/codex-server.ts:66
↓ 2 callers
Method
onNotification
Subscribe to app-server notifications (turn/thread/item events).
src/daemon/codex-server.ts:60
↓ 2 callers
Function
onSplit
(leafId: string, dir: 'h' | 'v')
client/src/components/AgentGrid.tsx:529
↓ 2 callers
Function
parseLog
(content: string)
client/src/components/ProjectWiki.tsx:28
↓ 2 callers
Function
projectFile
(projectId: string)
src/storage.ts:17
↓ 2 callers
Function
readDir
(d: string, prefix: string)
src/storage.ts:162
↓ 2 callers
Function
removeLeaf
(tree: TreeNode, leafId: string)
client/src/components/AgentGrid.tsx:70
↓ 2 callers
Function
renderMd
(text: string)
client/src/components/CodexAgentView.tsx:40
↓ 2 callers
Function
resizeRow
(setter: React.Dispatch<React.SetStateAction<number[]>>)
client/src/components/AgentGrid.tsx:846
↓ 2 callers
Function
saveHistory
(s: CodexSession)
src/daemon/codex-agents.ts:131
↓ 2 callers
Function
scheduleRestart
()
client/src/hooks/useWakeWord.ts:82
↓ 2 callers
Method
setStatus
(status: BrainStatus)
src/daemon/orchestrator.ts:551
↓ 2 callers
Function
sleep
(ms: number)
src/daemon/hive.ts:290
↓ 2 callers
Function
splitLeaf
(tree: TreeNode, leafId: string, dir: 'h' | 'v', newAgentId: string)
client/src/components/AgentGrid.tsx:54
↓ 2 callers
Function
start
()
client/src/hooks/useWakeWord.ts:87
↓ 2 callers
Function
timeAgo
(ts: string | undefined)
client/src/components/SharedContent.tsx:89
↓ 2 callers
Function
timeAgo
(timestamp: string)
client/src/components/ProjectWiki.tsx:17
↓ 2 callers
Function
timeAgo
(ts: string)
client/src/components/MessagesPanel.tsx:30
↓ 2 callers
Function
tomlString
(s: string)
src/mcp-config.ts:194
↓ 1 callers
Method
abortBrain
Cancel the in-flight Keeper turn (kill the Codex child process).
src/daemon/client.ts:204
↓ 1 callers
Method
abortTurn
* Cancel the in-flight Keeper turn. Kills the running codex child; its * `close` handler then resolves runCodexTurn, send()'s finally block runs,
src/daemon/orchestrator.ts:268
↓ 1 callers
Function
agentInitials
(name: string)
client/src/utils/agentIdentity.ts:39
↓ 1 callers
Function
attachTerminal
(ws: WebSocket, agentId: string)
src/daemon/daemon.ts:140
↓ 1 callers
Method
attachTerminal
(agentId: string)
src/daemon/client.ts:157
↓ 1 callers
Function
broadcastDispatch
( projectRef: string | undefined, message: string, )
src/daemon/hive.ts:608
↓ 1 callers
Function
buildTermhiveSection
* Build the Termhive instruction section content.
src/pty-manager.ts:175
↓ 1 callers
Function
buildTree
(items: api.SharedContent[])
client/src/components/SharedContent.tsx:25
↓ 1 callers
Function
claudeTranscriptDir
* Claude Code stores per-project transcripts at * ~/.claude/projects/<slug>/<sessionId>.jsonl * where <slug> is the cwd with every non-alphanumeri
src/daemon/hive.ts:173
↓ 1 callers
Function
cleanCommand
* Strip the shell wrapper codex adds so the card shows the real command. * On Windows codex runs everything as `"…\powershell.exe" -Command "ACTUAL"`
src/daemon/codex-agents.ts:229
↓ 1 callers
Function
cleanStaleCodexMcp
()
src/mcp-config.ts:168
↓ 1 callers
Function
createAgentDispatch
( projectRef: string, name: string, cli: string, role?: string, cwd?: string, )
src/daemon/hive.ts:739
↓ 1 callers
Function
createProjectDispatch
( name: string, cwd: string, description?: string, )
src/daemon/hive.ts:681
↓ 1 callers
Function
createRouter
( daemon: DaemonClient, broadcastStatus: (agentId: string, status: string) => void, broadcastContentUpda
src/routes.ts:10
↓ 1 callers
Function
dayGroup
(timestamp: string)
client/src/components/ActivityFeed.tsx:70
↓ 1 callers
Method
deleteBrainConversation
Delete a brain conversation.
src/daemon/client.ts:212
↓ 1 callers
Function
deleteConversation
(id: string)
client/src/components/CommandPanel.tsx:192
↓ 1 callers
Method
deleteConversation
Delete a conversation. Always keeps at least one.
src/daemon/orchestrator.ts:209
↓ 1 callers
Function
detachTerminal
(ws: WebSocket, agentId: string)
src/daemon/daemon.ts:154
↓ 1 callers
Method
dispatch
(msg: DaemonMessage)
src/daemon/client.ts:91
↓ 1 callers
Function
done
()
client/src/components/JarvisHud.tsx:148
↓ 1 callers
Method
ensureBrainEnv
Write the brain's AGENTS.md + dedicated Codex home (config + auth).
src/daemon/orchestrator.ts:473
↓ 1 callers
Function
ensureFolder
(fullPath: string, name: string)
client/src/components/SharedContent.tsx:29
↓ 1 callers
Function
ensureInstructionFile
* Write Termhive instructions to a markdown file (CLAUDE.md or AGENTS.md).
src/pty-manager.ts:246
↓ 1 callers
Function
ensureSharedDir
* Ensure the shared content directory exists with a README.
src/pty-manager.ts:151
↓ 1 callers
Function
eventIcon
(event: string)
client/src/components/ActivityFeed.tsx:40
↓ 1 callers
Function
expandHome
Expand leading ~ to the user's home directory
src/pty-manager.ts:36
↓ 1 callers
Function
extractReasoning
(item: Record<string, any>)
src/daemon/codex-agents.ts:210
↓ 1 callers
Function
extractSpoken
Distill the speakable line out of a Keeper reply.
client/src/components/JarvisHud.tsx:68
↓ 1 callers
Function
fetchUsage
()
client/src/components/Sidebar.tsx:81
↓ 1 callers
Function
findAgent
(project: SnapshotProject, ref: string)
src/hive-mcp-server.ts:163
↓ 1 callers
Function
formatDetail
(ev: ActivityEvent)
client/src/components/ActivityFeed.tsx:57
↓ 1 callers
Function
formatResetTime
(resetsAt: string | null)
client/src/components/Sidebar.tsx:25
↓ 1 callers
Function
getArg
(name: string)
src/hive-mcp-server.ts:28
↓ 1 callers
Function
getClaudeToken
()
src/usage.ts:26
↓ 1 callers
Function
getCliCommand
(agent: Agent, sharedPath: string, wikiPath: string, mcpConfigPath: string | null, hookConfigPath: string | nu
src/pty-manager.ts:268
↓ 1 callers
Function
getCodexAuth
()
src/usage.ts:68
↓ 1 callers
Function
getHookBaseUrl
Base URL the daemon serves hook callbacks on (HTTP on the daemon's port).
src/pty-manager.ts:15
↓ 1 callers
Function
getHubUrl
* Hub URL that the spawned MCP server will call back to. Matches the port * that server.ts listens on.
src/pty-manager.ts:31
↓ 1 callers
Function
getMcpServerPath
* Absolute path to the compiled MCP server entry (dist/mcp-server.js). * tsup builds mcp-server.ts alongside server.ts in the same dist folder.
src/pty-manager.ts:23
↓ 1 callers
Function
getServer
()
src/daemon/codex-agents.ts:102
↓ 1 callers
Function
getSharedPath
* Get the shared content directory path for a project.
src/pty-manager.ts:144
↓ 1 callers
Method
handleCodexLine
Parse one Codex `--json` event line. Returns true if it was an answer.
src/daemon/orchestrator.ts:409
↓ 1 callers
Function
handleHttp
(httpReq: IncomingMessage, res: ServerResponse)
src/daemon/daemon.ts:284
↓ 1 callers
Method
handleLine
(line: string)
src/daemon/codex-server.ts:130
↓ 1 callers
Function
handleRequest
(ws: WebSocket, req: DaemonRequest)
src/daemon/daemon.ts:165
↓ 1 callers
Function
handleSave
()
client/src/components/SharedContent.tsx:210
↓ 1 callers
Function
handleSave
()
client/src/components/ProjectWiki.tsx:105
↓ 1 callers
Function
handleSelectAgent
(projectId: string, agentId: string)
client/src/components/Sidebar.tsx:109
↓ 1 callers
Function
handleSelectProject
(id: string)
client/src/components/Sidebar.tsx:104
↓ 1 callers
Function
hasClaudeSessionFor
* Claude Code stores project session transcripts under * ~/.claude/projects/<slug>/<sessionId>.jsonl * where <slug> is cwd with every non-alphanum
src/pty-manager.ts:56
↓ 1 callers
Function
hasCodexSessionFor
* Codex CLI stores session rollout files at * ~/.codex/sessions/YYYY/MM/DD/rollout-<ts>-<uuid>.jsonl * The cwd is embedded inside each file's firs
src/pty-manager.ts:78
↓ 1 callers
Function
hashStr
(s: string)
client/src/utils/agentIdentity.ts:25
↓ 1 callers
Function
hookEventToStatus
(event: string)
src/hook-config.ts:31
↓ 1 callers
Function
initializeWiki
(projectId: string)
src/storage.ts:355
↓ 1 callers
Method
isRunning
()
src/daemon/codex-server.ts:71
↓ 1 callers
Method
itemToMessage
Map a Codex turn item to a renderable brain message (or null to skip).
src/daemon/orchestrator.ts:436
↓ 1 callers
Function
liveStatus
Fine-grained status for one agent, with a process-liveness floor.
src/daemon/daemon.ts:108
↓ 1 callers
Method
load
()
src/daemon/orchestrator.ts:561
↓ 1 callers
Function
loadHistory
Pull a resumed thread's past turns/items back into the view.
src/daemon/codex-agents.ts:424
↓ 1 callers
Function
loadSavedHistory
Load a previously persisted item log, if it matches the resumed thread.
src/daemon/codex-agents.ts:169
↓ 1 callers
Function
main
()
src/mcp-server.ts:52
↓ 1 callers
Function
main
()
src/hive-mcp-server.ts:180
↓ 1 callers
Function
matchesFilter
(event: string, f: Filter)
client/src/components/ActivityFeed.tsx:49
↓ 1 callers
Method
newBrainConversation
Start a fresh brain conversation.
src/daemon/client.ts:200
↓ 1 callers
Method
newConversation
Start a fresh conversation (keeps the existing ones).
src/daemon/orchestrator.ts:190
↓ 1 callers
Method
notify
Send a fire-and-forget JSON-RPC notification.
src/daemon/codex-server.ts:193
↓ 1 callers
Method
onBrain
(listener: BrainListener)
src/daemon/client.ts:178
↓ 1 callers
Method
onCodexItem
(listener: CodexItemListener)
src/daemon/client.ts:190
↓ 1 callers
Method
onDispatch
(listener: DispatchListener)
src/daemon/client.ts:182
↓ 1 callers
Method
onOrgChanged
(listener: OrgChangedListener)
src/daemon/client.ts:186
↓ 1 callers
Method
onOutput
(listener: OutputListener)
src/daemon/client.ts:170
↓ 1 callers
Method
onServerRequest
Install the handler for server→client requests (approvals etc.).
src/daemon/codex-server.ts:55
↓ 1 callers
Method
onStatus
(listener: StatusListener)
src/daemon/client.ts:174
↓ 1 callers
Method
onStdout
(chunk: string)
src/daemon/codex-server.ts:120
↓ 1 callers
Function
onSwap
(idA: string, idB: string)
client/src/components/AgentGrid.tsx:536
↓ 1 callers
Function
orgSnapshot
(liveStatus: (agentId: string) => string)
src/daemon/hive.ts:52
← previous
next →
101–200 of 428, ranked by callers