@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
|
@@ -57,6 +57,50 @@ function assertScryptedDownloadUrl(url, _hop) {
|
|
|
57
57
|
//#region src/scrypted/scrypted-yolo-manifest-data.json
|
|
58
58
|
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}]");
|
|
59
59
|
//#endregion
|
|
60
|
+
//#region src/model-licenses.ts
|
|
61
|
+
/**
|
|
62
|
+
* Scrypted's YOLOv9 ReLU detectors. Checked 2026-09-27 on
|
|
63
|
+
* `onnx/scrypted_yolov9t_relu/scrypted_yolov9t_relu.onnx` at the pinned
|
|
64
|
+
* revision: no licence in the ONNX metadata, and the export's node traces name
|
|
65
|
+
* `models.yolo.DetectionModel` / `models.common.Conv` from a `yolov9/` checkout
|
|
66
|
+
* — WongKinYiu's YOLOv9 code (GPL-3.0), not Ultralytics. The repository's HF
|
|
67
|
+
* card says `license: mit` at repository level; nothing states terms per model
|
|
68
|
+
* or names the training data. So: code GPL-3.0, weights UNKNOWN.
|
|
69
|
+
*/
|
|
70
|
+
var SCRYPTED_YOLOV9_UNKNOWN = {
|
|
71
|
+
weights: "UNKNOWN",
|
|
72
|
+
code: "GPL-3.0",
|
|
73
|
+
data: {
|
|
74
|
+
name: "not stated by Scrypted",
|
|
75
|
+
terms: "UNKNOWN"
|
|
76
|
+
},
|
|
77
|
+
upstream: {
|
|
78
|
+
name: "Scrypted plugin-models (repository tagged MIT, no per-model terms)",
|
|
79
|
+
url: "https://huggingface.co/scrypted/plugin-models"
|
|
80
|
+
},
|
|
81
|
+
url: "https://huggingface.co/scrypted/plugin-models",
|
|
82
|
+
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).",
|
|
83
|
+
modifications: "none: downloaded as published, at a pinned revision",
|
|
84
|
+
hosting: "third-party"
|
|
85
|
+
};
|
|
86
|
+
/** Frigate's default Coral model: Google's SSDLite MobileDet, Apache-2.0. */
|
|
87
|
+
var CORAL_MOBILEDET_APACHE = {
|
|
88
|
+
weights: "Apache-2.0",
|
|
89
|
+
code: "Apache-2.0",
|
|
90
|
+
data: {
|
|
91
|
+
name: "COCO 2017",
|
|
92
|
+
terms: "annotations CC-BY-4.0; images under their Flickr owners' terms",
|
|
93
|
+
url: "https://cocodataset.org/#termsofuse"
|
|
94
|
+
},
|
|
95
|
+
upstream: {
|
|
96
|
+
name: "Google Coral test_data",
|
|
97
|
+
url: "https://github.com/google-coral/test_data"
|
|
98
|
+
},
|
|
99
|
+
url: "https://github.com/google-coral/test_data/blob/master/LICENSE",
|
|
100
|
+
attribution: "Coral Edge TPU models and AIY Vision Birds V1 © Google LLC, Apache-2.0.",
|
|
101
|
+
hosting: "third-party"
|
|
102
|
+
};
|
|
103
|
+
//#endregion
|
|
60
104
|
//#region src/scrypted/scrypted-yolo-manifest.ts
|
|
61
105
|
var SCRYPTED_SHA256_RE = /^[0-9a-f]{64}$/;
|
|
62
106
|
var SCRYPTED_HF_HOST = "https://huggingface.co";
|
|
@@ -131,7 +175,8 @@ function buildModel(spec) {
|
|
|
131
175
|
preprocessMode: "resize",
|
|
132
176
|
classMap: SCRYPTED_IDENTITY_CLASS_MAP,
|
|
133
177
|
group,
|
|
134
|
-
provider: "scrypted"
|
|
178
|
+
provider: "scrypted",
|
|
179
|
+
license: SCRYPTED_YOLOV9_UNKNOWN
|
|
135
180
|
};
|
|
136
181
|
}
|
|
137
182
|
if (spec.format === "openvino") {
|
|
@@ -154,7 +199,8 @@ function buildModel(spec) {
|
|
|
154
199
|
preprocessMode: "resize",
|
|
155
200
|
classMap: SCRYPTED_IDENTITY_CLASS_MAP,
|
|
156
201
|
group,
|
|
157
|
-
provider: "scrypted"
|
|
202
|
+
provider: "scrypted",
|
|
203
|
+
license: SCRYPTED_YOLOV9_UNKNOWN
|
|
158
204
|
};
|
|
159
205
|
}
|
|
160
206
|
const main = spec.files[0];
|
|
@@ -173,7 +219,8 @@ function buildModel(spec) {
|
|
|
173
219
|
preprocessMode: "resize",
|
|
174
220
|
classMap: SCRYPTED_IDENTITY_CLASS_MAP,
|
|
175
221
|
group,
|
|
176
|
-
provider: "scrypted"
|
|
222
|
+
provider: "scrypted",
|
|
223
|
+
license: SCRYPTED_YOLOV9_UNKNOWN
|
|
177
224
|
};
|
|
178
225
|
}
|
|
179
226
|
function freezeEntry(spec) {
|
|
@@ -10152,6 +10199,48 @@ var ModelProviderIdSchema = _enum([
|
|
|
10152
10199
|
"scrypted",
|
|
10153
10200
|
"custom"
|
|
10154
10201
|
]);
|
|
10202
|
+
/**
|
|
10203
|
+
* The licence of a model, as a record rather than a bare SPDX string: a
|
|
10204
|
+
* permissive CODE licence routinely sits on top of restrictive WEIGHTS or
|
|
10205
|
+
* DATA, and the obligations (attribution, modification notices, source offers)
|
|
10206
|
+
* are per upstream. A persisted custom-model row written when this field was a
|
|
10207
|
+
* string still parses — the string is lifted into `{ weights }`.
|
|
10208
|
+
*
|
|
10209
|
+
* Every licence surface (the admin "Models and licenses" page,
|
|
10210
|
+
* `THIRD_PARTY_MODELS.md`, the Hugging Face model table) is GENERATED from
|
|
10211
|
+
* these records by `scripts/gen-model-licenses.ts` (D661).
|
|
10212
|
+
*/
|
|
10213
|
+
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
10214
|
+
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
10215
|
+
weights: string().min(1),
|
|
10216
|
+
/** SPDX id of the upstream code that defines / trained the network. */
|
|
10217
|
+
code: string().min(1).optional(),
|
|
10218
|
+
/** Training data whose terms add obligations (attribution, non-commercial). */
|
|
10219
|
+
data: object({
|
|
10220
|
+
name: string().min(1),
|
|
10221
|
+
terms: string().min(1),
|
|
10222
|
+
url: string().url().optional()
|
|
10223
|
+
}).optional(),
|
|
10224
|
+
/** The project the weights come from. Required on built-in entries (guard). */
|
|
10225
|
+
upstream: object({
|
|
10226
|
+
name: string().min(1),
|
|
10227
|
+
url: string().url()
|
|
10228
|
+
}).optional(),
|
|
10229
|
+
/** Where the licence text governing the weights is published. */
|
|
10230
|
+
url: string().url().optional(),
|
|
10231
|
+
/** Attribution the licence REQUIRES, verbatim. */
|
|
10232
|
+
attribution: string().min(1).optional(),
|
|
10233
|
+
/** What CamStack changed. Required when `hosting` is `camstack-hf` (guard). */
|
|
10234
|
+
modifications: string().min(1).optional(),
|
|
10235
|
+
/** Who serves the file a node downloads. */
|
|
10236
|
+
hosting: _enum([
|
|
10237
|
+
"camstack-hf",
|
|
10238
|
+
"third-party",
|
|
10239
|
+
"built-in"
|
|
10240
|
+
]).optional(),
|
|
10241
|
+
/** True when the weights or their data forbid commercial use. */
|
|
10242
|
+
nonCommercial: boolean().optional()
|
|
10243
|
+
}));
|
|
10155
10244
|
var ModelCatalogEntrySchema = object({
|
|
10156
10245
|
id: string(),
|
|
10157
10246
|
name: string(),
|
|
@@ -10240,11 +10329,11 @@ var ModelCatalogEntrySchema = object({
|
|
|
10240
10329
|
p95LatencyMs: record(string(), number()).optional()
|
|
10241
10330
|
}).optional(),
|
|
10242
10331
|
/**
|
|
10243
|
-
*
|
|
10244
|
-
*
|
|
10245
|
-
*
|
|
10332
|
+
* The model's licence record — see {@link ModelLicenseSchema}. Optional in
|
|
10333
|
+
* the schema (a custom model's author may state none); REQUIRED and complete
|
|
10334
|
+
* on every built-in catalog entry (`scripts/check-catalog-licence.ts`).
|
|
10246
10335
|
*/
|
|
10247
|
-
license:
|
|
10336
|
+
license: ModelLicenseSchema.optional(),
|
|
10248
10337
|
/**
|
|
10249
10338
|
* Variant-selector grouping. The UI groups models by `family` + `tier` and
|
|
10250
10339
|
* offers `precision` / `optimization` as variant axes WITHIN a tier — so all
|
|
@@ -10340,23 +10429,6 @@ var ExpressionEvalError = class extends Error {
|
|
|
10340
10429
|
this.name = "ExpressionEvalError";
|
|
10341
10430
|
}
|
|
10342
10431
|
};
|
|
10343
|
-
/**
|
|
10344
|
-
* Frozen, null-prototype builtin function table for the expression engine
|
|
10345
|
-
* (spec §4 rule 4). The table is the SOLE surface of callable functions: the
|
|
10346
|
-
* parser rejects any callee not in it, and the evaluator gates each call on an
|
|
10347
|
-
* own-property check against it.
|
|
10348
|
-
*
|
|
10349
|
-
* Because the object has a NULL prototype AND is `Object.freeze`d:
|
|
10350
|
-
* - it cannot be polluted (no `__proto__` / `constructor` write reaches it);
|
|
10351
|
-
* - a lookup for `toString` / `hasOwnProperty` / `constructor` finds NOTHING
|
|
10352
|
-
* (there is no `Object.prototype` in the chain), so those names are not
|
|
10353
|
-
* callable — they are simply "unknown function" at parse time.
|
|
10354
|
-
*
|
|
10355
|
-
* Every numeric argument is validated as a finite number and every numeric
|
|
10356
|
-
* RESULT is re-checked finite, so `/0`, `sqrt(-1)` (→ NaN) and overflow
|
|
10357
|
-
* (`pow(10,400)` → Infinity) all raise `ExpressionEvalError` and fail the link
|
|
10358
|
-
* closed rather than emitting a garbage value.
|
|
10359
|
-
*/
|
|
10360
10432
|
function asFiniteNumber(value, name, index) {
|
|
10361
10433
|
if (typeof value !== "number" || !Number.isFinite(value)) throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a finite number`);
|
|
10362
10434
|
return value;
|
|
@@ -10372,6 +10444,10 @@ function finiteResult(value, name) {
|
|
|
10372
10444
|
function allFiniteNumbers(args, name) {
|
|
10373
10445
|
return args.map((a, idx) => asFiniteNumber(a, name, idx));
|
|
10374
10446
|
}
|
|
10447
|
+
function asBoolean$1(value, name, index) {
|
|
10448
|
+
if (typeof value !== "boolean") throw new ExpressionEvalError(`${name}: argument ${index + 1} must be a boolean`);
|
|
10449
|
+
return value;
|
|
10450
|
+
}
|
|
10375
10451
|
var INF = Number.POSITIVE_INFINITY;
|
|
10376
10452
|
var table = {
|
|
10377
10453
|
min: {
|
|
@@ -10472,6 +10548,40 @@ var table = {
|
|
|
10472
10548
|
if (from === to) return x;
|
|
10473
10549
|
throw new ExpressionEvalError("convert: unit conversion table not installed");
|
|
10474
10550
|
}
|
|
10551
|
+
},
|
|
10552
|
+
any: {
|
|
10553
|
+
minArgs: 1,
|
|
10554
|
+
maxArgs: INF,
|
|
10555
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "any", i)).some((b) => b)
|
|
10556
|
+
},
|
|
10557
|
+
all: {
|
|
10558
|
+
minArgs: 1,
|
|
10559
|
+
maxArgs: INF,
|
|
10560
|
+
apply: (args) => args.map((a, i) => asBoolean$1(a, "all", i)).every((b) => b)
|
|
10561
|
+
},
|
|
10562
|
+
within: {
|
|
10563
|
+
minArgs: 2,
|
|
10564
|
+
maxArgs: 2,
|
|
10565
|
+
apply: (args, hooks) => {
|
|
10566
|
+
const windowMs = asFiniteNumber(args[1], "within", 1);
|
|
10567
|
+
if (windowMs < 0) throw new ExpressionEvalError("within: the window must not be negative");
|
|
10568
|
+
const at = args[0];
|
|
10569
|
+
if (at === null) return false;
|
|
10570
|
+
const ts = asFiniteNumber(at, "within", 0);
|
|
10571
|
+
const now = hooks.now;
|
|
10572
|
+
if (now === void 0 || !Number.isFinite(now)) throw new ExpressionEvalError("within: no clock was supplied to this evaluation");
|
|
10573
|
+
const inside = now - ts <= windowMs;
|
|
10574
|
+
if (inside) hooks.noteDeadline?.(ts + windowMs + 1);
|
|
10575
|
+
return inside;
|
|
10576
|
+
}
|
|
10577
|
+
},
|
|
10578
|
+
latest: {
|
|
10579
|
+
minArgs: 1,
|
|
10580
|
+
maxArgs: INF,
|
|
10581
|
+
apply: (args) => {
|
|
10582
|
+
const present = args.flatMap((a, i) => a === null ? [] : [asFiniteNumber(a, "latest", i)]);
|
|
10583
|
+
return present.length === 0 ? null : finiteResult(Math.max(...present), "latest");
|
|
10584
|
+
}
|
|
10475
10585
|
}
|
|
10476
10586
|
};
|
|
10477
10587
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -11086,7 +11196,7 @@ var AutomationActionSchema = discriminatedUnion("kind", [
|
|
|
11086
11196
|
code: string().min(1).max(2e4)
|
|
11087
11197
|
})
|
|
11088
11198
|
]);
|
|
11089
|
-
object({
|
|
11199
|
+
var AutomationRecipeSchema = object({
|
|
11090
11200
|
triggers: array(AutomationTriggerSchema),
|
|
11091
11201
|
conditions: AutomationConditionSchema.optional(),
|
|
11092
11202
|
actions: array(AutomationActionSchema)
|
|
@@ -11571,12 +11681,32 @@ var AudioClassificationLabelSchema = object({
|
|
|
11571
11681
|
originalClass: string().optional(),
|
|
11572
11682
|
score: number()
|
|
11573
11683
|
});
|
|
11684
|
+
/**
|
|
11685
|
+
* Did the classifier RUN on this window? (D660)
|
|
11686
|
+
*
|
|
11687
|
+
* `classified` with no labels means the model heard nothing above the
|
|
11688
|
+
* camera's floor. `not-classified` means nobody listened — and until D660 the
|
|
11689
|
+
* two were the same shape (`classification` absent), so a window the global
|
|
11690
|
+
* busy gate threw away read downstream exactly like a quiet one (D393).
|
|
11691
|
+
*/
|
|
11692
|
+
var AudioClassifyOutcomeSchema = discriminatedUnion("state", [object({ state: literal("classified") }), object({
|
|
11693
|
+
state: literal("not-classified"),
|
|
11694
|
+
reason: _enum([
|
|
11695
|
+
"superseded",
|
|
11696
|
+
"error",
|
|
11697
|
+
"timeout",
|
|
11698
|
+
"disposed"
|
|
11699
|
+
])
|
|
11700
|
+
})]);
|
|
11574
11701
|
var AudioAnalysisResultSchema = object({
|
|
11575
11702
|
level: AudioLevelSchema,
|
|
11703
|
+
/** Labels at or above the camera's floor. Absent = none — read `classifyOutcome` to know whether the model ran at all. */
|
|
11576
11704
|
classification: object({
|
|
11577
11705
|
labels: array(AudioClassificationLabelSchema).readonly(),
|
|
11578
11706
|
inferenceMs: number()
|
|
11579
11707
|
}).optional(),
|
|
11708
|
+
/** Whether the classifier ran on this window (D660). */
|
|
11709
|
+
classifyOutcome: AudioClassifyOutcomeSchema,
|
|
11580
11710
|
timestamp: number()
|
|
11581
11711
|
});
|
|
11582
11712
|
var AudioAnalysisSettingsSchema = object({
|
|
@@ -13134,6 +13264,195 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
13134
13264
|
}),
|
|
13135
13265
|
lastChangedAt: number()
|
|
13136
13266
|
});
|
|
13267
|
+
/** A composed device's stableId is this prefix plus the block id. */
|
|
13268
|
+
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
13269
|
+
/** Longest snippet a `code` source may carry (slice 4). */
|
|
13270
|
+
var MAX_COMPOSITION_CODE_LENGTH = 2e4;
|
|
13271
|
+
var CompositionSourceRefSchema = object({
|
|
13272
|
+
/** The owning addon; `stableId` is unique only within it. */
|
|
13273
|
+
addonId: string().min(1),
|
|
13274
|
+
stableId: string().min(1)
|
|
13275
|
+
});
|
|
13276
|
+
/** One field of one capability of one source device. */
|
|
13277
|
+
var CompositionFieldReadSchema = object({
|
|
13278
|
+
source: CompositionSourceRefSchema,
|
|
13279
|
+
cap: string().min(1),
|
|
13280
|
+
/** Dotted path into the source cap's runtime-state slice. */
|
|
13281
|
+
fieldPath: string().min(1)
|
|
13282
|
+
});
|
|
13283
|
+
/** `from`: copy one source field verbatim. It is also an expression's `from` binding. */
|
|
13284
|
+
var CompositionFromSourceSchema = CompositionFieldReadSchema.extend({ kind: literal("from") });
|
|
13285
|
+
var CompositionBindingSchema = discriminatedUnion("kind", [CompositionFromSourceSchema, object({
|
|
13286
|
+
kind: literal("literal"),
|
|
13287
|
+
value: union([
|
|
13288
|
+
string(),
|
|
13289
|
+
number(),
|
|
13290
|
+
boolean(),
|
|
13291
|
+
_null()
|
|
13292
|
+
])
|
|
13293
|
+
})]);
|
|
13294
|
+
/**
|
|
13295
|
+
* `expression`: a formula over named bindings, in the salvaged expression
|
|
13296
|
+
* engine. Validated at parse by the SAME function every other consumer runs,
|
|
13297
|
+
* so the editor and the store cannot disagree.
|
|
13298
|
+
*/
|
|
13299
|
+
var CompositionExpressionSourceSchema = object({
|
|
13300
|
+
kind: literal("expression"),
|
|
13301
|
+
expr: string().min(1).max(MAX_EXPRESSION_SOURCE_LENGTH),
|
|
13302
|
+
bindings: record(string().regex(EXPRESSION_IDENTIFIER_RE), CompositionBindingSchema)
|
|
13303
|
+
}).superRefine((src, ctx) => {
|
|
13304
|
+
const err = validateExpressionSource(src);
|
|
13305
|
+
if (err !== null) ctx.addIssue({
|
|
13306
|
+
code: "custom",
|
|
13307
|
+
message: err,
|
|
13308
|
+
path: ["expr"]
|
|
13309
|
+
});
|
|
13310
|
+
});
|
|
13311
|
+
/** `code`: RESERVED for slice 4 (own runner, one-way eject). */
|
|
13312
|
+
var CompositionCodeSourceSchema = object({
|
|
13313
|
+
kind: literal("code"),
|
|
13314
|
+
code: string().min(1).max(MAX_COMPOSITION_CODE_LENGTH)
|
|
13315
|
+
});
|
|
13316
|
+
var CompositionFieldSourceSchema = discriminatedUnion("kind", [
|
|
13317
|
+
CompositionFromSourceSchema,
|
|
13318
|
+
CompositionExpressionSourceSchema,
|
|
13319
|
+
CompositionCodeSourceSchema
|
|
13320
|
+
]);
|
|
13321
|
+
var CompositionCommandTargetSchema = discriminatedUnion("kind", [object({
|
|
13322
|
+
kind: literal("forward"),
|
|
13323
|
+
source: CompositionSourceRefSchema,
|
|
13324
|
+
cap: string().min(1),
|
|
13325
|
+
method: string().min(1)
|
|
13326
|
+
}), CompositionCodeSourceSchema]);
|
|
13327
|
+
var CompositionFeatureSchema = discriminatedUnion("kind", [object({
|
|
13328
|
+
kind: literal("fields"),
|
|
13329
|
+
cap: string().min(1),
|
|
13330
|
+
fields: record(string().min(1), CompositionFieldSourceSchema).refine((fields) => Object.keys(fields).length <= 32, { message: `at most 32 fields per capability` }),
|
|
13331
|
+
/** RESERVED for slice 3; refused by the validator when non-empty. */
|
|
13332
|
+
commands: record(string().min(1), CompositionCommandTargetSchema).optional()
|
|
13333
|
+
}), object({
|
|
13334
|
+
kind: literal("passthrough"),
|
|
13335
|
+
cap: string().min(1),
|
|
13336
|
+
source: CompositionSourceRefSchema
|
|
13337
|
+
})]);
|
|
13338
|
+
var CompositionSchema = object({
|
|
13339
|
+
target: discriminatedUnion("kind", [object({
|
|
13340
|
+
kind: literal("new"),
|
|
13341
|
+
type: _enum(DeviceType),
|
|
13342
|
+
role: _enum(DeviceRole).optional()
|
|
13343
|
+
}), object({
|
|
13344
|
+
kind: literal("existing"),
|
|
13345
|
+
device: CompositionSourceRefSchema
|
|
13346
|
+
})]),
|
|
13347
|
+
features: array(CompositionFeatureSchema).min(1).max(16)
|
|
13348
|
+
}).superRefine((composition, ctx) => {
|
|
13349
|
+
const seen = /* @__PURE__ */ new Set();
|
|
13350
|
+
composition.features.forEach((feature, index) => {
|
|
13351
|
+
if (seen.has(feature.cap)) ctx.addIssue({
|
|
13352
|
+
code: "custom",
|
|
13353
|
+
message: `capability \`${feature.cap}\` is composed twice — one feature per capability`,
|
|
13354
|
+
path: [
|
|
13355
|
+
"features",
|
|
13356
|
+
index,
|
|
13357
|
+
"cap"
|
|
13358
|
+
]
|
|
13359
|
+
});
|
|
13360
|
+
seen.add(feature.cap);
|
|
13361
|
+
});
|
|
13362
|
+
});
|
|
13363
|
+
/** One refusal, named (D391). `path` points into the composition, e.g. `features[0].fields.celsius`. */
|
|
13364
|
+
var CompositionProblemSchema = object({
|
|
13365
|
+
code: _enum([
|
|
13366
|
+
"reserved-variant",
|
|
13367
|
+
"unknown-capability",
|
|
13368
|
+
"not-composable",
|
|
13369
|
+
"wrong-device-type",
|
|
13370
|
+
"has-commands",
|
|
13371
|
+
"unknown-field",
|
|
13372
|
+
"nested-field",
|
|
13373
|
+
"missing-field",
|
|
13374
|
+
"kind-mismatch",
|
|
13375
|
+
"may-be-null",
|
|
13376
|
+
"source-missing",
|
|
13377
|
+
"source-unreadable",
|
|
13378
|
+
"source-capability-missing",
|
|
13379
|
+
"source-field-unknown",
|
|
13380
|
+
"expression-invalid",
|
|
13381
|
+
"cycle",
|
|
13382
|
+
"duplicate-target"
|
|
13383
|
+
]),
|
|
13384
|
+
path: string(),
|
|
13385
|
+
message: string()
|
|
13386
|
+
});
|
|
13387
|
+
var CompositionFieldKindSchema = _enum([
|
|
13388
|
+
"string",
|
|
13389
|
+
"number",
|
|
13390
|
+
"boolean",
|
|
13391
|
+
"enum"
|
|
13392
|
+
]);
|
|
13393
|
+
/** How a field says "unavailable": `null` when its schema allows it, else the device goes offline (D393). */
|
|
13394
|
+
var CompositionUnavailableModeSchema = _enum(["null", "offline"]);
|
|
13395
|
+
/**
|
|
13396
|
+
* `derived` reads a source · `clock` reads only `now`, recomputed when a sibling
|
|
13397
|
+
* field of its cap changes value · `constant` reads nothing, computed once.
|
|
13398
|
+
*/
|
|
13399
|
+
var CompositionFieldRoleSchema = _enum([
|
|
13400
|
+
"derived",
|
|
13401
|
+
"clock",
|
|
13402
|
+
"constant"
|
|
13403
|
+
]);
|
|
13404
|
+
var CompositionFieldPlanSchema = object({
|
|
13405
|
+
cap: string(),
|
|
13406
|
+
path: string(),
|
|
13407
|
+
/** Index into `composition.features` this field's capability came from —
|
|
13408
|
+
* lets a source/cycle problem name its path as `features[N].fields.<path>`
|
|
13409
|
+
* (the same convention `planComposition`'s own problems already use). */
|
|
13410
|
+
featureIndex: number().int().nonnegative(),
|
|
13411
|
+
kind: CompositionFieldKindSchema,
|
|
13412
|
+
nullable: boolean(),
|
|
13413
|
+
required: boolean(),
|
|
13414
|
+
unavailable: CompositionUnavailableModeSchema,
|
|
13415
|
+
role: CompositionFieldRoleSchema,
|
|
13416
|
+
source: CompositionFieldSourceSchema,
|
|
13417
|
+
reads: array(CompositionFieldReadSchema)
|
|
13418
|
+
});
|
|
13419
|
+
var CompositionValidationSchema = object({
|
|
13420
|
+
ok: boolean(),
|
|
13421
|
+
problems: array(CompositionProblemSchema),
|
|
13422
|
+
fields: array(CompositionFieldPlanSchema)
|
|
13423
|
+
});
|
|
13424
|
+
/** Mirrors `CoreBlockStatus`, pinned by `core-blocks-source.spec.ts` (Task 11). */
|
|
13425
|
+
var CompositionRunStatusSchema = _enum([
|
|
13426
|
+
"stopped",
|
|
13427
|
+
"starting",
|
|
13428
|
+
"running",
|
|
13429
|
+
"failed"
|
|
13430
|
+
]);
|
|
13431
|
+
var CompositionFieldStateKindSchema = _enum([
|
|
13432
|
+
"fresh",
|
|
13433
|
+
"stale",
|
|
13434
|
+
"unavailable"
|
|
13435
|
+
]);
|
|
13436
|
+
var CompositionFieldStateSchema = object({
|
|
13437
|
+
cap: string(),
|
|
13438
|
+
path: string(),
|
|
13439
|
+
state: CompositionFieldStateKindSchema,
|
|
13440
|
+
/** `null` whenever `state === 'unavailable'`; never a plausible stand-in (D393). */
|
|
13441
|
+
value: union([
|
|
13442
|
+
string(),
|
|
13443
|
+
number(),
|
|
13444
|
+
boolean(),
|
|
13445
|
+
_null()
|
|
13446
|
+
]),
|
|
13447
|
+
reason: string().optional()
|
|
13448
|
+
});
|
|
13449
|
+
var CompositionBlockStateSchema = object({
|
|
13450
|
+
blockId: string(),
|
|
13451
|
+
deviceId: number().nullable(),
|
|
13452
|
+
status: CompositionRunStatusSchema,
|
|
13453
|
+
reason: string().optional(),
|
|
13454
|
+
fields: array(CompositionFieldStateSchema)
|
|
13455
|
+
});
|
|
13137
13456
|
/** Where a block runs. The operator chooses — a block driving a device on an
|
|
13138
13457
|
* agent is the reason placement is not fixed to the hub. */
|
|
13139
13458
|
var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
|
|
@@ -13160,6 +13479,30 @@ var CoreBlockInputSchema = object({
|
|
|
13160
13479
|
*/
|
|
13161
13480
|
integrationId: string().optional()
|
|
13162
13481
|
});
|
|
13482
|
+
/**
|
|
13483
|
+
* What a block IS (D659). Absent means `code` — every row stored before this
|
|
13484
|
+
* union keeps working unchanged.
|
|
13485
|
+
* - `code`: the TypeScript in `code`, compiled and run in its own runner;
|
|
13486
|
+
* - `recipe`: RESERVED (automations), stored shape only; refused at run by name;
|
|
13487
|
+
* - `composition`: declarative, run by the shared `composer`; `code` is `''`.
|
|
13488
|
+
*/
|
|
13489
|
+
var CoreBlockSourceSchema = discriminatedUnion("kind", [
|
|
13490
|
+
object({ kind: literal("code") }),
|
|
13491
|
+
object({
|
|
13492
|
+
kind: literal("recipe"),
|
|
13493
|
+
recipe: AutomationRecipeSchema
|
|
13494
|
+
}),
|
|
13495
|
+
object({
|
|
13496
|
+
kind: literal("composition"),
|
|
13497
|
+
composition: CompositionSchema
|
|
13498
|
+
})
|
|
13499
|
+
]);
|
|
13500
|
+
/** The client-authored half of a composition block. No `code`, no placement (hub-only; Phase 7). */
|
|
13501
|
+
var CompositionBlockInputSchema = object({
|
|
13502
|
+
name: string().min(1).max(120),
|
|
13503
|
+
enabled: boolean(),
|
|
13504
|
+
composition: CompositionSchema
|
|
13505
|
+
});
|
|
13163
13506
|
/** A stored block. */
|
|
13164
13507
|
var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
13165
13508
|
id: string(),
|
|
@@ -13175,8 +13518,38 @@ var CoreBlockSchema = CoreBlockInputSchema.extend({
|
|
|
13175
13518
|
*/
|
|
13176
13519
|
lastError: string().optional(),
|
|
13177
13520
|
/** Ms epoch of the last state change. */
|
|
13178
|
-
lastChangedAt: number()
|
|
13521
|
+
lastChangedAt: number(),
|
|
13522
|
+
/** What the block is. Absent means `code` (D659). */
|
|
13523
|
+
source: CoreBlockSourceSchema.optional()
|
|
13524
|
+
});
|
|
13525
|
+
/** A stored composition block and what the composer says about it. */
|
|
13526
|
+
var CompositionViewSchema = object({
|
|
13527
|
+
block: CoreBlockSchema,
|
|
13528
|
+
state: discriminatedUnion("kind", [object({
|
|
13529
|
+
kind: literal("answered"),
|
|
13530
|
+
state: CompositionBlockStateSchema.nullable()
|
|
13531
|
+
}), object({
|
|
13532
|
+
kind: literal("unreachable"),
|
|
13533
|
+
error: string()
|
|
13534
|
+
})])
|
|
13179
13535
|
});
|
|
13536
|
+
/**
|
|
13537
|
+
* A read of the stored compositions. `not-loaded` while the `core_blocks`
|
|
13538
|
+
* table has not been READ: an empty answer then would make "not yet known"
|
|
13539
|
+
* look like "none", and invite the operator to recreate what exists (D315).
|
|
13540
|
+
*/
|
|
13541
|
+
var CompositionsNotLoadedSchema = object({
|
|
13542
|
+
state: literal("not-loaded"),
|
|
13543
|
+
reason: string()
|
|
13544
|
+
});
|
|
13545
|
+
var CompositionListReadSchema = discriminatedUnion("state", [object({
|
|
13546
|
+
state: literal("loaded"),
|
|
13547
|
+
views: array(CompositionViewSchema)
|
|
13548
|
+
}), CompositionsNotLoadedSchema]);
|
|
13549
|
+
var CompositionGetReadSchema = discriminatedUnion("state", [object({
|
|
13550
|
+
state: literal("loaded"),
|
|
13551
|
+
view: CompositionViewSchema.nullable()
|
|
13552
|
+
}), CompositionsNotLoadedSchema]);
|
|
13180
13553
|
/** What a compile attempt produced. */
|
|
13181
13554
|
var CoreBlockCompileResultSchema = object({
|
|
13182
13555
|
ok: boolean(),
|
|
@@ -13214,7 +13587,72 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
|
|
|
13214
13587
|
}), method(object({}), object({ libs: array(object({
|
|
13215
13588
|
filePath: string(),
|
|
13216
13589
|
content: string()
|
|
13217
|
-
})) }), { auth: "admin" })
|
|
13590
|
+
})) }), { auth: "admin" }), method(object({ block: CompositionBlockInputSchema }), object({ block: CoreBlockSchema }), {
|
|
13591
|
+
kind: "mutation",
|
|
13592
|
+
auth: "admin",
|
|
13593
|
+
caller: "required"
|
|
13594
|
+
}), method(object({
|
|
13595
|
+
blockId: string(),
|
|
13596
|
+
expectedUpdatedAt: number(),
|
|
13597
|
+
block: CompositionBlockInputSchema.partial()
|
|
13598
|
+
}), object({ block: CoreBlockSchema }), {
|
|
13599
|
+
kind: "mutation",
|
|
13600
|
+
auth: "admin",
|
|
13601
|
+
caller: "required"
|
|
13602
|
+
}), method(object({ blockId: string() }), CompositionGetReadSchema, { auth: "admin" }), method(object({}), CompositionListReadSchema, { auth: "admin" }), method(object({
|
|
13603
|
+
composition: CompositionSchema,
|
|
13604
|
+
blockId: string().optional()
|
|
13605
|
+
}), CompositionValidationSchema, {
|
|
13606
|
+
kind: "mutation",
|
|
13607
|
+
auth: "admin",
|
|
13608
|
+
access: "view"
|
|
13609
|
+
});
|
|
13610
|
+
var ComposerBlockSchema = object({
|
|
13611
|
+
id: string().min(1),
|
|
13612
|
+
name: string().min(1).max(120),
|
|
13613
|
+
enabled: boolean(),
|
|
13614
|
+
updatedAt: number(),
|
|
13615
|
+
composition: CompositionSchema
|
|
13616
|
+
});
|
|
13617
|
+
/**
|
|
13618
|
+
* A stored composition row that no longer PARSES — a schema a release
|
|
13619
|
+
* tightened, a row written by a newer build. Sent by id so the composer keeps
|
|
13620
|
+
* its device as a placeholder and reports the block `failed` naming the parse
|
|
13621
|
+
* error. Leaving it out would read, twice, exactly like a delete (D49).
|
|
13622
|
+
*/
|
|
13623
|
+
var ComposerUnreadableBlockSchema = object({
|
|
13624
|
+
id: string().min(1),
|
|
13625
|
+
/** The row's stored name column; null when even that is unreadable (the device keeps the name it has). */
|
|
13626
|
+
name: string().nullable(),
|
|
13627
|
+
/** The parse error, in the operator's words. */
|
|
13628
|
+
error: string()
|
|
13629
|
+
});
|
|
13630
|
+
method(object({
|
|
13631
|
+
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
13632
|
+
integrationId: string().nullable(),
|
|
13633
|
+
/** False when the `core_blocks` read failed: then nothing may be withdrawn (D49). */
|
|
13634
|
+
storeLoaded: boolean(),
|
|
13635
|
+
blocks: array(ComposerBlockSchema),
|
|
13636
|
+
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
13637
|
+
restartBlockIds: array(string()),
|
|
13638
|
+
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
13639
|
+
unreadableBlocks: array(ComposerUnreadableBlockSchema)
|
|
13640
|
+
}), object({
|
|
13641
|
+
blocks: array(object({
|
|
13642
|
+
blockId: string(),
|
|
13643
|
+
status: CompositionRunStatusSchema,
|
|
13644
|
+
reason: string().optional()
|
|
13645
|
+
})),
|
|
13646
|
+
/**
|
|
13647
|
+
* False when the composer declared and withdrew NOTHING (store not loaded,
|
|
13648
|
+
* integration unknown, its own rows unread or read empty once). An empty
|
|
13649
|
+
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
13650
|
+
*/
|
|
13651
|
+
acted: boolean()
|
|
13652
|
+
}), {
|
|
13653
|
+
kind: "mutation",
|
|
13654
|
+
auth: "admin"
|
|
13655
|
+
}), method(object({ blockIds: array(string()) }), object({ states: array(CompositionBlockStateSchema) }), { auth: "admin" });
|
|
13218
13656
|
/**
|
|
13219
13657
|
* `custom-model-registry` — collection cap exposing operator-registered
|
|
13220
13658
|
* custom detection models. Each provider (today: `addon-model-studio`)
|
|
@@ -18981,8 +19419,8 @@ var NcTestResultSchema = object({
|
|
|
18981
19419
|
className: string().optional(),
|
|
18982
19420
|
label: string().optional()
|
|
18983
19421
|
});
|
|
18984
|
-
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
18985
|
-
*
|
|
19422
|
+
/** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is
|
|
19423
|
+
* `z.infer` of this schema — one shape, no twin. `mixed` is DERIVED
|
|
18986
19424
|
* (a stored system rule whose kinds span families, D637) and never authored. */
|
|
18987
19425
|
var NcRuleKindSchema = _enum([
|
|
18988
19426
|
"detection",
|
|
@@ -20881,6 +21319,13 @@ var AudioEventSchema = object({
|
|
|
20881
21319
|
originalClass: string().optional(),
|
|
20882
21320
|
score: number()
|
|
20883
21321
|
}).optional(),
|
|
21322
|
+
/**
|
|
21323
|
+
* Whether the classifier RAN on the window behind this row (D660). Absent
|
|
21324
|
+
* on rows written before D660 — unknown, NOT classified: until then a
|
|
21325
|
+
* window the analyzer's busy gate threw away was stored exactly like one
|
|
21326
|
+
* that heard nothing above the floor.
|
|
21327
|
+
*/
|
|
21328
|
+
classifyOutcome: AudioClassifyOutcomeSchema.optional(),
|
|
20884
21329
|
/** Populated by B5 (recording playback URL for this event). */
|
|
20885
21330
|
mediaUrl: string().optional()
|
|
20886
21331
|
});
|
|
@@ -35045,6 +35490,38 @@ DeviceType.Camera, method(object({
|
|
|
35045
35490
|
detection: array(ZoneRuleSchema).readonly(),
|
|
35046
35491
|
package: array(ZoneRuleSchema).readonly()
|
|
35047
35492
|
});
|
|
35493
|
+
var NUMBER = {
|
|
35494
|
+
kind: "fixed",
|
|
35495
|
+
result: ["number"]
|
|
35496
|
+
};
|
|
35497
|
+
var BOOLEAN = {
|
|
35498
|
+
kind: "fixed",
|
|
35499
|
+
result: ["boolean"]
|
|
35500
|
+
};
|
|
35501
|
+
Object.freeze({
|
|
35502
|
+
min: NUMBER,
|
|
35503
|
+
max: NUMBER,
|
|
35504
|
+
abs: NUMBER,
|
|
35505
|
+
floor: NUMBER,
|
|
35506
|
+
ceil: NUMBER,
|
|
35507
|
+
sqrt: NUMBER,
|
|
35508
|
+
round: NUMBER,
|
|
35509
|
+
pow: NUMBER,
|
|
35510
|
+
clamp: NUMBER,
|
|
35511
|
+
avg: NUMBER,
|
|
35512
|
+
sum: NUMBER,
|
|
35513
|
+
age: NUMBER,
|
|
35514
|
+
convert: NUMBER,
|
|
35515
|
+
coalesce: { kind: "coalesce" },
|
|
35516
|
+
any: BOOLEAN,
|
|
35517
|
+
all: BOOLEAN,
|
|
35518
|
+
within: BOOLEAN,
|
|
35519
|
+
latest: {
|
|
35520
|
+
kind: "fixed",
|
|
35521
|
+
result: ["number", "null"]
|
|
35522
|
+
}
|
|
35523
|
+
});
|
|
35524
|
+
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
35048
35525
|
/**
|
|
35049
35526
|
* Accessory device helpers — shared across drivers.
|
|
35050
35527
|
*
|
|
@@ -37353,6 +37830,18 @@ Object.freeze({
|
|
|
37353
37830
|
addonId: null,
|
|
37354
37831
|
access: "create"
|
|
37355
37832
|
},
|
|
37833
|
+
"composer.applyBlocks": {
|
|
37834
|
+
capName: "composer",
|
|
37835
|
+
capScope: "system",
|
|
37836
|
+
addonId: null,
|
|
37837
|
+
access: "create"
|
|
37838
|
+
},
|
|
37839
|
+
"composer.getStates": {
|
|
37840
|
+
capName: "composer",
|
|
37841
|
+
capScope: "system",
|
|
37842
|
+
addonId: null,
|
|
37843
|
+
access: "view"
|
|
37844
|
+
},
|
|
37356
37845
|
"connectionTest.describeTest": {
|
|
37357
37846
|
capName: "connection-test",
|
|
37358
37847
|
capScope: "system",
|
|
@@ -37413,6 +37902,12 @@ Object.freeze({
|
|
|
37413
37902
|
addonId: null,
|
|
37414
37903
|
access: "create"
|
|
37415
37904
|
},
|
|
37905
|
+
"coreBlocks.createComposition": {
|
|
37906
|
+
capName: "core-blocks",
|
|
37907
|
+
capScope: "system",
|
|
37908
|
+
addonId: null,
|
|
37909
|
+
access: "create"
|
|
37910
|
+
},
|
|
37416
37911
|
"coreBlocks.delete": {
|
|
37417
37912
|
capName: "core-blocks",
|
|
37418
37913
|
capScope: "system",
|
|
@@ -37425,6 +37920,12 @@ Object.freeze({
|
|
|
37425
37920
|
addonId: null,
|
|
37426
37921
|
access: "view"
|
|
37427
37922
|
},
|
|
37923
|
+
"coreBlocks.getComposition": {
|
|
37924
|
+
capName: "core-blocks",
|
|
37925
|
+
capScope: "system",
|
|
37926
|
+
addonId: null,
|
|
37927
|
+
access: "view"
|
|
37928
|
+
},
|
|
37428
37929
|
"coreBlocks.getTypeDefs": {
|
|
37429
37930
|
capName: "core-blocks",
|
|
37430
37931
|
capScope: "system",
|
|
@@ -37437,6 +37938,12 @@ Object.freeze({
|
|
|
37437
37938
|
addonId: null,
|
|
37438
37939
|
access: "view"
|
|
37439
37940
|
},
|
|
37941
|
+
"coreBlocks.listCompositions": {
|
|
37942
|
+
capName: "core-blocks",
|
|
37943
|
+
capScope: "system",
|
|
37944
|
+
addonId: null,
|
|
37945
|
+
access: "view"
|
|
37946
|
+
},
|
|
37440
37947
|
"coreBlocks.restart": {
|
|
37441
37948
|
capName: "core-blocks",
|
|
37442
37949
|
capScope: "system",
|
|
@@ -37455,6 +37962,18 @@ Object.freeze({
|
|
|
37455
37962
|
addonId: null,
|
|
37456
37963
|
access: "create"
|
|
37457
37964
|
},
|
|
37965
|
+
"coreBlocks.updateComposition": {
|
|
37966
|
+
capName: "core-blocks",
|
|
37967
|
+
capScope: "system",
|
|
37968
|
+
addonId: null,
|
|
37969
|
+
access: "create"
|
|
37970
|
+
},
|
|
37971
|
+
"coreBlocks.validateComposition": {
|
|
37972
|
+
capName: "core-blocks",
|
|
37973
|
+
capScope: "system",
|
|
37974
|
+
addonId: null,
|
|
37975
|
+
access: "view"
|
|
37976
|
+
},
|
|
37458
37977
|
"cover.close": {
|
|
37459
37978
|
capName: "cover",
|
|
37460
37979
|
capScope: "device",
|
|
@@ -46693,6 +47212,7 @@ var FRIGATE_PUBLIC_CATALOG = [{
|
|
|
46693
47212
|
"toothbrush",
|
|
46694
47213
|
"hair brush"
|
|
46695
47214
|
],
|
|
47215
|
+
license: CORAL_MOBILEDET_APACHE,
|
|
46696
47216
|
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."
|
|
46697
47217
|
}];
|
|
46698
47218
|
/**
|
|
@@ -46723,6 +47243,7 @@ function buildFrigateCatalogDescriptor(catalogId, overrides) {
|
|
|
46723
47243
|
})),
|
|
46724
47244
|
preprocessMode: "letterbox",
|
|
46725
47245
|
provider: "frigate",
|
|
47246
|
+
license: cat.license,
|
|
46726
47247
|
group: frigateVariantGroup("mobiledet", cat.inputSize),
|
|
46727
47248
|
...cat.postprocessor !== void 0 ? { postprocessor: cat.postprocessor } : {}
|
|
46728
47249
|
}
|