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

View File

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

View File

@@ -1,7 +1,7 @@
{inputs, ...}: { {inputs, ...}: {
xdg.configFile = { xdg.configFile = {
"opencode/command" = { "opencode/commands" = {
source = "${inputs.agents}/command"; source = "${inputs.agents}/commands";
recursive = true; recursive = true;
}; };
"opencode/context" = { "opencode/context" = {
@@ -12,8 +12,8 @@
source = "${inputs.agents}/prompts"; source = "${inputs.agents}/prompts";
recursive = true; recursive = true;
}; };
"opencode/skill" = { "opencode/skills" = {
source = "${inputs.agents}/skill"; source = "${inputs.agents}/skills";
recursive = true; recursive = true;
}; };
}; };
@@ -25,7 +25,7 @@
plugin = ["oh-my-opencode" "opencode-beads" "opencode-antigravity-auth@beta"]; plugin = ["oh-my-opencode" "opencode-beads" "opencode-antigravity-auth@beta"];
agent = agent =
builtins.fromJSON builtins.fromJSON
(builtins.readFile "${inputs.agents}/agent/agents.json"); (builtins.readFile "${inputs.agents}/agents/agents.json");
formatter = { formatter = {
alejandra = { alejandra = {
command = ["alejandra" "-q" "-"]; command = ["alejandra" "-q" "-"];