c18c20487c
- 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
21 lines
323 B
Plaintext
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
|