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
/** Explicit publication into an already prepared optional DSH context. No core lifecycle imports. */
import { appendFileSync } from 'node:fs'
import { dirname } from 'node:path'
import { installLessons, type RuntimeLessons } from '../../memory/lessons/publish.js'
export function publishRuntimeLessons(contextFile: string, lessons?: RuntimeLessons | null): void {
const lines = installLessons(dirname(contextFile), lessons)
if (lines.length) appendFileSync(contextFile, `\n${lines.join('\n')}\n`)
}