generated from dellevin/template
92 lines
9.1 KiB
JSON
92 lines
9.1 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(curl -L -o webfonts/fa-solid-900.woff2 \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff2\")",
|
|
"Bash(curl -L -o webfonts/fa-solid-900.ttf \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.ttf\")",
|
|
"Bash(curl -L -o fa-solid-900.ttf \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.ttf\")",
|
|
"Bash(mv static/webfonts/static/webfonts/* static/webfonts/)",
|
|
"Bash(rm -rf static/webfonts/static)",
|
|
"Bash(cd /d/UserData/Desktop/my_proj/py_demo/python_script/flask-dev-api && ls -la static/webfonts/)",
|
|
"Bash(python -c ' *)",
|
|
"Bash(curl -s -X POST \"http://127.0.0.1:8080/v1/chat/completions\" -H \"Content-Type: application/json\" -d '{\"model\":\"qwen3:1.7b\",\"messages\":[{\"role\":\"user\",\"content\":\"你好,回复两个字\"}],\"max_tokens\":50}' --connect-timeout 5)",
|
|
"Bash(curl -L -o echarts.min.js \"https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.min.js\")",
|
|
"mcp__searxng__searxng_web_search",
|
|
"WebFetch(domain:raw.githubusercontent.com)",
|
|
"WebFetch(domain:www.oschina.net)",
|
|
"Bash(ls \"D:/UserData/Desktop/my_proj/it-tools\")",
|
|
"Bash(ls \"D:/UserData/Desktop/my_proj/it-tools/src\" 2>/dev/null || echo \"No src directory\")",
|
|
"Bash(curl -sL \"https://cdn.jsdelivr.net/npm/qrcode-generator@1.4.4/qrcode.min.js\" -o \"D:/UserData/Desktop/my_proj/py_demo/python_script/flask-dev-api/static/qrcode.min.js\")",
|
|
"Bash(ls -la \"D:/UserData/Desktop/xiazai/\" 2>/dev/null | head -20)",
|
|
"Bash(python -c \"import py_compile; py_compile.compile\\('blueprints/down_image.py', doraise=True\\); print\\('OK'\\)\")",
|
|
"Bash(python -c \"import py_compile; py_compile.compile\\('app.py', doraise=True\\); py_compile.compile\\('blueprints/__init__.py', doraise=True\\); print\\('OK'\\)\")",
|
|
"Bash(pip install *)",
|
|
"Bash(python -c \"import py_compile; py_compile.compile\\('app.py', doraise=True\\); py_compile.compile\\('config.py', doraise=True\\); py_compile.compile\\('utils/stats_db.py', doraise=True\\); py_compile.compile\\('blueprints/sovits_tts.py', doraise=True\\); print\\('All OK'\\)\")",
|
|
"Bash(python -c \"from app import create_app; app = create_app\\(\\); print\\('Flask app OK, routes:', len\\(app.url_map._rules\\)\\)\")",
|
|
"Bash(python -c \"import webview; print\\('pywebview', webview.__version__, 'OK'\\)\")",
|
|
"Bash(python -c \"import webview; print\\('pywebview OK'\\); print\\(dir\\(webview\\)[:10]\\)\")",
|
|
"Bash(python -c \"from config import BASE_DIR; print\\('BASE_DIR:', BASE_DIR\\)\")",
|
|
"Bash(python -c \"import run_desktop; print\\('run_desktop imports OK'\\)\")",
|
|
"Bash(python -c \"import py_compile; py_compile.compile\\('blueprints/sovits_tts.py', doraise=True\\); print\\('OK'\\)\")",
|
|
"Bash(python -c \"import ctranslate2; print\\('version:', ctranslate2.__version__\\); print\\('has get_cuda_device_count:', hasattr\\(ctranslate2, 'get_cuda_device_count'\\)\\)\")",
|
|
"Bash(where nvcc *)",
|
|
"Bash(dir \"C:\\\\Program Files\\\\NVIDIA GPU Computing Toolkit\\\\CUDA\")",
|
|
"Bash(python -c \"import torch; print\\('torch OK:', torch.__version__, torch.cuda.is_available\\(\\)\\)\")",
|
|
"Bash(python -c \"import torchaudio; print\\('torchaudio OK:', torchaudio.__version__\\)\")",
|
|
"Bash(python -c \"import torchaudio; print\\(torchaudio.__version__\\)\")",
|
|
"Bash(pip show *)",
|
|
"Bash(findstr \"Version\")",
|
|
"Bash(cd /d \"E:\\\\AI\\\\GPT-SoVITS-v4\")",
|
|
"Bash(python -c \"from GPT_SoVITS.TTS_infer_pack.TTS import TTS, TTS_Config; print\\('OK'\\)\")",
|
|
"Bash(dir \"E:\\\\AI\\\\GPT-SoVITS-v4\\\\requirements*.txt\")",
|
|
"Bash(where python *)",
|
|
"Bash(conda env *)",
|
|
"Bash(\"E:/AI/GPT-SoVITS-v4/runtime/python.exe\" \"D:/UserData/Desktop/my_proj/py_demo/python_script/flask-dev-api/utils/sovits_worker.py\" \"E:/AI/GPT-SoVITS-v4\" \"GPT_SoVITS/configs/tts_infer.yaml\")",
|
|
"Bash(echo \"EXIT CODE: $?\")",
|
|
"Bash(ls -la \"D:/UserData/Desktop/my_proj/ultimatevocalremovergui/\")",
|
|
"Bash(ls \"E:\\\\AI\\\\ultimatevocalremovergui/demucs\" 2>/dev/null || echo \"No demucs dir\")",
|
|
"Bash(curl -s http://127.0.0.1:5000/uvr-sep/)",
|
|
"Bash(node -e ' *)",
|
|
"Bash(grep -rn \"bag_num\" \"E:\\\\AI\\\\ultimatevocalremovergui/demucs/apply.py\" \"E:\\\\AI\\\\ultimatevocalremovergui/separate.py\" 2>/dev/null)",
|
|
"Bash(tasklist)",
|
|
"Bash(python -c \"import torch; print\\('torch:', torch.__version__\\); print\\('cuda:', torch.cuda.is_available\\(\\)\\); print\\('cuda_home:', torch.utils.cpp_extension.CUDA_HOME if hasattr\\(torch.utils.cpp_extension, 'CUDA_HOME'\\) else 'N/A'\\)\")",
|
|
"Bash(pip list *)",
|
|
"Bash(nvidia-smi)",
|
|
"Bash(curl -s http://localhost:5000/uvr-sep/)",
|
|
"Bash(findstr /n \"模型.*参数\\\\|save-btn\\\\|section-title\")",
|
|
"Bash(python -c \"import sys; data=sys.stdin.read\\(\\); lines=data.split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 'section-title' in l or 'save-btn' in l or '模型' in l]\")",
|
|
"Bash(python -c \"import sys; data=sys.stdin.read\\(\\); lines=data.split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 320 <= i+1 <= 340]\")",
|
|
"Bash(python -c \"import sys; data=sys.stdin.read\\(\\); lines=data.split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 350 <= i+1 <= 370]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 990 <= i+1 <= 1000]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 'demucsParams' in l or 'mdxParams' in l or 'vrParams' in l]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 'id=\\\\\"demucs' in l or 'id=\\\\\"mdx' in l or 'id=\\\\\"vrP' in l]\")",
|
|
"Bash(python -c \"import sys; data=sys.stdin.read\\(\\); print\\('demucsParams' in data, 'mdxParams' in data, 'vrParams' in data\\)\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 570 <= i+1 <= 582]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if '<script' in l or '</script>' in l]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 'id=\\\\\"modelDirDisplay\\\\\"' in l or 'demucsParams' in l and 'getElement' not in l]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 'modelDirDisplay' in l]\")",
|
|
"Bash(python -c \"import sys; data=sys.stdin.read\\(\\); print\\('模型目录' in data, 'modelDirDisplay' in data.split\\('<script'\\)[0] if '<script' in data else 'no script'\\)\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 310 <= i+1 <= 330]\")",
|
|
"Bash(python -c \"import sys; lines=sys.stdin.read\\(\\).split\\('\\\\n'\\); [print\\(f'{i+1}: {l.rstrip\\(\\)}'\\) for i,l in enumerate\\(lines\\) if 330 <= i+1 <= 360]\")",
|
|
"Bash(python app.py)",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:5000/uvr-sep/)",
|
|
"Bash(cat)",
|
|
"Bash(python /tmp/check_style.py)",
|
|
"Read(//tmp/**)",
|
|
"Bash(curl -s -o /dev/null -w \"HTTP Status: %{http_code}\\\\nSize: %{size_download} bytes\\\\n\" http://localhost:5000/uvr-sep/)",
|
|
"Bash(python -c \"import torch.utils._pytree as pt; print\\(hasattr\\(pt, 'register_constant'\\)\\); print\\(dir\\(pt\\)\\)\")",
|
|
"Bash(python -c \"import unsloth; print\\(unsloth.__version__\\)\")",
|
|
"Bash(head -80 \"D:\\\\Environment\\\\python\\\\python3-12\\\\Lib\\\\site-packages\\\\unsloth\\\\__init__.py\" 2>&1)",
|
|
"Bash(python -c \"import bitsandbytes as bnb; print\\('bnb OK'\\); print\\(dir\\(bnb.functional.lib\\)\\)\")",
|
|
"Bash(ls \"D:\\\\Environment\\\\python\\\\python3-12\\\\Lib\\\\site-packages\\\\unsloth\\\\\" 2>&1 | head -30)",
|
|
"Bash(python -c \"from llama_cpp import Llama; print\\('OK'\\)\")",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:5000/ai-translate/)",
|
|
"Bash(curl -s http://localhost:5000/ai-translate/models)",
|
|
"Bash(python -m json.tool)",
|
|
"Bash(python -c \"import llama_cpp; print\\('file:', llama_cpp.__file__\\); print\\('supports_gpu:', llama_cpp.llama_supports_gpu_offload\\(\\)\\)\")",
|
|
"Bash(cat \"E:/AI/ai-translation/argos/translate-en_zh-1_9/metadata.json\")",
|
|
"Bash(ls \"E:\\\\AI\\\\ai-translation\\\\argos\")",
|
|
"Bash(cat \"E:\\\\AI\\\\ai-translation\\\\nllb\\\\nllb-200-distilled-600M\\\\config.json\" 2>&1 | head -20)"
|
|
]
|
|
}
|
|
}
|