@camstack/addon-pipeline 1.2.135 → 1.2.137
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/{addon-utils-CKf8kbwh.js → addon-utils-C6b5Tnia.js} +3 -3
- package/dist/audio-analyzer/index.js +5 -5
- package/dist/audio-analyzer/index.mjs +4 -4
- package/dist/detection-pipeline/index.js +55 -17
- package/dist/detection-pipeline/index.mjs +53 -15
- package/dist/{dist-BzLiQ8Ue.js → dist-4EMKvxCp.js} +275 -25
- package/dist/{dist-C1dXLLQq.mjs → dist-g0Or5_pR.mjs} +270 -26
- package/dist/{event-loop-stall-monitor-CU-xxX5c.mjs → event-loop-stall-monitor-CskL9Lgu.mjs} +1 -1
- package/dist/{event-loop-stall-monitor-DjV4Bow7.js → event-loop-stall-monitor-DDm07Ei6.js} +1 -1
- package/dist/{lazy-sharp-DxWmhTqk.js → lazy-sharp-BlA9PxWk.js} +3 -3
- package/dist/motion-wasm/index.js +3 -3
- package/dist/motion-wasm/index.mjs +3 -3
- package/dist/node-BOHn8gpk.js +721 -0
- package/dist/node-Bo1g8hLO.mjs +690 -0
- package/dist/pipeline-runner/index.js +37 -11
- package/dist/pipeline-runner/index.mjs +37 -11
- package/dist/{process-memory-CZK3D3kM.js → process-memory-C3084DOt.js} +2 -2
- package/dist/{process-memory-CaEwi5Cd.mjs → process-memory-DmrHWybb.mjs} +2 -2
- package/dist/recorder/index.js +382 -35
- package/dist/recorder/index.mjs +382 -35
- package/dist/{segment-demux-js-BbpqygHL.js → segment-demux-js-BrQ_A0oi.js} +1 -1
- package/dist/{segment-demux-js-njRO85gd.mjs → segment-demux-js-C-a2pghM.mjs} +1 -1
- package/dist/session-decode/decode-worker-child.js +2 -2
- package/dist/session-decode/decode-worker-child.mjs +2 -2
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-C14Qqrqn.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-AH6OJ3hJ.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CQyiEd0l.mjs +26 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BrTM_tsb.mjs +26 -0
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-kjsveCjG.mjs → hostInit-XNyn-FTM.mjs} +3 -3
- package/dist/stream-broker/index.js +88 -515
- package/dist/stream-broker/index.mjs +85 -510
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-DvTZBvh2.js → worker-protocol-BLfaD5uC.js} +1 -1
- package/dist/{worker-protocol-DxsVx0G7.mjs → worker-protocol-vc8WWhjx.mjs} +1 -1
- package/package.json +17 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DqplWP1i.mjs +0 -26
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DKMXG57X.mjs +0 -26
- package/dist/{addon-utils-CgBCF-mE.mjs → addon-utils-C8KTuPdE.mjs} +2 -2
- package/dist/{lazy-sharp-BtT5x-qP.mjs → lazy-sharp-DXsqwpph.mjs} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -436,7 +436,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
436
436
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
437
437
|
/**
|
|
438
438
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
439
|
-
* with
|
|
439
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
440
440
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
441
441
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
442
442
|
*/
|
|
@@ -12868,6 +12868,19 @@ var SettingsRecordSchema = object({
|
|
|
12868
12868
|
data: record(string(), unknown())
|
|
12869
12869
|
});
|
|
12870
12870
|
/**
|
|
12871
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
12872
|
+
* optional.
|
|
12873
|
+
*
|
|
12874
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
12875
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
12876
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
12877
|
+
* `update` and `delete` as well.
|
|
12878
|
+
*/
|
|
12879
|
+
var BulkRecordSchema = object({
|
|
12880
|
+
id: string().optional(),
|
|
12881
|
+
data: record(string(), unknown())
|
|
12882
|
+
});
|
|
12883
|
+
/**
|
|
12871
12884
|
* Column declaration for a structured (SQL-backed) collection.
|
|
12872
12885
|
*
|
|
12873
12886
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -12924,6 +12937,10 @@ method(object({
|
|
|
12924
12937
|
collection: string(),
|
|
12925
12938
|
record: SettingsRecordSchema
|
|
12926
12939
|
}), _void(), { kind: "mutation" }), method(object({
|
|
12940
|
+
namespace: string().optional(),
|
|
12941
|
+
collection: string(),
|
|
12942
|
+
records: array(BulkRecordSchema).readonly()
|
|
12943
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
12927
12944
|
namespace: string().optional(),
|
|
12928
12945
|
collection: string(),
|
|
12929
12946
|
id: string(),
|
|
@@ -13032,6 +13049,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
13032
13049
|
}), _void(), {
|
|
13033
13050
|
kind: "mutation",
|
|
13034
13051
|
auth: "admin"
|
|
13052
|
+
}), method(object({
|
|
13053
|
+
namespace: string().optional(),
|
|
13054
|
+
collection: string(),
|
|
13055
|
+
records: array(BulkRecordSchema).readonly()
|
|
13056
|
+
}), object({ inserted: number().int() }), {
|
|
13057
|
+
kind: "mutation",
|
|
13058
|
+
auth: "admin"
|
|
13035
13059
|
}), method(object({
|
|
13036
13060
|
namespace: string().optional(),
|
|
13037
13061
|
collection: string(),
|
|
@@ -14852,6 +14876,82 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
14852
14876
|
limit: number().optional(),
|
|
14853
14877
|
tags: record(string(), string()).optional()
|
|
14854
14878
|
}), array(LogEntrySchema).readonly());
|
|
14879
|
+
var LoadContributionSchema = object({
|
|
14880
|
+
role: _enum([
|
|
14881
|
+
"decode",
|
|
14882
|
+
"transcode",
|
|
14883
|
+
"recording",
|
|
14884
|
+
"streaming",
|
|
14885
|
+
"detection"
|
|
14886
|
+
]),
|
|
14887
|
+
/**
|
|
14888
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
14889
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
14890
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
14891
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
14892
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
14893
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
14894
|
+
*/
|
|
14895
|
+
deviceId: number().int().positive().nullable(),
|
|
14896
|
+
attribution: _enum([
|
|
14897
|
+
"measured",
|
|
14898
|
+
"accounted",
|
|
14899
|
+
"unattributable"
|
|
14900
|
+
]),
|
|
14901
|
+
/**
|
|
14902
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
14903
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
14904
|
+
* family and inventing a common one would lose the only information that
|
|
14905
|
+
* makes two entries for the same camera distinguishable.
|
|
14906
|
+
*/
|
|
14907
|
+
unit: string(),
|
|
14908
|
+
/**
|
|
14909
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
14910
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
14911
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
14912
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
14913
|
+
* process of its own.
|
|
14914
|
+
*/
|
|
14915
|
+
pid: number().int().positive().optional(),
|
|
14916
|
+
/**
|
|
14917
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
14918
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
14919
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
14920
|
+
* process.
|
|
14921
|
+
*/
|
|
14922
|
+
startedAtMs: number().optional(),
|
|
14923
|
+
/**
|
|
14924
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
14925
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
14926
|
+
* contribution is asked for.
|
|
14927
|
+
*
|
|
14928
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
14929
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
14930
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
14931
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
14932
|
+
*
|
|
14933
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
14934
|
+
* an entry with no process.
|
|
14935
|
+
*/
|
|
14936
|
+
cpuSeconds: number().optional(),
|
|
14937
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
14938
|
+
rssBytes: number().optional()
|
|
14939
|
+
});
|
|
14940
|
+
var loadContributionCapability = {
|
|
14941
|
+
name: "load-contribution",
|
|
14942
|
+
scope: "system",
|
|
14943
|
+
mode: "collection",
|
|
14944
|
+
internal: true,
|
|
14945
|
+
methods: {
|
|
14946
|
+
/**
|
|
14947
|
+
* This addon's own cost entries, computed live from state it already
|
|
14948
|
+
* holds. Inert: no persistence, no sampling, no timer. It is answered on
|
|
14949
|
+
* whatever beat the caller already has.
|
|
14950
|
+
*/
|
|
14951
|
+
list: method(_void(), array(LoadContributionSchema).readonly()) },
|
|
14952
|
+
/** In-process only — enumerated through `addons.listCapabilityProviders`. */
|
|
14953
|
+
mount: { kind: "skip" }
|
|
14954
|
+
};
|
|
14855
14955
|
/**
|
|
14856
14956
|
* `login-method` — collection cap through which auth addons contribute
|
|
14857
14957
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -15055,8 +15155,7 @@ var NodeProcessSchema = object({
|
|
|
15055
15155
|
classification: _enum([
|
|
15056
15156
|
"root",
|
|
15057
15157
|
"managed",
|
|
15058
|
-
"system"
|
|
15059
|
-
"ghost"
|
|
15158
|
+
"system"
|
|
15060
15159
|
]),
|
|
15061
15160
|
/** `$process` addon binding when `managed`, else null. */
|
|
15062
15161
|
addonId: string().nullable(),
|
|
@@ -15064,22 +15163,39 @@ var NodeProcessSchema = object({
|
|
|
15064
15163
|
nodeId: string().nullable(),
|
|
15065
15164
|
/** Truncated command line. */
|
|
15066
15165
|
command: string(),
|
|
15166
|
+
/**
|
|
15167
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
15168
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
15169
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
15170
|
+
*/
|
|
15067
15171
|
cpuPercent: number(),
|
|
15068
15172
|
memoryRssBytes: number(),
|
|
15173
|
+
/**
|
|
15174
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
15175
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
15176
|
+
*
|
|
15177
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
15178
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
15179
|
+
*/
|
|
15180
|
+
cpuMainPercent: number().nullable(),
|
|
15181
|
+
/**
|
|
15182
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
15183
|
+
*
|
|
15184
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
15185
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
15186
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
15187
|
+
* "allocating too much".
|
|
15188
|
+
*
|
|
15189
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
15190
|
+
* (background compilation runs there too), so it is reported as
|
|
15191
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
15192
|
+
* meaning as on `cpuMainPercent`.
|
|
15193
|
+
*/
|
|
15194
|
+
cpuGcPercent: number().nullable(),
|
|
15195
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
15196
|
+
threadCount: number().nullable(),
|
|
15069
15197
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
15070
|
-
uptimeSec: number()
|
|
15071
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
15072
|
-
orphaned: boolean()
|
|
15073
|
-
});
|
|
15074
|
-
var KillProcessInputSchema = object({
|
|
15075
|
-
pid: number(),
|
|
15076
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
15077
|
-
force: boolean().optional()
|
|
15078
|
-
});
|
|
15079
|
-
var KillProcessResultSchema = object({
|
|
15080
|
-
success: boolean(),
|
|
15081
|
-
reason: string().optional(),
|
|
15082
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
15198
|
+
uptimeSec: number()
|
|
15083
15199
|
});
|
|
15084
15200
|
var DumpHeapSnapshotInputSchema = object({
|
|
15085
15201
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -15092,6 +15208,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
15092
15208
|
pid: number().optional(),
|
|
15093
15209
|
reason: string().optional()
|
|
15094
15210
|
});
|
|
15211
|
+
/**
|
|
15212
|
+
* One point of one function's series.
|
|
15213
|
+
*
|
|
15214
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
15215
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
15216
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
15217
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
15218
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
15219
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
15220
|
+
*
|
|
15221
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
15222
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
15223
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
15224
|
+
*/
|
|
15225
|
+
var LoadPointSchema = object({
|
|
15226
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
15227
|
+
atMs: number(),
|
|
15228
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
15229
|
+
samples: number().int(),
|
|
15230
|
+
/**
|
|
15231
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
15232
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
15233
|
+
* smaller number that looks exactly as real as a complete one.
|
|
15234
|
+
*/
|
|
15235
|
+
cpuMainPercent: number().nullable(),
|
|
15236
|
+
cpuMainPercentMin: number().nullable(),
|
|
15237
|
+
cpuGcPercent: number().nullable(),
|
|
15238
|
+
cpuGcPercentMin: number().nullable(),
|
|
15239
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
15240
|
+
cpuLifetimePercent: number(),
|
|
15241
|
+
cpuLifetimePercentMin: number(),
|
|
15242
|
+
memoryRssBytes: number(),
|
|
15243
|
+
memoryRssBytesMin: number(),
|
|
15244
|
+
processCount: number().int(),
|
|
15245
|
+
processCountMin: number().int()
|
|
15246
|
+
});
|
|
15247
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
15248
|
+
var LoadFunctionSeriesSchema = object({
|
|
15249
|
+
key: string(),
|
|
15250
|
+
kind: _enum([
|
|
15251
|
+
"addon",
|
|
15252
|
+
"root",
|
|
15253
|
+
"unattributed"
|
|
15254
|
+
]),
|
|
15255
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
15256
|
+
points: array(LoadPointSchema).readonly()
|
|
15257
|
+
});
|
|
15258
|
+
var NodeLoadSeriesSchema = object({
|
|
15259
|
+
nodeId: string(),
|
|
15260
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
15261
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
15262
|
+
/**
|
|
15263
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
15264
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
15265
|
+
* without having to know whether it was reduced.
|
|
15266
|
+
*/
|
|
15267
|
+
bucketMs: number(),
|
|
15268
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
15269
|
+
retainedSamples: number(),
|
|
15270
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
15271
|
+
oldestAtMs: number().nullable(),
|
|
15272
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
15273
|
+
cadenceMs: number(),
|
|
15274
|
+
/**
|
|
15275
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
15276
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
15277
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
15278
|
+
* questions and an operator must not have to guess which was answered.
|
|
15279
|
+
*/
|
|
15280
|
+
durable: boolean()
|
|
15281
|
+
});
|
|
15282
|
+
var GetLoadSeriesInputSchema = object({
|
|
15283
|
+
/**
|
|
15284
|
+
* The node whose series is wanted.
|
|
15285
|
+
*
|
|
15286
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
15287
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
15288
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
15289
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
15290
|
+
* the provider. The hub holds every node it hears from, so the
|
|
15291
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
15292
|
+
*/
|
|
15293
|
+
forNodeId: string(),
|
|
15294
|
+
/**
|
|
15295
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
15296
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
15297
|
+
* from this method cannot double a point already drawn.
|
|
15298
|
+
*/
|
|
15299
|
+
sinceMs: number().optional(),
|
|
15300
|
+
/**
|
|
15301
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
15302
|
+
* preserving min and max per bucket.
|
|
15303
|
+
*
|
|
15304
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
15305
|
+
* long one, which is why a chart passes its own pixel width.
|
|
15306
|
+
*/
|
|
15307
|
+
maxPoints: number().int().positive().optional()
|
|
15308
|
+
});
|
|
15095
15309
|
var SystemMetricsSchema = object({
|
|
15096
15310
|
cpuPercent: number(),
|
|
15097
15311
|
memoryPercent: number(),
|
|
@@ -15102,10 +15316,7 @@ var SystemMetricsSchema = object({
|
|
|
15102
15316
|
gpuPercent: number().optional(),
|
|
15103
15317
|
gpuMemoryPercent: number().optional()
|
|
15104
15318
|
});
|
|
15105
|
-
method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSnapshotSchema.nullable()), method(_void(), SystemMetricsSchema), method(object({ dirPath: string() }), DiskSpaceInfoSchema), method(_void(), MetricsGpuInfoSchema.nullable()), method(_void(), number().nullable()), method(object({ pids: array(number()) }), array(PidResourceStatsSchema)), method(_void(), array(AddonInstanceSchema).readonly()), method(object({ addonId: string() }), PidResourceStatsSchema.nullable()), method(_void(), array(NodeProcessSchema).readonly()), method(
|
|
15106
|
-
kind: "mutation",
|
|
15107
|
-
auth: "admin"
|
|
15108
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
15319
|
+
method(_void(), SystemResourceSnapshotSchema), method(_void(), SystemResourceSnapshotSchema.nullable()), method(_void(), SystemMetricsSchema), method(object({ dirPath: string() }), DiskSpaceInfoSchema), method(_void(), MetricsGpuInfoSchema.nullable()), method(_void(), number().nullable()), method(object({ pids: array(number()) }), array(PidResourceStatsSchema)), method(_void(), array(AddonInstanceSchema).readonly()), method(object({ addonId: string() }), PidResourceStatsSchema.nullable()), method(_void(), array(NodeProcessSchema).readonly()), method(GetLoadSeriesInputSchema, NodeLoadSeriesSchema), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
15109
15320
|
kind: "mutation",
|
|
15110
15321
|
auth: "admin"
|
|
15111
15322
|
});
|
|
@@ -29405,6 +29616,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
29405
29616
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
29406
29617
|
* layer selector needs a name the transport does not already own.
|
|
29407
29618
|
*/
|
|
29619
|
+
/**
|
|
29620
|
+
* One contribution, plus WHO reported it.
|
|
29621
|
+
*
|
|
29622
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
29623
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
29624
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
29625
|
+
* anyone but its owner.
|
|
29626
|
+
*/
|
|
29627
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
29408
29628
|
var GetLoggingSettingsInputSchema = object({
|
|
29409
29629
|
scopeNodeId: string().optional(),
|
|
29410
29630
|
/**
|
|
@@ -29463,7 +29683,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
29463
29683
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
29464
29684
|
kind: "mutation",
|
|
29465
29685
|
auth: "admin"
|
|
29466
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29686
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29467
29687
|
kind: "mutation",
|
|
29468
29688
|
auth: "admin"
|
|
29469
29689
|
});
|
|
@@ -31238,6 +31458,12 @@ Object.freeze({
|
|
|
31238
31458
|
addonId: null,
|
|
31239
31459
|
access: "create"
|
|
31240
31460
|
},
|
|
31461
|
+
"dataStoreProvider.insertMany": {
|
|
31462
|
+
capName: "data-store-provider",
|
|
31463
|
+
capScope: "system",
|
|
31464
|
+
addonId: null,
|
|
31465
|
+
access: "create"
|
|
31466
|
+
},
|
|
31241
31467
|
"dataStoreProvider.isEmpty": {
|
|
31242
31468
|
capName: "data-store-provider",
|
|
31243
31469
|
capScope: "system",
|
|
@@ -32552,6 +32778,12 @@ Object.freeze({
|
|
|
32552
32778
|
addonId: null,
|
|
32553
32779
|
access: "create"
|
|
32554
32780
|
},
|
|
32781
|
+
"loadContribution.list": {
|
|
32782
|
+
capName: "load-contribution",
|
|
32783
|
+
capScope: "system",
|
|
32784
|
+
addonId: null,
|
|
32785
|
+
access: "view"
|
|
32786
|
+
},
|
|
32555
32787
|
"localNetwork.downloadCa": {
|
|
32556
32788
|
capName: "local-network",
|
|
32557
32789
|
capScope: "system",
|
|
@@ -32852,17 +33084,17 @@ Object.freeze({
|
|
|
32852
33084
|
addonId: null,
|
|
32853
33085
|
access: "view"
|
|
32854
33086
|
},
|
|
32855
|
-
"metricsProvider.
|
|
33087
|
+
"metricsProvider.getLoadSeries": {
|
|
32856
33088
|
capName: "metrics-provider",
|
|
32857
33089
|
capScope: "system",
|
|
32858
33090
|
addonId: null,
|
|
32859
33091
|
access: "view"
|
|
32860
33092
|
},
|
|
32861
|
-
"metricsProvider.
|
|
33093
|
+
"metricsProvider.getProcessStats": {
|
|
32862
33094
|
capName: "metrics-provider",
|
|
32863
33095
|
capScope: "system",
|
|
32864
33096
|
addonId: null,
|
|
32865
|
-
access: "
|
|
33097
|
+
access: "view"
|
|
32866
33098
|
},
|
|
32867
33099
|
"metricsProvider.listAddonInstances": {
|
|
32868
33100
|
capName: "metrics-provider",
|
|
@@ -34874,6 +35106,12 @@ Object.freeze({
|
|
|
34874
35106
|
addonId: null,
|
|
34875
35107
|
access: "create"
|
|
34876
35108
|
},
|
|
35109
|
+
"settingsStore.insertMany": {
|
|
35110
|
+
capName: "settings-store",
|
|
35111
|
+
capScope: "system",
|
|
35112
|
+
addonId: null,
|
|
35113
|
+
access: "create"
|
|
35114
|
+
},
|
|
34877
35115
|
"settingsStore.isEmpty": {
|
|
34878
35116
|
capName: "settings-store",
|
|
34879
35117
|
capScope: "system",
|
|
@@ -35486,6 +35724,12 @@ Object.freeze({
|
|
|
35486
35724
|
addonId: null,
|
|
35487
35725
|
access: "create"
|
|
35488
35726
|
},
|
|
35727
|
+
"system.getLoadContributions": {
|
|
35728
|
+
capName: "system",
|
|
35729
|
+
capScope: "system",
|
|
35730
|
+
addonId: null,
|
|
35731
|
+
access: "view"
|
|
35732
|
+
},
|
|
35489
35733
|
"system.getLoggingSettings": {
|
|
35490
35734
|
capName: "system",
|
|
35491
35735
|
capScope: "system",
|
|
@@ -39467,4 +39711,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
39467
39711
|
return out;
|
|
39468
39712
|
}
|
|
39469
39713
|
//#endregion
|
|
39470
|
-
export {
|
|
39714
|
+
export { loadContributionCapability as $, union as $t, audioAnalysisCapability as A, CAM_PROFILE_ORDER as At, defineCustomActions as B, parseProfileBrokerId as Bt, RATE_CONTROL_RELAXED as C, errMsg as Ct, RingBuffer as D, invocationFromEncodeProfile as Dt, RecordingConfigSchema as E, buildFfmpegArgs as Et, createHwAccelCache as F, isEvent as Ft, egressTranscodeSharingKey as G, boolean as Gt, deriveDetailCropRect as H, sleep as Ht, createLogChannelsProvider as I, makeProfileBrokerId as It, evaluateSensorEdge as J, literal as Jt, egressTransportFromRequest as K, discriminatedUnion as Kt, customAction as L, makeSourceBrokerId as Lt, audioKindId as M, DeviceType as Mt, batteryCapability as N, createEvent as Nt, YAMNET_TO_MACRO as O, isSoftwareDecode as Ot, cameraStreamsCapability as P, hydrateSchema as Pt, isFirstLevelMacroClass as Q, string as Qt, declareLogChannel as R, nodePin as Rt, PoolMemoryWatchdog as S, webrtcSessionCapability as St, RECORDING_EXPORT_MAX_READ_BYTES as T, Fmp4BoxSplitter as Tt, deriveRecordingMode as U, _enum as Ut, deriveBatteryPresence as V, selectAssignedProfileSlots as Vt, detectionPipelineCapability as W, array as Wt, hfModelUrl as X, object as Xt, evaluateZoneRules as Y, number as Yt, inferModelProvider as Z, record as Zt, ExportRecordSchema as _, resolveRecordingProfiles as _t, COCO_80_LABELS as a, parseProcStatus as at, NativeLeaseSettingsSchema as b, streamBrokerCapability as bt, DEFAULT_CLUSTER_STEP_MODELS as c, pickDetailCropConvention as ct, DEFAULT_EVENTS_BAND_BUFFER_SEC as d, pipelineRunnerCapability as dt, EventCategory as en, logChannelsCapability as et, DEFAULT_FIRST_SIGHTING_FRESHNESS_MS as f, recordingCapability as ft, EncodeProfileSchema as g, resolvePoolMemoryPolicy as gt, EVENT_PAD_MS as h, resolveEgressDecodeHwAccel as ht, BatteryStatusSchema as i, overlayClusterStepSettings as it, audioAnalyzerCapability as j, DeviceFeature as jt, addonWidgetsSourceCapability as k, BaseAddon as kt, DEFAULT_CLUSTER_STEP_SETTINGS as l, pickNativeLeaseOverride as lt, DEVICE_BACKEND_TO_FORMAT as m, resolveClusterStepModelId as mt, AUDIO_BACKEND_CHOICES as n, maskUrlCredentials as nt, COCO_TO_MACRO as o, pickClusterStepModels as ot, DEFAULT_NATIVE_LEASE_SETTINGS as p, recordingExportCapability as pt, enumerateInferenceDevices as q, lazy as qt, AUDIO_MACRO_LABELS as r, motionDetectionCapability as rt, DEFAULT_AUDIO_ANALYZER_CONFIG as s, pickClusterStepSettings as st, APPLE_SA_TO_MACRO as t, mapAudioLabelToMacro as tt, DEFAULT_DETAIL_CROP_CONVENTION as u, pipelineExecutorCapability as ut, HF_BASE_URL as v, runtimeDevices as vt, RATE_CONTROL_TIGHT as w, AUDIO_PRESETS as wt, OpsLogEntrySchema as x, supportedRuntimes as xt, NativeLeaseAdmissionSchema as y, storageEvictableCapability as yt, defaultDeviceFor as z, parseJsonUnknown as zt };
|
package/dist/{event-loop-stall-monitor-CU-xxX5c.mjs → event-loop-stall-monitor-CskL9Lgu.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as audioKindId, X as hfModelUrl, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS } from "./dist-
|
|
1
|
+
import { M as audioKindId, X as hfModelUrl, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS } from "./dist-g0Or5_pR.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { PerformanceObserver } from "node:perf_hooks";
|
|
4
4
|
//#region src/detection-pipeline/registry/model-catalogs.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
2
|
-
let node_url = require("node:url");
|
|
3
|
-
let node_module = require("node:module");
|
|
1
|
+
const require_dist = require("./dist-4EMKvxCp.js");
|
|
4
2
|
let node_path = require("node:path");
|
|
5
3
|
node_path = require_dist.__toESM(node_path);
|
|
4
|
+
let node_url = require("node:url");
|
|
5
|
+
let node_module = require("node:module");
|
|
6
6
|
//#region src/shared/host-external-import.ts
|
|
7
7
|
/**
|
|
8
8
|
* Resolving a HOST-EXTERNAL package (`sharp`, `node-av`, …) from a process that
|
|
@@ -2,10 +2,10 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
6
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
7
|
-
let node_path = require("node:path");
|
|
5
|
+
const require_dist = require("../dist-4EMKvxCp.js");
|
|
6
|
+
const require_lazy_sharp = require("../lazy-sharp-BlA9PxWk.js");
|
|
8
7
|
let node_fs = require("node:fs");
|
|
8
|
+
let node_path = require("node:path");
|
|
9
9
|
//#region src/motion-wasm/wasm-motion-detector.ts
|
|
10
10
|
/**
|
|
11
11
|
* WasmMotionDetector — loads the AssemblyScript WASM module and provides
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getSharp } from "../lazy-sharp-
|
|
3
|
-
import { join } from "node:path";
|
|
1
|
+
import { Mt as DeviceType, Pt as hydrateSchema, Y as evaluateZoneRules, kt as BaseAddon, rt as motionDetectionCapability } from "../dist-g0Or5_pR.mjs";
|
|
2
|
+
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
4
3
|
import { readFileSync } from "node:fs";
|
|
4
|
+
import { join } from "node:path";
|
|
5
5
|
//#region src/motion-wasm/wasm-motion-detector.ts
|
|
6
6
|
/**
|
|
7
7
|
* WasmMotionDetector — loads the AssemblyScript WASM module and provides
|