@camstack/server 1.2.905 → 1.2.906
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/CHANGELOG.md +6 -0
- package/dist/api/trpc/generated-cap-routers.js +9 -0
- package/package.json +13 -12
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-RBUMGWAQ.js → capture-engine-3jGJgvox.js} +1 -1
- package/system/dist/{capture-engine-p8TvutWs.mjs → capture-engine-jugDy5BG.mjs} +1 -1
- package/system/dist/{composition-sources-BpNYHsYV.js → composition-sources-Dr0YIlWN.js} +1 -1
- package/system/dist/{composition-sources-D-Mx9l1R.mjs → composition-sources-LuK-xWUU.mjs} +1 -1
- package/system/dist/{constants-DudYA1Gy.mjs → constants-BIYUk5fi.mjs} +1 -1
- package/system/dist/{constants-CoI9jLDM.js → constants-CPmCqjv8.js} +1 -1
- package/system/dist/{device-ca-C-sTmnS2.js → device-ca-BqS0gsPe.js} +1 -1
- package/system/dist/{device-ca-D_JhEpTM.mjs → device-ca-D_ytnQmS.mjs} +1 -1
- package/system/dist/{dist-7xGEQgKD.mjs → dist-B4rY3X9J.mjs} +153 -9
- package/system/dist/{dist-GBdQRV6O.js → dist-DPjg9Hh3.js} +153 -9
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-CoOhdm4U.js → hub-identity-BZQN0Gcw.js} +1 -1
- package/system/dist/{hub-identity-DEUmUjoR.mjs → hub-identity-CSAQVJ4m.mjs} +1 -1
- package/system/dist/{hub-mdns-ciao-B1uGf5o7.mjs → hub-mdns-ciao-C3_ne7jS.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-Z0s6r3Mn.js → hub-mdns-ciao-D-JLpnKV.js} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-CJhsrOOx.js → legacy-integration-rows-door-CX3Mts79.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-DvlJaQhO.mjs → legacy-integration-rows-door-DJdcdcxz.mjs} +1 -1
- package/system/dist/{rename-composition-block-vfxR6GJk.js → rename-composition-block-BgpakWEs.js} +1 -1
- package/system/dist/{rename-composition-block-yU70pD-l.mjs → rename-composition-block-rKP1rFcJ.mjs} +1 -1
- package/system/dist/{restore-archive-NZV-Tsd2.mjs → restore-archive-Bm2osxR8.mjs} +1 -1
- package/system/dist/{restore-archive-DfuHu5em.js → restore-archive-C0AzyMjl.js} +1 -1
- package/system/dist/{wal-maintenance-BY1F-5Y1.mjs → wal-maintenance-D-bBx5IB.mjs} +0 -0
- package/system/dist/{wal-maintenance-TS2C4a-E.js → wal-maintenance-DeKZHUmZ.js} +0 -0
- package/system/package.json +1 -1
|
@@ -1315,7 +1315,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1315
1315
|
*/
|
|
1316
1316
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1317
1317
|
//#endregion
|
|
1318
|
-
//#region ../types/dist/runtime-capabilities-
|
|
1318
|
+
//#region ../types/dist/runtime-capabilities-B36VcCR6.mjs
|
|
1319
1319
|
/**
|
|
1320
1320
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1321
1321
|
* window to float samples (D455).
|
|
@@ -6255,6 +6255,95 @@ var BrokerStatusSchema = zod.z.enum([
|
|
|
6255
6255
|
"error",
|
|
6256
6256
|
"stopped"
|
|
6257
6257
|
]);
|
|
6258
|
+
/**
|
|
6259
|
+
* The encode a derived stream's feeder was last spawned with — the read-only
|
|
6260
|
+
* "effective encode". Read off the ffmpeg argv that runs, so it cannot drift
|
|
6261
|
+
* from what the operator's profile and the carrier's rules resolved to.
|
|
6262
|
+
*/
|
|
6263
|
+
var DerivedEffectiveEncodeSchema = zod.z.object({
|
|
6264
|
+
/** `-c:v` of the argv (`libx264`, a hardware encoder, `copy`); null when absent. */
|
|
6265
|
+
encoder: zod.z.string().nullable(),
|
|
6266
|
+
/** Output frame rate; null when the source cadence passes through unmeasured. */
|
|
6267
|
+
fps: zod.z.number().nullable(),
|
|
6268
|
+
gopFrames: zod.z.number(),
|
|
6269
|
+
/** ABR target (`-b:v`), kbps. */
|
|
6270
|
+
targetKbps: zod.z.number().nullable(),
|
|
6271
|
+
/** Ceiling (`-maxrate`), kbps. */
|
|
6272
|
+
capKbps: zod.z.number().nullable(),
|
|
6273
|
+
bufsizeKbps: zod.z.number().nullable(),
|
|
6274
|
+
/**
|
|
6275
|
+
* `copy` = source audio untouched, `aac` = re-encoded, `profile` = operator's
|
|
6276
|
+
* encode, `none` = the operator dropped the track.
|
|
6277
|
+
*/
|
|
6278
|
+
audio: zod.z.enum([
|
|
6279
|
+
"copy",
|
|
6280
|
+
"aac",
|
|
6281
|
+
"profile",
|
|
6282
|
+
"none"
|
|
6283
|
+
])
|
|
6284
|
+
});
|
|
6285
|
+
/**
|
|
6286
|
+
* A derived stream's source: a **profile** slot (follows whatever physical
|
|
6287
|
+
* stream that profile is assigned to) or a **camStream** (pinned to one
|
|
6288
|
+
* physical stream regardless of assignment).
|
|
6289
|
+
*/
|
|
6290
|
+
var DerivedSourceRefSchema = zod.z.union([zod.z.object({
|
|
6291
|
+
kind: zod.z.literal("profile"),
|
|
6292
|
+
profile: zod.z.enum([
|
|
6293
|
+
"high",
|
|
6294
|
+
"mid",
|
|
6295
|
+
"low"
|
|
6296
|
+
])
|
|
6297
|
+
}), zod.z.object({
|
|
6298
|
+
kind: zod.z.literal("camStream"),
|
|
6299
|
+
camStreamId: zod.z.string()
|
|
6300
|
+
})]);
|
|
6301
|
+
zod.z.object({
|
|
6302
|
+
width: zod.z.number().nullable(),
|
|
6303
|
+
height: zod.z.number().nullable(),
|
|
6304
|
+
fps: zod.z.number().nullable(),
|
|
6305
|
+
idrIntervalMs: zod.z.number().nullable(),
|
|
6306
|
+
/** `h264` / `h265` when observed. */
|
|
6307
|
+
videoCodec: zod.z.enum(["h264", "h265"]).nullable(),
|
|
6308
|
+
/** Upper-cased SDP name (`AAC`, `PCMU`) when the source has an audio track. */
|
|
6309
|
+
audioCodec: zod.z.string().nullable()
|
|
6310
|
+
});
|
|
6311
|
+
/**
|
|
6312
|
+
* The full effective encode of a derived-stream profile: the stats the broker
|
|
6313
|
+
* publishes in `getBrokerStats.derivedEncode` plus the resolved geometry, the
|
|
6314
|
+
* flags that say WHY a number differs from the request, and the ffmpeg output
|
|
6315
|
+
* argv. One function (`computeDerivedEncode`) produces it for both the
|
|
6316
|
+
* broker's start path and `previewDerivedEncode`.
|
|
6317
|
+
*/
|
|
6318
|
+
var DerivedEncodePreviewSchema = DerivedEffectiveEncodeSchema.extend({
|
|
6319
|
+
/** Final picture size; `null` when neither the profile nor the source names it. */
|
|
6320
|
+
width: zod.z.number().nullable(),
|
|
6321
|
+
height: zod.z.number().nullable(),
|
|
6322
|
+
/** `h264` / `h265` re-encode, `copy` remux; `null` is never returned (the encoder always resolves). */
|
|
6323
|
+
videoCodec: zod.z.enum([
|
|
6324
|
+
"h264",
|
|
6325
|
+
"h265",
|
|
6326
|
+
"copy"
|
|
6327
|
+
]),
|
|
6328
|
+
requestedFps: zod.z.number().nullable(),
|
|
6329
|
+
/** The requested fps exceeded the source and the source cadence won. */
|
|
6330
|
+
fpsClampedToSource: zod.z.boolean(),
|
|
6331
|
+
/** Lowest bitrate accepted for this geometry x fps; `null` when unknown. */
|
|
6332
|
+
floorKbps: zod.z.number().nullable(),
|
|
6333
|
+
/** The explicit bitrate was below the floor and was raised to it. */
|
|
6334
|
+
raisedToFloor: zod.z.boolean(),
|
|
6335
|
+
/** What the profile asked for when it was raised; `null` otherwise. */
|
|
6336
|
+
requestedKbps: zod.z.number().nullable(),
|
|
6337
|
+
/** Seconds between keyframes; `null` when the output cadence is unknown. */
|
|
6338
|
+
keyframeIntervalSec: zod.z.number().nullable(),
|
|
6339
|
+
/** The ffmpeg argv, with the source loopback URL in `-i`. */
|
|
6340
|
+
args: zod.z.array(zod.z.string())
|
|
6341
|
+
});
|
|
6342
|
+
/** Result of `previewDerivedEncode`: a plan, or the reason there is none. */
|
|
6343
|
+
var PreviewDerivedEncodeResultSchema = zod.z.discriminatedUnion("kind", [zod.z.object({
|
|
6344
|
+
kind: zod.z.literal("preview"),
|
|
6345
|
+
preview: DerivedEncodePreviewSchema
|
|
6346
|
+
}), zod.z.object({ kind: zod.z.literal("no-source") })]);
|
|
6258
6347
|
var BrokerStatsSchema = zod.z.object({
|
|
6259
6348
|
status: BrokerStatusSchema,
|
|
6260
6349
|
inputFps: zod.z.number(),
|
|
@@ -6296,7 +6385,9 @@ var BrokerStatsSchema = zod.z.object({
|
|
|
6296
6385
|
* alone that the mute is on the packet path and not merely persisted.
|
|
6297
6386
|
*/
|
|
6298
6387
|
audioMuted: zod.z.boolean().optional(),
|
|
6299
|
-
audioMutedDropped: zod.z.number().optional()
|
|
6388
|
+
audioMutedDropped: zod.z.number().optional(),
|
|
6389
|
+
/** Present for a derived broker once its feeder has spawned at least once. */
|
|
6390
|
+
derivedEncode: DerivedEffectiveEncodeSchema.optional()
|
|
6300
6391
|
});
|
|
6301
6392
|
/**
|
|
6302
6393
|
* Exporter-facing "profile restream" entry. Returned by
|
|
@@ -20065,7 +20156,7 @@ function enumerateInferenceDevices(hw) {
|
|
|
20065
20156
|
return out;
|
|
20066
20157
|
}
|
|
20067
20158
|
//#endregion
|
|
20068
|
-
//#region ../types/dist/implemented-methods-
|
|
20159
|
+
//#region ../types/dist/implemented-methods-BUBqZ2a0.mjs
|
|
20069
20160
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
20070
20161
|
opus: "libopus",
|
|
20071
20162
|
aac: "aac",
|
|
@@ -20200,7 +20291,7 @@ function buildRateControlArgs(video) {
|
|
|
20200
20291
|
};
|
|
20201
20292
|
const bufsize = Math.max(1, Math.round(kbps * rc.vbvSeconds));
|
|
20202
20293
|
return [
|
|
20203
|
-
...rc.kind === "cbr" ? ["-b:v", `${kbps}k`] : [],
|
|
20294
|
+
...rc.kind === "cbr" ? ["-b:v", `${kbps}k`] : rc.targetFraction !== void 0 ? ["-b:v", `${Math.max(1, Math.round(kbps * rc.targetFraction))}k`] : [],
|
|
20204
20295
|
"-maxrate",
|
|
20205
20296
|
`${kbps}k`,
|
|
20206
20297
|
"-bufsize",
|
|
@@ -24432,10 +24523,16 @@ TargetSchema.omit({ id: true });
|
|
|
24432
24523
|
* suggestions before persistence.
|
|
24433
24524
|
*/
|
|
24434
24525
|
var VideoEncodeSchema = zod.z.object({
|
|
24526
|
+
/**
|
|
24527
|
+
* `h264` / `h265` re-encode into that codec; `source` re-encodes in whatever
|
|
24528
|
+
* codec the source speaks (a resize that keeps the codec); `copy` remuxes
|
|
24529
|
+
* with no encode at all (so no resize either).
|
|
24530
|
+
*/
|
|
24435
24531
|
codec: zod.z.enum([
|
|
24436
24532
|
"h264",
|
|
24437
24533
|
"h265",
|
|
24438
|
-
"copy"
|
|
24534
|
+
"copy",
|
|
24535
|
+
"source"
|
|
24439
24536
|
]),
|
|
24440
24537
|
profile: zod.z.enum([
|
|
24441
24538
|
"baseline",
|
|
@@ -24487,12 +24584,14 @@ var VideoEncodeSchema = zod.z.object({
|
|
|
24487
24584
|
singleSlicePerFrame: zod.z.boolean().optional()
|
|
24488
24585
|
});
|
|
24489
24586
|
var AudioEncodeSchema = zod.z.union([zod.z.literal("passthrough"), zod.z.object({
|
|
24587
|
+
/** `none` drops the audio track (`-an`); `copy` carries the source's. */
|
|
24490
24588
|
codec: zod.z.enum([
|
|
24491
24589
|
"opus",
|
|
24492
24590
|
"aac",
|
|
24493
24591
|
"pcmu",
|
|
24494
24592
|
"pcma",
|
|
24495
|
-
"copy"
|
|
24593
|
+
"copy",
|
|
24594
|
+
"none"
|
|
24496
24595
|
]),
|
|
24497
24596
|
bitrateKbps: zod.z.number().int().positive().optional(),
|
|
24498
24597
|
sampleRateHz: zod.z.number().int().positive().optional(),
|
|
@@ -61189,6 +61288,19 @@ var streamBrokerCapability = {
|
|
|
61189
61288
|
listAllProfileSlots: method(zod.z.void(), zod.z.array(ProfileSlotSchema).readonly()),
|
|
61190
61289
|
getBrokerStats: method(zod.z.object({ brokerId: zod.z.string() }), BrokerStatsSchema),
|
|
61191
61290
|
/**
|
|
61291
|
+
* The effective encode a derived-stream `profile` WOULD run with, computed
|
|
61292
|
+
* by the same function the broker uses when it starts the encode, against
|
|
61293
|
+
* the source params the broker has already probed for `deviceId`. Lets an
|
|
61294
|
+
* editor show the final geometry, fps, bitrate and ffmpeg argv live while
|
|
61295
|
+
* the operator edits. `source` defaults to the `high` profile slot.
|
|
61296
|
+
* `{ kind: 'no-source' }` when nothing has been probed yet — never a guess.
|
|
61297
|
+
*/
|
|
61298
|
+
previewDerivedEncode: method(zod.z.object({
|
|
61299
|
+
deviceId: zod.z.number().int().nonnegative(),
|
|
61300
|
+
profile: EncodeProfileSchema,
|
|
61301
|
+
source: DerivedSourceRefSchema.optional()
|
|
61302
|
+
}), PreviewDerivedEncodeResultSchema),
|
|
61303
|
+
/**
|
|
61192
61304
|
* Force a one-shot probe of a single source stream: transiently dial the
|
|
61193
61305
|
* broker (a `warmup` consumer), capture a fresh `BrokerStats` snapshot for
|
|
61194
61306
|
* the per-stream "Probed" settings field, then release. Wakes a suspended
|
|
@@ -91865,7 +91977,8 @@ var StatelessStepRefusalSchema = zod.z.enum([
|
|
|
91865
91977
|
"unknown-step",
|
|
91866
91978
|
"model-not-servable",
|
|
91867
91979
|
"unreadable-frame",
|
|
91868
|
-
"execution-failed"
|
|
91980
|
+
"execution-failed",
|
|
91981
|
+
"no-eligible-device"
|
|
91869
91982
|
]);
|
|
91870
91983
|
/**
|
|
91871
91984
|
* Answer to `runStatelessStep` — a discriminated union rather than a nullable
|
|
@@ -100087,7 +100200,13 @@ var NodeInferenceDeviceSchema = zod.z.object({
|
|
|
100087
100200
|
enabled: zod.z.boolean(),
|
|
100088
100201
|
/** Relative balancer weight for the enabled device (default 1). */
|
|
100089
100202
|
weight: zod.z.number(),
|
|
100090
|
-
/**
|
|
100203
|
+
/**
|
|
100204
|
+
* Per-device concurrent-session cap; null = unlimited (multi-device C4). A
|
|
100205
|
+
* limit: a camera no device can take within its cap stays on the node's
|
|
100206
|
+
* default pool — EXCEPT when that default pool is an excluded device
|
|
100207
|
+
* (`defaultPoolExcluded`), where it goes over the cap on the least-loaded
|
|
100208
|
+
* eligible device instead (#610).
|
|
100209
|
+
*/
|
|
100091
100210
|
maxSessions: zod.z.number().nullable(),
|
|
100092
100211
|
/** Object-detection model the executor defaults to for this deviceKey. */
|
|
100093
100212
|
defaultModelId: zod.z.string(),
|
|
@@ -100137,7 +100256,15 @@ var NodeInferenceDevicesSchema = zod.z.object({
|
|
|
100137
100256
|
nodeId: zod.z.string(),
|
|
100138
100257
|
/** False when the node's platform-probe was unreachable (no live device set). */
|
|
100139
100258
|
reachable: zod.z.boolean(),
|
|
100140
|
-
devices: zod.z.array(NodeInferenceDeviceSchema).readonly()
|
|
100259
|
+
devices: zod.z.array(NodeInferenceDeviceSchema).readonly(),
|
|
100260
|
+
/**
|
|
100261
|
+
* The election left NO device and one was excluded because the operator
|
|
100262
|
+
* turned it off or it is not functional (#610): the runner's default pool is
|
|
100263
|
+
* that device, so work with no explicit device (a stateless step, a bench with
|
|
100264
|
+
* no `deviceKey`) is refused rather than run there. Absent = an orchestrator
|
|
100265
|
+
* older than the field, or an unreachable node: nothing is claimed (D315).
|
|
100266
|
+
*/
|
|
100267
|
+
defaultPoolExcluded: zod.z.boolean().optional()
|
|
100141
100268
|
});
|
|
100142
100269
|
/**
|
|
100143
100270
|
* The CLUSTER switch of one pipeline step (D1065):
|
|
@@ -100553,6 +100680,11 @@ var pipelineOrchestratorCapability = {
|
|
|
100553
100680
|
* `PipelineSettingsStore.buildNodeInferenceDevices` when placing sessions
|
|
100554
100681
|
* and the per-(node,device) base provisioning via
|
|
100555
100682
|
* `buildNodeInferenceDeviceSteps`.
|
|
100683
|
+
* `maxSessions` is a LIMIT, with one exception: when the node's default
|
|
100684
|
+
* pool is itself an excluded device (turned off or not functional) a
|
|
100685
|
+
* camera that would overflow every cap is placed over the cap on the
|
|
100686
|
+
* least-loaded eligible device, because the default pool must never serve
|
|
100687
|
+
* it (#610). The overflow is logged, naming any pin it overrode.
|
|
100556
100688
|
*/
|
|
100557
100689
|
setAgentInferenceDevices: method(zod.z.object({
|
|
100558
100690
|
agentNodeId: zod.z.string(),
|
|
@@ -133413,6 +133545,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
133413
133545
|
access: "view",
|
|
133414
133546
|
role: "admin"
|
|
133415
133547
|
},
|
|
133548
|
+
"streamBroker.previewDerivedEncode": {
|
|
133549
|
+
capName: "stream-broker",
|
|
133550
|
+
capScope: "system",
|
|
133551
|
+
addonId: null,
|
|
133552
|
+
access: "view",
|
|
133553
|
+
role: "admin"
|
|
133554
|
+
},
|
|
133416
133555
|
"streamBroker.probeStream": {
|
|
133417
133556
|
capName: "stream-broker",
|
|
133418
133557
|
capScope: "system",
|
|
@@ -138042,6 +138181,11 @@ Object.freeze({
|
|
|
138042
138181
|
form: "single",
|
|
138043
138182
|
optional: false
|
|
138044
138183
|
}],
|
|
138184
|
+
"streamBroker.previewDerivedEncode": [{
|
|
138185
|
+
name: "deviceId",
|
|
138186
|
+
form: "single",
|
|
138187
|
+
optional: false
|
|
138188
|
+
}],
|
|
138045
138189
|
"streamBroker.produceEventMedia": [{
|
|
138046
138190
|
name: "deviceId",
|
|
138047
138191
|
form: "single",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-DeKZHUmZ.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-D-bBx5IB.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -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-DPjg9Hh3.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { wl as defineRecordKinds } from "./dist-
|
|
1
|
+
import { wl as defineRecordKinds } from "./dist-B4rY3X9J.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { vu as userError } from "./dist-
|
|
2
|
+
import { vu as userError } from "./dist-B4rY3X9J.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-
|
|
4
|
+
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-CSAQVJ4m.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DPjg9Hh3.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-BZQN0Gcw.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|
package/system/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_device_ca = require("./device-ca-
|
|
3
|
+
const require_dist = require("./dist-DPjg9Hh3.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-BqS0gsPe.js");
|
|
5
5
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
6
6
|
const require_log_redactor = require("./log-redactor-BhIEMaG9.js");
|
|
7
7
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
@@ -28,22 +28,22 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
|
|
|
28
28
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
29
29
|
const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
|
|
30
30
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
31
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
32
|
-
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-
|
|
31
|
+
const require_wal_maintenance = require("./wal-maintenance-DeKZHUmZ.js");
|
|
32
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-CX3Mts79.js");
|
|
33
33
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
34
34
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
35
35
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
36
36
|
require("./builtins/storage-orchestrator/index.js");
|
|
37
|
-
const require_hub_identity = require("./hub-identity-
|
|
38
|
-
const require_constants = require("./constants-
|
|
37
|
+
const require_hub_identity = require("./hub-identity-BZQN0Gcw.js");
|
|
38
|
+
const require_constants = require("./constants-CPmCqjv8.js");
|
|
39
39
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
40
40
|
require("./builtins/system-config/index.js");
|
|
41
41
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
42
42
|
const require_custom_action_registry = require("./custom-action-registry-CmWpSeMS.js");
|
|
43
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
43
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-D-JLpnKV.js");
|
|
44
44
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
45
45
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
46
|
-
const require_restore_archive = require("./restore-archive-
|
|
46
|
+
const require_restore_archive = require("./restore-archive-C0AzyMjl.js");
|
|
47
47
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
48
48
|
let zod = require("zod");
|
|
49
49
|
let node_crypto = require("node:crypto");
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $a as procedureAuthKey, Al as expandCapMethods, Dc as DEVICE_STATUS_METHOD, Ec as DEVICE_SETTINGS_CONTRIBUTION_METHODS, El as emitDownForOwnedCaps, Eu as errMsg$1, Fa as objectInputDeclaresAddonId, Ft as LOG_LEVEL_RANK, Gc as ReadinessTimeoutError, Ho as scopesAllowDeviceCap, Ia as objectInputDeclaresRequiredDeviceId, Ii as interpolate, Li as isAddonInstanceId, Ll as isDebugChannelName, Lt as METHOD_ACCESS_MAP, Ml as getDebugInterest, Oo as resolveMethodAuth, Ou as EventCategory$1, Qi as isVoidInput, S as CATALOG_LANGS, Ss as unmetRequirements, Tc as DATAPLANE_SECRET_HEADER$1, Uc as RUNTIME_DEFAULTS, Ui as isCollectionArrayMethod, Ur as describeUnmet, Vi as isArrayOutputSchema, Vo as scopesAllowAddon, Wc as ReadinessRegistry, Xi as isObjectInput, Yn as bareAddonId, Zt as PackageRequiresSchema, a as AGENT_MDNS_SERVICE_TYPE, au as resolveCapMount, cl as asString$1, cu as scopeKey, ea as kebabToCamel$1, eu as parseJsonObject, hl as collectSecretMarkerRefs, k as CatalogFileSchema, ma as looseSchema, mu as supportedRuntimes, o as AGENT_MDNS_TXT_KEYS, oa as lifecycleJobSchema, ol as asJsonObject$1, pa as logLevelAtMost, ru as readinessKey, s as ALL_CAPABILITY_DEFINITIONS, sl as asNumber, ts as splitTranslationRef, tu as parseJsonUnknown, ui as extractNestedAddonId, vr as compareVersions, vu as userError, wc as CALLER_STAMPED_CAPABILITIES$1, wl as defineRecordKinds, xu as withoutCallerStamp, yl as createEvent$1, zn as addonSettingsCapability } from "./dist-
|
|
3
|
-
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-
|
|
2
|
+
import { $a as procedureAuthKey, Al as expandCapMethods, Dc as DEVICE_STATUS_METHOD, Ec as DEVICE_SETTINGS_CONTRIBUTION_METHODS, El as emitDownForOwnedCaps, Eu as errMsg$1, Fa as objectInputDeclaresAddonId, Ft as LOG_LEVEL_RANK, Gc as ReadinessTimeoutError, Ho as scopesAllowDeviceCap, Ia as objectInputDeclaresRequiredDeviceId, Ii as interpolate, Li as isAddonInstanceId, Ll as isDebugChannelName, Lt as METHOD_ACCESS_MAP, Ml as getDebugInterest, Oo as resolveMethodAuth, Ou as EventCategory$1, Qi as isVoidInput, S as CATALOG_LANGS, Ss as unmetRequirements, Tc as DATAPLANE_SECRET_HEADER$1, Uc as RUNTIME_DEFAULTS, Ui as isCollectionArrayMethod, Ur as describeUnmet, Vi as isArrayOutputSchema, Vo as scopesAllowAddon, Wc as ReadinessRegistry, Xi as isObjectInput, Yn as bareAddonId, Zt as PackageRequiresSchema, a as AGENT_MDNS_SERVICE_TYPE, au as resolveCapMount, cl as asString$1, cu as scopeKey, ea as kebabToCamel$1, eu as parseJsonObject, hl as collectSecretMarkerRefs, k as CatalogFileSchema, ma as looseSchema, mu as supportedRuntimes, o as AGENT_MDNS_TXT_KEYS, oa as lifecycleJobSchema, ol as asJsonObject$1, pa as logLevelAtMost, ru as readinessKey, s as ALL_CAPABILITY_DEFINITIONS, sl as asNumber, ts as splitTranslationRef, tu as parseJsonUnknown, ui as extractNestedAddonId, vr as compareVersions, vu as userError, wc as CALLER_STAMPED_CAPABILITIES$1, wl as defineRecordKinds, xu as withoutCallerStamp, yl as createEvent$1, zn as addonSettingsCapability } from "./dist-B4rY3X9J.mjs";
|
|
3
|
+
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-D_ytnQmS.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
5
5
|
import { a as redactLogText, i as redactLogMeta, r as redactLogEntry, t as isCredentialKeyName } from "./log-redactor-XLDrPzOi.mjs";
|
|
6
6
|
import { AlertCenterAddon, n as lastCauseAfterChunk, r as readRunnerDisplayName, t as CRASH_BREAKER_ERROR_PREFIX } from "./builtins/alerts/alerts.addon.mjs";
|
|
@@ -27,22 +27,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
|
|
|
27
27
|
import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
28
28
|
import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
|
|
29
29
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
30
|
-
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-
|
|
31
|
-
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-
|
|
30
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-D-bBx5IB.mjs";
|
|
31
|
+
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-DJdcdcxz.mjs";
|
|
32
32
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
33
33
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
34
34
|
import { StorageOrchestratorAddon, a as createHubCapForwardService, i as HUB_CAP_FWD_SERVICE, o as stripForwardedCaller, r as HUB_CAP_FWD_ACTION, s as buildStorageLocationRegistry, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
35
35
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
36
|
-
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-
|
|
37
|
-
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-
|
|
36
|
+
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-CSAQVJ4m.mjs";
|
|
37
|
+
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-BIYUk5fi.mjs";
|
|
38
38
|
import { $ as getProcessMeshCaState, A as emitProcessNodeRegistered, At as readCidrSetting, B as getProcessMeshTlsListenerState, C as verifyMembershipAnswer, Ct as isInsecureOrigin, D as ServiceBroker, Dt as createCidrMatcher, E as Errors, Et as readOriginSetting, F as onProcessNodeRegistered, G as MeshCertificateRegistry, H as setProcessMeshTlsListenerState, I as setProcessMeshHandshakeReporter, J as getProcessMeshCertificateRegistry, K as RENEWAL_ABANDONED, L as setProcessMeshPeerTransportLookup, M as getProcessNodeMeshTransport, N as getProcessPeerLeaf, O as setProcessMeshTlsEnabler, Ot as normalizeIp, P as isProcessVerifiedMeshPeer, Q as MeshCaKeeper, R as renewMeshCertificate, S as signMembershipProof, St as OPAQUE_ORIGIN, SystemConfigAddon, T as TlsTcpTransporter, Tt as parseOriginList, U as MESH_NODE_CERTIFICATES_COLLECTION, V as openMeshTlsWhenRevocationsLoaded, W as MESH_NODE_CERTIFICATES_COLUMNS, X as MeshCrl, Y as setProcessMeshCertificateRegistry, Z as processMeshCrl, _ as keyFingerprintShort, _t as isAllowedAgentDashboardReturnTo, a as dialableHubHost, at as generateMeshCa, b as MEMBERSHIP_PATHS, bt as verifyAgentUiUnlockTicket, c as PAIRING_MAX_CODE_ATTEMPTS, ct as issueMeshLeafForNode, d as PAIRING_PIN_DIGITS, dt as AGENT_DASHBOARD_ORIGINS_FIELD, et as requireProcessMeshCa, f as PAIRING_PROTOCOL, ft as AGENT_UI_UNLOCK_TTL_MS, g as describeCsr, gt as UnlockTicketJtiStore, h as computePairingSas, ht as AGENT_UI_UNLOCK_VERSION, i as AgentPairing, it as exportMeshPrivateKeyPem, j as getProcessMeshHandshakeReporter, k as dropProcessPeer, kt as parseCidrList, l as PAIRING_MAX_SESSIONS, lt as issueMeshLeafFromCsr, m as computePairingCommitment, mt as AGENT_UI_UNLOCK_USE, n as HubPairing, nt as caFingerprintCompact, o as hubHostFromMeshAddress, ot as generateMeshKeyPair, p as PAIRING_TTL_MS, pt as AGENT_UI_UNLOCK_TYP, q as describeMeshLeaf, r as PairingHttpError, rt as createMeshCsrPem, s as PAIRING_CODE_DIGITS, st as isValidAgentNodeId, tt as caFingerprint, u as PAIRING_PATHS, ut as loadMeshCa, v as signPairingProof, vt as mintAgentUiUnlockTicket, w as MESH_TLS_PORT_HELLO_FIELD, wt as normalizeOrigin, x as MembershipResponder, xt as InvalidCorsOriginError, y as verifyPairingProof, yt as parseAgentDashboardOrigins, z as revokeMeshCertificate } from "./builtins/system-config/system-config.addon.mjs";
|
|
39
39
|
import "./builtins/system-config/index.mjs";
|
|
40
40
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
41
41
|
import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, T as revisionWeightUrl, _ as downloadFile, a as startEventLoopStallMonitor, b as fetchJson, c as createAuthenticatedFileServer, d as resolveFilePath, f as ModelDownloadService, g as deleteModelFromDisk, h as collectModelFiles, i as attributeStall, l as parseRangeHeader, m as adoptModelRevisions, n as STALL_REPORT_MS, o as createFileDataPlaneHandler, r as STALL_TICK_MS, s as contentTypeFor, t as CustomActionRegistry, u as parseTokenizedUrl, v as downloadModel, w as resolveFormatRevision, x as getModelFilePath, y as ensureModel } from "./custom-action-registry-B9zFBNVa.mjs";
|
|
42
|
-
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-
|
|
42
|
+
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-C3_ne7jS.mjs";
|
|
43
43
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
44
44
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
45
|
-
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-
|
|
45
|
+
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-Bm2osxR8.mjs";
|
|
46
46
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
47
47
|
import { z } from "zod";
|
|
48
48
|
import * as crypto$1 from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hl as collectSecretMarkerRefs } from "./dist-
|
|
1
|
+
import { hl as collectSecretMarkerRefs } from "./dist-B4rY3X9J.mjs";
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
package/system/dist/{rename-composition-block-yU70pD-l.mjs → rename-composition-block-rKP1rFcJ.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Eu as errMsg, Su as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-
|
|
1
|
+
import { Eu as errMsg, Su as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-B4rY3X9J.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/rename-composition-block.ts
|
|
3
3
|
/**
|
|
4
4
|
* An operator rename of a composed device writes the composition block's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as DATABASE_SNAPSHOT_SUFFIX, et as DataStoreDatabaseSchema, wl as defineRecordKinds } from "./dist-
|
|
1
|
+
import { F as DATABASE_SNAPSHOT_SUFFIX, et as DataStoreDatabaseSchema, wl as defineRecordKinds } from "./dist-B4rY3X9J.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
|
|
4
4
|
import { Buffer as Buffer$1 } from "buffer";
|
|
Binary file
|
|
Binary file
|