@camstack/system 1.2.455 → 1.2.456
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-https-CLWrOO3o.mjs → agent-https-fm4AR8XL.mjs} +32 -5
- package/dist/{agent-https-CCvlRQKV.js → agent-https-yjxdfJDA.js} +37 -4
- package/dist/auth/auth-manager.d.ts +9 -0
- package/dist/auth/legacy-token-tables.d.ts +16 -0
- package/dist/auth/user-management-internal.d.ts +9 -28
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +2 -2
- package/dist/builtins/alerts/alerts.addon.mjs +2 -2
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/dist/builtins/calendars/calendars.addon.js +1 -1
- package/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +2 -2
- package/dist/builtins/composer/composer.addon.mjs +2 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/dist/builtins/device-history/device-history.addon.js +1 -1
- package/dist/builtins/device-history/device-history.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +1 -1
- package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/keychain/index.js +4 -4
- package/dist/builtins/keychain/index.mjs +4 -4
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/auth-schema.d.ts +4 -7
- package/dist/builtins/local-auth/local-auth.addon.d.ts +7 -8
- package/dist/builtins/local-auth/local-auth.addon.js +1086 -1329
- package/dist/builtins/local-auth/local-auth.addon.mjs +1085 -1326
- package/dist/builtins/local-auth/preferences-record-kinds.d.ts +27 -0
- package/dist/builtins/local-auth/record-kinds.d.ts +4 -3
- package/dist/builtins/local-auth/user-preferences-store.d.ts +56 -0
- package/dist/builtins/local-network/local-network.addon.d.ts +8 -0
- package/dist/builtins/local-network/local-network.addon.js +30 -5
- package/dist/builtins/local-network/local-network.addon.mjs +30 -5
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/record-entries/index.js +1 -1
- package/dist/builtins/record-entries/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/index.js +1 -1
- package/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/records/records-engine-types.d.ts +1 -0
- package/dist/builtins/sqlite-storage/records/records-provider.d.ts +13 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +52 -6
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +52 -6
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +3 -3
- package/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{composition-sources-CSzD5_qX.mjs → composition-sources-Ds0Vr6eD.mjs} +1 -1
- package/dist/{composition-sources-BxUkLNSo.js → composition-sources-gB4coDJR.js} +1 -1
- package/dist/{constants-DruwCkfp.js → constants-CavyKfHZ.js} +1 -1
- package/dist/{constants-DOlYt1t1.mjs → constants-i5oD_gLB.mjs} +1 -1
- package/dist/{device-ca-QPBgfqVY.js → device-ca-bpoEr0zG.js} +1 -1
- package/dist/{device-ca-uFbTyY_o.mjs → device-ca-qz1Pmeu1.mjs} +1 -1
- package/dist/{dist-BpSENkRJ.mjs → dist-BSF_C8W2.mjs} +216 -109
- package/dist/{dist-DjQ8C-ku.js → dist-BpqA2CT0.js} +251 -108
- package/dist/file-host-worker.js +1 -1
- package/dist/file-host-worker.mjs +1 -1
- package/dist/{hub-mdns-ciao-DlgkFJVY.mjs → hub-mdns-ciao-CHaGDzyz.mjs} +20 -13
- package/dist/{hub-mdns-ciao-Bkrvgnma.js → hub-mdns-ciao-CZlZRxxA.js} +20 -13
- package/dist/index.d.ts +2 -4
- package/dist/index.js +17 -11
- package/dist/index.mjs +17 -9
- package/dist/{phase6-declare-gate-JQUqgQgq.mjs → phase6-declare-gate-B4yfsf2n.mjs} +1 -1
- package/dist/{phase6-declare-gate-DrmTtz7F.js → phase6-declare-gate-n-IZRklX.js} +1 -1
- package/dist/{restore-archive-4OP0EYg6.js → restore-archive-B4QG7XmX.js} +1 -1
- package/dist/{restore-archive-YFSJRtKy.mjs → restore-archive-BGUM4FKf.mjs} +1 -1
- package/dist/tls/cert-issue.d.ts +16 -1
- package/dist/tls/cert-manager.d.ts +6 -0
- package/dist/tls/index.d.ts +1 -1
- package/dist/{wal-maintenance-TyuOEVy1.mjs → wal-maintenance-AerF4XE6.mjs} +0 -0
- package/dist/{wal-maintenance-Bl0ZKjVR.js → wal-maintenance-CNEs_I94.js} +0 -0
- package/package.json +1 -1
- package/dist/auth/admin-token-manager.d.ts +0 -51
- package/dist/auth/scoped-token-manager.d.ts +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as isSecretMarker, $r as BaseAddon, Bn as mayWriteToLocation, Cr as storageCapability, Fi as collectSecretConfigKeys, Ir as withLocationMode, K as LegacyStorageLocationDefaultSchema, Mn as legacyModeOf, Sa as transformSecretWrite, Ta as EventCategory, Tn as isLocationEnabled, Ui as defineRecordKinds, Un as modeMayWrite, _a as secretTreeFromPaths, _r as settingsStoreCapability, aa as normalizeNodeId, cn as evictionPolicyOfLocation, dt as StorageLocationModeSchema, ft as StorageLocationTypeSchema, gi as REDACTED_SECRET, gn as gbToBytes, ha as resolveSecretMarkers, pt as StorageMigrationJobSchema, sa as parseJsonObject, ur as resolveLocationMode, ut as StorageCleanupJobSchema, wr as storageMigrationCapability, zn as mayReadLocation } from "../../dist-BSF_C8W2.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,11 +3,11 @@ 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-BpqA2CT0.js");
|
|
7
7
|
const require_safe_buffer$1 = require("../../safe-buffer-D3aoa-7X.js");
|
|
8
8
|
const require_x509_es = require("../../x509.es-C4cOo48M.js");
|
|
9
|
-
const require_constants$8 = require("../../constants-
|
|
10
|
-
const require_agent_https = require("../../agent-https-
|
|
9
|
+
const require_constants$8 = require("../../constants-CavyKfHZ.js");
|
|
10
|
+
const require_agent_https = require("../../agent-https-yjxdfJDA.js");
|
|
11
11
|
const require_src$1 = require("../../src-CnAqG6EF.js");
|
|
12
12
|
let zod = require("zod");
|
|
13
13
|
let node_crypto = require("node:crypto");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { $r as BaseAddon, Bi as customAction, Hi as defineCustomActions, Ji as hydrateSchema, Qr as errMsg, ct as ServerNameSchema, vr as shortHostname } from "../../dist-BSF_C8W2.mjs";
|
|
3
3
|
import { t as require_safe_buffer } from "../../safe-buffer-B1OjL1I9.mjs";
|
|
4
4
|
import { c as Pkcs10CertificateRequest } from "../../x509.es-DK__ETIe.mjs";
|
|
5
|
-
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-
|
|
6
|
-
import { $ as
|
|
5
|
+
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-i5oD_gLB.mjs";
|
|
6
|
+
import { $ as generateMeshCa, B as setProcessAgentHttpsNames, H as MESH_NODE_CERTIFICATES_COLLECTION, I as AGENT_HTTPS_NAMES_COLLECTION, J as setProcessMeshCertificateRegistry, K as describeMeshLeaf, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, Q as exportMeshPrivateKeyPem, R as AgentHttpsNames, U as MESH_NODE_CERTIFICATES_COLUMNS, V as systemConfigRecordKinds, W as MeshCertificateRegistry, X as caFingerprintCompact, Z as createMeshCsrPem, at as subjectCn, et as generateMeshKeyPair, it as loadMeshCa, nt as issueMeshLeafForNode, rt as issueMeshLeafFromCsr, tt as isValidAgentNodeId, u as isPrivateAddress, z as getProcessAgentHttpsNames } from "../../agent-https-fm4AR8XL.mjs";
|
|
7
7
|
import { t as require_src } from "../../src-hG4grMU4.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, randomInt, sign, timingSafeEqual, verify, webcrypto } from "node:crypto";
|
|
@@ -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-BpqA2CT0.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_chunk.__toESM(node_path);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as BaseAddon, In as logDestinationCapability } from "../../dist-BSF_C8W2.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gr as compositionSourceKey, Qr as errMsg } from "./dist-BSF_C8W2.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/composition-sources.ts
|
|
3
3
|
/**
|
|
4
4
|
* Describe what a composition reads and writes for SAVE-time validation
|
|
@@ -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-BpqA2CT0.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as DEVICE_SAN_USER_PREFIX, Pi as buildSecretRef, k as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-BSF_C8W2.mjs";
|
|
2
2
|
import { S as backdatedNotBefore, 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-DK__ETIe.mjs";
|
|
3
3
|
import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
|
|
4
4
|
//#region src/auth/jwt-signing-key.ts
|
|
@@ -745,7 +745,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
745
745
|
return EventCategory;
|
|
746
746
|
}({});
|
|
747
747
|
//#endregion
|
|
748
|
-
//#region ../types/dist/sleep-
|
|
748
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
749
749
|
/**
|
|
750
750
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
751
751
|
* window to float samples (D455).
|
|
@@ -3258,9 +3258,9 @@ function normalizeAddonInitResult(result) {
|
|
|
3258
3258
|
*/
|
|
3259
3259
|
var DATAPLANE_SECRET_HEADER = "x-camstack-dataplane-secret";
|
|
3260
3260
|
/**
|
|
3261
|
-
* The share-view scope kinds a
|
|
3262
|
-
* and validates them (`
|
|
3263
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
3261
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
3262
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
3263
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
3264
3264
|
*/
|
|
3265
3265
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
3266
3266
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -10420,7 +10420,7 @@ function scopesAllowAddon(scopes, addonId, access) {
|
|
|
10420
10420
|
* `super_admin` — collapsed onto the single boolean because every
|
|
10421
10421
|
* non-admin caller is governed by the same scope-check rules; the
|
|
10422
10422
|
* distinction was only ever used to route role-specific procedures
|
|
10423
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
10423
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
10424
10424
|
* with `isAdmin: false` + an explicit scope list.
|
|
10425
10425
|
*/
|
|
10426
10426
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -10609,24 +10609,117 @@ var AddonRoutesScopeSchema = z.object({
|
|
|
10609
10609
|
type: z.literal("addon-routes"),
|
|
10610
10610
|
access: z.array(MethodAccessSchema).min(1)
|
|
10611
10611
|
});
|
|
10612
|
+
var PreferencesSelfScopeSchema = z.object({ type: z.literal("preferences-self") });
|
|
10612
10613
|
var CredentialScopeSchema = z.union([
|
|
10613
10614
|
z.literal("*"),
|
|
10614
10615
|
ShareViewScopeSchema,
|
|
10615
10616
|
AddonRoutesScopeSchema,
|
|
10617
|
+
PreferencesSelfScopeSchema,
|
|
10616
10618
|
TokenScopeSchema
|
|
10617
10619
|
]);
|
|
10618
10620
|
/**
|
|
10621
|
+
* The `kind` claim of a unified token. It names the TOKEN FAMILY (so every
|
|
10622
|
+
* older gate that classifies a hub JWT refuses it — `classifyBearerPrincipal`
|
|
10623
|
+
* treats any `kind` it does not know as not-a-credential), never what the
|
|
10624
|
+
* token may do: that is its `scopes`, and only its `scopes`.
|
|
10625
|
+
*/
|
|
10626
|
+
var CREDENTIAL_TOKEN_KIND = "credential";
|
|
10627
|
+
/**
|
|
10628
|
+
* The `aud` claim every minted token is signed with (D895). The hub's raw JWT
|
|
10629
|
+
* verify (`AuthManager.verifyToken`, used by every surface that wants a LOGIN
|
|
10630
|
+
* session — the OAuth consent page, the session cookie, health, backups)
|
|
10631
|
+
* refuses a token carrying it, so a minted token — a share link above all —
|
|
10632
|
+
* can never be replayed as a person's session. Only the credential verifier's
|
|
10633
|
+
* own door (`verifyCredentialToken`) accepts it.
|
|
10634
|
+
*/
|
|
10635
|
+
var CREDENTIAL_TOKEN_AUDIENCE = "camstack:credential";
|
|
10636
|
+
/** Does a verified JWT payload belong to the minted-token family? */
|
|
10637
|
+
function isCredentialTokenPayload(payload) {
|
|
10638
|
+
if (payload === null || typeof payload !== "object") return false;
|
|
10639
|
+
const kind = Reflect.get(payload, "kind");
|
|
10640
|
+
const aud = Reflect.get(payload, "aud");
|
|
10641
|
+
return kind === "credential" || aud === "camstack:credential" || Array.isArray(aud) && aud.includes("camstack:credential");
|
|
10642
|
+
}
|
|
10643
|
+
/**
|
|
10619
10644
|
* The claims of a unified token (`auth.mintToken`). It carries no `exp`: its
|
|
10620
10645
|
* row (looked up by `jti` on every verify, for revocation) holds the ONE
|
|
10621
10646
|
* expiry, so a share link can be extended and a JWT clock can never disagree
|
|
10622
10647
|
* with the row.
|
|
10623
10648
|
*/
|
|
10624
10649
|
var CredentialTokenClaimsSchema = z.object({
|
|
10625
|
-
kind: z.literal(
|
|
10650
|
+
kind: z.literal(CREDENTIAL_TOKEN_KIND),
|
|
10626
10651
|
sub: z.string().min(1),
|
|
10627
10652
|
jti: z.string().min(16),
|
|
10628
10653
|
scopes: z.array(CredentialScopeSchema).min(1)
|
|
10629
10654
|
});
|
|
10655
|
+
/**
|
|
10656
|
+
* Per-user ACCOUNT preferences (D894): the hub-side half of the viewer's two
|
|
10657
|
+
* settings levels.
|
|
10658
|
+
*
|
|
10659
|
+
* - DEVICE settings never leave the phone.
|
|
10660
|
+
* - ACCOUNT settings live here: one row per `(user, namespace)`, private to
|
|
10661
|
+
* that user, synced across every device signed in as them, last write wins
|
|
10662
|
+
* unless the writer sends the revision it based its edit on.
|
|
10663
|
+
*
|
|
10664
|
+
* A setting lives in exactly ONE level; there are no overrides. The caller
|
|
10665
|
+
* never names a user: the hub stamps the principal's own id, admin included.
|
|
10666
|
+
*
|
|
10667
|
+
* The contract the client codes against is the `preferences.*` tRPC router
|
|
10668
|
+
* (`server/backend/src/api/core/preferences.router.ts`).
|
|
10669
|
+
*/
|
|
10670
|
+
/** `viewer.app`, `viewer.cameras`, `viewer.grids` … — lowercase, dot/dash separated. */
|
|
10671
|
+
var PREFERENCES_NAMESPACE_PATTERN = /^[a-z][a-z0-9.-]{0,63}$/;
|
|
10672
|
+
/** One row's value, measured as UTF-8 JSON. */
|
|
10673
|
+
var PREFERENCES_MAX_VALUE_BYTES = 256 * 1024;
|
|
10674
|
+
var PreferenceNamespaceSchema = z.string().regex(PREFERENCES_NAMESPACE_PATTERN);
|
|
10675
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
10676
|
+
var PreferenceValueSchema = z.record(z.string(), z.unknown());
|
|
10677
|
+
var PreferenceDeviceIdSchema = z.string().min(1).max(64);
|
|
10678
|
+
/** A stored row, as the owner reads it. */
|
|
10679
|
+
var PreferenceRowSchema = z.object({
|
|
10680
|
+
namespace: PreferenceNamespaceSchema,
|
|
10681
|
+
value: PreferenceValueSchema,
|
|
10682
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
10683
|
+
revision: z.number().int().positive(),
|
|
10684
|
+
updatedAt: z.number().int(),
|
|
10685
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
10686
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
10687
|
+
});
|
|
10688
|
+
z.object({
|
|
10689
|
+
/** Absent: every namespace the caller holds. */
|
|
10690
|
+
namespaces: z.array(PreferenceNamespaceSchema).max(32).optional() });
|
|
10691
|
+
z.object({ rows: z.array(PreferenceRowSchema) });
|
|
10692
|
+
z.object({
|
|
10693
|
+
namespace: PreferenceNamespaceSchema,
|
|
10694
|
+
value: PreferenceValueSchema,
|
|
10695
|
+
/**
|
|
10696
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
10697
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
10698
|
+
* revision answers `conflict` and writes nothing.
|
|
10699
|
+
*/
|
|
10700
|
+
baseRevision: z.number().int().nonnegative().optional(),
|
|
10701
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
10702
|
+
});
|
|
10703
|
+
z.discriminatedUnion("status", [z.object({
|
|
10704
|
+
status: z.literal("saved"),
|
|
10705
|
+
row: PreferenceRowSchema
|
|
10706
|
+
}), z.object({
|
|
10707
|
+
status: z.literal("conflict"),
|
|
10708
|
+
current: PreferenceRowSchema.nullable()
|
|
10709
|
+
})]);
|
|
10710
|
+
z.object({ namespace: PreferenceNamespaceSchema });
|
|
10711
|
+
z.object({
|
|
10712
|
+
/** `false` when the namespace did not exist. */
|
|
10713
|
+
deleted: z.boolean() });
|
|
10714
|
+
z.object({
|
|
10715
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
10716
|
+
revisionByNamespace: z.record(PreferenceNamespaceSchema, z.number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
10717
|
+
z.object({
|
|
10718
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
10719
|
+
rows: z.array(PreferenceRowSchema),
|
|
10720
|
+
/** Namespaces the client listed that no longer exist. */
|
|
10721
|
+
deleted: z.array(PreferenceNamespaceSchema)
|
|
10722
|
+
});
|
|
10630
10723
|
z.enum(["new-session", "step-up"]);
|
|
10631
10724
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
10632
10725
|
var AppPageLangSchema = z.enum(["en", "it"]);
|
|
@@ -42223,38 +42316,37 @@ var llmRuntimeCapability = {
|
|
|
42223
42316
|
})
|
|
42224
42317
|
}
|
|
42225
42318
|
};
|
|
42319
|
+
var LlmProfileKindSchema = z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
42320
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
42321
|
+
var LlmModelFeaturesSchema = z.object({
|
|
42322
|
+
vision: z.boolean(),
|
|
42323
|
+
tools: z.boolean(),
|
|
42324
|
+
streaming: z.boolean()
|
|
42325
|
+
});
|
|
42326
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
42327
|
+
var LlmModelInfoSchema = z.object({
|
|
42328
|
+
id: z.string(),
|
|
42329
|
+
label: z.string().optional(),
|
|
42330
|
+
contextLength: z.number().int().positive().optional(),
|
|
42331
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
42332
|
+
});
|
|
42226
42333
|
/**
|
|
42227
|
-
*
|
|
42228
|
-
*
|
|
42229
|
-
*
|
|
42230
|
-
*
|
|
42231
|
-
|
|
42232
|
-
|
|
42233
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
42234
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
42235
|
-
* write; a stored key NEVER round-trips to a client.
|
|
42236
|
-
*/
|
|
42237
|
-
var LlmProfileKindSchema = z.enum([
|
|
42238
|
-
"openai-compatible",
|
|
42239
|
-
"openai",
|
|
42240
|
-
"anthropic",
|
|
42241
|
-
"google",
|
|
42242
|
-
"managed-local",
|
|
42243
|
-
"apple-foundation"
|
|
42244
|
-
]);
|
|
42334
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
42335
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
42336
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
42337
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
42338
|
+
*/
|
|
42339
|
+
var LlmProviderConfigSchema = z.record(z.string(), z.unknown());
|
|
42245
42340
|
var LlmProfileSchema = z.object({
|
|
42246
42341
|
id: z.string(),
|
|
42247
42342
|
name: z.string(),
|
|
42343
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
42248
42344
|
kind: LlmProfileKindSchema,
|
|
42249
42345
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
42250
42346
|
addonId: z.string(),
|
|
42251
42347
|
enabled: z.boolean(),
|
|
42252
42348
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
42253
42349
|
model: z.string(),
|
|
42254
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
42255
|
-
baseUrl: z.string().optional(),
|
|
42256
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
42257
|
-
apiKey: z.string().optional(),
|
|
42258
42350
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
42259
42351
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
42260
42352
|
* question about a picture nobody sent. */
|
|
@@ -42262,15 +42354,11 @@ var LlmProfileSchema = z.object({
|
|
|
42262
42354
|
temperature: z.number().min(0).max(2).optional(),
|
|
42263
42355
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
42264
42356
|
topP: z.number().min(0).max(1).optional(),
|
|
42265
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
42266
|
-
*
|
|
42267
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
42268
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
42357
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
42358
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
42269
42359
|
topK: z.number().int().positive().optional(),
|
|
42270
42360
|
maxTokens: z.number().int().positive().optional(),
|
|
42271
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
42272
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
42273
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
42361
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
42274
42362
|
contextLength: z.number().int().positive().optional(),
|
|
42275
42363
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
42276
42364
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -42296,16 +42384,37 @@ var LlmProfileSchema = z.object({
|
|
|
42296
42384
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
42297
42385
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
42298
42386
|
toolsEnabled: z.boolean().default(false),
|
|
42299
|
-
|
|
42300
|
-
|
|
42301
|
-
|
|
42302
|
-
|
|
42303
|
-
|
|
42304
|
-
|
|
42305
|
-
|
|
42306
|
-
|
|
42307
|
-
|
|
42308
|
-
|
|
42387
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
42388
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
42389
|
+
});
|
|
42390
|
+
/**
|
|
42391
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
42392
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
42393
|
+
*/
|
|
42394
|
+
var LlmProfileFieldSchema = z.enum([
|
|
42395
|
+
"temperature",
|
|
42396
|
+
"topP",
|
|
42397
|
+
"topK",
|
|
42398
|
+
"maxTokens",
|
|
42399
|
+
"contextLength",
|
|
42400
|
+
"systemPrompt",
|
|
42401
|
+
"timeoutMs",
|
|
42402
|
+
"connectTimeoutMs",
|
|
42403
|
+
"firstTokenTimeoutMs",
|
|
42404
|
+
"idleTimeoutMs",
|
|
42405
|
+
"retry",
|
|
42406
|
+
"toolsEnabled"
|
|
42407
|
+
]);
|
|
42408
|
+
/**
|
|
42409
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
42410
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
42411
|
+
* picker: that widget owns the model choice.
|
|
42412
|
+
*/
|
|
42413
|
+
var LlmProviderWidgetSchema = z.object({
|
|
42414
|
+
id: z.string(),
|
|
42415
|
+
placement: z.enum(["connection", "model"]),
|
|
42416
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
42417
|
+
requires: z.array(z.string()).optional()
|
|
42309
42418
|
});
|
|
42310
42419
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
42311
42420
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -42314,11 +42423,56 @@ var ConfigSchemaPassthrough$3 = z.unknown();
|
|
|
42314
42423
|
var LlmProfileKindDescriptorSchema = z.object({
|
|
42315
42424
|
kind: LlmProfileKindSchema,
|
|
42316
42425
|
label: z.string(),
|
|
42426
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
42317
42427
|
icon: z.string(),
|
|
42318
42428
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
42319
42429
|
addonId: z.string(),
|
|
42320
|
-
|
|
42430
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
42431
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
42432
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
42433
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
42434
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
42435
|
+
features: LlmModelFeaturesSchema,
|
|
42436
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
42437
|
+
visionEditable: z.boolean(),
|
|
42438
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
42439
|
+
modelCatalog: z.enum([
|
|
42440
|
+
"fetch",
|
|
42441
|
+
"static",
|
|
42442
|
+
"none"
|
|
42443
|
+
]),
|
|
42444
|
+
staticModels: z.array(LlmModelInfoSchema).optional(),
|
|
42445
|
+
/** The common fields that mean something on this kind's wire. */
|
|
42446
|
+
profileFields: z.array(LlmProfileFieldSchema),
|
|
42447
|
+
providerWidgets: z.array(LlmProviderWidgetSchema).optional()
|
|
42448
|
+
});
|
|
42449
|
+
/**
|
|
42450
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
42451
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
42452
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
42453
|
+
* stored profile — the browser never receives it.
|
|
42454
|
+
*/
|
|
42455
|
+
var LlmListModelsInputSchema = z.object({
|
|
42456
|
+
addonId: z.string(),
|
|
42457
|
+
kind: LlmProfileKindSchema,
|
|
42458
|
+
profileId: z.string().optional(),
|
|
42459
|
+
connection: LlmProviderConfigSchema.optional()
|
|
42321
42460
|
});
|
|
42461
|
+
var LlmListModelsErrorCodeSchema = z.enum([
|
|
42462
|
+
"auth",
|
|
42463
|
+
"network",
|
|
42464
|
+
"unsupported",
|
|
42465
|
+
"invalid"
|
|
42466
|
+
]);
|
|
42467
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
42468
|
+
var LlmListModelsResultSchema = z.discriminatedUnion("ok", [z.object({
|
|
42469
|
+
ok: z.literal(true),
|
|
42470
|
+
models: z.array(LlmModelInfoSchema)
|
|
42471
|
+
}), z.object({
|
|
42472
|
+
ok: z.literal(false),
|
|
42473
|
+
code: LlmListModelsErrorCodeSchema,
|
|
42474
|
+
message: z.string()
|
|
42475
|
+
})]);
|
|
42322
42476
|
var LlmDefaultSelectorSchema = z.union([z.object({ consumer: z.string() }), z.object({ purpose: z.enum(["text", "vision"]) })]);
|
|
42323
42477
|
var LlmDefaultSchema = z.object({
|
|
42324
42478
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -42449,8 +42603,17 @@ var llmCapability = {
|
|
|
42449
42603
|
auth: "admin",
|
|
42450
42604
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
42451
42605
|
}),
|
|
42452
|
-
/**
|
|
42453
|
-
|
|
42606
|
+
/**
|
|
42607
|
+
* The models a kind offers, for a SAVED profile or an unsaved draft
|
|
42608
|
+
* (`connection`). A mutation, not a query: a draft may carry a key, and a
|
|
42609
|
+
* query's input travels in the URL. Admin: it dials whatever endpoint the
|
|
42610
|
+
* draft names and may resolve a stored key to do it. The answer never
|
|
42611
|
+
* carries a secret — failures are a typed result, never a throw.
|
|
42612
|
+
*/
|
|
42613
|
+
listModels: method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
42614
|
+
kind: "mutation",
|
|
42615
|
+
auth: "admin"
|
|
42616
|
+
}),
|
|
42454
42617
|
getDefaults: method(z.object({}), z.array(LlmDefaultSchema)),
|
|
42455
42618
|
setDefault: method(z.object({
|
|
42456
42619
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -71343,26 +71506,6 @@ var ApiKeySummarySchema = z.object({
|
|
|
71343
71506
|
createdAt: z.number(),
|
|
71344
71507
|
lastUsedAt: z.number().optional()
|
|
71345
71508
|
});
|
|
71346
|
-
var ScopedTokenSummarySchema = z.object({
|
|
71347
|
-
id: z.string(),
|
|
71348
|
-
userId: z.string(),
|
|
71349
|
-
name: z.string(),
|
|
71350
|
-
tokenPrefix: z.string(),
|
|
71351
|
-
scopes: z.array(TokenScopeSchema),
|
|
71352
|
-
expiresAt: z.number().nullish(),
|
|
71353
|
-
lastUsedAt: z.number().nullish(),
|
|
71354
|
-
createdAt: z.number()
|
|
71355
|
-
});
|
|
71356
|
-
var CreateScopedTokenInputSchema = z.object({
|
|
71357
|
-
userId: z.string(),
|
|
71358
|
-
name: z.string(),
|
|
71359
|
-
scopes: z.array(TokenScopeSchema),
|
|
71360
|
-
expiresAt: z.number().optional()
|
|
71361
|
-
});
|
|
71362
|
-
var CreateScopedTokenResultSchema = z.object({
|
|
71363
|
-
token: z.string(),
|
|
71364
|
-
record: ScopedTokenSummarySchema
|
|
71365
|
-
});
|
|
71366
71509
|
var OauthSessionSummarySchema = z.object({
|
|
71367
71510
|
id: z.string(),
|
|
71368
71511
|
userId: z.string(),
|
|
@@ -71384,11 +71527,11 @@ var TotpStatusSchema = z.object({
|
|
|
71384
71527
|
confirmedAt: z.number().nullable()
|
|
71385
71528
|
});
|
|
71386
71529
|
/**
|
|
71387
|
-
* user-management — singleton capability for user accounts
|
|
71388
|
-
*
|
|
71530
|
+
* user-management — singleton capability for user accounts and the
|
|
71531
|
+
* legacy API-key rows.
|
|
71389
71532
|
*
|
|
71390
71533
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
71391
|
-
* — the subset check on `setUserScopes`
|
|
71534
|
+
* — the subset check on `setUserScopes` is moot
|
|
71392
71535
|
* because non-admins never reach these. If/when we open non-admin
|
|
71393
71536
|
* delegation, structural caller-scope subset check goes inside the
|
|
71394
71537
|
* provider.
|
|
@@ -71459,18 +71602,6 @@ var userManagementCapability = {
|
|
|
71459
71602
|
auth: "admin",
|
|
71460
71603
|
access: "delete"
|
|
71461
71604
|
}),
|
|
71462
|
-
createScopedToken: method(CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, {
|
|
71463
|
-
kind: "mutation",
|
|
71464
|
-
auth: "admin",
|
|
71465
|
-
access: "create"
|
|
71466
|
-
}),
|
|
71467
|
-
revokeScopedToken: method(z.object({ id: z.string() }), z.object({ success: z.literal(true) }), {
|
|
71468
|
-
kind: "mutation",
|
|
71469
|
-
auth: "admin",
|
|
71470
|
-
access: "delete"
|
|
71471
|
-
}),
|
|
71472
|
-
validateScopedToken: method(z.object({ token: z.string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }),
|
|
71473
|
-
listScopedTokens: method(z.object({ userId: z.string() }), z.array(ScopedTokenSummarySchema), { auth: "admin" }),
|
|
71474
71605
|
setupTotp: method(z.object({ userId: z.string() }), TotpSetupResultSchema, {
|
|
71475
71606
|
kind: "mutation",
|
|
71476
71607
|
auth: "admin",
|
|
@@ -77959,7 +78090,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
77959
78090
|
capName: "llm",
|
|
77960
78091
|
capScope: "system",
|
|
77961
78092
|
addonId: null,
|
|
77962
|
-
access: "
|
|
78093
|
+
access: "create"
|
|
77963
78094
|
},
|
|
77964
78095
|
"llm.listNodeModels": {
|
|
77965
78096
|
capName: "llm",
|
|
@@ -82623,12 +82754,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
82623
82754
|
addonId: null,
|
|
82624
82755
|
access: "create"
|
|
82625
82756
|
},
|
|
82626
|
-
"userManagement.createScopedToken": {
|
|
82627
|
-
capName: "user-management",
|
|
82628
|
-
capScope: "system",
|
|
82629
|
-
addonId: null,
|
|
82630
|
-
access: "create"
|
|
82631
|
-
},
|
|
82632
82757
|
"userManagement.createUser": {
|
|
82633
82758
|
capName: "user-management",
|
|
82634
82759
|
capScope: "system",
|
|
@@ -82677,12 +82802,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
82677
82802
|
addonId: null,
|
|
82678
82803
|
access: "view"
|
|
82679
82804
|
},
|
|
82680
|
-
"userManagement.listScopedTokens": {
|
|
82681
|
-
capName: "user-management",
|
|
82682
|
-
capScope: "system",
|
|
82683
|
-
addonId: null,
|
|
82684
|
-
access: "view"
|
|
82685
|
-
},
|
|
82686
82805
|
"userManagement.listUsers": {
|
|
82687
82806
|
capName: "user-management",
|
|
82688
82807
|
capScope: "system",
|
|
@@ -82737,12 +82856,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
82737
82856
|
addonId: null,
|
|
82738
82857
|
access: "delete"
|
|
82739
82858
|
},
|
|
82740
|
-
"userManagement.revokeScopedToken": {
|
|
82741
|
-
capName: "user-management",
|
|
82742
|
-
capScope: "system",
|
|
82743
|
-
addonId: null,
|
|
82744
|
-
access: "delete"
|
|
82745
|
-
},
|
|
82746
82859
|
"userManagement.setupTotp": {
|
|
82747
82860
|
capName: "user-management",
|
|
82748
82861
|
capScope: "system",
|
|
@@ -82773,12 +82886,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
82773
82886
|
addonId: null,
|
|
82774
82887
|
access: "view"
|
|
82775
82888
|
},
|
|
82776
|
-
"userManagement.validateScopedToken": {
|
|
82777
|
-
capName: "user-management",
|
|
82778
|
-
capScope: "system",
|
|
82779
|
-
addonId: null,
|
|
82780
|
-
access: "view"
|
|
82781
|
-
},
|
|
82782
82889
|
"userManagement.verifyTotp": {
|
|
82783
82890
|
capName: "user-management",
|
|
82784
82891
|
capScope: "system",
|
|
@@ -88363,4 +88470,4 @@ function armRemovalReconcile(opts) {
|
|
|
88363
88470
|
return () => clearInterval(timer);
|
|
88364
88471
|
}
|
|
88365
88472
|
//#endregion
|
|
88366
|
-
export {
|
|
88473
|
+
export { PreferenceNamespaceSchema as $, isSecretMarker as $i, procedureAuthKey as $n, BaseAddon as $r, deviceHistoryCapability as $t, DEVICE_SAN_USER_PREFIX as A, asJsonObject as Ai, keychainCapability as An, userManagementCapability as Ar, buildStreamParamsConfigSchema as At, HUB_MDNS_SERVICE_TYPE as B, customAction as Bi, mayWriteToLocation as Bn, composedDeviceRef as Br, coreBlockIdFromAddonId as Bt, DATABASE_SNAPSHOT_TIMEOUT_MS as C, userError as Ca, RecordTooLargeError as Ci, isCredentialTokenPayload as Cn, storageCapability as Cr, authProviderCapability as Ct, DEVICE_ENROLLMENT_TTL_MS as D, UnindexedFilterError as Di, isVoidInput as Dn, streamCatalogCapability as Dr, buildCapabilityLookup as Dt, DERIVED_CAMERA_SILENCED_CAP_NAMES as E, SECRET_CLEAR as Ei, isObjectInput as En, storageProviderCapability as Er, batteryCapability as Et, DeviceTombstoneSchema as F, collectSecretConfigKeys as Fi, locationIconKey as Fn, vectorStoreCapability as Fr, composerCapability as Ft, LOG_LEVEL_RANK as G, emitReadiness as Gi, normalizeCoreBlockWrite as Gn, compositionSourceKey as Gr, databaseSnapshotCapability as Gt, KEYCHAIN_RESET_TRIGGER_ACTOR as H, defineCustomActions as Hi, metricsProviderCapability as Hn, compositionFeatureEnabled as Hr, coreBlocksCapability as Ht, FIRST_LEVEL_MACRO_CLASSES as I, collectSecretLeaves as Ii, logDestinationCapability as In, withLocationMode as Ir, compositionFieldKey as It, MINUTES_PER_DAY as J, hydrateSchema as Ji, objectInputDeclaresRequiredDeviceId as Jn, toExpressionValue as Jr, defineExtensionSlotProvider as Jt, LegacyStorageLocationDefaultSchema as K, expandCapMethods as Ki, normalizeUnit as Kn, createStatefulExpressionMemory as Kr, declarationOwnerNodeId as Kt, FieldClaimModeSchema as L, collectSecretMarkerRefs as Li, logLevelAtMost as Ln, COMPOSER_ADDON_ID as Lr, compositionSourceRefs as Lt, DataStoreDatabaseSchema as M, asString$1 as Mi, legacyModeOf as Mn, validateCustomAddress as Mr, cameraGridLayoutCapability as Mt, DeclaredDevices as N, assertValidDeclaration as Ni, lifecycleJobSchema as Nn, vectorDimFromBase64 as Nr, canonicalIconKey as Nt, DEVICE_NONCE_TTL_MS as O, UnknownRecordKindError as Oi, kebabToCamel as On, streamQualityLabel as Or, buildDeviceEnrollmentLink as Ot, DeviceStatusSchema as P, buildSecretRef as Pi, localNetworkCapability as Pn, vectorIndexDimConflictError as Pr, checkRoleAddress as Pt, PreferenceDeviceIdSchema as Q, isSecretClear as Qi, platformProbeCapability as Qn, errMsg as Qr, deviceExtensionCapability as Qt, FieldClaimSchema as R, collectZodSecretPaths as Ri, looseSchema as Rn, buildFfmpegArgs as Rr, coreBlockAddonId as Rt, DATABASE_SNAPSHOT_SUFFIX as S, transformSecretWrite as Sa, RecordNotFoundError as Si, isCollectionArrayMethod as Sn, storageAdminCapability as Sr, armRemovalReconcile as St, DAY_NAMES as T, EventCategory as Ta, RevConflictError as Ti, isLocationEnabled as Tn, storageOccupancyCapability as Tr, bareAddonId as Tt, KeychainAuditEntrySchema as U, defineRecordKinds as Ui, modeMayWrite as Un, compositionItemFieldPath as Ur, createDeviceExtensionProvider as Ut, HUB_MDNS_TXT_KEYS as V, declarationsOf as Vi, memoizePinnedFfmpeg as Vn, composedDeviceStableId as Vr, coreBlockSourceKind as Vt, KeychainResetRecordSchema as W, emitDownForOwnedCaps as Wi, motionCapability as Wn, compositionSliceKey as Wr, dataStoreProviderCapability as Wt, NetworkTunnelStartedDataSchema as X, isEvent as Xi, pickAppLinkHub as Xn, DeviceRole as Xr, describeComposableCaps as Xt, MOTION_CLOSE_AFTER_MS as Y, isDeviceConfigCap as Yi, parseStreamParamsFormPatch as Yn, DeviceFeature as Yr, deriveBatteryPresence as Yt, PREFERENCES_MAX_VALUE_BYTES as Z, isKeychainStoredField as Zi, planComposition as Zn, DeviceType as Zr, deviceCredentialsCapability as Zt, CalendarPreferencesSchema as _, secretTreeFromPaths as _a, REMOVE_LEAF as _i, interpolate as _n, settingsStoreCapability as _r, addonSettingsCapability as _t, ApiKeyRecordSchema as a, normalizeNodeId as aa, DeclarationRefusedError as ai, enumerateItemArrayFields as an, resolveAppConnections as ar, STORAGE_ADMIN_SCOPED_BASES as at, CredentialTokenClaimsSchema as b, toNodeId as ba, ReadinessTimeoutError as bi, isAppLinkBase as bn, snapshotCapability as br, alertEpisodePayload as bt, CAMERA_SWITCH_ORDER as c, parseJsonUnknown as ca, HISTORY_DEFAULT_MIN_INTERVAL_MS as ci, evictionPolicyOfLocation as cn, resolveCoreBlockFiles as cr, ServerNameSchema as ct, CATALOG_LANGS as d, parseSettingsBrokersAdoptsFrom as da, PlaintextSecretError as di, extractNestedAddonId as dn, resolveMethodAuth as dr, StorageLocationModeSchema as dt, isSecretMarkerLike as ea, BatchTooLargeError as ei, deviceManagerCapability as en, ptzAutotrackCapability as er, PreferenceValueSchema as et, COMPOSED_ITEM_FIXED_FIELDS as f, readinessKey as fa, RECORD_BATCH_MAX as fi, filesystemBrowseCapability as fn, resolveNotificationTapAddress as fr, StorageLocationTypeSchema as ft, CREDENTIAL_TOKEN_AUDIENCE as g, scopeKey as ga, REDACTED_SECRET as gi, gbToBytes as gn, scoreRuntimes as gr, addonPagesCapability as gt, CORE_BLOCK_ADDON_PREFIX as h, resolveSecretMarkers as ha, RECORD_SWEEP_INTERVAL_MS as hi, formatMinutes as hn, scopesAllowDeviceCap as hr, UserRecordSchema as ht, AlertSchema as i, nodePin as ia, DEVICE_STATUS_METHOD as ii, enumerateInferenceDevices as in, replacedFieldKeys as ir, STORAGE_ADMIN_MOVED_COLLECTIONS as it, DEVICE_TOMBSTONE_RETENTION_MS as j, asNumber as ji, legacyAutoLinkIds as jn, validateComposition as jr, calendarsCapability as jt, DEVICE_SAN_CREDENTIAL_PREFIX as k, WELL_KNOWN_TAB_MAP as ki, keychainAdminCapability as kn, supportedRuntimes as kr, buildDeviceSignatureMessage as kt, CAMSTACK_APP_LINK_ORIGIN as l, parseSecretRef as la, InvalidRecordError as li, expandContainer as ln, resolveHubAddressRoles as lr, SsoBridgeClaimsSchema as lt, CORE_BLOCKS_ADDON_ID as m, resolveCapMount as ma, RECORD_DELETE_BATCH as mi, formatDeviceRevoker as mn, scopesAllowAddon as mr, TokenScopeSchema as mt, AGENT_MDNS_TXT_KEYS as n, makeSecretMarker as na, DATAPLANE_SECRET_HEADER as ni, deviceStateCapability as nn, recordsCapability as nr, RecordingStatusSchema as nt, BaseDevice as o, normalizeSecretOwner as oa, FilterRequiredError as oi, enumerateSchemaFields as on, resolveBucketMs as or, STREAM_PROFILE_META as ot, COMPOSER_RUNNER_ID as p, recordSecretRef as pa, RECORD_BATCH_MAX_BYTES as pi, foldSnapshotByFunction as pn, runtimeStatePolicyFor as pr, StorageMigrationJobSchema as pt, METHOD_ACCESS_MAP as q, formatSecretScope as qi, objectInputDeclaresAddonId as qn, disarmRoseMemory as qr, decodeVectorBase64 as qt, ALL_CAPABILITY_DEFINITIONS as r, mapSecretLeaves as ra, DEVICE_SETTINGS_CONTRIBUTION_METHODS as ri, deviceStatusCapability as rn, reducePoints as rr, STORAGE_ACCESS_FALLBACK as rt, BatteryStatusSchema as s, parseJsonObject as sa, ForeignSecretMarkerError as si, evaluateCompositionField as sn, resolveCoreBlockEntry as sr, ScopedTokenSchema as st, AGENT_MDNS_SERVICE_TYPE as t, isSecretRefOwnedBy as ta, CALLER_STAMPED_CAPABILITIES as ti, deviceRemovalHookCapability as tn, recordEntriesCapability as tr, RECORDING_SOURCE_CAMSTACK_ADDON as tt, CAP_NAMES_WITH_STATUS as u, parseSettingsArrayAdoptsFrom as ua, NoCallerError as ui, expressionContainsBuiltinCall as un, resolveLocationMode as ur, StorageCleanupJobSchema as ut, CatalogFileSchema as v, secretTreeFromSchema as va, RUNTIME_DEFAULTS as vi, isAlertEpisodeOpen as vn, shortHostname as vr, addonWidgetsCapability as vt, DATA_STORE_DATABASES as w, withoutCallerStamp as wa, RecordUniqueViolationError as wi, isDefaultAppConnectionEndpoint as wn, storageMigrationCapability as wr, backupCapability as wt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as x, toSecretFieldView as xa, RecordKindDeclarationSchema as xi, isArrayOutputSchema as xn, splitTranslationRef as xr, alertsCapability as xt, CoreBlockSchema as y, sleep as ya, ReadinessRegistry as yi, isAlertEpisodeSeverity as yn, siteZoneKey as yr, alertEpisodeId as yt, HISTORY_CATALOG as z, createEvent as zi, mayReadLocation as zn, cloneStatefulExpressionMemory as zr, coreBlockComposition as zt };
|