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>
13 lines
470 B
TypeScript
13 lines
470 B
TypeScript
// A stand-in piper: -m model -f out.wav, the text on stdin; writes a WAV whose data is the text.
|
|
const a = process.argv.slice(2)
|
|
const out = a[a.indexOf("-f") + 1]!
|
|
const model = a[a.indexOf("-m") + 1]!
|
|
if (!model.endsWith(".onnx")) {
|
|
console.error("no such model")
|
|
process.exit(2)
|
|
}
|
|
const text = new TextEncoder().encode(await new Response(Bun.stdin.stream()).text())
|
|
await Bun.write(out, new Uint8Array([...new TextEncoder().encode("RIFF"), ...text]))
|
|
|
|
export {}
|