Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

424 B
Raw Blame
import { expect, it } from 'vitest'
import { isLaunchShell } from './pane'
it.each(['bash', '-zsh', '/bin/fish', 'pwsh.exe', 'PowerShell.EXE', 'C:\\Windows\\System32\\cmd.exe'])('recognizes the launch shell %s', (name) => {
  expect(isLaunchShell(name)).toBe(true)
})
it.each([null, '', 'vim', 'node', 'claude', 'codex', 'sh -c vim'])('refuses non-shell/unknown %s', (name) => {
  expect(isLaunchShell(name)).toBe(false)
})