@camstack/addon-import-alexa 0.2.33 → 0.2.35
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
|
@@ -38,7 +38,7 @@ let node_os = require("node:os");
|
|
|
38
38
|
let node_fs = require("node:fs");
|
|
39
39
|
let node_path = require("node:path");
|
|
40
40
|
node_path = __toESM(node_path);
|
|
41
|
-
//#region ../types/dist/event-category-
|
|
41
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
42
42
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
43
43
|
EventCategory["SystemBoot"] = "system.boot";
|
|
44
44
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -475,7 +475,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
475
475
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
476
476
|
/**
|
|
477
477
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
478
|
-
* with
|
|
478
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
479
479
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
480
480
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
481
481
|
*/
|
|
@@ -11454,6 +11454,19 @@ var SettingsRecordSchema = object({
|
|
|
11454
11454
|
data: record(string(), unknown())
|
|
11455
11455
|
});
|
|
11456
11456
|
/**
|
|
11457
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
11458
|
+
* optional.
|
|
11459
|
+
*
|
|
11460
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
11461
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
11462
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
11463
|
+
* `update` and `delete` as well.
|
|
11464
|
+
*/
|
|
11465
|
+
var BulkRecordSchema = object({
|
|
11466
|
+
id: string().optional(),
|
|
11467
|
+
data: record(string(), unknown())
|
|
11468
|
+
});
|
|
11469
|
+
/**
|
|
11457
11470
|
* Column declaration for a structured (SQL-backed) collection.
|
|
11458
11471
|
*
|
|
11459
11472
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -11510,6 +11523,10 @@ method(object({
|
|
|
11510
11523
|
collection: string(),
|
|
11511
11524
|
record: SettingsRecordSchema
|
|
11512
11525
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11526
|
+
namespace: string().optional(),
|
|
11527
|
+
collection: string(),
|
|
11528
|
+
records: array(BulkRecordSchema).readonly()
|
|
11529
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
11513
11530
|
namespace: string().optional(),
|
|
11514
11531
|
collection: string(),
|
|
11515
11532
|
id: string(),
|
|
@@ -11618,6 +11635,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
11618
11635
|
}), _void(), {
|
|
11619
11636
|
kind: "mutation",
|
|
11620
11637
|
auth: "admin"
|
|
11638
|
+
}), method(object({
|
|
11639
|
+
namespace: string().optional(),
|
|
11640
|
+
collection: string(),
|
|
11641
|
+
records: array(BulkRecordSchema).readonly()
|
|
11642
|
+
}), object({ inserted: number().int() }), {
|
|
11643
|
+
kind: "mutation",
|
|
11644
|
+
auth: "admin"
|
|
11621
11645
|
}), method(object({
|
|
11622
11646
|
namespace: string().optional(),
|
|
11623
11647
|
collection: string(),
|
|
@@ -13565,6 +13589,68 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
13565
13589
|
limit: number().optional(),
|
|
13566
13590
|
tags: record(string(), string()).optional()
|
|
13567
13591
|
}), array(LogEntrySchema).readonly());
|
|
13592
|
+
var LoadContributionSchema = object({
|
|
13593
|
+
role: _enum([
|
|
13594
|
+
"decode",
|
|
13595
|
+
"transcode",
|
|
13596
|
+
"recording",
|
|
13597
|
+
"streaming",
|
|
13598
|
+
"detection"
|
|
13599
|
+
]),
|
|
13600
|
+
/**
|
|
13601
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
13602
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
13603
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
13604
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
13605
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
13606
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
13607
|
+
*/
|
|
13608
|
+
deviceId: number().int().positive().nullable(),
|
|
13609
|
+
attribution: _enum([
|
|
13610
|
+
"measured",
|
|
13611
|
+
"accounted",
|
|
13612
|
+
"unattributable"
|
|
13613
|
+
]),
|
|
13614
|
+
/**
|
|
13615
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
13616
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
13617
|
+
* family and inventing a common one would lose the only information that
|
|
13618
|
+
* makes two entries for the same camera distinguishable.
|
|
13619
|
+
*/
|
|
13620
|
+
unit: string(),
|
|
13621
|
+
/**
|
|
13622
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
13623
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
13624
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
13625
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
13626
|
+
* process of its own.
|
|
13627
|
+
*/
|
|
13628
|
+
pid: number().int().positive().optional(),
|
|
13629
|
+
/**
|
|
13630
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
13631
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
13632
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
13633
|
+
* process.
|
|
13634
|
+
*/
|
|
13635
|
+
startedAtMs: number().optional(),
|
|
13636
|
+
/**
|
|
13637
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
13638
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
13639
|
+
* contribution is asked for.
|
|
13640
|
+
*
|
|
13641
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
13642
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
13643
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
13644
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
13645
|
+
*
|
|
13646
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
13647
|
+
* an entry with no process.
|
|
13648
|
+
*/
|
|
13649
|
+
cpuSeconds: number().optional(),
|
|
13650
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
13651
|
+
rssBytes: number().optional()
|
|
13652
|
+
});
|
|
13653
|
+
method(_void(), array(LoadContributionSchema).readonly());
|
|
13568
13654
|
/**
|
|
13569
13655
|
* `login-method` — collection cap through which auth addons contribute
|
|
13570
13656
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -13768,8 +13854,7 @@ var NodeProcessSchema = object({
|
|
|
13768
13854
|
classification: _enum([
|
|
13769
13855
|
"root",
|
|
13770
13856
|
"managed",
|
|
13771
|
-
"system"
|
|
13772
|
-
"ghost"
|
|
13857
|
+
"system"
|
|
13773
13858
|
]),
|
|
13774
13859
|
/** `$process` addon binding when `managed`, else null. */
|
|
13775
13860
|
addonId: string().nullable(),
|
|
@@ -13777,22 +13862,39 @@ var NodeProcessSchema = object({
|
|
|
13777
13862
|
nodeId: string().nullable(),
|
|
13778
13863
|
/** Truncated command line. */
|
|
13779
13864
|
command: string(),
|
|
13865
|
+
/**
|
|
13866
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
13867
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
13868
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
13869
|
+
*/
|
|
13780
13870
|
cpuPercent: number(),
|
|
13781
13871
|
memoryRssBytes: number(),
|
|
13872
|
+
/**
|
|
13873
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
13874
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
13875
|
+
*
|
|
13876
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
13877
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
13878
|
+
*/
|
|
13879
|
+
cpuMainPercent: number().nullable(),
|
|
13880
|
+
/**
|
|
13881
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
13882
|
+
*
|
|
13883
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
13884
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
13885
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
13886
|
+
* "allocating too much".
|
|
13887
|
+
*
|
|
13888
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
13889
|
+
* (background compilation runs there too), so it is reported as
|
|
13890
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
13891
|
+
* meaning as on `cpuMainPercent`.
|
|
13892
|
+
*/
|
|
13893
|
+
cpuGcPercent: number().nullable(),
|
|
13894
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
13895
|
+
threadCount: number().nullable(),
|
|
13782
13896
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13783
|
-
uptimeSec: number()
|
|
13784
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
13785
|
-
orphaned: boolean()
|
|
13786
|
-
});
|
|
13787
|
-
var KillProcessInputSchema = object({
|
|
13788
|
-
pid: number(),
|
|
13789
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
13790
|
-
force: boolean().optional()
|
|
13791
|
-
});
|
|
13792
|
-
var KillProcessResultSchema = object({
|
|
13793
|
-
success: boolean(),
|
|
13794
|
-
reason: string().optional(),
|
|
13795
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
13897
|
+
uptimeSec: number()
|
|
13796
13898
|
});
|
|
13797
13899
|
var DumpHeapSnapshotInputSchema = object({
|
|
13798
13900
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -13805,6 +13907,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
13805
13907
|
pid: number().optional(),
|
|
13806
13908
|
reason: string().optional()
|
|
13807
13909
|
});
|
|
13910
|
+
/**
|
|
13911
|
+
* One point of one function's series.
|
|
13912
|
+
*
|
|
13913
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
13914
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
13915
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
13916
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
13917
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
13918
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
13919
|
+
*
|
|
13920
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
13921
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
13922
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
13923
|
+
*/
|
|
13924
|
+
var LoadPointSchema = object({
|
|
13925
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
13926
|
+
atMs: number(),
|
|
13927
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
13928
|
+
samples: number().int(),
|
|
13929
|
+
/**
|
|
13930
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
13931
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
13932
|
+
* smaller number that looks exactly as real as a complete one.
|
|
13933
|
+
*/
|
|
13934
|
+
cpuMainPercent: number().nullable(),
|
|
13935
|
+
cpuMainPercentMin: number().nullable(),
|
|
13936
|
+
cpuGcPercent: number().nullable(),
|
|
13937
|
+
cpuGcPercentMin: number().nullable(),
|
|
13938
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
13939
|
+
cpuLifetimePercent: number(),
|
|
13940
|
+
cpuLifetimePercentMin: number(),
|
|
13941
|
+
memoryRssBytes: number(),
|
|
13942
|
+
memoryRssBytesMin: number(),
|
|
13943
|
+
processCount: number().int(),
|
|
13944
|
+
processCountMin: number().int()
|
|
13945
|
+
});
|
|
13946
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
13947
|
+
var LoadFunctionSeriesSchema = object({
|
|
13948
|
+
key: string(),
|
|
13949
|
+
kind: _enum([
|
|
13950
|
+
"addon",
|
|
13951
|
+
"root",
|
|
13952
|
+
"unattributed"
|
|
13953
|
+
]),
|
|
13954
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
13955
|
+
points: array(LoadPointSchema).readonly()
|
|
13956
|
+
});
|
|
13957
|
+
var NodeLoadSeriesSchema = object({
|
|
13958
|
+
nodeId: string(),
|
|
13959
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
13960
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13961
|
+
/**
|
|
13962
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13963
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
13964
|
+
* without having to know whether it was reduced.
|
|
13965
|
+
*/
|
|
13966
|
+
bucketMs: number(),
|
|
13967
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
13968
|
+
retainedSamples: number(),
|
|
13969
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
13970
|
+
oldestAtMs: number().nullable(),
|
|
13971
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
13972
|
+
cadenceMs: number(),
|
|
13973
|
+
/**
|
|
13974
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
13975
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
13976
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
13977
|
+
* questions and an operator must not have to guess which was answered.
|
|
13978
|
+
*/
|
|
13979
|
+
durable: boolean()
|
|
13980
|
+
});
|
|
13981
|
+
var GetLoadSeriesInputSchema = object({
|
|
13982
|
+
/**
|
|
13983
|
+
* The node whose series is wanted.
|
|
13984
|
+
*
|
|
13985
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
13986
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
13987
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
13988
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
13989
|
+
* the provider. The hub holds every node it hears from, so the
|
|
13990
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
13991
|
+
*/
|
|
13992
|
+
forNodeId: string(),
|
|
13993
|
+
/**
|
|
13994
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
13995
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
13996
|
+
* from this method cannot double a point already drawn.
|
|
13997
|
+
*/
|
|
13998
|
+
sinceMs: number().optional(),
|
|
13999
|
+
/**
|
|
14000
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
14001
|
+
* preserving min and max per bucket.
|
|
14002
|
+
*
|
|
14003
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
14004
|
+
* long one, which is why a chart passes its own pixel width.
|
|
14005
|
+
*/
|
|
14006
|
+
maxPoints: number().int().positive().optional()
|
|
14007
|
+
});
|
|
13808
14008
|
var SystemMetricsSchema = object({
|
|
13809
14009
|
cpuPercent: number(),
|
|
13810
14010
|
memoryPercent: number(),
|
|
@@ -13815,10 +14015,7 @@ var SystemMetricsSchema = object({
|
|
|
13815
14015
|
gpuPercent: number().optional(),
|
|
13816
14016
|
gpuMemoryPercent: number().optional()
|
|
13817
14017
|
});
|
|
13818
|
-
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(
|
|
13819
|
-
kind: "mutation",
|
|
13820
|
-
auth: "admin"
|
|
13821
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
14018
|
+
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, {
|
|
13822
14019
|
kind: "mutation",
|
|
13823
14020
|
auth: "admin"
|
|
13824
14021
|
});
|
|
@@ -29165,6 +29362,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
29165
29362
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
29166
29363
|
* layer selector needs a name the transport does not already own.
|
|
29167
29364
|
*/
|
|
29365
|
+
/**
|
|
29366
|
+
* One contribution, plus WHO reported it.
|
|
29367
|
+
*
|
|
29368
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
29369
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
29370
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
29371
|
+
* anyone but its owner.
|
|
29372
|
+
*/
|
|
29373
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
29168
29374
|
var GetLoggingSettingsInputSchema = object({
|
|
29169
29375
|
scopeNodeId: string().optional(),
|
|
29170
29376
|
/**
|
|
@@ -29223,7 +29429,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
29223
29429
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
29224
29430
|
kind: "mutation",
|
|
29225
29431
|
auth: "admin"
|
|
29226
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29432
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29227
29433
|
kind: "mutation",
|
|
29228
29434
|
auth: "admin"
|
|
29229
29435
|
});
|
|
@@ -32247,6 +32453,12 @@ Object.freeze({
|
|
|
32247
32453
|
addonId: null,
|
|
32248
32454
|
access: "create"
|
|
32249
32455
|
},
|
|
32456
|
+
"dataStoreProvider.insertMany": {
|
|
32457
|
+
capName: "data-store-provider",
|
|
32458
|
+
capScope: "system",
|
|
32459
|
+
addonId: null,
|
|
32460
|
+
access: "create"
|
|
32461
|
+
},
|
|
32250
32462
|
"dataStoreProvider.isEmpty": {
|
|
32251
32463
|
capName: "data-store-provider",
|
|
32252
32464
|
capScope: "system",
|
|
@@ -33561,6 +33773,12 @@ Object.freeze({
|
|
|
33561
33773
|
addonId: null,
|
|
33562
33774
|
access: "create"
|
|
33563
33775
|
},
|
|
33776
|
+
"loadContribution.list": {
|
|
33777
|
+
capName: "load-contribution",
|
|
33778
|
+
capScope: "system",
|
|
33779
|
+
addonId: null,
|
|
33780
|
+
access: "view"
|
|
33781
|
+
},
|
|
33564
33782
|
"localNetwork.downloadCa": {
|
|
33565
33783
|
capName: "local-network",
|
|
33566
33784
|
capScope: "system",
|
|
@@ -33861,17 +34079,17 @@ Object.freeze({
|
|
|
33861
34079
|
addonId: null,
|
|
33862
34080
|
access: "view"
|
|
33863
34081
|
},
|
|
33864
|
-
"metricsProvider.
|
|
34082
|
+
"metricsProvider.getLoadSeries": {
|
|
33865
34083
|
capName: "metrics-provider",
|
|
33866
34084
|
capScope: "system",
|
|
33867
34085
|
addonId: null,
|
|
33868
34086
|
access: "view"
|
|
33869
34087
|
},
|
|
33870
|
-
"metricsProvider.
|
|
34088
|
+
"metricsProvider.getProcessStats": {
|
|
33871
34089
|
capName: "metrics-provider",
|
|
33872
34090
|
capScope: "system",
|
|
33873
34091
|
addonId: null,
|
|
33874
|
-
access: "
|
|
34092
|
+
access: "view"
|
|
33875
34093
|
},
|
|
33876
34094
|
"metricsProvider.listAddonInstances": {
|
|
33877
34095
|
capName: "metrics-provider",
|
|
@@ -35883,6 +36101,12 @@ Object.freeze({
|
|
|
35883
36101
|
addonId: null,
|
|
35884
36102
|
access: "create"
|
|
35885
36103
|
},
|
|
36104
|
+
"settingsStore.insertMany": {
|
|
36105
|
+
capName: "settings-store",
|
|
36106
|
+
capScope: "system",
|
|
36107
|
+
addonId: null,
|
|
36108
|
+
access: "create"
|
|
36109
|
+
},
|
|
35886
36110
|
"settingsStore.isEmpty": {
|
|
35887
36111
|
capName: "settings-store",
|
|
35888
36112
|
capScope: "system",
|
|
@@ -36495,6 +36719,12 @@ Object.freeze({
|
|
|
36495
36719
|
addonId: null,
|
|
36496
36720
|
access: "create"
|
|
36497
36721
|
},
|
|
36722
|
+
"system.getLoadContributions": {
|
|
36723
|
+
capName: "system",
|
|
36724
|
+
capScope: "system",
|
|
36725
|
+
addonId: null,
|
|
36726
|
+
access: "view"
|
|
36727
|
+
},
|
|
36498
36728
|
"system.getLoggingSettings": {
|
|
36499
36729
|
capName: "system",
|
|
36500
36730
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -38,7 +38,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
39
39
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
40
40
|
//#endregion
|
|
41
|
-
//#region ../types/dist/event-category-
|
|
41
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
42
42
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
43
43
|
EventCategory["SystemBoot"] = "system.boot";
|
|
44
44
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -475,7 +475,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
475
475
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
476
476
|
/**
|
|
477
477
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
478
|
-
* with
|
|
478
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
479
479
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
480
480
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
481
481
|
*/
|
|
@@ -11454,6 +11454,19 @@ var SettingsRecordSchema = object({
|
|
|
11454
11454
|
data: record(string(), unknown())
|
|
11455
11455
|
});
|
|
11456
11456
|
/**
|
|
11457
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
11458
|
+
* optional.
|
|
11459
|
+
*
|
|
11460
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
11461
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
11462
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
11463
|
+
* `update` and `delete` as well.
|
|
11464
|
+
*/
|
|
11465
|
+
var BulkRecordSchema = object({
|
|
11466
|
+
id: string().optional(),
|
|
11467
|
+
data: record(string(), unknown())
|
|
11468
|
+
});
|
|
11469
|
+
/**
|
|
11457
11470
|
* Column declaration for a structured (SQL-backed) collection.
|
|
11458
11471
|
*
|
|
11459
11472
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -11510,6 +11523,10 @@ method(object({
|
|
|
11510
11523
|
collection: string(),
|
|
11511
11524
|
record: SettingsRecordSchema
|
|
11512
11525
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11526
|
+
namespace: string().optional(),
|
|
11527
|
+
collection: string(),
|
|
11528
|
+
records: array(BulkRecordSchema).readonly()
|
|
11529
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
11513
11530
|
namespace: string().optional(),
|
|
11514
11531
|
collection: string(),
|
|
11515
11532
|
id: string(),
|
|
@@ -11618,6 +11635,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
11618
11635
|
}), _void(), {
|
|
11619
11636
|
kind: "mutation",
|
|
11620
11637
|
auth: "admin"
|
|
11638
|
+
}), method(object({
|
|
11639
|
+
namespace: string().optional(),
|
|
11640
|
+
collection: string(),
|
|
11641
|
+
records: array(BulkRecordSchema).readonly()
|
|
11642
|
+
}), object({ inserted: number().int() }), {
|
|
11643
|
+
kind: "mutation",
|
|
11644
|
+
auth: "admin"
|
|
11621
11645
|
}), method(object({
|
|
11622
11646
|
namespace: string().optional(),
|
|
11623
11647
|
collection: string(),
|
|
@@ -13565,6 +13589,68 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
13565
13589
|
limit: number().optional(),
|
|
13566
13590
|
tags: record(string(), string()).optional()
|
|
13567
13591
|
}), array(LogEntrySchema).readonly());
|
|
13592
|
+
var LoadContributionSchema = object({
|
|
13593
|
+
role: _enum([
|
|
13594
|
+
"decode",
|
|
13595
|
+
"transcode",
|
|
13596
|
+
"recording",
|
|
13597
|
+
"streaming",
|
|
13598
|
+
"detection"
|
|
13599
|
+
]),
|
|
13600
|
+
/**
|
|
13601
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
13602
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
13603
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
13604
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
13605
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
13606
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
13607
|
+
*/
|
|
13608
|
+
deviceId: number().int().positive().nullable(),
|
|
13609
|
+
attribution: _enum([
|
|
13610
|
+
"measured",
|
|
13611
|
+
"accounted",
|
|
13612
|
+
"unattributable"
|
|
13613
|
+
]),
|
|
13614
|
+
/**
|
|
13615
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
13616
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
13617
|
+
* family and inventing a common one would lose the only information that
|
|
13618
|
+
* makes two entries for the same camera distinguishable.
|
|
13619
|
+
*/
|
|
13620
|
+
unit: string(),
|
|
13621
|
+
/**
|
|
13622
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
13623
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
13624
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
13625
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
13626
|
+
* process of its own.
|
|
13627
|
+
*/
|
|
13628
|
+
pid: number().int().positive().optional(),
|
|
13629
|
+
/**
|
|
13630
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
13631
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
13632
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
13633
|
+
* process.
|
|
13634
|
+
*/
|
|
13635
|
+
startedAtMs: number().optional(),
|
|
13636
|
+
/**
|
|
13637
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
13638
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
13639
|
+
* contribution is asked for.
|
|
13640
|
+
*
|
|
13641
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
13642
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
13643
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
13644
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
13645
|
+
*
|
|
13646
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
13647
|
+
* an entry with no process.
|
|
13648
|
+
*/
|
|
13649
|
+
cpuSeconds: number().optional(),
|
|
13650
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
13651
|
+
rssBytes: number().optional()
|
|
13652
|
+
});
|
|
13653
|
+
method(_void(), array(LoadContributionSchema).readonly());
|
|
13568
13654
|
/**
|
|
13569
13655
|
* `login-method` — collection cap through which auth addons contribute
|
|
13570
13656
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -13768,8 +13854,7 @@ var NodeProcessSchema = object({
|
|
|
13768
13854
|
classification: _enum([
|
|
13769
13855
|
"root",
|
|
13770
13856
|
"managed",
|
|
13771
|
-
"system"
|
|
13772
|
-
"ghost"
|
|
13857
|
+
"system"
|
|
13773
13858
|
]),
|
|
13774
13859
|
/** `$process` addon binding when `managed`, else null. */
|
|
13775
13860
|
addonId: string().nullable(),
|
|
@@ -13777,22 +13862,39 @@ var NodeProcessSchema = object({
|
|
|
13777
13862
|
nodeId: string().nullable(),
|
|
13778
13863
|
/** Truncated command line. */
|
|
13779
13864
|
command: string(),
|
|
13865
|
+
/**
|
|
13866
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
13867
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
13868
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
13869
|
+
*/
|
|
13780
13870
|
cpuPercent: number(),
|
|
13781
13871
|
memoryRssBytes: number(),
|
|
13872
|
+
/**
|
|
13873
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
13874
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
13875
|
+
*
|
|
13876
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
13877
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
13878
|
+
*/
|
|
13879
|
+
cpuMainPercent: number().nullable(),
|
|
13880
|
+
/**
|
|
13881
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
13882
|
+
*
|
|
13883
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
13884
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
13885
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
13886
|
+
* "allocating too much".
|
|
13887
|
+
*
|
|
13888
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
13889
|
+
* (background compilation runs there too), so it is reported as
|
|
13890
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
13891
|
+
* meaning as on `cpuMainPercent`.
|
|
13892
|
+
*/
|
|
13893
|
+
cpuGcPercent: number().nullable(),
|
|
13894
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
13895
|
+
threadCount: number().nullable(),
|
|
13782
13896
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13783
|
-
uptimeSec: number()
|
|
13784
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
13785
|
-
orphaned: boolean()
|
|
13786
|
-
});
|
|
13787
|
-
var KillProcessInputSchema = object({
|
|
13788
|
-
pid: number(),
|
|
13789
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
13790
|
-
force: boolean().optional()
|
|
13791
|
-
});
|
|
13792
|
-
var KillProcessResultSchema = object({
|
|
13793
|
-
success: boolean(),
|
|
13794
|
-
reason: string().optional(),
|
|
13795
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
13897
|
+
uptimeSec: number()
|
|
13796
13898
|
});
|
|
13797
13899
|
var DumpHeapSnapshotInputSchema = object({
|
|
13798
13900
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -13805,6 +13907,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
13805
13907
|
pid: number().optional(),
|
|
13806
13908
|
reason: string().optional()
|
|
13807
13909
|
});
|
|
13910
|
+
/**
|
|
13911
|
+
* One point of one function's series.
|
|
13912
|
+
*
|
|
13913
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
13914
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
13915
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
13916
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
13917
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
13918
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
13919
|
+
*
|
|
13920
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
13921
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
13922
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
13923
|
+
*/
|
|
13924
|
+
var LoadPointSchema = object({
|
|
13925
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
13926
|
+
atMs: number(),
|
|
13927
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
13928
|
+
samples: number().int(),
|
|
13929
|
+
/**
|
|
13930
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
13931
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
13932
|
+
* smaller number that looks exactly as real as a complete one.
|
|
13933
|
+
*/
|
|
13934
|
+
cpuMainPercent: number().nullable(),
|
|
13935
|
+
cpuMainPercentMin: number().nullable(),
|
|
13936
|
+
cpuGcPercent: number().nullable(),
|
|
13937
|
+
cpuGcPercentMin: number().nullable(),
|
|
13938
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
13939
|
+
cpuLifetimePercent: number(),
|
|
13940
|
+
cpuLifetimePercentMin: number(),
|
|
13941
|
+
memoryRssBytes: number(),
|
|
13942
|
+
memoryRssBytesMin: number(),
|
|
13943
|
+
processCount: number().int(),
|
|
13944
|
+
processCountMin: number().int()
|
|
13945
|
+
});
|
|
13946
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
13947
|
+
var LoadFunctionSeriesSchema = object({
|
|
13948
|
+
key: string(),
|
|
13949
|
+
kind: _enum([
|
|
13950
|
+
"addon",
|
|
13951
|
+
"root",
|
|
13952
|
+
"unattributed"
|
|
13953
|
+
]),
|
|
13954
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
13955
|
+
points: array(LoadPointSchema).readonly()
|
|
13956
|
+
});
|
|
13957
|
+
var NodeLoadSeriesSchema = object({
|
|
13958
|
+
nodeId: string(),
|
|
13959
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
13960
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13961
|
+
/**
|
|
13962
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13963
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
13964
|
+
* without having to know whether it was reduced.
|
|
13965
|
+
*/
|
|
13966
|
+
bucketMs: number(),
|
|
13967
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
13968
|
+
retainedSamples: number(),
|
|
13969
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
13970
|
+
oldestAtMs: number().nullable(),
|
|
13971
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
13972
|
+
cadenceMs: number(),
|
|
13973
|
+
/**
|
|
13974
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
13975
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
13976
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
13977
|
+
* questions and an operator must not have to guess which was answered.
|
|
13978
|
+
*/
|
|
13979
|
+
durable: boolean()
|
|
13980
|
+
});
|
|
13981
|
+
var GetLoadSeriesInputSchema = object({
|
|
13982
|
+
/**
|
|
13983
|
+
* The node whose series is wanted.
|
|
13984
|
+
*
|
|
13985
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
13986
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
13987
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
13988
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
13989
|
+
* the provider. The hub holds every node it hears from, so the
|
|
13990
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
13991
|
+
*/
|
|
13992
|
+
forNodeId: string(),
|
|
13993
|
+
/**
|
|
13994
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
13995
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
13996
|
+
* from this method cannot double a point already drawn.
|
|
13997
|
+
*/
|
|
13998
|
+
sinceMs: number().optional(),
|
|
13999
|
+
/**
|
|
14000
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
14001
|
+
* preserving min and max per bucket.
|
|
14002
|
+
*
|
|
14003
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
14004
|
+
* long one, which is why a chart passes its own pixel width.
|
|
14005
|
+
*/
|
|
14006
|
+
maxPoints: number().int().positive().optional()
|
|
14007
|
+
});
|
|
13808
14008
|
var SystemMetricsSchema = object({
|
|
13809
14009
|
cpuPercent: number(),
|
|
13810
14010
|
memoryPercent: number(),
|
|
@@ -13815,10 +14015,7 @@ var SystemMetricsSchema = object({
|
|
|
13815
14015
|
gpuPercent: number().optional(),
|
|
13816
14016
|
gpuMemoryPercent: number().optional()
|
|
13817
14017
|
});
|
|
13818
|
-
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(
|
|
13819
|
-
kind: "mutation",
|
|
13820
|
-
auth: "admin"
|
|
13821
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
14018
|
+
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, {
|
|
13822
14019
|
kind: "mutation",
|
|
13823
14020
|
auth: "admin"
|
|
13824
14021
|
});
|
|
@@ -29165,6 +29362,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
29165
29362
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
29166
29363
|
* layer selector needs a name the transport does not already own.
|
|
29167
29364
|
*/
|
|
29365
|
+
/**
|
|
29366
|
+
* One contribution, plus WHO reported it.
|
|
29367
|
+
*
|
|
29368
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
29369
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
29370
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
29371
|
+
* anyone but its owner.
|
|
29372
|
+
*/
|
|
29373
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
29168
29374
|
var GetLoggingSettingsInputSchema = object({
|
|
29169
29375
|
scopeNodeId: string().optional(),
|
|
29170
29376
|
/**
|
|
@@ -29223,7 +29429,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
29223
29429
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
29224
29430
|
kind: "mutation",
|
|
29225
29431
|
auth: "admin"
|
|
29226
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29432
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
29227
29433
|
kind: "mutation",
|
|
29228
29434
|
auth: "admin"
|
|
29229
29435
|
});
|
|
@@ -32247,6 +32453,12 @@ Object.freeze({
|
|
|
32247
32453
|
addonId: null,
|
|
32248
32454
|
access: "create"
|
|
32249
32455
|
},
|
|
32456
|
+
"dataStoreProvider.insertMany": {
|
|
32457
|
+
capName: "data-store-provider",
|
|
32458
|
+
capScope: "system",
|
|
32459
|
+
addonId: null,
|
|
32460
|
+
access: "create"
|
|
32461
|
+
},
|
|
32250
32462
|
"dataStoreProvider.isEmpty": {
|
|
32251
32463
|
capName: "data-store-provider",
|
|
32252
32464
|
capScope: "system",
|
|
@@ -33561,6 +33773,12 @@ Object.freeze({
|
|
|
33561
33773
|
addonId: null,
|
|
33562
33774
|
access: "create"
|
|
33563
33775
|
},
|
|
33776
|
+
"loadContribution.list": {
|
|
33777
|
+
capName: "load-contribution",
|
|
33778
|
+
capScope: "system",
|
|
33779
|
+
addonId: null,
|
|
33780
|
+
access: "view"
|
|
33781
|
+
},
|
|
33564
33782
|
"localNetwork.downloadCa": {
|
|
33565
33783
|
capName: "local-network",
|
|
33566
33784
|
capScope: "system",
|
|
@@ -33861,17 +34079,17 @@ Object.freeze({
|
|
|
33861
34079
|
addonId: null,
|
|
33862
34080
|
access: "view"
|
|
33863
34081
|
},
|
|
33864
|
-
"metricsProvider.
|
|
34082
|
+
"metricsProvider.getLoadSeries": {
|
|
33865
34083
|
capName: "metrics-provider",
|
|
33866
34084
|
capScope: "system",
|
|
33867
34085
|
addonId: null,
|
|
33868
34086
|
access: "view"
|
|
33869
34087
|
},
|
|
33870
|
-
"metricsProvider.
|
|
34088
|
+
"metricsProvider.getProcessStats": {
|
|
33871
34089
|
capName: "metrics-provider",
|
|
33872
34090
|
capScope: "system",
|
|
33873
34091
|
addonId: null,
|
|
33874
|
-
access: "
|
|
34092
|
+
access: "view"
|
|
33875
34093
|
},
|
|
33876
34094
|
"metricsProvider.listAddonInstances": {
|
|
33877
34095
|
capName: "metrics-provider",
|
|
@@ -35883,6 +36101,12 @@ Object.freeze({
|
|
|
35883
36101
|
addonId: null,
|
|
35884
36102
|
access: "create"
|
|
35885
36103
|
},
|
|
36104
|
+
"settingsStore.insertMany": {
|
|
36105
|
+
capName: "settings-store",
|
|
36106
|
+
capScope: "system",
|
|
36107
|
+
addonId: null,
|
|
36108
|
+
access: "create"
|
|
36109
|
+
},
|
|
35886
36110
|
"settingsStore.isEmpty": {
|
|
35887
36111
|
capName: "settings-store",
|
|
35888
36112
|
capScope: "system",
|
|
@@ -36495,6 +36719,12 @@ Object.freeze({
|
|
|
36495
36719
|
addonId: null,
|
|
36496
36720
|
access: "create"
|
|
36497
36721
|
},
|
|
36722
|
+
"system.getLoadContributions": {
|
|
36723
|
+
capName: "system",
|
|
36724
|
+
capScope: "system",
|
|
36725
|
+
addonId: null,
|
|
36726
|
+
access: "view"
|
|
36727
|
+
},
|
|
36498
36728
|
"system.getLoggingSettings": {
|
|
36499
36729
|
capName: "system",
|
|
36500
36730
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|