@camstack/addon-pipeline 1.2.139 → 1.2.140
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/audio-analyzer/index.js +2 -2
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/detection-pipeline/index.js +5 -5
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-WUZH-lAM.js → dist-3bEUjzHN.js} +279 -1
- package/dist/{dist-CTmOaCwF.mjs → dist-B25xMJDp.mjs} +268 -2
- package/dist/{event-loop-stall-monitor-CoM21UjL.js → event-loop-stall-monitor-BQeD-JuB.js} +1 -1
- package/dist/{event-loop-stall-monitor-BMtR9qZR.mjs → event-loop-stall-monitor-CrWg3jrh.mjs} +1 -1
- package/dist/{lazy-sharp-1WF7ZnxZ.js → lazy-sharp-buaVXzJ6.js} +1 -1
- package/dist/motion-wasm/index.js +2 -2
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-CQcgxO8l.mjs → node-CFEV-qgx.mjs} +1 -1
- package/dist/{node-BAo2ivVu.js → node-Cn9gEOs4.js} +1 -1
- package/dist/pipeline-runner/index.js +98 -14
- package/dist/pipeline-runner/index.mjs +97 -13
- package/dist/{process-memory-BPEKERfe.mjs → process-memory-B4SGuNSB.mjs} +1 -1
- package/dist/{process-memory-BZvkQCLP.js → process-memory-D7R-j96w.js} +1 -1
- package/dist/recorder/index.js +3 -2
- package/dist/recorder/index.mjs +3 -2
- package/dist/{segment-demux-js-CubhFNwb.mjs → segment-demux-js-CwNYlHRC.mjs} +1 -1
- package/dist/{segment-demux-js-B1L1pfoc.js → segment-demux-js-J1AdcHSK.js} +1 -1
- package/dist/session-decode/decode-worker-child.js +2 -2
- package/dist/session-decode/decode-worker-child.mjs +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DJ4k5ZBb.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-O4QuB94V.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D4-thZGg.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-DPpl_mtg.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-bjYJYwAq.mjs} +1 -1
- 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-oy-XDnw6.mjs → hostInit-DXcoBCs4.mjs} +3 -3
- package/dist/stream-broker/index.js +3 -3
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/{worker-protocol-C-0LYdSt.js → worker-protocol-CxvZ6FP4.js} +1 -1
- package/dist/{worker-protocol-DsuI4ifI.mjs → worker-protocol-DYOG2ris.mjs} +1 -1
- package/package.json +4 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-xdmO8wYp.mjs +0 -26
|
@@ -2,8 +2,8 @@ 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_process_memory = require("../process-memory-
|
|
5
|
+
const require_dist = require("../dist-3bEUjzHN.js");
|
|
6
|
+
const require_process_memory = require("../process-memory-D7R-j96w.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
node_fs = require_dist.__toESM(node_fs);
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { C as PoolMemoryWatchdog, Lt as hydrateSchema, M as audioAnalyzerCapability, Mt as BaseAddon, Tt as errMsg, j as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, rt as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, vt as resolvePoolMemoryPolicy, y as HF_BASE_URL } from "../dist-B25xMJDp.mjs";
|
|
3
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-B4SGuNSB.mjs";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
6
6
|
import { downloadFile } from "@camstack/system/addon-utils";
|
|
@@ -2,11 +2,11 @@ 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_node = require("../node-
|
|
7
|
-
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-
|
|
8
|
-
const require_lazy_sharp = require("../lazy-sharp-
|
|
9
|
-
const require_process_memory = require("../process-memory-
|
|
5
|
+
const require_dist = require("../dist-3bEUjzHN.js");
|
|
6
|
+
const require_node = require("../node-Cn9gEOs4.js");
|
|
7
|
+
const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-BQeD-JuB.js");
|
|
8
|
+
const require_lazy_sharp = require("../lazy-sharp-buaVXzJ6.js");
|
|
9
|
+
const require_process_memory = require("../process-memory-D7R-j96w.js");
|
|
10
10
|
let node_fs = require("node:fs");
|
|
11
11
|
node_fs = require_dist.__toESM(node_fs);
|
|
12
12
|
let node_path = require("node:path");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as readProcessCost } from "../node-
|
|
4
|
-
import { a as ALL_PIPELINE_STEPS, c as getDefaultModelForFormatFromDef, d as resolveModelForFormat, f as landmarkPrecisionVerdict, l as getStep, n as startEventLoopStallMonitor, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as getStepDefinition } from "../event-loop-stall-monitor-
|
|
2
|
+
import { $ as inferModelProvider, $t as object, B as defaultDeviceFor$1, C as PoolMemoryWatchdog, Ct as supportedRuntimes$1, G as detectionPipelineCapability, Gt as sleep, Ht as parseJsonUnknown, It as createEvent, J as enumerateInferenceDevices, Lt as hydrateSchema, Mt as BaseAddon, Tt as errMsg, Vt as nodePin, X as evaluateZoneRules, bt as runtimeDevices$1, c as DEFAULT_CLUSTER_STEP_MODELS, ct as pickClusterStepModels, ft as pipelineExecutorCapability, gt as resolveClusterStepModelId, k as YAMNET_TO_MACRO, l as DEFAULT_CLUSTER_STEP_SETTINGS, lt as pickClusterStepSettings, m as DEVICE_BACKEND_TO_FORMAT, nn as union, ot as overlayClusterStepSettings, qt as array, rn as EventCategory, t as APPLE_SA_TO_MACRO, tn as string, tt as loadContributionCapability, vt as resolvePoolMemoryPolicy } from "../dist-B25xMJDp.mjs";
|
|
3
|
+
import { a as readProcessCost } from "../node-CFEV-qgx.mjs";
|
|
4
|
+
import { a as ALL_PIPELINE_STEPS, c as getDefaultModelForFormatFromDef, d as resolveModelForFormat, f as landmarkPrecisionVerdict, l as getStep, n as startEventLoopStallMonitor, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as getStepDefinition } from "../event-loop-stall-monitor-CrWg3jrh.mjs";
|
|
5
5
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
6
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
6
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-B4SGuNSB.mjs";
|
|
7
7
|
import * as fs from "node:fs";
|
|
8
8
|
import * as path$1 from "node:path";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -9685,6 +9685,112 @@ var DecoderSessionConfigSchema = object({
|
|
|
9685
9685
|
*/
|
|
9686
9686
|
debug: boolean().optional()
|
|
9687
9687
|
});
|
|
9688
|
+
/**
|
|
9689
|
+
* Distinct (device, family, variant) counters one instance will hold.
|
|
9690
|
+
*
|
|
9691
|
+
* A large fleet x the handful of families any single addon reports, with
|
|
9692
|
+
* slack. At ~200 B per counter this is a ~100 KB ceiling on a process that
|
|
9693
|
+
* already declares an RSS budget in the gigabytes.
|
|
9694
|
+
*/
|
|
9695
|
+
var MAX_KEYS = 1024;
|
|
9696
|
+
/**
|
|
9697
|
+
* Where reasons past {@link MAX_REASONS_PER_KEY} go.
|
|
9698
|
+
*
|
|
9699
|
+
* They are FOLDED, never dropped: `attempts - succeeded` must always equal the
|
|
9700
|
+
* sum of the reason counts, or the ratio stops adding up.
|
|
9701
|
+
*/
|
|
9702
|
+
var OVERFLOW_REASON = "other";
|
|
9703
|
+
/** `deviceId` + `family` + optional `variant`, flattened into the map key. */
|
|
9704
|
+
function counterKey(deviceId, family, variant) {
|
|
9705
|
+
return variant === void 0 ? `${deviceId}${family}` : `${deviceId}${family}${variant}`;
|
|
9706
|
+
}
|
|
9707
|
+
/**
|
|
9708
|
+
* A bounded set of per-camera, cumulative failure counters.
|
|
9709
|
+
*
|
|
9710
|
+
* One instance per contributing subsystem. `note` is O(1) and allocation-free
|
|
9711
|
+
* on the steady path; `snapshot` reads without mutating anything.
|
|
9712
|
+
*/
|
|
9713
|
+
var FailureCounters = class {
|
|
9714
|
+
maxKeys;
|
|
9715
|
+
maxReasons;
|
|
9716
|
+
counters = /* @__PURE__ */ new Map();
|
|
9717
|
+
refused = 0;
|
|
9718
|
+
constructor(maxKeys = MAX_KEYS, maxReasons = 16) {
|
|
9719
|
+
this.maxKeys = maxKeys;
|
|
9720
|
+
this.maxReasons = maxReasons;
|
|
9721
|
+
}
|
|
9722
|
+
/**
|
|
9723
|
+
* Counters refused because {@link MAX_KEYS} was already held.
|
|
9724
|
+
*
|
|
9725
|
+
* Cumulative for the life of the instance: a bound that bit is a fact about
|
|
9726
|
+
* the deployment, and a surface that hid it would under-report a fleet
|
|
9727
|
+
* precisely when the fleet got large enough to matter.
|
|
9728
|
+
*/
|
|
9729
|
+
get keysRefused() {
|
|
9730
|
+
return this.refused;
|
|
9731
|
+
}
|
|
9732
|
+
/** Counters currently held. */
|
|
9733
|
+
get size() {
|
|
9734
|
+
return this.counters.size;
|
|
9735
|
+
}
|
|
9736
|
+
/**
|
|
9737
|
+
* Fold one observation in.
|
|
9738
|
+
*
|
|
9739
|
+
* A non-positive or non-integer `deviceId` is REFUSED rather than bucketed:
|
|
9740
|
+
* see the module docblock — an entry that cannot name its camera is worse
|
|
9741
|
+
* than no entry.
|
|
9742
|
+
*/
|
|
9743
|
+
note(observation, nowMs) {
|
|
9744
|
+
if (!Number.isInteger(observation.deviceId) || observation.deviceId <= 0) return;
|
|
9745
|
+
const key = counterKey(observation.deviceId, observation.family, observation.variant);
|
|
9746
|
+
let counter = this.counters.get(key);
|
|
9747
|
+
if (counter === void 0) {
|
|
9748
|
+
if (this.counters.size >= this.maxKeys) {
|
|
9749
|
+
this.refused += 1;
|
|
9750
|
+
return;
|
|
9751
|
+
}
|
|
9752
|
+
counter = {
|
|
9753
|
+
deviceId: observation.deviceId,
|
|
9754
|
+
family: observation.family,
|
|
9755
|
+
variant: observation.variant,
|
|
9756
|
+
sinceMs: nowMs,
|
|
9757
|
+
attempts: 0,
|
|
9758
|
+
succeeded: 0,
|
|
9759
|
+
reasons: /* @__PURE__ */ new Map()
|
|
9760
|
+
};
|
|
9761
|
+
this.counters.set(key, counter);
|
|
9762
|
+
}
|
|
9763
|
+
counter.attempts += 1;
|
|
9764
|
+
if (observation.reason === void 0) {
|
|
9765
|
+
counter.succeeded += 1;
|
|
9766
|
+
return;
|
|
9767
|
+
}
|
|
9768
|
+
const reason = counter.reasons.has(observation.reason) || counter.reasons.size < this.maxReasons ? observation.reason : OVERFLOW_REASON;
|
|
9769
|
+
counter.reasons.set(reason, (counter.reasons.get(reason) ?? 0) + 1);
|
|
9770
|
+
}
|
|
9771
|
+
/** Read every counter. Never mutates — see the module docblock. */
|
|
9772
|
+
snapshot(nowMs) {
|
|
9773
|
+
const out = [];
|
|
9774
|
+
for (const counter of this.counters.values()) out.push({
|
|
9775
|
+
deviceId: counter.deviceId,
|
|
9776
|
+
family: counter.family,
|
|
9777
|
+
...counter.variant !== void 0 ? { variant: counter.variant } : {},
|
|
9778
|
+
sinceMs: counter.sinceMs,
|
|
9779
|
+
atMs: nowMs,
|
|
9780
|
+
attempts: counter.attempts,
|
|
9781
|
+
succeeded: counter.succeeded,
|
|
9782
|
+
reasons: [...counter.reasons.entries()].map(([reason, count]) => ({
|
|
9783
|
+
reason,
|
|
9784
|
+
count
|
|
9785
|
+
})).toSorted((a, b) => b.count - a.count)
|
|
9786
|
+
});
|
|
9787
|
+
return out;
|
|
9788
|
+
}
|
|
9789
|
+
/** Drop everything (host disposal). */
|
|
9790
|
+
clear() {
|
|
9791
|
+
this.counters.clear();
|
|
9792
|
+
}
|
|
9793
|
+
};
|
|
9688
9794
|
var MODEL_FORMATS = [
|
|
9689
9795
|
"onnx",
|
|
9690
9796
|
"coreml",
|
|
@@ -15053,6 +15159,133 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
15053
15159
|
limit: number().optional(),
|
|
15054
15160
|
tags: record(string(), string()).optional()
|
|
15055
15161
|
}), array(LogEntrySchema).readonly());
|
|
15162
|
+
/**
|
|
15163
|
+
* `failure-contribution` — the capability an addon reports its OWN losses
|
|
15164
|
+
* through, per camera, with the denominator attached. It stores nothing.
|
|
15165
|
+
*
|
|
15166
|
+
* ## The twin of `load-contribution`, and why it is a twin and not a field
|
|
15167
|
+
*
|
|
15168
|
+
* `load-contribution` answers *what did this camera COST*. This answers *what
|
|
15169
|
+
* did this camera LOSE*. The reporting discipline is identical and deliberately
|
|
15170
|
+
* copied: the contributor reports what it already knows, hub-main adds only
|
|
15171
|
+
* `addonId`, nothing needs global knowledge, and there is no central list for
|
|
15172
|
+
* somebody to forget to edit.
|
|
15173
|
+
*
|
|
15174
|
+
* They are not merged, because their invariants are opposites:
|
|
15175
|
+
*
|
|
15176
|
+
* - a `load-contribution` measurement is **absent, never zero** — a zero would
|
|
15177
|
+
* claim a camera cost nothing, which is a measurement nobody made;
|
|
15178
|
+
* - a `failure-contribution` zero is the **most valuable value on the
|
|
15179
|
+
* surface** — `attempts: 400, succeeded: 400` is the proof a fix landed,
|
|
15180
|
+
* and it is exactly what an absent entry cannot say.
|
|
15181
|
+
*
|
|
15182
|
+
* Putting a loss counter on a cost entry would also break the reconciliation
|
|
15183
|
+
* that gives `load-contribution` its point: contributions are subtracted from
|
|
15184
|
+
* `metrics.node-processes-snapshot` to find processes nobody claims. A failure
|
|
15185
|
+
* has no process.
|
|
15186
|
+
*
|
|
15187
|
+
* ## Why not a log line, since the counters already exist
|
|
15188
|
+
*
|
|
15189
|
+
* Several of these paths already counted themselves — `CaptureScheduler`'s
|
|
15190
|
+
* per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
|
|
15191
|
+
* ends in a log line, and a log line is the thing the operator asked to stop
|
|
15192
|
+
* needing: *"possiamo armare questi errori intanto? Così al prossimo giro
|
|
15193
|
+
* ricontrolliamo tutti questi punti"*. Reading them meant grepping Loki and
|
|
15194
|
+
* hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
|
|
15195
|
+
* media blackout were both diagnosed. The counters stay; this is where they can
|
|
15196
|
+
* be READ.
|
|
15197
|
+
*
|
|
15198
|
+
* ## The rate is served with its denominator or not at all
|
|
15199
|
+
*
|
|
15200
|
+
* Every entry carries `attempts` and `succeeded`. A miss count alone is
|
|
15201
|
+
* unreadable: on 2026-08-28 the enrichment-crop miss count read as "35x worse
|
|
15202
|
+
* than yesterday" and was **flat across twelve hours** once divided by the
|
|
15203
|
+
* successes on the same path. A surface that publishes only the numerator
|
|
15204
|
+
* reproduces that mistake on every read.
|
|
15205
|
+
*
|
|
15206
|
+
* ## Shape
|
|
15207
|
+
*
|
|
15208
|
+
* Copied from `load-contribution.cap.ts` (`mode: 'collection'`,
|
|
15209
|
+
* `internal: true`, `mount: { kind: 'skip' }`): no tRPC route of its own and no
|
|
15210
|
+
* generated hooks, while `addons.listCapabilityProviders` still enumerates it
|
|
15211
|
+
* and the hub's `CapabilityRegistry` still holds an RPC proxy per provider — so
|
|
15212
|
+
* a forked runner's entries reach hub-main over transport that already exists.
|
|
15213
|
+
* No new UDS message, no second registry (D3). The operator reads the assembled
|
|
15214
|
+
* result through `system.getFailureContributions`.
|
|
15215
|
+
*/
|
|
15216
|
+
var FailureReasonCountSchema = object({
|
|
15217
|
+
/**
|
|
15218
|
+
* Why the attempt did not land, in the contributor's own vocabulary —
|
|
15219
|
+
* `worker-lease-gone`, `queue-overflow`, `timeout`, `empty-read`. The same
|
|
15220
|
+
* strings that already appear in this repo's logs and, where one exists, the
|
|
15221
|
+
* same string the per-track `previewMissReason` records (D276): a second
|
|
15222
|
+
* vocabulary for the same loss would make the row and the counter
|
|
15223
|
+
* un-joinable.
|
|
15224
|
+
*/
|
|
15225
|
+
reason: string(),
|
|
15226
|
+
count: number().int().nonnegative()
|
|
15227
|
+
});
|
|
15228
|
+
var FailureContributionSchema = object({
|
|
15229
|
+
/**
|
|
15230
|
+
* The failing path — `enrichment-crop`, `inference`, `plate-ocr`,
|
|
15231
|
+
* `person-over-vehicle`. Free text, for the reason `load-contribution` keeps
|
|
15232
|
+
* `unit` free: the families are owned by different addons and a shared enum
|
|
15233
|
+
* is a central list that rots invisibly.
|
|
15234
|
+
*/
|
|
15235
|
+
family: string(),
|
|
15236
|
+
/**
|
|
15237
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
15238
|
+
* `tags.deviceId`. Never nullable and never absent: a contributor that
|
|
15239
|
+
* cannot name the camera must not emit the entry, because a fleet total
|
|
15240
|
+
* cannot answer the only question anybody asks of this surface.
|
|
15241
|
+
*/
|
|
15242
|
+
deviceId: number().int().positive(),
|
|
15243
|
+
/**
|
|
15244
|
+
* A second dimension inside the family: the model / step id for an inference
|
|
15245
|
+
* timeout, so "which camera AND which model" is one read. Absent when the
|
|
15246
|
+
* family has a single variant.
|
|
15247
|
+
*/
|
|
15248
|
+
variant: string().optional(),
|
|
15249
|
+
/**
|
|
15250
|
+
* Epoch ms this counter started — the INCARNATION MARKER. A consumer
|
|
15251
|
+
* differencing two reads must drop the interval when it changes, because the
|
|
15252
|
+
* counter restarted from zero in a respawned runner. Same discipline as
|
|
15253
|
+
* `LoadContribution.startedAtMs`.
|
|
15254
|
+
*/
|
|
15255
|
+
sinceMs: number(),
|
|
15256
|
+
/** Epoch ms it was read. `atMs - sinceMs` is the interval this covers. */
|
|
15257
|
+
atMs: number(),
|
|
15258
|
+
/**
|
|
15259
|
+
* THE DENOMINATOR — every attempt on this path for this camera in the
|
|
15260
|
+
* window. A failure count published without it is the mistake this schema
|
|
15261
|
+
* exists to make impossible.
|
|
15262
|
+
*/
|
|
15263
|
+
attempts: number().int().nonnegative(),
|
|
15264
|
+
/** Attempts that landed. `attempts - succeeded` is the loss. */
|
|
15265
|
+
succeeded: number().int().nonnegative(),
|
|
15266
|
+
/** The loss, partitioned. Sums to `attempts - succeeded`. */
|
|
15267
|
+
reasons: array(FailureReasonCountSchema).readonly()
|
|
15268
|
+
});
|
|
15269
|
+
var failureContributionCapability = {
|
|
15270
|
+
name: "failure-contribution",
|
|
15271
|
+
scope: "system",
|
|
15272
|
+
mode: "collection",
|
|
15273
|
+
internal: true,
|
|
15274
|
+
methods: {
|
|
15275
|
+
/**
|
|
15276
|
+
* This addon's per-camera failure counters, read live from bounded in-RAM
|
|
15277
|
+
* state it already keeps. Inert: no persistence, no sampling, no timer.
|
|
15278
|
+
*
|
|
15279
|
+
* READING NEVER RESETS. The counters are CUMULATIVE since `sinceMs`, and a
|
|
15280
|
+
* consumer that wants a rate differences two reads. A draining read would
|
|
15281
|
+
* make two operators with the page open each destroy half of the other's
|
|
15282
|
+
* numbers, and `load-contribution` already settled the same question the
|
|
15283
|
+
* same way for `cpuSeconds`.
|
|
15284
|
+
*/
|
|
15285
|
+
list: method(_void(), array(FailureContributionSchema).readonly()) },
|
|
15286
|
+
/** In-process only — enumerated through `addons.listCapabilityProviders`. */
|
|
15287
|
+
mount: { kind: "skip" }
|
|
15288
|
+
};
|
|
15056
15289
|
var LoadContributionSchema = object({
|
|
15057
15290
|
role: _enum([
|
|
15058
15291
|
"decode",
|
|
@@ -20106,6 +20339,20 @@ var TrackSchema = object({
|
|
|
20106
20339
|
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
20107
20340
|
*/
|
|
20108
20341
|
hasRider: boolean().optional(),
|
|
20342
|
+
/**
|
|
20343
|
+
* WHY this track ended without a NATIVE best-shot tile
|
|
20344
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
|
|
20345
|
+
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
20346
|
+
* `derive-returned-null tile=standin`, …) written at close and CLEARED by
|
|
20347
|
+
* the late-keyFrame upgrade when a native tile lands after all. The
|
|
20348
|
+
* operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
20349
|
+
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
20350
|
+
*
|
|
20351
|
+
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
20352
|
+
* that predates the field, and every track whose tile landed native all
|
|
20353
|
+
* omit it. Render nothing when absent.
|
|
20354
|
+
*/
|
|
20355
|
+
previewMissReason: string().optional(),
|
|
20109
20356
|
...TrackFlagFields,
|
|
20110
20357
|
...TrackRetrainFields
|
|
20111
20358
|
});
|
|
@@ -29802,6 +30049,13 @@ var LoggingSettingsPatchSchema = object({
|
|
|
29802
30049
|
* anyone but its owner.
|
|
29803
30050
|
*/
|
|
29804
30051
|
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
30052
|
+
/**
|
|
30053
|
+
* One per-camera failure counter, plus WHO reported it.
|
|
30054
|
+
*
|
|
30055
|
+
* Same rule as {@link ReportedLoadContributionSchema}: `addonId` is stamped by
|
|
30056
|
+
* the hub as it enumerates providers, never by the contributor.
|
|
30057
|
+
*/
|
|
30058
|
+
var ReportedFailureContributionSchema = FailureContributionSchema.extend({ addonId: string() });
|
|
29805
30059
|
var GetLoggingSettingsInputSchema = object({
|
|
29806
30060
|
scopeNodeId: string().optional(),
|
|
29807
30061
|
/**
|
|
@@ -29860,7 +30114,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
29860
30114
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
29861
30115
|
kind: "mutation",
|
|
29862
30116
|
auth: "admin"
|
|
29863
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
30117
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(_void(), array(ReportedFailureContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29864
30118
|
kind: "mutation",
|
|
29865
30119
|
auth: "admin"
|
|
29866
30120
|
});
|
|
@@ -32601,6 +32855,12 @@ Object.freeze({
|
|
|
32601
32855
|
addonId: null,
|
|
32602
32856
|
access: "create"
|
|
32603
32857
|
},
|
|
32858
|
+
"failureContribution.list": {
|
|
32859
|
+
capName: "failure-contribution",
|
|
32860
|
+
capScope: "system",
|
|
32861
|
+
addonId: null,
|
|
32862
|
+
access: "view"
|
|
32863
|
+
},
|
|
32604
32864
|
"fanControl.setDirection": {
|
|
32605
32865
|
capName: "fan-control",
|
|
32606
32866
|
capScope: "device",
|
|
@@ -35907,6 +36167,12 @@ Object.freeze({
|
|
|
35907
36167
|
addonId: null,
|
|
35908
36168
|
access: "create"
|
|
35909
36169
|
},
|
|
36170
|
+
"system.getFailureContributions": {
|
|
36171
|
+
capName: "system",
|
|
36172
|
+
capScope: "system",
|
|
36173
|
+
addonId: null,
|
|
36174
|
+
access: "view"
|
|
36175
|
+
},
|
|
35910
36176
|
"system.getLoadContributions": {
|
|
35911
36177
|
capName: "system",
|
|
35912
36178
|
capScope: "system",
|
|
@@ -40038,6 +40304,12 @@ Object.defineProperty(exports, "ExportRecordSchema", {
|
|
|
40038
40304
|
return ExportRecordSchema;
|
|
40039
40305
|
}
|
|
40040
40306
|
});
|
|
40307
|
+
Object.defineProperty(exports, "FailureCounters", {
|
|
40308
|
+
enumerable: true,
|
|
40309
|
+
get: function() {
|
|
40310
|
+
return FailureCounters;
|
|
40311
|
+
}
|
|
40312
|
+
});
|
|
40041
40313
|
Object.defineProperty(exports, "Fmp4BoxSplitter", {
|
|
40042
40314
|
enumerable: true,
|
|
40043
40315
|
get: function() {
|
|
@@ -40290,6 +40562,12 @@ Object.defineProperty(exports, "evaluateZoneRules", {
|
|
|
40290
40562
|
return evaluateZoneRules;
|
|
40291
40563
|
}
|
|
40292
40564
|
});
|
|
40565
|
+
Object.defineProperty(exports, "failureContributionCapability", {
|
|
40566
|
+
enumerable: true,
|
|
40567
|
+
get: function() {
|
|
40568
|
+
return failureContributionCapability;
|
|
40569
|
+
}
|
|
40570
|
+
});
|
|
40293
40571
|
Object.defineProperty(exports, "hfModelUrl", {
|
|
40294
40572
|
enumerable: true,
|
|
40295
40573
|
get: function() {
|