MCPcopy Create free account

hub / github.com/mvschwarz/openrig / functions

Functions10,847 in github.com/mvschwarz/openrig

↓ 970 callersMethodprepare
(request: ClaudeLaunchTarget, mode: string)
packages/daemon/src/domain/claude-managed-launch.ts:71
↓ 956 callersMethodget
()
packages/tui/src/types.ts:553
↓ 686 callersMethodparse
(yamlString: string)
packages/daemon/src/domain/rigspec-codec.ts:92
↓ 476 callersMethodrun
Run one natural prompt (optionally with injected context) and return the captured transcript.
packages/daemon/test/helpers/eval-provider.ts:20
↓ 466 callersMethodhas
(url: string)
packages/tui/src/page-read.ts:12
↓ 416 callersMethodreplace
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 callersMethodclose
()
packages/daemon/src/adapters/cmux.ts:3
↓ 355 callersFunctionreadFileSync
(p: string)
packages/daemon/test/slack-state-store.test.ts:9
↓ 327 callersMethodnow
()
packages/daemon/src/adapters/pi-runner.ts:249
↓ 320 callersFunctionwriteFileSync
(p: string, d: string)
packages/daemon/test/slack-state-store.test.ts:20
↓ 318 callersMethodreadFileSync
(p: string)
packages/daemon/src/domain/gateway/slack/secrets.ts:12
↓ 256 callersMethodset
(specName: string, specVersion: string)
packages/daemon/src/domain/active-lens-store.ts:70
↓ 237 callersMethodwriteFileSync
(p: string, data: string)
packages/daemon/src/domain/gateway/slack/state-store.ts:25
↓ 231 callersFunctionmigrate
(db: Database.Database, migrations: Migration[])
packages/daemon/src/db/migrate.ts:13
↓ 215 callersMethodentries
()
packages/daemon/src/domain/health-checkpoints.ts:109
↓ 214 callersMethodrequest
(method: string, params?: unknown)
packages/daemon/src/adapters/cmux.ts:2
↓ 205 callersMethodadd
(blocker: RestoreValidationBlocker)
packages/daemon/src/domain/restore-orchestrator.ts:589
↓ 204 callersFunctioncreateDb
(filePath?: string)
packages/daemon/src/db/connection.ts:7
↓ 182 callersMethodcreateRig
(name: string)
packages/daemon/src/domain/rig-repository.ts:152
↓ 178 callersFunctionrender
()
packages/cli/src/commands/start.ts:84
↓ 173 callersMethodisDirectory
(path: string)
packages/daemon/src/domain/topology-defaults-installer.ts:34
↓ 159 callersMethodaddNode
(rigId: string, logicalId: string, opts?: NodeOptions)
packages/daemon/src/domain/rig-repository.ts:332
↓ 158 callersMethodupdate
* 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 callersMethodroute
(input: { instanceId: string; packetId?: string; toSession: string; actorSession: string;
packages/daemon/src/domain/workflow-runtime.ts:1441
↓ 144 callersFunctioncreateFullTestDb
()
packages/daemon/test/helpers/test-app.ts:175
↓ 144 callersFunctionresolve
(address: string)
packages/daemon/test/context-pack-address-route.test.ts:54
↓ 138 callersFunctionnext
()
packages/daemon/src/adapters/pi-runner.ts:465
↓ 136 callersFunctionresolve
()
packages/cli/test/scope-fs.test.ts:80
↓ 133 callersMethodresolve
(query: { nodeId?: string; sessionName?: string; targetRepoOverride?: string; compact?: boolean })
packages/daemon/src/domain/whoami-service.ts:157
↓ 131 callersFunctioncleanup
()
packages/cli/src/commands/start.ts:105
↓ 126 callersMethodresolve
()
packages/cli/src/config-store.ts:937
↓ 123 callersMethodregisterSession
( nodeId: string, sessionName: string, kind: OccupantKind = "initial", reservedGeneration?: st
packages/daemon/src/domain/session-registry.ts:89
↓ 112 callersMethodclose
()
packages/tui/src/socket-server.ts:74
↓ 110 callersMethoddispatch
(action: Action)
packages/tui/src/types.ts:554
↓ 105 callersFunctioncn
(...inputs: ClassValue[])
packages/ui/src/lib/utils.ts:4
↓ 105 callersMethodgetById
(streamItemId: string)
packages/daemon/src/domain/stream-store.ts:160
↓ 104 callersMethodupdateStatus
(sessionId: string, status: string)
packages/daemon/src/domain/session-registry.ts:293
↓ 102 callersMethodset
(key: string, value: string)
packages/cli/src/config-store.ts:1184
↓ 98 callersMethodcreate
(input: { qitemId: string; sourceSession: string; destinationSession: string; body: string;
packages/daemon/src/domain/continuity-policy-materializer.ts:91
↓ 92 callersFunctionwaitFor
(pred: () => boolean, ms = 4000)
packages/daemon/test/gateway-process.test.ts:42
↓ 90 callersMethoddelete
(path: string, options?: DaemonRequestOptions)
packages/cli/src/client.ts:202
↓ 86 callersMethodend
()
packages/tui/src/page-read.ts:14
↓ 82 callersMethodemit
* 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 callersMethodgetRig
(rigId: string)
packages/daemon/src/domain/rig-repository.ts:462
↓ 78 callersMethodget
Returns the activity entry for a directed (source -> dest) pair, or null.
packages/ui/src/hooks/useTopologyEdgeActivity.ts:35
↓ 78 callersFunctiongetDaemonStatus
( deps: LifecycleDeps, options: GetDaemonStatusOptions = {}, )
packages/cli/src/daemon-lifecycle.ts:944
↓ 77 callersFunctioncreateViewState
(options: CreateViewStateOptions)
packages/tui/src/state.ts:43
↓ 76 callersMethodupdateBinding
(nodeId: string, fields: BindingFields)
packages/daemon/src/domain/session-registry.ts:496
↓ 74 callersMethodlist
(opts?: StreamListOptions)
packages/daemon/src/domain/stream-store.ts:165
↓ 71 callersFunctionrealDeps
()
packages/cli/src/commands/daemon.ts:35
↓ 70 callersFunctiongetDaemonUrl
(status: DaemonStatus)
packages/cli/src/daemon-lifecycle.ts:69
↓ 69 callersFunctionrenderScreen
(state: ViewState, snap: FleetSnapshot, options: RenderOptions = {}, inputLine = "")
packages/tui/src/render.ts:1543
↓ 68 callersMethodwrite
(bytes: string | Buffer)
packages/tui/src/input.ts:97
↓ 63 callersMethodpost
(path: string, body?: unknown, options?: DaemonRequestOptions)
packages/cli/src/client.ts:178
↓ 59 callersMethodpersistWithinTransaction
* 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 callersMethodbind
(opts: BindOptions)
packages/daemon/src/domain/claim-service.ts:287
↓ 56 callersFunctioncreateTestApp
( db: Database.Database, opts?: { cmux?: CmuxAdapter; tmux?: TmuxAdapter; adapters?: Partial<R
packages/daemon/test/helpers/test-app.ts:217
↓ 54 callersMethodgetByIdOrThrow
(inboxId: string)
packages/daemon/src/domain/inbox-handler.ts:288
↓ 54 callersMethodinstantiate
* 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 callersFunctiondaemonStatusGuard
(status: DaemonStatus, opts?: { json?: boolean })
packages/cli/src/daemon-lifecycle.ts:120
↓ 51 callersMethodget
(path: string)
packages/cli/src/shared-tui.ts:6
↓ 51 callersMethodvalidate
* 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 callersMethodproject
Project resources from a projection plan to the runtime target locations.
packages/daemon/src/domain/runtime-adapter.ts:140
↓ 49 callersMethodsubscribe
(fn: (state: ViewState) => void)
packages/tui/src/types.ts:555
↓ 46 callersMethodattachOutbox
* 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 callersMethodnormalize
* 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 callersMethodgetSessionsForRig
(rigId: string)
packages/daemon/src/domain/session-registry.ts:449
↓ 45 callersMethodnotifySubscribers
* 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 callersMethodquery
(input: AuditQueryInput)
packages/daemon/src/domain/mission-control/audit-browse.ts:67
↓ 45 callersFunctionreject
()
packages/daemon/src/adapters/pi-runner.ts:45
↓ 44 callersFunctiondemoSnapshot
()
packages/tui/src/demo-data.ts:6
↓ 44 callersMethodwrite
(path: string, content: string)
packages/daemon/src/domain/topology-defaults-installer.ts:38
↓ 42 callersFunctioncreateProgram
(depsOverride?: ProgramDeps)
packages/cli/src/index.ts:165
↓ 42 callersFunctionparseCommand
(raw: string, sections: readonly SectionDef[] = SECTION_REGISTRY)
packages/tui/src/grammar.ts:15
↓ 40 callersFunctionshellQuote
Shell-quote a string using single quotes (POSIX-safe).
packages/daemon/src/adapters/tmux.ts:180
↓ 37 callersMethodreplaceAll
Atomically replace the durable set (temp-write + rename). Used after a retry pass.
packages/daemon/src/domain/gateway/slack/state-store.ts:149
↓ 35 callersMethodappend
(bytes: string)
packages/daemon/src/domain/shadow-capture.ts:8
↓ 35 callersMethodget
(route: string, fetchImpl = this.fetchImpl)
packages/tui/src/daemon-client.ts:98
↓ 35 callersMethodread
()
packages/daemon/src/domain/health-detectors.ts:87
↓ 34 callersMethodrecord
(outcome: "clean" | "findings" | "failed", detail?: { error?: string; findings?: number })
packages/daemon/src/domain/queue-stuck-sweep.ts:71
↓ 34 callersMethodstop
()
packages/daemon/test/helpers/scenario-tui.ts:36
↓ 33 callersMethodreadFile
(path: string)
packages/daemon/src/domain/agent-resolver.ts:10
↓ 33 callersMethodscan
()
packages/daemon/src/domain/spec-library-service.ts:124
↓ 32 callersFunctionact
(state: string, reason: string, source = "tmux")
packages/ui/twin/fixtures.ts:76
↓ 32 callersMethodexists
(path: string)
packages/daemon/src/domain/agent-resolver.ts:11
↓ 32 callersMethodresolveOne
(key: SettingsValidKey, fileConfig?: Record<string, unknown>, workspaceRoot?: string)
packages/daemon/src/domain/user-settings/settings-store.ts:854
↓ 32 callersMethodset
(x: number, y: number, ch: string, token?: Token, bold?: boolean, bg?: Token)
packages/tui/src/topology/canvas.ts:34
↓ 31 callersFunctionemptySnapshot
()
packages/tui/src/state.ts:31
↓ 31 callersMethodserialize
(spec: RigSpec)
packages/daemon/src/domain/rigspec-codec.ts:96
↓ 31 callersMethodset
(key: string, value: string)
packages/daemon/src/domain/user-settings/settings-store.ts:1011
↓ 30 callersMethodcaptureSnapshot
(rigId: string, kind: string, opts?: { intendedNodeIds?: string[] })
packages/daemon/src/domain/snapshot-capture.ts:60
↓ 30 callersMethodgetBindingForNode
(nodeId: string)
packages/daemon/src/domain/session-registry.ts:488
↓ 29 callersMethodkill
()
packages/daemon/test/helpers/scenario-tui.ts:45
↓ 28 callersMethodreadFile
(path: string)
packages/daemon/src/adapters/pi-resume.ts:24
↓ 28 callersMethodsend
(data: string)
packages/daemon/src/domain/gateway/slack/socket-inbound.ts:17
↓ 27 callersMethodcurrentOccupantTenure
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 callersFunctioncomputeExplorerRows
(state: ViewState, snap: FleetSnapshot)
packages/tui/src/state.ts:568
↓ 26 callersMethodevaluate
* 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 callersFunctiongetOpenRigHome
()
packages/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs:28
↓ 26 callersMethodsendText
(name: string, text: string)
packages/daemon/src/terminal/TerminalSessionBroker.ts:65
next →1–100 of 10,847, ranked by callers