The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
/** The process incarnation used by external adoption, checked again by core before any signal. */
import { processStartMarker } from './processLiveness.js'
export function externalProcessGeneration(pid: number): string | null {
const marker = processStartMarker(pid)
if (marker?.startsWith('linux:')) return marker
if (!marker?.startsWith('ps-c:')) return null
const started = Date.parse(`${marker.slice(5)} UTC`)
return Number.isFinite(started) ? `ps:${started}` : null
}