mirror of
https://github.com/itme-brain/agent-team.git
synced 2026-05-08 11:40:12 -04:00
added opencode
This commit is contained in:
parent
54acfec834
commit
254d72cfd4
8 changed files with 315 additions and 4 deletions
11
flake.nix
11
flake.nix
|
|
@ -11,6 +11,7 @@
|
|||
packages = with pkgs; [
|
||||
yq-go
|
||||
gettext
|
||||
jq
|
||||
just
|
||||
];
|
||||
};
|
||||
|
|
@ -22,6 +23,7 @@
|
|||
bash
|
||||
yq-go
|
||||
gettext
|
||||
jq
|
||||
pythonEnv
|
||||
];
|
||||
bashBin = "${pkgs.bash}/bin/bash";
|
||||
|
|
@ -44,6 +46,10 @@
|
|||
yq -e '.skills.order | type == "!!seq"' ./TEAM.yaml
|
||||
yq -e '.rules.order | type == "!!seq"' ./TEAM.yaml
|
||||
|
||||
# OpenCode base config must exist and be valid JSON
|
||||
test -f ./opencode/config.json
|
||||
jq empty ./opencode/config.json
|
||||
|
||||
# JSON Schema validation for protocol files
|
||||
python <<'PY'
|
||||
import json
|
||||
|
|
@ -91,7 +97,7 @@
|
|||
test -f ./generate.sh || { echo "Run this command from the repository root."; exit 1; }
|
||||
${bashBin} ./generate.sh
|
||||
''}/bin/build";
|
||||
meta.description = "Generate Claude and Codex build artifacts from the authored protocol files.";
|
||||
meta.description = "Generate Claude, Codex, and OpenCode build artifacts from the authored protocol files.";
|
||||
};
|
||||
|
||||
validate = {
|
||||
|
|
@ -123,7 +129,7 @@
|
|||
${validateCmd}
|
||||
${bashBin} ./install.sh
|
||||
''}/bin/install";
|
||||
meta.description = "Install generated artifacts into Claude and Codex config directories.";
|
||||
meta.description = "Install generated artifacts into Claude, Codex, and OpenCode config directories.";
|
||||
};
|
||||
});
|
||||
|
||||
|
|
@ -133,6 +139,7 @@
|
|||
bash
|
||||
yq-go
|
||||
gettext
|
||||
jq
|
||||
pythonEnv
|
||||
];
|
||||
bashBin = "${pkgs.bash}/bin/bash";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue