Skip to content

Comments

v1.7.0: TOON as default output format#14

Merged
butttons merged 3 commits intomainfrom
feat/v1.7.0
Feb 22, 2026
Merged

v1.7.0: TOON as default output format#14
butttons merged 3 commits intomainfrom
feat/v1.7.0

Conversation

@butttons
Copy link
Owner

@butttons butttons commented Feb 22, 2026

Summary

Default CLI output format is now TOON (Token-Oriented Object Notation) for reduced token usage. All commands accept --json for JSON output.

Changes

Output format

  • Add @toon-format/toon dependency for compact LLM-friendly encoding
  • Add global --json flag to restore JSON output on any command
  • Replace all 28 outputJson() call sites with format-aware output() function
  • Errors still go to stderr as JSON (unchanged)

Documentation

  • Add TOON vs JSON size comparison table to README (25 commands benchmarked)
  • Tabular commands see 35-66% reduction, nested outputs roughly even

Housekeeping

  • Remove .claude/ settings and skills (moved to pi agent config)
  • Remove .pi/extensions/ (managed via pi-kit)
  • Add local toon skill for format reference

- Add @toon-format/toon for token-efficient LLM-friendly output.
- Global --json flag on all commands restores JSON output.
- TOON is now the default for all 28 command output sites.
- Benchmark all 25 commands on dora's own codebase (79 files, 3167 symbols).
- Tabular commands see 35-66% savings, nested outputs roughly even.
- Remove .claude/ settings and skills (moved to pi agent config).
- Remove .pi/extensions/ (managed via pi-kit).
- Add local toon skill for TOON format reference.
@butttons butttons merged commit 5970666 into main Feb 22, 2026
1 check passed
@butttons butttons deleted the feat/v1.7.0 branch February 22, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant