Messing with llama stuff

This commit is contained in:
Hunter Haugen 2026-04-11 14:14:35 -07:00
parent 781572c561
commit c53e9d23d4
Signed by: hunner
GPG key ID: EF99694AA599DDAD
7 changed files with 622 additions and 553 deletions

35
pkgs/lean-ctx/package.nix Normal file
View file

@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lean-ctx";
version = "2.21.6";
src = fetchFromGitHub {
owner = "yvgude";
repo = "lean-ctx";
rev = "40b840c548a40d03fe91d5aa412fc7c92da4b9e0";
hash = "sha256-3/YAmN4iO7cngj2DbXm9vAutxiz483qf7a81odxQOl8=";
};
sourceRoot = "${finalAttrs.src.name}/rust";
cargoLock = {
lockFile = "${finalAttrs.src}/rust/Cargo.lock";
};
# Upstream's test suite exercises shell/sandbox behavior and is not stable
# under Nix builds, but the release binary itself builds fine.
doCheck = false;
meta = {
description = "Context Intelligence Engine with CCP";
homepage = "https://github.com/yvgude/lean-ctx";
license = lib.licenses.mit;
mainProgram = "lean-ctx";
platforms = lib.platforms.linux;
};
})

File diff suppressed because it is too large Load diff

View file

@ -3,6 +3,6 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@mariozechner/pi-coding-agent": "0.64.0"
"@mariozechner/pi-coding-agent": "0.66.0"
}
}

View file

@ -5,10 +5,10 @@
}:
buildNpmPackage (finalAttrs: {
pname = "pi-coding-agent";
version = "0.64.0";
version = "0.66.0";
src = ./.;
npmDepsHash = "sha256-CS9ZV08xjv7KIkMvnQIHQCMLbeoiYPI7PYtaQawOitE=";
npmDepsHash = "sha256-x7XNa88oV96hl3Cr4JO4gdvaNsSUE9Vn0/qhMAnwX8g=";
inherit nodejs;
dontNpmBuild = true;