@camstack/addon-pipeline 1.2.136 → 1.2.138

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.
Files changed (41) hide show
  1. package/dist/audio-analyzer/index.js +7 -7
  2. package/dist/audio-analyzer/index.mjs +4 -4
  3. package/dist/detection-pipeline/index.js +61 -23
  4. package/dist/detection-pipeline/index.mjs +53 -15
  5. package/dist/{dist-BzLiQ8Ue.js → dist-BuIP0499.js} +315 -25
  6. package/dist/{dist-C1dXLLQq.mjs → dist-CmEYRK7G.mjs} +304 -26
  7. package/dist/{event-loop-stall-monitor-DjV4Bow7.js → event-loop-stall-monitor-Bef2jXMX.js} +1 -1
  8. package/dist/{event-loop-stall-monitor-CU-xxX5c.mjs → event-loop-stall-monitor-JGTFb0Uv.mjs} +1 -1
  9. package/dist/{lazy-sharp-DxWmhTqk.js → lazy-sharp-DH2eVehm.js} +3 -3
  10. package/dist/motion-wasm/index.js +3 -3
  11. package/dist/motion-wasm/index.mjs +3 -3
  12. package/dist/node-ChdX9lv7.js +721 -0
  13. package/dist/node-J07GBWT3.mjs +690 -0
  14. package/dist/pipeline-runner/index.js +87 -18
  15. package/dist/pipeline-runner/index.mjs +87 -18
  16. package/dist/{process-memory-CZK3D3kM.js → process-memory-CJoZemF4.js} +2 -2
  17. package/dist/{process-memory-CaEwi5Cd.mjs → process-memory-DAKxUb9d.mjs} +2 -2
  18. package/dist/recorder/index.js +39 -7
  19. package/dist/recorder/index.mjs +36 -4
  20. package/dist/{segment-demux-js-BbpqygHL.js → segment-demux-js-BgXbXZnp.js} +1 -1
  21. package/dist/{segment-demux-js-njRO85gd.mjs → segment-demux-js-Ck9ly4bX.mjs} +1 -1
  22. package/dist/session-decode/decode-worker-child.js +115 -5
  23. package/dist/session-decode/decode-worker-child.mjs +115 -5
  24. package/dist/stream-broker/_stub.js +2 -2
  25. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CLtMmF1E.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Cad8960O.mjs} +3 -3
  26. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-xdmO8wYp.mjs +26 -0
  27. 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
  28. package/dist/stream-broker/demux-worker-child.js +1 -1
  29. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  30. package/dist/stream-broker/{hostInit-CP7Xhd8J.mjs → hostInit-Gd3OcDIa.mjs} +3 -3
  31. package/dist/stream-broker/index.js +245 -535
  32. package/dist/stream-broker/index.mjs +242 -530
  33. package/dist/stream-broker/remoteEntry.js +1 -1
  34. package/dist/{worker-protocol-DvTZBvh2.js → worker-protocol-Bpz62eyB.js} +2 -1
  35. package/dist/{worker-protocol-DxsVx0G7.mjs → worker-protocol-wMS29PG9.mjs} +2 -1
  36. package/package.json +17 -3
  37. package/dist/addon-utils-CKf8kbwh.js +0 -625
  38. package/dist/addon-utils-CgBCF-mE.mjs +0 -583
  39. 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
  40. 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
  41. package/dist/{lazy-sharp-BtT5x-qP.mjs → lazy-sharp-DXsqwpph.mjs} +1 -1
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  }) : target, mod));
23
23
  //#endregion
24
24
  let node_crypto = require("node:crypto");
25
- //#region ../types/dist/event-category-CIa_iT6b.mjs
25
+ //#region ../types/dist/event-category-BZL-fdNj.mjs
26
26
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
27
27
  EventCategory["SystemBoot"] = "system.boot";
28
28
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -459,7 +459,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
459
459
  EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
460
460
  /**
461
461
  * Periodic per-node process-tree snapshot (camstack-related pids
462
- * with ghost / managed / root classification). Emitted ~0.2 Hz by
462
+ * with root / managed / system classification). Emitted ~0.2 Hz by
463
463
  * the metrics-provider addon. Drives the Cluster → Processes tab
464
464
  * without polling `metricsProvider.listNodeProcesses`.
465
465
  */
