@camstack/addon-model-studio 1.1.176 → 1.1.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_MODELS.md +244 -0
- package/dist/{MotionZonesSettings-BnpvJ5xP.mjs → MotionZonesSettings-Cxw4j3rn.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-B7PWwVz7.mjs → PrivacyMaskSettings-zQ-six-W.mjs} +4 -4
- package/dist/{SceneMonitorEditor-DnFT8BoA.mjs → SceneMonitorEditor-CeDqxaTk.mjs} +3 -3
- package/dist/_stub.js +504 -470
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DyLSvcVV.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page--dtMhecm.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B8ssxRgI.mjs +26 -0
- package/dist/{hostInit-Bt1i3ABN.mjs → hostInit-C9TQCtVD.mjs} +2 -2
- package/dist/model-studio.addon.js +550 -29
- package/dist/model-studio.addon.mjs +550 -29
- package/dist/{player-overlays-Dorp8NvG.mjs → player-overlays-D2YtQYEE.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-D5frmtog.mjs → responsive-i8VV1SdO.mjs} +1 -1
- package/dist/{scene-monitor-copy-Czk6VgU1.mjs → scene-monitor-copy-BktPixFQ.mjs} +1 -1
- package/dist/{square-B-8Ri8UR.mjs → square-COwEP7Tf.mjs} +1 -1
- package/dist/{trash-2-C8wBWb92.mjs → trash-2-9RsOz0YH.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DnqPAdaL.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BkBVoxTt.mjs} +1 -1
- package/package.json +3 -2
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BIijwyaW.mjs +0 -26
|
@@ -36,6 +36,50 @@ function assertScryptedDownloadUrl(url, _hop) {
|
|
|
36
36
|
//#region src/scrypted/scrypted-yolo-manifest-data.json
|
|
37
37
|
var scrypted_yolo_manifest_data_default = /*#__PURE__*/ JSON.parse("[{\"id\":\"scrypted-yolov9t-relu-coreml\",\"label\":\"Scrypted YOLOv9T ReLU CoreML\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"0a8733949d77e3204dba6418e81a11a8cc177015711457ce2c171266f23382d6\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322229,\"sha256\":\"f5a62f196f1e72a84efa1637119dffb6501621af9cf6f867bc76b4b59c9242a0\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":3797160,\"sha256\":\"b994419b8b68cfd6b89c3c6f3fe6b37458c86cc1d87fcca3df5034476a99dd38\"}],\"sizeMB\":4.12},{\"id\":\"scrypted-yolov9t-relu-onnx\",\"label\":\"Scrypted YOLOv9T ReLU ONNX\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9t_relu/scrypted_yolov9t_relu.onnx\",\"size\":8499266,\"sha256\":\"3f11ea2071b27c285b58c16636a44d6a0a27bdd1ca8b64112dfadabd39cfea47\"}],\"sizeMB\":8.5},{\"id\":\"scrypted-yolov9t-relu-test-coreml\",\"label\":\"Scrypted YOLOv9T ReLU test CoreML\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"a5e0128b643f1a66f3e07d4b332f9ccbca97ccab75651c794f0b9f1fb41c8491\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322229,\"sha256\":\"79f4f647f2a0c79db3b560c84251b48c7ba7cbe9c1fecc9674d1a603a389dfa3\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":3797160,\"sha256\":\"72efc9dc6af9241b5e5ee7de24a4f55741f6425d0e279d797f0f223e3d355f84\"}],\"sizeMB\":4.12},{\"id\":\"scrypted-yolov9t-relu-test-onnx\",\"label\":\"Scrypted YOLOv9T ReLU test ONNX\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.onnx\",\"size\":8499266,\"sha256\":\"d20aa0e6923a3af7f5e84e3a6d28fb00e8ecd592e3225f986f93bd34b634e2f8\"}],\"sizeMB\":8.5},{\"id\":\"scrypted-yolov9s-relu-coreml\",\"label\":\"Scrypted YOLOv9S ReLU CoreML\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"3bcdb820b82f1e89266f2d11bae1604d3ee4ca6d11dc5bd5c57055ff4157e9f3\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322664,\"sha256\":\"9a9c3c9cbca406ec2f0418ec867ed6b878ec6d02c16636d30e0bbd83d2ff7c40\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":14190120,\"sha256\":\"fd51eda58a993997268f6a2e424b536ba173207ad7974ab8bee2a8ff76d52dab\"}],\"sizeMB\":14.51},{\"id\":\"scrypted-yolov9s-relu-onnx\",\"label\":\"Scrypted YOLOv9S ReLU ONNX\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9s_relu/scrypted_yolov9s_relu.onnx\",\"size\":29287339,\"sha256\":\"ca0b5bd98d5f59eb2029c6cb5129d53af59873f62a317a028beda463bbb96399\"}],\"sizeMB\":29.29},{\"id\":\"scrypted-yolov9s-relu-test-coreml\",\"label\":\"Scrypted YOLOv9S ReLU test CoreML\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"e2d24de0ce7e8573f19572029765e55abc714f36a85175ad7fcb95c001a76653\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322664,\"sha256\":\"186b147cdfd15c5ed7a381ec3a426a22cee0b5c52d56f14efd26da06357f5cb0\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":14190120,\"sha256\":\"e50651924c2cbffd56008a8953569e66c3de69f21807fcf7d825390ce30f21f8\"}],\"sizeMB\":14.51},{\"id\":\"scrypted-yolov9s-relu-test-onnx\",\"label\":\"Scrypted YOLOv9S ReLU test ONNX\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.onnx\",\"size\":29287339,\"sha256\":\"115ddb83333762a0f2599421335678696454a5c3571ade5df9bac8e9cb5fb4cf\"}],\"sizeMB\":29.29},{\"id\":\"scrypted-yolov9m-relu-coreml\",\"label\":\"Scrypted YOLOv9M ReLU CoreML\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"c548c6e1ff768b2b01bd71e230aa712a1635ae2baa30e0369557a42fc531ecbf\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":247061,\"sha256\":\"1c40e02fc2a2559cb906ea6cd9da9c730d4a78f5019290cbb38d2fcaae379fe7\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":39880616,\"sha256\":\"4cf938e5bfcc3ee1644813e4eb4702a7de450cc0581df94c719cf43d0ed2e408\"}],\"sizeMB\":40.13},{\"id\":\"scrypted-yolov9m-relu-onnx\",\"label\":\"Scrypted YOLOv9M ReLU ONNX\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9m_relu/scrypted_yolov9m_relu.onnx\",\"size\":80380404,\"sha256\":\"e7a81fb33224a0105d2a0a594c3fa43c398c361de623f1d14156ae826e7312d5\"}],\"sizeMB\":80.38},{\"id\":\"scrypted-yolov9m-relu-test-coreml\",\"label\":\"Scrypted YOLOv9M ReLU test CoreML\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"8e2684b286d02b4bdf9db1027c84cb89bf8e4830cfb58269f3ec457c5a010650\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":247061,\"sha256\":\"53d5946e74b13b15c5f8616081c9f15e8a95a5df3d5b45b830fc5a7f49561c16\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":39880616,\"sha256\":\"69774bf0032c37707601b8cdc1e1820dbd9f8288eb5d6f3879618a5d34ff5199\"}],\"sizeMB\":40.13},{\"id\":\"scrypted-yolov9m-relu-test-onnx\",\"label\":\"Scrypted YOLOv9M ReLU test ONNX\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.onnx\",\"size\":80380404,\"sha256\":\"8bb054f099295909ec518e2a6598d63db24d3f90edc8105a0f016903f2a205a2\"}],\"sizeMB\":80.38},{\"id\":\"scrypted-yolov9c-relu-coreml\",\"label\":\"Scrypted YOLOv9C ReLU CoreML\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"813a306ebd69cabfd31f00434f5a961feeca7d237833f3e11805dcf4ad120ba9\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":263210,\"sha256\":\"862f082619075e470738306b0ff0a37ae70a7d08e684ca6a6dfa1971d404e0c3\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":50489960,\"sha256\":\"ed89747e58943758e2a87221d1d404f6a4466cbc039c3c6f96e327cadc403d27\"}],\"sizeMB\":50.75},{\"id\":\"scrypted-yolov9c-relu-onnx\",\"label\":\"Scrypted YOLOv9C ReLU ONNX\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9c_relu/scrypted_yolov9c_relu.onnx\",\"size\":101631962,\"sha256\":\"b9372c4428daf4cd944c114b1e80d1a9ff0487d743e53a77216a051cfbef7116\"}],\"sizeMB\":101.63},{\"id\":\"scrypted-yolov9c-relu-test-coreml\",\"label\":\"Scrypted YOLOv9C ReLU test CoreML\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"966ef82a93cb0ccf1036a8c9729c065fd372fa9590a97d0945e581cc674f7ad2\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":263210,\"sha256\":\"08718ecd3e9552d21a702bd8df60911cad0eec7b2ae382466809550f14634711\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":50489960,\"sha256\":\"fe5936b9430ab4c87f30b148220131d6ec998b2377223d033e2fa2a00e60aada\"}],\"sizeMB\":50.75},{\"id\":\"scrypted-yolov9c-relu-test-onnx\",\"label\":\"Scrypted YOLOv9C ReLU test ONNX\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.onnx\",\"size\":101631962,\"sha256\":\"2f4e2031e8efb4cbc871594338b2e875d78ab4af3ee0258d253273b1aac84742\"}],\"sizeMB\":101.63},{\"id\":\"scrypted-yolov9t-relu-openvino-fp32\",\"label\":\"Scrypted YOLOv9T ReLU OpenVINO FP32\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu/best-converted.xml\",\"size\":628222,\"sha256\":\"01b5a9d02a0f281e1aaf4860e1b0ed3a7f16b9d78975be8ff985ae0ee283d877\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu/best-converted.bin\",\"size\":7542204,\"sha256\":\"4fe9ce8dbdf94514fdd450cbfc907f257153e4898a0c1489a44e4912d8e32cc7\"}],\"sizeMB\":8.17},{\"id\":\"scrypted-yolov9s-relu-openvino-fp32\",\"label\":\"Scrypted YOLOv9S ReLU OpenVINO FP32\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu/best-converted.xml\",\"size\":629249,\"sha256\":\"5b4a229bf7229425698b63bd065a403e440a6151a6ddff0034867659cc4a480d\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu/best-converted.bin\",\"size\":28329724,\"sha256\":\"c030bd219208ea94082578c81f383d4ef9ec45d7150eec1c2c2ff2569cf49b35\"}],\"sizeMB\":28.96},{\"id\":\"scrypted-yolov9m-relu-openvino-fp32\",\"label\":\"Scrypted YOLOv9M ReLU OpenVINO FP32\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu/best-converted.xml\",\"size\":485439,\"sha256\":\"c66f9f1965bf70fd3635d4dfc3cb94c72c06b344c256713237d77706725b9a0c\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu/best-converted.bin\",\"size\":79717372,\"sha256\":\"dfc2d8952bbca9ad0e116168e3fd5c754e601c327d78c4f4d0d4cae12f0e1d2a\"}],\"sizeMB\":80.2},{\"id\":\"scrypted-yolov9c-relu-openvino-fp32\",\"label\":\"Scrypted YOLOv9C ReLU OpenVINO FP32\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu/best-converted.xml\",\"size\":535047,\"sha256\":\"836c1e998ebf76108ff64d554fdfa07aa72c42624f1a5448701bb409f27b8d68\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu/best-converted.bin\",\"size\":100942972,\"sha256\":\"11a1b330ac9843b349927977b3c7c7f17bb42af73a7ff102969132f27ab81814\"}],\"sizeMB\":101.48},{\"id\":\"scrypted-yolov9t-relu-openvino-int8\",\"label\":\"Scrypted YOLOv9T ReLU OpenVINO INT8\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu_int8/best-converted.xml\",\"size\":1380379,\"sha256\":\"e5a76bf88ac69fc0ebc50c04b61ff91550dd9c2349af1f6d7e4cac949c640cec\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu_int8/best-converted.bin\",\"size\":1954956,\"sha256\":\"98fb5b6826d7c6697a585f69ba96754873772d9d61fbed8335aab761e8248659\"}],\"sizeMB\":3.34},{\"id\":\"scrypted-yolov9t-relu-test-openvino-int8\",\"label\":\"Scrypted YOLOv9T ReLU test OpenVINO INT8\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu_test_int8/best-converted.xml\",\"size\":1380383,\"sha256\":\"9e4119284e923e08c9929e78fd31e2552e602a552ac538ae99bf34a50dd4d172\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu_test_int8/best-converted.bin\",\"size\":1954960,\"sha256\":\"efe5b0a2fd2f5ddef5923eeb9e592a7ef14719061bb7605c86e05b35c2c58ea9\"}],\"sizeMB\":3.34},{\"id\":\"scrypted-yolov9s-relu-openvino-int8\",\"label\":\"Scrypted YOLOv9S ReLU OpenVINO INT8\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu_int8/best-converted.xml\",\"size\":1382088,\"sha256\":\"4e6c24cf24afbab21462f7e1a15bd05b1cbbe5915046000e03c2435d8110bbbf\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu_int8/best-converted.bin\",\"size\":7197308,\"sha256\":\"23fd3d666a938c41db232d9c6239baec1134716cfb4ed4ddd3d602dd20eb8ac0\"}],\"sizeMB\":8.58},{\"id\":\"scrypted-yolov9s-relu-test-openvino-int8\",\"label\":\"Scrypted YOLOv9S ReLU test OpenVINO INT8\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu_test_int8/best-converted.xml\",\"size\":1382092,\"sha256\":\"49865bfeafe7576afce089ba6f5c3e25a9192c8b514eb96265c90fe877795641\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu_test_int8/best-converted.bin\",\"size\":7197312,\"sha256\":\"78e9d36e6b74754db2b624ea3ec0b3ff57ed6dfed59a4f2225e1a271054597de\"}],\"sizeMB\":8.58},{\"id\":\"scrypted-yolov9m-relu-openvino-int8\",\"label\":\"Scrypted YOLOv9M ReLU OpenVINO INT8\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu_int8/best-converted.xml\",\"size\":1024595,\"sha256\":\"1242ab8d8c73b2e80c5dd541177ade6e102a2684114b059136acb4cad6efb034\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu_int8/best-converted.bin\",\"size\":20090516,\"sha256\":\"da8e44af8bee66478e6f359e9504bfb13ab4b76f4bd8a2f1b10cfbc22febcf6e\"}],\"sizeMB\":21.12},{\"id\":\"scrypted-yolov9m-relu-test-openvino-int8\",\"label\":\"Scrypted YOLOv9M ReLU test OpenVINO INT8\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu_test_int8/best-converted.xml\",\"size\":1024601,\"sha256\":\"24395ae5fdbb321304c865372cd2b905cdc55abb7610520f3963702e2371decb\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu_test_int8/best-converted.bin\",\"size\":20090520,\"sha256\":\"4360fe0312067f92c49f180c7b8a10271f14d58b8909aa9b96b13af4ab9289aa\"}],\"sizeMB\":21.12},{\"id\":\"scrypted-yolov9c-relu-openvino-int8\",\"label\":\"Scrypted YOLOv9C ReLU OpenVINO INT8\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu_int8/best-converted.xml\",\"size\":1092695,\"sha256\":\"a45c62940120c4301d8fff9fb3b275c29e3618f403ea68a785f2f3220cefec7a\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu_int8/best-converted.bin\",\"size\":25428280,\"sha256\":\"0643403a56178c3ed1e066c7884458d8ea6780115d662bdc38d10754d7a11c79\"}],\"sizeMB\":26.52},{\"id\":\"scrypted-yolov9c-relu-test-openvino-int8\",\"label\":\"Scrypted YOLOv9C ReLU test OpenVINO INT8\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu_test_int8/best-converted.xml\",\"size\":1092695,\"sha256\":\"a8a1899848ebd060af2326d3c8d3c09ea83354f0bedff6cce6fa08b284ea5519\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu_test_int8/best-converted.bin\",\"size\":25428280,\"sha256\":\"2eb6bb3d0a03a9b239b6f623f9e7bced62eea61fbe4d8ff89c1b3e2e2b7978a2\"}],\"sizeMB\":26.52},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-float16\",\"label\":\"Scrypted YOLOv9s ReLU sep 320 TFLite float16\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"float16\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_float16.tflite\",\"size\":14482836,\"sha256\":\"04889db3b81af361c361e41ffa99327330d37b71d680a2f889e6cdf1e94c0d8c\"}],\"sizeMB\":14.48},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-float32\",\"label\":\"Scrypted YOLOv9s ReLU sep 320 TFLite float32\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"float32\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_float32.tflite\",\"size\":28777068,\"sha256\":\"f5d7d08fc1d8f2262633d2df4391638e0481740331aaa1837880a47c33001a96\"}],\"sizeMB\":28.78},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-int8\",\"label\":\"Scrypted YOLOv9s ReLU sep 320 TFLite int8\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_int8.tflite\",\"size\":7325616,\"sha256\":\"1e9866b16fe80931383bf3c94dc629fe93a37ba3dc1465ea019eb0a50bd428df\"}],\"sizeMB\":7.33},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-integer_quant\",\"label\":\"Scrypted YOLOv9s ReLU sep 320 TFLite integer_quant\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"integer_quant\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_integer_quant.tflite\",\"size\":7342552,\"sha256\":\"bc1c902e9a9865637ee2403f70c6bf5c29c695d9163e58ad658feb29bb097ebc\"}],\"sizeMB\":7.34},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-full_integer_quant\",\"label\":\"Scrypted YOLOv9s ReLU sep 320 TFLite full_integer_quant\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"full_integer_quant\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_full_integer_quant.tflite\",\"size\":7341704,\"sha256\":\"483ce38dbe33ee5a35f40a82f56c77629a44fa5d95efd8ade9fa97e4d2a261fd\"}],\"sizeMB\":7.34},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-edgetpu\",\"label\":\"Scrypted YOLOv9s ReLU sep 320 TFLite edgetpu\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"edgetpu\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_full_integer_quant_edgetpu.tflite\",\"size\":8164480,\"sha256\":\"e1e6b074a3b9fdf19a171baf615553ad375a046aa7de2a3fef9a1950175fab22\"}],\"sizeMB\":8.16}]");
|
|
38
38
|
//#endregion
|
|
39
|
+
//#region src/model-licenses.ts
|
|
40
|
+
/**
|
|
41
|
+
* Scrypted's YOLOv9 ReLU detectors. Checked 2026-09-27 on
|
|
42
|
+
* `onnx/scrypted_yolov9t_relu/scrypted_yolov9t_relu.onnx` at the pinned
|
|
43
|
+
* revision: no licence in the ONNX metadata, and the export's node traces name
|
|
44
|
+
* `models.yolo.DetectionModel` / `models.common.Conv` from a `yolov9/` checkout
|
|
45
|
+
* — WongKinYiu's YOLOv9 code (GPL-3.0), not Ultralytics. The repository's HF
|
|
46
|
+
* card says `license: mit` at repository level; nothing states terms per model
|
|
47
|
+
* or names the training data. So: code GPL-3.0, weights UNKNOWN.
|
|
48
|
+
*/
|
|
49
|
+
var SCRYPTED_YOLOV9_UNKNOWN = {
|
|
50
|
+
weights: "UNKNOWN",
|
|
51
|
+
code: "GPL-3.0",
|
|
52
|
+
data: {
|
|
53
|
+
name: "not stated by Scrypted",
|
|
54
|
+
terms: "UNKNOWN"
|
|
55
|
+
},
|
|
56
|
+
upstream: {
|
|
57
|
+
name: "Scrypted plugin-models (repository tagged MIT, no per-model terms)",
|
|
58
|
+
url: "https://huggingface.co/scrypted/plugin-models"
|
|
59
|
+
},
|
|
60
|
+
url: "https://huggingface.co/scrypted/plugin-models",
|
|
61
|
+
attribution: "Scrypted YOLOv9 ReLU detectors, Koushik Dutta (scrypted/plugin-models, repository tagged MIT); trained with the YOLOv9 code of Chien-Yao Wang, I-Hau Yeh, Hong-Yuan Mark Liao, GPL-3.0 (https://github.com/WongKinYiu/yolov9).",
|
|
62
|
+
modifications: "none: downloaded as published, at a pinned revision",
|
|
63
|
+
hosting: "third-party"
|
|
64
|
+
};
|
|
65
|
+
/** Frigate's default Coral model: Google's SSDLite MobileDet, Apache-2.0. */
|
|
66
|
+
var CORAL_MOBILEDET_APACHE = {
|
|
67
|
+
weights: "Apache-2.0",
|
|
68
|
+
code: "Apache-2.0",
|
|
69
|
+
data: {
|
|
70
|
+
name: "COCO 2017",
|
|
71
|
+
terms: "annotations CC-BY-4.0; images under their Flickr owners' terms",
|
|
72
|
+
url: "https://cocodataset.org/#termsofuse"
|
|
73
|
+
},
|
|
74
|
+
upstream: {
|
|
75
|
+
name: "Google Coral test_data",
|
|
76
|
+
url: "https://github.com/google-coral/test_data"
|
|
77
|
+
},
|
|
78
|
+
url: "https://github.com/google-coral/test_data/blob/master/LICENSE",
|
|
79
|
+
attribution: "Coral Edge TPU models and AIY Vision Birds V1 © Google LLC, Apache-2.0.",
|
|
80
|
+
hosting: "third-party"
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
39
83
|
//#region src/scrypted/scrypted-yolo-manifest.ts
|
|
40
84
|
var SCRYPTED_SHA256_RE = /^[0-9a-f]{64}$/;
|
|
41
85
|
var SCRYPTED_HF_HOST = "https://huggingface.co";
|
|
@@ -110,7 +154,8 @@ function buildModel(spec) {
|
|
|
110
154
|
preprocessMode: "resize",
|
|
111
155
|
classMap: SCRYPTED_IDENTITY_CLASS_MAP,
|
|
112
156
|
group,
|
|
113
|
-
provider: "scrypted"
|
|
157
|
+
provider: "scrypted",
|
|
158
|
+
license: SCRYPTED_YOLOV9_UNKNOWN
|
|
114
159
|
};
|
|
115
160
|
}
|
|
116
161
|
if (spec.format === "openvino") {
|
|
@@ -133,7 +178,8 @@ function buildModel(spec) {
|
|
|
133
178
|
preprocessMode: "resize",
|
|
134
179
|
classMap: SCRYPTED_IDENTITY_CLASS_MAP,
|
|
135
180
|
group,
|
|
136
|
-
provider: "scrypted"
|
|
181
|
+
provider: "scrypted",
|
|
182
|
+
license: SCRYPTED_YOLOV9_UNKNOWN
|
|
137
183
|
};
|
|
138
184
|
}
|
|
139
185
|
const main = spec.files[0];
|
|
@@ -152,7 +198,8 @@ function buildModel(spec) {
|
|
|
152
198
|
preprocessMode: "resize",
|
|
153
199
|
classMap: SCRYPTED_IDENTITY_CLASS_MAP,
|
|
154
200
|
group,
|
|
155
|
-
provider: "scrypted"
|
|
201
|
+
provider: "scrypted",
|
|
202
|
+
license: SCRYPTED_YOLOV9_UNKNOWN
|
|
156
203
|
};
|
|
157
204
|
}
|
|
158
205
|
function freezeEntry(spec) {
|
|
@@ -10131,6 +10178,48 @@ var ModelProviderIdSchema = _enum([
|
|
|
10131
10178
|
"scrypted",
|
|
10132
10179
|
"custom"
|
|
10133
10180
|
]);
|
|
10181
|
+
/**
|
|
10182
|
+
* The licence of a model, as a record rather than a bare SPDX string: a
|
|
10183
|
+
* permissive CODE licence routinely sits on top of restrictive WEIGHTS or
|
|
10184
|
+
* DATA, and the obligations (attribution, modification notices, source offers)
|
|
10185
|
+
* are per upstream. A persisted custom-model row written when this field was a
|
|
10186
|
+
* string still parses — the string is lifted into `{ weights }`.
|
|
10187
|
+
*
|
|
10188
|
+
* Every licence surface (the admin "Models and licenses" page,
|
|
10189
|
+
* `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
|
|
10190
|
+
* these records by `scripts/gen-model-licenses.ts` (D661).
|
|
10191
|
+
*/
|
|
10192
|
+
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10193
|
+
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
10194
|
+
weights: string().min(1),
|
|
10195
|
+
/** SPDX id of the upstream code that defines / trained the network. */
|
|
10196
|
+
code: string().min(1).optional(),
|
|
10197
|
+
/** Training data whose terms add obligations (attribution, non-commercial). */
|
|
10198
|
+
data: object({
|
|
10199
|
+
name: string().min(1),
|
|
10200
|
+
terms: string().min(1),
|
|
10201
|
+
url: string().url().optional()
|
|
10202
|
+
}).optional(),
|
|
10203
|
+
/** The project the weights come from. Required on built-in entries (guard). */
|
|
10204
|
+
upstream: object({
|
|
10205
|
+
name: string().min(1),
|
|
10206
|
+
url: string().url()
|
|
10207
|
+
}).optional(),
|
|
10208
|
+
/** Where the licence text governing the weights is published. */
|
|
10209
|
+
url: string().url().optional(),
|
|
10210
|
+
/** Attribution the licence REQUIRES, verbatim. */
|
|
10211
|
+
attribution: string().min(1).optional(),
|
|
10212
|
+
/** What CamStack changed. Required when `hosting` is `camstack-hf` (guard). */
|
|
10213
|
+
modifications: string().min(1).optional(),
|
|
10214
|
+
/** Who serves the file a node downloads. */
|
|
10215
|
+
hosting: _enum([
|
|
10216
|
+
"camstack-hf",
|
|
10217
|
+
"third-party",
|
|
10218
|
+
"built-in"
|
|
10219
|
+
]).optional(),
|
|
10220
|
+
/** True when the weights or their data forbid commercial use. */
|
|
10221
|
+
nonCommercial: boolean().optional()
|
|
10222
|
+
}));
|
|
10134
10223
|
var ModelCatalogEntrySchema = object({
|
|
10135
10224
|
id: string(),
|
|
10136
10225
|
name: string(),
|
|
@@ -10219,11 +10308,11 @@ var ModelCatalogEntrySchema = object({
|
|
|
10219
10308
|
p95LatencyMs: record(string(), number()).optional()
|
|
10220
10309
|
}).optional(),
|
|
10221
10310
|
/**
|
|
10222
|
-
*
|
|
10223
|
-
*
|
|
10224
|
-
*
|
|
10311
|
+
* The model's licence record — see {@link ModelLicenseSchema}. Optional in
|
|
10312
|
+
* the schema (a custom model's author may state none); REQUIRED and complete
|
|
10313
|
+
* on every built-in catalog entry (`scripts/check-catalog-licence.ts`).
|
|
10225
10314
|
*/
|
|
10226
|
-
license:
|
|
10315
|
+
license: ModelLicenseSchema.optional(),
|
|
10227
10316
|
/**
|
|
10228
10317
|
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
10229
10318
|
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
@@ -10319,23 +10408,6 @@ var ExpressionEvalError = class extends Error {
|
|
|
10319
10408
|
this.name = "ExpressionEvalError";
|
|
10320
10409
|
}
|
|
10321
10410
|
};
|
|
10322
|
-
/**
|
|
10323
|
-
* Frozen, null-prototype builtin function table for the expression engine
|
|
10324
|
-
* (spec §4 rule 4). The table is the SOLE surface of callable functions: the
|
|
10325
|
-
* parser rejects any callee not in it, and the evaluator gates each call on an
|
|
10326
|
-
* own-property check against it.
|
|
10327
|
-
*
|
|
10328
|
-
* Because the object has a NULL prototype AND is `Object.freeze`d:
|
|
10329
|
-
* - it cannot be polluted (no `__proto__` / `constructor` write reaches it);
|
|
10330
|
-
* - a lookup for `toString` / `hasOwnProperty` / `constructor` finds NOTHING
|
|
10331
|
-
* (there is no `Object.prototype` in the chain), so those names are not
|
|
10332
|
-
* callable — they are simply "unknown function" at parse time.
|
|
10333
|
-
*
|
|
10334
|
-
* Every numeric argument is validated as a finite number and every numeric
|
|
10335
|
-
* RESULT is re-checked finite, so `/0`, `sqrt(-1)` (→ NaN) and overflow
|
|
10336
|
-
* (`pow(10,400)` → Infinity) all raise `ExpressionEvalError` and fail the link
|
|
10337
|
-
* closed rather than emitting a garbage value.
|
|
10338
|
-
*/
|
|
10339
10411
|
function asFiniteNumber(value, name, index) {
|
|
10340
10412
|
if (typeof value !== "number" || !Number.isFinite(value)) throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a finite number`);
|
|
10341
10413
|
return value;
|
|
@@ -10351,6 +10423,10 @@ function finiteResult(value, name) {
|
|
|
10351
10423
|
function allFiniteNumbers(args, name) {
|
|
10352
10424
|
return args.map((a, idx) => asFiniteNumber(a, name, idx));
|
|
10353
10425
|
}
|
|
10426
|
+
function asBoolean$1(value, name, index) {
|
|
10427
|
+
if (typeof value !== "boolean") throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a boolean`);
|
|
10428
|
+
return value;
|
|
10429
|
+
}
|
|
10354
10430
|
var INF = Number.POSITIVE_INFINITY;
|
|
10355
10431
|
var table = {
|
|
10356
10432
|
min: {
|
|
@@ -10451,6 +10527,40 @@ var table = {
|
|
|
10451
10527
|
if (from === to) return x;
|
|
10452
10528
|
throw new ExpressionEvalError("convert: unit conversion table not installed");
|
|
10453
10529
|
}
|
|
10530
|
+
},
|
|
10531
|
+
any: {
|
|
10532
|
+
minArgs: 1,
|
|
10533
|
+
maxArgs: INF,
|
|
10534
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "any", i)).some((b) => b)
|
|
10535
|
+
},
|
|
10536
|
+
all: {
|
|
10537
|
+
minArgs: 1,
|
|
10538
|
+
maxArgs: INF,
|
|
10539
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "all", i)).every((b) => b)
|
|
10540
|
+
},
|
|
10541
|
+
within: {
|
|
10542
|
+
minArgs: 2,
|
|
10543
|
+
maxArgs: 2,
|
|
10544
|
+
apply: (args, hooks) => {
|
|
10545
|
+
const windowMs = asFiniteNumber(args[1], "within", 1);
|
|
10546
|
+
if (windowMs < 0) throw new ExpressionEvalError("within: the window must not be negative");
|
|
10547
|
+
const at = args[0];
|
|
10548
|
+
if (at === null) return false;
|
|
10549
|
+
const ts = asFiniteNumber(at, "within", 0);
|
|
10550
|
+
const now = hooks.now;
|
|
10551
|
+
if (now === void 0 || !Number.isFinite(now)) throw new ExpressionEvalError("within: no clock was supplied to this evaluation");
|
|
10552
|
+
const inside = now - ts <= windowMs;
|
|
10553
|
+
if (inside) hooks.noteDeadline?.(ts + windowMs + 1);
|
|
10554
|
+
return inside;
|
|
10555
|
+
}
|
|
10556
|
+
},
|
|
10557
|
+
latest: {
|
|
10558
|
+
minArgs: 1,
|
|
10559
|
+
maxArgs: INF,
|
|
10560
|
+
apply: (args) => {
|
|
10561
|
+
const present = args.flatMap((a, i) => a === null ? [] : [asFiniteNumber(a, "latest", i)]);
|
|
10562
|
+
return present.length === 0 ? null : finiteResult(Math.max(...present), "latest");
|
|
10563
|
+
}
|
|
10454
10564
|
}
|
|
10455
10565
|
};
|
|
10456
10566
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -11065,7 +11175,7 @@ var AutomationActionSchema = discriminatedUnion("kind", [
|
|
|
11065
11175
|
code: string().min(1).max(2e4)
|
|
11066
11176
|
})
|
|
11067
11177
|
]);
|
|
11068
|
-
object({
|
|
11178
|
+
var AutomationRecipeSchema = object({
|
|
11069
11179
|
triggers: array(AutomationTriggerSchema),
|
|
11070
11180
|
conditions: AutomationConditionSchema.optional(),
|
|
11071
11181
|
actions: array(AutomationActionSchema)
|
|
@@ -11550,12 +11660,32 @@ var AudioClassificationLabelSchema = object({
|
|
|
11550
11660
|
originalClass: string().optional(),
|
|
11551
11661
|
score: number()
|
|
11552
11662
|
});
|
|
11663
|
+
/**
|
|
11664
|
+
* Did the classifier RUN on this window? (D660)
|
|
11665
|
+
*
|
|
11666
|
+
* `classified` with no labels means the model heard nothing above the
|
|
11667
|
+
* camera's floor. `not-classified` means nobody listened — and until D660 the
|
|
11668
|
+
* two were the same shape (`classification` absent), so a window the global
|
|
11669
|
+
* busy gate threw away read downstream exactly like a quiet one (D393).
|
|
11670
|
+
*/
|
|
11671
|
+
var AudioClassifyOutcomeSchema = discriminatedUnion("state", [object({ state: literal("classified") }), object({
|
|
11672
|
+
state: literal("not-classified"),
|
|
11673
|
+
reason: _enum([
|
|
11674
|
+
"superseded",
|
|
11675
|
+
"error",
|
|
11676
|
+
"timeout",
|
|
11677
|
+
"disposed"
|
|
11678
|
+
])
|
|
11679
|
+
})]);
|
|
11553
11680
|
var AudioAnalysisResultSchema = object({
|
|
11554
11681
|
level: AudioLevelSchema,
|
|
11682
|
+
/** Labels at or above the camera's floor. Absent = none — read `classifyOutcome` to know whether the model ran at all. */
|
|
11555
11683
|
classification: object({
|
|
11556
11684
|
labels: array(AudioClassificationLabelSchema).readonly(),
|
|
11557
11685
|
inferenceMs: number()
|
|
11558
11686
|
}).optional(),
|
|
11687
|
+
/** Whether the classifier ran on this window (D660). */
|
|
11688
|
+
classifyOutcome: AudioClassifyOutcomeSchema,
|
|
11559
11689
|
timestamp: number()
|
|
11560
11690
|
});
|
|
11561
11691
|
var AudioAnalysisSettingsSchema = object({
|
|
@@ -13113,6 +13243,195 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
13113
13243
|
}),
|
|
13114
13244
|
lastChangedAt: number()
|
|
13115
13245
|
});
|
|
13246
|
+
/** A composed device's stableId is this prefix plus the block id. */
|
|
13247
|
+
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
13248
|
+
/** Longest snippet a `code` source may carry (slice 4). */
|
|
13249
|
+
var MAX_COMPOSITION_CODE_LENGTH = 2e4;
|
|
13250
|
+
var CompositionSourceRefSchema = object({
|
|
13251
|
+
/** The owning addon; `stableId` is unique only within it. */
|
|
13252
|
+
addonId: string().min(1),
|
|
13253
|
+
stableId: string().min(1)
|
|
13254
|
+
});
|
|
13255
|
+
/** One field of one capability of one source device. */
|
|
13256
|
+
var CompositionFieldReadSchema = object({
|
|
13257
|
+
source: CompositionSourceRefSchema,
|
|
13258
|
+
cap: string().min(1),
|
|
13259
|
+
/** Dotted path into the source cap's runtime-state slice. */
|
|
13260
|
+
fieldPath: string().min(1)
|
|
13261
|
+
});
|
|
13262
|
+
/** `from`: copy one source field verbatim. It is also an expression's `from` binding. */
|
|
13263
|
+
var CompositionFromSourceSchema = CompositionFieldReadSchema.extend({ kind: literal("from") });
|
|
13264
|
+
var CompositionBindingSchema = discriminatedUnion("kind", [CompositionFromSourceSchema, object({
|
|
13265
|
+
kind: literal("literal"),
|
|
13266
|
+
value: union([
|
|
13267
|
+
string(),
|
|
13268
|
+
number(),
|
|
13269
|
+
boolean(),
|
|
13270
|
+
_null()
|
|
13271
|
+
])
|
|
13272
|
+
})]);
|
|
13273
|
+
/**
|
|
13274
|
+
* `expression`: a formula over named bindings, in the salvaged expression
|
|
13275
|
+
* engine. Validated at parse by the SAME function every other consumer runs,
|
|
13276
|
+
* so the editor and the store cannot disagree.
|
|
13277
|
+
*/
|
|
13278
|
+
var CompositionExpressionSourceSchema = object({
|
|
13279
|
+
kind: literal("expression"),
|
|
13280
|
+
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
13281
|
+
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
|
|
13282
|
+
}).superRefine((src, ctx) => {
|
|
13283
|
+
const err = validateExpressionSource(src);
|
|
13284
|
+
if (err !== null) ctx.addIssue({
|
|
13285
|
+
code: "custom",
|
|
13286
|
+
message: err,
|
|
13287
|
+
path: ["expr"]
|
|
13288
|
+
});
|
|
13289
|
+
});
|
|
13290
|
+
/** `code`: RESERVED for slice 4 (own runner, one-way eject). */
|
|
13291
|
+
var CompositionCodeSourceSchema = object({
|
|
13292
|
+
kind: literal("code"),
|
|
13293
|
+
code: string().min(1).max(MAX_COMPOSITION_CODE_LENGTH)
|
|
13294
|
+
});
|
|
13295
|
+
var CompositionFieldSourceSchema = discriminatedUnion("kind", [
|
|
13296
|
+
CompositionFromSourceSchema,
|
|
13297
|
+
CompositionExpressionSourceSchema,
|
|
13298
|
+
CompositionCodeSourceSchema
|
|
13299
|
+
]);
|
|
13300
|
+
var CompositionCommandTargetSchema = discriminatedUnion("kind", [object({
|
|
13301
|
+
kind: literal("forward"),
|
|
13302
|
+
source: CompositionSourceRefSchema,
|
|
13303
|
+
cap: string().min(1),
|
|
13304
|
+
method: string().min(1)
|
|
13305
|
+
}), CompositionCodeSourceSchema]);
|
|
13306
|
+
var CompositionFeatureSchema = discriminatedUnion("kind", [object({
|
|
13307
|
+
kind: literal("fields"),
|
|
13308
|
+
cap: string().min(1),
|
|
13309
|
+
fields: record(string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
|
|
13310
|
+
/** RESERVED for slice 3; refused by the validator when non-empty. */
|
|
13311
|
+
commands: record(string().min(1), CompositionCommandTargetSchema).optional()
|
|
13312
|
+
}), object({
|
|
13313
|
+
kind: literal("passthrough"),
|
|
13314
|
+
cap: string().min(1),
|
|
13315
|
+
source: CompositionSourceRefSchema
|
|
13316
|
+
})]);
|
|
13317
|
+
var CompositionSchema = object({
|
|
13318
|
+
target: discriminatedUnion("kind", [object({
|
|
13319
|
+
kind: literal("new"),
|
|
13320
|
+
type: _enum(DeviceType),
|
|
13321
|
+
role: _enum(DeviceRole).optional()
|
|
13322
|
+
}), object({
|
|
13323
|
+
kind: literal("existing"),
|
|
13324
|
+
device: CompositionSourceRefSchema
|
|
13325
|
+
})]),
|
|
13326
|
+
features: array(CompositionFeatureSchema).min(1).max(16)
|
|
13327
|
+
}).superRefine((composition, ctx) => {
|
|
13328
|
+
const seen = /* @__PURE__ */ new Set();
|
|
13329
|
+
composition.features.forEach((feature, index) => {
|
|
13330
|
+
if (seen.has(feature.cap)) ctx.addIssue({
|
|
13331
|
+
code: "custom",
|
|
13332
|
+
message: `capability \`${feature.cap}\` is composed twice — one feature per capability`,
|
|
13333
|
+
path: [
|
|
13334
|
+
"features",
|
|
13335
|
+
index,
|
|
13336
|
+
"cap"
|
|
13337
|
+
]
|
|
13338
|
+
});
|
|
13339
|
+
seen.add(feature.cap);
|
|
13340
|
+
});
|
|
13341
|
+
});
|
|
13342
|
+
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.celsius`. */
|
|
13343
|
+
var CompositionProblemSchema = object({
|
|
13344
|
+
code: _enum([
|
|
13345
|
+
"reserved-variant",
|
|
13346
|
+
"unknown-capability",
|
|
13347
|
+
"not-composable",
|
|
13348
|
+
"wrong-device-type",
|
|
13349
|
+
"has-commands",
|
|
13350
|
+
"unknown-field",
|
|
13351
|
+
"nested-field",
|
|
13352
|
+
"missing-field",
|
|
13353
|
+
"kind-mismatch",
|
|
13354
|
+
"may-be-null",
|
|
13355
|
+
"source-missing",
|
|
13356
|
+
"source-unreadable",
|
|
13357
|
+
"source-capability-missing",
|
|
13358
|
+
"source-field-unknown",
|
|
13359
|
+
"expression-invalid",
|
|
13360
|
+
"cycle",
|
|
13361
|
+
"duplicate-target"
|
|
13362
|
+
]),
|
|
13363
|
+
path: string(),
|
|
13364
|
+
message: string()
|
|
13365
|
+
});
|
|
13366
|
+
var CompositionFieldKindSchema = _enum([
|
|
13367
|
+
"string",
|
|
13368
|
+
"number",
|
|
13369
|
+
"boolean",
|
|
13370
|
+
"enum"
|
|
13371
|
+
]);
|
|
13372
|
+
/** How a field says "unavailable": `null` when its schema allows it, else the device goes offline (D393). */
|
|
13373
|
+
var CompositionUnavailableModeSchema = _enum(["null", "offline"]);
|
|
13374
|
+
/**
|
|
13375
|
+
* `derived` reads a source · `clock` reads only `now`, recomputed when a sibling
|
|
13376
|
+
* field of its cap changes value · `constant` reads nothing, computed once.
|
|
13377
|
+
*/
|
|
13378
|
+
var CompositionFieldRoleSchema = _enum([
|
|
13379
|
+
"derived",
|
|
13380
|
+
"clock",
|
|
13381
|
+
"constant"
|
|
13382
|
+
]);
|
|
13383
|
+
var CompositionFieldPlanSchema = object({
|
|
13384
|
+
cap: string(),
|
|
13385
|
+
path: string(),
|
|
13386
|
+
/** Index into `composition.features` this field's capability came from —
|
|
13387
|
+
* lets a source/cycle problem name its path as `features[N].fields.<path>`
|
|
13388
|
+
* (the same convention `planComposition`'s own problems already use). */
|
|
13389
|
+
featureIndex: number().int().nonnegative(),
|
|
13390
|
+
kind: CompositionFieldKindSchema,
|
|
13391
|
+
nullable: boolean(),
|
|
13392
|
+
required: boolean(),
|
|
13393
|
+
unavailable: CompositionUnavailableModeSchema,
|
|
13394
|
+
role: CompositionFieldRoleSchema,
|
|
13395
|
+
source: CompositionFieldSourceSchema,
|
|
13396
|
+
reads: array(CompositionFieldReadSchema)
|
|
13397
|
+
});
|
|
13398
|
+
var CompositionValidationSchema = object({
|
|
13399
|
+
ok: boolean(),
|
|
13400
|
+
problems: array(CompositionProblemSchema),
|
|
13401
|
+
fields: array(CompositionFieldPlanSchema)
|
|
13402
|
+
});
|
|
13403
|
+
/** Mirrors `CoreBlockStatus`, pinned by `core-blocks-source.spec.ts` (Task 11). */
|
|
13404
|
+
var CompositionRunStatusSchema = _enum([
|
|
13405
|
+
"stopped",
|
|
13406
|
+
"starting",
|
|
13407
|
+
"running",
|
|
13408
|
+
"failed"
|
|
13409
|
+
]);
|
|
13410
|
+
var CompositionFieldStateKindSchema = _enum([
|
|
13411
|
+
"fresh",
|
|
13412
|
+
"stale",
|
|
13413
|
+
"unavailable"
|
|
13414
|
+
]);
|
|
13415
|
+
var CompositionFieldStateSchema = object({
|
|
13416
|
+
cap: string(),
|
|
13417
|
+
path: string(),
|
|
13418
|
+
state: CompositionFieldStateKindSchema,
|
|
13419
|
+
/** `null` whenever `state === 'unavailable'`; never a plausible stand-in (D393). */
|
|
13420
|
+
value: union([
|
|
13421
|
+
string(),
|
|
13422
|
+
number(),
|
|
13423
|
+
boolean(),
|
|
13424
|
+
_null()
|
|
13425
|
+
]),
|
|
13426
|
+
reason: string().optional()
|
|
13427
|
+
});
|
|
13428
|
+
var CompositionBlockStateSchema = object({
|
|
13429
|
+
blockId: string(),
|
|
13430
|
+
deviceId: number().nullable(),
|
|
13431
|
+
status: CompositionRunStatusSchema,
|
|
13432
|
+
reason: string().optional(),
|
|
13433
|
+
fields: array(CompositionFieldStateSchema)
|
|
13434
|
+
});
|
|
13116
13435
|
/** Where a block runs. The operator chooses — a block driving a device on an
|
|
13117
13436
|
* agent is the reason placement is not fixed to the hub. */
|
|
13118
13437
|
var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
|
|
@@ -13139,6 +13458,30 @@ var CoreBlockInputSchema = object({
|
|
|
13139
13458
|
*/
|
|
13140
13459
|
integrationId: string().optional()
|
|
13141
13460
|
});
|
|
13461
|
+
/**
|
|
13462
|
+
* What a block IS (D659). Absent means `code` — every row stored before this
|
|
13463
|
+
* union keeps working unchanged.
|
|
13464
|
+
* - `code`: the TypeScript in `code`, compiled and run in its own runner;
|
|
13465
|
+
* - `recipe`: RESERVED (automations), stored shape only; refused at run by name;
|
|
13466
|
+
* - `composition`: declarative, run by the shared `composer`; `code` is `''`.
|
|
13467
|
+
*/
|
|
13468
|
+
var CoreBlockSourceSchema = discriminatedUnion("kind", [
|
|
13469
|
+
object({ kind: literal("code") }),
|
|
13470
|
+
object({
|
|
13471
|
+
kind: literal("recipe"),
|
|
13472
|
+
recipe: AutomationRecipeSchema
|
|
13473
|
+
}),
|
|
13474
|
+
object({
|
|
13475
|
+
kind: literal("composition"),
|
|
13476
|
+
composition: CompositionSchema
|
|
13477
|
+
})
|
|
13478
|
+
]);
|
|
13479
|
+
/** The client-authored half of a composition block. No `code`, no placement (hub-only; Phase 7). */
|
|
13480
|
+
var CompositionBlockInputSchema = object({
|
|
13481
|
+
name: string().min(1).max(120),
|
|
13482
|
+
enabled: boolean(),
|
|
13483
|
+
composition: CompositionSchema
|
|
13484
|
+
});
|
|
13142
13485
|
/** A stored block. */
|
|
13143
13486
|
var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
13144
13487
|
id: string(),
|
|
@@ -13154,8 +13497,38 @@ var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
|
13154
13497
|
*/
|
|
13155
13498
|
lastError: string().optional(),
|
|
13156
13499
|
/** Ms epoch of the last state change. */
|
|
13157
|
-
lastChangedAt: number()
|
|
13500
|
+
lastChangedAt: number(),
|
|
13501
|
+
/** What the block is. Absent means `code` (D659). */
|
|
13502
|
+
source: CoreBlockSourceSchema.optional()
|
|
13503
|
+
});
|
|
13504
|
+
/** A stored composition block and what the composer says about it. */
|
|
13505
|
+
var CompositionViewSchema = object({
|
|
13506
|
+
block: CoreBlockSchema,
|
|
13507
|
+
state: discriminatedUnion("kind", [object({
|
|
13508
|
+
kind: literal("answered"),
|
|
13509
|
+
state: CompositionBlockStateSchema.nullable()
|
|
13510
|
+
}), object({
|
|
13511
|
+
kind: literal("unreachable"),
|
|
13512
|
+
error: string()
|
|
13513
|
+
})])
|
|
13158
13514
|
});
|
|
13515
|
+
/**
|
|
13516
|
+
* A read of the stored compositions. `not-loaded` while the `core_blocks`
|
|
13517
|
+
* table has not been READ: an empty answer then would make "not yet known"
|
|
13518
|
+
* look like "none", and invite the operator to recreate what exists (D315).
|
|
13519
|
+
*/
|
|
13520
|
+
var CompositionsNotLoadedSchema = object({
|
|
13521
|
+
state: literal("not-loaded"),
|
|
13522
|
+
reason: string()
|
|
13523
|
+
});
|
|
13524
|
+
var CompositionListReadSchema = discriminatedUnion("state", [object({
|
|
13525
|
+
state: literal("loaded"),
|
|
13526
|
+
views: array(CompositionViewSchema)
|
|
13527
|
+
}), CompositionsNotLoadedSchema]);
|
|
13528
|
+
var CompositionGetReadSchema = discriminatedUnion("state", [object({
|
|
13529
|
+
state: literal("loaded"),
|
|
13530
|
+
view: CompositionViewSchema.nullable()
|
|
13531
|
+
}), CompositionsNotLoadedSchema]);
|
|
13159
13532
|
/** What a compile attempt produced. */
|
|
13160
13533
|
var CoreBlockCompileResultSchema = object({
|
|
13161
13534
|
ok: boolean(),
|
|
@@ -13193,7 +13566,72 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
|
|
|
13193
13566
|
}), method(object({}), object({ libs: array(object({
|
|
13194
13567
|
filePath: string(),
|
|
13195
13568
|
content: string()
|
|
13196
|
-
})) }), { auth: "admin" })
|
|
13569
|
+
})) }), { auth: "admin" }), method(object({ block: CompositionBlockInputSchema }), object({ block: CoreBlockSchema }), {
|
|
13570
|
+
kind: "mutation",
|
|
13571
|
+
auth: "admin",
|
|
13572
|
+
caller: "required"
|
|
13573
|
+
}), method(object({
|
|
13574
|
+
blockId: string(),
|
|
13575
|
+
expectedUpdatedAt: number(),
|
|
13576
|
+
block: CompositionBlockInputSchema.partial()
|
|
13577
|
+
}), object({ block: CoreBlockSchema }), {
|
|
13578
|
+
kind: "mutation",
|
|
13579
|
+
auth: "admin",
|
|
13580
|
+
caller: "required"
|
|
13581
|
+
}), method(object({ blockId: string() }), CompositionGetReadSchema, { auth: "admin" }), method(object({}), CompositionListReadSchema, { auth: "admin" }), method(object({
|
|
13582
|
+
composition: CompositionSchema,
|
|
13583
|
+
blockId: string().optional()
|
|
13584
|
+
}), CompositionValidationSchema, {
|
|
13585
|
+
kind: "mutation",
|
|
13586
|
+
auth: "admin",
|
|
13587
|
+
access: "view"
|
|
13588
|
+
});
|
|
13589
|
+
var ComposerBlockSchema = object({
|
|
13590
|
+
id: string().min(1),
|
|
13591
|
+
name: string().min(1).max(120),
|
|
13592
|
+
enabled: boolean(),
|
|
13593
|
+
updatedAt: number(),
|
|
13594
|
+
composition: CompositionSchema
|
|
13595
|
+
});
|
|
13596
|
+
/**
|
|
13597
|
+
* A stored composition row that no longer PARSES — a schema a release
|
|
13598
|
+
* tightened, a row written by a newer build. Sent by id so the composer keeps
|
|
13599
|
+
* its device as a placeholder and reports the block `failed` naming the parse
|
|
13600
|
+
* error. Leaving it out would read, twice, exactly like a delete (D49).
|
|
13601
|
+
*/
|
|
13602
|
+
var ComposerUnreadableBlockSchema = object({
|
|
13603
|
+
id: string().min(1),
|
|
13604
|
+
/** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
|
|
13605
|
+
name: string().nullable(),
|
|
13606
|
+
/** The parse error, in the operator's words. */
|
|
13607
|
+
error: string()
|
|
13608
|
+
});
|
|
13609
|
+
method(object({
|
|
13610
|
+
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
13611
|
+
integrationId: string().nullable(),
|
|
13612
|
+
/** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
|
|
13613
|
+
storeLoaded: boolean(),
|
|
13614
|
+
blocks: array(ComposerBlockSchema),
|
|
13615
|
+
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
13616
|
+
restartBlockIds: array(string()),
|
|
13617
|
+
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
13618
|
+
unreadableBlocks: array(ComposerUnreadableBlockSchema)
|
|
13619
|
+
}), object({
|
|
13620
|
+
blocks: array(object({
|
|
13621
|
+
blockId: string(),
|
|
13622
|
+
status: CompositionRunStatusSchema,
|
|
13623
|
+
reason: string().optional()
|
|
13624
|
+
})),
|
|
13625
|
+
/**
|
|
13626
|
+
* False when the composer declared and withdrew NOTHING (store not loaded,
|
|
13627
|
+
* integration unknown, its own rows unread or read empty once). An empty
|
|
13628
|
+
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
13629
|
+
*/
|
|
13630
|
+
acted: boolean()
|
|
13631
|
+
}), {
|
|
13632
|
+
kind: "mutation",
|
|
13633
|
+
auth: "admin"
|
|
13634
|
+
}), method(object({ blockIds: array(string()) }), object({ states: array(CompositionBlockStateSchema) }), { auth: "admin" });
|
|
13197
13635
|
/**
|
|
13198
13636
|
* `custom-model-registry` — collection cap exposing operator-registered
|
|
13199
13637
|
* custom detection models. Each provider (today: `addon-model-studio`)
|
|
@@ -18960,8 +19398,8 @@ var NcTestResultSchema = object({
|
|
|
18960
19398
|
className: string().optional(),
|
|
18961
19399
|
label: string().optional()
|
|
18962
19400
|
});
|
|
18963
|
-
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
18964
|
-
*
|
|
19401
|
+
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
19402
|
+
* `z.infer` of this schema — one shape, no twin. `mixed` is DERIVED
|
|
18965
19403
|
* (a stored system rule whose kinds span families, D637) and never authored. */
|
|
18966
19404
|
var NcRuleKindSchema = _enum([
|
|
18967
19405
|
"detection",
|
|
@@ -20860,6 +21298,13 @@ var AudioEventSchema = object({
|
|
|
20860
21298
|
originalClass: string().optional(),
|
|
20861
21299
|
score: number()
|
|
20862
21300
|
}).optional(),
|
|
21301
|
+
/**
|
|
21302
|
+
* Whether the classifier RAN on the window behind this row (D660). Absent
|
|
21303
|
+
* on rows written before D660 — unknown, NOT classified: until then a
|
|
21304
|
+
* window the analyzer's busy gate threw away was stored exactly like one
|
|
21305
|
+
* that heard nothing above the floor.
|
|
21306
|
+
*/
|
|
21307
|
+
classifyOutcome: AudioClassifyOutcomeSchema.optional(),
|
|
20863
21308
|
/** Populated by B5 (recording playback URL for this event). */
|
|
20864
21309
|
mediaUrl: string().optional()
|
|
20865
21310
|
});
|
|
@@ -35024,6 +35469,38 @@ DeviceType.Camera, method(object({
|
|
|
35024
35469
|
detection: array(ZoneRuleSchema).readonly(),
|
|
35025
35470
|
package: array(ZoneRuleSchema).readonly()
|
|
35026
35471
|
});
|
|
35472
|
+
var NUMBER = {
|
|
35473
|
+
kind: "fixed",
|
|
35474
|
+
result: ["number"]
|
|
35475
|
+
};
|
|
35476
|
+
var BOOLEAN = {
|
|
35477
|
+
kind: "fixed",
|
|
35478
|
+
result: ["boolean"]
|
|
35479
|
+
};
|
|
35480
|
+
Object.freeze({
|
|
35481
|
+
min: NUMBER,
|
|
35482
|
+
max: NUMBER,
|
|
35483
|
+
abs: NUMBER,
|
|
35484
|
+
floor: NUMBER,
|
|
35485
|
+
ceil: NUMBER,
|
|
35486
|
+
sqrt: NUMBER,
|
|
35487
|
+
round: NUMBER,
|
|
35488
|
+
pow: NUMBER,
|
|
35489
|
+
clamp: NUMBER,
|
|
35490
|
+
avg: NUMBER,
|
|
35491
|
+
sum: NUMBER,
|
|
35492
|
+
age: NUMBER,
|
|
35493
|
+
convert: NUMBER,
|
|
35494
|
+
coalesce: { kind: "coalesce" },
|
|
35495
|
+
any: BOOLEAN,
|
|
35496
|
+
all: BOOLEAN,
|
|
35497
|
+
within: BOOLEAN,
|
|
35498
|
+
latest: {
|
|
35499
|
+
kind: "fixed",
|
|
35500
|
+
result: ["number", "null"]
|
|
35501
|
+
}
|
|
35502
|
+
});
|
|
35503
|
+
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
35027
35504
|
/**
|
|
35028
35505
|
* Accessory device helpers — shared across drivers.
|
|
35029
35506
|
*
|
|
@@ -37332,6 +37809,18 @@ Object.freeze({
|
|
|
37332
37809
|
addonId: null,
|
|
37333
37810
|
access: "create"
|
|
37334
37811
|
},
|
|
37812
|
+
"composer.applyBlocks": {
|
|
37813
|
+
capName: "composer",
|
|
37814
|
+
capScope: "system",
|
|
37815
|
+
addonId: null,
|
|
37816
|
+
access: "create"
|
|
37817
|
+
},
|
|
37818
|
+
"composer.getStates": {
|
|
37819
|
+
capName: "composer",
|
|
37820
|
+
capScope: "system",
|
|
37821
|
+
addonId: null,
|
|
37822
|
+
access: "view"
|
|
37823
|
+
},
|
|
37335
37824
|
"connectionTest.describeTest": {
|
|
37336
37825
|
capName: "connection-test",
|
|
37337
37826
|
capScope: "system",
|
|
@@ -37392,6 +37881,12 @@ Object.freeze({
|
|
|
37392
37881
|
addonId: null,
|
|
37393
37882
|
access: "create"
|
|
37394
37883
|
},
|
|
37884
|
+
"coreBlocks.createComposition": {
|
|
37885
|
+
capName: "core-blocks",
|
|
37886
|
+
capScope: "system",
|
|
37887
|
+
addonId: null,
|
|
37888
|
+
access: "create"
|
|
37889
|
+
},
|
|
37395
37890
|
"coreBlocks.delete": {
|
|
37396
37891
|
capName: "core-blocks",
|
|
37397
37892
|
capScope: "system",
|
|
@@ -37404,6 +37899,12 @@ Object.freeze({
|
|
|
37404
37899
|
addonId: null,
|
|
37405
37900
|
access: "view"
|
|
37406
37901
|
},
|
|
37902
|
+
"coreBlocks.getComposition": {
|
|
37903
|
+
capName: "core-blocks",
|
|
37904
|
+
capScope: "system",
|
|
37905
|
+
addonId: null,
|
|
37906
|
+
access: "view"
|
|
37907
|
+
},
|
|
37407
37908
|
"coreBlocks.getTypeDefs": {
|
|
37408
37909
|
capName: "core-blocks",
|
|
37409
37910
|
capScope: "system",
|
|
@@ -37416,6 +37917,12 @@ Object.freeze({
|
|
|
37416
37917
|
addonId: null,
|
|
37417
37918
|
access: "view"
|
|
37418
37919
|
},
|
|
37920
|
+
"coreBlocks.listCompositions": {
|
|
37921
|
+
capName: "core-blocks",
|
|
37922
|
+
capScope: "system",
|
|
37923
|
+
addonId: null,
|
|
37924
|
+
access: "view"
|
|
37925
|
+
},
|
|
37419
37926
|
"coreBlocks.restart": {
|
|
37420
37927
|
capName: "core-blocks",
|
|
37421
37928
|
capScope: "system",
|
|
@@ -37434,6 +37941,18 @@ Object.freeze({
|
|
|
37434
37941
|
addonId: null,
|
|
37435
37942
|
access: "create"
|
|
37436
37943
|
},
|
|
37944
|
+
"coreBlocks.updateComposition": {
|
|
37945
|
+
capName: "core-blocks",
|
|
37946
|
+
capScope: "system",
|
|
37947
|
+
addonId: null,
|
|
37948
|
+
access: "create"
|
|
37949
|
+
},
|
|
37950
|
+
"coreBlocks.validateComposition": {
|
|
37951
|
+
capName: "core-blocks",
|
|
37952
|
+
capScope: "system",
|
|
37953
|
+
addonId: null,
|
|
37954
|
+
access: "view"
|
|
37955
|
+
},
|
|
37437
37956
|
"cover.close": {
|
|
37438
37957
|
capName: "cover",
|
|
37439
37958
|
capScope: "device",
|
|
@@ -46672,6 +47191,7 @@ var FRIGATE_PUBLIC_CATALOG = [{
|
|
|
46672
47191
|
"toothbrush",
|
|
46673
47192
|
"hair brush"
|
|
46674
47193
|
],
|
|
47194
|
+
license: CORAL_MOBILEDET_APACHE,
|
|
46675
47195
|
notes: "Frigate's default detection model (the one a stock Frigate + Coral install runs). EdgeTPU-compiled full-integer TFLite, 320×320, TFLite_Detection_PostProcess output → ssd decode. Requires a Coral (tflite format) node."
|
|
46676
47196
|
}];
|
|
46677
47197
|
/**
|
|
@@ -46702,6 +47222,7 @@ function buildFrigateCatalogDescriptor(catalogId, overrides) {
|
|
|
46702
47222
|
})),
|
|
46703
47223
|
preprocessMode: "letterbox",
|
|
46704
47224
|
provider: "frigate",
|
|
47225
|
+
license: cat.license,
|
|
46705
47226
|
group: frigateVariantGroup("mobiledet", cat.inputSize),
|
|
46706
47227
|
...cat.postprocessor !== void 0 ? { postprocessor: cat.postprocessor } : {}
|
|
46707
47228
|
}
|