lowfat 0.6.6

CLI binary for lowfat
1
2
3
4
5
6
7
8
9
10
# OpenCode plugin

Thin TypeScript plugin that routes commands through lowfat for token savings.

- Install: `lowfat opencode install``~/.config/opencode/plugins/lowfat.ts`
- Mechanism: on `tool.execute.before` (bash/shell), calls `lowfat rewrite <cmd>`
  and swaps in the result; silently passes through on any failure.
- Single source of truth: rewrite logic lives in
  `crates/lowfat/src/commands/rewrite.rs`, not this file. The `.ts` is embedded
  in the binary via `include_str!`, so install needs no network or repo.