@@ -7196,6 +7196,40 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
7196
7196
  input: unknown()
7197
7197
  }), unknown(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
7198
7198
  /**
7199
+ * The ONE retry schedule for work that can fail simply because the node was
7200
+ * still booting.
7201
+ *
7202
+ * The measured failure (docs/design/boot-to-usable-camera.md, item E): a hub
7203
+ * boot that serialised its addon graph starved every driver dial on it. Fifteen
7204
+ * Hikvision devices logged `Initial probe did not complete — scheduling retry
7205
+ * chain {firstRetryMs=300000}` and then sat unprobed for five minutes, long
7206
+ * after the condition that caused the failure had gone. The Tailscale addon's
7207
+ * auto-rejoin carried a byte-identical schedule, armed from `initialize()`, for
7208
+ * the same reason.
7209
+ *
7210
+ * The shape that fixes it: **two cheap attempts first, then the long tail.**
7211
+ *
7212
+ * - 15 s / 60 s — the boot window. Anything that failed because the node was
7213
+ * busy is recovered here, before an operator can open the UI and see a
7214
+ * camera that is wrong about itself.
7215
+ * - 5 m → 90 m — the genuinely-offline case. A battery cam that is asleep, a
7216
+ * VLAN that is down, a peer that has not come back. Unchanged in intent from
7217
+ * the schedule this replaces (~3 h 30 m of coverage): here ~3 h 21 m, then
7218
+ * the chain ends and manual re-arm (reprobe / restart) is the only path.
7219
+ *
7220
+ * Bounded on purpose — see D6. A chain that never gives up is a busy loop with
7221
+ * extra steps.
7222
+ */
7223
+ var BOOT_RECOVERY_BACKOFF_MS = [
7224
+ 15e3,
7225
+ 6e4,
7226
+ 5 * 6e4,
7227
+ 15 * 6e4,
7228
+ 30 * 6e4,
7229
+ 60 * 6e4,
7230
+ 90 * 6e4
7231
+ ];
7232
+ /**
7199
7233
  * Type-safe JSON parsing helpers.
7200
7234
  *
7201
7235
  * `JSON.parse` is typed as `any` in lib.es5.d.ts, which triggers
@@ -12891,6 +12925,19 @@ var SettingsRecordSchema = object({
12891
12925
  data: record(string(), unknown())
12892
12926
  });
12893
12927
  /**
12928
+ * One record of a BULK insert — {@link SettingsRecordSchema} with the id made
12929
+ * optional.
12930
+ *
12931
+ * A separate schema rather than loosening the shared one: every other method
12932
+ * on this cap addresses a row BY its id, and making that field optional
12933
+ * everywhere would turn a forgotten key into a silently generated one on
12934
+ * `update` and `delete` as well.
12935
+ */
12936
+ var BulkRecordSchema = object({
12937
+ id: string().optional(),
12938
+ data: record(string(), unknown())
12939
+ });
12940
+ /**
12894
12941
  * Column declaration for a structured (SQL-backed) collection.
12895
12942
  *
12896
12943
  * Logical types — the backend translates each to the matching SQLite
@@ -12947,6 +12994,10 @@ method(object({
12947
12994
  collection: string(),
12948
12995
  record: SettingsRecordSchema
12949
12996
  }), _void(), { kind: "mutation" }), method(object({
12997
+ namespace: string().optional(),
12998
+ collection: string(),
12999
+ records: array(BulkRecordSchema).readonly()
13000
+ }), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
12950
13001
  namespace: string().optional(),
12951
13002
  collection: string(),
12952
13003
  id: string(),
@@ -13055,6 +13106,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
13055
13106
  }), _void(), {
13056
13107
  kind: "mutation",
13057
13108
  auth: "admin"
13109
+ }), method(object({
13110
+ namespace: string().optional(),
13111
+ collection: string(),
13112
+ records: array(BulkRecordSchema).readonly()
13113
+ }), object({ inserted: number().int() }), {
13114
+ kind: "mutation",
13115
+ auth: "admin"
13058
13116
  }), method(object({
13059
13117
  namespace: string().optional(),
13060
13118
  collection: string(),
@@ -14875,6 +14933,82 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
14875
14933
  limit: number().optional(),
14876
14934
  tags: record(string(), string()).optional()
14877
14935
  }), array(LogEntrySchema).readonly());
14936
+ var LoadContributionSchema = object({
14937
+ role: _enum([
14938
+ "decode",
14939
+ "transcode",
14940
+ "recording",
14941
+ "streaming",
14942
+ "detection"
14943
+ ]),
14944
+ /**
14945
+ * The NUMERIC device id — the same value every log line carries as
14946
+ * `tags.deviceId`. `null` means this cost genuinely belongs to no single
14947
+ * camera (a shared pool), NOT that the contributor forgot to look it up: a
14948
+ * contributor that cannot name its camera must not emit the entry at all,
14949
+ * because an unnamed per-camera entry is indistinguishable from a shared one
14950
+ * and would quietly turn one camera's cost into everybody's.
14951
+ */
14952
+ deviceId: number().int().positive().nullable(),
14953
+ attribution: _enum([
14954
+ "measured",
14955
+ "accounted",
14956
+ "unattributable"
14957
+ ]),
14958
+ /**
14959
+ * What ONE entry is, in the contributor's own words — `615/high`,
14960
+ * `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
14961
+ * family and inventing a common one would lose the only information that
14962
+ * makes two entries for the same camera distinguishable.
14963
+ */
14964
+ unit: string(),
14965
+ /**
14966
+ * The OS process this cost lives in, when there is one. Present so a
14967
+ * consumer can (a) tell two generations of the same unit apart across a
14968
+ * restart, and (b) subtract claimed processes from the node's process
14969
+ * snapshot to see what NOBODY claimed. Absent for an entry that owns no
14970
+ * process of its own.
14971
+ */
14972
+ pid: number().int().positive().optional(),
14973
+ /**
14974
+ * When this generation started. The pid's incarnation marker: a consumer
14975
+ * differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
14976
+ * window when this changes, because the counter restarted from zero in a new
14977
+ * process.
14978
+ */
14979
+ startedAtMs: number().optional(),
14980
+ /**
14981
+ * CUMULATIVE CPU seconds this unit has consumed since it started — user +
14982
+ * system, read from the child's own `/proc/<pid>/stat` at the moment the
14983
+ * contribution is asked for.
14984
+ *
14985
+ * Cumulative and not a rate on purpose: a rate needs a window, a window
14986
+ * needs a sampler, and a new per-node sampler is the defect half of
14987
+ * `docs/architecture/load-ledger.md` documents. A counter can be differenced
14988
+ * by whoever already keeps a history; a rate cannot be un-averaged.
14989
+ *
14990
+ * Absent — never zero — on a node with no `/proc`, on a read failure, and on
14991
+ * an entry with no process.
14992
+ */
14993
+ cpuSeconds: number().optional(),
14994
+ /** Resident bytes of this unit's process, same source and same rules. */
14995
+ rssBytes: number().optional()
14996
+ });
14997
+ var loadContributionCapability = {
14998
+ name: "load-contribution",
14999
+ scope: "system",
15000
+ mode: "collection",
15001
+ internal: true,
15002
+ methods: {
15003
+ /**
15004
+ * This addon's own cost entries, computed live from state it already
15005
+ * holds. Inert: no persistence, no sampling, no timer. It is answered on
15006
+ * whatever beat the caller already has.
15007
+ */
15008
+ list: method(_void(), array(LoadContributionSchema).readonly()) },
15009
+ /** In-process only — enumerated through `addons.listCapabilityProviders`. */
15010
+ mount: { kind: "skip" }
15011
+ };
14878
15012
  /**
14879
15013
  * `login-method` — collection cap through which auth addons contribute
14880
15014
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -15078,8 +15212,7 @@ var NodeProcessSchema = object({
15078
15212
  classification: _enum([
15079
15213
  "root",
15080
15214
  "managed",
15081
- "system",
15082
- "ghost"
15215
+ "system"
15083
15216
  ]),
15084
15217
  /** `$process` addon binding when `managed`, else null. */
