Mini coder next
A new version of mini-coder, written from the ground up.
Version mini-coder@0.5.x is currently stable and mostly complete, that's our reference implementation.
Dog-fooding
if this is in your context window, you are using the current repo's harness mini-coder. Be aware of this when
debugging and testing live with your user.
Core dependencies
https://github.com/badlogic/pi-mono/tree/main/packages/ai
Plain text readme file: https://raw.githubusercontent.com/badlogic/pi-mono/refs/heads/main/packages/ai/README.md
- Provider normalized API, supports oauth logins.
https://github.com/sacenox/cel-tui
- Complete TUI framework, inspired by flexbox.
Bun.js
bunandbunxare preferred over their node/npm/yarn/pnpm counterparts.
Typescript
- Use typescript with advanced types always.
- Typescript files should be modules with exports over classes.
- Hoist variables, define helpers before using them, ensure code reads well for humans.
Benchmarks
- Please see
BENCHMARK.mdfor Terminal Bench benchmark info, and how to run it. - Never run more than 2 concurrent evals.
Formatting and linting
Always format before linting
- Format root
*.mdfiles:bunx prettier --write *.md - Format typescript files:
bunx biome format --write
Then lint with: bunx biome check and tsc --noEmit.
Do not use the package.json commands/scripts they are for the users. Use the commands above instead.
Always fix any warnings or errors even if they were not introduced by you, prefer non destructive fixes.