Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mvschwarz/openrig
/ functions
Functions
10,847 in github.com/mvschwarz/openrig
⨍
Functions
10,847
◇
Types & classes
3,035
↓ 26 callers
Function
useSelectedHostId
()
packages/ui/src/hooks/useHosts.ts:64
↓ 25 callers
Method
listRigs
(filter?: RigArchiveFilter)
packages/daemon/src/domain/rig-repository.ts:495
↓ 25 callers
Method
listTransitions
(qitemId: string)
packages/daemon/src/domain/queue-repository.ts:2870
↓ 25 callers
Method
resolve
(input: OperatorContextReadContext)
packages/daemon/src/domain/rig-mode/operating-posture.ts:165
↓ 25 callers
Method
updateResumeToken
(sessionId: string, type: string, token: string, provenance?: "hook" | "scrape" | "operator" | "adoption")
packages/daemon/src/domain/session-registry.ts:326
↓ 24 callers
Function
getNodeInventory
(db: Database.Database, rigId: string)
packages/daemon/src/domain/node-inventory.ts:420
↓ 24 callers
Method
lifecycle
Multi-seat restore takes leases in stable order before any rig mutation. * Nested per-seat launch joins these leases; it must not reacquire them.
packages/daemon/src/domain/seat-delivery-guard.ts:147
↓ 24 callers
Function
parseSessionName
(raw: string)
packages/daemon/src/domain/session-name.ts:163
↓ 24 callers
Method
sendKeys
(name: string, keys: string[])
packages/daemon/src/terminal/TerminalSessionBroker.ts:64
↓ 24 callers
Method
updateStartupStatus
(sessionId: string, status: "pending" | "ready" | "attention_required" | "failed", completedAt?: string)
packages/daemon/src/domain/session-registry.ts:299
↓ 23 callers
Function
glyphA11y
(title: string, decorative?: boolean)
packages/ui/src/components/graphics/RuntimeMark.tsx:76
↓ 23 callers
Function
resolveMissionsRoot
(opts: { override?: string | null; cwd?: string; configPath?: string; } = {})
packages/cli/src/lib/scope/scope-fs.ts:132
↓ 23 callers
Function
spawn
()
packages/daemon/test/helpers/eval-rig-session.ts:268
↓ 23 callers
Function
wrapDetailLines
(lines: ContentLine[], width: number)
packages/tui/src/detail.ts:23
↓ 22 callers
Method
addEventListener
(type: string, cb: (event: unknown) => void)
packages/ui/test/helpers/mock-event-source.ts:8
↓ 22 callers
Function
issue
(code, pathValue, next, extra = {})
packages/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs:73
↓ 22 callers
Function
issue
(code, pathValue, next, extra = {})
skills/_canonical/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs:73
↓ 22 callers
Method
registerClaimedSession
Register a claimed session — skips naming validation, sets origin='claimed', startup_status='ready'.
packages/daemon/src/domain/session-registry.ts:115
↓ 22 callers
Method
resume
( tmuxSessionName: string, resumeType: string | null, resumeToken: string | null, cwd: string,
packages/daemon/src/adapters/pi-resume.ts:51
↓ 22 callers
Method
status
()
packages/daemon/src/domain/gateway/gateway-subsystem.ts:34
↓ 21 callers
Method
clear
()
packages/ui/test/setup.ts:33
↓ 21 callers
Function
createDaemon
({ dbPath })
packages/daemon/test/fixtures/shutdown-startup.mjs:9
↓ 21 callers
Function
createTestRouter
(opts: { component: () => ReactNode; path?: string; initialPath?: string; })
packages/ui/test/helpers/test-router.tsx:19
↓ 21 callers
Function
fail
(err: unknown, json: boolean, out: Stdout)
packages/cli/src/commands/scope.ts:131
↓ 21 callers
Method
getPaneCommand
Get the current foreground command in a pane. Returns null if unavailable.
packages/daemon/src/adapters/tmux.ts:750
↓ 21 callers
Function
makeStdout
()
packages/cli/src/commands/scope.ts:95
↓ 21 callers
Function
readOpenRigEnv
(primary: string, legacy?: string)
packages/cli/src/openrig-compat.ts:58
↓ 21 callers
Method
register
(input: RegisterWatchdogJobInput)
packages/daemon/src/domain/continuity-policy-materializer.ts:72
↓ 21 callers
Method
restore
(snapshotId: string, opts?: { adapters?: Record<string, import("./runtime-adapter.js").RuntimeAdapter>;
packages/daemon/src/domain/restore-orchestrator.ts:204
↓ 21 callers
Method
setItem
(key: string, value: string)
packages/ui/test/setup.ts:49
↓ 21 callers
Method
snapshot
()
packages/daemon/src/domain/queue-stuck-sweep.ts:72
↓ 20 callers
Function
basename
(p: string)
packages/ui/src/hooks/useWorkspaceName.ts:21
↓ 20 callers
Method
capturePaneContent
Capture the last `lines` lines INCLUDING scrollback history (tmux * capture-pane -S -lines). Used for the per-subscriber scroll-back window.
packages/daemon/src/terminal/TerminalSessionBroker.ts:70
↓ 20 callers
Function
getOpts
(cmd: Command)
packages/cli/src/commands/scope.ts:172
↓ 20 callers
Method
handoff
* Transactional handoff: close the source qitem (state=done, * closure_reason=handed_off_to) and create a new qitem owned by `toSession`, * with
packages/daemon/src/domain/queue-repository.ts:1526
↓ 20 callers
Function
hydrateSnapshot
( client: DaemonClient, reviewCache?: SpecReviewCache, executionMission?: string | null, sliceDetailNa
packages/tui/src/hydrate.ts:352
↓ 19 callers
Method
findRigsByName
The repo's existing plural-aware name lookup (ORDER BY created_at).
packages/daemon/src/domain/running-name-guard.ts:33
↓ 18 callers
Method
claim
* Mark a qitem `in-progress` (claim). Computes closure_required_at from tier.
packages/daemon/src/domain/queue-repository.ts:2057
↓ 18 callers
Function
classifyWriteError
(err: unknown)
packages/daemon/src/adapters/tmux.ts:165
↓ 18 callers
Function
createStyle
(mode: ColorMode = detectColorMode())
packages/tui/src/theme.ts:78
↓ 18 callers
Function
emit
(out: Stdout, payload: unknown, json: boolean, lines?: string[])
packages/cli/src/commands/scope.ts:119
↓ 18 callers
Method
getById
(qitemId: string)
packages/daemon/src/domain/queue-repository.ts:2961
↓ 18 callers
Method
ownsLifecycle
(nodeId: string)
packages/daemon/src/domain/seat-delivery-guard.ts:138
↓ 18 callers
Function
readSliceReadiness
(dir: string, io: ScopeFsDeps = proofFs, readPolicy: ProofPolicyRead = policyOf)
packages/daemon/src/domain/proof/judgments.ts:159
↓ 18 callers
Method
refresh
()
packages/tui/src/startup.ts:67
↓ 18 callers
Function
stylizeLines
(screen: Screen, s: Style)
packages/tui/src/stylize.ts:126
↓ 17 callers
Method
apply
( policyResult: PolicyResult, plan: RefinedInstallPlan, packageId: string, targetRoot: string,
packages/daemon/src/domain/install-engine.ts:46
↓ 17 callers
Function
createAppTestRouter
(opts: { routes: Array<{ path: string; component: () => ReactNode }>; initialPath?: string; rootComponen
packages/ui/test/helpers/test-router.tsx:61
↓ 17 callers
Method
getByNameVersion
(name: string, version: string)
packages/daemon/src/domain/workflow-spec-cache.ts:741
↓ 17 callers
Method
launchHarness
* Launch the harness (claude/codex/terminal) inside the tmux session. * * `resumeToken` and `forkSource` are mutually exclusive. If both are
packages/daemon/src/domain/runtime-adapter.ts:153
↓ 17 callers
Function
sha256
(bytes)
packages/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs:63
↓ 17 callers
Function
sha256
(bytes)
skills/_canonical/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs:63
↓ 17 callers
Method
target
(name: string)
packages/daemon/src/domain/seat-delivery-guard.ts:67
↓ 17 callers
Function
withHostParam
(path: string, hostId: string | undefined)
packages/ui/src/lib/host-param.ts:17
↓ 16 callers
Method
appendFileSync
(p: string, data: string)
packages/daemon/src/domain/gateway/slack/state-store.ts:24
↓ 16 callers
Method
cleanup
Remove the scaffold root. Idempotent.
packages/daemon/test/helpers/hermetic-env.ts:278
↓ 16 callers
Function
fieldLine
(field: Field)
packages/tui/src/detail.ts:76
↓ 16 callers
Function
findMission
(missionsRoot: string, identifier: string)
packages/cli/src/lib/scope/scope-fs.ts:252
↓ 16 callers
Function
queueRoutes
()
packages/daemon/src/routes/queue.ts:66
↓ 16 callers
Method
readThrough
* Read a workflow spec from disk through the cache. Returns the * cached row (re-caching if source_hash differs OR if the spec was * not previou
packages/daemon/src/domain/workflow-spec-cache.ts:563
↓ 16 callers
Function
register
(input: { targetSession?: string; watchedFilePath?: string; thresholdBytes?: number; requiresJ
packages/daemon/test/context-usage-watchdog.test.ts:88
↓ 16 callers
Function
sectionRule
(title: string, width = 96)
packages/tui/src/detail.ts:83
↓ 15 callers
Method
attachTransport
* Attach the wake-path transport AFTER construction. Used by daemon * startup, where SessionTransport is constructed later in the dep graph * th
packages/daemon/src/domain/queue-repository.ts:754
↓ 15 callers
Method
clear
(rigId: string)
packages/daemon/src/domain/chat-repository.ts:155
↓ 15 callers
Function
getSelfHostId
()
packages/daemon/src/domain/hosts/fanout-contract.ts:35
↓ 15 callers
Method
isReady
Returns true when any configured slice root exists on disk.
packages/daemon/src/domain/slices/slice-indexer.ts:297
↓ 15 callers
Function
stripAnsi
(text: string)
packages/tui/src/theme.ts:111
↓ 14 callers
Method
cancel
()
packages/cli/src/commands/project-jev.ts:116
↓ 14 callers
Method
connect
()
packages/daemon/src/adapters/cmux.ts:41
↓ 14 callers
Method
createPod
* Create a pod within a rig. * @param rigId - parent rig id * @param label - human-readable pod label * @param opts - optional summary and co
packages/daemon/src/domain/pod-repository.ts:38
↓ 14 callers
Function
displayTime
(value: unknown, timeZone = DEFAULT_TIME_ZONE)
packages/tui/src/time.ts:9
↓ 14 callers
Method
exists
(path: string)
packages/cli/src/lib/topology-trace.ts:45
↓ 14 callers
Method
expand
(request: ExpansionRequest)
packages/daemon/src/domain/rig-expansion-service.ts:30
↓ 14 callers
Method
getPanePid
Get the PID of the foreground process in a pane. Returns null if unavailable.
packages/daemon/src/adapters/tmux.ts:725
↓ 14 callers
Method
listForInstance
(instanceId: string, limit = 50)
packages/daemon/src/domain/workflow-step-trail-log.ts:85
↓ 14 callers
Function
listItem
(text: string, link?: Action, indent = 2)
packages/tui/src/detail.ts:88
↓ 14 callers
Method
load
()
packages/daemon/src/domain/gateway/slack/state-store.ts:74
↓ 14 callers
Method
markTerminal
(jobId: string, reason: string)
packages/daemon/src/domain/continuity-policy-materializer.ts:73
↓ 14 callers
Function
parseManifest
(yamlString: string)
packages/daemon/src/domain/package-manifest.ts:108
↓ 14 callers
Method
pending
The un-Acked decisions (restart-surviving) — what a re-dispatch replays on recovery.
packages/daemon/src/domain/gateway/dispatch-buffer.ts:69
↓ 14 callers
Function
release
()
packages/daemon/test/kernel-boot.test.ts:187
↓ 14 callers
Method
release
(preserve?: boolean)
packages/cli/src/daemon-start-lock.ts:6
↓ 14 callers
Function
resolve
(k: keyof typeof KEYS)
packages/tui/test/slack-print-link.test.ts:42
↓ 14 callers
Method
show
* Run a view by name. Built-in names (BUILT_IN_VIEW_NAMES) dispatch to * hardcoded SQL; other names dispatch to custom-view lookup.
packages/daemon/src/domain/view-projector.ts:120
↓ 14 callers
Method
start
Kick off identity capture. Called once pi's RPC stream is up.
packages/daemon/src/adapters/pi-runner.ts:276
↓ 14 callers
Method
withNotifyEnvelope
* Run one caller-owned synchronous transaction under the W2b notification * envelope. Every token persisted through EventBus during the callback mu
packages/daemon/src/domain/event-bus.ts:111
↓ 13 callers
Method
addEdge
(rigId: string, sourceId: string, targetId: string, kind: string)
packages/daemon/src/domain/rig-repository.ts:449
↓ 13 callers
Method
getDiscoveredSession
(id: string)
packages/daemon/src/domain/discovery-repository.ts:103
↓ 13 callers
Method
getItem
(key: string)
packages/ui/test/setup.ts:37
↓ 13 callers
Method
getSnapshot
(id: string)
packages/daemon/src/domain/snapshot-repository.ts:34
↓ 13 callers
Method
listAll
* Lists every cached spec, ordered by name then version. Used by the * `GET /api/workflow/specs` endpoint. Cheap — * the workflow_specs table is
packages/daemon/src/domain/workflow-spec-cache.ts:783
↓ 13 callers
Function
loadHumanRegistry
(home: string = getOpenRigHome(), opts: { readOnly?: boolean } = {})
packages/daemon/src/domain/gateway/human-registry.ts:780
↓ 13 callers
Function
resolveHost
( registry: HostRegistry, id: string, learnedBindings?: Record<string, { hostId: string }>, )
packages/cli/src/host-registry.ts:295
↓ 13 callers
Function
saveConfig
(cfg: SlackConnectorConfig, home?: string)
packages/daemon/src/domain/gateway/slack/config.ts:81
↓ 13 callers
Function
str
(value: unknown, fallback = "?")
packages/tui/src/execution/execution-model.ts:51
↓ 13 callers
Method
text
(v: unknown)
packages/daemon/src/domain/health-diagnosis.ts:192
↓ 13 callers
Function
useRigSummary
()
packages/ui/src/hooks/useRigSummary.ts:29
↓ 12 callers
Function
addHumanFragment
( raw: unknown, home: string = getOpenRigHome(), opts: { replace?: boolean } = {}, )
packages/daemon/src/domain/gateway/human-registry.ts:354
↓ 12 callers
Function
assessNativeResumeProbe
( input: NativeResumeProbeInput )
packages/daemon/src/domain/native-resume-probe.ts:77
↓ 12 callers
Function
createMockEventSourceClass
()
packages/ui/test/helpers/mock-event-source.ts:18
← previous
next →
101–200 of 10,847, ranked by callers