@camstack/addon-smtp-nodemailer 1.2.34 → 1.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/smtp.addon.js +255 -25
- package/dist/smtp.addon.mjs +255 -25
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -36,7 +36,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
36
|
}) : target, mod));
|
|
37
37
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
38
38
|
//#endregion
|
|
39
|
-
//#region ../types/dist/event-category-
|
|
39
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
40
40
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
41
41
|
EventCategory["SystemBoot"] = "system.boot";
|
|
42
42
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -473,7 +473,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
473
473
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
474
474
|
/**
|
|
475
475
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
476
|
-
* with
|
|
476
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
477
477
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
478
478
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
479
479
|
*/
|
|
@@ -11147,6 +11147,19 @@ var SettingsRecordSchema = object({
|
|
|
11147
11147
|
data: record(string(), unknown())
|
|
11148
11148
|
});
|
|
11149
11149
|
/**
|
|
11150
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
11151
|
+
* optional.
|
|
11152
|
+
*
|
|
11153
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
11154
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
11155
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
11156
|
+
* `update` and `delete` as well.
|
|
11157
|
+
*/
|
|
11158
|
+
var BulkRecordSchema = object({
|
|
11159
|
+
id: string().optional(),
|
|
11160
|
+
data: record(string(), unknown())
|
|
11161
|
+
});
|
|
11162
|
+
/**
|
|
11150
11163
|
* Column declaration for a structured (SQL-backed) collection.
|
|
11151
11164
|
*
|
|
11152
11165
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -11203,6 +11216,10 @@ method(object({
|
|
|
11203
11216
|
collection: string(),
|
|
11204
11217
|
record: SettingsRecordSchema
|
|
11205
11218
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11219
|
+
namespace: string().optional(),
|
|
11220
|
+
collection: string(),
|
|
11221
|
+
records: array(BulkRecordSchema).readonly()
|
|
11222
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
11206
11223
|
namespace: string().optional(),
|
|
11207
11224
|
collection: string(),
|
|
11208
11225
|
id: string(),
|
|
@@ -11311,6 +11328,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
11311
11328
|
}), _void(), {
|
|
11312
11329
|
kind: "mutation",
|
|
11313
11330
|
auth: "admin"
|
|
11331
|
+
}), method(object({
|
|
11332
|
+
namespace: string().optional(),
|
|
11333
|
+
collection: string(),
|
|
11334
|
+
records: array(BulkRecordSchema).readonly()
|
|
11335
|
+
}), object({ inserted: number().int() }), {
|
|
11336
|
+
kind: "mutation",
|
|
11337
|
+
auth: "admin"
|
|
11314
11338
|
}), method(object({
|
|
11315
11339
|
namespace: string().optional(),
|
|
11316
11340
|
collection: string(),
|
|
@@ -13079,6 +13103,68 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
13079
13103
|
limit: number().optional(),
|
|
13080
13104
|
tags: record(string(), string()).optional()
|
|
13081
13105
|
}), array(LogEntrySchema).readonly());
|
|
13106
|
+
var LoadContributionSchema = object({
|
|
13107
|
+
role: _enum([
|
|
13108
|
+
"decode",
|
|
13109
|
+
"transcode",
|
|
13110
|
+
"recording",
|
|
13111
|
+
"streaming",
|
|
13112
|
+
"detection"
|
|
13113
|
+
]),
|
|
13114
|
+
/**
|
|
13115
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
13116
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
13117
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
13118
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
13119
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
13120
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
13121
|
+
*/
|
|
13122
|
+
deviceId: number().int().positive().nullable(),
|
|
13123
|
+
attribution: _enum([
|
|
13124
|
+
"measured",
|
|
13125
|
+
"accounted",
|
|
13126
|
+
"unattributable"
|
|
13127
|
+
]),
|
|
13128
|
+
/**
|
|
13129
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
13130
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
13131
|
+
* family and inventing a common one would lose the only information that
|
|
13132
|
+
* makes two entries for the same camera distinguishable.
|
|
13133
|
+
*/
|
|
13134
|
+
unit: string(),
|
|
13135
|
+
/**
|
|
13136
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
13137
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
13138
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
13139
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
13140
|
+
* process of its own.
|
|
13141
|
+
*/
|
|
13142
|
+
pid: number().int().positive().optional(),
|
|
13143
|
+
/**
|
|
13144
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
13145
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
13146
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
13147
|
+
* process.
|
|
13148
|
+
*/
|
|
13149
|
+
startedAtMs: number().optional(),
|
|
13150
|
+
/**
|
|
13151
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
13152
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
13153
|
+
* contribution is asked for.
|
|
13154
|
+
*
|
|
13155
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
13156
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
13157
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
13158
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
13159
|
+
*
|
|
13160
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
13161
|
+
* an entry with no process.
|
|
13162
|
+
*/
|
|
13163
|
+
cpuSeconds: number().optional(),
|
|
13164
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
13165
|
+
rssBytes: number().optional()
|
|
13166
|
+
});
|
|
13167
|
+
method(_void(), array(LoadContributionSchema).readonly());
|
|
13082
13168
|
/**
|
|
13083
13169
|
* `login-method` — collection cap through which auth addons contribute
|
|
13084
13170
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -13282,8 +13368,7 @@ var NodeProcessSchema = object({
|
|
|
13282
13368
|
classification: _enum([
|
|
13283
13369
|
"root",
|
|
13284
13370
|
"managed",
|
|
13285
|
-
"system"
|
|
13286
|
-
"ghost"
|
|
13371
|
+
"system"
|
|
13287
13372
|
]),
|
|
13288
13373
|
/** `$process` addon binding when `managed`, else null. */
|
|
13289
13374
|
addonId: string().nullable(),
|
|
@@ -13291,22 +13376,39 @@ var NodeProcessSchema = object({
|
|
|
13291
13376
|
nodeId: string().nullable(),
|
|
13292
13377
|
/** Truncated command line. */
|
|
13293
13378
|
command: string(),
|
|
13379
|
+
/**
|
|
13380
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
13381
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
13382
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
13383
|
+
*/
|
|
13294
13384
|
cpuPercent: number(),
|
|
13295
13385
|
memoryRssBytes: number(),
|
|
13386
|
+
/**
|
|
13387
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
13388
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
13389
|
+
*
|
|
13390
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
13391
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
13392
|
+
*/
|
|
13393
|
+
cpuMainPercent: number().nullable(),
|
|
13394
|
+
/**
|
|
13395
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
13396
|
+
*
|
|
13397
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
13398
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
13399
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
13400
|
+
* "allocating too much".
|
|
13401
|
+
*
|
|
13402
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
13403
|
+
* (background compilation runs there too), so it is reported as
|
|
13404
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
13405
|
+
* meaning as on `cpuMainPercent`.
|
|
13406
|
+
*/
|
|
13407
|
+
cpuGcPercent: number().nullable(),
|
|
13408
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
13409
|
+
threadCount: number().nullable(),
|
|
13296
13410
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13297
|
-
uptimeSec: number()
|
|
13298
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
13299
|
-
orphaned: boolean()
|
|
13300
|
-
});
|
|
13301
|
-
var KillProcessInputSchema = object({
|
|
13302
|
-
pid: number(),
|
|
13303
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
13304
|
-
force: boolean().optional()
|
|
13305
|
-
});
|
|
13306
|
-
var KillProcessResultSchema = object({
|
|
13307
|
-
success: boolean(),
|
|
13308
|
-
reason: string().optional(),
|
|
13309
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
13411
|
+
uptimeSec: number()
|
|
13310
13412
|
});
|
|
13311
13413
|
var DumpHeapSnapshotInputSchema = object({
|
|
13312
13414
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -13319,6 +13421,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
13319
13421
|
pid: number().optional(),
|
|
13320
13422
|
reason: string().optional()
|
|
13321
13423
|
});
|
|
13424
|
+
/**
|
|
13425
|
+
* One point of one function's series.
|
|
13426
|
+
*
|
|
13427
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
13428
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
13429
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
13430
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
13431
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
13432
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
13433
|
+
*
|
|
13434
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
13435
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
13436
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
13437
|
+
*/
|
|
13438
|
+
var LoadPointSchema = object({
|
|
13439
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
13440
|
+
atMs: number(),
|
|
13441
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
13442
|
+
samples: number().int(),
|
|
13443
|
+
/**
|
|
13444
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
13445
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
13446
|
+
* smaller number that looks exactly as real as a complete one.
|
|
13447
|
+
*/
|
|
13448
|
+
cpuMainPercent: number().nullable(),
|
|
13449
|
+
cpuMainPercentMin: number().nullable(),
|
|
13450
|
+
cpuGcPercent: number().nullable(),
|
|
13451
|
+
cpuGcPercentMin: number().nullable(),
|
|
13452
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
13453
|
+
cpuLifetimePercent: number(),
|
|
13454
|
+
cpuLifetimePercentMin: number(),
|
|
13455
|
+
memoryRssBytes: number(),
|
|
13456
|
+
memoryRssBytesMin: number(),
|
|
13457
|
+
processCount: number().int(),
|
|
13458
|
+
processCountMin: number().int()
|
|
13459
|
+
});
|
|
13460
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
13461
|
+
var LoadFunctionSeriesSchema = object({
|
|
13462
|
+
key: string(),
|
|
13463
|
+
kind: _enum([
|
|
13464
|
+
"addon",
|
|
13465
|
+
"root",
|
|
13466
|
+
"unattributed"
|
|
13467
|
+
]),
|
|
13468
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
13469
|
+
points: array(LoadPointSchema).readonly()
|
|
13470
|
+
});
|
|
13471
|
+
var NodeLoadSeriesSchema = object({
|
|
13472
|
+
nodeId: string(),
|
|
13473
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
13474
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13475
|
+
/**
|
|
13476
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13477
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
13478
|
+
* without having to know whether it was reduced.
|
|
13479
|
+
*/
|
|
13480
|
+
bucketMs: number(),
|
|
13481
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
13482
|
+
retainedSamples: number(),
|
|
13483
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
13484
|
+
oldestAtMs: number().nullable(),
|
|
13485
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
13486
|
+
cadenceMs: number(),
|
|
13487
|
+
/**
|
|
13488
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
13489
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
13490
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
13491
|
+
* questions and an operator must not have to guess which was answered.
|
|
13492
|
+
*/
|
|
13493
|
+
durable: boolean()
|
|
13494
|
+
});
|
|
13495
|
+
var GetLoadSeriesInputSchema = object({
|
|
13496
|
+
/**
|
|
13497
|
+
* The node whose series is wanted.
|
|
13498
|
+
*
|
|
13499
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
13500
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
13501
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
13502
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
13503
|
+
* the provider. The hub holds every node it hears from, so the
|
|
13504
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
13505
|
+
*/
|
|
13506
|
+
forNodeId: string(),
|
|
13507
|
+
/**
|
|
13508
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
13509
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
13510
|
+
* from this method cannot double a point already drawn.
|
|
13511
|
+
*/
|
|
13512
|
+
sinceMs: number().optional(),
|
|
13513
|
+
/**
|
|
13514
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
13515
|
+
* preserving min and max per bucket.
|
|
13516
|
+
*
|
|
13517
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
13518
|
+
* long one, which is why a chart passes its own pixel width.
|
|
13519
|
+
*/
|
|
13520
|
+
maxPoints: number().int().positive().optional()
|
|
13521
|
+
});
|
|
13322
13522
|
var SystemMetricsSchema = object({
|
|
13323
13523
|
cpuPercent: number(),
|
|
13324
13524
|
memoryPercent: number(),
|
|
@@ -13329,10 +13529,7 @@ var SystemMetricsSchema = object({
|
|
|
13329
13529
|
gpuPercent: number().optional(),
|
|
13330
13530
|
gpuMemoryPercent: number().optional()
|
|
13331
13531
|
});
|
|
13332
|
-
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(
|
|
13333
|
-
kind: "mutation",
|
|
13334
|
-
auth: "admin"
|
|
13335
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
13532
|
+
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, {
|
|
13336
13533
|
kind: "mutation",
|
|
13337
13534
|
auth: "admin"
|
|
13338
13535
|
});
|
|
@@ -26648,6 +26845,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
26648
26845
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
26649
26846
|
* layer selector needs a name the transport does not already own.
|
|
26650
26847
|
*/
|
|
26848
|
+
/**
|
|
26849
|
+
* One contribution, plus WHO reported it.
|
|
26850
|
+
*
|
|
26851
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
26852
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
26853
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
26854
|
+
* anyone but its owner.
|
|
26855
|
+
*/
|
|
26856
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
26651
26857
|
var GetLoggingSettingsInputSchema = object({
|
|
26652
26858
|
scopeNodeId: string().optional(),
|
|
26653
26859
|
/**
|
|
@@ -26706,7 +26912,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
26706
26912
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
26707
26913
|
kind: "mutation",
|
|
26708
26914
|
auth: "admin"
|
|
26709
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
26915
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
26710
26916
|
kind: "mutation",
|
|
26711
26917
|
auth: "admin"
|
|
26712
26918
|
});
|
|
@@ -28322,6 +28528,12 @@ Object.freeze({
|
|
|
28322
28528
|
addonId: null,
|
|
28323
28529
|
access: "create"
|
|
28324
28530
|
},
|
|
28531
|
+
"dataStoreProvider.insertMany": {
|
|
28532
|
+
capName: "data-store-provider",
|
|
28533
|
+
capScope: "system",
|
|
28534
|
+
addonId: null,
|
|
28535
|
+
access: "create"
|
|
28536
|
+
},
|
|
28325
28537
|
"dataStoreProvider.isEmpty": {
|
|
28326
28538
|
capName: "data-store-provider",
|
|
28327
28539
|
capScope: "system",
|
|
@@ -29636,6 +29848,12 @@ Object.freeze({
|
|
|
29636
29848
|
addonId: null,
|
|
29637
29849
|
access: "create"
|
|
29638
29850
|
},
|
|
29851
|
+
"loadContribution.list": {
|
|
29852
|
+
capName: "load-contribution",
|
|
29853
|
+
capScope: "system",
|
|
29854
|
+
addonId: null,
|
|
29855
|
+
access: "view"
|
|
29856
|
+
},
|
|
29639
29857
|
"localNetwork.downloadCa": {
|
|
29640
29858
|
capName: "local-network",
|
|
29641
29859
|
capScope: "system",
|
|
@@ -29936,17 +30154,17 @@ Object.freeze({
|
|
|
29936
30154
|
addonId: null,
|
|
29937
30155
|
access: "view"
|
|
29938
30156
|
},
|
|
29939
|
-
"metricsProvider.
|
|
30157
|
+
"metricsProvider.getLoadSeries": {
|
|
29940
30158
|
capName: "metrics-provider",
|
|
29941
30159
|
capScope: "system",
|
|
29942
30160
|
addonId: null,
|
|
29943
30161
|
access: "view"
|
|
29944
30162
|
},
|
|
29945
|
-
"metricsProvider.
|
|
30163
|
+
"metricsProvider.getProcessStats": {
|
|
29946
30164
|
capName: "metrics-provider",
|
|
29947
30165
|
capScope: "system",
|
|
29948
30166
|
addonId: null,
|
|
29949
|
-
access: "
|
|
30167
|
+
access: "view"
|
|
29950
30168
|
},
|
|
29951
30169
|
"metricsProvider.listAddonInstances": {
|
|
29952
30170
|
capName: "metrics-provider",
|
|
@@ -31958,6 +32176,12 @@ Object.freeze({
|
|
|
31958
32176
|
addonId: null,
|
|
31959
32177
|
access: "create"
|
|
31960
32178
|
},
|
|
32179
|
+
"settingsStore.insertMany": {
|
|
32180
|
+
capName: "settings-store",
|
|
32181
|
+
capScope: "system",
|
|
32182
|
+
addonId: null,
|
|
32183
|
+
access: "create"
|
|
32184
|
+
},
|
|
31961
32185
|
"settingsStore.isEmpty": {
|
|
31962
32186
|
capName: "settings-store",
|
|
31963
32187
|
capScope: "system",
|
|
@@ -32570,6 +32794,12 @@ Object.freeze({
|
|
|
32570
32794
|
addonId: null,
|
|
32571
32795
|
access: "create"
|
|
32572
32796
|
},
|
|
32797
|
+
"system.getLoadContributions": {
|
|
32798
|
+
capName: "system",
|
|
32799
|
+
capScope: "system",
|
|
32800
|
+
addonId: null,
|
|
32801
|
+
access: "view"
|
|
32802
|
+
},
|
|
32573
32803
|
"system.getLoggingSettings": {
|
|
32574
32804
|
capName: "system",
|
|
32575
32805
|
capScope: "system",
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -34,7 +34,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-BZL-fdNj.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -471,7 +471,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
471
471
|
EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
|
|
472
472
|
/**
|
|
473
473
|
* Periodic per-node process-tree snapshot (camstack-related pids
|
|
474
|
-
* with
|
|
474
|
+
* with root / managed / system classification). Emitted ~0.2 Hz by
|
|
475
475
|
* the metrics-provider addon. Drives the Cluster → Processes tab
|
|
476
476
|
* without polling `metricsProvider.listNodeProcesses`.
|
|
477
477
|
*/
|
|
@@ -11145,6 +11145,19 @@ var SettingsRecordSchema = object({
|
|
|
11145
11145
|
data: record(string(), unknown())
|
|
11146
11146
|
});
|
|
11147
11147
|
/**
|
|
11148
|
+
* One record of a BULK insert — {@link SettingsRecordSchema} with the id made
|
|
11149
|
+
* optional.
|
|
11150
|
+
*
|
|
11151
|
+
* A separate schema rather than loosening the shared one: every other method
|
|
11152
|
+
* on this cap addresses a row BY its id, and making that field optional
|
|
11153
|
+
* everywhere would turn a forgotten key into a silently generated one on
|
|
11154
|
+
* `update` and `delete` as well.
|
|
11155
|
+
*/
|
|
11156
|
+
var BulkRecordSchema = object({
|
|
11157
|
+
id: string().optional(),
|
|
11158
|
+
data: record(string(), unknown())
|
|
11159
|
+
});
|
|
11160
|
+
/**
|
|
11148
11161
|
* Column declaration for a structured (SQL-backed) collection.
|
|
11149
11162
|
*
|
|
11150
11163
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -11201,6 +11214,10 @@ method(object({
|
|
|
11201
11214
|
collection: string(),
|
|
11202
11215
|
record: SettingsRecordSchema
|
|
11203
11216
|
}), _void(), { kind: "mutation" }), method(object({
|
|
11217
|
+
namespace: string().optional(),
|
|
11218
|
+
collection: string(),
|
|
11219
|
+
records: array(BulkRecordSchema).readonly()
|
|
11220
|
+
}), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
|
|
11204
11221
|
namespace: string().optional(),
|
|
11205
11222
|
collection: string(),
|
|
11206
11223
|
id: string(),
|
|
@@ -11309,6 +11326,13 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
11309
11326
|
}), _void(), {
|
|
11310
11327
|
kind: "mutation",
|
|
11311
11328
|
auth: "admin"
|
|
11329
|
+
}), method(object({
|
|
11330
|
+
namespace: string().optional(),
|
|
11331
|
+
collection: string(),
|
|
11332
|
+
records: array(BulkRecordSchema).readonly()
|
|
11333
|
+
}), object({ inserted: number().int() }), {
|
|
11334
|
+
kind: "mutation",
|
|
11335
|
+
auth: "admin"
|
|
11312
11336
|
}), method(object({
|
|
11313
11337
|
namespace: string().optional(),
|
|
11314
11338
|
collection: string(),
|
|
@@ -13077,6 +13101,68 @@ method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
|
|
|
13077
13101
|
limit: number().optional(),
|
|
13078
13102
|
tags: record(string(), string()).optional()
|
|
13079
13103
|
}), array(LogEntrySchema).readonly());
|
|
13104
|
+
var LoadContributionSchema = object({
|
|
13105
|
+
role: _enum([
|
|
13106
|
+
"decode",
|
|
13107
|
+
"transcode",
|
|
13108
|
+
"recording",
|
|
13109
|
+
"streaming",
|
|
13110
|
+
"detection"
|
|
13111
|
+
]),
|
|
13112
|
+
/**
|
|
13113
|
+
* The NUMERIC device id — the same value every log line carries as
|
|
13114
|
+
* `tags.deviceId`. `null` means this cost genuinely belongs to no single
|
|
13115
|
+
* camera (a shared pool), NOT that the contributor forgot to look it up: a
|
|
13116
|
+
* contributor that cannot name its camera must not emit the entry at all,
|
|
13117
|
+
* because an unnamed per-camera entry is indistinguishable from a shared one
|
|
13118
|
+
* and would quietly turn one camera's cost into everybody's.
|
|
13119
|
+
*/
|
|
13120
|
+
deviceId: number().int().positive().nullable(),
|
|
13121
|
+
attribution: _enum([
|
|
13122
|
+
"measured",
|
|
13123
|
+
"accounted",
|
|
13124
|
+
"unattributable"
|
|
13125
|
+
]),
|
|
13126
|
+
/**
|
|
13127
|
+
* What ONE entry is, in the contributor's own words — `615/high`,
|
|
13128
|
+
* `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
13129
|
+
* family and inventing a common one would lose the only information that
|
|
13130
|
+
* makes two entries for the same camera distinguishable.
|
|
13131
|
+
*/
|
|
13132
|
+
unit: string(),
|
|
13133
|
+
/**
|
|
13134
|
+
* The OS process this cost lives in, when there is one. Present so a
|
|
13135
|
+
* consumer can (a) tell two generations of the same unit apart across a
|
|
13136
|
+
* restart, and (b) subtract claimed processes from the node's process
|
|
13137
|
+
* snapshot to see what NOBODY claimed. Absent for an entry that owns no
|
|
13138
|
+
* process of its own.
|
|
13139
|
+
*/
|
|
13140
|
+
pid: number().int().positive().optional(),
|
|
13141
|
+
/**
|
|
13142
|
+
* When this generation started. The pid's incarnation marker: a consumer
|
|
13143
|
+
* differencing {@link LoadContributionSchema.shape.cpuSeconds} must drop the
|
|
13144
|
+
* window when this changes, because the counter restarted from zero in a new
|
|
13145
|
+
* process.
|
|
13146
|
+
*/
|
|
13147
|
+
startedAtMs: number().optional(),
|
|
13148
|
+
/**
|
|
13149
|
+
* CUMULATIVE CPU seconds this unit has consumed since it started — user +
|
|
13150
|
+
* system, read from the child's own `/proc/<pid>/stat` at the moment the
|
|
13151
|
+
* contribution is asked for.
|
|
13152
|
+
*
|
|
13153
|
+
* Cumulative and not a rate on purpose: a rate needs a window, a window
|
|
13154
|
+
* needs a sampler, and a new per-node sampler is the defect half of
|
|
13155
|
+
* `docs/architecture/load-ledger.md` documents. A counter can be differenced
|
|
13156
|
+
* by whoever already keeps a history; a rate cannot be un-averaged.
|
|
13157
|
+
*
|
|
13158
|
+
* Absent — never zero — on a node with no `/proc`, on a read failure, and on
|
|
13159
|
+
* an entry with no process.
|
|
13160
|
+
*/
|
|
13161
|
+
cpuSeconds: number().optional(),
|
|
13162
|
+
/** Resident bytes of this unit's process, same source and same rules. */
|
|
13163
|
+
rssBytes: number().optional()
|
|
13164
|
+
});
|
|
13165
|
+
method(_void(), array(LoadContributionSchema).readonly());
|
|
13080
13166
|
/**
|
|
13081
13167
|
* `login-method` — collection cap through which auth addons contribute
|
|
13082
13168
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -13280,8 +13366,7 @@ var NodeProcessSchema = object({
|
|
|
13280
13366
|
classification: _enum([
|
|
13281
13367
|
"root",
|
|
13282
13368
|
"managed",
|
|
13283
|
-
"system"
|
|
13284
|
-
"ghost"
|
|
13369
|
+
"system"
|
|
13285
13370
|
]),
|
|
13286
13371
|
/** `$process` addon binding when `managed`, else null. */
|
|
13287
13372
|
addonId: string().nullable(),
|
|
@@ -13289,22 +13374,39 @@ var NodeProcessSchema = object({
|
|
|
13289
13374
|
nodeId: string().nullable(),
|
|
13290
13375
|
/** Truncated command line. */
|
|
13291
13376
|
command: string(),
|
|
13377
|
+
/**
|
|
13378
|
+
* `ps pcpu` — CPU averaged over the process's WHOLE LIFETIME, not a rate.
|
|
13379
|
+
* On a runner up for days it barely moves. Fine as a column, useless as a
|
|
13380
|
+
* series: use `cpuMainPercent + cpuGcPercent` for anything time-varying.
|
|
13381
|
+
*/
|
|
13292
13382
|
cpuPercent: number(),
|
|
13293
13383
|
memoryRssBytes: number(),
|
|
13384
|
+
/**
|
|
13385
|
+
* Instantaneous CPU% of the process's own threads over the last
|
|
13386
|
+
* process-snapshot window, from a `/proc/<pid>/task/*` tick delta.
|
|
13387
|
+
*
|
|
13388
|
+
* `null` = UNKNOWN, never zero: no previous sample yet (first tick after
|
|
13389
|
+
* boot), the pid was recycled, or this node is not Linux.
|
|
13390
|
+
*/
|
|
13391
|
+
cpuMainPercent: number().nullable(),
|
|
13392
|
+
/**
|
|
13393
|
+
* Instantaneous CPU% of V8's `V8Worker` platform pool over the same window.
|
|
13394
|
+
*
|
|
13395
|
+
* This is the number that rewrote the 2026-08-27 diagnosis — hub-main 73%,
|
|
13396
|
+
* `stream-broker` 61% (`docs/architecture/load-ledger.md`). A CPU chart that
|
|
13397
|
+
* does not separate it from `cpuMainPercent` shows "busy" where the truth is
|
|
13398
|
+
* "allocating too much".
|
|
13399
|
+
*
|
|
13400
|
+
* Concurrent GC is the dominant tenant of that pool but not the only one
|
|
13401
|
+
* (background compilation runs there too), so it is reported as
|
|
13402
|
+
* "GC / V8 helpers" rather than as pure collection time. `null` has the same
|
|
13403
|
+
* meaning as on `cpuMainPercent`.
|
|
13404
|
+
*/
|
|
13405
|
+
cpuGcPercent: number().nullable(),
|
|
13406
|
+
/** Threads seen in the tick scan. `null` under the same conditions. */
|
|
13407
|
+
threadCount: number().nullable(),
|
|
13294
13408
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
13295
|
-
uptimeSec: number()
|
|
13296
|
-
/** True when ancestor walk reaches `ppid=1` (reparented to init/launchd). */
|
|
13297
|
-
orphaned: boolean()
|
|
13298
|
-
});
|
|
13299
|
-
var KillProcessInputSchema = object({
|
|
13300
|
-
pid: number(),
|
|
13301
|
-
/** Force = SIGKILL. Default is SIGTERM. */
|
|
13302
|
-
force: boolean().optional()
|
|
13303
|
-
});
|
|
13304
|
-
var KillProcessResultSchema = object({
|
|
13305
|
-
success: boolean(),
|
|
13306
|
-
reason: string().optional(),
|
|
13307
|
-
signal: _enum(["SIGTERM", "SIGKILL"]).optional()
|
|
13409
|
+
uptimeSec: number()
|
|
13308
13410
|
});
|
|
13309
13411
|
var DumpHeapSnapshotInputSchema = object({
|
|
13310
13412
|
/** The addon whose runner should dump a heap snapshot. */
|
|
@@ -13317,6 +13419,104 @@ var DumpHeapSnapshotResultSchema = object({
|
|
|
13317
13419
|
pid: number().optional(),
|
|
13318
13420
|
reason: string().optional()
|
|
13319
13421
|
});
|
|
13422
|
+
/**
|
|
13423
|
+
* One point of one function's series.
|
|
13424
|
+
*
|
|
13425
|
+
* The unsuffixed fields are the bucket's **MAXIMUM**, and that choice is the
|
|
13426
|
+
* point of the whole surface. The two obvious reductions both lie: a mean per
|
|
13427
|
+
* bucket smears a spike away, and taking every Nth sample skips it outright.
|
|
13428
|
+
* Either would give us a tool built to find peaks that does not show peaks.
|
|
13429
|
+
* `...Min` carries the other end, `samples` says how many raw snapshots folded
|
|
13430
|
+
* into the bucket, and a mean stays derivable where it is wanted.
|
|
13431
|
+
*
|
|
13432
|
+
* An UNREDUCED point is a one-sample bucket: `samples === 1` and each `...Min`
|
|
13433
|
+
* equals its unsuffixed twin. Reduced and unreduced are the same shape, so a
|
|
13434
|
+
* caller cannot tell which it received — which is what "one reader" means.
|
|
13435
|
+
*/
|
|
13436
|
+
var LoadPointSchema = object({
|
|
13437
|
+
/** Bucket START, or the snapshot's own timestamp when unreduced. */
|
|
13438
|
+
atMs: number(),
|
|
13439
|
+
/** Raw snapshots in this bucket. Never 0 — AN EMPTY BUCKET IS ABSENT. */
|
|
13440
|
+
samples: number().int(),
|
|
13441
|
+
/**
|
|
13442
|
+
* `null` = UNKNOWN and it PROPAGATES: a bucket is null unless every process
|
|
13443
|
+
* of every snapshot in it reported a thread split. A partial sum is a
|
|
13444
|
+
* smaller number that looks exactly as real as a complete one.
|
|
13445
|
+
*/
|
|
13446
|
+
cpuMainPercent: number().nullable(),
|
|
13447
|
+
cpuMainPercentMin: number().nullable(),
|
|
13448
|
+
cpuGcPercent: number().nullable(),
|
|
13449
|
+
cpuGcPercentMin: number().nullable(),
|
|
13450
|
+
/** Lifetime-average CPU%, summed. Always known — and never a rate. */
|
|
13451
|
+
cpuLifetimePercent: number(),
|
|
13452
|
+
cpuLifetimePercentMin: number(),
|
|
13453
|
+
memoryRssBytes: number(),
|
|
13454
|
+
memoryRssBytesMin: number(),
|
|
13455
|
+
processCount: number().int(),
|
|
13456
|
+
processCountMin: number().int()
|
|
13457
|
+
});
|
|
13458
|
+
/** One function's series. `key` is an addonId, `__root__` or `__unattributed__`. */
|
|
13459
|
+
var LoadFunctionSeriesSchema = object({
|
|
13460
|
+
key: string(),
|
|
13461
|
+
kind: _enum([
|
|
13462
|
+
"addon",
|
|
13463
|
+
"root",
|
|
13464
|
+
"unattributed"
|
|
13465
|
+
]),
|
|
13466
|
+
/** Oldest-first. A missing interval is MISSING — never zero-filled. */
|
|
13467
|
+
points: array(LoadPointSchema).readonly()
|
|
13468
|
+
});
|
|
13469
|
+
var NodeLoadSeriesSchema = object({
|
|
13470
|
+
nodeId: string(),
|
|
13471
|
+
/** One entry per function seen in the window, heaviest-first. */
|
|
13472
|
+
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
13473
|
+
/**
|
|
13474
|
+
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
13475
|
+
* reduction was needed — so a caller can always say what one point covers
|
|
13476
|
+
* without having to know whether it was reduced.
|
|
13477
|
+
*/
|
|
13478
|
+
bucketMs: number(),
|
|
13479
|
+
/** Raw snapshots that went into this answer, across both tiers. */
|
|
13480
|
+
retainedSamples: number(),
|
|
13481
|
+
/** Oldest snapshot represented, or `null` when nothing is retained. */
|
|
13482
|
+
oldestAtMs: number().nullable(),
|
|
13483
|
+
/** The fixed sampling cadence in force on the cluster, in ms. */
|
|
13484
|
+
cadenceMs: number(),
|
|
13485
|
+
/**
|
|
13486
|
+
* Did the DURABLE tier contribute? `false` means the answer is the hot ring
|
|
13487
|
+
* alone — an agent (which holds no table), or a store that refused.
|
|
13488
|
+
* Reported because "the last hour" and "the last six hours" are different
|
|
13489
|
+
* questions and an operator must not have to guess which was answered.
|
|
13490
|
+
*/
|
|
13491
|
+
durable: boolean()
|
|
13492
|
+
});
|
|
13493
|
+
var GetLoadSeriesInputSchema = object({
|
|
13494
|
+
/**
|
|
13495
|
+
* The node whose series is wanted.
|
|
13496
|
+
*
|
|
13497
|
+
* NOT named `nodeId`: the generated cap router strips a top-level
|
|
13498
|
+
* `nodeId` from every method input and uses it to ROUTE the call to
|
|
13499
|
+
* that node's provider (`generated-cap-routers.ts`). A series target
|
|
13500
|
+
* called `nodeId` would silently become a routing pin and never reach
|
|
13501
|
+
* the provider. The hub holds every node it hears from, so the
|
|
13502
|
+
* ordinary call is unpinned — answered by the hub, for any node.
|
|
13503
|
+
*/
|
|
13504
|
+
forNodeId: string(),
|
|
13505
|
+
/**
|
|
13506
|
+
* EXCLUSIVE lower bound. A caller passes the newest `atMs` it already
|
|
13507
|
+
* holds and receives only what it is missing, so seeding a live chart
|
|
13508
|
+
* from this method cannot double a point already drawn.
|
|
13509
|
+
*/
|
|
13510
|
+
sinceMs: number().optional(),
|
|
13511
|
+
/**
|
|
13512
|
+
* Most points the caller wants PER FUNCTION. The window is reduced to fit,
|
|
13513
|
+
* preserving min and max per bucket.
|
|
13514
|
+
*
|
|
13515
|
+
* Absent means NO reduction — legitimate for a short window and a trap for a
|
|
13516
|
+
* long one, which is why a chart passes its own pixel width.
|
|
13517
|
+
*/
|
|
13518
|
+
maxPoints: number().int().positive().optional()
|
|
13519
|
+
});
|
|
13320
13520
|
var SystemMetricsSchema = object({
|
|
13321
13521
|
cpuPercent: number(),
|
|
13322
13522
|
memoryPercent: number(),
|
|
@@ -13327,10 +13527,7 @@ var SystemMetricsSchema = object({
|
|
|
13327
13527
|
gpuPercent: number().optional(),
|
|
13328
13528
|
gpuMemoryPercent: number().optional()
|
|
13329
13529
|
});
|
|
13330
|
-
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(
|
|
13331
|
-
kind: "mutation",
|
|
13332
|
-
auth: "admin"
|
|
13333
|
-
}), method(DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, {
|
|
13530
|
+
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, {
|
|
13334
13531
|
kind: "mutation",
|
|
13335
13532
|
auth: "admin"
|
|
13336
13533
|
});
|
|
@@ -26646,6 +26843,15 @@ var LoggingSettingsPatchSchema = object({
|
|
|
26646
26843
|
* authority over the whole hierarchy and answers for every layer, so the
|
|
26647
26844
|
* layer selector needs a name the transport does not already own.
|
|
26648
26845
|
*/
|
|
26846
|
+
/**
|
|
26847
|
+
* One contribution, plus WHO reported it.
|
|
26848
|
+
*
|
|
26849
|
+
* The addon and node are added by the hub as it enumerates providers, never by
|
|
26850
|
+
* the contributor: an addon reporting its own identity could report somebody
|
|
26851
|
+
* else's, and the whole point of this surface is that no claim is made by
|
|
26852
|
+
* anyone but its owner.
|
|
26853
|
+
*/
|
|
26854
|
+
var ReportedLoadContributionSchema = LoadContributionSchema.extend({ addonId: string() });
|
|
26649
26855
|
var GetLoggingSettingsInputSchema = object({
|
|
26650
26856
|
scopeNodeId: string().optional(),
|
|
26651
26857
|
/**
|
|
@@ -26704,7 +26910,7 @@ method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), met
|
|
|
26704
26910
|
}), method(_void(), SiteLocationStatusSchema, {
|
|
26705
26911
|
kind: "mutation",
|
|
26706
26912
|
auth: "admin"
|
|
26707
|
-
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
26913
|
+
}), method(_void(), RequestCensusStatusSchema, { auth: "admin" }), method(_void(), array(ReportedLoadContributionSchema).readonly(), { auth: "admin" }), method(GetLoggingSettingsInputSchema, LoggingSettingsStateSchema, { auth: "admin" }), method(SetLoggingSettingsInputSchema, LoggingSettingsStateSchema, {
|
|
26708
26914
|
kind: "mutation",
|
|
26709
26915
|
auth: "admin"
|
|
26710
26916
|
});
|
|
@@ -28320,6 +28526,12 @@ Object.freeze({
|
|
|
28320
28526
|
addonId: null,
|
|
28321
28527
|
access: "create"
|
|
28322
28528
|
},
|
|
28529
|
+
"dataStoreProvider.insertMany": {
|
|
28530
|
+
capName: "data-store-provider",
|
|
28531
|
+
capScope: "system",
|
|
28532
|
+
addonId: null,
|
|
28533
|
+
access: "create"
|
|
28534
|
+
},
|
|
28323
28535
|
"dataStoreProvider.isEmpty": {
|
|
28324
28536
|
capName: "data-store-provider",
|
|
28325
28537
|
capScope: "system",
|
|
@@ -29634,6 +29846,12 @@ Object.freeze({
|
|
|
29634
29846
|
addonId: null,
|
|
29635
29847
|
access: "create"
|
|
29636
29848
|
},
|
|
29849
|
+
"loadContribution.list": {
|
|
29850
|
+
capName: "load-contribution",
|
|
29851
|
+
capScope: "system",
|
|
29852
|
+
addonId: null,
|
|
29853
|
+
access: "view"
|
|
29854
|
+
},
|
|
29637
29855
|
"localNetwork.downloadCa": {
|
|
29638
29856
|
capName: "local-network",
|
|
29639
29857
|
capScope: "system",
|
|
@@ -29934,17 +30152,17 @@ Object.freeze({
|
|
|
29934
30152
|
addonId: null,
|
|
29935
30153
|
access: "view"
|
|
29936
30154
|
},
|
|
29937
|
-
"metricsProvider.
|
|
30155
|
+
"metricsProvider.getLoadSeries": {
|
|
29938
30156
|
capName: "metrics-provider",
|
|
29939
30157
|
capScope: "system",
|
|
29940
30158
|
addonId: null,
|
|
29941
30159
|
access: "view"
|
|
29942
30160
|
},
|
|
29943
|
-
"metricsProvider.
|
|
30161
|
+
"metricsProvider.getProcessStats": {
|
|
29944
30162
|
capName: "metrics-provider",
|
|
29945
30163
|
capScope: "system",
|
|
29946
30164
|
addonId: null,
|
|
29947
|
-
access: "
|
|
30165
|
+
access: "view"
|
|
29948
30166
|
},
|
|
29949
30167
|
"metricsProvider.listAddonInstances": {
|
|
29950
30168
|
capName: "metrics-provider",
|
|
@@ -31956,6 +32174,12 @@ Object.freeze({
|
|
|
31956
32174
|
addonId: null,
|
|
31957
32175
|
access: "create"
|
|
31958
32176
|
},
|
|
32177
|
+
"settingsStore.insertMany": {
|
|
32178
|
+
capName: "settings-store",
|
|
32179
|
+
capScope: "system",
|
|
32180
|
+
addonId: null,
|
|
32181
|
+
access: "create"
|
|
32182
|
+
},
|
|
31959
32183
|
"settingsStore.isEmpty": {
|
|
31960
32184
|
capName: "settings-store",
|
|
31961
32185
|
capScope: "system",
|
|
@@ -32568,6 +32792,12 @@ Object.freeze({
|
|
|
32568
32792
|
addonId: null,
|
|
32569
32793
|
access: "create"
|
|
32570
32794
|
},
|
|
32795
|
+
"system.getLoadContributions": {
|
|
32796
|
+
capName: "system",
|
|
32797
|
+
capScope: "system",
|
|
32798
|
+
addonId: null,
|
|
32799
|
+
access: "view"
|
|
32800
|
+
},
|
|
32571
32801
|
"system.getLoggingSettings": {
|
|
32572
32802
|
capName: "system",
|
|
32573
32803
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-smtp-nodemailer",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.35",
|
|
4
4
|
"description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|