From 4cf03a6c8c0b604cda769981e523e4f934adfcd2 Mon Sep 17 00:00:00 2001 From: beo3000 Date: Fri, 20 Mar 2026 15:32:42 +0100 Subject: [PATCH] upd claude perms --- .claude/settings.local.json | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index bccf852..46e121c 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -2,7 +2,34 @@ "permissions": { "allow": [ "Bash(git remote:*)", - "Bash(git pull:*)" + "Bash(git pull:*)", + "Bash(C:/Users/d-chrka/.claude/plugins/cache/claude-plugins-official/superpowers/5.0.5/skills/brainstorming/scripts/start-server.sh --project-dir C:/work/chrka/whisper-dictation)", + "Bash(sleep:*)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/test_config.py -v 2>&1 | tail -10)", + "Bash(/c/work/chrka/whisper-dictation/.venv-windows/Scripts/pip install:*)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/test_config.py -v 2>&1 | tail -15)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/test_config.py -v 2>&1)", + "Bash(Scripts/python -m pytest tests/test_config.py -v 2>&1)", + "Bash(/c/work/chrka/whisper-dictation/.venv-windows/Scripts/python.exe -m pytest /c/work/chrka/whisper-dictation/tests/test_config.py -v 2>&1)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/ -v 2>&1)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/test_app_log.py -v)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/ -v)", + "Bash(.venv-windows/Scripts/python.exe -m pytest tests/test_installer.py -v)", + "Bash(.venv-windows/Scripts/python.exe build.py)", + "Bash(.venv-windows/Scripts/pip install:*)", + "Bash(.venv-windows/Scripts/pip list:*)", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport os, shutil\ndist_dir = os.path.join\\('dist', 'whisper-dictation'\\)\nfor fname in ['config.json', 'vocabulary.json']:\n dest = os.path.join\\(dist_dir, fname\\)\n if not os.path.exists\\(dest\\):\n shutil.copy\\(fname, dest\\)\n print\\(f'Copied {fname} -> {dist_dir}/'\\)\n else:\n print\\(f'Skipped {fname} \\(already exists\\)'\\)\nprint\\(f'Build complete: {dist_dir}/'\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport sounddevice as sd\nprint\\('Default input device:', sd.default.device[0]\\)\nprint\\(\\)\nfor i, d in enumerate\\(sd.query_devices\\(\\)\\):\n if d['max_input_channels'] > 0:\n print\\(f' [{i}] {d[\\\\\"name\\\\\"]} \\(inputs: {d[\\\\\"max_input_channels\\\\\"]}\\)'\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport json, os\npath = os.path.join\\(os.environ['LOCALAPPDATA'], 'WhisperDictation', 'config_local.json'\\)\nwith open\\(path\\) as f:\n cfg = json.load\\(f\\)\ncfg['audio_device'] = None\nwith open\\(path, 'w'\\) as f:\n json.dump\\(cfg, f, indent=2\\)\nprint\\('Updated:', cfg\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport sounddevice as sd\nprint\\('Host APIs:'\\)\nfor i, api in enumerate\\(sd.query_hostapis\\(\\)\\):\n print\\(f' [{i}] {api[\\\\\"name\\\\\"]} \\(default_input: {api[\\\\\"default_input_device\\\\\"]}\\)'\\)\nprint\\(\\)\nprint\\('Devices with hostapi:'\\)\nfor i, d in enumerate\\(sd.query_devices\\(\\)\\):\n if d['max_input_channels'] > 0:\n print\\(f' [{i}] hostapi={d[\\\\\"hostapi\\\\\"]} {d[\\\\\"name\\\\\"]}'\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nfrom whisper_app.audio import get_input_devices\ndevices = get_input_devices\\(\\)\nprint\\(f'{len\\(devices\\)} devices:'\\)\nfor i, name in devices:\n print\\(f' [{i}] {name}'\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport faster_whisper, os\nassets = os.path.join\\(os.path.dirname\\(faster_whisper.__file__\\), 'assets'\\)\nfor f in os.listdir\\(assets\\):\n print\\(f\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -m PyInstaller whisper-dictation.spec --noconfirm)", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport nvidia.cublas; print\\('cublas:', nvidia.cublas.__file__\\)\nimport nvidia.cudnn; print\\('cudnn:', nvidia.cudnn.__file__\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport os, site\nsp = site.getsitepackages\\(\\)[0]\ncublas = os.path.join\\(sp, 'nvidia', 'cublas', 'bin'\\)\ncudnn = os.path.join\\(sp, 'nvidia', 'cudnn', 'bin'\\)\nprint\\('cublas:', os.path.exists\\(cublas\\), cublas\\)\nprint\\('cudnn:', os.path.exists\\(cudnn\\), cudnn\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"\nimport os\nsp = '.venv-windows/Lib/site-packages'\ncublas = os.path.join\\(sp, 'nvidia', 'cublas', 'bin'\\)\ncudnn = os.path.join\\(sp, 'nvidia', 'cudnn', 'bin'\\)\nprint\\('cublas:', os.path.exists\\(cublas\\), os.path.abspath\\(cublas\\)\\)\nprint\\('cudnn:', os.path.exists\\(cudnn\\), os.path.abspath\\(cudnn\\)\\)\n\")", + "Bash(.venv-windows/Scripts/python.exe -c \"import site; print\\(site.getsitepackages\\(\\)\\)\")", + "Bash(git push:*)" ] } }