@camstack/addon-post-analysis 1.0.0 → 1.0.2
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/dist/{dist-4mTLJ7BJ.mjs → dist-B5rPrEB2.mjs} +5 -41
- package/dist/{dist-CS2K80so.js → dist-PCmtpGSE.js} +4 -58
- package/dist/embedding-encoder/index.js +99 -617
- package/dist/embedding-encoder/index.mjs +102 -615
- package/dist/enrichment-engine/index.js +2 -2
- package/dist/enrichment-engine/index.mjs +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CMX-fqEg.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CbefrDm1.mjs} +3 -3
- package/dist/pipeline-analytics/{hostInit-B0pXhbcJ.mjs → hostInit-DZFXJWUU.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +2 -2
- package/dist/pipeline-analytics/index.mjs +1 -1
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/dist/{resolve-frame-5lMxmeI1.js → resolve-frame-Dnn6z6vw.js} +1 -1
- package/package.json +4 -11
|
@@ -6582,42 +6582,6 @@ function cosineSimilarity(a, b) {
|
|
|
6582
6582
|
return denom === 0 ? 0 : dotProduct / denom;
|
|
6583
6583
|
}
|
|
6584
6584
|
/**
|
|
6585
|
-
* Map a backend ID to the model format it requires.
|
|
6586
|
-
*
|
|
6587
|
-
* Node.js backends (cpu, coreml, cuda, tensorrt) all use ONNX format
|
|
6588
|
-
* because onnxruntime-node loads .onnx and uses execution providers internally.
|
|
6589
|
-
*
|
|
6590
|
-
* Python backends use their native format.
|
|
6591
|
-
*/
|
|
6592
|
-
var BACKEND_TO_FORMAT = {
|
|
6593
|
-
cpu: "onnx",
|
|
6594
|
-
coreml: "onnx",
|
|
6595
|
-
cuda: "onnx",
|
|
6596
|
-
tensorrt: "onnx",
|
|
6597
|
-
"onnx-py": "onnx",
|
|
6598
|
-
pytorch: "pt",
|
|
6599
|
-
openvino: "openvino"
|
|
6600
|
-
};
|
|
6601
|
-
/**
|
|
6602
|
-
* Map DetectionRuntime to ModelFormat.
|
|
6603
|
-
* Used when the addon receives an explicit runtime (not 'auto').
|
|
6604
|
-
*/
|
|
6605
|
-
var RUNTIME_TO_FORMAT = {
|
|
6606
|
-
onnx: "onnx",
|
|
6607
|
-
coreml: "coreml",
|
|
6608
|
-
openvino: "openvino",
|
|
6609
|
-
tflite: "tflite",
|
|
6610
|
-
pytorch: "pt"
|
|
6611
|
-
};
|
|
6612
|
-
/**
|
|
6613
|
-
* Map a Python backend to the Python inference script name.
|
|
6614
|
-
*/
|
|
6615
|
-
var PYTHON_SCRIPT = {
|
|
6616
|
-
coreml: "coreml_inference.py",
|
|
6617
|
-
pytorch: "pytorch_inference.py",
|
|
6618
|
-
openvino: "openvino_inference.py"
|
|
6619
|
-
};
|
|
6620
|
-
/**
|
|
6621
6585
|
import { errMsg } from '@camstack/types'
|
|
6622
6586
|
* Extract a human-readable message from an unknown error value.
|
|
6623
6587
|
* Replaces the ubiquitous `errMsg(err)` pattern.
|
|
@@ -12334,7 +12298,7 @@ method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchem
|
|
|
12334
12298
|
* rebuilds without manual reload.
|
|
12335
12299
|
*
|
|
12336
12300
|
* The hub-local builtin `addon-pages-aggregator` (see
|
|
12337
|
-
* `@camstack/
|
|
12301
|
+
* `@camstack/system/builtins/addon-pages-aggregator`) registers the
|
|
12338
12302
|
* provider. Splitting the public aggregator from the raw collection
|
|
12339
12303
|
* keeps both ends in codegen — there's no hand-written
|
|
12340
12304
|
* `addon-pages.router.ts` wrapper anymore.
|
|
@@ -12523,7 +12487,7 @@ var addonWidgetsSourceCapability = {
|
|
|
12523
12487
|
* manual reload — same scheme used by `addon-pages`.
|
|
12524
12488
|
*
|
|
12525
12489
|
* The hub-local builtin `addon-widgets-aggregator` (see
|
|
12526
|
-
* `@camstack/
|
|
12490
|
+
* `@camstack/system/builtins/addon-widgets-aggregator`) registers the
|
|
12527
12491
|
* provider. Splitting the public aggregator from the raw collection
|
|
12528
12492
|
* keeps both ends in codegen — there's no hand-written wrapper.
|
|
12529
12493
|
*/
|
|
@@ -15353,7 +15317,7 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
15353
15317
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
15354
15318
|
* via the same surface would leak internal topology with no upside.
|
|
15355
15319
|
*
|
|
15356
|
-
* Implementation in `@camstack/
|
|
15320
|
+
* Implementation in `@camstack/system/builtins/local-network/`.
|
|
15357
15321
|
*/
|
|
15358
15322
|
/** Coarse classification derived from the interface name + IP range. */
|
|
15359
15323
|
var InterfaceKindEnum = _enum([
|
|
@@ -15900,7 +15864,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
15900
15864
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
15901
15865
|
*
|
|
15902
15866
|
* Implementation lives in the server's `NetworkQualityService` (thin
|
|
15903
|
-
* wrapper over the shared `NetworkQualityTracker` from `@camstack/
|
|
15867
|
+
* wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
|
|
15904
15868
|
* The provider is registered from `trpc.router.ts` against the existing
|
|
15905
15869
|
* service instance — no addon owns this state.
|
|
15906
15870
|
*
|
|
@@ -20747,4 +20711,4 @@ Object.freeze({
|
|
|
20747
20711
|
"smtp-provider": "email"
|
|
20748
20712
|
});
|
|
20749
20713
|
//#endregion
|
|
20750
|
-
export {
|
|
20714
|
+
export { tuple as C, string as S, _enum as _, asJsonObject as a, number as b, createEvent as c, faceGalleryCapability as d, hydrateSchema as f, zoneAnalyticsCapability as g, videoclipsCapability as h, addonWidgetsSourceCapability as i, embeddingEncoderCapability as l, plateGalleryCapability as m, DeviceType as n, audioMetricsCapability as o, pipelineAnalyticsCapability as p, EventCategory as r, cosineSimilarity as s, BaseAddon as t, errMsg as u, array as v, object as x, boolean as y };
|
|
@@ -6604,42 +6604,6 @@ function cosineSimilarity(a, b) {
|
|
|
6604
6604
|
return denom === 0 ? 0 : dotProduct / denom;
|
|
6605
6605
|
}
|
|
6606
6606
|
/**
|
|
6607
|
-
* Map a backend ID to the model format it requires.
|
|
6608
|
-
*
|
|
6609
|
-
* Node.js backends (cpu, coreml, cuda, tensorrt) all use ONNX format
|
|
6610
|
-
* because onnxruntime-node loads .onnx and uses execution providers internally.
|
|
6611
|
-
*
|
|
6612
|
-
* Python backends use their native format.
|
|
6613
|
-
*/
|
|
6614
|
-
var BACKEND_TO_FORMAT = {
|
|
6615
|
-
cpu: "onnx",
|
|
6616
|
-
coreml: "onnx",
|
|
6617
|
-
cuda: "onnx",
|
|
6618
|
-
tensorrt: "onnx",
|
|
6619
|
-
"onnx-py": "onnx",
|
|
6620
|
-
pytorch: "pt",
|
|
6621
|
-
openvino: "openvino"
|
|
6622
|
-
};
|
|
6623
|
-
/**
|
|
6624
|
-
* Map DetectionRuntime to ModelFormat.
|
|
6625
|
-
* Used when the addon receives an explicit runtime (not 'auto').
|
|
6626
|
-
*/
|
|
6627
|
-
var RUNTIME_TO_FORMAT = {
|
|
6628
|
-
onnx: "onnx",
|
|
6629
|
-
coreml: "coreml",
|
|
6630
|
-
openvino: "openvino",
|
|
6631
|
-
tflite: "tflite",
|
|
6632
|
-
pytorch: "pt"
|
|
6633
|
-
};
|
|
6634
|
-
/**
|
|
6635
|
-
* Map a Python backend to the Python inference script name.
|
|
6636
|
-
*/
|
|
6637
|
-
var PYTHON_SCRIPT = {
|
|
6638
|
-
coreml: "coreml_inference.py",
|
|
6639
|
-
pytorch: "pytorch_inference.py",
|
|
6640
|
-
openvino: "openvino_inference.py"
|
|
6641
|
-
};
|
|
6642
|
-
/**
|
|
6643
6607
|
import { errMsg } from '@camstack/types'
|
|
6644
6608
|
* Extract a human-readable message from an unknown error value.
|
|
6645
6609
|
* Replaces the ubiquitous `errMsg(err)` pattern.
|
|
@@ -12356,7 +12320,7 @@ method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchem
|
|
|
12356
12320
|
* rebuilds without manual reload.
|
|
12357
12321
|
*
|
|
12358
12322
|
* The hub-local builtin `addon-pages-aggregator` (see
|
|
12359
|
-
* `@camstack/
|
|
12323
|
+
* `@camstack/system/builtins/addon-pages-aggregator`) registers the
|
|
12360
12324
|
* provider. Splitting the public aggregator from the raw collection
|
|
12361
12325
|
* keeps both ends in codegen — there's no hand-written
|
|
12362
12326
|
* `addon-pages.router.ts` wrapper anymore.
|
|
@@ -12545,7 +12509,7 @@ var addonWidgetsSourceCapability = {
|
|
|
12545
12509
|
* manual reload — same scheme used by `addon-pages`.
|
|
12546
12510
|
*
|
|
12547
12511
|
* The hub-local builtin `addon-widgets-aggregator` (see
|
|
12548
|
-
* `@camstack/
|
|
12512
|
+
* `@camstack/system/builtins/addon-widgets-aggregator`) registers the
|
|
12549
12513
|
* provider. Splitting the public aggregator from the raw collection
|
|
12550
12514
|
* keeps both ends in codegen — there's no hand-written wrapper.
|
|
12551
12515
|
*/
|
|
@@ -15375,7 +15339,7 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
15375
15339
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
15376
15340
|
* via the same surface would leak internal topology with no upside.
|
|
15377
15341
|
*
|
|
15378
|
-
* Implementation in `@camstack/
|
|
15342
|
+
* Implementation in `@camstack/system/builtins/local-network/`.
|
|
15379
15343
|
*/
|
|
15380
15344
|
/** Coarse classification derived from the interface name + IP range. */
|
|
15381
15345
|
var InterfaceKindEnum = _enum([
|
|
@@ -15922,7 +15886,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
15922
15886
|
* jitter, and observed/peak bandwidth per device + per client.
|
|
15923
15887
|
*
|
|
15924
15888
|
* Implementation lives in the server's `NetworkQualityService` (thin
|
|
15925
|
-
* wrapper over the shared `NetworkQualityTracker` from `@camstack/
|
|
15889
|
+
* wrapper over the shared `NetworkQualityTracker` from `@camstack/system`).
|
|
15926
15890
|
* The provider is registered from `trpc.router.ts` against the existing
|
|
15927
15891
|
* service instance — no addon owns this state.
|
|
15928
15892
|
*
|
|
@@ -20769,12 +20733,6 @@ Object.freeze({
|
|
|
20769
20733
|
"smtp-provider": "email"
|
|
20770
20734
|
});
|
|
20771
20735
|
//#endregion
|
|
20772
|
-
Object.defineProperty(exports, "BACKEND_TO_FORMAT", {
|
|
20773
|
-
enumerable: true,
|
|
20774
|
-
get: function() {
|
|
20775
|
-
return BACKEND_TO_FORMAT;
|
|
20776
|
-
}
|
|
20777
|
-
});
|
|
20778
20736
|
Object.defineProperty(exports, "BaseAddon", {
|
|
20779
20737
|
enumerable: true,
|
|
20780
20738
|
get: function() {
|
|
@@ -20793,18 +20751,6 @@ Object.defineProperty(exports, "EventCategory", {
|
|
|
20793
20751
|
return EventCategory;
|
|
20794
20752
|
}
|
|
20795
20753
|
});
|
|
20796
|
-
Object.defineProperty(exports, "PYTHON_SCRIPT", {
|
|
20797
|
-
enumerable: true,
|
|
20798
|
-
get: function() {
|
|
20799
|
-
return PYTHON_SCRIPT;
|
|
20800
|
-
}
|
|
20801
|
-
});
|
|
20802
|
-
Object.defineProperty(exports, "RUNTIME_TO_FORMAT", {
|
|
20803
|
-
enumerable: true,
|
|
20804
|
-
get: function() {
|
|
20805
|
-
return RUNTIME_TO_FORMAT;
|
|
20806
|
-
}
|
|
20807
|
-
});
|
|
20808
20754
|
Object.defineProperty(exports, "__toESM", {
|
|
20809
20755
|
enumerable: true,
|
|
20810
20756
|
get: function() {
|