diff --git a/.bashrc b/.bashrc deleted file mode 100644 index ecd2f32..0000000 --- a/.bashrc +++ /dev/null @@ -1,13 +0,0 @@ -# ============================== personal config ============================== - -# mise -eval "$(~/.local/bin/mise activate bash)" - -# go via mise -export PATH="$HOME/go/bin:$PATH" - -# eza ls replacement -alias ll="eza -al --group-directories-first --icons --git --color=auto --long --header --classify" - -# bat cat replacement -alias cat='bat' diff --git a/.gitconfig b/.gitconfig index 43dd801..3ffbfb6 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,7 +1,7 @@ [user] name = daniel daum email = daniel@danieldaum.net - signingkey = /Users/daniel/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/PublicKeys/d3b848b40c1cb5e70d1d6e3e2c9aa4ea.pub + signingkey = key::ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKvRA33MsfQeiOntCSFFsgkTxF988KkwGKC1u7S6o8o0Mfji4gDfJE3waDSyo9UWKsiFnB4bNXFM31L+HHxNCxY= [commit] gpgsign = true [tag] @@ -43,9 +43,6 @@ navigate = true dark = true -[merge] - conflictStyle = zdiff3 - [diff] tool = difftastic diff --git a/Brewfile b/Brewfile index 642fc2d..988ec17 100644 --- a/Brewfile +++ b/Brewfile @@ -1,18 +1,17 @@ -tap "bnimit/tap", trusted: true # Plugin manager for zsh, inspired by antigen and antibody brew "antidote" # Clone of cat(1) with syntax highlighting and Git integration brew "bat" +# Diff that understands syntax +brew "difftastic" # Modern, maintained replacement for ls brew "eza" +# Syntax-highlighting pager for git and diff output +brew "git-delta" # Mac App Store command-line interface brew "mas" # Polyglot runtime manager (asdf rust clone) brew "mise" -# Open-source, cross-platform JavaScript runtime environment -brew "node" -# Library to create, extract, and modify Windows Imaging files -brew "wimlib" # Enable Windows-like alt-tab cask "alt-tab" # Local-first and end-to-end encrypted notes app @@ -27,6 +26,8 @@ cask "bruno" cask "calibre" # Anthropic's official Claude AI desktop app cask "claude" +# Multi-platform client-side cloud file encryption tool +cask "cryptomator" # Voice and text chat software cask "discord" # Downloads videos from different websites @@ -34,6 +35,8 @@ cask "downie" cask "font-ioskeley-mono" # 2D and 3D game engine cask "godot" +# Tools to protect your emails and files +cask "gpg-suite" # Homebrew's official GUI cask "homebrew-app" # Host-based application firewall @@ -50,10 +53,16 @@ cask "macusb" cask "mole-app" # VPN client cask "mullvad-vpn" +# Markdown-based note-taking app +cask "octarine" +# Android file transfer +cask "openmtp" # Replacement for Docker Desktop cask "orbstack" # Converts and edits video, audio or image files cask "permute" +# Client for Proton Drive +cask "proton-drive" # Client for Proton Mail and Proton Calendar cask "proton-mail" # Desktop client for Proton Pass @@ -62,6 +71,8 @@ cask "proton-pass" cask "raycast" # Move and resize windows using keyboard shortcuts or snap areas cask "rectangle" +# Client for Old School RuneScape +cask "runelite" # Store SSH keys in the Secure Enclave cask "secretive" # Video game digital distribution service @@ -72,6 +83,8 @@ cask "tailscale-app" cask "typora" # Rust-based terminal cask "warp" +# Full-featured companion app to the YubiKey +cask "yubico-authenticator" # Multiplayer code editor cask "zed" mas "Brother iPrint&Scan", id: 1193539993 diff --git a/mustafar.txt b/mustafar.txt index a0b4e4e..179e6ee 100644 --- a/mustafar.txt +++ b/mustafar.txt @@ -1,37 +1,55 @@ -============================= +============================== +0. create isolated vm with mounted project directory +============================== +orb create --isolated --forward-ssh-agent \ + --mount /Users/daniel/starforge:/home/daniel/starforge \ + ubuntu:resolute MACHINE_NAME --isolate-network + +============================== 1. add standard packages ============================== sudo apt update sudo apt modernize-sources -sudo apt install -y nano vim-tiny less software-properties-common ca-certificates curl gnupg wget xz-utils git +sudo apt install -y nano vim-tiny less software-properties-common ca-certificates curl gnupg wget xz-utils unzip git build-essential passt bubblewrap sudo apt update ============================== 2. install mise & configure ============================== curl https://mise.run | sh -echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc ============================== 3. install global mise dependencies ============================== -mise use -g bat delta difftastic eza helix jj jq ripgrep +~/.local/bin/mise use -g bat delta difftastic eza helix jj jq ripgrep zoxide fd pi node ============================== 4. edit ~/.bashrc ============================== +# ========================= personal config ========================= # mise eval "$(~/.local/bin/mise activate bash)" # go via mise export PATH="$HOME/go/bin:$PATH" +# helix as default editor +export EDITOR=hx +export VISUAL=hx + +# zoxide cd replacement +eval "$(zoxide init bash)" + # eza ls replacement alias ll="eza -al --group-directories-first --icons --git --color=auto --long --header --classify" # bat cat replacement alias cat='bat' - - - +============================== +5. install drop +============================== +ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/') +curl -o /tmp/drop -L "https://github.com/wrr/drop/releases/latest/download/drop-linux-$ARCH" +install /tmp/drop ~/.local/bin/ +rm /tmp/drop diff --git a/pi_agent.txt b/pi_agent.txt new file mode 100644 index 0000000..d6b7dc5 --- /dev/null +++ b/pi_agent.txt @@ -0,0 +1,107 @@ +============================== +1. install drop +============================== +sudo apt install -y passt +ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/') +curl -o /tmp/drop -L "https://github.com/wrr/drop/releases/latest/download/drop-linux-$ARCH" +mkdir -p ~/.local/bin +install /tmp/drop ~/.local/bin/ +rm /tmp/drop +source ~/.profile + +# check (should print root) +unshare --user --map-root-user whoami + +============================== +2. install pi + node via mise +============================== +mise use -g pi@latest +mise use -g node@lts + +============================== +3. install extensions (outside drop) +============================== +pi install npm:pi-lens +pi install npm:@juicesharp/rpiv-todo +pi install npm:@juicesharp/rpiv-ask-user-question +pi install npm:pi-subagents +pi install npm:context-mode + +============================== +4. lm studio provider +============================== +hx ~/.pi/agent/models.json + +{ + "providers": { + "lmstudio": { + "baseUrl": "http://host.orb.internal:1234/v1", + "api": "openai-completions", + "apiKey": "lm-studio", + "compat": { + "supportsDeveloperRole": false + }, + "models": [ + { + "id": "qwen3.6-35b-a3b-splash", + "name": "Qwen3.6 35B A3B", + "input": ["text", "image"], + "contextWindow": 262144, + "reasoning": false + }, + { + "id": "swift-1.5-qwen3.8-27b-splash", + "name": "Swift 1.5 Qwen3.8 27B", + "input": ["text", "image"], + "contextWindow": 262144, + "reasoning": false + } + ] + } + } +} + +============================== +5. default model +============================== +hx ~/.pi/agent/settings.json + +# add (don't replace the file): +"defaultProvider": "lmstudio", +"defaultModel": "swift-1.5-qwen3.8-27b-splash" + +============================== +6. drop base config +============================== +drop edit base + +# add to mounts = [ ... ] + "~/.local/share/mise", + "~/.config/mise", + "~/.pi::rw", + +============================== +7. edit ~/.bashrc mise line +============================== +# replace: +eval "$(~/.local/bin/mise activate bash)" +# with: +[ -x ~/.local/bin/mise ] && eval "$(~/.local/bin/mise activate bash)" + +============================== +8. run pi in a project +============================== +cd ~/starforge/PROJECT +drop init +drop run pi + +# checks inside pi +/model +/todos +# ask pi to run: ls ~/.ssh / touch .git/x (both should fail) + +============================== +9. zed terminal thread +============================== +# settings > terminal thread init command +drop run pi diff --git a/ssh.config b/ssh.config index 7733157..d837834 100644 --- a/ssh.config +++ b/ssh.config @@ -6,6 +6,12 @@ Include ~/.orbstack/ssh/config Host * IdentityAgent /Users/daniel/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh +# git remote example: git remote set-url origin git@git.danieldaum.net:daniel-daum/saturn.git +Host git.danieldaum.net + HostName git-ssh.danieldaum.net + Port 2222 + User git + Host dxun HostName dxun.ts.danieldaum.net User maliciouspickle diff --git a/zed.settings.json b/zed.settings.json index b03c327..4d19b4b 100644 --- a/zed.settings.json +++ b/zed.settings.json @@ -10,6 +10,11 @@ // ====================== // LLM AGENT // ====================== + "edit_predictions": { + "mode": "eager", + "allow_data_collection": "no" + }, + "cli_default_open_behavior": "new_window", "diff_view_style": "split", "language_models": { "openai_compatible": { @@ -28,8 +33,8 @@ } }, { - "name": "swift-qwen3.8-27b-splash", - "display_name": "Qwen3.8 27B", + "name": "swift-1.5-qwen3.8-27b-splash", + "display_name": "Swift 1.5 Qwen3.8 27B", "max_tokens": 262144, "capabilities": { "tools": true, @@ -43,16 +48,22 @@ } }, "agent": { + "threads_sidebar": { + "position": "right" + }, + "thinking_display": "preview", + "single_file_review": true, + "terminal_init_command": "", + "show_turn_stats": true, "default_model": { "provider": "lmstudio-local", - "model": "swift-qwen3.8-27b-splash", + "model": "qwen3.6-35b-a3b-splash", "enable_thinking": false }, "default_profile": "ask", "notify_when_agent_waiting": "all_screens", "play_sound_when_agent_done": "always", - "dock": "right", - "sidebar_side": "right" + "dock": "right" }, // ====================== // PERSONAL ZED SETTINGS @@ -70,6 +81,14 @@ "format_on_save": "on", "soft_wrap": "editor_width", "colorize_brackets": true, + + "git_hosting_providers": [ + { + "provider": "gitea", + "name": "My Gitea", + "base_url": "https://git.danieldaum.net" + } + ], // ====================== // SSH // ====================== @@ -80,13 +99,10 @@ "args": ["-A"], "projects": [ { - "paths": ["/home/daniel/Starforge/dotfiles"] + "paths": ["/home/daniel/starforge/dotfiles"] }, { "paths": ["/home/daniel/starforge/holonet"] - }, - { - "paths": ["/home/daniel/starforge/saturn"] } ], "nickname": "Mustafar" @@ -115,7 +131,7 @@ // THEME & VISUAL CONFIG // ====================== "theme": { - "mode": "dark", + "mode": "system", "light": "One Light", "dark": "Warp One Dark" }, @@ -128,8 +144,8 @@ "buffer_font_size": 15, "icon_theme": { - "mode": "dark", - "light": "Zed (Default)", + "mode": "system", + "light": "Material Icon Theme", "dark": "Material Icon Theme" }, @@ -162,5 +178,12 @@ "diagnostics": false, "metrics": false, "anthropic_retention": false + }, + // ====================== + // DEVELOPMENTAL - FEATURE FLAGS + // ====================== + "feature_flags": { + "tabular-data-preview": "on", + "notebooks": "on" } }