@camstack/addon-post-analysis 1.2.106 → 1.2.108
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-FAVcx3hJ.js → dist-BV5xFo8f.js} +76 -6
- package/dist/{dist-DiU9qiuA.mjs → dist-DFNQ5VB_.mjs} +76 -6
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-C7vEGOd1.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-v1VQLSa-.mjs} +3 -3
- package/dist/pipeline-analytics/{hostInit-DLdsDxyX.mjs → hostInit-CnJC02T3.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +1701 -740
- package/dist/pipeline-analytics/index.mjs +1699 -740
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
enumerable: true
|
|
30
30
|
}) : target, mod));
|
|
31
31
|
//#endregion
|
|
32
|
-
//#region ../types/dist/event-category-
|
|
32
|
+
//#region ../types/dist/event-category-CIa_iT6b.mjs
|
|
33
33
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
34
34
|
EventCategory["SystemBoot"] = "system.boot";
|
|
35
35
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -45,6 +45,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
45
45
|
*/
|
|
46
46
|
EventCategory["SystemRestartCompleted"] = "system.restart-completed";
|
|
47
47
|
/**
|
|
48
|
+
* The hub reissued its own TLS certificate at boot (`ensureTlsCert`).
|
|
49
|
+
* Emitted only when the material on disk actually changed, so an
|
|
50
|
+
* operator who trusted the old certificate by hand is told rather than
|
|
51
|
+
* discovering it as a browser error. Payload `TlsCertChangedPayload`.
|
|
52
|
+
*
|
|
53
|
+
* Rule: docs/decisions/adr-0227-*.md
|
|
54
|
+
*/
|
|
55
|
+
EventCategory["SystemTlsCertChanged"] = "system.tls-cert-changed";
|
|
56
|
+
/**
|
|
48
57
|
* A newer addon or server-root package version was found by the
|
|
49
58
|
* authoritative registry check. Emitted once when any observed
|
|
50
59
|
* `latestVersion` changes (or a package/node first appears behind);
|
|
@@ -20254,6 +20263,12 @@ var CameraStatusSchema = object({
|
|
|
20254
20263
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
20255
20264
|
fetchedAt: number()
|
|
20256
20265
|
});
|
|
20266
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
20267
|
+
"disabled",
|
|
20268
|
+
"unavailable",
|
|
20269
|
+
"cannot-host-camera-root",
|
|
20270
|
+
"accelerator-preferred"
|
|
20271
|
+
]);
|
|
20257
20272
|
var NodeInferenceDeviceSchema = object({
|
|
20258
20273
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
20259
20274
|
key: string(),
|
|
@@ -20284,7 +20299,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
20284
20299
|
* available per format; this is the stored selection that becomes the
|
|
20285
20300
|
* default for EVERY camera landing on this accelerator.
|
|
20286
20301
|
*/
|
|
20287
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
20302
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
20303
|
+
/**
|
|
20304
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
20305
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
20306
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
20307
|
+
* never disagree with the election — deriving it in the UI from
|
|
20308
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
20309
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
20310
|
+
* "an accelerator is serving" predicate).
|
|
20311
|
+
*/
|
|
20312
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
20288
20313
|
});
|
|
20289
20314
|
var NodeInferenceDevicesSchema = object({
|
|
20290
20315
|
nodeId: string(),
|
|
@@ -25205,7 +25230,12 @@ var ListResultSchema = object({
|
|
|
25205
25230
|
probedAt: number()
|
|
25206
25231
|
});
|
|
25207
25232
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
25208
|
-
|
|
25233
|
+
/**
|
|
25234
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
25235
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
25236
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
25237
|
+
*/
|
|
25238
|
+
var ConnectionEndpointSchema = object({
|
|
25209
25239
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
25210
25240
|
label: string(),
|
|
25211
25241
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -25248,7 +25278,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
25248
25278
|
* ordering between polls.
|
|
25249
25279
|
*/
|
|
25250
25280
|
priority: number()
|
|
25251
|
-
})
|
|
25281
|
+
});
|
|
25282
|
+
/**
|
|
25283
|
+
* Where the advertised local port came from. Ordered most → least
|
|
25284
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
25285
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
25286
|
+
*/
|
|
25287
|
+
var LocalPortSourceEnum = _enum([
|
|
25288
|
+
"server-config",
|
|
25289
|
+
"server-env",
|
|
25290
|
+
"caller-hint",
|
|
25291
|
+
"default"
|
|
25292
|
+
]);
|
|
25293
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
25294
|
+
var AdvertisedLocalPortSchema = object({
|
|
25295
|
+
port: number().int().min(1).max(65535),
|
|
25296
|
+
source: LocalPortSourceEnum
|
|
25297
|
+
});
|
|
25298
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
25299
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
25300
|
+
/**
|
|
25301
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
25302
|
+
* came from.
|
|
25303
|
+
*
|
|
25304
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
25305
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
25306
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
25307
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
25308
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
25309
|
+
* `caller-hint` is the hub's own socket.
|
|
25310
|
+
*
|
|
25311
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
25312
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
25313
|
+
* `caller-hint`.
|
|
25314
|
+
*/
|
|
25315
|
+
localPort: AdvertisedLocalPortSchema
|
|
25316
|
+
});
|
|
25252
25317
|
/**
|
|
25253
25318
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
25254
25319
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -25269,8 +25334,13 @@ var AllowedAddressesSchema = object({
|
|
|
25269
25334
|
*/
|
|
25270
25335
|
addresses: array(string()).readonly() });
|
|
25271
25336
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
25272
|
-
/**
|
|
25273
|
-
|
|
25337
|
+
/**
|
|
25338
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
25339
|
+
* written against the echoing contract keep working; the hub uses it
|
|
25340
|
+
* only when it cannot read its own port, and says so via
|
|
25341
|
+
* `localPort.source === 'caller-hint'`.
|
|
25342
|
+
*/
|
|
25343
|
+
port: number().int().min(1).max(65535).optional(),
|
|
25274
25344
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
25275
25345
|
* candidate. Default `true`. */
|
|
25276
25346
|
includeLoopback: boolean().optional(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-CIa_iT6b.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -14,6 +14,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
14
14
|
*/
|
|
15
15
|
EventCategory["SystemRestartCompleted"] = "system.restart-completed";
|
|
16
16
|
/**
|
|
17
|
+
* The hub reissued its own TLS certificate at boot (`ensureTlsCert`).
|
|
18
|
+
* Emitted only when the material on disk actually changed, so an
|
|
19
|
+
* operator who trusted the old certificate by hand is told rather than
|
|
20
|
+
* discovering it as a browser error. Payload `TlsCertChangedPayload`.
|
|
21
|
+
*
|
|
22
|
+
* Rule: docs/decisions/adr-0227-*.md
|
|
23
|
+
*/
|
|
24
|
+
EventCategory["SystemTlsCertChanged"] = "system.tls-cert-changed";
|
|
25
|
+
/**
|
|
17
26
|
* A newer addon or server-root package version was found by the
|
|
18
27
|
* authoritative registry check. Emitted once when any observed
|
|
19
28
|
* `latestVersion` changes (or a package/node first appears behind);
|
|
@@ -20223,6 +20232,12 @@ var CameraStatusSchema = object({
|
|
|
20223
20232
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
20224
20233
|
fetchedAt: number()
|
|
20225
20234
|
});
|
|
20235
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
20236
|
+
"disabled",
|
|
20237
|
+
"unavailable",
|
|
20238
|
+
"cannot-host-camera-root",
|
|
20239
|
+
"accelerator-preferred"
|
|
20240
|
+
]);
|
|
20226
20241
|
var NodeInferenceDeviceSchema = object({
|
|
20227
20242
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
20228
20243
|
key: string(),
|
|
@@ -20253,7 +20268,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
20253
20268
|
* available per format; this is the stored selection that becomes the
|
|
20254
20269
|
* default for EVERY camera landing on this accelerator.
|
|
20255
20270
|
*/
|
|
20256
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
20271
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
20272
|
+
/**
|
|
20273
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
20274
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
20275
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
20276
|
+
* never disagree with the election — deriving it in the UI from
|
|
20277
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
20278
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
20279
|
+
* "an accelerator is serving" predicate).
|
|
20280
|
+
*/
|
|
20281
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
20257
20282
|
});
|
|
20258
20283
|
var NodeInferenceDevicesSchema = object({
|
|
20259
20284
|
nodeId: string(),
|
|
@@ -25174,7 +25199,12 @@ var ListResultSchema = object({
|
|
|
25174
25199
|
probedAt: number()
|
|
25175
25200
|
});
|
|
25176
25201
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
25177
|
-
|
|
25202
|
+
/**
|
|
25203
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
25204
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
25205
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
25206
|
+
*/
|
|
25207
|
+
var ConnectionEndpointSchema = object({
|
|
25178
25208
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
25179
25209
|
label: string(),
|
|
25180
25210
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -25217,7 +25247,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
25217
25247
|
* ordering between polls.
|
|
25218
25248
|
*/
|
|
25219
25249
|
priority: number()
|
|
25220
|
-
})
|
|
25250
|
+
});
|
|
25251
|
+
/**
|
|
25252
|
+
* Where the advertised local port came from. Ordered most → least
|
|
25253
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
25254
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
25255
|
+
*/
|
|
25256
|
+
var LocalPortSourceEnum = _enum([
|
|
25257
|
+
"server-config",
|
|
25258
|
+
"server-env",
|
|
25259
|
+
"caller-hint",
|
|
25260
|
+
"default"
|
|
25261
|
+
]);
|
|
25262
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
25263
|
+
var AdvertisedLocalPortSchema = object({
|
|
25264
|
+
port: number().int().min(1).max(65535),
|
|
25265
|
+
source: LocalPortSourceEnum
|
|
25266
|
+
});
|
|
25267
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
25268
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
25269
|
+
/**
|
|
25270
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
25271
|
+
* came from.
|
|
25272
|
+
*
|
|
25273
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
25274
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
25275
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
25276
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
25277
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
25278
|
+
* `caller-hint` is the hub's own socket.
|
|
25279
|
+
*
|
|
25280
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
25281
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
25282
|
+
* `caller-hint`.
|
|
25283
|
+
*/
|
|
25284
|
+
localPort: AdvertisedLocalPortSchema
|
|
25285
|
+
});
|
|
25221
25286
|
/**
|
|
25222
25287
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
25223
25288
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -25238,8 +25303,13 @@ var AllowedAddressesSchema = object({
|
|
|
25238
25303
|
*/
|
|
25239
25304
|
addresses: array(string()).readonly() });
|
|
25240
25305
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
25241
|
-
/**
|
|
25242
|
-
|
|
25306
|
+
/**
|
|
25307
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
25308
|
+
* written against the echoing contract keep working; the hub uses it
|
|
25309
|
+
* only when it cannot read its own port, and says so via
|
|
25310
|
+
* `localPort.source === 'caller-hint'`.
|
|
25311
|
+
*/
|
|
25312
|
+
port: number().int().min(1).max(65535).optional(),
|
|
25243
25313
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
25244
25314
|
* candidate. Default `true`. */
|
|
25245
25315
|
includeLoopback: boolean().optional(),
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-BV5xFo8f.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
let node_fs$1 = require_dist.__toESM(node_fs, 1);
|
|
8
8
|
node_fs = require_dist.__toESM(node_fs);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as PoolMemoryWatchdog, St as BaseAddon, ct as parseProcStatus, et as embeddingEncoderCapability, mt as resolvePoolMemoryPolicy, rt as hfModelUrl } from "../dist-
|
|
1
|
+
import { A as PoolMemoryWatchdog, St as BaseAddon, ct as parseProcStatus, et as embeddingEncoderCapability, mt as resolvePoolMemoryPolicy, rt as hfModelUrl } from "../dist-DFNQ5VB_.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import "node:fs";
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.28",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.96",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.66",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.96",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.28",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.66",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|