added AZPIPRODUKTION / restructure user folders

This commit is contained in:
2026-02-10 08:55:25 +01:00
parent 6c40160fae
commit 885b3924f9
48 changed files with 444 additions and 476 deletions

View File

@@ -1,7 +1,7 @@
{inputs, ...}: {
xdg.configFile = {
"opencode/command" = {
source = "${inputs.agents}/command";
"opencode/commands" = {
source = "${inputs.agents}/commands";
recursive = true;
};
"opencode/context" = {
@@ -12,8 +12,8 @@
source = "${inputs.agents}/prompts";
recursive = true;
};
"opencode/skill" = {
source = "${inputs.agents}/skill";
"opencode/skills" = {
source = "${inputs.agents}/skills";
recursive = true;
};
};
@@ -22,8 +22,8 @@
enable = true;
settings = {
theme = "opencode";
plugin = ["oh-my-opencode" "opencode-beads" "opencode-anthropic-auth"];
agent = builtins.fromJSON (builtins.readFile "${inputs.agents}/agent/agents.json");
plugin = ["oh-my-opencode" "opencode-beads"];
agent = builtins.fromJSON (builtins.readFile "${inputs.agents}/agents/agents.json");
formatter = {
alejandra = {
command = ["alejandra" "-q" "-"];
@@ -49,6 +49,19 @@
];
enabled = true;
};
Basecamp = {
type = "local";
command = [
"/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv/bin/python"
"/home/sascha.koenig/p/AI/Basecamp-MCP-Server/basecamp_fastmcp.py"
];
environment = {
PYTHONPATH = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server";
VIRTUAL_ENV = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv";
BASECAMP_ACCOUNT_ID = "5996442";
};
enabled = false;
};
Outline = {
type = "local";
command = [
@@ -64,121 +77,57 @@
home.file.".config/opencode/oh-my-opencode.json".text = builtins.toJSON {
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
google_auth = false;
agents = {
Sisyphus = {
model = "anthropic/claude-opus-4-5";
permission = {
edit = "allow";
bash = {
"*" = "allow";
"rm *" = "ask";
"rmdir *" = "ask";
"mv *" = "ask";
"chmod *" = "ask";
"chown *" = "ask";
"git *" = "ask";
"git status*" = "allow";
"git log*" = "allow";
"git diff*" = "allow";
"git branch*" = "allow";
"git show*" = "allow";
"git stash list*" = "allow";
"git remote -v" = "allow";
"git add *" = "allow";
"git commit *" = "allow";
"jj *" = "ask";
"jj status" = "allow";
"jj log*" = "allow";
"jj diff*" = "allow";
"jj show*" = "allow";
"npm *" = "ask";
"npx *" = "ask";
"bun *" = "ask";
"bunx *" = "ask";
"uv *" = "ask";
"pip *" = "ask";
"pip3 *" = "ask";
"yarn *" = "ask";
"pnpm *" = "ask";
"cargo *" = "ask";
"go *" = "ask";
"make *" = "ask";
"dd *" = "deny";
"mkfs*" = "deny";
"fdisk *" = "deny";
"parted *" = "deny";
"eval *" = "deny";
"source *" = "deny";
"curl *|*sh" = "deny";
"wget *|*sh" = "deny";
"sudo *" = "deny";
"su *" = "deny";
"systemctl *" = "deny";
"service *" = "deny";
"shutdown *" = "deny";
"reboot*" = "deny";
"init *" = "deny";
"> /dev/*" = "deny";
"cat * > /dev/*" = "deny";
};
external_directory = "ask";
doom_loop = "ask";
};
};
librarian = {
model = "anthropic/claude-sonnet-4-5";
permission = {
edit = "deny";
bash = "deny";
};
};
explore = {
model = "opencode/big-pickle";
permission = {
edit = "deny";
bash = "deny";
};
sisyphus = {
model = "zai-coding-plan/glm-4.7";
};
oracle = {
model = "anthropic/claude-sonnet-4-5";
permission = {
edit = "deny";
bash = "deny";
};
model = "zai-coding-plan/glm-4.7";
};
frontend-ui-ux-engineer = {
model = "anthropic/claude-opus-4-5";
permission = {
edit = "allow";
bash = {
"*" = "ask";
"npm *" = "ask";
"npx *" = "ask";
"bun *" = "ask";
"bunx *" = "ask";
"rm *" = "ask";
"mv *" = "ask";
"dd *" = "deny";
"mkfs*" = "deny";
"sudo *" = "deny";
"curl *|*sh" = "deny";
"wget *|*sh" = "deny";
};
};
librarian = {
model = "zai-coding-plan/glm-4.7";
};
document-writer = {
model = "anthropic/claude-opus-4-5";
permission = {
edit = "allow";
bash = "deny";
};
explore = {
model = "zai-coding-plan/glm-4.5-air";
};
multimodal-looker = {
model = "anthropic/claude-opus-4-5";
permission = {
edit = "deny";
bash = "deny";
};
model = "zai-coding-plan/glm-4.6v";
};
prometheus = {
model = "zai-coding-plan/glm-4.7";
};
metis = {
model = "zai-coding-plan/glm-4.7";
};
momus = {
model = "zai-coding-plan/glm-4.7";
};
atlas = {
model = "zai-coding-plan/glm-4.7";
};
};
categories = {
visual-engineering = {
model = "zai-coding-plan/glm-4.7";
};
ultrabrain = {
model = "zai-coding-plan/glm-4.7";
};
artistry = {
model = "zai-coding-plan/glm-4.7";
};
quick = {
model = "zai-coding-plan/glm-4.7";
};
unspecified-low = {
model = "zai-coding-plan/glm-4.7";
};
unspecified-high = {
model = "zai-coding-plan/glm-4.7";
};
writing = {
model = "zai-coding-plan/glm-4.7";
};
};
disabled_mcps = ["context7" "websearch"];