Remove agent-shell
All checks were successful
/ Test config on 20 (push) Successful in 23s

This commit is contained in:
Maciej 2026-07-13 14:37:57 +03:00
parent ff0abe9f2e
commit 6f45c9de2e
Signed by: maciej
GPG key ID: 28243AF437E32F99
3 changed files with 2 additions and 36 deletions

View file

@ -1,33 +0,0 @@
;;; icejam-agent-shell.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;;; Agent stuff
;;; Code:
(declare-function agent-shell-make-environment-variables 'agent-shell)
(defvar icejam-variables-to-load-in-agent-shell '())
(use-package agent-shell
:ensure t
;; Install this only on MacOS. On Linux you want to do it manually.
:if (eq system-type 'darwin)
:ensure-system-package
((claude-agent-acp . "npm install -g @zed-industries/claude-agent-acp"))
:config
(setopt agent-shell-anthropic-claude-environment
(agent-shell-make-environment-variables :inherit-env t))
(setopt agent-shell-opencode-environment
(apply #'agent-shell-make-environment-variables
:inherit-env t
icejam-variables-to-load-in-agent-shell))
(setopt
agent-shell-opencode-default-model-id
"google-vertex-anthropic/claude-sonnet-4-6@default"))
(provide 'icejam-agent-shell)
;;; icejam-agent-shell.el ends here

View file

@ -119,7 +119,6 @@
(use-package icejam-transient :ensure nil)
(use-package icejam-prog-mode :ensure nil)
(use-package icejam-complete-at-point :ensure nil)
(use-package icejam-agent-shell :ensure nil)
(use-package icejam-flycheck :ensure nil)
(use-package icejam-ispell :ensure nil)
(use-package icejam-deft :ensure nil)

View file

@ -25,7 +25,7 @@
;; (defconst icejam-font "Victor Mono Medium" "Default font.")
;; (defconst icejam-font "Iosevka Term" "Default font.")
(defconst icejam-default-font-family "Iosevka Term" "Default font.")
(defconst icejam-default-font-family "Iosevka" "Default font.")
(defconst icejam-variable-font-family "Lexica Ultralegible"
"Variable pitch font.")
(defconst icejam-markdown-font-family "Iosevka Comfy Motion"
@ -111,7 +111,7 @@ two points smaller."
(when (x-display-list)
(let* ((pixel-height (x-display-pixel-height))
(adjustment (cond
((>= 1080 pixel-height) 0) ;; Built-in 14" Macbook screen
((>= 1080 pixel-height) 2) ;; Built-in 14" Macbook screen
((>= 1440 pixel-height) 3) ;; 27" screen connected to a Macbook
((>= 2160 pixel-height) -3)))) ;; 4K screen (i.e Linux)
(when adjustment