+agents-lib
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Generated
+18
@@ -21,6 +21,23 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"agent-lib": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780229583,
|
||||
"narHash": "sha256-WxokKtyJ0fRiTNIaf+Tfd05GhZVsqoTP5Q0cXiNipsI=",
|
||||
"path": "/home/m3tam3re/p/NIX/agent-lib",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/home/m3tam3re/p/NIX/agent-lib",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
"agents": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -324,6 +341,7 @@
|
||||
"root": {
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"agent-lib": "agent-lib",
|
||||
"home-manager": "home-manager_2",
|
||||
"m3ta-nixpkgs": "m3ta-nixpkgs",
|
||||
"nix-colors": "nix-colors",
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
agent-lib = {
|
||||
url = "path:/home/m3tam3re/p/NIX/agent-lib";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
|
||||
nur.url = "github:nix-community/NUR";
|
||||
|
||||
@@ -80,6 +80,9 @@ in {
|
||||
in {
|
||||
imports =
|
||||
[
|
||||
# External Home Manager modules required by selectable profiles
|
||||
inputs.agent-lib.homeManagerModules.default
|
||||
|
||||
# Paths module — must be first, provides m3taHome.paths.srcRoot
|
||||
../modules/paths.nix
|
||||
baseModule
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
in {
|
||||
default = {
|
||||
imports = [
|
||||
# External modules
|
||||
inputs.agent-lib.homeManagerModules.default
|
||||
|
||||
# Paths — must be first, provides "m3ta-home".paths.srcRoot
|
||||
./paths.nix
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{config, ...}: {
|
||||
programs.agent-lib = {
|
||||
enable = true;
|
||||
lockFile = config."m3ta-home".paths.srcRoot + "/agent-sources.lock.json";
|
||||
|
||||
targets.pi.enable = true;
|
||||
targets.opencode.enable = true;
|
||||
|
||||
profiles.default = {
|
||||
sources = {
|
||||
m3ta-agents = {
|
||||
agents = {
|
||||
all = true;
|
||||
};
|
||||
skills = {
|
||||
all = true;
|
||||
exclude = ["brainstorming" "pdf" "systematic-debugging" "xlsx"];
|
||||
};
|
||||
};
|
||||
anthropic.skills = {
|
||||
all = true;
|
||||
exclude = ["skill-creator"];
|
||||
};
|
||||
basecamp.skills.all = true;
|
||||
kestra.skills.all = true;
|
||||
mattpocock.skills = {
|
||||
all = true;
|
||||
};
|
||||
superpowers.skills = {
|
||||
all = true;
|
||||
};
|
||||
vercel.skills.all = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
imports = [
|
||||
# OpenCode, Pi, and Babysitter agent configurations
|
||||
./agents-lib.nix
|
||||
./babysitter.nix
|
||||
./opencode.nix
|
||||
./pi.nix
|
||||
@@ -27,20 +28,6 @@
|
||||
|
||||
coding.agents.babysitter.enable = true;
|
||||
|
||||
coding.agents.skills = {
|
||||
agentsInput = inputs.agents;
|
||||
externalSkills = [
|
||||
{
|
||||
src = inputs.skills-anthropic;
|
||||
selectSkills = ["pdf" "docx" "frontend-design"];
|
||||
}
|
||||
{src = inputs.skills-superpowers;}
|
||||
{src = inputs.skills-vercel;}
|
||||
{src = inputs.skills-basecamp;}
|
||||
{src = inputs.skills-kestra;}
|
||||
];
|
||||
};
|
||||
|
||||
programs.mcp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
|
||||
Reference in New Issue
Block a user