oh-my-opencode model structure for v3.x
This commit is contained in:
@@ -204,171 +204,55 @@
|
||||
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||
google_auth = false;
|
||||
agents = {
|
||||
Sisyphus = {
|
||||
sisyphus = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
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 = "opencode/glm-4.7-free";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
};
|
||||
explore = {
|
||||
model = "zai-coding-plan/glm-4.5-air";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
};
|
||||
oracle = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
};
|
||||
frontend-ui-ux-engineer = {
|
||||
librarian = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
document-writer = {
|
||||
explore = {
|
||||
model = "zai-coding-plan/glm-4.5-air";
|
||||
permission = {
|
||||
edit = "allow";
|
||||
bash = "deny";
|
||||
};
|
||||
};
|
||||
multimodal-looker = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "deny";
|
||||
};
|
||||
model = "zai-coding-plan/glm-4.6v";
|
||||
};
|
||||
"Prometheus (Planner)" = {
|
||||
prometheus = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "allow";
|
||||
};
|
||||
};
|
||||
"Metis (Plan Consultant)" = {
|
||||
metis = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "allow";
|
||||
};
|
||||
};
|
||||
"Momus (Plan Reviewer)" = {
|
||||
momus = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "allow";
|
||||
};
|
||||
};
|
||||
"Atlas" = {
|
||||
atlas = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
permission = {
|
||||
edit = "deny";
|
||||
bash = "allow";
|
||||
};
|
||||
};
|
||||
};
|
||||
"categories" = {
|
||||
"visual-engineering" = {
|
||||
"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";
|
||||
ultrabrain = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
"artistry" = {
|
||||
"model" = "zai-coding-plan/glm-4.7";
|
||||
artistry = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
"quick" = {
|
||||
"model" = "zai-coding-plan/glm-4.5-ai";
|
||||
quick = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
"unspecified-low" = {
|
||||
"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";
|
||||
unspecified-high = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
"writing" = {
|
||||
"model" = "zai-coding-plan/glm-4.7";
|
||||
writing = {
|
||||
model = "zai-coding-plan/glm-4.7";
|
||||
};
|
||||
};
|
||||
disabled_mcps = ["context7" "websearch"];
|
||||
|
||||
Reference in New Issue
Block a user