From 550326b1163ce8a954bb54e1a937cb1edc295a22 Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Thu, 14 May 2026 08:27:15 +0200 Subject: [PATCH] pi-coding-agent: 0.73.0 -> 0.75.3 and change source repo The old repo ([badlogic/pi-mono](https://github.com/badlogic/pi-mono/)) now redirects to [earendil-works/pi](https://github.com/earendil-works/pi). Similarly, the npm package was moved to the earendil-works organization, but only from version 0.74.0 onwards. Therefore, I bumped the version in this PR as well. --- pkgs/by-name/pi/pi-coding-agent/package.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/pi/pi-coding-agent/package.nix b/pkgs/by-name/pi/pi-coding-agent/package.nix index 7a1374f3f89a..8bb0ba45dd77 100644 --- a/pkgs/by-name/pi/pi-coding-agent/package.nix +++ b/pkgs/by-name/pi/pi-coding-agent/package.nix @@ -10,16 +10,16 @@ }: buildNpmPackage (finalAttrs: { pname = "pi-coding-agent"; - version = "0.73.0"; + version = "0.75.3"; src = fetchFromGitHub { - owner = "badlogic"; - repo = "pi-mono"; + owner = "earendil-works"; + repo = "pi"; tag = "v${finalAttrs.version}"; - hash = "sha256-oE4zMH5KEH185Vdp0CE221sa9rJJw35jFLlfhTa3Sg4="; + hash = "sha256-c/+cxkp/EZ2PLERxTENN5edXHEs7M2oqzNepjRA4TIE="; }; - npmDepsHash = "sha256-rBlAzAnP9aif1tZ984AO4HftIJsDgLQ+02J3td4jcRg="; + npmDepsHash = "sha256-/mWjrZFzRmtkbWYMJOXKnLPxFITFndq5hgdY0DnPfAg="; npmWorkspace = "packages/coding-agent"; @@ -52,9 +52,9 @@ buildNpmPackage (finalAttrs: { local nm="$out/lib/node_modules/pi-monorepo/node_modules" # Replace workspace deps needed at runtime with real copies - for ws in @mariozechner/pi-ai:packages/ai \ - @mariozechner/pi-agent-core:packages/agent \ - @mariozechner/pi-tui:packages/tui; do + for ws in @earendil-works/pi-ai:packages/ai \ + @earendil-works/pi-agent-core:packages/agent \ + @earendil-works/pi-tui:packages/tui; do IFS=: read -r pkg src <<< "$ws" rm "$nm/$pkg" cp -r "$src" "$nm/$pkg" @@ -82,8 +82,8 @@ buildNpmPackage (finalAttrs: { meta = { description = "Coding agent CLI with read, bash, edit, write tools and session management"; homepage = "https://pi.dev/"; - downloadPage = "https://www.npmjs.com/package/@mariozechner/pi-coding-agent"; - changelog = "https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md"; + downloadPage = "https://www.npmjs.com/package/@earendil-works/pi-coding-agent"; + changelog = "https://github.com/earendil-works/pi/blob/main/packages/coding-agent/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ munksgaard ]; mainProgram = "pi";