1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
Commit graph

9 commits

Author SHA1 Message Date
Thierry Delafontaine
c740351870 opencode: add mcp module integration 2025-11-03 20:25:16 -06:00
Thierry Delafontaine
6ea30b26cd opencode: make the themes also accept path
- Removed unnecessary empty-themes test.
2025-10-19 09:47:26 -05:00
Thierry Delafontaine
fddb33a1a5 opencode: make the rules option also accept a path 2025-10-19 09:47:26 -05:00
Mirza Arnaut
fc837be107 opencode: add themes option
Add themes option to configure custom themes through nix.
Define a submodule for the settings option, to give the `theme` setting
a description.
2025-10-18 09:21:38 -05:00
Austin Horstman
53538044d9 tests/opencode: expand tests for agents / commands
Include various tests for the agents and command file generation and
different ways of configuring it.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-17 07:23:42 -05:00
Thierry Delafontaine
64796151f7 opencode: add JSON schema reference to config.json output
- Automatically include "$schema": "https://opencode.ai/config.json" in the generated
  opencode config.json file
- Update documentation to mention the added schema property
- Add corresponding "$schema" entry in test config.json file for validation purposes

Closes #7506
2025-07-24 11:05:45 -05:00
Thierry Delafontaine
1df662dde0 opencode: add empty-settings test
- Add `empty-settings` test to ensure the config file is not generated
  when no settings are provided
2025-07-24 11:05:45 -05:00
Thierry Delafontaine
08edcbe9df opencode: add support for global custom instructions via rules option
- Introduce `rules` option to provide global custom instructions for opencode
- Write `rules` content to `~/.config/opencode/AGENTS.md` if non-empty
- Update tests to cover presence and absence of `AGENTS.md` file with rules content
2025-07-24 11:05:45 -05:00
Thierry Delafontaine
5a49fe448e
opencode: init (#7320) 2025-07-05 16:02:49 -05:00