@camstack/server 1.2.777 → 1.2.779
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 +12 -0
- package/package.json +9 -24
- package/system/dist/{agent-https-D_Z85XhL.mjs → agent-https-BrINLeNj.mjs} +1 -1
- package/system/dist/{agent-https-C-2D-rYT.js → agent-https-swBZI1iJ.js} +1 -1
- 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 +3 -3
- package/system/dist/builtins/composer/composer.addon.mjs +3 -3
- 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 +14 -6
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +14 -6
- 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 +2 -2
- package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
- 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/migrations/installed-runner-resolver.d.ts +7 -0
- package/system/dist/builtins/sqlite-storage/migrations/migrations-provider.d.ts +5 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +29 -8
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +29 -8
- 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 +284 -284
- 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-DGz8I9Fu.js → capture-engine-BXV6UiHl.js} +1 -1
- package/system/dist/{capture-engine-BCqPm9NB.mjs → capture-engine-D_ImDrdj.mjs} +1 -1
- package/system/dist/{composition-sources-g4w0mZIc.mjs → composition-sources-BjktkDte.mjs} +1 -1
- package/system/dist/{composition-sources-DXOxgQ6x.js → composition-sources-DjTxqryW.js} +1 -1
- package/system/dist/{constants-BRDAnLvw.mjs → constants-C68806R6.mjs} +1 -1
- package/system/dist/{constants-KG-fxfH-.js → constants-CGXiM2LV.js} +1 -1
- package/system/dist/{device-ca-DOEtvJY1.mjs → device-ca-CFRagVlE.mjs} +1 -1
- package/system/dist/{device-ca-BkzwREI_.js → device-ca-D_q1MiQ3.js} +1 -1
- package/system/dist/{dist-0VV_LcEh.mjs → dist-BzpjKSec.mjs} +33 -7
- package/system/dist/{dist-BIfwvkuF.js → dist-C9Ms2Ul9.js} +33 -7
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-Cq40ulKW.js → hub-mdns-ciao-C87S9O_n.js} +2 -2
- package/system/dist/{hub-mdns-ciao-DvMaX3C7.mjs → hub-mdns-ciao-CFsSp0tc.mjs} +2 -2
- package/system/dist/index.js +10 -10
- package/system/dist/index.mjs +10 -10
- package/system/dist/kernel/transport/acting-addon.d.ts +1 -1
- package/system/dist/{legacy-integration-rows-door-Ddvaas_7.mjs → legacy-integration-rows-door-CI-AaB-M.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-CFU1l1w2.js → legacy-integration-rows-door-C_aaT1DH.js} +1 -1
- package/system/dist/{restore-archive-CvMg1XkQ.js → restore-archive-BC8OECG8.js} +1 -1
- package/system/dist/{restore-archive-DrC0c1xL.mjs → restore-archive-D3K33hws.mjs} +82 -82
- package/system/dist/{wal-maintenance-CQFck3Zg.js → wal-maintenance-Bf9m0JZr.js} +0 -0
- package/system/dist/{wal-maintenance-CT3h6u6l.mjs → wal-maintenance-CMjTxyAC.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-C9Ms2Ul9.js");
|
|
7
7
|
const require_formatter = require("../../formatter-xbxeV4GD.js");
|
|
8
8
|
const require_log_file_read_protocol = require("../../log-file-read-protocol-D0WcLbIV.js");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { To as BaseAddon, ri as logDestinationCapability } from "../../dist-
|
|
1
|
+
import { To as BaseAddon, ri as logDestinationCapability } from "../../dist-BzpjKSec.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
|
|
3
3
|
import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-B7M3X3bT.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
1
|
+
const require_dist = require("./dist-C9Ms2Ul9.js");
|
|
2
2
|
//#region src/builtins/device-history/store/series-registry.ts
|
|
3
3
|
function subjectIdOf(subject) {
|
|
4
4
|
return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Es as historyItemFieldPath, Po as HISTORY_DEFAULT_MIN_INTERVAL_MS, uc as DeviceType } from "./dist-
|
|
1
|
+
import { Es as historyItemFieldPath, Po as HISTORY_DEFAULT_MIN_INTERVAL_MS, uc as DeviceType } from "./dist-BzpjKSec.mjs";
|
|
2
2
|
//#region src/builtins/device-history/store/series-registry.ts
|
|
3
3
|
function subjectIdOf(subject) {
|
|
4
4
|
return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dc as errMsg, so as compositionSourceKey } from "./dist-
|
|
1
|
+
import { dc as errMsg, so as compositionSourceKey } from "./dist-BzpjKSec.mjs";
|
|
2
2
|
//#region src/builtins/shared/device-state-changed.ts
|
|
3
3
|
/** Structural narrowing helper for untrusted bus payloads. */
|
|
4
4
|
function isRecord(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
|
|
2
|
-
var MESH_CA_KEY_REF = require("./dist-
|
|
2
|
+
var MESH_CA_KEY_REF = require("./dist-C9Ms2Ul9.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as DEVICE_SAN_CREDENTIAL_PREFIX, U as DEVICE_SAN_USER_PREFIX, us as buildSecretRef } from "./dist-
|
|
1
|
+
import { H as DEVICE_SAN_CREDENTIAL_PREFIX, U as DEVICE_SAN_USER_PREFIX, us as buildSecretRef } from "./dist-BzpjKSec.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, a as KeyUsageFlags, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
|
|
4
4
|
//#region src/auth/jwt-signing-key.ts
|
|
@@ -56940,7 +56940,14 @@ var DiscoveryCandidateSchema = z.object({
|
|
|
56940
56940
|
/** `stableId` of the gateway candidate this device was found BEHIND. */
|
|
56941
56941
|
parentStableId: z.string().optional(),
|
|
56942
56942
|
/** `false` = shown for context but not pickable. Default true. */
|
|
56943
|
-
selectable: z.boolean().optional()
|
|
56943
|
+
selectable: z.boolean().optional(),
|
|
56944
|
+
/**
|
|
56945
|
+
* Keys of the provider's creation form (`getChildCreationSchema`) this candidate
|
|
56946
|
+
* cannot be adopted without — a key for an encrypted board, a pairing code. The
|
|
56947
|
+
* admin asks for exactly these, on the creation form prefilled with
|
|
56948
|
+
* `prefilledConfig`, before it adopts. Absent or empty = adopt as it is.
|
|
56949
|
+
*/
|
|
56950
|
+
needsParams: z.array(z.string()).optional()
|
|
56944
56951
|
});
|
|
56945
56952
|
/**
|
|
56946
56953
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -57067,8 +57074,14 @@ var deviceProviderCapability = {
|
|
|
57067
57074
|
* provider does not support manual creation. Lets the Add-Device dialog
|
|
57068
57075
|
* pick the right type instead of assuming Camera.
|
|
57069
57076
|
*/
|
|
57070
|
-
getManualCreationType: method(z.object({
|
|
57071
|
-
|
|
57077
|
+
getManualCreationType: method(z.object({
|
|
57078
|
+
/** The integration asked about; a provider whose integrations differ answers per one. */
|
|
57079
|
+
integrationId: z.string().optional() }), z.object({ deviceType: z.enum(DeviceType).nullable() })),
|
|
57080
|
+
adoptDiscoveredDevice: method(z.object({
|
|
57081
|
+
candidate: DiscoveryCandidateSchema,
|
|
57082
|
+
/** The integration the operator adopts into; a provider with several instances needs it. */
|
|
57083
|
+
integrationId: z.string().optional()
|
|
57084
|
+
}), DeviceSummarySchema, {
|
|
57072
57085
|
kind: "mutation",
|
|
57073
57086
|
auth: "admin"
|
|
57074
57087
|
}),
|
|
@@ -57079,10 +57092,16 @@ var deviceProviderCapability = {
|
|
|
57079
57092
|
* devices of that type. The output is a `ConfigUISchema` — the
|
|
57080
57093
|
* router type-asserts it at the boundary.
|
|
57081
57094
|
*/
|
|
57082
|
-
getChildCreationSchema: method(z.object({
|
|
57095
|
+
getChildCreationSchema: method(z.object({
|
|
57096
|
+
type: z.enum(DeviceType),
|
|
57097
|
+
/** The integration asked about; a provider whose integrations differ answers per one. */
|
|
57098
|
+
integrationId: z.string().optional()
|
|
57099
|
+
}), CreationSchemaOutputSchema),
|
|
57083
57100
|
createDevice: method(z.object({
|
|
57084
57101
|
type: z.enum(DeviceType),
|
|
57085
|
-
config: z.record(z.string(), z.unknown())
|
|
57102
|
+
config: z.record(z.string(), z.unknown()),
|
|
57103
|
+
/** The integration the operator adds the device to; a provider with several instances needs it. */
|
|
57104
|
+
integrationId: z.string().optional()
|
|
57086
57105
|
}), DeviceSummarySchema, {
|
|
57087
57106
|
kind: "mutation",
|
|
57088
57107
|
auth: "admin"
|
|
@@ -58349,7 +58368,10 @@ var deviceManagerCapability = {
|
|
|
58349
58368
|
*/
|
|
58350
58369
|
getCreationSchema: method(z.object({
|
|
58351
58370
|
addonId: z.string(),
|
|
58352
|
-
type: z.enum(DeviceType)
|
|
58371
|
+
type: z.enum(DeviceType),
|
|
58372
|
+
/** The integration the form is for; a provider whose integrations differ (a hub
|
|
58373
|
+
* integration takes no manual add) answers per integration. Absent = the addon's own. */
|
|
58374
|
+
integrationId: z.string().optional()
|
|
58353
58375
|
}), z.unknown().nullable()),
|
|
58354
58376
|
/** Create a new device via the device-provider capability. */
|
|
58355
58377
|
createDevice: method(z.object({
|
|
@@ -58496,7 +58518,11 @@ var deviceManagerCapability = {
|
|
|
58496
58518
|
}),
|
|
58497
58519
|
/** The device type a provider creates via manual add (Camera/Container/Hub),
|
|
58498
58520
|
* so the Add-Device dialog uses the right type instead of assuming Camera. */
|
|
58499
|
-
providerCreationType: method(z.object({
|
|
58521
|
+
providerCreationType: method(z.object({
|
|
58522
|
+
addonId: z.string(),
|
|
58523
|
+
/** The integration the Add-Device dialog is open on; absent = the addon's own. */
|
|
58524
|
+
integrationId: z.string().optional()
|
|
58525
|
+
}), z.object({ deviceType: z.enum(DeviceType).nullable() }), { auth: "admin" }),
|
|
58500
58526
|
/** A provider's extra per-scan param form (ConfigUISchema) for the
|
|
58501
58527
|
* per-integration scan, or null when it takes none. */
|
|
58502
58528
|
providerDiscoveryParamsSchema: method(z.object({ addonId: z.string() }), z.unknown(), { auth: "admin" }),
|
|
@@ -56940,7 +56940,14 @@ var DiscoveryCandidateSchema = zod.z.object({
|
|
|
56940
56940
|
/** `stableId` of the gateway candidate this device was found BEHIND. */
|
|
56941
56941
|
parentStableId: zod.z.string().optional(),
|
|
56942
56942
|
/** `false` = shown for context but not pickable. Default true. */
|
|
56943
|
-
selectable: zod.z.boolean().optional()
|
|
56943
|
+
selectable: zod.z.boolean().optional(),
|
|
56944
|
+
/**
|
|
56945
|
+
* Keys of the provider's creation form (`getChildCreationSchema`) this candidate
|
|
56946
|
+
* cannot be adopted without — a key for an encrypted board, a pairing code. The
|
|
56947
|
+
* admin asks for exactly these, on the creation form prefilled with
|
|
56948
|
+
* `prefilledConfig`, before it adopts. Absent or empty = adopt as it is.
|
|
56949
|
+
*/
|
|
56950
|
+
needsParams: zod.z.array(zod.z.string()).optional()
|
|
56944
56951
|
});
|
|
56945
56952
|
/**
|
|
56946
56953
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -57067,8 +57074,14 @@ var deviceProviderCapability = {
|
|
|
57067
57074
|
* provider does not support manual creation. Lets the Add-Device dialog
|
|
57068
57075
|
* pick the right type instead of assuming Camera.
|
|
57069
57076
|
*/
|
|
57070
|
-
getManualCreationType: method(zod.z.object({
|
|
57071
|
-
|
|
57077
|
+
getManualCreationType: method(zod.z.object({
|
|
57078
|
+
/** The integration asked about; a provider whose integrations differ answers per one. */
|
|
57079
|
+
integrationId: zod.z.string().optional() }), zod.z.object({ deviceType: zod.z.enum(DeviceType).nullable() })),
|
|
57080
|
+
adoptDiscoveredDevice: method(zod.z.object({
|
|
57081
|
+
candidate: DiscoveryCandidateSchema,
|
|
57082
|
+
/** The integration the operator adopts into; a provider with several instances needs it. */
|
|
57083
|
+
integrationId: zod.z.string().optional()
|
|
57084
|
+
}), DeviceSummarySchema, {
|
|
57072
57085
|
kind: "mutation",
|
|
57073
57086
|
auth: "admin"
|
|
57074
57087
|
}),
|
|
@@ -57079,10 +57092,16 @@ var deviceProviderCapability = {
|
|
|
57079
57092
|
* devices of that type. The output is a `ConfigUISchema` — the
|
|
57080
57093
|
* router type-asserts it at the boundary.
|
|
57081
57094
|
*/
|
|
57082
|
-
getChildCreationSchema: method(zod.z.object({
|
|
57095
|
+
getChildCreationSchema: method(zod.z.object({
|
|
57096
|
+
type: zod.z.enum(DeviceType),
|
|
57097
|
+
/** The integration asked about; a provider whose integrations differ answers per one. */
|
|
57098
|
+
integrationId: zod.z.string().optional()
|
|
57099
|
+
}), CreationSchemaOutputSchema),
|
|
57083
57100
|
createDevice: method(zod.z.object({
|
|
57084
57101
|
type: zod.z.enum(DeviceType),
|
|
57085
|
-
config: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
57102
|
+
config: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
57103
|
+
/** The integration the operator adds the device to; a provider with several instances needs it. */
|
|
57104
|
+
integrationId: zod.z.string().optional()
|
|
57086
57105
|
}), DeviceSummarySchema, {
|
|
57087
57106
|
kind: "mutation",
|
|
57088
57107
|
auth: "admin"
|
|
@@ -58349,7 +58368,10 @@ var deviceManagerCapability = {
|
|
|
58349
58368
|
*/
|
|
58350
58369
|
getCreationSchema: method(zod.z.object({
|
|
58351
58370
|
addonId: zod.z.string(),
|
|
58352
|
-
type: zod.z.enum(DeviceType)
|
|
58371
|
+
type: zod.z.enum(DeviceType),
|
|
58372
|
+
/** The integration the form is for; a provider whose integrations differ (a hub
|
|
58373
|
+
* integration takes no manual add) answers per integration. Absent = the addon's own. */
|
|
58374
|
+
integrationId: zod.z.string().optional()
|
|
58353
58375
|
}), zod.z.unknown().nullable()),
|
|
58354
58376
|
/** Create a new device via the device-provider capability. */
|
|
58355
58377
|
createDevice: method(zod.z.object({
|
|
@@ -58496,7 +58518,11 @@ var deviceManagerCapability = {
|
|
|
58496
58518
|
}),
|
|
58497
58519
|
/** The device type a provider creates via manual add (Camera/Container/Hub),
|
|
58498
58520
|
* so the Add-Device dialog uses the right type instead of assuming Camera. */
|
|
58499
|
-
providerCreationType: method(zod.z.object({
|
|
58521
|
+
providerCreationType: method(zod.z.object({
|
|
58522
|
+
addonId: zod.z.string(),
|
|
58523
|
+
/** The integration the Add-Device dialog is open on; absent = the addon's own. */
|
|
58524
|
+
integrationId: zod.z.string().optional()
|
|
58525
|
+
}), zod.z.object({ deviceType: zod.z.enum(DeviceType).nullable() }), { auth: "admin" }),
|
|
58500
58526
|
/** A provider's extra per-scan param form (ConfigUISchema) for the
|
|
58501
58527
|
* per-integration scan, or null when it takes none. */
|
|
58502
58528
|
providerDiscoveryParamsSchema: method(zod.z.object({ addonId: zod.z.string() }), zod.z.unknown(), { auth: "admin" }),
|
|
@@ -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-Bf9m0JZr.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-CMjTxyAC.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,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-C9Ms2Ul9.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_agent_https = require("./agent-https-
|
|
4
|
+
const require_agent_https = require("./agent-https-swBZI1iJ.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { oc as userError } from "./dist-
|
|
2
|
+
import { oc as userError } from "./dist-BzpjKSec.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-
|
|
4
|
+
import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-BrINLeNj.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
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-C9Ms2Ul9.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-D_q1MiQ3.js");
|
|
5
5
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
6
6
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
7
7
|
require("./builtins/alerts/index.js");
|
|
@@ -26,22 +26,22 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
|
|
|
26
26
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
27
27
|
const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
|
|
28
28
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
29
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
30
|
-
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-
|
|
29
|
+
const require_wal_maintenance = require("./wal-maintenance-Bf9m0JZr.js");
|
|
30
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-C_aaT1DH.js");
|
|
31
31
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
32
32
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
33
33
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
34
34
|
require("./builtins/storage-orchestrator/index.js");
|
|
35
|
-
const require_agent_https = require("./agent-https-
|
|
36
|
-
const require_constants = require("./constants-
|
|
35
|
+
const require_agent_https = require("./agent-https-swBZI1iJ.js");
|
|
36
|
+
const require_constants = require("./constants-CGXiM2LV.js");
|
|
37
37
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
38
38
|
require("./builtins/system-config/index.js");
|
|
39
39
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
40
40
|
const require_custom_action_registry = require("./custom-action-registry-JuMHGKEc.js");
|
|
41
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
41
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-C87S9O_n.js");
|
|
42
42
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
43
43
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
44
|
-
const require_restore_archive = require("./restore-archive-
|
|
44
|
+
const require_restore_archive = require("./restore-archive-BC8OECG8.js");
|
|
45
45
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
46
46
|
let zod = require("zod");
|
|
47
47
|
let node_crypto = require("node:crypto");
|
|
@@ -20269,7 +20269,7 @@ async function answerDeviceCallRedirect(hook, call) {
|
|
|
20269
20269
|
//#endregion
|
|
20270
20270
|
//#region src/kernel/transport/acting-addon.ts
|
|
20271
20271
|
/**
|
|
20272
|
-
* The addon a grouped child acts for (the records owner).
|
|
20272
|
+
* The addon a grouped child acts for (the records owner, the migration author).
|
|
20273
20273
|
*
|
|
20274
20274
|
* A grouped runner is stamped with its GROUP id by the transport, and the group can change when
|
|
20275
20275
|
* the grouping does; the data of the caps below is keyed by the ADDON, which never changes. The
|
|
@@ -20277,7 +20277,7 @@ async function answerDeviceCallRedirect(hook, call) {
|
|
|
20277
20277
|
* runner map before it stamps the call with it.
|
|
20278
20278
|
*/
|
|
20279
20279
|
/** The caps whose rows and secret refs are keyed by the calling ADDON, not by its runner. */
|
|
20280
|
-
var ADDON_KEYED_CAPS = ["records"];
|
|
20280
|
+
var ADDON_KEYED_CAPS = ["records", "migrations"];
|
|
20281
20281
|
/** A child claimed an addon its runner does not host. Typed so a caller can tell it from a crash. */
|
|
20282
20282
|
var ActingAddonRefusedError = class extends Error {
|
|
20283
20283
|
runnerId;
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $i as resolveMethodAuth, Ao as DEVICE_STATUS_METHOD, Ci as objectInputDeclaresRequiredDeviceId, Cs as expandCapMethods, Da as supportedRuntimes, Do as CALLER_STAMPED_CAPABILITIES$1, E as CatalogFileSchema, Go as RUNTIME_DEFAULTS, Gr as isVoidInput, Gs as parseJsonObject, Ii as procedureAuthKey, Js as readinessKey, Ko as ReadinessRegistry, Kr as kebabToCamel$1, Ks as parseJsonUnknown, Lr as isArrayOutputSchema, Nr as interpolate, Oo as DATAPLANE_SECRET_HEADER$1, Qs as scopeKey, Rr as isCollectionArrayMethod, Si as objectInputDeclaresAddonId, Ts as getDebugInterest, Ur as isObjectInput, Xs as resolveCapMount, Zr as lifecycleJobSchema, a as AGENT_MDNS_TXT_KEYS, ai as looseSchema, as as asJsonObject$1, bs as defineRecordKinds, bt as METHOD_ACCESS_MAP, ca as scopesAllowAddon, dc as errMsg$1, fc as EventCategory$1, hs as createEvent$1, i as AGENT_MDNS_SERVICE_TYPE, ii as logLevelAtMost, ko as DEVICE_SETTINGS_CONTRIBUTION_METHODS, ks as isDebugChannelName, la as scopesAllowDeviceCap, ln as addonSettingsCapability, o as ALL_CAPABILITY_DEFINITIONS, oc as userError, os as asNumber, ps as collectSecretMarkerRefs, qo as ReadinessTimeoutError, sc as withoutCallerStamp, ss as asString$1, vn as bareAddonId, vt as LOG_LEVEL_RANK, xs as emitDownForOwnedCaps, y as CATALOG_LANGS, ya as splitTranslationRef, yr as extractNestedAddonId } 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 { $i as resolveMethodAuth, Ao as DEVICE_STATUS_METHOD, Ci as objectInputDeclaresRequiredDeviceId, Cs as expandCapMethods, Da as supportedRuntimes, Do as CALLER_STAMPED_CAPABILITIES$1, E as CatalogFileSchema, Go as RUNTIME_DEFAULTS, Gr as isVoidInput, Gs as parseJsonObject, Ii as procedureAuthKey, Js as readinessKey, Ko as ReadinessRegistry, Kr as kebabToCamel$1, Ks as parseJsonUnknown, Lr as isArrayOutputSchema, Nr as interpolate, Oo as DATAPLANE_SECRET_HEADER$1, Qs as scopeKey, Rr as isCollectionArrayMethod, Si as objectInputDeclaresAddonId, Ts as getDebugInterest, Ur as isObjectInput, Xs as resolveCapMount, Zr as lifecycleJobSchema, a as AGENT_MDNS_TXT_KEYS, ai as looseSchema, as as asJsonObject$1, bs as defineRecordKinds, bt as METHOD_ACCESS_MAP, ca as scopesAllowAddon, dc as errMsg$1, fc as EventCategory$1, hs as createEvent$1, i as AGENT_MDNS_SERVICE_TYPE, ii as logLevelAtMost, ko as DEVICE_SETTINGS_CONTRIBUTION_METHODS, ks as isDebugChannelName, la as scopesAllowDeviceCap, ln as addonSettingsCapability, o as ALL_CAPABILITY_DEFINITIONS, oc as userError, os as asNumber, ps as collectSecretMarkerRefs, qo as ReadinessTimeoutError, sc as withoutCallerStamp, ss as asString$1, vn as bareAddonId, vt as LOG_LEVEL_RANK, xs as emitDownForOwnedCaps, y as CATALOG_LANGS, ya as splitTranslationRef, yr as extractNestedAddonId } from "./dist-BzpjKSec.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-CFRagVlE.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
5
5
|
import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
|
|
6
6
|
import "./builtins/alerts/index.mjs";
|
|
@@ -25,22 +25,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
|
|
|
25
25
|
import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
26
26
|
import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
|
|
27
27
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
28
|
-
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-
|
|
29
|
-
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-
|
|
28
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-CMjTxyAC.mjs";
|
|
29
|
+
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-CI-AaB-M.mjs";
|
|
30
30
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
31
31
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
32
32
|
import { StorageOrchestratorAddon, a as stripForwardedCaller, i as createHubCapForwardService, l as STORAGE_DRAIN_STATE_LEGACY, n as HUB_CAP_FWD_ACTION, o as buildStorageLocationRegistry, r as HUB_CAP_FWD_SERVICE, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
33
33
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
34
|
-
import { A as buildNameConstraintSet, B as setProcessAgentHttpsNames, C as LEAF_RENEWAL_WINDOW_DAYS, E as evaluateExistingCert, F as readNameConstraints, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, N as permitsIdentity, O as PERMITTED_DNS_SUFFIXES, P as permitsName, R as AgentHttpsNames, S as CA_VALIDITY_DAYS, T as SERVER_AUTH_OID, a as collectAgentNames, b as collectCertIdentity, c as installAgentHttps, d as issueAgentHttpsLeaf, f as loadAgentHttps, h as CA_COMMON_NAME, i as certificateNames, j as isConstrainedCa, k as PERMITTED_IP_RANGES, l as isContainerBridgeAddress, m as pinnedHttpsCaFingerprint, n as acceptAgentSans, o as createAgentHttpsRequest, p as pemDigest, r as agentHttpsPaths, s as describeHttpsLeaf, t as AgentHttpsInstallError, u as isPrivateAddress, w as MAX_LEAF_VALIDITY_DAYS, x as systemHostFacts, y as localCaCommonName, z as getProcessAgentHttpsNames } from "./agent-https-
|
|
35
|
-
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-
|
|
34
|
+
import { A as buildNameConstraintSet, B as setProcessAgentHttpsNames, C as LEAF_RENEWAL_WINDOW_DAYS, E as evaluateExistingCert, F as readNameConstraints, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, N as permitsIdentity, O as PERMITTED_DNS_SUFFIXES, P as permitsName, R as AgentHttpsNames, S as CA_VALIDITY_DAYS, T as SERVER_AUTH_OID, a as collectAgentNames, b as collectCertIdentity, c as installAgentHttps, d as issueAgentHttpsLeaf, f as loadAgentHttps, h as CA_COMMON_NAME, i as certificateNames, j as isConstrainedCa, k as PERMITTED_IP_RANGES, l as isContainerBridgeAddress, m as pinnedHttpsCaFingerprint, n as acceptAgentSans, o as createAgentHttpsRequest, p as pemDigest, r as agentHttpsPaths, s as describeHttpsLeaf, t as AgentHttpsInstallError, u as isPrivateAddress, w as MAX_LEAF_VALIDITY_DAYS, x as systemHostFacts, y as localCaCommonName, z as getProcessAgentHttpsNames } from "./agent-https-BrINLeNj.mjs";
|
|
35
|
+
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-C68806R6.mjs";
|
|
36
36
|
import { $ as caFingerprintCompact, A as getProcessNodeMeshTransport, B as MESH_NODE_CERTIFICATES_COLLECTION, C as MESH_TLS_PORT_HELLO_FIELD, Ct as readOriginSetting, D as setProcessMeshTlsEnabler, Dt as readCidrSetting, E as ServiceBroker, Et as parseCidrList, F as renewMeshCertificate, G as getProcessMeshCertificateRegistry, H as MeshCertificateRegistry, I as revokeMeshCertificate, J as processMeshCrl, K as setProcessMeshCertificateRegistry, L as getProcessMeshTlsListenerState, M as isProcessVerifiedMeshPeer, N as onProcessNodeRegistered, O as dropProcessPeer, P as setProcessMeshPeerTransportLookup, Q as caFingerprint, R as openMeshTlsWhenRevocationsLoaded, S as verifyMembershipAnswer, St as parseOriginList, SystemConfigAddon, T as Errors, Tt as normalizeIp, U as RENEWAL_ABANDONED, V as MESH_NODE_CERTIFICATES_COLUMNS, W as describeMeshLeaf, X as getProcessMeshCaState, Y as MeshCaKeeper, Z as requireProcessMeshCa, _ as signPairingProof, _t as verifyAgentUiUnlockTicket, a as hubHostFromMeshAddress, at as issueMeshLeafForNode, b as MembershipResponder, bt as isInsecureOrigin, c as PAIRING_MAX_SESSIONS, ct as AGENT_DASHBOARD_ORIGINS_FIELD, d as PAIRING_PROTOCOL, dt as AGENT_UI_UNLOCK_USE, et as createMeshCsrPem, f as PAIRING_TTL_MS, ft as AGENT_UI_UNLOCK_VERSION, g as keyFingerprintShort, gt as parseAgentDashboardOrigins, h as describeCsr, ht as mintAgentUiUnlockTicket, i as AgentPairing, it as isValidAgentNodeId, j as getProcessPeerLeaf, k as emitProcessNodeRegistered, l as PAIRING_PATHS, lt as AGENT_UI_UNLOCK_TTL_MS, m as computePairingSas, mt as isAllowedAgentDashboardReturnTo, n as HubPairing, nt as generateMeshCa, o as PAIRING_CODE_DIGITS, ot as issueMeshLeafFromCsr, p as computePairingCommitment, pt as UnlockTicketJtiStore, q as MeshCrl, r as PairingHttpError, rt as generateMeshKeyPair, s as PAIRING_MAX_CODE_ATTEMPTS, st as loadMeshCa, tt as exportMeshPrivateKeyPem, u as PAIRING_PIN_DIGITS, ut as AGENT_UI_UNLOCK_TYP, v as verifyPairingProof, vt as InvalidCorsOriginError, w as TlsTcpTransporter, wt as createCidrMatcher, x as signMembershipProof, xt as normalizeOrigin, y as MEMBERSHIP_PATHS, yt as OPAQUE_ORIGIN, z as setProcessMeshTlsListenerState } from "./builtins/system-config/system-config.addon.mjs";
|
|
37
37
|
import "./builtins/system-config/index.mjs";
|
|
38
38
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
39
39
|
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-oHl1xltx.mjs";
|
|
40
|
-
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-
|
|
40
|
+
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-CFsSp0tc.mjs";
|
|
41
41
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
42
42
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
43
|
-
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-
|
|
43
|
+
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-D3K33hws.mjs";
|
|
44
44
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
45
45
|
import { z } from "zod";
|
|
46
46
|
import * as crypto$1 from "node:crypto";
|
|
@@ -20265,7 +20265,7 @@ async function answerDeviceCallRedirect(hook, call) {
|
|
|
20265
20265
|
//#endregion
|
|
20266
20266
|
//#region src/kernel/transport/acting-addon.ts
|
|
20267
20267
|
/**
|
|
20268
|
-
* The addon a grouped child acts for (the records owner).
|
|
20268
|
+
* The addon a grouped child acts for (the records owner, the migration author).
|
|
20269
20269
|
*
|
|
20270
20270
|
* A grouped runner is stamped with its GROUP id by the transport, and the group can change when
|
|
20271
20271
|
* the grouping does; the data of the caps below is keyed by the ADDON, which never changes. The
|
|
@@ -20273,7 +20273,7 @@ async function answerDeviceCallRedirect(hook, call) {
|
|
|
20273
20273
|
* runner map before it stamps the call with it.
|
|
20274
20274
|
*/
|
|
20275
20275
|
/** The caps whose rows and secret refs are keyed by the calling ADDON, not by its runner. */
|
|
20276
|
-
var ADDON_KEYED_CAPS = ["records"];
|
|
20276
|
+
var ADDON_KEYED_CAPS = ["records", "migrations"];
|
|
20277
20277
|
/** A child claimed an addon its runner does not host. Typed so a caller can tell it from a crash. */
|
|
20278
20278
|
var ActingAddonRefusedError = class extends Error {
|
|
20279
20279
|
runnerId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The addon a grouped child acts for (the records owner).
|
|
2
|
+
* The addon a grouped child acts for (the records owner, the migration author).
|
|
3
3
|
*
|
|
4
4
|
* A grouped runner is stamped with its GROUP id by the transport, and the group can change when
|
|
5
5
|
* the grouping does; the data of the caps below is keyed by the ADDON, which never changes. The
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ps as collectSecretMarkerRefs } from "./dist-
|
|
1
|
+
import { ps as collectSecretMarkerRefs } from "./dist-BzpjKSec.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).
|