aboutsummaryrefslogtreecommitdiffstats
path: root/home/goose.nix
blob: a2778660efccb65ff2b6c2649e366254f0535ba4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{ config, pkgs, ... }:
{
  xdg.configFile."goose/config.yaml".source = (pkgs.formats.yaml { }).generate "goose-config" {
    GOOSE_DISABLE_KEYRING = "true";
    GOOSE_MODE = "auto";
    GOOSE_MODEL = "gpt-4.1-mini";
    GOOSE_PROVIDER = "openai";
    GOOSE_TOOLSHIM = true;
    OPENAI_BASE_PATH = "v1/chat/completions";
    OPENAI_HOST = "https://api.openai.com";
    keyring = false;
    extensions = {
      developer = {
        available_tools = [ ];
        bundled = true;
        description = null;
        display_name = "Developer";
        enabled = true;
        name = "developer";
        timeout = 300;
        type = "builtin";
      };
      computercontroller = {
        bundled = true;
        display_name = "Computer Controller";
        enabled = true;
        name = "computercontroller";
        timeout = 300;
        type = "builtin";
      };
      memory = {
        available_tools = [ ];
        bundled = true;
        description = "Tools to save and retrieve durable memories";
        display_name = "Memory";
        enabled = true;
        name = "memory";
        timeout = 80;
        type = "builtin";
      };
      todo = {
        available_tools = [ ];
        bundled = true;
        description = "Enable a todo list for Goose so it can keep track of what it is doing";
        enabled = true;
        name = "todo";
        type = "platform";
      };
      chatrecall = {
        available_tools = [ ];
        bundled = true;
        description = "Search past conversations and load session summaries for contextual memory";
        enabled = true;
        name = "chatrecall";
        type = "platform";
      };
      extensionmanager = {
        available_tools = [ ];
        bundled = true;
        description = "Enable extension management tools for discovering, enabling, and disabling extensions";
        enabled = true;
        name = "Extension Manager";
        type = "platform";
      };
      autovisualiser = {
        available_tools = [ ];
        bundled = true;
        description = "Data visualisation and UI generation tools";
        display_name = "Auto Visualiser";
        enabled = true;
        name = "autovisualiser";
        timeout = 300;
        type = "builtin";
      };
    };
  };
}