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
↓ 970 callers
Method
prepare
(request: ClaudeLaunchTarget, mode: string)
packages/daemon/src/domain/claude-managed-launch.ts:71
↓ 956 callers
Method
get
()
packages/tui/src/types.ts:553
↓ 686 callers
Method
parse
(yamlString: string)
packages/daemon/src/domain/rigspec-codec.ts:92
↓ 476 callers
Method
run
Run one natural prompt (optionally with injected context) and return the captured transcript.
packages/daemon/test/helpers/eval-provider.ts:20
↓ 466 callers
Method
has
(url: string)
packages/tui/src/page-read.ts:12
↓ 416 callers
Method
replace
Kill `name` and start a different session under the same name (new id and pane).
packages/daemon/test/refresh-probe-cleanup.test.ts:73
↓ 366 callers
Method
close
()
packages/daemon/src/adapters/cmux.ts:3
↓ 355 callers
Function
readFileSync
(p: string)
packages/daemon/test/slack-state-store.test.ts:9
↓ 327 callers
Method
now
()
packages/daemon/src/adapters/pi-runner.ts:249
↓ 320 callers
Function
writeFileSync
(p: string, d: string)
packages/daemon/test/slack-state-store.test.ts:20
↓ 318 callers
Method
readFileSync
(p: string)
packages/daemon/src/domain/gateway/slack/secrets.ts:12
↓ 256 callers
Method
set
(specName: string, specVersion: string)
packages/daemon/src/domain/active-lens-store.ts:70
↓ 237 callers
Method
writeFileSync
(p: string, data: string)
packages/daemon/src/domain/gateway/slack/state-store.ts:25
↓ 231 callers
Function
migrate
(db: Database.Database, migrations: Migration[])
packages/daemon/src/db/migrate.ts:13
↓ 215 callers
Method
entries
()
packages/daemon/src/domain/health-checkpoints.ts:109
↓ 214 callers
Method
request
(method: string, params?: unknown)
packages/daemon/src/adapters/cmux.ts:2
↓ 205 callers
Method
add
(blocker: RestoreValidationBlocker)
packages/daemon/src/domain/restore-orchestrator.ts:589
↓ 204 callers
Function
createDb
(filePath?: string)
packages/daemon/src/db/connection.ts:7
↓ 182 callers
Method
createRig
(name: string)
packages/daemon/src/domain/rig-repository.ts:152
↓ 178 callers
Function
render
()
packages/cli/src/commands/start.ts:84
↓ 173 callers
Method
isDirectory
(path: string)
packages/daemon/src/domain/topology-defaults-installer.ts:34
↓ 159 callers
Method
addNode
(rigId: string, logicalId: string, opts?: NodeOptions)
packages/daemon/src/domain/rig-repository.ts:332
↓ 158 callers
Method
update
* General state mutator. Routes through hot-potato strict-rejection on * `done` transitions. All transitions append to the log. * * Phase B R
packages/daemon/src/domain/queue-repository.ts:2202
↓ 149 callers
Method
route
(input: { instanceId: string; packetId?: string; toSession: string; actorSession: string;
packages/daemon/src/domain/workflow-runtime.ts:1441
↓ 144 callers
Function
createFullTestDb
()
packages/daemon/test/helpers/test-app.ts:175
↓ 144 callers
Function
resolve
(address: string)
packages/daemon/test/context-pack-address-route.test.ts:54
↓ 138 callers
Function
next
()
packages/daemon/src/adapters/pi-runner.ts:465
↓ 136 callers
Function
resolve
()
packages/cli/test/scope-fs.test.ts:80
↓ 133 callers
Method
resolve
(query: { nodeId?: string; sessionName?: string; targetRepoOverride?: string; compact?: boolean })
packages/daemon/src/domain/whoami-service.ts:157
↓ 131 callers
Function
cleanup
()
packages/cli/src/commands/start.ts:105
↓ 126 callers
Method
resolve
()
packages/cli/src/config-store.ts:937
↓ 123 callers
Method
registerSession
( nodeId: string, sessionName: string, kind: OccupantKind = "initial", reservedGeneration?: st
packages/daemon/src/domain/session-registry.ts:89
↓ 112 callers
Method
close
()
packages/tui/src/socket-server.ts:74
↓ 110 callers
Method
dispatch
(action: Action)
packages/tui/src/types.ts:554
↓ 105 callers
Function
cn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:4
↓ 105 callers
Method
getById
(streamItemId: string)
packages/daemon/src/domain/stream-store.ts:160
↓ 104 callers
Method
updateStatus
(sessionId: string, status: string)
packages/daemon/src/domain/session-registry.ts:293
↓ 102 callers
Method
set
(key: string, value: string)
packages/cli/src/config-store.ts:1184
↓ 98 callers
Method
create
(input: { qitemId: string; sourceSession: string; destinationSession: string; body: string;
packages/daemon/src/domain/continuity-policy-materializer.ts:91
↓ 92 callers
Function
waitFor
(pred: () => boolean, ms = 4000)
packages/daemon/test/gateway-process.test.ts:42
↓ 90 callers
Method
delete
(path: string, options?: DaemonRequestOptions)
packages/cli/src/client.ts:202
↓ 86 callers
Method
end
()
packages/tui/src/page-read.ts:14
↓ 82 callers
Method
emit
* Persist an event and notify subscribers. Use this for standalone emit * outside of a caller-managed transaction.
packages/daemon/src/domain/event-bus.ts:56
↓ 79 callers
Method
getRig
(rigId: string)
packages/daemon/src/domain/rig-repository.ts:462
↓ 78 callers
Method
get
Returns the activity entry for a directed (source -> dest) pair, or null.
packages/ui/src/hooks/useTopologyEdgeActivity.ts:35
↓ 78 callers
Function
getDaemonStatus
( deps: LifecycleDeps, options: GetDaemonStatusOptions = {}, )
packages/cli/src/daemon-lifecycle.ts:944
↓ 77 callers
Function
createViewState
(options: CreateViewStateOptions)
packages/tui/src/state.ts:43
↓ 76 callers
Method
updateBinding
(nodeId: string, fields: BindingFields)
packages/daemon/src/domain/session-registry.ts:496
↓ 74 callers
Method
list
(opts?: StreamListOptions)
packages/daemon/src/domain/stream-store.ts:165
↓ 71 callers
Function
realDeps
()
packages/cli/src/commands/daemon.ts:35
↓ 70 callers
Function
getDaemonUrl
(status: DaemonStatus)
packages/cli/src/daemon-lifecycle.ts:69
↓ 69 callers
Function
renderScreen
(state: ViewState, snap: FleetSnapshot, options: RenderOptions = {}, inputLine = "")
packages/tui/src/render.ts:1543
↓ 68 callers
Method
write
(bytes: string | Buffer)
packages/tui/src/input.ts:97
↓ 63 callers
Method
post
(path: string, body?: unknown, options?: DaemonRequestOptions)
packages/cli/src/client.ts:178
↓ 59 callers
Method
persistWithinTransaction
* Insert an event row into the events table and return a PersistedEvent. * Call this inside a caller-managed db.transaction() so the event insert
packages/daemon/src/domain/event-bus.ts:69
↓ 58 callers
Method
bind
(opts: BindOptions)
packages/daemon/src/domain/claim-service.ts:287
↓ 56 callers
Function
createTestApp
( db: Database.Database, opts?: { cmux?: CmuxAdapter; tmux?: TmuxAdapter; adapters?: Partial<R
packages/daemon/test/helpers/test-app.ts:217
↓ 54 callers
Method
getByIdOrThrow
(inboxId: string)
packages/daemon/src/domain/inbox-handler.ts:288
↓ 54 callers
Method
instantiate
* Create a workflow instance + first-step qitem. The entry qitem is * created in the same transaction as the instance row; subscribers * see the
packages/daemon/src/domain/workflow-runtime.ts:361
↓ 51 callers
Function
daemonStatusGuard
(status: DaemonStatus, opts?: { json?: boolean })
packages/cli/src/daemon-lifecycle.ts:120
↓ 51 callers
Method
get
(path: string)
packages/cli/src/shared-tui.ts:6
↓ 51 callers
Method
validate
* Validate a parsed rig spec object. Collects all errors. * @param raw - parsed YAML object * @returns validation result
packages/daemon/src/domain/rigspec-schema.ts:101
↓ 50 callers
Method
project
Project resources from a projection plan to the runtime target locations.
packages/daemon/src/domain/runtime-adapter.ts:140
↓ 49 callers
Method
subscribe
(fn: (state: ViewState) => void)
packages/tui/src/types.ts:555
↓ 46 callers
Method
attachOutbox
* W1 (transactional closure): attach the durable wake-intent store AFTER * construction (same dep-graph reason as {@link attachTransport}). Once
packages/daemon/src/domain/queue-repository.ts:764
↓ 46 callers
Method
normalize
* Normalize a validated rig spec into the canonical typed shape. * @param raw - parsed YAML object (must pass validation first) * @returns norma
packages/daemon/src/domain/rigspec-schema.ts:228
↓ 45 callers
Method
getSessionsForRig
(rigId: string)
packages/daemon/src/domain/session-registry.ts:449
↓ 45 callers
Method
notifySubscribers
* Fan out a persisted event to in-memory subscribers. * Does NOT insert into DB. Subscriber errors are isolated.
packages/daemon/src/domain/event-bus.ts:165
↓ 45 callers
Method
query
(input: AuditQueryInput)
packages/daemon/src/domain/mission-control/audit-browse.ts:67
↓ 45 callers
Function
reject
()
packages/daemon/src/adapters/pi-runner.ts:45
↓ 44 callers
Function
demoSnapshot
()
packages/tui/src/demo-data.ts:6
↓ 44 callers
Method
write
(path: string, content: string)
packages/daemon/src/domain/topology-defaults-installer.ts:38
↓ 42 callers
Function
createProgram
(depsOverride?: ProgramDeps)
packages/cli/src/index.ts:165
↓ 42 callers
Function
parseCommand
(raw: string, sections: readonly SectionDef[] = SECTION_REGISTRY)
packages/tui/src/grammar.ts:15
↓ 40 callers
Function
shellQuote
Shell-quote a string using single quotes (POSIX-safe).
packages/daemon/src/adapters/tmux.ts:180
↓ 37 callers
Method
replaceAll
Atomically replace the durable set (temp-write + rename). Used after a retry pass.
packages/daemon/src/domain/gateway/slack/state-store.ts:149
↓ 35 callers
Method
append
(bytes: string)
packages/daemon/src/domain/shadow-capture.ts:8
↓ 35 callers
Method
get
(route: string, fetchImpl = this.fetchImpl)
packages/tui/src/daemon-client.ts:98
↓ 35 callers
Method
read
()
packages/daemon/src/domain/health-detectors.ts:87
↓ 34 callers
Method
record
(outcome: "clean" | "findings" | "failed", detail?: { error?: string; findings?: number })
packages/daemon/src/domain/queue-stuck-sweep.ts:71
↓ 34 callers
Method
stop
()
packages/daemon/test/helpers/scenario-tui.ts:36
↓ 33 callers
Method
readFile
(path: string)
packages/daemon/src/domain/agent-resolver.ts:10
↓ 33 callers
Method
scan
()
packages/daemon/src/domain/spec-library-service.ts:124
↓ 32 callers
Function
act
(state: string, reason: string, source = "tmux")
packages/ui/twin/fixtures.ts:76
↓ 32 callers
Method
exists
(path: string)
packages/daemon/src/domain/agent-resolver.ts:11
↓ 32 callers
Method
resolveOne
(key: SettingsValidKey, fileConfig?: Record<string, unknown>, workspaceRoot?: string)
packages/daemon/src/domain/user-settings/settings-store.ts:854
↓ 32 callers
Method
set
(x: number, y: number, ch: string, token?: Token, bold?: boolean, bg?: Token)
packages/tui/src/topology/canvas.ts:34
↓ 31 callers
Function
emptySnapshot
()
packages/tui/src/state.ts:31
↓ 31 callers
Method
serialize
(spec: RigSpec)
packages/daemon/src/domain/rigspec-codec.ts:96
↓ 31 callers
Method
set
(key: string, value: string)
packages/daemon/src/domain/user-settings/settings-store.ts:1011
↓ 30 callers
Method
captureSnapshot
(rigId: string, kind: string, opts?: { intendedNodeIds?: string[] })
packages/daemon/src/domain/snapshot-capture.ts:60
↓ 30 callers
Method
getBindingForNode
(nodeId: string)
packages/daemon/src/domain/session-registry.ts:488
↓ 29 callers
Method
kill
()
packages/daemon/test/helpers/scenario-tui.ts:45
↓ 28 callers
Method
readFile
(path: string)
packages/daemon/src/adapters/pi-resume.ts:24
↓ 28 callers
Method
send
(data: string)
packages/daemon/src/domain/gateway/slack/socket-inbound.ts:17
↓ 27 callers
Method
currentOccupantTenure
The LIVE (latest) occupant generation for a node, or null. Consumers compare an entry's minting * generation_uuid to this to gate stale-generation
packages/daemon/src/domain/session-registry.ts:258
↓ 26 callers
Function
computeExplorerRows
(state: ViewState, snap: FleetSnapshot)
packages/tui/src/state.ts:568
↓ 26 callers
Method
evaluate
* Pure evaluation. No I/O beyond filesystem reads (artifact-pool * scans). Throws only for hard contract violations (missing required * spec fie
packages/daemon/src/domain/policies/types.ts:70
↓ 26 callers
Function
getOpenRigHome
()
packages/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs:28
↓ 26 callers
Method
sendText
(name: string, text: string)
packages/daemon/src/terminal/TerminalSessionBroker.ts:65
next →
1–100 of 10,847, ranked by callers