feat: config with agents rework

This commit is contained in:
m3tm3re
2026-04-13 16:53:17 +02:00
parent a81e178856
commit ccca3dd9db
47 changed files with 5940 additions and 22 deletions

View File

@@ -0,0 +1,39 @@
{
"task": "task-7-lib-agents",
"status": "complete",
"timestamp": "2026-04-10",
"files": {
"created": [
"/home/m3tam3re/p/NIX/nixpkgs/lib/agents.nix"
],
"modified": [
"/home/m3tam3re/p/NIX/nixpkgs/lib/default.nix"
]
},
"checks": {
"alejandra_check": {
"command": "alejandra --check lib/agents.nix lib/default.nix",
"result": "PASS",
"output": "Congratulations! Your code complies with the Alejandra style."
},
"nix_flake_check": {
"command": "nix flake check",
"result": "PASS",
"exit_code": 0,
"notable": "21 flake checks ran, all derivations evaluated successfully"
}
},
"lib_agents_functions": {
"loadCanonical": "Takes { agentsInput } and returns agentsInput.lib.loadAgents",
"renderForOpencode": "Stub: pkgs.runCommand 'opencode-agents' {} 'echo stub > $out'",
"renderForClaudeCode": "Stub: pkgs.runCommand 'claude-code-agents' {} 'echo stub > $out'",
"renderForPi": "Stub: pkgs.runCommand 'pi-agents' {} 'echo stub > $out'",
"renderForTool": "Dispatcher by tool string: opencode | claude-code | pi"
},
"notes": [
"lib/agents.nix already existed with correct structure when task started",
"lib/default.nix already had the agents entry wired in",
"Both files passed alejandra --check without modification needed",
"nix flake check passed with EXIT: 0"
]
}