Commit e43717e23608

Vincent Demeester <vincent@sbr.pm>
2026-02-16 16:56:19
Move XMPP research bot from aomi to okinawa (daneel)
Replace old Python XMPP research bot with Daneel (TypeScript/Pi AI): - Add daneel flake input from kerkouane.vpn - Add daneel NixOS module to okinawa - Add XMPP password secret for okinawa - Remove old xmpp-research-bot from aomi Daneel features: - Multi-model support (Gemini, Claude, GPT via Pi AI) - Autonomous tool calling (web search, research, status) - Web search via ddgr - Research synthesis with LLM - Model switching with prefixes (g:, opus:, gpt:)
1 parent 2befbb2
Changed files (4)
secrets/okinawa/xmpp-research-bot-password.age
@@ -0,0 +1,9 @@
+age-encryption.org/v1
+-> piv-p256 ItIHHA Ajq+S43Cc0XZZaluoCeZrFoS7HOQN3/RC2bPiR7lMTrV
+eDl1vduveHG4Jom2zPAZt92xC68Cx1Nsh96ZmeRwr78
+-> piv-p256 cUinNw A3ChtGPMsY2Rf63XZ5SE/9dfFHOvtxfyMD1tIKCWE3+d
+l/GarsxGhrtRUq4RVavm76y8ZCAQJPQ+h5IQ9/nKI/g
+-> ssh-ed25519 3Z+PEA IoXU90fsIxrOlVWEEiCRWmUm61w9Hlkr85hO1VZKUzk
+varTB5c3J7hFuWDogZUoO17/2P7BKIFAwnF3LBoMACw
+--- 6Jdg7F2qLSG6NrD0IT8R6tsjyJ7S1DRvViN4l1ORlUs
+Y�󯃱�
�p`zn�J�(�j(4�I���+^_I&�Rۯ�)�2��
\ No newline at end of file
systems/aomi/extra.nix
@@ -38,9 +38,6 @@
     # Binary cache
     ../../modules/harmonia
 
-    # XMPP Research Bot
-    ../../modules/xmpp-research-bot
-
     # Automated flake updates
     ../../modules/nix-flake-updater
   ];
@@ -81,12 +78,6 @@
     owner = "root";
     group = "root";
   };
-  age.secrets."xmpp-research-bot-password" = {
-    file = ../../secrets/aomi/xmpp-research-bot-password.age;
-    mode = "400";
-    owner = "vincent";
-    group = "users";
-  };
   age.secrets."gemini-api-key" = {
     file = ../../secrets/aomi/gemini-api-key.age;
     mode = "400";
@@ -129,20 +120,7 @@
     defaultTopic = "builds";
   };
 
-  # XMPP Research Bot (uses Vertex AI for Claude, direct API for Gemini)
-  services.xmpp-research-bot = {
-    enable = true;
-    jid = "researchbot@xmpp.sbr.pm";
-    ownerJid = "vincent@xmpp.sbr.pm";
-    passwordFile = config.age.secrets."xmpp-research-bot-password".path;
-    geminiApiKeyFile = config.age.secrets."gemini-api-key".path;
-    vertexProjectId = "itpc-gcp-pnd-pe-eng-claude";
-    vertexRegion = "us-east5";
-    inboxPath = "/home/vincent/desktop/org/inbox.org";
-    commandsPath = "/home/vincent/.config/xmpp-research-bot/commands.yaml";
-    user = "vincent";
-    group = "users";
-  };
+  # XMPP Research Bot moved to okinawa (daneel)
 
   # Automated flake.lock updates with build verification
   services.nix-flake-updater = {
flake.lock
@@ -212,6 +212,26 @@
         "type": "github"
       }
     },
+    "daneel": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1771256182,
+        "narHash": "sha256-Iqtkw47Xa57CZqSdpioD14dB3ZE271M9YWCirGYey7w=",
+        "ref": "refs/heads/main",
+        "rev": "26770a0a7b8ed28d339a53e4332a1c587e85b40b",
+        "revCount": 22,
+        "type": "git",
+        "url": "ssh://kerkouane.vpn/home/vincent/git/public/daneel.git"
+      },
+      "original": {
+        "type": "git",
+        "url": "ssh://kerkouane.vpn/home/vincent/git/public/daneel.git"
+      }
+    },
     "darwin": {
       "inputs": {
         "nixpkgs": [
@@ -986,6 +1006,7 @@
         "chick-group": "chick-group",
         "copilot-cli": "copilot-cli",
         "dagger": "dagger",
+        "daneel": "daneel",
         "disko": "disko",
         "dns": "dns",
         "emacs-overlay": "emacs-overlay",
flake.nix
@@ -423,5 +423,8 @@
 
     voxtype.url = "github:peteonrails/voxtype/main";
     voxtype.inputs.nixpkgs.follows = "nixpkgs";
+
+    daneel.url = "git+ssh://kerkouane.vpn/home/vincent/git/public/daneel.git";
+    daneel.inputs.nixpkgs.follows = "nixpkgs";
   };
 }