chore folder renaming for opencode: skill -> skills, command -> sommands

This commit is contained in:
m3tm3re
2026-01-26 20:50:39 +01:00
parent 2449532b30
commit b6dab69d42
3 changed files with 23 additions and 20 deletions

31
flake.lock generated
View File

@@ -24,11 +24,11 @@
"agents": {
"flake": false,
"locked": {
"lastModified": 1768756367,
"narHash": "sha256-s6AVS1NHXtfc9m4ccSM1+VzC2pjE6dfx9RT7JmELZpo=",
"lastModified": 1769456525,
"narHash": "sha256-pJyKv5X1iw+iIVe8nPynfyaK+Q9v009Q6mIgTfJRGIA=",
"ref": "refs/heads/master",
"rev": "8ebb30fb2b50026034ba87e8c0aca63b09a993b3",
"revCount": 10,
"rev": "63cd7fe102879b6cb4543412926f0208b89c2ac4",
"revCount": 16,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
},
@@ -244,14 +244,17 @@
"opencode": "opencode"
},
"locked": {
"lastModified": 1769186400,
"narHash": "sha256-9e9yvKJPufg0mTroH+vUUzxp+eX1tvy5QLSzKSw6uLI=",
"path": "/home/m3tam3re/p/NIX/nixpkgs",
"type": "path"
"lastModified": 1769436049,
"narHash": "sha256-BXpa8fLOZ4sHw3kH71tSTzdecov7O9a184b9pd/hrzw=",
"ref": "refs/heads/master",
"rev": "9cff518954b14344734f0119bc0389d589c50914",
"revCount": 73,
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
},
"original": {
"path": "/home/m3tam3re/p/NIX/nixpkgs",
"type": "path"
"type": "git",
"url": "https://code.m3ta.dev/m3tam3re/nixpkgs"
}
},
"nix-colors": {
@@ -540,16 +543,16 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1769153255,
"narHash": "sha256-ardM8zEJWvTvsFMQZWivjGPB2uIqFw6QPAzrRjAHQKY=",
"lastModified": 1769362166,
"narHash": "sha256-ovFGFI2dSZLKSeuanRZg9cNvMCxYnS3UbtaCKls5BYQ=",
"owner": "anomalyco",
"repo": "opencode",
"rev": "c130dd425a32fe1c1cd3747ea6565b0e6bf50100",
"rev": "056186225b6648cd5244d2cb0b05622b95343dc6",
"type": "github"
},
"original": {
"owner": "anomalyco",
"ref": "v1.1.34",
"ref": "v1.1.36",
"repo": "opencode",
"type": "github"
}

View File

@@ -45,7 +45,7 @@
nix-colors.url = "github:misterio77/nix-colors";
agents = {
# url = "path:/home/m3tam3re/p/MISC/AGENTS";
# url = "path:/home/m3tam3re/p/AI/AGENTS";
url = "git+https://code.m3ta.dev/m3tam3re/AGENTS";
flake = false;
};

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;
};
};
@@ -25,7 +25,7 @@
plugin = ["oh-my-opencode" "opencode-beads" "opencode-antigravity-auth@beta"];
agent =
builtins.fromJSON
(builtins.readFile "${inputs.agents}/agent/agents.json");
(builtins.readFile "${inputs.agents}/agents/agents.json");
formatter = {
alejandra = {
command = ["alejandra" "-q" "-"];