Skip to content

Add JSON to TOON converter and rename release workflow to release-assets#926

Merged
dyoshikawa merged 5 commits intomainfrom
feat/add-json-to-toon-converter
Feb 4, 2026
Merged

Add JSON to TOON converter and rename release workflow to release-assets#926
dyoshikawa merged 5 commits intomainfrom
feat/add-json-to-toon-converter

Conversation

@dyoshikawa
Copy link
Owner

@dyoshikawa dyoshikawa commented Feb 4, 2026

Summary

  • Add scripts/generate-repomix-toon.ts using repomix programmatic API
  • Rename release-binaries.yml to release-assets.yml
  • Generate 4 TOON variants for different use cases:
    • repomix-output.toon: Default (all files)
    • repomix-output-src.toon: Source files only (excluding tests)
    • repomix-output-tests.toon: Test files only
    • repomix-output-configs.toon: Config files only (excluding src)
  • TOON format provides 30-60% token savings compared to JSON for LLM inputs

Test plan

  • Verified all 4 variants generate successfully
  • Tested with repomix programmatic API (runCli)
  • All pnpm cicheck:code tests pass (3468 tests)

🤖 Generated with Claude Code

cm-dyoshikawa and others added 2 commits February 3, 2026 21:40
Add a script to convert JSON files to TOON format using @toon-format/toon
library. Update the release-binaries workflow to generate and upload
repomix-output.toon as a release asset.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Rename workflow file and update job/step names to reflect that it now
handles both binaries and other assets like repomix-output.toon.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dyoshikawa dyoshikawa changed the title Add JSON to TOON converter script and release workflow integration Add JSON to TOON converter and rename release workflow to release-assets Feb 4, 2026
cm-dyoshikawa and others added 3 commits February 3, 2026 22:32
- Replace convert-json-to-toon.ts with generate-repomix-toon.ts
- Use repomix programmatic API instead of execSync
- Generate 4 TOON variants:
  - repomix-output.toon: Default (all files)
  - repomix-output-src.toon: Source files only (excluding tests)
  - repomix-output-tests.toon: Test files only
  - repomix-output-configs.toon: Config files only (excluding src)
- Update release-assets workflow to upload all variants
- Add repomix as devDependency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fix CI cspell check failure by adding 'repomix' to the allowed words list.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolve pnpm-lock.yaml conflicts by regenerating with pnpm install.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dyoshikawa dyoshikawa merged commit 3a1e9f3 into main Feb 4, 2026
11 checks passed
@dyoshikawa dyoshikawa deleted the feat/add-json-to-toon-converter branch February 4, 2026 07:11
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.

2 participants