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 { describe, expect, it } from 'vitest'
import { scrubTerminalContext, TERMINAL_CONTEXT_VARIABLES } from './terminalEnvironment.js'
describe('scrubTerminalContext', () => {
it('removes the complete tmux routing context without touching unrelated values', () => {
const environment = Object.fromEntries([
...TERMINAL_CONTEXT_VARIABLES.map((key) => [key, `value-${key}`]),
['PATH', '/bin'],
])
expect(scrubTerminalContext(environment)).toEqual({ PATH: '/bin' })
})
})