Skip to content

Your team of AI agents, on your Mac, Windows or Linux. Agents that talk in channels, write code, review each other and use your tools, on the Claude Code, Codex, OpenCode or Pi you already have. Anything that touches the real world waits for your yes.

620 B
Raw Blame
import { describe, expect, it } from 'vitest'
import { chirpOf } from '../src/shared/types'

describe('the toucan’s chirp', () => {
  it('knocks when an agent needs me and plays two notes when the work is done', () => {
    expect(chirpOf('approval', undefined)).toBe('chama')
    expect(chirpOf('question', true)).toBe('chama')
    expect(chirpOf('done', true)).toBe('pronto')
    expect(chirpOf(undefined, undefined)).toBe('pronto')
  })

  it('stays quiet when the sounds are off', () => {
    for (const kind of ['approval', 'question', 'done', undefined] as const) expect(chirpOf(kind, false)).toBeNull()
  })
})