Commit c18a67d4cc77

Vincent Demeester <vincent@sbr.pm>
2026-03-10 14:15:33
feat: add agent-shell pi integration via MELPA
Switched agent-shell and acp from local git checkouts to Nix-managed MELPA packages. Added agent-shell-pi config with Vertex AI env vars. Installed pi-acp from chick-group overlay and updated flake input. Added shell-maker and acp as explicit Emacs packages.
1 parent 4845e98
Changed files (5)
dots
config
emacs
home
common
systems
kyushu
dots/config/emacs/init.el
@@ -2927,11 +2927,10 @@ the appropriate file in ~/.local/share/imapfilter-rules/"
   )
 
 (use-package acp
-  :load-path "/home/vincent/src/github.com/xenodium/acp.el/")
+  :defer t)
 
 (use-package agent-shell
   :commands (agent-shell agent-shell-toggle)
-  :load-path "/home/vincent/src/github.com/xenodium/agent-shell/"
   :init
   (declare-function agent-shell-google-make-authentication "agent-shell")
   (declare-function agent-shell-make-environment-variables "agent-shell")
@@ -2944,6 +2943,16 @@ the appropriate file in ~/.local/share/imapfilter-rules/"
 	 "CLOUD_ML_REGION" "us-east5"
 	 "ANTHROPIC_VERTEX_PROJECT_ID" "itpc-gcp-pnd-pe-eng-claude")))
 
+(use-package agent-shell-pi
+  :after agent-shell
+  :defer t
+  :config
+  (setq agent-shell-pi-environment
+	(agent-shell-make-environment-variables
+	 "GOOGLE_CLOUD_PROJECT" "itpc-gcp-pnd-pe-eng-claude"
+	 "GOOGLE_CLOUD_LOCATION" "us-east5"
+	 "GEMINI_API_KEY" (passage-get "redhat/google/osp/vdeemest-api-key"))))
+
 (use-package phscroll
   :defer t)
 
home/common/dev/emacs.nix
@@ -19,6 +19,7 @@ let
   myExtraPackages =
     epkgs: with epkgs; [
       ace-window
+      acp
       adoc-mode
       age
       agent-shell
@@ -32,6 +33,7 @@ let
       casual
       casual-avy
       chatgpt-shell
+      shell-maker
       consult
       consult-dir
       consult-denote
systems/kyushu/home.nix
@@ -79,6 +79,7 @@ in
 
     slackdump
     tekton-lsp
+    pi-acp
   ];
 
   # Automatic color scheme switching
.gitignore
@@ -31,3 +31,4 @@ hardware-configuration.nix
 .claude/skills/
 node_modules/
 
+/.agent-shell/
flake.lock
@@ -128,11 +128,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1773107340,
-        "narHash": "sha256-Cp0/mZLJoipD5BjAG85LvRMzX0bybErzJ6RrlcXu6zg=",
+        "lastModified": 1773148042,
+        "narHash": "sha256-qxkQAMld1XwpAUg1xKiTPVoXCpnzyo95jUSqyTKkpfM=",
         "owner": "vdemeester",
         "repo": "chick-group",
-        "rev": "3c5d06840084daf9c845f8c16a7758caa5897f63",
+        "rev": "caceff3cbdcc26f83825f2b79e718f69b52fd7b9",
         "type": "github"
       },
       "original": {