@camstack/server 1.2.738 → 1.2.739
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 +7 -0
- package/dist/api/core/cap-providers.js +14 -16
- package/dist/api/trpc/generated-cap-routers.js +10 -6
- package/package.json +11 -8
- package/system/dist/{agent-https-Bi3JY1e0.js → agent-https-DX_ypzVA.js} +1 -1
- package/system/dist/{agent-https-DiK6iQzW.mjs → agent-https-Dwec4v5Z.mjs} +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 +2 -2
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- 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 +1 -1
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- 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 +3 -3
- package/system/dist/builtins/keychain/index.mjs +3 -3
- 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/sqlite-settings.addon.js +2 -2
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- 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/{composition-sources-lnsR-YuH.mjs → composition-sources-6UWb8sIp.mjs} +1 -1
- package/system/dist/{composition-sources-DQLGJMMh.js → composition-sources-jF-eMoO5.js} +1 -1
- package/system/dist/{constants-DA5jgmYT.js → constants-dJ_YPC9D.js} +1 -1
- package/system/dist/{constants-D7I0cM20.mjs → constants-v7B-_yzi.mjs} +1 -1
- package/system/dist/{device-ca-Clr2bCe-.mjs → device-ca-BVaCxlFs.mjs} +1 -1
- package/system/dist/{device-ca-GPjZE-Mm.js → device-ca-CImkiiR-.js} +1 -1
- package/system/dist/{dist-Xi7ZQ7UI.js → dist-BXWXN1Dl.js} +43 -30
- package/system/dist/{dist-Cyj93AvD.mjs → dist-BvHqoBym.mjs} +43 -30
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-BMgUdxgG.js → hub-mdns-ciao-B7wwnU92.js} +2 -2
- package/system/dist/{hub-mdns-ciao-ouzCfqVS.mjs → hub-mdns-ciao-B_ldgRYZ.mjs} +2 -2
- package/system/dist/index.js +7 -7
- package/system/dist/index.mjs +7 -7
- package/system/dist/{restore-archive-UXCD7JO3.mjs → restore-archive-CLfRtdYG.mjs} +82 -82
- package/system/dist/{restore-archive-CZozfCX-.js → restore-archive-ne_KESE9.js} +1 -1
- package/system/dist/{retention-DCrdPMot.js → retention--waznpBD.js} +1 -1
- package/system/dist/{retention-BfC_C1vy.mjs → retention-MD1lPsHB.mjs} +1 -1
- package/system/dist/{wal-maintenance-C2GNRuvy.mjs → wal-maintenance-D8DIMgjl.mjs} +0 -0
- package/system/dist/{wal-maintenance-PjOoh6-K.js → wal-maintenance-DmhOVavh.js} +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-BXWXN1Dl.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 { Qr as logDestinationCapability, po as BaseAddon } from "../../dist-
|
|
1
|
+
import { Qr as logDestinationCapability, po as BaseAddon } from "../../dist-BvHqoBym.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
|
-
import { $s as errMsg, Xa as compositionSourceKey } from "./dist-
|
|
1
|
+
import { $s as errMsg, Xa as compositionSourceKey } from "./dist-BvHqoBym.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-BXWXN1Dl.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, Qo as buildSecretRef, U as DEVICE_SAN_USER_PREFIX } from "./dist-
|
|
1
|
+
import { H as DEVICE_SAN_CREDENTIAL_PREFIX, Qo as buildSecretRef, U as DEVICE_SAN_USER_PREFIX } from "./dist-BvHqoBym.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
|
|
@@ -61595,15 +61595,9 @@ var AvailableIntegrationTypeSchema = zod.z.object({
|
|
|
61595
61595
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
61596
61596
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
61597
61597
|
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
61598
|
-
* legacy config → discovery flow.
|
|
61599
|
-
* connection as typed records (`integration-instances`, D985): no devices,
|
|
61600
|
-
* no discovery.
|
|
61598
|
+
* legacy config → discovery flow.
|
|
61601
61599
|
*/
|
|
61602
|
-
kind: zod.z.enum([
|
|
61603
|
-
"device-adoption",
|
|
61604
|
-
"device-provider",
|
|
61605
|
-
"connection"
|
|
61606
|
-
]),
|
|
61600
|
+
kind: zod.z.enum(["device-adoption", "device-provider"]),
|
|
61607
61601
|
/**
|
|
61608
61602
|
* For `device-adoption` addons: the broker kind to create/link
|
|
61609
61603
|
* (e.g. `home-assistant`), declared in the addon manifest. `null` for
|
|
@@ -61735,18 +61729,17 @@ var integrationsCapability = {
|
|
|
61735
61729
|
};
|
|
61736
61730
|
/**
|
|
61737
61731
|
* `integration-instances` - the connection of an addon that holds ONE or SEVERAL
|
|
61738
|
-
* (an account, a relay, a destination) as typed records,
|
|
61739
|
-
*
|
|
61732
|
+
* (an account, a relay, a destination) as typed records (D985, D986). The addon's
|
|
61733
|
+
* own function page reads and writes them (Logging for Loki); the Integrations
|
|
61734
|
+
* page lists only the integrations that bring devices (D996).
|
|
61740
61735
|
*
|
|
61741
|
-
* A collection of providers: each addon that holds connections registers one
|
|
61742
|
-
*
|
|
61743
|
-
* `addonId`. It is internal and has no route: the operator-facing surface is
|
|
61744
|
-
* the `integrations` cap, which keeps ONE list.
|
|
61736
|
+
* A collection of providers: each addon that holds connections registers one and a
|
|
61737
|
+
* caller reaches a provider with the pinned `addonId`.
|
|
61745
61738
|
*
|
|
61746
|
-
* Identity: the instance id
|
|
61747
|
-
*
|
|
61748
|
-
*
|
|
61749
|
-
* editable label.
|
|
61739
|
+
* Identity: the instance id is immutable and opaque to the caller. A record the
|
|
61740
|
+
* Loki migration made keeps the `integrations` registry id it was created under
|
|
61741
|
+
* (`int_NNNN`); a single instance made by its function page takes the addon id.
|
|
61742
|
+
* `name` is the editable label.
|
|
61750
61743
|
*
|
|
61751
61744
|
* Secrets: every field the instance kind marks `.meta({ secret: true })` reaches
|
|
61752
61745
|
* the form as a `SecretFieldView`, never text (D789). A patch value omitted, `''`
|
|
@@ -61792,25 +61785,36 @@ var integrationInstancesCapability = {
|
|
|
61792
61785
|
name: "integration-instances",
|
|
61793
61786
|
scope: "system",
|
|
61794
61787
|
mode: "collection",
|
|
61795
|
-
internal: true,
|
|
61796
61788
|
methods: {
|
|
61797
|
-
describe: method(zod.z.void(), IntegrationInstanceDescriptionSchema),
|
|
61789
|
+
describe: method(zod.z.void(), IntegrationInstanceDescriptionSchema, { auth: "admin" }),
|
|
61798
61790
|
/** The form; `id: null` is the create form. */
|
|
61799
|
-
instanceFormSchema: method(zod.z.object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3),
|
|
61800
|
-
listInstances: method(zod.z.void(), zod.z.array(IntegrationInstanceSchema).readonly()),
|
|
61801
|
-
getInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable()),
|
|
61802
|
-
/** Insert the typed record
|
|
61791
|
+
instanceFormSchema: method(zod.z.object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3, { auth: "admin" }),
|
|
61792
|
+
listInstances: method(zod.z.void(), zod.z.array(IntegrationInstanceSchema).readonly(), { auth: "admin" }),
|
|
61793
|
+
getInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable(), { auth: "admin" }),
|
|
61794
|
+
/** Insert the typed record under the given id (a duplicate id is refused). */
|
|
61803
61795
|
createInstance: method(zod.z.object({
|
|
61804
61796
|
id: IntegrationInstanceIdSchema,
|
|
61805
61797
|
name: zod.z.string().min(1)
|
|
61806
|
-
}), zod.z.object({ id: zod.z.string() }), {
|
|
61807
|
-
|
|
61798
|
+
}), zod.z.object({ id: zod.z.string() }), {
|
|
61799
|
+
kind: "mutation",
|
|
61800
|
+
auth: "admin"
|
|
61801
|
+
}),
|
|
61802
|
+
updateInstance: method(IntegrationInstancePatchSchema, zod.z.object({ ok: zod.z.literal(true) }), {
|
|
61803
|
+
kind: "mutation",
|
|
61804
|
+
auth: "admin"
|
|
61805
|
+
}),
|
|
61808
61806
|
/** Delete the record and its keychain refs together. */
|
|
61809
|
-
deleteInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), zod.z.object({ ok: zod.z.literal(true) }), {
|
|
61807
|
+
deleteInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), zod.z.object({ ok: zod.z.literal(true) }), {
|
|
61808
|
+
kind: "mutation",
|
|
61809
|
+
auth: "admin"
|
|
61810
|
+
}),
|
|
61810
61811
|
testInstance: optionalMethod(zod.z.object({
|
|
61811
61812
|
id: IntegrationInstanceIdSchema.nullable(),
|
|
61812
61813
|
values: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
61813
|
-
}), TestConnectionResultSchema$1, {
|
|
61814
|
+
}), TestConnectionResultSchema$1, {
|
|
61815
|
+
kind: "mutation",
|
|
61816
|
+
auth: "admin"
|
|
61817
|
+
})
|
|
61814
61818
|
},
|
|
61815
61819
|
mount: { kind: "skip" }
|
|
61816
61820
|
};
|
|
@@ -85436,7 +85440,16 @@ var smokeCapability = {
|
|
|
85436
85440
|
* future fields without breaking the existing call sites.
|
|
85437
85441
|
*/
|
|
85438
85442
|
var EmailAddressSchema = zod.z.email();
|
|
85443
|
+
/**
|
|
85444
|
+
* Which relay of a multi-relay provider answers (D996). Absent = the provider's first / default
|
|
85445
|
+
* relay, so a caller written before relays existed keeps working unchanged. A provider with one
|
|
85446
|
+
* fixed relay ignores it. This is the integration instance id (`int_NNNN`), NOT the addon id: the
|
|
85447
|
+
* collection pin `addonId` still picks the provider, `instanceId` picks the relay inside it.
|
|
85448
|
+
*/
|
|
85449
|
+
var InstanceIdSchema = zod.z.string().min(1).optional();
|
|
85450
|
+
var RelayPinSchema = zod.z.object({ instanceId: InstanceIdSchema });
|
|
85439
85451
|
var SendEmailInputSchema = zod.z.object({
|
|
85452
|
+
instanceId: InstanceIdSchema,
|
|
85440
85453
|
to: zod.z.union([EmailAddressSchema, zod.z.array(EmailAddressSchema).min(1)]),
|
|
85441
85454
|
cc: zod.z.array(EmailAddressSchema).optional(),
|
|
85442
85455
|
bcc: zod.z.array(EmailAddressSchema).optional(),
|
|
@@ -85482,12 +85495,12 @@ var smtpProviderCapability = {
|
|
|
85482
85495
|
}),
|
|
85483
85496
|
/** Round-trip ping against the SMTP relay (EHLO + AUTH if configured).
|
|
85484
85497
|
* Used by the operator's "Test connection" button. */
|
|
85485
|
-
verify: method(
|
|
85498
|
+
verify: method(RelayPinSchema, SmtpStatusSchema, {
|
|
85486
85499
|
kind: "mutation",
|
|
85487
85500
|
auth: "admin",
|
|
85488
85501
|
access: "view"
|
|
85489
85502
|
}),
|
|
85490
|
-
getStatus: method(
|
|
85503
|
+
getStatus: method(RelayPinSchema, SmtpStatusSchema, { auth: "admin" })
|
|
85491
85504
|
}
|
|
85492
85505
|
};
|
|
85493
85506
|
/**
|
|
@@ -61595,15 +61595,9 @@ var AvailableIntegrationTypeSchema = z.object({
|
|
|
61595
61595
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
61596
61596
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
61597
61597
|
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
61598
|
-
* legacy config → discovery flow.
|
|
61599
|
-
* connection as typed records (`integration-instances`, D985): no devices,
|
|
61600
|
-
* no discovery.
|
|
61598
|
+
* legacy config → discovery flow.
|
|
61601
61599
|
*/
|
|
61602
|
-
kind: z.enum([
|
|
61603
|
-
"device-adoption",
|
|
61604
|
-
"device-provider",
|
|
61605
|
-
"connection"
|
|
61606
|
-
]),
|
|
61600
|
+
kind: z.enum(["device-adoption", "device-provider"]),
|
|
61607
61601
|
/**
|
|
61608
61602
|
* For `device-adoption` addons: the broker kind to create/link
|
|
61609
61603
|
* (e.g. `home-assistant`), declared in the addon manifest. `null` for
|
|
@@ -61735,18 +61729,17 @@ var integrationsCapability = {
|
|
|
61735
61729
|
};
|
|
61736
61730
|
/**
|
|
61737
61731
|
* `integration-instances` - the connection of an addon that holds ONE or SEVERAL
|
|
61738
|
-
* (an account, a relay, a destination) as typed records,
|
|
61739
|
-
*
|
|
61732
|
+
* (an account, a relay, a destination) as typed records (D985, D986). The addon's
|
|
61733
|
+
* own function page reads and writes them (Logging for Loki); the Integrations
|
|
61734
|
+
* page lists only the integrations that bring devices (D996).
|
|
61740
61735
|
*
|
|
61741
|
-
* A collection of providers: each addon that holds connections registers one
|
|
61742
|
-
*
|
|
61743
|
-
* `addonId`. It is internal and has no route: the operator-facing surface is
|
|
61744
|
-
* the `integrations` cap, which keeps ONE list.
|
|
61736
|
+
* A collection of providers: each addon that holds connections registers one and a
|
|
61737
|
+
* caller reaches a provider with the pinned `addonId`.
|
|
61745
61738
|
*
|
|
61746
|
-
* Identity: the instance id
|
|
61747
|
-
*
|
|
61748
|
-
*
|
|
61749
|
-
* editable label.
|
|
61739
|
+
* Identity: the instance id is immutable and opaque to the caller. A record the
|
|
61740
|
+
* Loki migration made keeps the `integrations` registry id it was created under
|
|
61741
|
+
* (`int_NNNN`); a single instance made by its function page takes the addon id.
|
|
61742
|
+
* `name` is the editable label.
|
|
61750
61743
|
*
|
|
61751
61744
|
* Secrets: every field the instance kind marks `.meta({ secret: true })` reaches
|
|
61752
61745
|
* the form as a `SecretFieldView`, never text (D789). A patch value omitted, `''`
|
|
@@ -61792,25 +61785,36 @@ var integrationInstancesCapability = {
|
|
|
61792
61785
|
name: "integration-instances",
|
|
61793
61786
|
scope: "system",
|
|
61794
61787
|
mode: "collection",
|
|
61795
|
-
internal: true,
|
|
61796
61788
|
methods: {
|
|
61797
|
-
describe: method(z.void(), IntegrationInstanceDescriptionSchema),
|
|
61789
|
+
describe: method(z.void(), IntegrationInstanceDescriptionSchema, { auth: "admin" }),
|
|
61798
61790
|
/** The form; `id: null` is the create form. */
|
|
61799
|
-
instanceFormSchema: method(z.object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3),
|
|
61800
|
-
listInstances: method(z.void(), z.array(IntegrationInstanceSchema).readonly()),
|
|
61801
|
-
getInstance: method(z.object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable()),
|
|
61802
|
-
/** Insert the typed record
|
|
61791
|
+
instanceFormSchema: method(z.object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3, { auth: "admin" }),
|
|
61792
|
+
listInstances: method(z.void(), z.array(IntegrationInstanceSchema).readonly(), { auth: "admin" }),
|
|
61793
|
+
getInstance: method(z.object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable(), { auth: "admin" }),
|
|
61794
|
+
/** Insert the typed record under the given id (a duplicate id is refused). */
|
|
61803
61795
|
createInstance: method(z.object({
|
|
61804
61796
|
id: IntegrationInstanceIdSchema,
|
|
61805
61797
|
name: z.string().min(1)
|
|
61806
|
-
}), z.object({ id: z.string() }), {
|
|
61807
|
-
|
|
61798
|
+
}), z.object({ id: z.string() }), {
|
|
61799
|
+
kind: "mutation",
|
|
61800
|
+
auth: "admin"
|
|
61801
|
+
}),
|
|
61802
|
+
updateInstance: method(IntegrationInstancePatchSchema, z.object({ ok: z.literal(true) }), {
|
|
61803
|
+
kind: "mutation",
|
|
61804
|
+
auth: "admin"
|
|
61805
|
+
}),
|
|
61808
61806
|
/** Delete the record and its keychain refs together. */
|
|
61809
|
-
deleteInstance: method(z.object({ id: IntegrationInstanceIdSchema }), z.object({ ok: z.literal(true) }), {
|
|
61807
|
+
deleteInstance: method(z.object({ id: IntegrationInstanceIdSchema }), z.object({ ok: z.literal(true) }), {
|
|
61808
|
+
kind: "mutation",
|
|
61809
|
+
auth: "admin"
|
|
61810
|
+
}),
|
|
61810
61811
|
testInstance: optionalMethod(z.object({
|
|
61811
61812
|
id: IntegrationInstanceIdSchema.nullable(),
|
|
61812
61813
|
values: z.record(z.string(), z.unknown())
|
|
61813
|
-
}), TestConnectionResultSchema$1, {
|
|
61814
|
+
}), TestConnectionResultSchema$1, {
|
|
61815
|
+
kind: "mutation",
|
|
61816
|
+
auth: "admin"
|
|
61817
|
+
})
|
|
61814
61818
|
},
|
|
61815
61819
|
mount: { kind: "skip" }
|
|
61816
61820
|
};
|
|
@@ -85436,7 +85440,16 @@ var smokeCapability = {
|
|
|
85436
85440
|
* future fields without breaking the existing call sites.
|
|
85437
85441
|
*/
|
|
85438
85442
|
var EmailAddressSchema = z.email();
|
|
85443
|
+
/**
|
|
85444
|
+
* Which relay of a multi-relay provider answers (D996). Absent = the provider's first / default
|
|
85445
|
+
* relay, so a caller written before relays existed keeps working unchanged. A provider with one
|
|
85446
|
+
* fixed relay ignores it. This is the integration instance id (`int_NNNN`), NOT the addon id: the
|
|
85447
|
+
* collection pin `addonId` still picks the provider, `instanceId` picks the relay inside it.
|
|
85448
|
+
*/
|
|
85449
|
+
var InstanceIdSchema = z.string().min(1).optional();
|
|
85450
|
+
var RelayPinSchema = z.object({ instanceId: InstanceIdSchema });
|
|
85439
85451
|
var SendEmailInputSchema = z.object({
|
|
85452
|
+
instanceId: InstanceIdSchema,
|
|
85440
85453
|
to: z.union([EmailAddressSchema, z.array(EmailAddressSchema).min(1)]),
|
|
85441
85454
|
cc: z.array(EmailAddressSchema).optional(),
|
|
85442
85455
|
bcc: z.array(EmailAddressSchema).optional(),
|
|
@@ -85482,12 +85495,12 @@ var smtpProviderCapability = {
|
|
|
85482
85495
|
}),
|
|
85483
85496
|
/** Round-trip ping against the SMTP relay (EHLO + AUTH if configured).
|
|
85484
85497
|
* Used by the operator's "Test connection" button. */
|
|
85485
|
-
verify: method(
|
|
85498
|
+
verify: method(RelayPinSchema, SmtpStatusSchema, {
|
|
85486
85499
|
kind: "mutation",
|
|
85487
85500
|
auth: "admin",
|
|
85488
85501
|
access: "view"
|
|
85489
85502
|
}),
|
|
85490
|
-
getStatus: method(
|
|
85503
|
+
getStatus: method(RelayPinSchema, SmtpStatusSchema, { auth: "admin" })
|
|
85491
85504
|
}
|
|
85492
85505
|
};
|
|
85493
85506
|
/**
|
|
@@ -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-DmhOVavh.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-D8DIMgjl.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-BXWXN1Dl.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-DX_ypzVA.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 { Js as userError } from "./dist-
|
|
2
|
+
import { Js as userError } from "./dist-BvHqoBym.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-Dwec4v5Z.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-BXWXN1Dl.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-CImkiiR-.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,21 +26,21 @@ 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-
|
|
29
|
+
const require_wal_maintenance = require("./wal-maintenance-DmhOVavh.js");
|
|
30
30
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
31
31
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
32
32
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
33
33
|
require("./builtins/storage-orchestrator/index.js");
|
|
34
|
-
const require_agent_https = require("./agent-https-
|
|
35
|
-
const require_constants = require("./constants-
|
|
34
|
+
const require_agent_https = require("./agent-https-DX_ypzVA.js");
|
|
35
|
+
const require_constants = require("./constants-dJ_YPC9D.js");
|
|
36
36
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
37
37
|
require("./builtins/system-config/index.js");
|
|
38
38
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
39
39
|
const require_custom_action_registry = require("./custom-action-registry-JuMHGKEc.js");
|
|
40
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
40
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-B7wwnU92.js");
|
|
41
41
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
42
42
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
43
|
-
const require_restore_archive = require("./restore-archive-
|
|
43
|
+
const require_restore_archive = require("./restore-archive-ne_KESE9.js");
|
|
44
44
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
45
45
|
let zod = require("zod");
|
|
46
46
|
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 { $i as scopesAllowAddon, $r as logLevelAtMost, $s as errMsg$1, Ai as procedureAuthKey, Br as isVoidInput, Bs as scopeKey, E as CatalogFileSchema, Fo as ReadinessTimeoutError, Gi as resolveMethodAuth, Is as readinessKey, Jo as asNumber, Js as userError, Kr as lifecycleJobSchema, No as RUNTIME_DEFAULTS, Nr as isArrayOutputSchema, Ns as parseJsonObject, Po as ReadinessRegistry, Pr as isCollectionArrayMethod, Ps as parseJsonUnknown, Rs as resolveCapMount, Vr as kebabToCamel$1, Yo as asString$1, Ys as withoutCallerStamp, _i as objectInputDeclaresRequiredDeviceId, _o as DEVICE_SETTINGS_CONTRIBUTION_METHODS, _s as isDebugChannelName, a as AGENT_MDNS_TXT_KEYS, bt as METHOD_ACCESS_MAP, cs as defineRecordKinds, ds as expandCapMethods, ea as scopesAllowDeviceCap, ec as EventCategory$1, ei as looseSchema, gi as objectInputDeclaresAddonId, go as DATAPLANE_SECRET_HEADER$1, ho as CALLER_STAMPED_CAPABILITIES$1, hr as extractNestedAddonId, i as AGENT_MDNS_SERVICE_TYPE, kr as interpolate, ls as emitDownForOwnedCaps, o as ALL_CAPABILITY_DEFINITIONS, on as addonSettingsCapability, ps as getDebugInterest, qo as asJsonObject$1, rs as createEvent$1, ua as splitTranslationRef, va as supportedRuntimes, vo as DEVICE_STATUS_METHOD, vt as LOG_LEVEL_RANK, y as CATALOG_LANGS, zr as isObjectInput } 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 scopesAllowAddon, $r as logLevelAtMost, $s as errMsg$1, Ai as procedureAuthKey, Br as isVoidInput, Bs as scopeKey, E as CatalogFileSchema, Fo as ReadinessTimeoutError, Gi as resolveMethodAuth, Is as readinessKey, Jo as asNumber, Js as userError, Kr as lifecycleJobSchema, No as RUNTIME_DEFAULTS, Nr as isArrayOutputSchema, Ns as parseJsonObject, Po as ReadinessRegistry, Pr as isCollectionArrayMethod, Ps as parseJsonUnknown, Rs as resolveCapMount, Vr as kebabToCamel$1, Yo as asString$1, Ys as withoutCallerStamp, _i as objectInputDeclaresRequiredDeviceId, _o as DEVICE_SETTINGS_CONTRIBUTION_METHODS, _s as isDebugChannelName, a as AGENT_MDNS_TXT_KEYS, bt as METHOD_ACCESS_MAP, cs as defineRecordKinds, ds as expandCapMethods, ea as scopesAllowDeviceCap, ec as EventCategory$1, ei as looseSchema, gi as objectInputDeclaresAddonId, go as DATAPLANE_SECRET_HEADER$1, ho as CALLER_STAMPED_CAPABILITIES$1, hr as extractNestedAddonId, i as AGENT_MDNS_SERVICE_TYPE, kr as interpolate, ls as emitDownForOwnedCaps, o as ALL_CAPABILITY_DEFINITIONS, on as addonSettingsCapability, ps as getDebugInterest, qo as asJsonObject$1, rs as createEvent$1, ua as splitTranslationRef, va as supportedRuntimes, vo as DEVICE_STATUS_METHOD, vt as LOG_LEVEL_RANK, y as CATALOG_LANGS, zr as isObjectInput } from "./dist-BvHqoBym.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-BVaCxlFs.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,21 +25,21 @@ 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-
|
|
28
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-D8DIMgjl.mjs";
|
|
29
29
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
30
30
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
31
31
|
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";
|
|
32
32
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
33
|
-
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-
|
|
34
|
-
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-
|
|
33
|
+
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-Dwec4v5Z.mjs";
|
|
34
|
+
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-v7B-_yzi.mjs";
|
|
35
35
|
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";
|
|
36
36
|
import "./builtins/system-config/index.mjs";
|
|
37
37
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
38
38
|
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";
|
|
39
|
-
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-
|
|
39
|
+
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-B_ldgRYZ.mjs";
|
|
40
40
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
41
41
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
42
|
-
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-
|
|
42
|
+
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-CLfRtdYG.mjs";
|
|
43
43
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
44
44
|
import { z } from "zod";
|
|
45
45
|
import * as crypto$1 from "node:crypto";
|