36 lines
2.9 KiB
JSON
36 lines
2.9 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Read(//Main/Docker-Compose/TMN-API/tmn-api/**)",
|
|
"Read(//Main/Docker-Compose/TMN-API/tmn-api/desk_client/**)",
|
|
"Bash(/Main/Docker-Compose/TMN-API/tmn-api/.venv/bin/python3 *)",
|
|
"Bash(python3 -)",
|
|
"Bash(.venv/bin/python -c \"import PySide6\")",
|
|
"Bash(.venv/bin/pytest tests/test_wake_word.py tests/test_controller.py tests/test_state.py -q)",
|
|
"Bash(.venv/bin/pytest tests/test_wake_word.py tests/test_state.py -q)",
|
|
"Bash(timeout 20 .venv/bin/python -c \"from bolt_pet.audio import wake_word; print\\('imported ok'\\)\")",
|
|
"Bash(timeout 40 env QT_QPA_PLATFORM=offscreen .venv/bin/pytest tests/test_controller.py -q)",
|
|
"Bash(timeout 40 env QT_QPA_PLATFORM=offscreen /home/themajesticmagician/Documents/bolt-pet/.venv/bin/pytest /home/themajesticmagician/Documents/bolt-pet/tests/ -q)",
|
|
"Bash(.venv/bin/pip show *)",
|
|
"Bash(timeout 60 .venv/bin/python -c \"\nimport numpy as np\nfrom bolt_pet.audio import wake_word\n\nmodel = wake_word._default_model\nframe = np.zeros\\(1280, dtype=np.int16\\)\nscores = model.predict\\(frame\\)\nprint\\('scores:', scores\\)\nmodel.reset\\(\\)\nprint\\('OK — real thunderbolt.onnx model loads and predicts'\\)\n\")",
|
|
"Bash(timeout 120 .venv/bin/python -m pip install -q \"openwakeword>=0.6\")",
|
|
"Bash(.venv/bin/python -c \"import openwakeword; print\\('installed at', openwakeword.__file__\\)\")",
|
|
"Bash(timeout 90 .venv/bin/python -c ' *)",
|
|
"Bash(cp '/home/themajesticmagician/Documents/kenney_robot-pack/PNG/Side view/robot_greenBody.png' /home/themajesticmagician/Documents/bolt-pet/bolt_pet/assets/sprites/idle/frame_00.png)",
|
|
"Bash(cp '/home/themajesticmagician/Documents/kenney_robot-pack/PNG/Side view/robot_greenDrive1.png' /home/themajesticmagician/Documents/bolt-pet/bolt_pet/assets/sprites/listening/frame_00.png)",
|
|
"Bash(cp '/home/themajesticmagician/Documents/kenney_robot-pack/PNG/Side view/robot_greenDrive2.png' /home/themajesticmagician/Documents/bolt-pet/bolt_pet/assets/sprites/listening/frame_01.png)",
|
|
"Bash(cp '/home/themajesticmagician/Documents/kenney_robot-pack/PNG/Side view/robot_greenDamage1.png' /home/themajesticmagician/Documents/bolt-pet/bolt_pet/assets/sprites/thinking/frame_00.png)",
|
|
"Bash(cp '/home/themajesticmagician/Documents/kenney_robot-pack/PNG/Side view/robot_greenDamage2.png' /home/themajesticmagician/Documents/bolt-pet/bolt_pet/assets/sprites/thinking/frame_01.png)",
|
|
"Bash(QT_QPA_PLATFORM=offscreen .venv/bin/pytest tests/ -q)",
|
|
"Bash(QT_QPA_PLATFORM=offscreen .venv/bin/python -m pytest tests/ -q -p no:cacheprovider)",
|
|
"Bash(.venv/bin/python *)",
|
|
"Bash(python *)",
|
|
"Bash(QT_QPA_PLATFORM=offscreen .venv/bin/python -m pytest tests/test_controller_features.py -q -p no:cacheprovider)",
|
|
"Bash(QT_QPA_PLATFORM=offscreen .venv/bin/python -c ' *)",
|
|
"Bash(git push *)",
|
|
"Bash(git remote *)",
|
|
"Bash(grep -v '^$')"
|
|
]
|
|
}
|
|
}
|