Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

588 B
Raw Blame
import type { AgentChildRowContext } from './agent-child-row-model'

/** Session streams (including mobile) keep host-owned evidence fresh until disconnect. Convert stamps with reader-minus-host offset; no parent clock is needed because streams publish views/task rosters, not legacy subagents. */
export function agentChildRowContextForSessionStream(
  streamLive: boolean,
  hostClockOffsetMs: number
): AgentChildRowContext {
  return {
    parentEvidenceFresh: true,
    transportObservation: streamLive ? 'live' : 'unverifiable',
    parentObservedAt: 0,
    hostClockOffsetMs
  }
}