This change introduces a Windows-only taskbar badge that displays the ahead+behind count as a rendered overlay icon. The UI now updates the badge whenever the repository sync status changes, and the git diff commands are adjusted to avoid external diff/text conversion noise. - Add badge rendering and Tauri command for setting overlay icon - Wire badge updates into the Svelte app based on git status - Update git diff invocations to disable ext-diff/textconv
83 lines
4.6 KiB
JSON
83 lines
4.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(cargo build *)",
|
|
"Bash(npm run *)",
|
|
"Bash(kill %1)",
|
|
"Bash(perl -0pi -e 's/\\\\{line \\\\|\\\\| \" \"\\\\}/{displayLine\\(line\\) || \" \"}/g' src/App.svelte)",
|
|
"Bash(kill 26306)",
|
|
"Bash(convert --version)",
|
|
"Bash(magick /mnt/data/Development/GitLite/src-tauri/icons/icon.ico /mnt/data/Development/GitLite/src-tauri/icons/icon.png)",
|
|
"Bash(magick /mnt/data/Development/GitLite/src-tauri/icons/icon.ico -type TrueColorAlpha -alpha on PNG32:/mnt/data/Development/GitLite/src-tauri/icons/icon.png)",
|
|
"Bash(magick identify *)",
|
|
"Bash(magick -size 512x512 xc:\"rgba\\(70,130,180,255\\)\" PNG32:/mnt/data/Development/GitLite/src-tauri/icons/icon.png)",
|
|
"Bash(pkill -f \"vite --host\")",
|
|
"Bash(pkill -f \"tauri dev\")",
|
|
"Bash(pkill -f \"tauri_git_lite\")",
|
|
"Bash(xargs kill -9)",
|
|
"Bash(grep -qE \"\\(Running \\\\`target|error\\\\[|panicked|terminated\\)\" /tmp/claude-1000/-mnt-data-Development-GitLite/71a8b49f-ac61-4ad9-aaba-dc0219044038/tasks/b4ujhgmdk.output)",
|
|
"Bash(grep -qE \"\\(Running \\\\`target|error\\\\[|panicked|terminated\\)\" /tmp/claude-1000/-mnt-data-Development-GitLite/71a8b49f-ac61-4ad9-aaba-dc0219044038/tasks/bt54rikhh.output)",
|
|
"Bash(grep -qE \"\\(Running \\\\`target|error\\\\[|panicked|terminated\\)\" /tmp/claude-1000/-mnt-data-Development-GitLite/71a8b49f-ac61-4ad9-aaba-dc0219044038/tasks/b7nyub68s.output)",
|
|
"Bash(npm install *)",
|
|
"Bash(cargo check *)",
|
|
"Bash(npx vite *)",
|
|
"Bash(cargo tree *)",
|
|
"Bash(jobs)",
|
|
"Bash(npx svelte-check *)",
|
|
"Bash(git log *)",
|
|
"Bash(xxd)",
|
|
"Bash(python3 -)",
|
|
"Bash(echo \"exit: $?\")",
|
|
"Bash(grep -n \"input,\\\\|select,\\\\|input {\\\\|select {\\\\|.repo-form input\\\\|input:focus\\\\|::placeholder\" src/app.css)",
|
|
"Bash(sudo -n true)",
|
|
"Bash(rustc --version)",
|
|
"Read(//mnt/c/Users/cbr/Desktop/src-tauri/src/**)",
|
|
"Bash(sudo apt install -y libdbus-1-dev pkg-config)",
|
|
"Bash(dpkg -l)",
|
|
"Bash(apt list *)",
|
|
"Bash(cargo search *)",
|
|
"Bash(curl -s \"https://crates.io/api/v1/crates/mistralrs\")",
|
|
"Bash(cargo info *)",
|
|
"WebFetch(domain:raw.githubusercontent.com)",
|
|
"Bash(gh api *)",
|
|
"WebFetch(domain:github.com)",
|
|
"WebFetch(domain:ericlbuehler.github.io)",
|
|
"WebFetch(domain:docs.rs)",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/Qwen/Qwen2.5-1.5B-Instruct-GGUF\")",
|
|
"Bash(python3 -c ' *)",
|
|
"Bash(curl -sI \"https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct-GGUF/resolve/main/qwen2.5-1.5b-instruct-q4_k_m.gguf\")",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/Qwen/Qwen2.5-1.5B-Instruct-GGUF?blobs=true\")",
|
|
"Bash(grep -n 'from \"\\\\./lib/git\"\\\\|from \"\\\\./lib/types\"\\\\|^ commit,$' src/App.svelte)",
|
|
"Bash(kill 24343 24363 24375 24376)",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/Qwen/Qwen2.5-0.5B-Instruct-GGUF?blobs=true\")",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/bartowski/Llama-3.2-3B-Instruct-GGUF?blobs=true\")",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/bartowski/Llama-3.2-3B-Instruct-GGUF\")",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/Qwen/Qwen2.5-3B-Instruct-GGUF\")",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/Qwen/Qwen2.5-3B-Instruct-GGUF?blobs=true\")",
|
|
"Bash(curl -s \"https://huggingface.co/api/models/Qwen/Qwen2.5-3B-Instruct\")",
|
|
"Bash(: *)",
|
|
"Bash(exit 0 *)",
|
|
"Bash(rustc -O sanitize_test.rs -o sanitize_test)",
|
|
"Bash(./sanitize_test)",
|
|
"Bash(echo \"exit:$?\")",
|
|
"Bash(grep -rlP \"[äöüßÄÖÜ]\" src src-tauri/src src-tauri/crates --include=\"*.rs\" --include=\"*.svelte\" --include=\"*.ts\")",
|
|
"Bash(echo \"---exit $?---\")",
|
|
"Bash(apt-cache policy *)",
|
|
"Bash(timeout 5 curl -sI http://archive.ubuntu.com)",
|
|
"Bash(sudo -n apt-get install -y libdbus-1-dev pkg-config)",
|
|
"Bash(grep -n '\"Unerwarteter Git-Log-Eintrag: {}\",' src-tauri/src/git.rs)",
|
|
"Bash(grep -E \"git_lite$|tauri_git_lite$\")",
|
|
"Bash(rustfmt --edition 2024 --check src-tauri/src/git.rs)",
|
|
"Bash(echo \"EXIT:$?\")",
|
|
"Bash(ls target/)",
|
|
"Bash(rustup target *)",
|
|
"Bash(echo \"exit code: $?\")",
|
|
"Read(//home/cbr/.cargo/registry/src/**)",
|
|
"Bash(find / -maxdepth 6 -iname \"mistralrs-*\" -type d)",
|
|
"Bash(grep -A2 '^name = \"tauri\"$' \"/mnt/c/Users/cbr/Desktop/Neuer Ordner \\(6\\)/src-tauri/Cargo.lock\")",
|
|
"Bash(rustfmt --edition 2024 --check src/badge.rs src/main.rs)",
|
|
"Bash(rustfmt --edition 2024 --check src/git.rs)"
|
|
]
|
|
}
|
|
}
|