Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

373 B
Raw Blame
import assert from 'node:assert/strict'
import { test } from 'node:test'
import { fill } from './fill.ts'

test('what fill puts in stays as written', () => {
  assert.equal(fill('{name} and {other}', { name: 'Build {other} $&', other: 'Reviewer' }), 'Build {other} $& and Reviewer')
  assert.equal(fill('{name} and {missing}', { name: 'Build' }), 'Build and {missing}')
})