Commit graph

8 commits

Author SHA1 Message Date
acc1254d27 feat(opencode): add fast model to Halo provider
Adds a "fast" model option alongside the existing "coder" model in the
Halo provider configuration for opencode.
2026-05-23 21:33:22 +02:00
3715e269b9 fix(opencode): disable auto-format on save
opencode reformats files in the background after each write, which
desyncs the model's view of a file between edits and breaks follow-up
edits whose old_string no longer matches. Set formatter = false; the
formatter tools stay on PATH via home.packages for manual use.
2026-05-22 00:00:37 +02:00
e9bedc0455 feat(opencode): also expose formatters on PATH
Re-add home.packages so nixfmt, prettier, shfmt, ruff, taplo and stylua
are available for interactive use, alongside the store-path-pinned
references in the generated config.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 22:07:33 +02:00
d10570a0d8 refactor(opencode): generate config.json from the home module
Build opencode's config.json with pkgs.formats.json instead of shipping
a static file, pinning each formatter command to its store-path binary
via lib.getExe. Drops the standalone config/opencode/config.json.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 22:06:35 +02:00
d0c58a5c9d feat(opencode): configure formatters and provide them on PATH
Add formatter entries for nix, prettier (md/yaml/json/web), shell,
python, toml and lua, and install the matching tools via the opencode
home module so they are available wherever opencode runs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 22:02:53 +02:00
a29301179b feat(opencode): install kepano/obsidian-skills into ~/.agents/skills
Add obsidian-skills as a flake input (flake = false) and map each
skill subdirectory into ~/.agents/skills/<skill>, alongside the
existing local skills. Updates flow through `nix flake update
obsidian-skills`.
2026-05-16 14:13:31 +02:00
4d32148059 chore: use ~/.agent/skills 2026-05-15 21:26:56 +02:00
a63abebda3 feat(home): opencode module — link config/opencode → ~/.config/opencode
Adds metacfg.cli-apps.opencode (default enabled) which mounts the
in-repo opencode config (provider list, web-search skill) via
xdg.configFile, so all hosts pick it up automatically.
2026-05-03 14:30:33 +02:00