15085
15218
  addonId: string().nullable(),
@@ -15087,22 +15220,39 @@ var NodeProcessSchema = object({
15087
15220
  nodeId: string().nullable(),
15088
15221
  /** Truncated command line. */
15089
15222
  command: string(),
15223
+ /**
15224
+ * `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
15225
+ * On a runner up for days it barely moves. Fine as a column, useless as a
15226
+ * series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
15227
+ */
15090
15228
  cpuPercent: number(),
15091
15229
  memoryRssBytes: number(),
15230
+ /**
15231
+ * Instantaneous CPU% of the process's own threads over the last
15232
+ * process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
15233
+ *
15234
+ * `null` = UNKNOWN, never zero: no previous sample yet (first tick after
15235
+ * boot), the pid was recycled, or this node is not Linux.
15236
+ */
15237
+ cpuMainPercent: number().nullable(),
15238
+ /**
15239
+ * Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
15240
+ *
15241
+ * This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
15242
+ * `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
15243
+ * does not separate it from `cpuMainPercent` shows "busy" where the truth is
15244
+ * "allocating too much".
15245
+ *
15246
+ * Concurrent GC is the dominant tenant of that pool but not the only one
15247
+ * (background compilation runs there too), so it is reported as
15248
+ * "GC / V8 helpers" rather than as pure collection time. `null` has the same
15249
+ * meaning as on `cpuMainPercent`.
15250
+ */
15251
+ cpuGcPercent: number().nullable(),
15252
+ /** Threads seen in the tick scan. `null` under the same conditions. */
15253
+ threadCount: number().nullable(),
15092
15254
  /** Wall-clock uptime (seconds). Parsed from `ps etime`. */
15093
- uptimeSec: number(),
15094
- /** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
15095
- orphaned: boolean()
15096
- });
15097
- var KillProcessInputSchema = object({
15098
- pid: number(),
15099
- /** Force = SIGKILL. Default is SIGTERM. */
15100
- force: boolean().optional()
15101
- });
15102
- var KillProcessResultSchema = object({
15103
- success: boolean(),
15104
- reason: string().optional(),
15105
- signal: _enum(["SIGTERM", "SIGKILL"]).optional()
15255
+ uptimeSec: number()
15106
15256
  });
