This commit is contained in:
2026-09-19 20:56:43 +01:00
parent 19e49e90f5
commit 84bd80f82a
7 changed files with 237 additions and 106 deletions
+18 -17
View File
@@ -21,25 +21,26 @@
enable = true;
extraPackages = with pkgs; [
rust-analyzer
# rust-analyzer
typescript-language-server
];
context = ''
Instructions:
Instructions:
- Do NOT preemptively load all references - use lazy loading based on actual need
- When loaded, treat content as mandatory instructions that override defaults
- Follow references recursively when needed
- Do NOT preemptively load all references - use lazy loading based on actual need
- When loaded, treat content as mandatory instructions that override defaults
- Follow references recursively when needed
- NO EMOJIS
- NO EMOJIS
- If you've been looking a lot for something you cant seem to find and you havent been explicitly told to keep going, you're allowed to say 'i cant find it'
'';
settings = {
"lsp" = true;
plugin = [
"@tarquinen/opencode-dcp@latest"
"@xberg-io/opencode-xberg"
"@xberg-io/opencode-crawlberg"
"@xberg-io/opencode-html-to-markdown"
# "@xberg-io/opencode-crawlberg"
# "@xberg-io/opencode-html-to-markdown"
"@xberg-io/opencode-liter-llm"
"opencode-plugin-litellm@latest"
"@dietrichgebert/ponytail"
@@ -51,7 +52,7 @@
# Replace/extend the per-model system prompt via
# ~/.config/opencode/system-prompts.json
# (https://github.com/kmcquade/opencode-sysprompt-override-plugin)
"opencode-sysprompt-override@latest"
# "opencode-sysprompt-override@latest"
];
provider.litellm = {
npm = "@ai-sdk/openai-compatible";
@@ -68,14 +69,14 @@
apiKey = "{env:OPENCODE_GO_API_KEY}";
};
};
provider.commandcode = {
npm = "@ai-sdk/openai-compatible";
name = "Command Code";
options = {
baseURL = "https://api.commandcode.ai/provider/v1";
apiKey = "{env:COMMANDCODE_API_KEY}";
};
};
# provider.commandcode = {
# npm = "@ai-sdk/openai-compatible";
# name = "Command Code";
# options = {
# baseURL = "https://api.commandcode.ai/provider/v1";
# apiKey = "{env:COMMANDCODE_API_KEY}";
# };
# };
};
# TUI plugin: token-tracker (https://github.com/eserete/opencode-token-tracker)
tui = {