treefmt + samba dir changed
This commit is contained in:
1 parent
d1b1b07903
commit
d6d64d21c3
29 files changed
+998
-1122
No files matched your search
@@ -30,5 +30,8 @@
|
||||
# node < 18 отсутствует («herdr web ui needs Node 18 or newer for its
|
||||
# terminal sidecar»). На sapphira node уже был через opencode.nix, на
|
||||
# rydiwo нет — добавляем сюда, чтобы plugin-install прошёл preflight.
|
||||
home.packages = with pkgs; [ bun nodejs_22 ];
|
||||
}
|
||||
home.packages = with pkgs; [
|
||||
bun
|
||||
nodejs_22
|
||||
];
|
||||
}
|
||||
@@ -111,4 +111,4 @@
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -100,11 +100,21 @@ let
|
||||
# Конфиг slim-плагина — зеркало vetymae (~/.config/opencode/oh-my-opencode-slim.json).
|
||||
slimConfig = {
|
||||
agents = {
|
||||
orchestrator = { model = modelFast; };
|
||||
explorer = { model = modelFast; };
|
||||
oracle = { model = modelFast; };
|
||||
designer = { model = modelFast; };
|
||||
fixer = { model = modelFast; };
|
||||
orchestrator = {
|
||||
model = modelFast;
|
||||
};
|
||||
explorer = {
|
||||
model = modelFast;
|
||||
};
|
||||
oracle = {
|
||||
model = modelFast;
|
||||
};
|
||||
designer = {
|
||||
model = modelFast;
|
||||
};
|
||||
fixer = {
|
||||
model = modelFast;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -210,12 +220,36 @@ in
|
||||
# Границы: это заменяет клик мышью, а не правила безопасности агента —
|
||||
# secrets/, *.env, *.pem и .ssh/ остаются вне зоны по политике.
|
||||
permissions = [
|
||||
{ action = "external_directory"; resource = "*"; effect = "allow"; }
|
||||
{ action = "read"; resource = "*"; effect = "allow"; }
|
||||
{ action = "edit"; resource = "*"; effect = "allow"; }
|
||||
{ action = "bash"; resource = "*"; effect = "allow"; }
|
||||
{ action = "webfetch"; resource = "*"; effect = "allow"; }
|
||||
{ action = "websearch"; resource = "*"; effect = "allow"; }
|
||||
{
|
||||
action = "external_directory";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "read";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "edit";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "bash";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "webfetch";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "websearch";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
+45
-11
@@ -120,11 +120,21 @@ let
|
||||
# ~/.config/opencode/oh-my-opencode-slim.json
|
||||
slimConfig = {
|
||||
agents = {
|
||||
orchestrator = { model = modelFast; };
|
||||
explorer = { model = modelFast; };
|
||||
oracle = { model = modelFast; };
|
||||
designer = { model = modelFast; };
|
||||
fixer = { model = modelFast; };
|
||||
orchestrator = {
|
||||
model = modelFast;
|
||||
};
|
||||
explorer = {
|
||||
model = modelFast;
|
||||
};
|
||||
oracle = {
|
||||
model = modelFast;
|
||||
};
|
||||
designer = {
|
||||
model = modelFast;
|
||||
};
|
||||
fixer = {
|
||||
model = modelFast;
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
@@ -215,12 +225,36 @@ in
|
||||
# safety rules of the agent itself — `secrets/`, `*.env`, `*.pem` and
|
||||
# `.ssh/` stay off-limits by policy, not by prompt.
|
||||
permissions = [
|
||||
{ action = "external_directory"; resource = "*"; effect = "allow"; }
|
||||
{ action = "read"; resource = "*"; effect = "allow"; }
|
||||
{ action = "edit"; resource = "*"; effect = "allow"; }
|
||||
{ action = "bash"; resource = "*"; effect = "allow"; }
|
||||
{ action = "webfetch"; resource = "*"; effect = "allow"; }
|
||||
{ action = "websearch"; resource = "*"; effect = "allow"; }
|
||||
{
|
||||
action = "external_directory";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "read";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "edit";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "bash";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "webfetch";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
{
|
||||
action = "websearch";
|
||||
resource = "*";
|
||||
effect = "allow";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user