MCPcopy Create free account

hub / github.com/Kevin7Qi/codex-collab / functions

Functions413 in github.com/Kevin7Qi/codex-collab

↓ 1 callersFunctionlogTail
()
src/commands/run.ts:116
↓ 1 callersFunctionmain
()
src/broker-server.ts:102
↓ 1 callersFunctionmain
()
src/cli.ts:272
↓ 1 callersFunctionmapLegacyStatus
* 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 callersFunctionmapLegacyThreadStatus
(lastStatus?: string)
src/threads.ts:578
↓ 1 callersMethodnotify
Send a notification (fire-and-forget).
src/client.ts:52
↓ 1 callersMethodnotify
Send a notification (fire-and-forget).
src/rpc.ts:151
↓ 1 callersMethodonAny
Register a wildcard handler that fires for every server-sent notification.
src/rpc.ts:155
↓ 1 callersMethodonNotification
(handler: (msg: Record<string, unknown>) => void)
src/broker-server.test.ts:399
↓ 1 callersFunctiononRequest
(method: string, handler: (params: unknown) => unknown | Promise<unknown>)
src/turns.test.ts:87
↓ 1 callersFunctionparseAll
(text: string)
src/render.test.ts:8
↓ 1 callersFunctionparseArgs
(argv: string[])
src/broker-server.ts:41
↓ 1 callersFunctionpickHighestEffort
Pick the highest reasoning effort a model supports.
src/commands/shared.ts:753
↓ 1 callersFunctionpluralize
(n: number, word: string)
src/commands/shared.ts:1073
↓ 1 callersFunctionprintResult
( result: TurnResult, label: string, contentOnly: boolean, )
src/commands/shared.ts:1099
↓ 1 callersFunctionprocessItemCompleted
(itemParams: ItemCompletedParams)
src/turns.ts:194
↓ 1 callersFunctionprocessMessage
(socket: net.Socket, message: Record<string, unknown>)
src/broker-server.ts:445
↓ 1 callersFunctionreadMigrationMarker
* 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 callersFunctionregisterApprovalHandlers
* 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 callersMethodreset
()
src/events.ts:235
↓ 1 callersFunctionresetInferenceTimer
()
src/turns.ts:184
↓ 1 callersFunctionresolveBrokerServerPath
Resolve the broker-server entry point path.
src/broker.ts:301
↓ 1 callersFunctionresolveLogFile
(logFile: string | null)
src/threads.ts:463
↓ 1 callersFunctionresolveReviewTarget
(positional: string[], opts: Options, cwd: string)
src/commands/review.ts:37
↓ 1 callersFunctionrunMigration
Core migration body. Caller MUST hold withThreadLock(markerPath, …).
src/threads.ts:715
↓ 1 callersFunctionsandboxPolicyFor
(mode: SandboxMode)
src/commands/shared.ts:1029
↓ 1 callersFunctionsetShuttingDown
(val: boolean)
src/commands/shared.ts:617
↓ 1 callersFunctionspawnBrokerServer
* 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 callersFunctionterminateUnix
(pid: number)
src/process.ts:43
↓ 1 callersFunctionterminateWindows
(pid: number)
src/process.ts:93
↓ 1 callersFunctiontimePrefix
(ts: string | null, color: boolean)
src/render.ts:119
↓ 1 callersFunctiontriggerClose
()
src/turns.test.ts:66
↓ 1 callersFunctiontryArchive
(client: AppServerClient, threadId: string)
src/commands/shared.ts:1285
↓ 1 callersFunctiontryRouteApprovalResponse
(socket: net.Socket, parsed: Record<string, unknown>)
src/broker-server.ts:405
↓ 1 callersFunctionwaitForBrokerReady
* 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 callersFunctionworkspaceDirName
* 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 callersFunctionwriteGlobalLog
(globalDataDir: string, shortId: string, content: string)
src/threads.test.ts:688
FunctionapprovalsDir
@deprecated Will be removed when approvals module is refactored to use per-workspace state.
src/config.ts:93
Methodcleanup
()
src/approvals.ts:146
Functionclose
()
src/turns.test.ts:96
Methodclose
()
src/broker-server.test.ts:411
FunctionconfigFile
()
src/config.ts:99
Methodconstructor
(public readonly threadId: string)
src/turns.ts:137
Methodconstructor
(socket: net.Socket)
src/broker-server.test.ts:304
Methodconstructor
( private approvalsDir: string, private onProgress: (line: string) => void, opts?: InteractiveAppr
src/approvals.ts:57
Methodconstructor
( logPath: string, onProgress?: ProgressCallback, guardianDir?: string, )
src/events.ts:31
Methodconstructor
(message: string, public readonly rpcCode: number)
src/types.ts:150
Methodconstructor
(message: string)
src/types.ts:159
Methodconstructor
(lockPath: string, heldForMs: number | null)
src/lock.ts:33
FunctiondataDir
()
src/config.ts:87
FunctiondefaultBrokerIdleTimeout
()
src/config.ts:70
Methoddestroyed
()
src/broker-server.test.ts:420
Functiondone
()
src/broker-server.test.ts:1510
Methodemit
Fire a notification to all registered handlers for a method.
src/turns.test.ts:40
Functionfeed
(chunk: string)
src/rpc.ts:304
FunctionhandleApprove
(args: string[])
src/commands/approve.ts:42
FunctionhandleClean
(args: string[])
src/commands/threads.ts:542
FunctionhandleCommandApproval
(req)
src/turns.test.ts:948
FunctionhandleCommandApproval
()
src/approvals.ts:20
MethodhandleCommandApproval
(req: CommandApprovalRequest, signal?: AbortSignal)
src/approvals.ts:76
FunctionhandleConfig
(args: string[])
src/commands/config.ts:19
FunctionhandleDecline
(args: string[])
src/commands/approve.ts:46
FunctionhandleDelete
(args: string[])
src/commands/threads.ts:406
FunctionhandleFileChangeApproval
(req)
src/turns.test.ts:952
FunctionhandleFileChangeApproval
()
src/approvals.ts:23
MethodhandleFileChangeApproval
(req: FileChangeApprovalRequest, signal?: AbortSignal)
src/approvals.ts:105
FunctionhandleFollow
(args: string[])
src/commands/follow.ts:327
FunctionhandleHealth
(args: string[])
src/commands/config.ts:118
FunctionhandleKill
(args: string[])
src/commands/kill.ts:18
FunctionhandleModels
(args: string[])
src/commands/config.ts:97
FunctionhandleOutput
(args: string[])
src/commands/threads.ts:355
FunctionhandlePeek
(args: string[])
src/commands/peek.ts:149
FunctionhandleProgress
(args: string[])
src/commands/threads.ts:387
FunctionhandleReview
(args: string[])
src/commands/review.ts:66
FunctionhandleRun
(args: string[])
src/commands/run.ts:181
FunctionhandleTemplates
(args: string[])
src/commands/config.ts:146
FunctionhandleThreads
(args: string[])
src/commands/threads.ts:116
FunctionkillSignalsDir
@deprecated Will be removed when turns module is refactored to use per-workspace state.
src/config.ts:95
FunctionlogsDir
@deprecated Will be removed when events module is refactored to use per-workspace state.
src/config.ts:91
FunctionmarkClosed
()
src/rpc.ts:387
Methodmessages
()
src/broker-server.test.ts:407
Functionnotify
()
src/turns.test.ts:74
Functionnotify
(method: string, params?: unknown)
src/rpc.ts:346
Functionon
(method: string, handler: (params: unknown) => void)
src/turns.test.ts:75
Functionon
(method: string, handler: NotificationHandler)
src/rpc.ts:350
FunctiononAny
(_handler: (method: string, params: unknown) => void)
src/turns.test.ts:82
FunctiononAny
(handler: AnyNotificationHandler)
src/rpc.ts:360
MethodonAny
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
FunctiononClose
(handler: () => void)
src/turns.test.ts:92
FunctiononClose
(handler: () => void)
src/rpc.ts:382
MethodonClose
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
FunctiononData
(chunk: string)
src/broker.test.ts:797
FunctiononProgress
(line: string)
src/commands/shared.ts:634
FunctiononRequest
(method: string, handler: ServerRequestHandler)
src/rpc.ts:365
MethodonRequest
(handler: (msg: Record<string, unknown>) => void)
src/broker-server.test.ts:403
MethodonRequest
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
Methodpick
(obj: Record<string, unknown> | undefined, ...keys: string[])
src/events.ts:155
FunctionpidsDir
@deprecated Will be removed when cli module is refactored to use per-workspace state.
src/config.ts:97
MethodrejectAllPending
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
Functionrequest
(method: string, params?: unknown)
src/turns.test.ts:71
← previousnext →301–400 of 413, ranked by callers