diff --git a/flake.lock b/flake.lock index 41c91db..78dc837 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1791484883, - "narHash": "sha256-iKxFHJrg7Sltwhq3ssCZYQ4CFEDVvReVVuVuO9dj3sE=", + "lastModified": 1791642191, + "narHash": "sha256-0bK0A59rVUn1SRZzo4cNi4VSqAe7vR1gL2/MZl53Frw=", "owner": "nix-community", "repo": "home-manager", - "rev": "dfadbe5162d5e86bc0808badec8f346f81b4b3f0", + "rev": "c58f54c733a7894d84fa2fdff26cc12088c4b78c", "type": "github" }, "original": { @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1791105314, - "narHash": "sha256-oTM7QFgRQ+vxBpMBMc7hEYpqBtpXAzXu2xuB/tru84U=", + "lastModified": 1791711434, + "narHash": "sha256-LpIhxnuO0tYeZ4k7BbNMxsPs2zJpB4hWXO1jdhUuE7Q=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "e740bc4e9d8918d7819a51486d5099930c65c72e", + "rev": "9a2dd40780eeab8543aa97c59c26f11267025616", "type": "github" }, "original": { @@ -43,11 +43,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1791456040, - "narHash": "sha256-H83yz/do+hjOO0uujHyH8RgtIQP2v7Mw+cLwcZK/xKc=", + "lastModified": 1791734076, + "narHash": "sha256-i5qk1kLiit98rRbh1AXmWBNT9QXC/y4l5Wk/u5EdpDQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e7439b6b14ad3cc35d05608ebca9bce01a25f5f8", + "rev": "7fd4004d0511991fff3a0524856a9be09e28c5f0", "type": "github" }, "original": { diff --git a/home.org b/home.org index b03db75..412115c 100644 --- a/home.org +++ b/home.org @@ -835,6 +835,7 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f }); bindKeyMap."C-c c" = "claude-code-command-map"; custom.claude-code-optimize-window-resize = false; + custom.claude-code-terminal-backend = "'ghostel"; }; gptel = { @@ -905,36 +906,35 @@ Actually, nix *really* requires ~bash~. This is a plugin that allows using zsh f #+BEGIN_SRC elisp :tangle no :noweb-ref emacs-gptel-agent-config (require 'gptel-agent-tools-introspection) (gptel-agent-update) - (gptel-make-preset 'coding - :description "Preset for agentic coding" + + (gptel-make-preset 'conversation + :description "Preset with no tools, just for conversing" :backend "Claude" :model 'claude-sonnet-5 - :use-tools t :max-tokens 128000 - :tools '("Grep" "Read" "Glob" "Write" "Insert" - "Edit" "Mkdir" "Diagnostics" "WebFetch" "WebSearch" "Bash" "git_uncommitted_diff" "git_head_commit_diff" - "git_branch_diff")) + :cache t) + (gptel-make-preset 'research :description "Preset for answering questions with web results" - :backend "Claude" - :model 'claude-sonnet-5 - :use-tools t - :max-tokens 128000 + :parents 'conversation :confirm-tool-calls nil :tools '("WebFetch" "WebSearch")) + (gptel-make-preset 'emacs-research :description "Preset for answering questions about the live emacs instance" - :backend "Claude" - :model 'claude-sonnet-5 - :use-tools t - :max-tokens 128000 - :confirm-tool-calls nil - :tools '("WebFetch" "WebSearch" - "variable_completions" "command_completions" "function_completions" + :parents 'research + :tools '(:append ("variable_completions" "command_completions" "function_completions" "variable_documentation" "function_documentation" "variable_value" "variable_source" "function_source" "symbol_manual_section" "library_source" "manual_node_contents" "manual_nodes" "manual_names" - "features" "load_paths" "symbol_exists")) + "features" "load_paths" "symbol_exists"))) + + (gptel-make-preset 'coding + :description "Preset for agentic coding" + :parents 'research + :tools '(:append ("Grep" "Read" "Glob" "Write" "Insert" + "Edit" "Mkdir" "Diagnostics" "Bash" "git_uncommitted_diff" "git_head_commit_diff" + "git_branch_diff"))) #+END_SRC ** Age @@ -2562,10 +2562,10 @@ And finally, we want to hide the cursor when presenting. #+BEGIN_SRC nix { programs.emacs.init.usePackage = { - eat = { + ghostel = { enable = true; - command = ["eat"]; - hook = ["(eshell-load . eat-eshell-mode)"]; + command = ["ghostel"]; + hook = ["(eshell-load . ghostel-eshell-visual-command-mode)"]; }; }; }