mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 02:40:50 +00:00
pi-coding-agent: 0.84.4 -> 0.85.0 (#559996)
This commit is contained in:
@@ -13,16 +13,16 @@
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "pi-coding-agent";
|
||||
version = "0.84.4";
|
||||
version = "0.85.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "earendil-works";
|
||||
repo = "pi";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7z8OXao1PzmBEepDkIqVqyfQBPHulBlKcGymDYsnMvc=";
|
||||
hash = "sha256-gznGlneVCx3htxRiJq0/futm4qLR9Bzfv3UwP3ES9v0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-35GC3Q4Jf4URvqoEYHeM63x49tTmrth62//PvKm4I7Q=";
|
||||
npmDepsHash = "sha256-K/KiukwTHwu4HE8hUu7ur3bxggwfO0WL+QDI0FtxP3I=";
|
||||
|
||||
# The provider model catalog (packages/ai/src/providers/data/) is generated by
|
||||
# a network fetch (models.dev plus provider APIs) and is gitignored upstream,
|
||||
@@ -31,7 +31,7 @@ buildNpmPackage (finalAttrs: {
|
||||
# under dist/providers/data/. Bump this hash alongside version.
|
||||
modelData = fetchurl {
|
||||
url = "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-${finalAttrs.version}.tgz";
|
||||
hash = "sha256-39PJKc7lpzhxmaCiTfwb4glvHqj1n/uChRmKDtAev5M=";
|
||||
hash = "sha256-RhiL2stVWgdGagER85Y/IJMqFhmeTWz7jUSn/l/G40I=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
@@ -58,12 +58,14 @@ buildNpmPackage (finalAttrs: {
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
npx tsgo -p packages/chord/tsconfig.build.json
|
||||
npx tsgo -p packages/tui/tsconfig.build.json
|
||||
npx tsgo -p packages/telemetry/tsconfig.build.json
|
||||
npx tsgo -p packages/ai/tsconfig.build.json
|
||||
npx tsgo -p packages/agent/tsconfig.build.json
|
||||
npx tsgo -p packages/protocol/tsconfig.build.json
|
||||
npx tsgo -p packages/client/tsconfig.build.json
|
||||
npx tsgo -p packages/server/tsconfig.build.json
|
||||
npm run build --workspace=packages/coding-agent
|
||||
|
||||
runHook postBuild
|
||||
@@ -82,7 +84,8 @@ buildNpmPackage (finalAttrs: {
|
||||
local nm="$out/lib/node_modules/pi-monorepo/node_modules"
|
||||
|
||||
# Replace workspace deps needed at runtime with real copies
|
||||
for ws in @earendil-works/pi-ai:packages/ai \
|
||||
for ws in @earendil-works/chord:packages/chord \
|
||||
@earendil-works/pi-ai:packages/ai \
|
||||
@earendil-works/pi-agent-core:packages/agent \
|
||||
@earendil-works/pi-client:packages/client \
|
||||
@earendil-works/pi-protocol:packages/protocol \
|
||||
|
||||
Reference in New Issue
Block a user