ci / check (push) Waiting to run
The first public release of LLeMbas CLI: a terminal coding agent and project manager for any LLM API, with permission modes, git snapshots, memory and skills, knowledge bases, MCP, voice, and a link to a LLeMbas instance whose web UI can work its sessions too. Signed Linux binaries for x64 and arm64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
540 B
TypeScript
10 lines
540 B
TypeScript
import { mkdtempSync } from "node:fs"
|
|
import { tmpdir } from "node:os"
|
|
import { join } from "node:path"
|
|
|
|
// Every test run gets its own config/data/state root, so nothing touches ~/.config/lembas.
|
|
process.env.LEMBAS_HOME = mkdtempSync(join(tmpdir(), "lembas-test-"))
|
|
// And its own XDG_CONFIG_HOME, which only the systemd unit's directory is taken from: `lembas
|
|
// uninstall` stops and removes the units it finds there, and a test must never find the real ones.
|
|
process.env.XDG_CONFIG_HOME = mkdtempSync(join(tmpdir(), "lembas-test-xdg-"))
|