Commit 9865b88
committed
refactor(context): modularize context gathering and add search/replace output to quick_chat
- Extracts core context logic into separate modules: `base.lua`, `json_formatter.lua`, `plain_text_formatter.lua`
- Updates `quick_chat` to output and apply LLM-generated SEARCH/REPLACE blocks (instead of JSON object replacement)
- Improves context formatting for both LLM-friendly plain text and API JSON
- Refactors quick chat flow for simpler, more robust edit workflows1 parent b3457ef commit 9865b88
File tree
6 files changed
+1200
-767
lines changed- lua/opencode
- context
6 files changed
+1200
-767
lines changed
0 commit comments