Skip to content

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.

366 B
Raw Blame
export const TERMINAL_CONTEXT_VARIABLES = [
  'TMUX',
  'TMUX_PANE',
] as const

/** Mutate a child-only environment copy so one-shots cannot register as top-level terminal agents. */
export function scrubTerminalContext<T extends NodeJS.ProcessEnv>(environment: T): T {
  for (const key of TERMINAL_CONTEXT_VARIABLES) delete environment[key]
  return environment
}