diff --git a/dot_config/zed/private_settings.json b/dot_config/zed/private_settings.json index 663d9841..0a9a7b8e 100644 --- a/dot_config/zed/private_settings.json +++ b/dot_config/zed/private_settings.json @@ -191,20 +191,20 @@ // ══════════════════════════════════════════════════════════════════════════════ "agent": { "inline_assistant_model": { - "provider": "openrouter", - "model": "anthropic/claude-sonnet-4.5", + "provider": "copilot_chat", + "model": "claude-haiku-4.5", }, "use_modifier_to_send": true, "play_sound_when_agent_done": true, "commit_message_model": { "provider": "copilot_chat", - "model": "gpt-4.1", + "model": "gpt-5-mini", }, "always_allow_tool_actions": true, "enable_feedback": false, "default_model": { - "provider": "openrouter", - "model": "anthropic/claude-sonnet-4.5", + "provider": "copilot_chat", + "model": "claude-opus-4.5", }, }, diff --git a/dot_pi/agent/extensions/uv.ts b/dot_pi/agent/extensions/uv.ts index 8d4eb212..a35957d8 100644 --- a/dot_pi/agent/extensions/uv.ts +++ b/dot_pi/agent/extensions/uv.ts @@ -29,9 +29,10 @@ export default function (pi: ExtensionAPI) { commandPrefix: `export PATH="${interceptedCommandsPath}:$PATH"`, }); - pi.on("session_start", (_event, ctx) => { - ctx.ui.notify("UV interceptor loaded", "info"); - }); + // Uncomment to notify when the extension is loaded + // pi.on("session_start", (_event, ctx) => { + // ctx.ui.notify("UV interceptor loaded", "info"); + // }); pi.registerTool(bashTool); } diff --git a/private_dot_local/bin/executable_update-submodules b/private_dot_local/bin/executable_update-submodules new file mode 100644 index 00000000..f3be217b --- /dev/null +++ b/private_dot_local/bin/executable_update-submodules @@ -0,0 +1,36 @@ +#!/bin/bash +set -e + +# Generic script to update all git submodules to their latest default branch (main/master) + +echo "Starting submodule update..." + +# Use git submodule foreach to iterate through all submodules +git submodule foreach --recursive ' + # Fetch latest references from origin + git fetch origin -q + + # Detect the default branch (HEAD) from the remote + # This handles repositories using "main", "master", or other default branch names + TARGET_BRANCH=$(git remote show origin | grep "HEAD branch" | sed "s/.*: //") + + # Fallback if detection fails (unlikely on standard git servers) + if [ -z "$TARGET_BRANCH" ]; then + echo " Warning: Could not detect HEAD branch for $name. Trying main..." + if git show-ref --verify --quiet refs/remotes/origin/main; then + TARGET_BRANCH="main" + else + TARGET_BRANCH="master" + fi + fi + + echo " Processing $name: Checking out and pulling $TARGET_BRANCH" + + # Checkout the target branch + git checkout "$TARGET_BRANCH" -q + + # Pull the latest changes + git pull origin "$TARGET_BRANCH" -q +' + +echo "All submodules updated successfully."