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
import { dirname, join, sep } from 'node:path'
/** The managed node behind a name link (./processName.ts): `<runtime>/node-…/libexec/harnessd/<name>` → its `bin/node`; any other path is itself. Its own file: the core loads only this. */
export function baseNode(path: string): string {
return dirname(path).endsWith(`${sep}libexec${sep}harnessd`) ? join(dirname(dirname(dirname(path))), 'bin', 'node') : path
}