general clean up of nbot

This commit is contained in:
ari committed 2026-11-15 15:15:01 -05:00
1 parent d7bd46c0cd
commit 5881b9c8be
5 files changed
+8 -47

No files matched your search

+1 -40
View File
@@ -29,53 +29,14 @@ let
# Goose settings sent to every container (also on fws1).
# Values come from the nbot-goose secret.
agent_env = {
GOOSE_PROVIDER = "$GOOSE_PROVIDER";
GOOSE_MODEL = "$GOOSE_MODEL";
OPENROUTER_API_KEY = "$OPENROUTER_API_KEY";
CLAUDE_CODE_OAUTH_TOKEN = "$CLAUDE_CODE_OAUTH_TOKEN";
COMMAND_CODE_API_KEY = "$COMMAND_CODE_API_KEY";
GH_TOKEN = "$GH_TOKEN";
DIAGNIX_KEY = "$DIAGNIX_KEY"; # base64 private key for lab-ssh (diagnix)
# Shared Go caches, mounted by rw_binds on each node.
DIAGNIX_KEY = "$DIAGNIX_KEY";
GOMODCACHE = "/var/cache/go/mod";
GOCACHE = "/var/cache/go/build";
};
model_providers = [
# {
# id = "claude-acp";
# name = "Claude ACP (Ari Credentials)";
# key_env = "CLAUDE_CODE_OAUTH_TOKEN";
# models = [ "default" "sonnet" "haiku" "opus" ];
# users = [ "U0CBGSS4U6A" ];
# }
{
id = "claude-oauth";
name = "Claude OAuth";
personal = true;
upstream = "https://api.anthropic.com";
engine = "claude-code";
login = "claude";
models = [ "default" "opus" "sonnet" "haiku" "fable" ];
}
# {
# id = "codex";
# name = "Codex (OpenAI API key)";
# personal = true;
# upstream = "https://api.openai.com";
# engine = "openai";
# auth = "bearer";
# models = [ "gpt-6.1-codex" "gpt-6.1" ];
# }
# {
# id = "xai";
# name = "Grok";
# personal = true;
# upstream = "https://api.x.ai";
# engine = "openai";
# auth = "bearer";
# models = [ "grok-4" ];
# }
{
id = "custom_commandcode";
name = "Command Code";
+3 -3
View File
@@ -13,17 +13,17 @@
rustPlatform.buildRustPackage rec {
pname = "buzz-cli";
version = "0.5.28";
version = "0.5.30";
src = fetchFromGitHub {
owner = "block";
repo = "buzz";
rev = "desktop-v${version}";
hash = "sha256-NEsLQwcoQ2zTgznFgGFGNgYPnoclicNVycSEjl7I0Wo=";
hash = "sha256-Ay6zUeHHYO92/Fs4FGHm1+QQUoUEQjYyOC3dDg5+7Ss=";
};
# The workspace has git deps in [patch.crates-io]; cargoHash covers them.
cargoHash = "sha256-UQ8qNqoeDwkwhmVZebi++gb2GP61dr1Zv2QU9mJ6KJ8=";
cargoHash = lib.fakeHash;
# Only this crate; the workspace has 30+ others (relay, db, ...).
cargoBuildFlags = [ "-p" "buzz-cli" ];
+2 -2
View File
@@ -23,11 +23,11 @@
let
pname = "buzz-desktop";
version = "0.5.28";
version = "0.5.30";
src = fetchurl {
url = "https://github.com/block/buzz/releases/download/desktop-v${version}/Buzz_${version}_amd64.AppImage";
hash = "sha256-YCI6wn2HQiJqC149teH5dEGyZ/9jq7kFeTsz/mVoh0w=";
hash = "sha256-AAZc110TQPDucGamgOUgimlXw4mjquzBgvTwc6oWzZo=";
};
extracted = appimageTools.extractType2 {
+2 -2
View File
@@ -29,7 +29,7 @@
let
pname = "delta-editor";
version = "0.26.0";
version = "0.26.1";
apiUrl = "https://delta.dev/api/releases/nightly/${version}/asset?asset=delta&os=linux&arch=x86_64";
@@ -38,7 +38,7 @@ let
inherit version;
outputHashMode = "flat";
outputHash = "sha256-TnxHgLi+BqoAAWlaszfdZalH/JF5b1TJWB5hj5fNjMM=";
outputHash = "sha256-5JFdgf0wPtt9Wb6/9EYPj6i+wmDeFKZ0EYfQQ3T5Ym4=";
nativeBuildInputs = [ curl jq cacert ];
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
Binary file not shown.