@camstack/system 1.2.421 → 1.2.422
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/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/dist/builtins/calendars/calendars.addon.js +1 -1
- package/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +2 -2
- package/dist/builtins/composer/composer.addon.mjs +2 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/keychain/index.js +3 -3
- package/dist/builtins/keychain/index.mjs +3 -3
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings-backend.d.ts +44 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +3 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +3 -1
- package/dist/builtins/system-config/system-config.addon.js +2 -2
- package/dist/builtins/system-config/system-config.addon.mjs +279 -279
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{composition-sources-DxlTUSI1.js → composition-sources-BstNkBVe.js} +1 -1
- package/dist/{composition-sources-DoYpCPtl.mjs → composition-sources-f_VjTBgs.mjs} +1 -1
- package/dist/{constants-GXZQRcjB.js → constants-CY4vXTV-.js} +1 -1
- package/dist/{constants-CtxNK2QJ.mjs → constants-iLQM7god.mjs} +1 -1
- package/dist/{dist-0OD9ue39.mjs → dist-CHsJCqrf.mjs} +220 -3
- package/dist/{dist-Df7s77se.js → dist-FSNJUw7p.js} +220 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{jwt-signing-key-BmyvxlDJ.js → jwt-signing-key-CPha_bf7.js} +1 -1
- package/dist/{jwt-signing-key-W-WFzAoK.mjs → jwt-signing-key-DUVvfILp.mjs} +1 -1
- package/dist/{restore-archive-W1Cg5y6C.js → restore-archive-BwGWspP1.js} +1 -1
- package/dist/{restore-archive-BUMSox6L.mjs → restore-archive-J_BsGRBy.mjs} +77 -77
- package/dist/{retired-settings-keys-Wz92bcuK.mjs → retired-settings-keys-3SMjMqj0.mjs} +1 -1
- package/dist/{retired-settings-keys-D-Xv1Zyv.js → retired-settings-keys-BuQBYfu0.js} +1 -1
- package/package.json +1 -1
|
@@ -718,7 +718,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
718
718
|
return EventCategory;
|
|
719
719
|
}({});
|
|
720
720
|
//#endregion
|
|
721
|
-
//#region ../types/dist/sleep-
|
|
721
|
+
//#region ../types/dist/sleep-BBF1iXUi.mjs
|
|
722
722
|
/**
|
|
723
723
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
724
724
|
* window to float samples (D455).
|
|
@@ -7338,6 +7338,15 @@ zod.z.discriminatedUnion("type", [
|
|
|
7338
7338
|
message: zod.z.string()
|
|
7339
7339
|
})
|
|
7340
7340
|
]);
|
|
7341
|
+
/** Every status, in the order a summary lists them. */
|
|
7342
|
+
var RETRAIN_REVIEW_STATUSES = [
|
|
7343
|
+
"unchanged",
|
|
7344
|
+
"adjusted",
|
|
7345
|
+
"reclassified",
|
|
7346
|
+
"added",
|
|
7347
|
+
"removed",
|
|
7348
|
+
"model-error"
|
|
7349
|
+
];
|
|
7341
7350
|
/**
|
|
7342
7351
|
* What the gate decided about a birth, from the CALLER's point of view.
|
|
7343
7352
|
*
|
|
@@ -15124,6 +15133,38 @@ var BulkRecordSchema = zod.z.object({
|
|
|
15124
15133
|
data: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
15125
15134
|
});
|
|
15126
15135
|
/**
|
|
15136
|
+
* One write inside a {@link settingsStoreCapability.methods.transact} call.
|
|
15137
|
+
* Only the three that a "replace this set, bump that revision" write needs.
|
|
15138
|
+
*/
|
|
15139
|
+
var TransactOpSchema = zod.z.discriminatedUnion("op", [
|
|
15140
|
+
zod.z.object({
|
|
15141
|
+
op: zod.z.literal("deleteWhere"),
|
|
15142
|
+
collection: zod.z.string(),
|
|
15143
|
+
filter: MutationFilterSchema
|
|
15144
|
+
}),
|
|
15145
|
+
zod.z.object({
|
|
15146
|
+
op: zod.z.literal("insertMany"),
|
|
15147
|
+
collection: zod.z.string(),
|
|
15148
|
+
records: zod.z.array(BulkRecordSchema).readonly()
|
|
15149
|
+
}),
|
|
15150
|
+
zod.z.object({
|
|
15151
|
+
op: zod.z.literal("update"),
|
|
15152
|
+
collection: zod.z.string(),
|
|
15153
|
+
id: zod.z.string(),
|
|
15154
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
15155
|
+
})
|
|
15156
|
+
]);
|
|
15157
|
+
/**
|
|
15158
|
+
* The precondition of a transaction: the row `key` of `collection` must hold
|
|
15159
|
+
* `equals` in `column`, read INSIDE the transaction.
|
|
15160
|
+
*/
|
|
15161
|
+
var TransactGuardSchema = zod.z.object({
|
|
15162
|
+
collection: zod.z.string(),
|
|
15163
|
+
key: zod.z.string(),
|
|
15164
|
+
column: zod.z.string(),
|
|
15165
|
+
equals: zod.z.unknown()
|
|
15166
|
+
});
|
|
15167
|
+
/**
|
|
15127
15168
|
* Column declaration for a structured (SQL-backed) collection.
|
|
15128
15169
|
*
|
|
15129
15170
|
* Logical types — the backend translates each to the matching SQLite
|
|
@@ -15348,6 +15389,36 @@ id: zod.z.union([zod.z.string(), zod.z.number()]) }), {
|
|
|
15348
15389
|
kind: "mutation",
|
|
15349
15390
|
auth: "admin"
|
|
15350
15391
|
}),
|
|
15392
|
+
/**
|
|
15393
|
+
* Several writes, ONE transaction, behind an optional precondition.
|
|
15394
|
+
*
|
|
15395
|
+
* The multi-collection twin of {@link insertMany}: a write that has to move
|
|
15396
|
+
* a set of rows in one collection AND a revision in another cannot be
|
|
15397
|
+
* expressed as separate calls without a window in which a reader (or a
|
|
15398
|
+
* crash) sees half of it. The retrain annotation save replaces a frame's
|
|
15399
|
+
* rows, its dismissed set and its revision this way.
|
|
15400
|
+
*
|
|
15401
|
+
* `guard`, when given, is read inside the transaction: if the row is
|
|
15402
|
+
* missing or its column differs from `equals`, NOTHING is written and the
|
|
15403
|
+
* answer is `{ applied: false, current }` with what was found — the
|
|
15404
|
+
* compare-and-set a revisioned write needs, with no second reader able to
|
|
15405
|
+
* slip between the check and the writes.
|
|
15406
|
+
*
|
|
15407
|
+
* **All or nothing**, like {@link insertMany}: a throw in any op rolls the
|
|
15408
|
+
* whole call back. Ops run in the order given (delete before insert to
|
|
15409
|
+
* replace a set). `namespace` applies to every collection named.
|
|
15410
|
+
*/
|
|
15411
|
+
transact: method(zod.z.object({
|
|
15412
|
+
namespace: zod.z.string().optional(),
|
|
15413
|
+
guard: TransactGuardSchema.optional(),
|
|
15414
|
+
ops: zod.z.array(TransactOpSchema).readonly()
|
|
15415
|
+
}), zod.z.object({
|
|
15416
|
+
applied: zod.z.boolean(),
|
|
15417
|
+
current: zod.z.unknown().optional()
|
|
15418
|
+
}), {
|
|
15419
|
+
kind: "mutation",
|
|
15420
|
+
auth: "admin"
|
|
15421
|
+
}),
|
|
15351
15422
|
/** Update an existing record by ID. */
|
|
15352
15423
|
update: method(zod.z.object({
|
|
15353
15424
|
namespace: zod.z.string().optional(),
|
|
@@ -15632,6 +15703,18 @@ id: zod.z.union([zod.z.string(), zod.z.number()]) }), {
|
|
|
15632
15703
|
kind: "mutation",
|
|
15633
15704
|
auth: "admin"
|
|
15634
15705
|
}),
|
|
15706
|
+
/** Several writes in ONE transaction behind an optional guard; see the door. */
|
|
15707
|
+
transact: method(zod.z.object({
|
|
15708
|
+
namespace: zod.z.string().optional(),
|
|
15709
|
+
guard: TransactGuardSchema.optional(),
|
|
15710
|
+
ops: zod.z.array(TransactOpSchema).readonly()
|
|
15711
|
+
}), zod.z.object({
|
|
15712
|
+
applied: zod.z.boolean(),
|
|
15713
|
+
current: zod.z.unknown().optional()
|
|
15714
|
+
}), {
|
|
15715
|
+
kind: "mutation",
|
|
15716
|
+
auth: "admin"
|
|
15717
|
+
}),
|
|
15635
15718
|
/** Update an existing record by ID. */
|
|
15636
15719
|
update: method(zod.z.object({
|
|
15637
15720
|
namespace: zod.z.string().optional(),
|
|
@@ -26313,6 +26396,56 @@ var RetrainBboxSchema = zod.z.object({
|
|
|
26313
26396
|
h: zod.z.number()
|
|
26314
26397
|
});
|
|
26315
26398
|
/**
|
|
26399
|
+
* What a box LOOKED LIKE when it was offered, snapshotted at the moment the
|
|
26400
|
+
* operator accepted it. The saved row keeps only the final rectangle; this is
|
|
26401
|
+
* the other half of the pair, and the pair is what says whether the operator
|
|
26402
|
+
* accepted, nudged, relabelled or replaced a proposal (`retrain-review.ts`).
|
|
26403
|
+
*
|
|
26404
|
+
* `ref` names the proposal inside its frame: `pipeline:<trackId>` for a box the
|
|
26405
|
+
* live pipeline drew, `assist:<n>` for the n-th box of a detector or LLM run,
|
|
26406
|
+
* and anything unique for an operator-drawn box (`operator:<n>`). Re-derived
|
|
26407
|
+
* pipeline boxes carry the same ref every time, which is what lets a dismissal
|
|
26408
|
+
* stay dismissed.
|
|
26409
|
+
*/
|
|
26410
|
+
var RetrainOriginSchema = zod.z.object({
|
|
26411
|
+
source: RetrainAnnotationSourceSchema,
|
|
26412
|
+
ref: zod.z.string().min(1),
|
|
26413
|
+
bbox: RetrainBboxSchema,
|
|
26414
|
+
macroClass: RetrainMacroClassSchema,
|
|
26415
|
+
label: zod.z.string().optional(),
|
|
26416
|
+
score: zod.z.number().optional(),
|
|
26417
|
+
modelId: zod.z.string().optional()
|
|
26418
|
+
});
|
|
26419
|
+
/**
|
|
26420
|
+
* A proposal the operator deleted. Durable on the frame, so a deleted pipeline
|
|
26421
|
+
* box does not come back as a draft every time the frame is reopened, and so
|
|
26422
|
+
* the deletion itself is a recorded fact rather than an absence.
|
|
26423
|
+
*/
|
|
26424
|
+
var RetrainDismissedSchema = zod.z.object({
|
|
26425
|
+
ref: zod.z.string().min(1),
|
|
26426
|
+
snapshot: RetrainOriginSchema
|
|
26427
|
+
});
|
|
26428
|
+
/** What the operator did with a proposal (see `retrain-review.ts`). */
|
|
26429
|
+
var RetrainReviewStatusSchema = zod.z.enum(RETRAIN_REVIEW_STATUSES);
|
|
26430
|
+
var RetrainBoxReviewSchema = zod.z.object({
|
|
26431
|
+
ref: zod.z.string(),
|
|
26432
|
+
savedId: zod.z.string().optional(),
|
|
26433
|
+
status: RetrainReviewStatusSchema,
|
|
26434
|
+
/** The baseline was re-derived, not snapshotted (a pre-origin row). */
|
|
26435
|
+
approximate: zod.z.boolean(),
|
|
26436
|
+
origin: RetrainOriginSchema.optional(),
|
|
26437
|
+
iou: zod.z.number().optional()
|
|
26438
|
+
});
|
|
26439
|
+
var RetrainFrameReviewSchema = zod.z.object({
|
|
26440
|
+
boxes: zod.z.array(RetrainBoxReviewSchema).readonly(),
|
|
26441
|
+
summary: zod.z.object({
|
|
26442
|
+
counts: zod.z.record(RetrainReviewStatusSchema, zod.z.number().int()),
|
|
26443
|
+
total: zod.z.number().int(),
|
|
26444
|
+
changed: zod.z.number().int(),
|
|
26445
|
+
approximate: zod.z.boolean()
|
|
26446
|
+
})
|
|
26447
|
+
});
|
|
26448
|
+
/**
|
|
26316
26449
|
* One annotated subject.
|
|
26317
26450
|
*
|
|
26318
26451
|
* `bbox` is normalised against the full frame, ALWAYS. The per-model shapes
|
|
@@ -26336,6 +26469,9 @@ var RetrainAnnotationSchema = zod.z.object({
|
|
|
26336
26469
|
/** Which model proposed this box — or, on a `model_error`, drew the phantom. */
|
|
26337
26470
|
assistModelId: zod.z.string().optional(),
|
|
26338
26471
|
assistScore: zod.z.number().optional(),
|
|
26472
|
+
/** The proposal this box started from, snapshotted at accept time. `null` on
|
|
26473
|
+
* a row saved before origins existed; absent on a draft nobody snapshotted. */
|
|
26474
|
+
origin: RetrainOriginSchema.nullable().optional(),
|
|
26339
26475
|
exportedInBatch: zod.z.string().optional(),
|
|
26340
26476
|
createdAt: zod.z.number()
|
|
26341
26477
|
});
|
|
@@ -26428,7 +26564,19 @@ var RetrainFrameSchema = zod.z.object({
|
|
|
26428
26564
|
* empty when nothing the track store holds can be placed on it. */
|
|
26429
26565
|
pipelineBoxes: zod.z.array(RetrainPipelineBoxSchema).readonly().optional(),
|
|
26430
26566
|
/** The named collections this frame belongs to. Present on list answers. */
|
|
26431
|
-
collectionIds: zod.z.array(zod.z.string()).readonly().optional()
|
|
26567
|
+
collectionIds: zod.z.array(zod.z.string()).readonly().optional(),
|
|
26568
|
+
/** Bumped by every annotation save. A save that names a stale
|
|
26569
|
+
* `expectedRevision` is refused, so two surfaces cannot overwrite each other. */
|
|
26570
|
+
revision: zod.z.number().int().optional(),
|
|
26571
|
+
/** Proposals the operator deleted — never re-seeded as drafts. */
|
|
26572
|
+
dismissed: zod.z.array(RetrainDismissedSchema).readonly().optional(),
|
|
26573
|
+
/** What the operator did with the proposals, computed by the server. */
|
|
26574
|
+
review: RetrainFrameReviewSchema.optional(),
|
|
26575
|
+
/** The frame's pixels over the admin data plane (full size). Fetch with the
|
|
26576
|
+
* admin bearer token; relative to the hub root. */
|
|
26577
|
+
imageUrl: zod.z.string().optional(),
|
|
26578
|
+
/** The same, as a ~480 px thumbnail for grids. */
|
|
26579
|
+
thumbnailUrl: zod.z.string().optional()
|
|
26432
26580
|
});
|
|
26433
26581
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
26434
26582
|
var RetrainCopyRefusalSchema = zod.z.enum([
|
|
@@ -27971,6 +28119,11 @@ var pipelineAnalyticsCapability = {
|
|
|
27971
28119
|
/**
|
|
27972
28120
|
* The pixels of ONE copied frame, base64.
|
|
27973
28121
|
*
|
|
28122
|
+
* @deprecated Use `RetrainFrame.imageUrl` / `thumbnailUrl` (the admin
|
|
28123
|
+
* `retrain-frame` data plane, D613). A base64 envelope holds the frame
|
|
28124
|
+
* whole in the producer AND the caller, and a grid of tiles paid that for
|
|
28125
|
+
* every tile. Kept for one release for callers that cannot fetch a URL.
|
|
28126
|
+
*
|
|
27974
28127
|
* Through the cap rather than a data plane because it is genuinely one
|
|
27975
28128
|
* frame at a time, on demand, at human speed — the shape D9/D18 permit
|
|
27976
28129
|
* (what they forbid is frames crossing a boundary at frame RATE). The
|
|
@@ -28033,18 +28186,59 @@ var pipelineAnalyticsCapability = {
|
|
|
28033
28186
|
* Refuses a macro class typed into `label` or `subLabel` — the tiers are
|
|
28034
28187
|
* separate and the guard is at the WRITE, because a mixed taxonomy cannot
|
|
28035
28188
|
* be un-mixed by reading it.
|
|
28189
|
+
*
|
|
28190
|
+
* ATOMIC and REVISIONED: the replaced rows, the frame's `dismissed` set and
|
|
28191
|
+
* its `revision` move in one transaction, guarded by the revision the
|
|
28192
|
+
* caller saw. A stale `expectedRevision` writes nothing and throws
|
|
28193
|
+
* `retrain-revision-conflict` (parse it with `parseRetrainRevisionConflict`);
|
|
28194
|
+
* the UI and an MCP agent no longer overwrite each other silently.
|
|
28036
28195
|
*/
|
|
28037
28196
|
saveRetrainAnnotations: method(zod.z.object({
|
|
28038
28197
|
deviceId: zod.z.number(),
|
|
28039
28198
|
/** The frame's track, when it has one — checked against the frame. */
|
|
28040
28199
|
trackId: zod.z.string().optional(),
|
|
28041
28200
|
frameId: zod.z.string(),
|
|
28042
|
-
annotations: zod.z.array(RetrainAnnotationDraftSchema)
|
|
28201
|
+
annotations: zod.z.array(RetrainAnnotationDraftSchema),
|
|
28202
|
+
/** The frame's `revision` the caller saw. A different current revision
|
|
28203
|
+
* refuses the save with a `retrain-revision-conflict` error
|
|
28204
|
+
* (`parseRetrainRevisionConflict`). Absent ⇒ last write wins. */
|
|
28205
|
+
expectedRevision: zod.z.number().int().optional(),
|
|
28206
|
+
/** The proposals the operator deleted. Absent ⇒ keep the frame's
|
|
28207
|
+
* current set; present ⇒ replace it (an empty array un-dismisses). */
|
|
28208
|
+
dismissed: zod.z.array(RetrainDismissedSchema).optional()
|
|
28043
28209
|
}), zod.z.array(RetrainAnnotationSchema).readonly(), {
|
|
28044
28210
|
kind: "mutation",
|
|
28045
28211
|
auth: "admin"
|
|
28046
28212
|
}),
|
|
28047
28213
|
/**
|
|
28214
|
+
* Give annotations saved BEFORE origins existed the origin a caller
|
|
28215
|
+
* reconstructed for them (the MCP `track_review_backfill_origin` tool
|
|
28216
|
+
* matches each row to the pipeline box it equals).
|
|
28217
|
+
*
|
|
28218
|
+
* Writes `origin` and nothing else: ids, creation time and the export stamp
|
|
28219
|
+
* are untouched (a re-save through `saveRetrainAnnotations` would reset all
|
|
28220
|
+
* three). A row that already has an origin is SKIPPED — a snapshot taken at
|
|
28221
|
+
* accept time is evidence, a reconstruction is a guess. Atomic and
|
|
28222
|
+
* revision-guarded like the save; bumps the frame's `revision`.
|
|
28223
|
+
*/
|
|
28224
|
+
backfillRetrainOrigins: method(zod.z.object({
|
|
28225
|
+
deviceId: zod.z.number(),
|
|
28226
|
+
trackId: zod.z.string().optional(),
|
|
28227
|
+
frameId: zod.z.string(),
|
|
28228
|
+
expectedRevision: zod.z.number().int().optional(),
|
|
28229
|
+
origins: zod.z.array(zod.z.object({
|
|
28230
|
+
annotationId: zod.z.string(),
|
|
28231
|
+
origin: RetrainOriginSchema
|
|
28232
|
+
})).min(1).max(500)
|
|
28233
|
+
}), zod.z.object({
|
|
28234
|
+
updated: zod.z.number().int(),
|
|
28235
|
+
skipped: zod.z.number().int(),
|
|
28236
|
+
revision: zod.z.number().int()
|
|
28237
|
+
}), {
|
|
28238
|
+
kind: "mutation",
|
|
28239
|
+
auth: "admin"
|
|
28240
|
+
}),
|
|
28241
|
+
/**
|
|
28048
28242
|
* Finish with a track: `staging → trained`. **The only writer of that
|
|
28049
28243
|
* state** — D81 shipped the column with it deliberately unreachable.
|
|
28050
28244
|
*
|
|
@@ -52877,6 +53071,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
52877
53071
|
addonId: null,
|
|
52878
53072
|
access: "create"
|
|
52879
53073
|
},
|
|
53074
|
+
"dataStoreProvider.transact": {
|
|
53075
|
+
capName: "data-store-provider",
|
|
53076
|
+
capScope: "system",
|
|
53077
|
+
addonId: null,
|
|
53078
|
+
access: "create"
|
|
53079
|
+
},
|
|
52880
53080
|
"dataStoreProvider.update": {
|
|
52881
53081
|
capName: "data-store-provider",
|
|
52882
53082
|
capScope: "system",
|
|
@@ -55721,6 +55921,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
55721
55921
|
addonId: null,
|
|
55722
55922
|
access: "create"
|
|
55723
55923
|
},
|
|
55924
|
+
"pipelineAnalytics.backfillRetrainOrigins": {
|
|
55925
|
+
capName: "pipeline-analytics",
|
|
55926
|
+
capScope: "device",
|
|
55927
|
+
addonId: null,
|
|
55928
|
+
access: "create"
|
|
55929
|
+
},
|
|
55724
55930
|
"pipelineAnalytics.cancelRelocateMedia": {
|
|
55725
55931
|
capName: "pipeline-analytics",
|
|
55726
55932
|
capScope: "device",
|
|
@@ -57713,6 +57919,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
57713
57919
|
addonId: null,
|
|
57714
57920
|
access: "create"
|
|
57715
57921
|
},
|
|
57922
|
+
"settingsStore.transact": {
|
|
57923
|
+
capName: "settings-store",
|
|
57924
|
+
capScope: "system",
|
|
57925
|
+
addonId: null,
|
|
57926
|
+
access: "create"
|
|
57927
|
+
},
|
|
57716
57928
|
"settingsStore.update": {
|
|
57717
57929
|
capName: "settings-store",
|
|
57718
57930
|
capScope: "system",
|
|
@@ -62299,6 +62511,11 @@ Object.freeze({
|
|
|
62299
62511
|
form: "single",
|
|
62300
62512
|
optional: false
|
|
62301
62513
|
}],
|
|
62514
|
+
"pipelineAnalytics.backfillRetrainOrigins": [{
|
|
62515
|
+
name: "deviceId",
|
|
62516
|
+
form: "single",
|
|
62517
|
+
optional: false
|
|
62518
|
+
}],
|
|
62302
62519
|
"pipelineAnalytics.clearTrackRelation": [{
|
|
62303
62520
|
name: "deviceId",
|
|
62304
62521
|
form: "single",
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
4
|
-
const require_jwt_signing_key = require("./jwt-signing-key-
|
|
3
|
+
const require_dist = require("./dist-FSNJUw7p.js");
|
|
4
|
+
const require_jwt_signing_key = require("./jwt-signing-key-CPha_bf7.js");
|
|
5
5
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
6
6
|
require("./builtins/alerts/index.js");
|
|
7
7
|
const require_builtins_calendars_calendars_addon = require("./builtins/calendars/calendars.addon.js");
|
|
@@ -26,7 +26,7 @@ const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtin
|
|
|
26
26
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
27
27
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
28
28
|
require("./builtins/storage-orchestrator/index.js");
|
|
29
|
-
const require_constants = require("./constants-
|
|
29
|
+
const require_constants = require("./constants-CY4vXTV-.js");
|
|
30
30
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
31
31
|
require("./builtins/system-config/index.js");
|
|
32
32
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
@@ -34,7 +34,7 @@ const require_custom_action_registry = require("./custom-action-registry-Bf_Ynag
|
|
|
34
34
|
const require_tls = require("./tls-BgImdxCO.js");
|
|
35
35
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
36
36
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
37
|
-
const require_restore_archive = require("./restore-archive-
|
|
37
|
+
const require_restore_archive = require("./restore-archive-BwGWspP1.js");
|
|
38
38
|
let zod = require("zod");
|
|
39
39
|
let node_crypto = require("node:crypto");
|
|
40
40
|
node_crypto = require_chunk.__toESM(node_crypto);
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { At as extractNestedAddonId, Bt as isObjectInput, Cn as resolveMethodAuth, Dn as scopesAllowDeviceCap, Dr as emitDownForOwnedCaps, En as scopesAllowAddon, G as addonSettingsCapability, Gr as resolveCapMount, Hr as parseJsonUnknown, Ht as kebabToCamel$1, It as isArrayOutputSchema, Lt as isCollectionArrayMethod, O as LOG_LEVEL_RANK, Qt as looseSchema, Rn as supportedRuntimes, Vr as parseJsonObject, Vt as isVoidInput, Wr as readinessKey, Zt as logLevelAtMost, br as asString$1, cn as objectInputDeclaresRequiredDeviceId, dr as DEVICE_STATUS_METHOD, ei as EventCategory$1, hr as ReadinessTimeoutError, j as METHOD_ACCESS_MAP, kr as expandCapMethods, lr as DATAPLANE_SECRET_HEADER$1, mr as ReadinessRegistry, pn as procedureAuthKey, pr as RUNTIME_DEFAULTS, qr as scopeKey, qt as lifecycleJobSchema, sn as objectInputDeclaresAddonId, sr as errMsg$1, t as ALL_CAPABILITY_DEFINITIONS, ur as DEVICE_SETTINGS_CONTRIBUTION_METHODS, vr as asJsonObject$1, wr as createEvent$1, yr as asNumber } from "./dist-
|
|
3
|
-
import { c as staticJwtSigningKey, i as getProcessJwtSigningKeyState, n as JwtSigningKeyUnavailableError, o as processJwtSigningKey, r as SYSTEM_SECRET_OWNER, t as JWT_SIGNING_KEY_REF } from "./jwt-signing-key-
|
|
2
|
+
import { At as extractNestedAddonId, Bt as isObjectInput, Cn as resolveMethodAuth, Dn as scopesAllowDeviceCap, Dr as emitDownForOwnedCaps, En as scopesAllowAddon, G as addonSettingsCapability, Gr as resolveCapMount, Hr as parseJsonUnknown, Ht as kebabToCamel$1, It as isArrayOutputSchema, Lt as isCollectionArrayMethod, O as LOG_LEVEL_RANK, Qt as looseSchema, Rn as supportedRuntimes, Vr as parseJsonObject, Vt as isVoidInput, Wr as readinessKey, Zt as logLevelAtMost, br as asString$1, cn as objectInputDeclaresRequiredDeviceId, dr as DEVICE_STATUS_METHOD, ei as EventCategory$1, hr as ReadinessTimeoutError, j as METHOD_ACCESS_MAP, kr as expandCapMethods, lr as DATAPLANE_SECRET_HEADER$1, mr as ReadinessRegistry, pn as procedureAuthKey, pr as RUNTIME_DEFAULTS, qr as scopeKey, qt as lifecycleJobSchema, sn as objectInputDeclaresAddonId, sr as errMsg$1, t as ALL_CAPABILITY_DEFINITIONS, ur as DEVICE_SETTINGS_CONTRIBUTION_METHODS, vr as asJsonObject$1, wr as createEvent$1, yr as asNumber } from "./dist-CHsJCqrf.mjs";
|
|
3
|
+
import { c as staticJwtSigningKey, i as getProcessJwtSigningKeyState, n as JwtSigningKeyUnavailableError, o as processJwtSigningKey, r as SYSTEM_SECRET_OWNER, t as JWT_SIGNING_KEY_REF } from "./jwt-signing-key-DUVvfILp.mjs";
|
|
4
4
|
import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
|
|
5
5
|
import "./builtins/alerts/index.mjs";
|
|
6
6
|
import { CalendarsAddon } from "./builtins/calendars/calendars.addon.mjs";
|
|
@@ -25,7 +25,7 @@ import { SqliteSettingsAddon, o as SqliteSettingsBackend, s as prefixRange } fro
|
|
|
25
25
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
26
26
|
import { StorageOrchestratorAddon, a as stripForwardedCaller, i as createHubCapForwardService, n as HUB_CAP_FWD_ACTION, o as buildStorageLocationRegistry, r as HUB_CAP_FWD_SERVICE, t as StorageOrchestratorService } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
27
27
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
28
|
-
import { _ as getProcessClusterSecretGate, a as MESH_CA_KEY_REF, b as setProcessClusterSecretGate, d as CLUSTER_SECRET_REF, f as CLUSTER_SECRET_REJECTED_EXIT_CODE, g as clusterSecretMatches, h as checkClusterSecret, i as MESH_CA_FIELD, m as CLUSTER_SECRET_UNAVAILABLE_TYPE, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, p as CLUSTER_SECRET_SETTINGS_KEY, u as CLUSTER_SECRET_MISMATCH_TYPE, v as hashClusterSecret, y as isClusterSecretMismatchError } from "./constants-
|
|
28
|
+
import { _ as getProcessClusterSecretGate, a as MESH_CA_KEY_REF, b as setProcessClusterSecretGate, d as CLUSTER_SECRET_REF, f as CLUSTER_SECRET_REJECTED_EXIT_CODE, g as clusterSecretMatches, h as checkClusterSecret, i as MESH_CA_FIELD, m as CLUSTER_SECRET_UNAVAILABLE_TYPE, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, p as CLUSTER_SECRET_SETTINGS_KEY, u as CLUSTER_SECRET_MISMATCH_TYPE, v as hashClusterSecret, y as isClusterSecretMismatchError } from "./constants-iLQM7god.mjs";
|
|
29
29
|
import { A as AGENT_UI_UNLOCK_TTL_MS, B as isMeshAuthMode, C as generateMeshCa, D as loadMeshCa, E as issueMeshLeafFromCsr, F as parseAgentDashboardOrigins, G as setProcessMeshEnforcer, H as requestProcessMeshEnforcement, I as verifyAgentUiUnlockTicket, J as parseCidrList, K as createCidrMatcher, L as MESH_AUTH_MODE_FIELD, M as UnlockTicketJtiStore, N as isAllowedAgentDashboardReturnTo, O as AGENT_DASHBOARD_ORIGINS_FIELD, P as mintAgentUiUnlockTicket, R as getProcessMeshAuthMode, S as exportMeshPrivateKeyPem, SystemConfigAddon, T as issueMeshLeafForNode, U as setProcessMeshAuthMode, V as parseMeshAuthMode, W as setProcessMeshAuthStatusSource, Y as readCidrSetting, _ as getProcessMeshCaState, a as ServiceBroker, b as caFingerprintCompact, c as JoinTokenJtiStore, d as verifyMeshJoinToken, f as getProcessNodeMeshTransport, g as MeshCaKeeper, h as processMeshCrl, i as Errors, j as AGENT_UI_UNLOCK_VERSION, k as AGENT_UI_UNLOCK_DOMAIN, l as mintMeshJoinToken, m as MeshCrl, n as MESH_TLS_PORT_HELLO_FIELD, o as setProcessMeshTlsEnabler, p as setProcessMeshPeerTransportLookup, q as normalizeIp, r as TlsTcpTransporter, s as enrollMeshNode, u as processJoinTokenJtiStore, v as requireProcessMeshCa, w as generateMeshKeyPair, x as createMeshCsrPem, y as caFingerprint, z as getProcessMeshAuthStatus } from "./builtins/system-config/system-config.addon.mjs";
|
|
30
30
|
import "./builtins/system-config/index.mjs";
|
|
31
31
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
@@ -33,7 +33,7 @@ import { C as isModelDownloaded, T as revisionWeightUrl, _ as downloadFile, a as
|
|
|
33
33
|
import { A as allFamiliesListenHost, C as collectCertIdentity, D as SERVER_AUTH_OID, E as MAX_LEAF_VALIDITY_DAYS, F as registerLanHttpHandler, M as bindPendingLanHttp, N as closeLanHttp, O as evaluateExistingCert, P as readLanHttpState, S as CA_COMMON_NAME, T as LEAF_RENEWAL_WINDOW_DAYS, _ as writeExtraSans, a as validateUploadedTls, b as loadTlsCert, c as registerHttpsListener, d as prepareBootTls, f as UPLOADED_CA_FILE, g as splitPemCertificates, h as readTlsMode, i as storeUploadedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, l as reloadHttpsListener, m as readTlsAccessStatus, n as regenerateCertificate, o as clearHttpsListener, p as readExtraSans, r as revertToGeneratedCertificate, s as leafFingerprintOf, t as applyCertificateToListener, u as servedHttpsLeafFingerprint, v as writeTlsMode, w as CA_VALIDITY_DAYS, x as reissueTlsLeaf, y as ensureTlsCert } from "./tls-CaOLZ09W.mjs";
|
|
34
34
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
35
35
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
36
|
-
import { c as BackupKeyFormatError, d as generateBackupKeyPair, l as BackupKeyMismatchError, m as readBackupEncryptionHeader, o as SystemBackupService, r as prepareRestoreArchive, s as BackupDecryptError, t as BackupKeyRequiredError } from "./restore-archive-
|
|
36
|
+
import { c as BackupKeyFormatError, d as generateBackupKeyPair, l as BackupKeyMismatchError, m as readBackupEncryptionHeader, o as SystemBackupService, r as prepareRestoreArchive, s as BackupDecryptError, t as BackupKeyRequiredError } from "./restore-archive-J_BsGRBy.mjs";
|
|
37
37
|
import { z } from "zod";
|
|
38
38
|
import * as crypto$1 from "node:crypto";
|
|
39
39
|
import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-FSNJUw7p.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let buffer = require("buffer");
|
|
5
5
|
let node_fs_promises = require("node:fs/promises");
|