From b6dab69d4284bbc61b6e0d0916fefe022e25bec3 Mon Sep 17 00:00:00 2001 From: m3tm3re
Date: Mon, 26 Jan 2026 20:50:39 +0100 Subject: [PATCH] chore folder renaming for opencode: skill -> skills, command -> sommands --- flake.lock | 31 +++++++++++++++++-------------- flake.nix | 2 +- home/features/coding/opencode.nix | 10 +++++----- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index 7671524..ae3d231 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } diff --git a/flake.nix b/flake.nix index a46386d..950b502 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; diff --git a/home/features/coding/opencode.nix b/home/features/coding/opencode.nix index 5ea4985..eabe875 100644 --- a/home/features/coding/opencode.nix +++ b/home/features/coding/opencode.nix @@ -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" "-"];