aicomputer

This commit is contained in:
Harivansh Rathi 2026-03-22 18:32:26 -04:00
parent b2217633e7
commit 7ae6bd1808
3 changed files with 64 additions and 2 deletions

56
flake.lock generated
View file

@ -1,5 +1,23 @@
{ {
"nodes": { "nodes": {
"agentcomputer-cli": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1774217644,
"narHash": "sha256-MnSCnEYGMZyfj42/8+frNDktCIpj5RUkGY50r29KirQ=",
"path": "/Users/rathi/Documents/GitHub/companion/agentcomputer/apps/cli",
"type": "path"
},
"original": {
"path": "/Users/rathi/Documents/GitHub/companion/agentcomputer/apps/cli",
"type": "path"
}
},
"brew-src": { "brew-src": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -19,7 +37,7 @@
}, },
"claudeCode": { "claudeCode": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@ -74,9 +92,27 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"googleworkspace-cli": { "googleworkspace-cli": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_3",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@ -172,6 +208,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"agentcomputer-cli": "agentcomputer-cli",
"claudeCode": "claudeCode", "claudeCode": "claudeCode",
"googleworkspace-cli": "googleworkspace-cli", "googleworkspace-cli": "googleworkspace-cli",
"home-manager": "home-manager", "home-manager": "home-manager",
@ -209,6 +246,21 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -24,6 +24,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
agentcomputer-cli = {
url = "path:/Users/rathi/Documents/GitHub/companion/agentcomputer/apps/cli";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew = { nix-homebrew = {
url = "github:zhaofengli-wip/nix-homebrew"; url = "github:zhaofengli-wip/nix-homebrew";
}; };

View file

@ -7,6 +7,8 @@
inputs.googleworkspace-cli.packages.${pkgs.stdenv.hostPlatform.system}.default; inputs.googleworkspace-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
claudePackage = claudePackage =
inputs.claudeCode.packages.${pkgs.stdenv.hostPlatform.system}.default; inputs.claudeCode.packages.${pkgs.stdenv.hostPlatform.system}.default;
agentcomputerPackage =
inputs.agentcomputer-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
memex = pkgs.stdenvNoCC.mkDerivation rec { memex = pkgs.stdenvNoCC.mkDerivation rec {
pname = "memex"; pname = "memex";
@ -126,6 +128,9 @@ in {
texliveFull texliveFull
yt-dlp yt-dlp
]) ])
++ [
agentcomputerPackage
]
++ lib.optionals pkgs.stdenv.isDarwin [ ++ lib.optionals pkgs.stdenv.isDarwin [
graphite graphite
memex memex