Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kevin7Qi/codex-collab
/ functions
Functions
413 in github.com/Kevin7Qi/codex-collab
⨍
Functions
413
◇
Types & classes
90
↓ 1 callers
Function
logTail
()
src/commands/run.ts:116
↓ 1 callers
Function
main
()
src/broker-server.ts:102
↓ 1 callers
Function
main
()
src/cli.ts:272
↓ 1 callers
Function
mapLegacyStatus
* Map old thread status values to the new RunStatus type. * "running" is mapped to "failed" since stale running entries are dead.
src/threads.ts:568
↓ 1 callers
Function
mapLegacyThreadStatus
(lastStatus?: string)
src/threads.ts:578
↓ 1 callers
Method
notify
Send a notification (fire-and-forget).
src/client.ts:52
↓ 1 callers
Method
notify
Send a notification (fire-and-forget).
src/rpc.ts:151
↓ 1 callers
Method
onAny
Register a wildcard handler that fires for every server-sent notification.
src/rpc.ts:155
↓ 1 callers
Method
onNotification
(handler: (msg: Record<string, unknown>) => void)
src/broker-server.test.ts:399
↓ 1 callers
Function
onRequest
(method: string, handler: (params: unknown) => unknown | Promise<unknown>)
src/turns.test.ts:87
↓ 1 callers
Function
parseAll
(text: string)
src/render.test.ts:8
↓ 1 callers
Function
parseArgs
(argv: string[])
src/broker-server.ts:41
↓ 1 callers
Function
pickHighestEffort
Pick the highest reasoning effort a model supports.
src/commands/shared.ts:753
↓ 1 callers
Function
pluralize
(n: number, word: string)
src/commands/shared.ts:1073
↓ 1 callers
Function
printResult
( result: TurnResult, label: string, contentOnly: boolean, )
src/commands/shared.ts:1099
↓ 1 callers
Function
processItemCompleted
(itemParams: ItemCompletedParams)
src/turns.ts:194
↓ 1 callers
Function
processMessage
(socket: net.Socket, message: Record<string, unknown>)
src/broker-server.ts:445
↓ 1 callers
Function
readMigrationMarker
* Read the per-workspace migration marker, returning null if absent or * unparseable. Corrupt markers are logged and treated as absent so migration
src/threads.ts:624
↓ 1 callers
Function
registerApprovalHandlers
* Register approval request handlers on the client. Notification routing * lives in executeTurn, where it can filter by the active turn. * Returns a
src/turns.ts:513
↓ 1 callers
Method
reset
()
src/events.ts:235
↓ 1 callers
Function
resetInferenceTimer
()
src/turns.ts:184
↓ 1 callers
Function
resolveBrokerServerPath
Resolve the broker-server entry point path.
src/broker.ts:301
↓ 1 callers
Function
resolveLogFile
(logFile: string | null)
src/threads.ts:463
↓ 1 callers
Function
resolveReviewTarget
(positional: string[], opts: Options, cwd: string)
src/commands/review.ts:37
↓ 1 callers
Function
runMigration
Core migration body. Caller MUST hold withThreadLock(markerPath, …).
src/threads.ts:715
↓ 1 callers
Function
sandboxPolicyFor
(mode: SandboxMode)
src/commands/shared.ts:1029
↓ 1 callers
Function
setShuttingDown
(val: boolean)
src/commands/shared.ts:617
↓ 1 callers
Function
spawnBrokerServer
* Spawn the broker-server as a detached process. * * `detached: true` puts the child in a new process group so SIGINT delivered * to the foreground
src/broker.ts:331
↓ 1 callers
Function
terminateUnix
(pid: number)
src/process.ts:43
↓ 1 callers
Function
terminateWindows
(pid: number)
src/process.ts:93
↓ 1 callers
Function
timePrefix
(ts: string | null, color: boolean)
src/render.ts:119
↓ 1 callers
Function
triggerClose
()
src/turns.test.ts:66
↓ 1 callers
Function
tryArchive
(client: AppServerClient, threadId: string)
src/commands/shared.ts:1285
↓ 1 callers
Function
tryRouteApprovalResponse
(socket: net.Socket, parsed: Record<string, unknown>)
src/broker-server.ts:405
↓ 1 callers
Function
waitForBrokerReady
* Wait for the broker to become alive by polling the socket. * Returns true if alive within the timeout, false otherwise. * * Aborts early if the s
src/broker.ts:382
↓ 1 callers
Function
workspaceDirName
* Compute the workspace-specific slug-hash suffix for a given cwd. * Mirrors the logic in resolveStateDir but returns only the directory name.
src/threads.ts:611
↓ 1 callers
Function
writeGlobalLog
(globalDataDir: string, shortId: string, content: string)
src/threads.test.ts:688
Function
approvalsDir
@deprecated Will be removed when approvals module is refactored to use per-workspace state.
src/config.ts:93
Method
cleanup
()
src/approvals.ts:146
Function
close
()
src/turns.test.ts:96
Method
close
()
src/broker-server.test.ts:411
Function
configFile
()
src/config.ts:99
Method
constructor
(public readonly threadId: string)
src/turns.ts:137
Method
constructor
(socket: net.Socket)
src/broker-server.test.ts:304
Method
constructor
( private approvalsDir: string, private onProgress: (line: string) => void, opts?: InteractiveAppr
src/approvals.ts:57
Method
constructor
( logPath: string, onProgress?: ProgressCallback, guardianDir?: string, )
src/events.ts:31
Method
constructor
(message: string, public readonly rpcCode: number)
src/types.ts:150
Method
constructor
(message: string)
src/types.ts:159
Method
constructor
(lockPath: string, heldForMs: number | null)
src/lock.ts:33
Function
dataDir
()
src/config.ts:87
Function
defaultBrokerIdleTimeout
()
src/config.ts:70
Method
destroyed
()
src/broker-server.test.ts:420
Function
done
()
src/broker-server.test.ts:1510
Method
emit
Fire a notification to all registered handlers for a method.
src/turns.test.ts:40
Function
feed
(chunk: string)
src/rpc.ts:304
Function
handleApprove
(args: string[])
src/commands/approve.ts:42
Function
handleClean
(args: string[])
src/commands/threads.ts:542
Function
handleCommandApproval
(req)
src/turns.test.ts:948
Function
handleCommandApproval
()
src/approvals.ts:20
Method
handleCommandApproval
(req: CommandApprovalRequest, signal?: AbortSignal)
src/approvals.ts:76
Function
handleConfig
(args: string[])
src/commands/config.ts:19
Function
handleDecline
(args: string[])
src/commands/approve.ts:46
Function
handleDelete
(args: string[])
src/commands/threads.ts:406
Function
handleFileChangeApproval
(req)
src/turns.test.ts:952
Function
handleFileChangeApproval
()
src/approvals.ts:23
Method
handleFileChangeApproval
(req: FileChangeApprovalRequest, signal?: AbortSignal)
src/approvals.ts:105
Function
handleFollow
(args: string[])
src/commands/follow.ts:327
Function
handleHealth
(args: string[])
src/commands/config.ts:118
Function
handleKill
(args: string[])
src/commands/kill.ts:18
Function
handleModels
(args: string[])
src/commands/config.ts:97
Function
handleOutput
(args: string[])
src/commands/threads.ts:355
Function
handlePeek
(args: string[])
src/commands/peek.ts:149
Function
handleProgress
(args: string[])
src/commands/threads.ts:387
Function
handleReview
(args: string[])
src/commands/review.ts:66
Function
handleRun
(args: string[])
src/commands/run.ts:181
Function
handleTemplates
(args: string[])
src/commands/config.ts:146
Function
handleThreads
(args: string[])
src/commands/threads.ts:116
Function
killSignalsDir
@deprecated Will be removed when turns module is refactored to use per-workspace state.
src/config.ts:95
Function
logsDir
@deprecated Will be removed when events module is refactored to use per-workspace state.
src/config.ts:91
Function
markClosed
()
src/rpc.ts:387
Method
messages
()
src/broker-server.test.ts:407
Function
notify
()
src/turns.test.ts:74
Function
notify
(method: string, params?: unknown)
src/rpc.ts:346
Function
on
(method: string, handler: (params: unknown) => void)
src/turns.test.ts:75
Function
on
(method: string, handler: NotificationHandler)
src/rpc.ts:350
Function
onAny
(_handler: (method: string, params: unknown) => void)
src/turns.test.ts:82
Function
onAny
(handler: AnyNotificationHandler)
src/rpc.ts:360
Method
onAny
Register a wildcard handler that fires for every server-sent notification. * Used by the broker to forward all notifications to clients without an
src/client.ts:59
Function
onClose
(handler: () => void)
src/turns.test.ts:92
Function
onClose
(handler: () => void)
src/rpc.ts:382
Method
onClose
Register a callback invoked when the connection closes unexpectedly * (e.g. the app-server process exits). Not called on intentional close().
src/client.ts:67
Function
onData
(chunk: string)
src/broker.test.ts:797
Function
onProgress
(line: string)
src/commands/shared.ts:634
Function
onRequest
(method: string, handler: ServerRequestHandler)
src/rpc.ts:365
Method
onRequest
(handler: (msg: Record<string, unknown>) => void)
src/broker-server.test.ts:403
Method
onRequest
Register a handler for server-sent requests (e.g. approval). One handler per method; * new registrations replace previous ones. Returns an unsubsc
src/client.ts:62
Method
pick
(obj: Record<string, unknown> | undefined, ...keys: string[])
src/events.ts:155
Function
pidsDir
@deprecated Will be removed when cli module is refactored to use per-workspace state.
src/config.ts:97
Method
rejectAllPending
Reject all pending requests without firing onClose handlers (e.g. a * read-loop error where the connection may be torn down separately).
src/rpc.ts:172
Function
request
(method: string, params?: unknown)
src/turns.test.ts:71
← previous
next →
301–400 of 413, ranked by callers