diff --git a/.gitignore b/.gitignore index f6b6248bb..109f58f0d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .obsidian/ +OME/.local \ No newline at end of file diff --git a/Makefile b/Makefile index fb1b0abee..a6c77fa31 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ NC := \033[0m PATH := $(HOME)/.local/bin:/usr/local/bin:/opt/homebrew/bin:$(PATH) VERSION ?= 0.2.0 -NPM ?= mise exec -- npm +NPM ?= mise exec -- env npm_config_prefix=$(HOME)/.local npm CLAUDE ?= mise exec -- claude SKILLS_NPX ?= mise exec -- npx SKILLS ?= $(SKILLS_NPX) skills @@ -99,8 +99,14 @@ agents-cli: @if command -v ccbox >/dev/null 2>&1; then \ echo "Install ccbox - already exists"; \ elif command -v brew >/dev/null 2>&1; then \ - brew tap diskd-ai/ccbox && brew install ccbox; \ - echo "Install ccbox - installed via brew"; \ + if brew tap diskd-ai/ccbox && brew install ccbox; then \ + echo "Install ccbox - installed via brew"; \ + elif command -v curl >/dev/null 2>&1; then \ + curl -fsSL -H 'Cache-Control: no-cache' -o - https://raw.githubusercontent.com/diskd-ai/ccbox/main/scripts/install.sh | /bin/bash; \ + echo "Install ccbox - installed via script (brew failed)"; \ + else \ + echo "⚠️ ccbox: brew install failed and curl is unavailable"; \ + fi; \ elif command -v curl >/dev/null 2>&1; then \ curl -fsSL -H 'Cache-Control: no-cache' -o - https://raw.githubusercontent.com/diskd-ai/ccbox/main/scripts/install.sh | /bin/bash; \ echo "Install ccbox - installed via script"; \