Files
sleepy c18c20487c feat: Add configurable tool mode to save tokens
- Add --use-opencode-tools flag to main.py
- Default: local tool server mode (~125 tokens, saves ~27k tokens)
- Optional: opencode tools mode (~27k tokens, full tool definitions)
- Create .opencodeignore to exclude large docs from context
- Update design doc with token bloat analysis

This allows users to choose between:
- Local tool server: Minimal tool instructions, saves 27k tokens
- Opencode tools: Full tool definitions, more robust but expensive
2026-02-25 11:31:48 +01:00

21 lines
323 B
Plaintext

# opencode ignore patterns
# Excludes large documentation files from context padding
# Agent rules (not project context)
AGENT_WORKER.md
AGENT_REVIEW.md
# Review reports
reports/
# Design docs and test plans (historical documentation)
docs/design/
docs/test-plans/
# TODO file
TODO.md
# Non-code files
*.md
!README.md