@camstack/server 1.2.739 → 1.2.741
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/dist/api/trpc/generated-cap-routers.js +9 -0
- package/package.json +14 -12
- package/system/dist/addon-utils.mjs +1 -1
- package/system/dist/{agent-https-Dwec4v5Z.mjs → agent-https-BtTMjLgk.mjs} +1 -1
- package/system/dist/{agent-https-DX_ypzVA.js → agent-https-CNf7_i1z.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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +127 -32
- package/system/dist/builtins/loki-logging/index.mjs +127 -32
- package/system/dist/builtins/loki-logging/loki-logging.addon.d.ts +8 -0
- package/system/dist/builtins/loki-logging/loki-record-kinds.d.ts +2 -0
- package/system/dist/builtins/loki-logging/migrations/index.d.ts +4 -1
- package/system/dist/builtins/loki-logging/migrations/registry-toggle-to-record.d.ts +26 -0
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +10 -10
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +10 -10
- 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 +3 -3
- package/system/dist/builtins/snapshot/index.mjs +3 -3
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +20 -20
- 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 +3 -0
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +59 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +60 -4
- 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 +285 -285
- 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-jF-eMoO5.js → composition-sources-D9GBwT5d.js} +1 -1
- package/system/dist/{composition-sources-6UWb8sIp.mjs → composition-sources-DUmnnLrw.mjs} +1 -1
- package/system/dist/{constants-v7B-_yzi.mjs → constants-BkiDA8Cf.mjs} +1 -1
- package/system/dist/{constants-dJ_YPC9D.js → constants-Cy5svHxz.js} +1 -1
- package/system/dist/{coral-accelerators-DBlgWB8k.mjs → coral-accelerators-BW3OcrLD.mjs} +6 -6
- package/system/dist/{custom-action-registry-oHl1xltx.mjs → custom-action-registry-BIJZBObd.mjs} +37 -37
- package/system/dist/{device-ca-CImkiiR-.js → device-ca-CxlqxrvG.js} +1 -1
- package/system/dist/{device-ca-BVaCxlFs.mjs → device-ca-Cxu7j6aY.mjs} +1 -1
- package/system/dist/{dist-BvHqoBym.mjs → dist-C5sQPOZX.mjs} +136 -11
- package/system/dist/{dist-BXWXN1Dl.js → dist-Cyc4oyGh.js} +141 -10
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-mdns-ciao-B_ldgRYZ.mjs → hub-mdns-ciao-CTPWSgwo.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-B7wwnU92.js → hub-mdns-ciao-YxQ97aHW.js} +2 -2
- package/system/dist/index.js +7 -7
- package/system/dist/index.mjs +218 -218
- package/system/dist/{restore-archive-CLfRtdYG.mjs → restore-archive-08Uthry1.mjs} +150 -150
- package/system/dist/{restore-archive-ne_KESE9.js → restore-archive-b5rBXY1e.js} +1 -1
- package/system/dist/{retention--waznpBD.js → retention-DWCHp91p.js} +1 -1
- package/system/dist/{retention-MD1lPsHB.mjs → retention-i8aZ6vE5.mjs} +1 -1
- package/system/dist/{wal-maintenance-D8DIMgjl.mjs → wal-maintenance-CEi8PqMh.mjs} +0 -0
- package/system/dist/{wal-maintenance-DmhOVavh.js → wal-maintenance-DNE7RTcS.js} +0 -0
- package/system/package.json +1 -1
|
@@ -786,7 +786,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
786
786
|
return EventCategory;
|
|
787
787
|
}({});
|
|
788
788
|
//#endregion
|
|
789
|
-
//#region ../types/dist/device-type-
|
|
789
|
+
//#region ../types/dist/device-type-CfHw_quR.mjs
|
|
790
790
|
/**
|
|
791
791
|
import { errMsg } from '@camstack/types'
|
|
792
792
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -975,6 +975,9 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
|
|
|
975
975
|
DeviceFeature["CoverPositionable"] = "cover-positionable";
|
|
976
976
|
/** Cover exposes slat-tilt control. Gates the tilt slider UI. */
|
|
977
977
|
DeviceFeature["CoverTilt"] = "cover-tilt";
|
|
978
|
+
/** Cover has a real stop: `stop` halts the travel in place. Gates the stop
|
|
979
|
+
* control in exporters; a provider whose `stop` is a no-op never declares it. */
|
|
980
|
+
DeviceFeature["CoverStoppable"] = "cover-stoppable";
|
|
978
981
|
/** Valve exposes intermediate position control (0..100). Gates the
|
|
979
982
|
* position slider / drag surface UI. */
|
|
980
983
|
DeviceFeature["ValvePositionable"] = "valve-positionable";
|
|
@@ -1162,7 +1165,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1162
1165
|
return DeviceRole;
|
|
1163
1166
|
}({});
|
|
1164
1167
|
//#endregion
|
|
1165
|
-
//#region ../types/dist/sleep-
|
|
1168
|
+
//#region ../types/dist/sleep-QsoHs66J.mjs
|
|
1166
1169
|
/**
|
|
1167
1170
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1168
1171
|
* window to float samples (D455).
|
|
@@ -8172,7 +8175,7 @@ function sleep(ms) {
|
|
|
8172
8175
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
8173
8176
|
}
|
|
8174
8177
|
//#endregion
|
|
8175
|
-
//#region ../types/dist/composition-
|
|
8178
|
+
//#region ../types/dist/composition-Dh3RfMx5.mjs
|
|
8176
8179
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
8177
8180
|
opus: "libopus",
|
|
8178
8181
|
aac: "aac",
|
|
@@ -10838,6 +10841,73 @@ var NodeColorIdSchema = z.enum([
|
|
|
10838
10841
|
"node-g",
|
|
10839
10842
|
"node-h"
|
|
10840
10843
|
]);
|
|
10844
|
+
//#endregion
|
|
10845
|
+
//#region ../types/dist/index.mjs
|
|
10846
|
+
var SMTP_INBOUND_DEFAULT_PORT = 2525;
|
|
10847
|
+
var SMTP_INBOUND_DEFAULT_DOMAIN = "camstack.local";
|
|
10848
|
+
var SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES = 25 * 1024 * 1024;
|
|
10849
|
+
/** The text excerpt a message carries on the bus. */
|
|
10850
|
+
var SMTP_INBOUND_TEXT_MAX_CHARS = 4096;
|
|
10851
|
+
var PortSchema = z.number().int().min(1).max(65535);
|
|
10852
|
+
/** A recipient local-part: what stands before the `@`. */
|
|
10853
|
+
var SmtpRecipientSchema = z.string().min(1).max(64).regex(/^[A-Za-z0-9._+-]+$/);
|
|
10854
|
+
z.object({
|
|
10855
|
+
port: PortSchema.default(SMTP_INBOUND_DEFAULT_PORT),
|
|
10856
|
+
bindHost: z.string().min(1).default("0.0.0.0"),
|
|
10857
|
+
domain: z.string().min(1).default(SMTP_INBOUND_DEFAULT_DOMAIN),
|
|
10858
|
+
requireAuth: z.boolean().default(true),
|
|
10859
|
+
username: z.string().default(""),
|
|
10860
|
+
password: z.string().default("").meta({ secret: true }),
|
|
10861
|
+
starttls: z.boolean().default(false),
|
|
10862
|
+
maxMessageBytes: z.number().int().positive().default(SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES)
|
|
10863
|
+
});
|
|
10864
|
+
z.object({
|
|
10865
|
+
host: z.string().min(1).nullable(),
|
|
10866
|
+
hostReason: z.string().nullable(),
|
|
10867
|
+
port: PortSchema,
|
|
10868
|
+
domain: z.string().min(1),
|
|
10869
|
+
requireAuth: z.boolean(),
|
|
10870
|
+
username: z.string(),
|
|
10871
|
+
password: z.string(),
|
|
10872
|
+
starttls: z.boolean()
|
|
10873
|
+
});
|
|
10874
|
+
z.object({
|
|
10875
|
+
recipients: z.array(SmtpRecipientSchema).min(1),
|
|
10876
|
+
/**
|
|
10877
|
+
* Who is subscribing. A second `subscribe` with the same id REPLACES that subscriber's
|
|
10878
|
+
* recipients (the way a consumer that restarted, or lost a device, declares its set again);
|
|
10879
|
+
* a recipient held by another subscriber is refused with `smtp-inbound/recipient-claimed`.
|
|
10880
|
+
* Absent, the subscriber is anonymous and unique.
|
|
10881
|
+
*/
|
|
10882
|
+
subscriberId: z.string().min(1).max(64).optional()
|
|
10883
|
+
});
|
|
10884
|
+
var SmtpInboundAttachmentSchema = z.object({
|
|
10885
|
+
filename: z.string(),
|
|
10886
|
+
contentType: z.string(),
|
|
10887
|
+
bytes: z.number().int().nonnegative()
|
|
10888
|
+
});
|
|
10889
|
+
/** The payload of one `broker.message` (the key is the recipient local-part). */
|
|
10890
|
+
var SmtpInboundMessageSchema = z.object({
|
|
10891
|
+
/** Monotonic per mailbox; a gap tells a consumer it missed an event. */
|
|
10892
|
+
seq: z.number().int().positive(),
|
|
10893
|
+
messageId: z.string(),
|
|
10894
|
+
receivedAt: z.number().int().nonnegative(),
|
|
10895
|
+
from: z.string(),
|
|
10896
|
+
to: z.string(),
|
|
10897
|
+
subject: z.string(),
|
|
10898
|
+
text: z.string().max(SMTP_INBOUND_TEXT_MAX_CHARS),
|
|
10899
|
+
attachments: z.array(SmtpInboundAttachmentSchema)
|
|
10900
|
+
});
|
|
10901
|
+
z.object({
|
|
10902
|
+
/** The newest seq issued so far (0 before any mail). */
|
|
10903
|
+
lastSeq: z.number().int().nonnegative(),
|
|
10904
|
+
/** The oldest seq still retained; messages below it are gone. */
|
|
10905
|
+
oldestSeq: z.number().int().nonnegative(),
|
|
10906
|
+
messages: z.array(z.object({
|
|
10907
|
+
key: z.string(),
|
|
10908
|
+
message: SmtpInboundMessageSchema
|
|
10909
|
+
}))
|
|
10910
|
+
});
|
|
10841
10911
|
new Set([
|
|
10842
10912
|
"track",
|
|
10843
10913
|
"face",
|
|
@@ -11001,6 +11071,7 @@ var RecordIntegrationInstances = class {
|
|
|
11001
11071
|
return record === null ? null : {
|
|
11002
11072
|
id,
|
|
11003
11073
|
body: record.data,
|
|
11074
|
+
enabled: record.data.enabled !== false,
|
|
11004
11075
|
secrets: "resolved"
|
|
11005
11076
|
};
|
|
11006
11077
|
} catch (err) {
|
|
@@ -11010,6 +11081,7 @@ var RecordIntegrationInstances = class {
|
|
|
11010
11081
|
return {
|
|
11011
11082
|
id,
|
|
11012
11083
|
body: Object.fromEntries(Object.entries(stored.data).filter(([key]) => !this.secretKeys.has(key))),
|
|
11084
|
+
enabled: stored.data.enabled !== false,
|
|
11013
11085
|
secrets: "unavailable"
|
|
11014
11086
|
};
|
|
11015
11087
|
}
|
|
@@ -11035,6 +11107,7 @@ var RecordIntegrationInstances = class {
|
|
|
11035
11107
|
id: record.id,
|
|
11036
11108
|
name: typeof rawName === "string" ? rawName : record.id,
|
|
11037
11109
|
configured: this.hooks.configured(record.data),
|
|
11110
|
+
enabled: record.data.enabled !== false,
|
|
11038
11111
|
formValues: shown
|
|
11039
11112
|
};
|
|
11040
11113
|
}
|
|
@@ -11069,6 +11142,12 @@ var RecordIntegrationInstances = class {
|
|
|
11069
11142
|
await this.hooks.onChanged?.(id);
|
|
11070
11143
|
return { ok: true };
|
|
11071
11144
|
};
|
|
11145
|
+
/** The switch lives in the record body; the addon is told so it applies it (D996). */
|
|
11146
|
+
setInstanceEnabled = async ({ id, enabled }) => {
|
|
11147
|
+
await this.handle.patch(id, { enabled });
|
|
11148
|
+
await this.hooks.onChanged?.(id);
|
|
11149
|
+
return { ok: true };
|
|
11150
|
+
};
|
|
11072
11151
|
/** The row and its keychain refs go together (the records door). */
|
|
11073
11152
|
deleteInstance = async ({ id }) => {
|
|
11074
11153
|
await this.handle.delete(id);
|
|
@@ -11092,6 +11171,7 @@ var RecordIntegrationInstances = class {
|
|
|
11092
11171
|
getInstance: this.getInstance,
|
|
11093
11172
|
createInstance: this.createInstance,
|
|
11094
11173
|
updateInstance: this.updateInstance,
|
|
11174
|
+
setInstanceEnabled: this.setInstanceEnabled,
|
|
11095
11175
|
deleteInstance: this.deleteInstance,
|
|
11096
11176
|
testInstance: this.testInstance
|
|
11097
11177
|
};
|
|
@@ -11286,6 +11366,19 @@ z.object({
|
|
|
11286
11366
|
})
|
|
11287
11367
|
});
|
|
11288
11368
|
/**
|
|
11369
|
+
* Resolve the runner id an addon belongs to. This is the single
|
|
11370
|
+
* authority for the hub↔runner topology:
|
|
11371
|
+
* - declared `group` present → the runner id is the group name
|
|
11372
|
+
* (shared with every other addon declaring the same group);
|
|
11373
|
+
* - no `group` declared → the runner id is the addon id itself
|
|
11374
|
+
* (its own dedicated runner — one addon, one process).
|
|
11375
|
+
*
|
|
11376
|
+
* The runner's Moleculer nodeID is `${parentNodeId}/${runnerId}`.
|
|
11377
|
+
*/
|
|
11378
|
+
function resolveRunnerId(decl, addonId) {
|
|
11379
|
+
return decl.execution?.group ?? addonId;
|
|
11380
|
+
}
|
|
11381
|
+
/**
|
|
11289
11382
|
* Adoption job — the background form of `device-adoption.adopt`.
|
|
11290
11383
|
*
|
|
11291
11384
|
* ## Why this exists
|
|
@@ -54808,6 +54901,7 @@ var coreBlocksCapability = {
|
|
|
54808
54901
|
* Sub-surface gating paired with `DeviceFeature` flags:
|
|
54809
54902
|
* - `CoverPositionable` — intermediate `position` slider
|
|
54810
54903
|
* - `CoverTilt` — slat-tilt slider
|
|
54904
|
+
* - `CoverStoppable` — the `stop` control (a no-op `stop` never declares it)
|
|
54811
54905
|
*/
|
|
54812
54906
|
var CoverStateSchema = z.enum([
|
|
54813
54907
|
"open",
|
|
@@ -61771,6 +61865,11 @@ var IntegrationInstanceSchema = z.object({
|
|
|
61771
61865
|
name: z.string(),
|
|
61772
61866
|
/** The addon's own rule (an URL is present, a client id is present...). */
|
|
61773
61867
|
configured: z.boolean(),
|
|
61868
|
+
/**
|
|
61869
|
+
* The instance's own on/off switch (D996): always present, derived from the record body
|
|
61870
|
+
* (`enabled !== false`, so a row written before the field existed is on).
|
|
61871
|
+
*/
|
|
61872
|
+
enabled: z.boolean(),
|
|
61774
61873
|
/** Values for the instance form; a secret is a `SecretFieldView`, never text. */
|
|
61775
61874
|
formValues: z.record(z.string(), z.unknown()),
|
|
61776
61875
|
status: IntegrationInstanceStatusSchema.optional()
|
|
@@ -61803,6 +61902,17 @@ var integrationInstancesCapability = {
|
|
|
61803
61902
|
kind: "mutation",
|
|
61804
61903
|
auth: "admin"
|
|
61805
61904
|
}),
|
|
61905
|
+
/**
|
|
61906
|
+
* Switch ONE instance on or off. A row control, not a form field: `updateInstance.values` is the
|
|
61907
|
+
* form patch (D62, D996). An off instance keeps its record and secrets and does no work.
|
|
61908
|
+
*/
|
|
61909
|
+
setInstanceEnabled: method(z.object({
|
|
61910
|
+
id: IntegrationInstanceIdSchema,
|
|
61911
|
+
enabled: z.boolean()
|
|
61912
|
+
}), z.object({ ok: z.literal(true) }), {
|
|
61913
|
+
kind: "mutation",
|
|
61914
|
+
auth: "admin"
|
|
61915
|
+
}),
|
|
61806
61916
|
/** Delete the record and its keychain refs together. */
|
|
61807
61917
|
deleteInstance: method(z.object({ id: IntegrationInstanceIdSchema }), z.object({ ok: z.literal(true) }), {
|
|
61808
61918
|
kind: "mutation",
|
|
@@ -61815,8 +61925,7 @@ var integrationInstancesCapability = {
|
|
|
61815
61925
|
kind: "mutation",
|
|
61816
61926
|
auth: "admin"
|
|
61817
61927
|
})
|
|
61818
|
-
}
|
|
61819
|
-
mount: { kind: "skip" }
|
|
61928
|
+
}
|
|
61820
61929
|
};
|
|
61821
61930
|
/**
|
|
61822
61931
|
* Two-way audio / talk-back cap. Clients open a WebRTC audio-only
|
|
@@ -75016,7 +75125,14 @@ var NcMediaPolicySchema = z.object({
|
|
|
75016
75125
|
*/
|
|
75017
75126
|
profile: CamProfileSchema.optional(),
|
|
75018
75127
|
/** See {@link NcLinkedCameraModeSchema}. */
|
|
75019
|
-
linkedCameras: NcLinkedCameraModeSchema.optional()
|
|
75128
|
+
linkedCameras: NcLinkedCameraModeSchema.optional(),
|
|
75129
|
+
/**
|
|
75130
|
+
* Sensor rules only: may this rule wake a SLEEPING battery camera to take
|
|
75131
|
+
* the linked still it attaches (D998)? Absent means yes, an explicit `false`
|
|
75132
|
+
* opts out. Deliberately not a Zod default: a rule that never chose keeps
|
|
75133
|
+
* following the hub's. One bounded wake per event; nothing is attached later.
|
|
75134
|
+
*/
|
|
75135
|
+
wakeSleepingCamera: z.boolean().optional()
|
|
75020
75136
|
});
|
|
75021
75137
|
/**
|
|
75022
75138
|
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
@@ -85570,10 +85686,12 @@ var snapshotCapability = {
|
|
|
85570
85686
|
* even when the cache is well within the device's
|
|
85571
85687
|
* `snapshotMaxAgeS` window.
|
|
85572
85688
|
*
|
|
85573
|
-
* **`force` is
|
|
85689
|
+
* **`force` is a demand with a named principal, not a freshness
|
|
85690
|
+
* preference** — an operator button, the scheduled refresh (D847), or a
|
|
85691
|
+
* notification rule that left the camera's wake allowed (D998). On a
|
|
85574
85692
|
* battery camera it is the one thing that walks past the wrapper's
|
|
85575
|
-
* sleep gate and wakes the camera, so a
|
|
85576
|
-
*
|
|
85693
|
+
* sleep gate and wakes the camera, so a poller, a thumbnail or a
|
|
85694
|
+
* prestream must NEVER set it. Every such caller
|
|
85577
85695
|
* gets the cached frame, which on a sleeping battery camera is the
|
|
85578
85696
|
* correct answer: stale but honest beats woken.
|
|
85579
85697
|
*/
|
|
@@ -92232,7 +92350,7 @@ var ACTUATOR_METHODS = {
|
|
|
92232
92350
|
cover: [
|
|
92233
92351
|
row$1("cover", "open"),
|
|
92234
92352
|
row$1("cover", "close"),
|
|
92235
|
-
row$1("cover", "stop"),
|
|
92353
|
+
row$1("cover", "stop", DeviceFeature.CoverStoppable),
|
|
92236
92354
|
row$1("cover", "setPosition", DeviceFeature.CoverPositionable),
|
|
92237
92355
|
row$1("cover", "setTiltPosition", DeviceFeature.CoverTilt)
|
|
92238
92356
|
],
|
|
@@ -97595,6 +97713,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
97595
97713
|
access: "view",
|
|
97596
97714
|
role: "admin"
|
|
97597
97715
|
},
|
|
97716
|
+
"integrationInstances.setInstanceEnabled": {
|
|
97717
|
+
capName: "integration-instances",
|
|
97718
|
+
capScope: "system",
|
|
97719
|
+
addonId: null,
|
|
97720
|
+
access: "create",
|
|
97721
|
+
role: "admin"
|
|
97722
|
+
},
|
|
97598
97723
|
"integrationInstances.testInstance": {
|
|
97599
97724
|
capName: "integration-instances",
|
|
97600
97725
|
capScope: "system",
|
|
@@ -109770,4 +109895,4 @@ z.object({
|
|
|
109770
109895
|
commands: z.record(z.string(), z.unknown())
|
|
109771
109896
|
});
|
|
109772
109897
|
//#endregion
|
|
109773
|
-
export { EMPTY_REMOTE_CONFIG as $, evaluateDerivative as $a, scopesAllowAddon as $i, deviceCredentialsCapability as $n, collectSecretConfigKeys as $o, logLevelAtMost as $r, errMsg as $s, UNATTRIBUTED_BUCKET_KEY as $t, CredentialTokenClaimsSchema as A, vectorIndexDimConflictError as Aa, procedureAuthKey as Ai, climateControlCapability as An, RECORD_SWEEP_INTERVAL_MS as Ao, isAlertEpisodeOpen as Ar, nodePin as As, PreferenceValueSchema as At, DEVICE_ID_FIELD as B, HISTORY_SLOW_MS as Ba, resolveBucketMs as Bi, coreBlocksCapability as Bn, RevConflictError as Bo, isVoidInput as Br, scopeKey as Bs, STREAM_PROFILE_META as Bt, CORE_BLOCK_ADDON_PREFIX as C, timedRunSeconds as Ca, pickAppLinkHub as Ci, calendarsCapability as Cn, InvalidRecordError as Co, formatMinutes as Cr, isSecretFieldView as Cs, MediaPlayerStatusSchema as Ct, ConditionMirror as D, validateSchedulerInput as Da, powerSourceLinkOfComposition as Di, catalogueIssues as Dn, RECORD_BATCH_MAX_BYTES as Do, integrationInstancesCapability as Dr, makeSecretMarker as Ds, PREFERENCES_MAX_VALUE_BYTES as Dt, CatalogFileSchema as E, validateCustomAddress as Ea, powerSourceCapability as Ei, capUnitResolver as En, RECORD_BATCH_MAX as Eo, groupTemplate as Er, isSecretRefOwnedBy as Es, NetworkTunnelStartedDataSchema as Et, DAY_NAMES as F, zoneOnlySite as Fa, remoteCapability as Fi, compositionSourceRefs as Fn, ReadinessTimeoutError as Fo, isCredentialTokenPayload as Fr, parseSecretRef as Fs, RecordingStatusSchema as Ft, DataStoreDatabaseSchema as G, composedDeviceRef as Ga, resolveMethodAuth as Gi, dataStoreProviderCapability as Gn, UnknownRecordKindError as Go, legacyModeOf as Gr, toNodeId as Gs, SsoBridgeClaimsSchema as Gt, DEVICE_SAN_CREDENTIAL_PREFIX as H, MINUTE_MS as Ha, resolveCoreBlockFiles as Hi, createDeviceExtensionProvider as Hn, StoredRecordKindDeclarationSchema as Ho, keychainAdminCapability as Hr, secretTreeFromSchema as Hs, SchedulerSchema as Ht, DEFAULT_HOLD_OVERRIDE as I, COMPOSER_ADDON_ID as Ia, remoteLayoutComponentsCapability as Ii, coreBlockAddonId as In, RecordKindDeclarationSchema as Io, isDefaultAppConnectionEndpoint as Ir, readinessKey as Is, RemoteAssumedStateSchema as It, DeviceStatusSchema as J, compositionItemFieldPath as Ja, resolveStepArgs as Ji, declaredSeriesKind as Jn, asNumber as Jo, localNetworkCapability as Jr, userError as Js, StorageLocationTypeSchema as Jt, DeclaredDevices as K, composedDeviceStableId as Ka, resolveMutate as Ki, databaseSnapshotCapability as Kn, WELL_KNOWN_TAB_MAP as Ko, lifecycleJobSchema as Kr, toSecretFieldView as Ks, StorageCleanupJobSchema as Kt, DERIVED_CAMERA_SILENCED_CAP_NAMES as L, DAY_MS as La, replacedFieldKeys as Li, coreBlockComposition as Ln, RecordNotFoundError as Lo, isInternalActionId as Lr, recordSecretRef as Ls, RemoteConfigSchema as Lt, DATABASE_SNAPSHOT_SUFFIX as M, vocabActionIdFor as Ma, recordEntriesCapability as Mi, colorCapability as Mn, REMOVE_LEAF as Mo, isAppLinkBase as Mr, normalizeSecretOwner as Ms, RECORDING_SOURCE_CAMSTACK_ADDON as Mt, DATABASE_SNAPSHOT_TIMEOUT_MS as N, weekdayOfLocalDate as Na, recordsCapability as Ni, composerCapability as Nn, RUNTIME_DEFAULTS as No, isArrayOutputSchema as Nr, parseJsonObject as Ns, ROOT_BUCKET_KEY as Nt, ControlStatusSchema as O, valveCapability as Oa, preconditionOf as Oi, checkRoleAddress as On, RECORD_DELETE_BATCH as Oo, internalActionId as Or, mapSecretLeaves as Os, PreferenceDeviceIdSchema as Ot, DATA_STORE_DATABASES as P, withLocationMode as Pa, reducePoints as Pi, compositionFieldKey as Pn, ReadinessRegistry as Po, isCollectionArrayMethod as Pr, parseJsonUnknown as Ps, RecordIntegrationInstances as Pt, EMPTY_REMOTE_ASSUMED_STATE as Q, disarmRoseMemory as Qa, schedulersCapability as Qi, describeComposableCaps as Qn, buildSecretRef as Qo, logDestinationCapability as Qr, DeviceType as Qs, TokenScopeSchema as Qt, DEVICE_ENROLLMENT_TTL_MS as R, DEFAULT_HISTORY_RETENTION as Ra, resolveActionVariables as Ri, coreBlockIdFromAddonId as Rn, RecordTooLargeError as Ro, isLocationEnabled as Rr, resolveCapMount as Rs, RunningStateStatusSchema as Rt, CORE_BLOCKS_ADDON_ID as S, timedRunLimitOf as Sa, parseStreamParamsFormPatch as Si, buildStreamParamsConfigSchema as Sn, HISTORY_DEFAULT_MIN_INTERVAL_MS as So, formatDeviceRevoker as Sr, isSecretClear as Ss, MOTION_CLOSE_AFTER_MS as St, CalendarPreferencesSchema as T, validateComposition as Ta, platformProbeCapability as Ti, canonicalIconKey as Tn, PlaintextSecretError as To, groupCommandsCapability as Tr, isSecretMarkerLike as Ts, MigrationMetaSchema as Tt, DEVICE_SAN_USER_PREFIX as U, buildFfmpegArgs as Ua, resolveHubAddressRoles as Ui, customKeyOfRole as Un, TransactRefusedError as Uo, keychainCapability as Ur, secretViewsOf as Us, ScopedTokenSchema as Ut, DEVICE_NONCE_TTL_MS as V, HOUR_MS as Va, resolveCoreBlockEntry as Vi, coverCapability as Vn, SECRET_CLEAR as Vo, kebabToCamel as Vr, secretTreeFromPaths as Vs, SchedulerError as Vt, DEVICE_TOMBSTONE_RETENTION_MS as W, cloneStatefulExpressionMemory as Wa, resolveLocationMode as Wi, customRole as Wn, UnindexedFilterError as Wo, legacyAutoLinkIds as Wr, sleep as Ws, ServerNameSchema as Wt, DiscoveryProposalBodySchema as X, compositionSourceKey as Xa, runSteps as Xi, defineExtensionSlotProvider as Xn, assertTransactScope as Xo, lockControlCapability as Xr, DeviceFeature as Xs, SwitchStatusSchema as Xt, DeviceTombstoneSchema as Y, compositionSliceKey as Ya, runFanOut as Yi, decodeVectorBase64 as Yn, asString$1 as Yo, locationIconKey as Yr, withoutCallerStamp as Ys, StorageMigrationJobSchema as Yt, EMPTY_AUTOMATION_STATE as Z, createStatefulExpressionMemory as Za, runtimeStatePolicyFor as Zi, deriveBatteryPresence as Zn, assertValidDeclaration as Zo, lockDoorLinkOfComposition as Zr, DeviceRole as Zs, TemplateKindSchema as Zt, CAMSTACK_APP_LINK_ORIGIN as _, streamQualityLabel as _a, objectInputDeclaresRequiredDeviceId as _i, brightnessCapability as _n, DEVICE_SETTINGS_CONTRIBUTION_METHODS as _o, fanOutTargets as _r, isDebugChannelName as _s, KeychainResetRecordSchema as _t, AGENT_MDNS_TXT_KEYS as a, sharedColorModes as aa, methodRefusal as ai, addonPagesCapability as an, nextLocalMidnight as ao, deviceStateCapability as ar, defineAddonMigrations as as, FieldClaimModeSchema as at, COMPOSED_ITEM_FIXED_FIELDS as b, templateCapability as ba, parseAcceleratorFactsJson as bi, buildDeviceEnrollmentLink as bn, FilterRequiredError as bo, filesystemBrowseCapability as br, isKeychainStoredField as bs, METHOD_ACCESS_MAP as bt, ActionStepSchema as c, siteZoneKey as ca, modeMayWrite as ci, alertEpisodeId as cn, planResetTier as co, enumerateItemArrayFields as cr, defineRecordKinds as cs, HISTORY_CATALOG as ct, AlertSchema as d, storageAdminCapability as da, normalizeActionUnits as di, appendTrace as dn, toExpressionValue as do, evaluateWhenTree as dr, expandCapMethods as ds, HUB_MDNS_TXT_KEYS as dt, scopesAllowDeviceCap as ea, EventCategory as ec, looseSchema as ei, UserRecordSchema as en, evaluateStatistic as eo, deviceExtensionCapability as er, collectSecretLeaves as es, FAN_CAPTURE_FIELDS as et, AutomationStateDocSchema as f, storageCapability as fa, normalizeCapStep as fi, armRemovalReconcile as fn, wattMillisecondsToKwh as fo, evictionPolicyOfLocation as fr, formatSecretScope as fs, HvacModeSchema as ft, CAMERA_SWITCH_ORDER as g, streamCatalogCapability as ga, objectInputDeclaresAddonId as gi, batteryCapability as gn, DATAPLANE_SECRET_HEADER as go, fanControlCapability as gr, hydrateSchema as gs, KeychainAuditEntrySchema as gt, BatteryStatusSchema as h, storageProviderCapability as ha, normalizeUnit as hi, bareAddonId as hn, CALLER_STAMPED_CAPABILITIES as ho, extractNestedAddonId as hr, historyUnitFor as hs, KEYCHAIN_RESET_TRIGGER_ACTOR as ht, AGENT_MDNS_SERVICE_TYPE as i, sharedActuatorMethods as ia, memoizePinnedFfmpeg as ii, addonIdOfActionId as in, isHistoryHelper as io, deviceRunsCapability as ir, customAction as is, FanPresetSchema as it, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as j, vectorStoreCapability as ja, ptzAutotrackCapability as ji, collectWhenMirrorSources as jn, REDACTED_SECRET as jo, isAlertEpisodeSeverity as jr, normalizeNodeId as js, QuantityUnitError as jt, CoreBlockSchema as k, vectorDimFromBase64 as ka, problemsBlockSave as ki, checkTemplatePayload as kn, RECORD_SECRET_COLLECTION_PREFIX as ko, interpolate as kr, nodeIdOfScopedKey as ks, PreferenceNamespaceSchema as kt, ActionTargetResolver as l, snapshotCapability as la, motionCapability as li, alertEpisodePayload as ln, planStatisticTier as lo, enumerateSchemaFields as lr, emitDownForOwnedCaps as ls, HISTORY_ITEM_CATALOG as lt, BaseDevice as m, storageOccupancyCapability as ma, normalizeStepTargets as mi, backupCapability as mn, BatchTooLargeError as mo, expressionContainsBuiltinCall as mr, historyItemFieldPath as ms, INTERNAL_ACTION_PREFIX as mt, ACTUATOR_METHODS as n, settingsStoreCapability as na, mayWriteToLocation as ni, actionSourceCapability as nn, integrateReading as no, deviceManagerCapability as nr, collectZodSecretPaths as ns, FanControlStatusSchema as nt, ALL_CAPABILITY_DEFINITIONS as o, shortHostname as oa, metricsProviderCapability as oi, addonSettingsCapability as on, openReset as oo, deviceStatusCapability as or, defineCustomActions as os, FieldClaimSchema as ot, BUILTIN_REMOTE_COMPONENTS as p, storageMigrationCapability as pa, normalizeCoreBlockWrite as pi, authProviderCapability as pn, BaseAddon as po, expandContainer as pr, getDebugInterest as ps, IDLE_ACTION_STATUS as pt, DeviceRunSchema as q, compositionFeatureEnabled as qa, resolveNotificationTapAddress as qi, declarationOwnerNodeId as qn, asJsonObject as qo, localDateOf as qr, transformSecretWrite as qs, StorageLocationModeSchema as qt, ACTUATOR_TEMPLATE_IDS as r, sharedActuatorFeatures as ra, mediaPlayerCapability as ri, actionsCapability as rn, isForwardInputRef as ro, deviceRemovalHookCapability as rr, createEvent as rs, FanDirectionSchema as rt, ActionError as s, siteFor as sa, migrationsCapability as si, addonWidgetsCapability as sn, openStatistic as so, enumerateInferenceDevices as sr, defineEntryKind as ss, GroupCommandResultSchema as st, ACTION_TARGET_INVALIDATION_EVENTS as t, scoreRuntimes as ta, mayReadLocation as ti, actionEffect as tn, helperMembers as to, deviceHistoryCapability as tr, collectSecretMarkerRefs as ts, FIRST_LEVEL_MACRO_CLASSES as tt, ActionVariableSchema as u, splitTranslationRef as ua, nextOccurrence as ui, alertsCapability as un, statisticCadenceMs as uo, evaluateCompositionField as ur, emitReadiness as us, HUB_MDNS_SERVICE_TYPE as ut, CAP_NAMES_WITH_STATUS as v, supportedRuntimes as va, occurrenceOn as vi, buildActionSteps as vn, DEVICE_STATUS_METHOD as vo, fanPresetsCapability as vr, isDeviceConfigCap as vs, LOG_LEVEL_RANK as vt, CREDENTIAL_TOKEN_AUDIENCE as w, userManagementCapability as wa, planComposition as wi, cameraGridLayoutCapability as wn, NoCallerError as wo, gbToBytes as wr, isSecretMarker as ws, MigrationLedgerEntrySchema as wt, COMPOSER_RUNNER_ID as x, timedRunCapability as xa, parseColorInput as xi, buildDeviceSignatureMessage as xn, ForeignSecretMarkerError as xo, foldSnapshotByFunction as xr, isReadingQuantity as xs, MINUTES_PER_DAY as xt, CATALOG_LANGS as y, switchCapability as ya, orderMigrations as yi, buildCapabilityLookup as yn, DeclarationRefusedError as yo, featureForwards as yr, isEvent as ys, LegacyStorageLocationDefaultSchema as yt, DEVICE_HISTORY_ENERGY_KEY as z, HISTORY_FAST_MS as za, resolveAppConnections as zi, coreBlockSourceKind as zn, RecordUniqueViolationError as zo, isObjectInput as zr, resolveSecretMarkers as zs, STORAGE_ACCESS_FALLBACK as zt };
|
|
109898
|
+
export { EMPTY_REMOTE_CONFIG as $, disarmRoseMemory as $a, schedulersCapability as $i, deviceCredentialsCapability as $n, buildSecretRef as $o, logLevelAtMost as $r, DeviceType as $s, UNATTRIBUTED_BUCKET_KEY as $t, CredentialTokenClaimsSchema as A, vectorDimFromBase64 as Aa, procedureAuthKey as Ai, climateControlCapability as An, RECORD_SECRET_COLLECTION_PREFIX as Ao, isAlertEpisodeOpen as Ar, nodeIdOfScopedKey as As, PreferenceValueSchema as At, DEVICE_ID_FIELD as B, HISTORY_FAST_MS as Ba, resolveBucketMs as Bi, coreBlocksCapability as Bn, RecordUniqueViolationError as Bo, isVoidInput as Br, resolveSecretMarkers as Bs, STREAM_PROFILE_META as Bt, CORE_BLOCK_ADDON_PREFIX as C, timedRunLimitOf as Ca, pickAppLinkHub as Ci, calendarsCapability as Cn, HISTORY_DEFAULT_MIN_INTERVAL_MS as Co, formatMinutes as Cr, isSecretClear as Cs, MediaPlayerStatusSchema as Ct, ConditionMirror as D, validateCustomAddress as Da, powerSourceLinkOfComposition as Di, catalogueIssues as Dn, RECORD_BATCH_MAX as Do, integrationInstancesCapability as Dr, isSecretRefOwnedBy as Ds, PREFERENCES_MAX_VALUE_BYTES as Dt, CatalogFileSchema as E, validateComposition as Ea, powerSourceCapability as Ei, capUnitResolver as En, PlaintextSecretError as Eo, groupTemplate as Er, isSecretMarkerLike as Es, NetworkTunnelStartedDataSchema as Et, DAY_NAMES as F, withLocationMode as Fa, remoteCapability as Fi, compositionSourceRefs as Fn, ReadinessRegistry as Fo, isCredentialTokenPayload as Fr, parseJsonUnknown as Fs, RecordingStatusSchema as Ft, DataStoreDatabaseSchema as G, cloneStatefulExpressionMemory as Ga, resolveMethodAuth as Gi, dataStoreProviderCapability as Gn, UnindexedFilterError as Go, legacyModeOf as Gr, sleep as Gs, SsoBridgeClaimsSchema as Gt, DEVICE_SAN_CREDENTIAL_PREFIX as H, HOUR_MS as Ha, resolveCoreBlockFiles as Hi, createDeviceExtensionProvider as Hn, SECRET_CLEAR as Ho, keychainAdminCapability as Hr, secretTreeFromPaths as Hs, SchedulerSchema as Ht, DEFAULT_HOLD_OVERRIDE as I, zoneOnlySite as Ia, remoteLayoutComponentsCapability as Ii, coreBlockAddonId as In, ReadinessTimeoutError as Io, isDefaultAppConnectionEndpoint as Ir, parseSecretRef as Is, RemoteAssumedStateSchema as It, DeviceStatusSchema as J, compositionFeatureEnabled as Ja, resolveRunnerId as Ji, declaredSeriesKind as Jn, asJsonObject as Jo, localNetworkCapability as Jr, transformSecretWrite as Js, StorageLocationTypeSchema as Jt, DeclaredDevices as K, composedDeviceRef as Ka, resolveMutate as Ki, databaseSnapshotCapability as Kn, UnknownRecordKindError as Ko, lifecycleJobSchema as Kr, toNodeId as Ks, StorageCleanupJobSchema as Kt, DERIVED_CAMERA_SILENCED_CAP_NAMES as L, COMPOSER_ADDON_ID as La, replacedFieldKeys as Li, coreBlockComposition as Ln, RecordKindDeclarationSchema as Lo, isInternalActionId as Lr, readinessKey as Ls, RemoteConfigSchema as Lt, DATABASE_SNAPSHOT_SUFFIX as M, vectorStoreCapability as Ma, recordEntriesCapability as Mi, colorCapability as Mn, REDACTED_SECRET as Mo, isAppLinkBase as Mr, normalizeNodeId as Ms, RECORDING_SOURCE_CAMSTACK_ADDON as Mt, DATABASE_SNAPSHOT_TIMEOUT_MS as N, vocabActionIdFor as Na, recordsCapability as Ni, composerCapability as Nn, REMOVE_LEAF as No, isArrayOutputSchema as Nr, normalizeSecretOwner as Ns, ROOT_BUCKET_KEY as Nt, ControlStatusSchema as O, validateSchedulerInput as Oa, preconditionOf as Oi, checkRoleAddress as On, RECORD_BATCH_MAX_BYTES as Oo, internalActionId as Or, makeSecretMarker as Os, PreferenceDeviceIdSchema as Ot, DATA_STORE_DATABASES as P, weekdayOfLocalDate as Pa, reducePoints as Pi, compositionFieldKey as Pn, RUNTIME_DEFAULTS as Po, isCollectionArrayMethod as Pr, parseJsonObject as Ps, RecordIntegrationInstances as Pt, EMPTY_REMOTE_ASSUMED_STATE as Q, createStatefulExpressionMemory as Qa, runtimeStatePolicyFor as Qi, describeComposableCaps as Qn, assertValidDeclaration as Qo, logDestinationCapability as Qr, DeviceRole as Qs, TokenScopeSchema as Qt, DEVICE_ENROLLMENT_TTL_MS as R, DAY_MS as Ra, resolveActionVariables as Ri, coreBlockIdFromAddonId as Rn, RecordNotFoundError as Ro, isLocationEnabled as Rr, recordSecretRef as Rs, RunningStateStatusSchema as Rt, CORE_BLOCKS_ADDON_ID as S, timedRunCapability as Sa, parseStreamParamsFormPatch as Si, buildStreamParamsConfigSchema as Sn, ForeignSecretMarkerError as So, formatDeviceRevoker as Sr, isReadingQuantity as Ss, MOTION_CLOSE_AFTER_MS as St, CalendarPreferencesSchema as T, userManagementCapability as Ta, platformProbeCapability as Ti, canonicalIconKey as Tn, NoCallerError as To, groupCommandsCapability as Tr, isSecretMarker as Ts, MigrationMetaSchema as Tt, DEVICE_SAN_USER_PREFIX as U, MINUTE_MS as Ua, resolveHubAddressRoles as Ui, customKeyOfRole as Un, StoredRecordKindDeclarationSchema as Uo, keychainCapability as Ur, secretTreeFromSchema as Us, ScopedTokenSchema as Ut, DEVICE_NONCE_TTL_MS as V, HISTORY_SLOW_MS as Va, resolveCoreBlockEntry as Vi, coverCapability as Vn, RevConflictError as Vo, kebabToCamel as Vr, scopeKey as Vs, SchedulerError as Vt, DEVICE_TOMBSTONE_RETENTION_MS as W, buildFfmpegArgs as Wa, resolveLocationMode as Wi, customRole as Wn, TransactRefusedError as Wo, legacyAutoLinkIds as Wr, secretViewsOf as Ws, ServerNameSchema as Wt, DiscoveryProposalBodySchema as X, compositionSliceKey as Xa, runFanOut as Xi, defineExtensionSlotProvider as Xn, asString$1 as Xo, lockControlCapability as Xr, withoutCallerStamp as Xs, SwitchStatusSchema as Xt, DeviceTombstoneSchema as Y, compositionItemFieldPath as Ya, resolveStepArgs as Yi, decodeVectorBase64 as Yn, asNumber as Yo, locationIconKey as Yr, userError as Ys, StorageMigrationJobSchema as Yt, EMPTY_AUTOMATION_STATE as Z, compositionSourceKey as Za, runSteps as Zi, deriveBatteryPresence as Zn, assertTransactScope as Zo, lockDoorLinkOfComposition as Zr, DeviceFeature as Zs, TemplateKindSchema as Zt, CAMSTACK_APP_LINK_ORIGIN as _, streamCatalogCapability as _a, objectInputDeclaresRequiredDeviceId as _i, brightnessCapability as _n, DATAPLANE_SECRET_HEADER as _o, fanOutTargets as _r, hydrateSchema as _s, KeychainResetRecordSchema as _t, AGENT_MDNS_TXT_KEYS as a, sharedActuatorMethods as aa, methodRefusal as ai, addonPagesCapability as an, isHistoryHelper as ao, deviceStateCapability as ar, customAction as as, FieldClaimModeSchema as at, COMPOSED_ITEM_FIXED_FIELDS as b, switchCapability as ba, parseAcceleratorFactsJson as bi, buildDeviceEnrollmentLink as bn, DeclarationRefusedError as bo, filesystemBrowseCapability as br, isEvent as bs, METHOD_ACCESS_MAP as bt, ActionStepSchema as c, siteFor as ca, modeMayWrite as ci, alertEpisodeId as cn, openStatistic as co, enumerateItemArrayFields as cr, defineEntryKind as cs, HISTORY_CATALOG as ct, AlertSchema as d, splitTranslationRef as da, normalizeActionUnits as di, appendTrace as dn, statisticCadenceMs as do, evaluateWhenTree as dr, emitReadiness as ds, HUB_MDNS_TXT_KEYS as dt, scopesAllowAddon as ea, errMsg as ec, looseSchema as ei, UserRecordSchema as en, evaluateDerivative as eo, deviceExtensionCapability as er, collectSecretConfigKeys as es, FAN_CAPTURE_FIELDS as et, AutomationStateDocSchema as f, storageAdminCapability as fa, normalizeCapStep as fi, armRemovalReconcile as fn, toExpressionValue as fo, evictionPolicyOfLocation as fr, expandCapMethods as fs, HvacModeSchema as ft, CAMERA_SWITCH_ORDER as g, storageProviderCapability as ga, objectInputDeclaresAddonId as gi, batteryCapability as gn, CALLER_STAMPED_CAPABILITIES as go, fanControlCapability as gr, historyUnitFor as gs, KeychainAuditEntrySchema as gt, BatteryStatusSchema as h, storageOccupancyCapability as ha, normalizeUnit as hi, bareAddonId as hn, BatchTooLargeError as ho, extractNestedAddonId as hr, historyItemFieldPath as hs, KEYCHAIN_RESET_TRIGGER_ACTOR as ht, AGENT_MDNS_SERVICE_TYPE as i, sharedActuatorFeatures as ia, memoizePinnedFfmpeg as ii, addonIdOfActionId as in, isForwardInputRef as io, deviceRunsCapability as ir, createEvent as is, FanPresetSchema as it, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as j, vectorIndexDimConflictError as ja, ptzAutotrackCapability as ji, collectWhenMirrorSources as jn, RECORD_SWEEP_INTERVAL_MS as jo, isAlertEpisodeSeverity as jr, nodePin as js, QuantityUnitError as jt, CoreBlockSchema as k, valveCapability as ka, problemsBlockSave as ki, checkTemplatePayload as kn, RECORD_DELETE_BATCH as ko, interpolate as kr, mapSecretLeaves as ks, PreferenceNamespaceSchema as kt, ActionTargetResolver as l, siteZoneKey as la, motionCapability as li, alertEpisodePayload as ln, planResetTier as lo, enumerateSchemaFields as lr, defineRecordKinds as ls, HISTORY_ITEM_CATALOG as lt, BaseDevice as m, storageMigrationCapability as ma, normalizeStepTargets as mi, backupCapability as mn, BaseAddon as mo, expressionContainsBuiltinCall as mr, getDebugInterest as ms, INTERNAL_ACTION_PREFIX as mt, ACTUATOR_METHODS as n, scoreRuntimes as na, mayWriteToLocation as ni, actionSourceCapability as nn, helperMembers as no, deviceManagerCapability as nr, collectSecretMarkerRefs as ns, FanControlStatusSchema as nt, ALL_CAPABILITY_DEFINITIONS as o, sharedColorModes as oa, metricsProviderCapability as oi, addonSettingsCapability as on, nextLocalMidnight as oo, deviceStatusCapability as or, defineAddonMigrations as os, FieldClaimSchema as ot, BUILTIN_REMOTE_COMPONENTS as p, storageCapability as pa, normalizeCoreBlockWrite as pi, authProviderCapability as pn, wattMillisecondsToKwh as po, expandContainer as pr, formatSecretScope as ps, IDLE_ACTION_STATUS as pt, DeviceRunSchema as q, composedDeviceStableId as qa, resolveNotificationTapAddress as qi, declarationOwnerNodeId as qn, WELL_KNOWN_TAB_MAP as qo, localDateOf as qr, toSecretFieldView as qs, StorageLocationModeSchema as qt, ACTUATOR_TEMPLATE_IDS as r, settingsStoreCapability as ra, mediaPlayerCapability as ri, actionsCapability as rn, integrateReading as ro, deviceRemovalHookCapability as rr, collectZodSecretPaths as rs, FanDirectionSchema as rt, ActionError as s, shortHostname as sa, migrationsCapability as si, addonWidgetsCapability as sn, openReset as so, enumerateInferenceDevices as sr, defineCustomActions as ss, GroupCommandResultSchema as st, ACTION_TARGET_INVALIDATION_EVENTS as t, scopesAllowDeviceCap as ta, EventCategory as tc, mayReadLocation as ti, actionEffect as tn, evaluateStatistic as to, deviceHistoryCapability as tr, collectSecretLeaves as ts, FIRST_LEVEL_MACRO_CLASSES as tt, ActionVariableSchema as u, snapshotCapability as ua, nextOccurrence as ui, alertsCapability as un, planStatisticTier as uo, evaluateCompositionField as ur, emitDownForOwnedCaps as us, HUB_MDNS_SERVICE_TYPE as ut, CAP_NAMES_WITH_STATUS as v, streamQualityLabel as va, occurrenceOn as vi, buildActionSteps as vn, DEVICE_SETTINGS_CONTRIBUTION_METHODS as vo, fanPresetsCapability as vr, isDebugChannelName as vs, LOG_LEVEL_RANK as vt, CREDENTIAL_TOKEN_AUDIENCE as w, timedRunSeconds as wa, planComposition as wi, cameraGridLayoutCapability as wn, InvalidRecordError as wo, gbToBytes as wr, isSecretFieldView as ws, MigrationLedgerEntrySchema as wt, COMPOSER_RUNNER_ID as x, templateCapability as xa, parseColorInput as xi, buildDeviceSignatureMessage as xn, FilterRequiredError as xo, foldSnapshotByFunction as xr, isKeychainStoredField as xs, MINUTES_PER_DAY as xt, CATALOG_LANGS as y, supportedRuntimes as ya, orderMigrations as yi, buildCapabilityLookup as yn, DEVICE_STATUS_METHOD as yo, featureForwards as yr, isDeviceConfigCap as ys, LegacyStorageLocationDefaultSchema as yt, DEVICE_HISTORY_ENERGY_KEY as z, DEFAULT_HISTORY_RETENTION as za, resolveAppConnections as zi, coreBlockSourceKind as zn, RecordTooLargeError as zo, isObjectInput as zr, resolveCapMount as zs, STORAGE_ACCESS_FALLBACK as zt };
|
|
@@ -786,7 +786,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
786
786
|
return EventCategory;
|
|
787
787
|
}({});
|
|
788
788
|
//#endregion
|
|
789
|
-
//#region ../types/dist/device-type-
|
|
789
|
+
//#region ../types/dist/device-type-CfHw_quR.mjs
|
|
790
790
|
/**
|
|
791
791
|
import { errMsg } from '@camstack/types'
|
|
792
792
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -975,6 +975,9 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
|
|
|
975
975
|
DeviceFeature["CoverPositionable"] = "cover-positionable";
|
|
976
976
|
/** Cover exposes slat-tilt control. Gates the tilt slider UI. */
|
|
977
977
|
DeviceFeature["CoverTilt"] = "cover-tilt";
|
|
978
|
+
/** Cover has a real stop: `stop` halts the travel in place. Gates the stop
|
|
979
|
+
* control in exporters; a provider whose `stop` is a no-op never declares it. */
|
|
980
|
+
DeviceFeature["CoverStoppable"] = "cover-stoppable";
|
|
978
981
|
/** Valve exposes intermediate position control (0..100). Gates the
|
|
979
982
|
* position slider / drag surface UI. */
|
|
980
983
|
DeviceFeature["ValvePositionable"] = "valve-positionable";
|
|
@@ -1162,7 +1165,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1162
1165
|
return DeviceRole;
|
|
1163
1166
|
}({});
|
|
1164
1167
|
//#endregion
|
|
1165
|
-
//#region ../types/dist/sleep-
|
|
1168
|
+
//#region ../types/dist/sleep-QsoHs66J.mjs
|
|
1166
1169
|
/**
|
|
1167
1170
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1168
1171
|
* window to float samples (D455).
|
|
@@ -8172,7 +8175,7 @@ function sleep(ms) {
|
|
|
8172
8175
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
8173
8176
|
}
|
|
8174
8177
|
//#endregion
|
|
8175
|
-
//#region ../types/dist/composition-
|
|
8178
|
+
//#region ../types/dist/composition-Dh3RfMx5.mjs
|
|
8176
8179
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
8177
8180
|
opus: "libopus",
|
|
8178
8181
|
aac: "aac",
|
|
@@ -10838,6 +10841,73 @@ var NodeColorIdSchema = zod.z.enum([
|
|
|
10838
10841
|
"node-g",
|
|
10839
10842
|
"node-h"
|
|
10840
10843
|
]);
|
|
10844
|
+
//#endregion
|
|
10845
|
+
//#region ../types/dist/index.mjs
|
|
10846
|
+
var SMTP_INBOUND_DEFAULT_PORT = 2525;
|
|
10847
|
+
var SMTP_INBOUND_DEFAULT_DOMAIN = "camstack.local";
|
|
10848
|
+
var SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES = 25 * 1024 * 1024;
|
|
10849
|
+
/** The text excerpt a message carries on the bus. */
|
|
10850
|
+
var SMTP_INBOUND_TEXT_MAX_CHARS = 4096;
|
|
10851
|
+
var PortSchema = zod.z.number().int().min(1).max(65535);
|
|
10852
|
+
/** A recipient local-part: what stands before the `@`. */
|
|
10853
|
+
var SmtpRecipientSchema = zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9._+-]+$/);
|
|
10854
|
+
zod.z.object({
|
|
10855
|
+
port: PortSchema.default(SMTP_INBOUND_DEFAULT_PORT),
|
|
10856
|
+
bindHost: zod.z.string().min(1).default("0.0.0.0"),
|
|
10857
|
+
domain: zod.z.string().min(1).default(SMTP_INBOUND_DEFAULT_DOMAIN),
|
|
10858
|
+
requireAuth: zod.z.boolean().default(true),
|
|
10859
|
+
username: zod.z.string().default(""),
|
|
10860
|
+
password: zod.z.string().default("").meta({ secret: true }),
|
|
10861
|
+
starttls: zod.z.boolean().default(false),
|
|
10862
|
+
maxMessageBytes: zod.z.number().int().positive().default(SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES)
|
|
10863
|
+
});
|
|
10864
|
+
zod.z.object({
|
|
10865
|
+
host: zod.z.string().min(1).nullable(),
|
|
10866
|
+
hostReason: zod.z.string().nullable(),
|
|
10867
|
+
port: PortSchema,
|
|
10868
|
+
domain: zod.z.string().min(1),
|
|
10869
|
+
requireAuth: zod.z.boolean(),
|
|
10870
|
+
username: zod.z.string(),
|
|
10871
|
+
password: zod.z.string(),
|
|
10872
|
+
starttls: zod.z.boolean()
|
|
10873
|
+
});
|
|
10874
|
+
zod.z.object({
|
|
10875
|
+
recipients: zod.z.array(SmtpRecipientSchema).min(1),
|
|
10876
|
+
/**
|
|
10877
|
+
* Who is subscribing. A second `subscribe` with the same id REPLACES that subscriber's
|
|
10878
|
+
* recipients (the way a consumer that restarted, or lost a device, declares its set again);
|
|
10879
|
+
* a recipient held by another subscriber is refused with `smtp-inbound/recipient-claimed`.
|
|
10880
|
+
* Absent, the subscriber is anonymous and unique.
|
|
10881
|
+
*/
|
|
10882
|
+
subscriberId: zod.z.string().min(1).max(64).optional()
|
|
10883
|
+
});
|
|
10884
|
+
var SmtpInboundAttachmentSchema = zod.z.object({
|
|
10885
|
+
filename: zod.z.string(),
|
|
10886
|
+
contentType: zod.z.string(),
|
|
10887
|
+
bytes: zod.z.number().int().nonnegative()
|
|
10888
|
+
});
|
|
10889
|
+
/** The payload of one `broker.message` (the key is the recipient local-part). */
|
|
10890
|
+
var SmtpInboundMessageSchema = zod.z.object({
|
|
10891
|
+
/** Monotonic per mailbox; a gap tells a consumer it missed an event. */
|
|
10892
|
+
seq: zod.z.number().int().positive(),
|
|
10893
|
+
messageId: zod.z.string(),
|
|
10894
|
+
receivedAt: zod.z.number().int().nonnegative(),
|
|
10895
|
+
from: zod.z.string(),
|
|
10896
|
+
to: zod.z.string(),
|
|
10897
|
+
subject: zod.z.string(),
|
|
10898
|
+
text: zod.z.string().max(SMTP_INBOUND_TEXT_MAX_CHARS),
|
|
10899
|
+
attachments: zod.z.array(SmtpInboundAttachmentSchema)
|
|
10900
|
+
});
|
|
10901
|
+
zod.z.object({
|
|
10902
|
+
/** The newest seq issued so far (0 before any mail). */
|
|
10903
|
+
lastSeq: zod.z.number().int().nonnegative(),
|
|
10904
|
+
/** The oldest seq still retained; messages below it are gone. */
|
|
10905
|
+
oldestSeq: zod.z.number().int().nonnegative(),
|
|
10906
|
+
messages: zod.z.array(zod.z.object({
|
|
10907
|
+
key: zod.z.string(),
|
|
10908
|
+
message: SmtpInboundMessageSchema
|
|
10909
|
+
}))
|
|
10910
|
+
});
|
|
10841
10911
|
new Set([
|
|
10842
10912
|
"track",
|
|
10843
10913
|
"face",
|
|
@@ -11001,6 +11071,7 @@ var RecordIntegrationInstances = class {
|
|
|
11001
11071
|
return record === null ? null : {
|
|
11002
11072
|
id,
|
|
11003
11073
|
body: record.data,
|
|
11074
|
+
enabled: record.data.enabled !== false,
|
|
11004
11075
|
secrets: "resolved"
|
|
11005
11076
|
};
|
|
11006
11077
|
} catch (err) {
|
|
@@ -11010,6 +11081,7 @@ var RecordIntegrationInstances = class {
|
|
|
11010
11081
|
return {
|
|
11011
11082
|
id,
|
|
11012
11083
|
body: Object.fromEntries(Object.entries(stored.data).filter(([key]) => !this.secretKeys.has(key))),
|
|
11084
|
+
enabled: stored.data.enabled !== false,
|
|
11013
11085
|
secrets: "unavailable"
|
|
11014
11086
|
};
|
|
11015
11087
|
}
|
|
@@ -11035,6 +11107,7 @@ var RecordIntegrationInstances = class {
|
|
|
11035
11107
|
id: record.id,
|
|
11036
11108
|
name: typeof rawName === "string" ? rawName : record.id,
|
|
11037
11109
|
configured: this.hooks.configured(record.data),
|
|
11110
|
+
enabled: record.data.enabled !== false,
|
|
11038
11111
|
formValues: shown
|
|
11039
11112
|
};
|
|
11040
11113
|
}
|
|
@@ -11069,6 +11142,12 @@ var RecordIntegrationInstances = class {
|
|
|
11069
11142
|
await this.hooks.onChanged?.(id);
|
|
11070
11143
|
return { ok: true };
|
|
11071
11144
|
};
|
|
11145
|
+
/** The switch lives in the record body; the addon is told so it applies it (D996). */
|
|
11146
|
+
setInstanceEnabled = async ({ id, enabled }) => {
|
|
11147
|
+
await this.handle.patch(id, { enabled });
|
|
11148
|
+
await this.hooks.onChanged?.(id);
|
|
11149
|
+
return { ok: true };
|
|
11150
|
+
};
|
|
11072
11151
|
/** The row and its keychain refs go together (the records door). */
|
|
11073
11152
|
deleteInstance = async ({ id }) => {
|
|
11074
11153
|
await this.handle.delete(id);
|
|
@@ -11092,6 +11171,7 @@ var RecordIntegrationInstances = class {
|
|
|
11092
11171
|
getInstance: this.getInstance,
|
|
11093
11172
|
createInstance: this.createInstance,
|
|
11094
11173
|
updateInstance: this.updateInstance,
|
|
11174
|
+
setInstanceEnabled: this.setInstanceEnabled,
|
|
11095
11175
|
deleteInstance: this.deleteInstance,
|
|
11096
11176
|
testInstance: this.testInstance
|
|
11097
11177
|
};
|
|
@@ -11286,6 +11366,19 @@ zod.z.object({
|
|
|
11286
11366
|
})
|
|
11287
11367
|
});
|
|
11288
11368
|
/**
|
|
11369
|
+
* Resolve the runner id an addon belongs to. This is the single
|
|
11370
|
+
* authority for the hub↔runner topology:
|
|
11371
|
+
* - declared `group` present → the runner id is the group name
|
|
11372
|
+
* (shared with every other addon declaring the same group);
|
|
11373
|
+
* - no `group` declared → the runner id is the addon id itself
|
|
11374
|
+
* (its own dedicated runner — one addon, one process).
|
|
11375
|
+
*
|
|
11376
|
+
* The runner's Moleculer nodeID is `${parentNodeId}/${runnerId}`.
|
|
11377
|
+
*/
|
|
11378
|
+
function resolveRunnerId(decl, addonId) {
|
|
11379
|
+
return decl.execution?.group ?? addonId;
|
|
11380
|
+
}
|
|
11381
|
+
/**
|
|
11289
11382
|
* Adoption job — the background form of `device-adoption.adopt`.
|
|
11290
11383
|
*
|
|
11291
11384
|
* ## Why this exists
|
|
@@ -54808,6 +54901,7 @@ var coreBlocksCapability = {
|
|
|
54808
54901
|
* Sub-surface gating paired with `DeviceFeature` flags:
|
|
54809
54902
|
* - `CoverPositionable` — intermediate `position` slider
|
|
54810
54903
|
* - `CoverTilt` — slat-tilt slider
|
|
54904
|
+
* - `CoverStoppable` — the `stop` control (a no-op `stop` never declares it)
|
|
54811
54905
|
*/
|
|
54812
54906
|
var CoverStateSchema = zod.z.enum([
|
|
54813
54907
|
"open",
|
|
@@ -61771,6 +61865,11 @@ var IntegrationInstanceSchema = zod.z.object({
|
|
|
61771
61865
|
name: zod.z.string(),
|
|
61772
61866
|
/** The addon's own rule (an URL is present, a client id is present...). */
|
|
61773
61867
|
configured: zod.z.boolean(),
|
|
61868
|
+
/**
|
|
61869
|
+
* The instance's own on/off switch (D996): always present, derived from the record body
|
|
61870
|
+
* (`enabled !== false`, so a row written before the field existed is on).
|
|
61871
|
+
*/
|
|
61872
|
+
enabled: zod.z.boolean(),
|
|
61774
61873
|
/** Values for the instance form; a secret is a `SecretFieldView`, never text. */
|
|
61775
61874
|
formValues: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
61776
61875
|
status: IntegrationInstanceStatusSchema.optional()
|
|
@@ -61803,6 +61902,17 @@ var integrationInstancesCapability = {
|
|
|
61803
61902
|
kind: "mutation",
|
|
61804
61903
|
auth: "admin"
|
|
61805
61904
|
}),
|
|
61905
|
+
/**
|
|
61906
|
+
* Switch ONE instance on or off. A row control, not a form field: `updateInstance.values` is the
|
|
61907
|
+
* form patch (D62, D996). An off instance keeps its record and secrets and does no work.
|
|
61908
|
+
*/
|
|
61909
|
+
setInstanceEnabled: method(zod.z.object({
|
|
61910
|
+
id: IntegrationInstanceIdSchema,
|
|
61911
|
+
enabled: zod.z.boolean()
|
|
61912
|
+
}), zod.z.object({ ok: zod.z.literal(true) }), {
|
|
61913
|
+
kind: "mutation",
|
|
61914
|
+
auth: "admin"
|
|
61915
|
+
}),
|
|
61806
61916
|
/** Delete the record and its keychain refs together. */
|
|
61807
61917
|
deleteInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), zod.z.object({ ok: zod.z.literal(true) }), {
|
|
61808
61918
|
kind: "mutation",
|
|
@@ -61815,8 +61925,7 @@ var integrationInstancesCapability = {
|
|
|
61815
61925
|
kind: "mutation",
|
|
61816
61926
|
auth: "admin"
|
|
61817
61927
|
})
|
|
61818
|
-
}
|
|
61819
|
-
mount: { kind: "skip" }
|
|
61928
|
+
}
|
|
61820
61929
|
};
|
|
61821
61930
|
/**
|
|
61822
61931
|
* Two-way audio / talk-back cap. Clients open a WebRTC audio-only
|
|
@@ -75016,7 +75125,14 @@ var NcMediaPolicySchema = zod.z.object({
|
|
|
75016
75125
|
*/
|
|
75017
75126
|
profile: CamProfileSchema.optional(),
|
|
75018
75127
|
/** See {@link NcLinkedCameraModeSchema}. */
|
|
75019
|
-
linkedCameras: NcLinkedCameraModeSchema.optional()
|
|
75128
|
+
linkedCameras: NcLinkedCameraModeSchema.optional(),
|
|
75129
|
+
/**
|
|
75130
|
+
* Sensor rules only: may this rule wake a SLEEPING battery camera to take
|
|
75131
|
+
* the linked still it attaches (D998)? Absent means yes, an explicit `false`
|
|
75132
|
+
* opts out. Deliberately not a Zod default: a rule that never chose keeps
|
|
75133
|
+
* following the hub's. One bounded wake per event; nothing is attached later.
|
|
75134
|
+
*/
|
|
75135
|
+
wakeSleepingCamera: zod.z.boolean().optional()
|
|
75020
75136
|
});
|
|
75021
75137
|
/**
|
|
75022
75138
|
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
@@ -85570,10 +85686,12 @@ var snapshotCapability = {
|
|
|
85570
85686
|
* even when the cache is well within the device's
|
|
85571
85687
|
* `snapshotMaxAgeS` window.
|
|
85572
85688
|
*
|
|
85573
|
-
* **`force` is
|
|
85689
|
+
* **`force` is a demand with a named principal, not a freshness
|
|
85690
|
+
* preference** — an operator button, the scheduled refresh (D847), or a
|
|
85691
|
+
* notification rule that left the camera's wake allowed (D998). On a
|
|
85574
85692
|
* battery camera it is the one thing that walks past the wrapper's
|
|
85575
|
-
* sleep gate and wakes the camera, so a
|
|
85576
|
-
*
|
|
85693
|
+
* sleep gate and wakes the camera, so a poller, a thumbnail or a
|
|
85694
|
+
* prestream must NEVER set it. Every such caller
|
|
85577
85695
|
* gets the cached frame, which on a sleeping battery camera is the
|
|
85578
85696
|
* correct answer: stale but honest beats woken.
|
|
85579
85697
|
*/
|
|
@@ -92232,7 +92350,7 @@ var ACTUATOR_METHODS = {
|
|
|
92232
92350
|
cover: [
|
|
92233
92351
|
row$1("cover", "open"),
|
|
92234
92352
|
row$1("cover", "close"),
|
|
92235
|
-
row$1("cover", "stop"),
|
|
92353
|
+
row$1("cover", "stop", DeviceFeature.CoverStoppable),
|
|
92236
92354
|
row$1("cover", "setPosition", DeviceFeature.CoverPositionable),
|
|
92237
92355
|
row$1("cover", "setTiltPosition", DeviceFeature.CoverTilt)
|
|
92238
92356
|
],
|
|
@@ -97595,6 +97713,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
97595
97713
|
access: "view",
|
|
97596
97714
|
role: "admin"
|
|
97597
97715
|
},
|
|
97716
|
+
"integrationInstances.setInstanceEnabled": {
|
|
97717
|
+
capName: "integration-instances",
|
|
97718
|
+
capScope: "system",
|
|
97719
|
+
addonId: null,
|
|
97720
|
+
access: "create",
|
|
97721
|
+
role: "admin"
|
|
97722
|
+
},
|
|
97598
97723
|
"integrationInstances.testInstance": {
|
|
97599
97724
|
capName: "integration-instances",
|
|
97600
97725
|
capScope: "system",
|
|
@@ -112026,6 +112151,12 @@ Object.defineProperty(exports, "resolveNotificationTapAddress", {
|
|
|
112026
112151
|
return resolveNotificationTapAddress;
|
|
112027
112152
|
}
|
|
112028
112153
|
});
|
|
112154
|
+
Object.defineProperty(exports, "resolveRunnerId", {
|
|
112155
|
+
enumerable: true,
|
|
112156
|
+
get: function() {
|
|
112157
|
+
return resolveRunnerId;
|
|
112158
|
+
}
|
|
112159
|
+
});
|
|
112029
112160
|
Object.defineProperty(exports, "resolveSecretMarkers", {
|
|
112030
112161
|
enumerable: true,
|
|
112031
112162
|
get: function() {
|
|
@@ -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-DNE7RTcS.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-CEi8PqMh.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
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Ys as userError } from "./dist-C5sQPOZX.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-BtTMjLgk.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";
|
|
@@ -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-Cyc4oyGh.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-CNf7_i1z.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");
|