@camstack/addon-provider-homematic 1.2.36 → 1.2.38
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.js +255 -25
- package/dist/addon.mjs +255 -25
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8,7 +8,7 @@ let http = require("http");
|
|
|
8
8
|
let crypto$1 = require("crypto");
|
|
9
9
|
let fs_promises = require("fs/promises");
|
|
10
10
|
let path = require("path");
|
|
11
|
-
//#region ../types/dist/event-category-
|
|
11
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
12
12
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
13
13
|
EventCategory["SystemBoot"] = "system.boot";
|
|
14
14
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -445,7 +445,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
445
445
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
446
446
|
/**
|
|
447
447
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
448
|
-
* with
|
|
448
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
449
449
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
450
450
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
451
451
|
*/
|
|
@@ -11286,6 +11286,19 @@ var SettingsRecordSchema = object({
|
|
|
11286
11286
|
data: record(string(), unknown())
|
|
11287
11287
|
});
|
|
11288
11288
|
/**
|
|
11289
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
11290
|
+
* optional.
|
|
11291
|
+
*
|
|
11292
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
11293
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
11294
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
11295
|
+
* `update` and `delete` as well.
|
|
11296
|
+
*/
|
|
11297
|
+
var BulkRecordSchema = object({
|
|
11298
|
+
id: string().optional(),
|
|
11299
|
+
data: record(string(), unknown())
|
|
11300
|
+
});
|
|
11301
|
+
/**
|
|
11289
11302
|
* Column declaration for a structured (SQL-backed) collection.
|
|
11290
11303
|
*
|
|
11291
11304
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -11342,6 +11355,10 @@ method(object({
|
|
|
11342
11355
|
collection: string(),
|
|
11343
11356
|
record: SettingsRecordSchema
|
|
11344
11357
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11358
|
+
namespace: string().optional(),
|
|
11359
|
+
collection: string(),
|
|
11360
|
+
records: array(BulkRecordSchema).readonly()
|
|
11361
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
11345
11362
|
namespace: string().optional(),
|
|
11346
11363
|
collection: string(),
|
|
11347
11364
|
id: string(),
|
|
@@ -11450,6 +11467,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
11450
11467
|
}), _void(), {
|
|
11451
11468
|
kind: "mutation",
|
|
11452
11469
|
auth: "admin"
|
|
11470
|
+
}), method(object({
|
|
11471
|
+
namespace: string().optional(),
|
|
11472
|
+
collection: string(),
|
|
11473
|
+
records: array(BulkRecordSchema).readonly()
|
|
11474
|
+
}), object({ inserted: number().int() }), {
|
|
11475
|
+
kind: "mutation",
|
|
11476
|
+
auth: "admin"
|
|
11453
11477
|
}), method(object({
|
|
11454
11478
|
namespace: string().optional(),
|
|
11455
11479
|
collection: string(),
|
|
@@ -13397,6 +13421,68 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
13397
13421
|
limit: number().optional(),
|
|
13398
13422
|
tags: record(string(), string()).optional()
|
|
13399
13423
|
}), array(LogEntrySchema).readonly());
|
|
13424
|
+
var LoadContributionSchema = object({
|
|
13425
|
+
role: _enum([
|
|
13426
|
+
"decode",
|
|
13427
|
+
"transcode",
|
|
13428
|
+
"recording",
|
|
13429
|
+
"streaming",
|
|
13430
|
+
"detection"
|
|
13431
|
+
]),
|
|
13432
|
+
/**
|
|
13433
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
13434
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
13435
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
13436
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
13437
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
13438
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
13439
|
+
*/
|
|
13440
|
+
deviceId: number().int().positive().nullable(),
|
|
13441
|
+
attribution: _enum([
|
|
13442
|
+
"measured",
|
|
13443
|
+
"accounted",
|
|
13444
|
+
"unattributable"
|
|
13445
|
+
]),
|
|
13446
|
+
/**
|
|
13447
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
13448
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
13449
|
+
* family and inventing a common one would lose the only information that
|
|
13450
|
+
* makes two entries for the same camera distinguishable.
|
|
13451
|
+
*/
|
|
13452
|
+
unit: string(),
|
|
13453
|
+
/**
|
|
13454
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
13455
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
13456
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
13457
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
13458
|
+
* process of its own.
|
|
13459
|
+
*/
|
|
13460
|
+
pid: number().int().positive().optional(),
|
|
13461
|
+
/**
|
|
13462
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
13463
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
13464
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
13465
|
+
* process.
|
|
13466
|
+
*/
|
|
13467
|
+
startedAtMs: number().optional(),
|
|
13468
|
+
/**
|
|
13469
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
13470
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
13471
|
+
* contribution is asked for.
|
|
13472
|
+
*
|
|
13473
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
13474
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
13475
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
13476
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
13477
|
+
*
|
|
13478
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
13479
|
+
* an entry with no process.
|
|
13480
|
+
*/
|
|
13481
|
+
cpuSeconds: number().optional(),
|
|
13482
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
13483
|
+
rssBytes: number().optional()
|
|
13484
|
+
});
|
|
13485
|
+
method(_void(), array(LoadContributionSchema).readonly());
|
|
13400
13486
|
/**
|
|
13401
13487
|
* `login-method` — collection cap through which auth addons contribute
|
|
13402
13488
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -13600,8 +13686,7 @@ var NodeProcessSchema = object({
|
|
|
13600
13686
|
classification: _enum([
|
|
13601
13687
|
"root",
|
|
13602
13688
|
"managed",
|
|
13603
|
-
"system"
|
|
13604
|
-
"ghost"
|
|
13689
|
+
"system"
|
|
13605
13690
|
]),
|
|
13606
13691
|
/** `$process` addon binding when `managed`, else null. */
|
|
13607
13692
|
addonId: string().nullable(),
|
|
@@ -13609,22 +13694,39 @@ var NodeProcessSchema = object({
|
|
|
13609
13694
|
nodeId: string().nullable(),
|
|
13610
13695
|
/** Truncated command line. */
|
|
13611
13696
|
command: string(),
|
|
13697
|
+
/**
|
|
13698
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
13699
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
13700
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
13701
|
+
*/
|
|
13612
13702
|
cpuPercent: number(),
|
|
13613
13703
|
memoryRssBytes: number(),
|
|
13704
|
+
/**
|
|
13705
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
13706
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
13707
|
+
*
|
|
13708
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
13709
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
13710
|
+
*/
|
|
13711
|
+
cpuMainPercent: number().nullable(),
|
|
13712
|
+
/**
|
|
13713
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
13714
|
+
*
|
|
13715
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
13716
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
13717
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
13718
|
+
* "allocating too much".
|
|
13719
|
+
*
|
|
13720
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
13721
|
+
* (background compilation runs there too), so it is reported as
|
|
13722
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
13723
|
+
* meaning as on `cpuMainPercent`.
|
|
13724
|
+
*/
|
|
13725
|
+
cpuGcPercent: number().nullable(),
|
|
13726
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
13727
|
+
threadCount: number().nullable(),
|
|
13614
13728
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13615
|
-
uptimeSec: number()
|
|
13616
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
13617
|
-
orphaned: boolean()
|
|
13618
|
-
});
|
|
13619
|
-
var KillProcessInputSchema = object({
|
|
13620
|
-
pid: number(),
|
|
13621
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
13622
|
-
force: boolean().optional()
|
|
13623
|
-
});
|
|
13624
|
-
var KillProcessResultSchema = object({
|
|
13625
|
-
success: boolean(),
|
|
13626
|
-
reason: string().optional(),
|
|
13627
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
13729
|
+
uptimeSec: number()
|
|
13628
13730
|
});
|
|
13629
13731
|
var DumpHeapSnapshotInputSchema = object({
|
|
13630
13732
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -13637,6 +13739,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
13637
13739
|
pid: number().optional(),
|
|
13638
13740
|
reason: string().optional()
|
|
13639
13741
|
});
|
|
13742
|
+
/**
|
|
13743
|
+
* One point of one function's series.
|
|
13744
|
+
*
|
|
13745
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
13746
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
13747
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
13748
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
13749
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
13750
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
13751
|
+
*
|
|
13752
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
13753
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
13754
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
13755
|
+
*/
|
|
13756
|
+
var LoadPointSchema = object({
|
|
13757
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
13758
|
+
atMs: number(),
|
|
13759
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
13760
|
+
samples: number().int(),
|
|
13761
|
+
/**
|
|
13762
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
13763
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
13764
|
+
* smaller number that looks exactly as real as a complete one.
|
|
13765
|
+
*/
|
|
13766
|
+
cpuMainPercent: number().nullable(),
|
|
13767
|
+
cpuMainPercentMin: number().nullable(),
|
|
13768
|
+
cpuGcPercent: number().nullable(),
|
|
13769
|
+
cpuGcPercentMin: number().nullable(),
|
|
13770
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
13771
|
+
cpuLifetimePercent: number(),
|
|
13772
|
+
cpuLifetimePercentMin: number(),
|
|
13773
|
+
memoryRssBytes: number(),
|
|
13774
|
+
memoryRssBytesMin: number(),
|
|
13775
|
+
processCount: number().int(),
|
|
13776
|
+
processCountMin: number().int()
|
|
13777
|
+
});
|
|
13778
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
13779
|
+
var LoadFunctionSeriesSchema = object({
|
|
13780
|
+
key: string(),
|
|
13781
|
+
kind: _enum([
|
|
13782
|
+
"addon",
|
|
13783
|
+
"root",
|
|
13784
|
+
"unattributed"
|
|
13785
|
+
]),
|
|
13786
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
13787
|
+
points: array(LoadPointSchema).readonly()
|
|
13788
|
+
});
|
|
13789
|
+
var NodeLoadSeriesSchema = object({
|
|
13790
|
+
nodeId: string(),
|
|
13791
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
13792
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13793
|
+
/**
|
|
13794
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13795
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
13796
|
+
* without having to know whether it was reduced.
|
|
13797
|
+
*/
|
|
13798
|
+
bucketMs: number(),
|
|
13799
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
13800
|
+
retainedSamples: number(),
|
|
13801
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
13802
|
+
oldestAtMs: number().nullable(),
|
|
13803
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
13804
|
+
cadenceMs: number(),
|
|
13805
|
+
/**
|
|
13806
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
13807
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
13808
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
13809
|
+
* questions and an operator must not have to guess which was answered.
|
|
13810
|
+
*/
|
|
13811
|
+
durable: boolean()
|
|
13812
|
+
});
|
|
13813
|
+
var GetLoadSeriesInputSchema = object({
|
|
13814
|
+
/**
|
|
13815
|
+
* The node whose series is wanted.
|
|
13816
|
+
*
|
|
13817
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
13818
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
13819
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
13820
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
13821
|
+
* the provider. The hub holds every node it hears from, so the
|
|
13822
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
13823
|
+
*/
|
|
13824
|
+
forNodeId: string(),
|
|
13825
|
+
/**
|
|
13826
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
13827
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
13828
|
+
* from this method cannot double a point already drawn.
|
|
13829
|
+
*/
|
|
13830
|
+
sinceMs: number().optional(),
|
|
13831
|
+
/**
|
|
13832
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
13833
|
+
* preserving min and max per bucket.
|
|
13834
|
+
*
|
|
13835
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
13836
|
+
* long one, which is why a chart passes its own pixel width.
|
|
13837
|
+
*/
|
|
13838
|
+
maxPoints: number().int().positive().optional()
|
|
13839
|
+
});
|
|
13640
13840
|
var SystemMetricsSchema = object({
|
|
13641
13841
|
cpuPercent: number(),
|
|
13642
13842
|
memoryPercent: number(),
|
|
@@ -13647,10 +13847,7 @@ var SystemMetricsSchema = object({
|
|
|
13647
13847
|
gpuPercent: number().optional(),
|
|
13648
13848
|
gpuMemoryPercent: number().optional()
|
|
13649
13849
|
});
|
|
13650
|
-
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(
|
|
13651
|
-
kind: "mutation",
|
|
13652
|
-
auth: "admin"
|
|
13653
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
13850
|
+
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, {
|
|
13654
13851
|
kind: "mutation",
|
|
13655
13852
|
auth: "admin"
|
|
13656
13853
|
});
|
|
@@ -28980,6 +29177,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
28980
29177
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
28981
29178
|
* layer selector needs a name the transport does not already own.
|
|
28982
29179
|
*/
|
|
29180
|
+
/**
|
|
29181
|
+
* One contribution, plus WHO reported it.
|
|
29182
|
+
*
|
|
29183
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
29184
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
29185
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
29186
|
+
* anyone but its owner.
|
|
29187
|
+
*/
|
|
29188
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
28983
29189
|
var GetLoggingSettingsInputSchema = object({
|
|
28984
29190
|
scopeNodeId: string().optional(),
|
|
28985
29191
|
/**
|
|
@@ -29038,7 +29244,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
29038
29244
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
29039
29245
|
kind: "mutation",
|
|
29040
29246
|
auth: "admin"
|
|
29041
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29247
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29042
29248
|
kind: "mutation",
|
|
29043
29249
|
auth: "admin"
|
|
29044
29250
|
});
|
|
@@ -32062,6 +32268,12 @@ Object.freeze({
|
|
|
32062
32268
|
addonId: null,
|
|
32063
32269
|
access: "create"
|
|
32064
32270
|
},
|
|
32271
|
+
"dataStoreProvider.insertMany": {
|
|
32272
|
+
capName: "data-store-provider",
|
|
32273
|
+
capScope: "system",
|
|
32274
|
+
addonId: null,
|
|
32275
|
+
access: "create"
|
|
32276
|
+
},
|
|
32065
32277
|
"dataStoreProvider.isEmpty": {
|
|
32066
32278
|
capName: "data-store-provider",
|
|
32067
32279
|
capScope: "system",
|
|
@@ -33376,6 +33588,12 @@ Object.freeze({
|
|
|
33376
33588
|
addonId: null,
|
|
33377
33589
|
access: "create"
|
|
33378
33590
|
},
|
|
33591
|
+
"loadContribution.list": {
|
|
33592
|
+
capName: "load-contribution",
|
|
33593
|
+
capScope: "system",
|
|
33594
|
+
addonId: null,
|
|
33595
|
+
access: "view"
|
|
33596
|
+
},
|
|
33379
33597
|
"localNetwork.downloadCa": {
|
|
33380
33598
|
capName: "local-network",
|
|
33381
33599
|
capScope: "system",
|
|
@@ -33676,17 +33894,17 @@ Object.freeze({
|
|
|
33676
33894
|
addonId: null,
|
|
33677
33895
|
access: "view"
|
|
33678
33896
|
},
|
|
33679
|
-
"metricsProvider.
|
|
33897
|
+
"metricsProvider.getLoadSeries": {
|
|
33680
33898
|
capName: "metrics-provider",
|
|
33681
33899
|
capScope: "system",
|
|
33682
33900
|
addonId: null,
|
|
33683
33901
|
access: "view"
|
|
33684
33902
|
},
|
|
33685
|
-
"metricsProvider.
|
|
33903
|
+
"metricsProvider.getProcessStats": {
|
|
33686
33904
|
capName: "metrics-provider",
|
|
33687
33905
|
capScope: "system",
|
|
33688
33906
|
addonId: null,
|
|
33689
|
-
access: "
|
|
33907
|
+
access: "view"
|
|
33690
33908
|
},
|
|
33691
33909
|
"metricsProvider.listAddonInstances": {
|
|
33692
33910
|
capName: "metrics-provider",
|
|
@@ -35698,6 +35916,12 @@ Object.freeze({
|
|
|
35698
35916
|
addonId: null,
|
|
35699
35917
|
access: "create"
|
|
35700
35918
|
},
|
|
35919
|
+
"settingsStore.insertMany": {
|
|
35920
|
+
capName: "settings-store",
|
|
35921
|
+
capScope: "system",
|
|
35922
|
+
addonId: null,
|
|
35923
|
+
access: "create"
|
|
35924
|
+
},
|
|
35701
35925
|
"settingsStore.isEmpty": {
|
|
35702
35926
|
capName: "settings-store",
|
|
35703
35927
|
capScope: "system",
|
|
@@ -36310,6 +36534,12 @@ Object.freeze({
|
|
|
36310
36534
|
addonId: null,
|
|
36311
36535
|
access: "create"
|
|
36312
36536
|
},
|
|
36537
|
+
"system.getLoadContributions": {
|
|
36538
|
+
capName: "system",
|
|
36539
|
+
capScope: "system",
|
|
36540
|
+
addonId: null,
|
|
36541
|
+
access: "view"
|
|
36542
|
+
},
|
|
36313
36543
|
"system.getLoggingSettings": {
|
|
36314
36544
|
capName: "system",
|
|
36315
36545
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { join } from "path";
|
|
|
9
9
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
10
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region ../types/dist/event-category-
|
|
12
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
13
13
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
14
14
|
EventCategory["SystemBoot"] = "system.boot";
|
|
15
15
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -446,7 +446,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
446
446
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
447
447
|
/**
|
|
448
448
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
449
|
-
* with
|
|
449
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
450
450
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
451
451
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
452
452
|
*/
|
|
@@ -11287,6 +11287,19 @@ var SettingsRecordSchema = object({
|
|
|
11287
11287
|
data: record(string(), unknown())
|
|
11288
11288
|
});
|
|
11289
11289
|
/**
|
|
11290
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
11291
|
+
* optional.
|
|
11292
|
+
*
|
|
11293
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
11294
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
11295
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
11296
|
+
* `update` and `delete` as well.
|
|
11297
|
+
*/
|
|
11298
|
+
var BulkRecordSchema = object({
|
|
11299
|
+
id: string().optional(),
|
|
11300
|
+
data: record(string(), unknown())
|
|
11301
|
+
});
|
|
11302
|
+
/**
|
|
11290
11303
|
* Column declaration for a structured (SQL-backed) collection.
|
|
11291
11304
|
*
|
|
11292
11305
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -11343,6 +11356,10 @@ method(object({
|
|
|
11343
11356
|
collection: string(),
|
|
11344
11357
|
record: SettingsRecordSchema
|
|
11345
11358
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11359
|
+
namespace: string().optional(),
|
|
11360
|
+
collection: string(),
|
|
11361
|
+
records: array(BulkRecordSchema).readonly()
|
|
11362
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
11346
11363
|
namespace: string().optional(),
|
|
11347
11364
|
collection: string(),
|
|
11348
11365
|
id: string(),
|
|
@@ -11451,6 +11468,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
11451
11468
|
}), _void(), {
|
|
11452
11469
|
kind: "mutation",
|
|
11453
11470
|
auth: "admin"
|
|
11471
|
+
}), method(object({
|
|
11472
|
+
namespace: string().optional(),
|
|
11473
|
+
collection: string(),
|
|
11474
|
+
records: array(BulkRecordSchema).readonly()
|
|
11475
|
+
}), object({ inserted: number().int() }), {
|
|
11476
|
+
kind: "mutation",
|
|
11477
|
+
auth: "admin"
|
|
11454
11478
|
}), method(object({
|
|
11455
11479
|
namespace: string().optional(),
|
|
11456
11480
|
collection: string(),
|
|
@@ -13398,6 +13422,68 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
13398
13422
|
limit: number().optional(),
|
|
13399
13423
|
tags: record(string(), string()).optional()
|
|
13400
13424
|
}), array(LogEntrySchema).readonly());
|
|
13425
|
+
var LoadContributionSchema = object({
|
|
13426
|
+
role: _enum([
|
|
13427
|
+
"decode",
|
|
13428
|
+
"transcode",
|
|
13429
|
+
"recording",
|
|
13430
|
+
"streaming",
|
|
13431
|
+
"detection"
|
|
13432
|
+
]),
|
|
13433
|
+
/**
|
|
13434
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
13435
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
13436
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
13437
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
13438
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
13439
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
13440
|
+
*/
|
|
13441
|
+
deviceId: number().int().positive().nullable(),
|
|
13442
|
+
attribution: _enum([
|
|
13443
|
+
"measured",
|
|
13444
|
+
"accounted",
|
|
13445
|
+
"unattributable"
|
|
13446
|
+
]),
|
|
13447
|
+
/**
|
|
13448
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
13449
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
13450
|
+
* family and inventing a common one would lose the only information that
|
|
13451
|
+
* makes two entries for the same camera distinguishable.
|
|
13452
|
+
*/
|
|
13453
|
+
unit: string(),
|
|
13454
|
+
/**
|
|
13455
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
13456
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
13457
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
13458
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
13459
|
+
* process of its own.
|
|
13460
|
+
*/
|
|
13461
|
+
pid: number().int().positive().optional(),
|
|
13462
|
+
/**
|
|
13463
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
13464
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
13465
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
13466
|
+
* process.
|
|
13467
|
+
*/
|
|
13468
|
+
startedAtMs: number().optional(),
|
|
13469
|
+
/**
|
|
13470
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
13471
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
13472
|
+
* contribution is asked for.
|
|
13473
|
+
*
|
|
13474
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
13475
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
13476
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
13477
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
13478
|
+
*
|
|
13479
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
13480
|
+
* an entry with no process.
|
|
13481
|
+
*/
|
|
13482
|
+
cpuSeconds: number().optional(),
|
|
13483
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
13484
|
+
rssBytes: number().optional()
|
|
13485
|
+
});
|
|
13486
|
+
method(_void(), array(LoadContributionSchema).readonly());
|
|
13401
13487
|
/**
|
|
13402
13488
|
* `login-method` — collection cap through which auth addons contribute
|
|
13403
13489
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -13601,8 +13687,7 @@ var NodeProcessSchema = object({
|
|
|
13601
13687
|
classification: _enum([
|
|
13602
13688
|
"root",
|
|
13603
13689
|
"managed",
|
|
13604
|
-
"system"
|
|
13605
|
-
"ghost"
|
|
13690
|
+
"system"
|
|
13606
13691
|
]),
|
|
13607
13692
|
/** `$process` addon binding when `managed`, else null. */
|
|
13608
13693
|
addonId: string().nullable(),
|
|
@@ -13610,22 +13695,39 @@ var NodeProcessSchema = object({
|
|
|
13610
13695
|
nodeId: string().nullable(),
|
|
13611
13696
|
/** Truncated command line. */
|
|
13612
13697
|
command: string(),
|
|
13698
|
+
/**
|
|
13699
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
13700
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
13701
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
13702
|
+
*/
|
|
13613
13703
|
cpuPercent: number(),
|
|
13614
13704
|
memoryRssBytes: number(),
|
|
13705
|
+
/**
|
|
13706
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
13707
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
13708
|
+
*
|
|
13709
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
13710
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
13711
|
+
*/
|
|
13712
|
+
cpuMainPercent: number().nullable(),
|
|
13713
|
+
/**
|
|
13714
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
13715
|
+
*
|
|
13716
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
13717
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
13718
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
13719
|
+
* "allocating too much".
|
|
13720
|
+
*
|
|
13721
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
13722
|
+
* (background compilation runs there too), so it is reported as
|
|
13723
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
13724
|
+
* meaning as on `cpuMainPercent`.
|
|
13725
|
+
*/
|
|
13726
|
+
cpuGcPercent: number().nullable(),
|
|
13727
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
13728
|
+
threadCount: number().nullable(),
|
|
13615
13729
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13616
|
-
uptimeSec: number()
|
|
13617
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
13618
|
-
orphaned: boolean()
|
|
13619
|
-
});
|
|
13620
|
-
var KillProcessInputSchema = object({
|
|
13621
|
-
pid: number(),
|
|
13622
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
13623
|
-
force: boolean().optional()
|
|
13624
|
-
});
|
|
13625
|
-
var KillProcessResultSchema = object({
|
|
13626
|
-
success: boolean(),
|
|
13627
|
-
reason: string().optional(),
|
|
13628
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
13730
|
+
uptimeSec: number()
|
|
13629
13731
|
});
|
|
13630
13732
|
var DumpHeapSnapshotInputSchema = object({
|
|
13631
13733
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -13638,6 +13740,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
13638
13740
|
pid: number().optional(),
|
|
13639
13741
|
reason: string().optional()
|
|
13640
13742
|
});
|
|
13743
|
+
/**
|
|
13744
|
+
* One point of one function's series.
|
|
13745
|
+
*
|
|
13746
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
13747
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
13748
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
13749
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
13750
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
13751
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
13752
|
+
*
|
|
13753
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
13754
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
13755
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
13756
|
+
*/
|
|
13757
|
+
var LoadPointSchema = object({
|
|
13758
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
13759
|
+
atMs: number(),
|
|
13760
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
13761
|
+
samples: number().int(),
|
|
13762
|
+
/**
|
|
13763
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
13764
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
13765
|
+
* smaller number that looks exactly as real as a complete one.
|
|
13766
|
+
*/
|
|
13767
|
+
cpuMainPercent: number().nullable(),
|
|
13768
|
+
cpuMainPercentMin: number().nullable(),
|
|
13769
|
+
cpuGcPercent: number().nullable(),
|
|
13770
|
+
cpuGcPercentMin: number().nullable(),
|
|
13771
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
13772
|
+
cpuLifetimePercent: number(),
|
|
13773
|
+
cpuLifetimePercentMin: number(),
|
|
13774
|
+
memoryRssBytes: number(),
|
|
13775
|
+
memoryRssBytesMin: number(),
|
|
13776
|
+
processCount: number().int(),
|
|
13777
|
+
processCountMin: number().int()
|
|
13778
|
+
});
|
|
13779
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
13780
|
+
var LoadFunctionSeriesSchema = object({
|
|
13781
|
+
key: string(),
|
|
13782
|
+
kind: _enum([
|
|
13783
|
+
"addon",
|
|
13784
|
+
"root",
|
|
13785
|
+
"unattributed"
|
|
13786
|
+
]),
|
|
13787
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
13788
|
+
points: array(LoadPointSchema).readonly()
|
|
13789
|
+
});
|
|
13790
|
+
var NodeLoadSeriesSchema = object({
|
|
13791
|
+
nodeId: string(),
|
|
13792
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
13793
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13794
|
+
/**
|
|
13795
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13796
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
13797
|
+
* without having to know whether it was reduced.
|
|
13798
|
+
*/
|
|
13799
|
+
bucketMs: number(),
|
|
13800
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
13801
|
+
retainedSamples: number(),
|
|
13802
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
13803
|
+
oldestAtMs: number().nullable(),
|
|
13804
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
13805
|
+
cadenceMs: number(),
|
|
13806
|
+
/**
|
|
13807
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
13808
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
13809
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
13810
|
+
* questions and an operator must not have to guess which was answered.
|
|
13811
|
+
*/
|
|
13812
|
+
durable: boolean()
|
|
13813
|
+
});
|
|
13814
|
+
var GetLoadSeriesInputSchema = object({
|
|
13815
|
+
/**
|
|
13816
|
+
* The node whose series is wanted.
|
|
13817
|
+
*
|
|
13818
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
13819
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
13820
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
13821
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
13822
|
+
* the provider. The hub holds every node it hears from, so the
|
|
13823
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
13824
|
+
*/
|
|
13825
|
+
forNodeId: string(),
|
|
13826
|
+
/**
|
|
13827
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
13828
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
13829
|
+
* from this method cannot double a point already drawn.
|
|
13830
|
+
*/
|
|
13831
|
+
sinceMs: number().optional(),
|
|
13832
|
+
/**
|
|
13833
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
13834
|
+
* preserving min and max per bucket.
|
|
13835
|
+
*
|
|
13836
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
13837
|
+
* long one, which is why a chart passes its own pixel width.
|
|
13838
|
+
*/
|
|
13839
|
+
maxPoints: number().int().positive().optional()
|
|
13840
|
+
});
|
|
13641
13841
|
var SystemMetricsSchema = object({
|
|
13642
13842
|
cpuPercent: number(),
|
|
13643
13843
|
memoryPercent: number(),
|
|
@@ -13648,10 +13848,7 @@ var SystemMetricsSchema = object({
|
|
|
13648
13848
|
gpuPercent: number().optional(),
|
|
13649
13849
|
gpuMemoryPercent: number().optional()
|
|
13650
13850
|
});
|
|
13651
|
-
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(
|
|
13652
|
-
kind: "mutation",
|
|
13653
|
-
auth: "admin"
|
|
13654
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
13851
|
+
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, {
|
|
13655
13852
|
kind: "mutation",
|
|
13656
13853
|
auth: "admin"
|
|
13657
13854
|
});
|
|
@@ -28981,6 +29178,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
28981
29178
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
28982
29179
|
* layer selector needs a name the transport does not already own.
|
|
28983
29180
|
*/
|
|
29181
|
+
/**
|
|
29182
|
+
* One contribution, plus WHO reported it.
|
|
29183
|
+
*
|
|
29184
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
29185
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
29186
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
29187
|
+
* anyone but its owner.
|
|
29188
|
+
*/
|
|
29189
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
28984
29190
|
var GetLoggingSettingsInputSchema = object({
|
|
28985
29191
|
scopeNodeId: string().optional(),
|
|
28986
29192
|
/**
|
|
@@ -29039,7 +29245,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
29039
29245
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
29040
29246
|
kind: "mutation",
|
|
29041
29247
|
auth: "admin"
|
|
29042
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29248
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29043
29249
|
kind: "mutation",
|
|
29044
29250
|
auth: "admin"
|
|
29045
29251
|
});
|
|
@@ -32063,6 +32269,12 @@ Object.freeze({
|
|
|
32063
32269
|
addonId: null,
|
|
32064
32270
|
access: "create"
|
|
32065
32271
|
},
|
|
32272
|
+
"dataStoreProvider.insertMany": {
|
|
32273
|
+
capName: "data-store-provider",
|
|
32274
|
+
capScope: "system",
|
|
32275
|
+
addonId: null,
|
|
32276
|
+
access: "create"
|
|
32277
|
+
},
|
|
32066
32278
|
"dataStoreProvider.isEmpty": {
|
|
32067
32279
|
capName: "data-store-provider",
|
|
32068
32280
|
capScope: "system",
|
|
@@ -33377,6 +33589,12 @@ Object.freeze({
|
|
|
33377
33589
|
addonId: null,
|
|
33378
33590
|
access: "create"
|
|
33379
33591
|
},
|
|
33592
|
+
"loadContribution.list": {
|
|
33593
|
+
capName: "load-contribution",
|
|
33594
|
+
capScope: "system",
|
|
33595
|
+
addonId: null,
|
|
33596
|
+
access: "view"
|
|
33597
|
+
},
|
|
33380
33598
|
"localNetwork.downloadCa": {
|
|
33381
33599
|
capName: "local-network",
|
|
33382
33600
|
capScope: "system",
|
|
@@ -33677,17 +33895,17 @@ Object.freeze({
|
|
|
33677
33895
|
addonId: null,
|
|
33678
33896
|
access: "view"
|
|
33679
33897
|
},
|
|
33680
|
-
"metricsProvider.
|
|
33898
|
+
"metricsProvider.getLoadSeries": {
|
|
33681
33899
|
capName: "metrics-provider",
|
|
33682
33900
|
capScope: "system",
|
|
33683
33901
|
addonId: null,
|
|
33684
33902
|
access: "view"
|
|
33685
33903
|
},
|
|
33686
|
-
"metricsProvider.
|
|
33904
|
+
"metricsProvider.getProcessStats": {
|
|
33687
33905
|
capName: "metrics-provider",
|
|
33688
33906
|
capScope: "system",
|
|
33689
33907
|
addonId: null,
|
|
33690
|
-
access: "
|
|
33908
|
+
access: "view"
|
|
33691
33909
|
},
|
|
33692
33910
|
"metricsProvider.listAddonInstances": {
|
|
33693
33911
|
capName: "metrics-provider",
|
|
@@ -35699,6 +35917,12 @@ Object.freeze({
|
|
|
35699
35917
|
addonId: null,
|
|
35700
35918
|
access: "create"
|
|
35701
35919
|
},
|
|
35920
|
+
"settingsStore.insertMany": {
|
|
35921
|
+
capName: "settings-store",
|
|
35922
|
+
capScope: "system",
|
|
35923
|
+
addonId: null,
|
|
35924
|
+
access: "create"
|
|
35925
|
+
},
|
|
35702
35926
|
"settingsStore.isEmpty": {
|
|
35703
35927
|
capName: "settings-store",
|
|
35704
35928
|
capScope: "system",
|
|
@@ -36311,6 +36535,12 @@ Object.freeze({
|
|
|
36311
36535
|
addonId: null,
|
|
36312
36536
|
access: "create"
|
|
36313
36537
|
},
|
|
36538
|
+
"system.getLoadContributions": {
|
|
36539
|
+
capName: "system",
|
|
36540
|
+
capScope: "system",
|
|
36541
|
+
addonId: null,
|
|
36542
|
+
access: "view"
|
|
36543
|
+
},
|
|
36314
36544
|
"system.getLoggingSettings": {
|
|
36315
36545
|
capName: "system",
|
|
36316
36546
|
capScope: "system",
|
package/package.json
CHANGED