15107
15257
  var DumpHeapSnapshotInputSchema = object({
15108
15258
  /** The addon whose runner should dump a heap snapshot. */
@@ -15115,6 +15265,104 @@ var DumpHeapSnapshotResultSchema = object({
15115
15265
  pid: number().optional(),
15116
15266
  reason: string().optional()
15117
15267
  });
15268
+ /**
15269
+ * One point of one function's series.
15270
+ *
15271
+ * The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
15272
+ * point of the whole surface. The two obvious reductions both lie: a mean per
15273
+ * bucket smears a spike away, and taking every Nth sample skips it outright.
15274
+ * Either would give us a tool built to find peaks that does not show peaks.
15275
+ * `...Min` carries the other end, `samples` says how many raw snapshots folded
15276
+ * into the bucket, and a mean stays derivable where it is wanted.
15277
+ *
15278
+ * An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
15279
+ * equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
15280
+ * caller cannot tell which it received — which is what "one reader" means.
15281
+ */
15282
+ var LoadPointSchema = object({
15283
+ /** Bucket START, or the snapshot's own timestamp when unreduced. */
15284
+ atMs: number(),
15285
+ /** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
15286
+ samples: number().int(),
15287
+ /**
15288
+ * `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
15289
+ * of every snapshot in it reported a thread split. A partial sum is a
15290
+ * smaller number that looks exactly as real as a complete one.
15291
+ */
15292
+ cpuMainPercent: number().nullable(),
15293
+ cpuMainPercentMin: number().nullable(),
15294
+ cpuGcPercent: number().nullable(),
15295
+ cpuGcPercentMin: number().nullable(),
15296
+ /** Lifetime-average CPU%, summed. Always known — and never a rate. */
15297
+ cpuLifetimePercent: number(),
15298
+ cpuLifetimePercentMin: number(),
15299
+ memoryRssBytes: number(),
15300
+ memoryRssBytesMin: number(),
15301
+ processCount: number().int(),
15302
+ processCountMin: number().int()
15303
+ });
15304
+ /** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
15305
+ var LoadFunctionSeriesSchema = object({
15306
+ key: string(),
15307
+ kind: _enum([
15308
+ "addon",
15309
+ "root",
15310
+ "unattributed"
15311
+ ]),
15312
+ /** Oldest-first. A missing interval is MISSING — never zero-filled. */
15313
+ points: array(LoadPointSchema).readonly()
15314
+ });
15315
+ var NodeLoadSeriesSchema = object({
15316
+ nodeId: string(),
15317
+ /** One entry per function seen in the window, heaviest-first. */
15318
+ series: array(LoadFunctionSeriesSchema).readonly(),
15319
+ /**
15320
+ * Width of one returned bucket, in ms. Equals the sampling cadence when no
15321
+ * reduction was needed — so a caller can always say what one point covers
15322
+ * without having to know whether it was reduced.
15323
+ */
15324
+ bucketMs: number(),
15325
+ /** Raw snapshots that went into this answer, across both tiers. */
15326
+ retainedSamples: number(),
15327
+ /** Oldest snapshot represented, or `null` when nothing is retained. */
15328
+ oldestAtMs: number().nullable(),
15329
+ /** The fixed sampling cadence in force on the cluster, in ms. */
15330
+ cadenceMs: number(),
15331
+ /**
15332
+ * Did the DURABLE tier contribute? `false` means the answer is the hot ring
15333
+ * alone — an agent (which holds no table), or a store that refused.
15334
+ * Reported because "the last hour" and "the last six hours" are different
15335
+ * questions and an operator must not have to guess which was answered.
15336
+ */
15337
+ durable: boolean()
15338
+ });
15339
+ var GetLoadSeriesInputSchema = object({
15340
+ /**
15341
+ * The node whose series is wanted.
15342
+ *
15343
+ * NOT named `nodeId`: the generated cap router strips a top-level
15344
+ * `nodeId` from every method input and uses it to ROUTE the call to
15345
+ * that node's provider (`generated-cap-routers.ts`). A series target
15346
+ * called `nodeId` would silently become a routing pin and never reach
15347
+ * the provider. The hub holds every node it hears from, so the
15348
+ * ordinary call is unpinned — answered by the hub, for any node.
15349
+ */
15350
+ forNodeId: string(),
15351
+ /**
15352
+ * EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
15353
+ * holds and receives only what it is missing, so seeding a live chart
15354
+ * from this method cannot double a point already drawn.
15355
+ */
15356
+ sinceMs: number().optional(),
15357
+ /**
15358
+ * Most points the caller wants PER FUNCTION. The window is reduced to fit,
15359
+ * preserving min and max per bucket.
15360
+ *
15361
+ * Absent means NO reduction — legitimate for a short window and a trap for a
15362
+ * long one, which is why a chart passes its own pixel width.
15363
+ */
15364
+ maxPoints: number().int().positive().optional()
15365
+ });
15118
15366
  var SystemMetricsSchema = object({
15119
15367
  cpuPercent: number(),
15120
15368
  memoryPercent: number(),
@@ -15125,10 +15373,7 @@ var SystemMetricsSchema = object({
15125
15373
  gpuPercent: number().optional(),
15126
15374
  gpuMemoryPercent: number().optional()
15127
15375
  });
15128
- 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(KillProcessInputSchema, KillProcessResultSchema, {
15129
- kind: "mutation",
15130
- auth: "admin"
15131
- }), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
15376
+ 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, {
15132
15377
  kind: "mutation",
15133
15378
  auth: "admin"
15134
15379
  });
@@ -29428,6 +29673,15 @@ var LoggingSettingsPatchSchema = object({
29428
29673
  * authority over the whole hierarchy and answers for every layer, so the
29429
29674
  * layer selector needs a name the transport does not already own.
29430
29675
  */
29676
+ /**
29677
+ * One contribution, plus WHO reported it.
29678
+ *
29679
+ * The addon and node are added by the hub as it enumerates providers, never by
29680
+ * the contributor: an addon reporting its own identity could report somebody
29681
+ * else's, and the whole point of this surface is that no claim is made by
29682
+ * anyone but its owner.
29683
+ */
29684
+ var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
29431
29685
  var GetLoggingSettingsInputSchema = object({
29432
29686
  scopeNodeId: string().optional(),
29433
29687
  /**
@@ -29486,7 +29740,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
29486
29740
  }), method(_void(), SiteLocationStatusSchema, {
29487
29741
  kind: "mutation",
29488
29742
  auth: "admin"
29489
- }), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
29743
+ }), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
29490
29744
  kind: "mutation",
29491
29745
  auth: "admin"
29492
29746
  });
@@ -31261,6 +31515,12 @@ Object.freeze({
31261
31515
  addonId: null,
31262
31516
  access: "create"
31263
31517
  },
31518
+ "dataStoreProvider.insertMany": {
31519
+ capName: "data-store-provider",
31520
+ capScope: "system",
31521
+ addonId: null,
31522
+ access: "create"
31523
+ },
31264
31524
  "dataStoreProvider.isEmpty": {
31265
31525
  capName: "data-store-provider",
31266
31526
  capScope: "system",
@@ -32575,6 +32835,12 @@ Object.freeze({
32575
32835
  addonId: null,
32576
32836
  access: "create"
32577
32837
  },
32838
+ "loadContribution.list": {
32839
+ capName: "load-contribution",
32840
+ capScope: "system",
32841
+ addonId: null,
32842
+ access: "view"
32843
+ },
32578
32844
  "localNetwork.downloadCa": {
32579
32845
  capName: "local-network",
32580
32846
  capScope: "system",
@@ -32875,17 +33141,17 @@ Object.freeze({
32875
33141
  addonId: null,
32876
33142
  access: "view"
32877
33143
  },
32878
- "metricsProvider.getProcessStats": {
33144
+ "metricsProvider.getLoadSeries": {
32879
33145
  capName: "metrics-provider",
32880
33146
  capScope: "system",
32881
33147
  addonId: null,
32882
33148
  access: "view"
32883
33149
  },
32884
- "metricsProvider.killProcess": {
33150
+ "metricsProvider.getProcessStats": {
32885
33151
  capName: "metrics-provider",
32886
33152
  capScope: "system",
32887
33153
  addonId: null,
32888
- access: "create"
33154
+ access: "view"
32889
33155
  },
32890
33156
  "metricsProvider.listAddonInstances": {
32891
33157
  capName: "metrics-provider",
@@ -34897,6 +35163,12 @@ Object.freeze({
34897
35163
  addonId: null,
34898
35164
  access: "create"
34899
35165
  },
35166
+ "settingsStore.insertMany": {
35167
+ capName: "settings-store",
35168
+ capScope: "system",
35169
+ addonId: null,
35170
+ access: "create"
35171
+ },
34900
35172
  "settingsStore.isEmpty": {
34901
35173
  capName: "settings-store",
34902
35174
  capScope: "system",
@@ -35509,6 +35781,12 @@ Object.freeze({
35509
35781
  addonId: null,
35510
35782
  access: "create"
35511
35783
  },
35784
+ "system.getLoadContributions": {
35785
+ capName: "system",
35786
+ capScope: "system",
35787
+ addonId: null,
35788
+ access: "view"
35789
+ },
35512
35790
  "system.getLoggingSettings": {
35513
35791
  capName: "system",
35514
35792
  capScope: "system",
@@ -39514,6 +39792,12 @@ Object.defineProperty(exports, "AUDIO_PRESETS", {
39514
39792
  return AUDIO_PRESETS;
39515
39793
  }
39516
39794
  });
39795
+ Object.defineProperty(exports, "BOOT_RECOVERY_BACKOFF_MS", {
39796
+ enumerable: true,
39797
+ get: function() {
39798
+ return BOOT_RECOVERY_BACKOFF_MS;
39799
+ }
39800
+ });
39517
39801
  Object.defineProperty(exports, "BaseAddon", {
39518
39802
  enumerable: true,
39519
39803
  get: function() {
@@ -39934,6 +40218,12 @@ Object.defineProperty(exports, "literal", {
39934
40218
  return literal;
39935
40219
  }
39936
40220
  });
40221
+ Object.defineProperty(exports, "loadContributionCapability", {
40222
+ enumerable: true,
40223
+ get: function() {
40224
+ return loadContributionCapability;
40225
+ }
40226
+ });
39937
40227
  Object.defineProperty(exports, "logChannelsCapability", {
39938
40228
  enumerable: true,
39939
40229
  get: function() {