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.

429 B
Raw Blame
import { describe, it, expect } from 'vitest'
import { projectSectionId, parseProjectSectionId } from './project-settings-targets'

describe('project section ids', () => {
  it('round-trips and rejects non-project ids', () => {
    expect(parseProjectSectionId(projectSectionId('abc-123'))).toBe('abc-123')
    expect(parseProjectSectionId('terminal')).toBeNull()
    expect(parseProjectSectionId('project-')).toBeNull()
  })
})