@dominevo/types 0.1.0 → 0.1.2
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 +15 -0
- package/dist/addon/base-addon.d.ts +2 -16
- package/dist/addon.d.ts +4 -4
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/app-bridge.d.ts +16 -16
- package/dist/auth/app-callback.d.ts +2 -3
- package/dist/auth/credential-scope.d.ts +1 -1
- package/dist/auth/device-certificate.d.ts +5 -5
- package/dist/auth/sso-state.d.ts +1 -1
- package/dist/brokers/smtp-inbound.d.ts +1 -1
- package/dist/cap-call-context.d.ts +2 -2
- package/dist/capabilities/backup.cap.d.ts +1 -1
- package/dist/capabilities/capability-definition.d.ts +1 -1
- package/dist/capabilities/custom-model-registry.cap.d.ts +8 -8
- package/dist/capabilities/display-palette.cap.d.ts +2 -2
- package/dist/capabilities/hub-address.d.ts +5 -5
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/keychain-admin.cap.d.ts +2 -2
- package/dist/capabilities/load-contribution.cap.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +2 -2
- package/dist/capabilities/metrics-provider.cap.d.ts +1 -1
- package/dist/capabilities/migrations.cap.d.ts +1 -1
- package/dist/capabilities/model-convert.cap.d.ts +2 -2
- package/dist/capabilities/model-distributor.cap.d.ts +4 -4
- package/dist/capabilities/notification-rules.cap.d.ts +1 -1
- package/dist/capabilities/oauth-integration.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +1 -1
- package/dist/capabilities/pipeline-runner.cap.d.ts +1 -1
- package/dist/capabilities/recording.cap.d.ts +5 -5
- package/dist/capabilities/reserved-collection-sources.d.ts +1 -1
- package/dist/capabilities/server-management.cap.d.ts +4 -4
- package/dist/capabilities/settings-store.cap.d.ts +1 -1
- package/dist/capabilities/training.cap.d.ts +1 -1
- package/dist/capabilities/user-management.cap.d.ts +8 -2
- package/dist/capabilities/videoclips.cap.d.ts +5 -5
- package/dist/capabilities/viewer-link-url.d.ts +6 -6
- package/dist/catalogs/display-palette-tables.d.ts +2 -2
- package/dist/catalogs/display-palette.d.ts +3 -3
- package/dist/catalogs/palette-entries.d.ts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +19 -27
- package/dist/client.mjs +19 -27
- package/dist/constants.d.ts +2 -2
- package/dist/deps/edgetpu-delegate.d.ts +4 -4
- package/dist/deps/ffmpeg-binary-source.d.ts +2 -2
- package/dist/deps/ffmpeg-downloader.d.ts +1 -1
- package/dist/device/icon-catalog.generated.d.ts +2 -5
- package/dist/enums/event-category.d.ts +2 -2
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/esm/addon/base-addon.mjs +2 -22
- package/dist/esm/addon/notification-targets.mjs +1 -1
- package/dist/esm/addon/record-integration-instances.mjs +2 -2
- package/dist/esm/addon.mjs +1 -1
- package/dist/esm/app-bridge.mjs +2 -2
- package/dist/esm/auth/app-callback.mjs +3 -9
- package/dist/esm/auth/credential-scope.mjs +2 -2
- package/dist/esm/auth/device-certificate.mjs +6 -11
- package/dist/esm/auth/sso-state.mjs +1 -1
- package/dist/esm/brokers/smtp-inbound.mjs +1 -1
- package/dist/esm/cap-call-context.mjs +2 -2
- package/dist/esm/capabilities/backup.cap.mjs +1 -1
- package/dist/esm/capabilities/custom-model-registry.cap.mjs +1 -1
- package/dist/esm/capabilities/device-export.cap.mjs +1 -1
- package/dist/esm/capabilities/face-gallery.cap.mjs +1 -1
- package/dist/esm/capabilities/hub-address.mjs +8 -8
- package/dist/esm/capabilities/ir-transmitter.cap.mjs +1 -1
- package/dist/esm/capabilities/keychain-admin.cap.mjs +2 -2
- package/dist/esm/capabilities/load-contribution.cap.mjs +1 -1
- package/dist/esm/capabilities/local-network.cap.mjs +3 -3
- package/dist/esm/capabilities/mesh-network.cap.mjs +2 -2
- package/dist/esm/capabilities/metrics-provider.cap.mjs +2 -2
- package/dist/esm/capabilities/migrations.cap.mjs +1 -1
- package/dist/esm/capabilities/notification-rules.cap.mjs +1 -1
- package/dist/esm/capabilities/oauth-integration.cap.mjs +1 -1
- package/dist/esm/capabilities/pipeline-orchestrator.cap.mjs +2 -2
- package/dist/esm/capabilities/pipeline-runner.cap.mjs +2 -2
- package/dist/esm/capabilities/recording.cap.mjs +7 -7
- package/dist/esm/capabilities/reserved-collection-sources.mjs +1 -1
- package/dist/esm/capabilities/server-management.cap.mjs +4 -4
- package/dist/esm/capabilities/settings-store.cap.mjs +1 -1
- package/dist/esm/capabilities/sso-bridge.cap.mjs +1 -1
- package/dist/esm/capabilities/training-provider.cap.mjs +1 -1
- package/dist/esm/capabilities/user-management.cap.mjs +5 -1
- package/dist/esm/capabilities/videoclips.cap.mjs +6 -6
- package/dist/esm/capabilities/viewer-link-url.mjs +5 -5
- package/dist/esm/catalogs/display-palette-tables.mjs +3 -3
- package/dist/esm/catalogs/display-palette.mjs +6 -6
- package/dist/esm/catalogs/event-taxonomy.mjs +2 -2
- package/dist/esm/catalogs/palette-entries.mjs +1 -1
- package/dist/esm/constants.mjs +1 -1
- package/dist/esm/deps/binary-downloader.mjs +1 -1
- package/dist/esm/deps/edgetpu-delegate.mjs +6 -6
- package/dist/esm/deps/ffmpeg-artifacts.mjs +1 -1
- package/dist/esm/deps/ffmpeg-binary-source.mjs +2 -2
- package/dist/esm/deps/ffmpeg-downloader.mjs +1 -1
- package/dist/esm/deps/python-downloader.mjs +1 -1
- package/dist/esm/device/icon-catalog.generated.mjs +2 -5
- package/dist/esm/enums/event-category.mjs +2 -2
- package/dist/esm/ffmpeg/egress-sharing-key.mjs +19 -0
- package/dist/esm/ffmpeg/sharing-key.mjs +1 -35
- package/dist/esm/generated/method-descriptions.mjs +4 -4
- package/dist/esm/generated/scope-presets.mjs +1 -1
- package/dist/esm/i18n/{camstack-error.mjs → dominevo-error.mjs} +5 -5
- package/dist/esm/index.mjs +7 -8
- package/dist/esm/interfaces/addon-data-plane.mjs +2 -2
- package/dist/esm/interfaces/config-ui-secrets.mjs +1 -1
- package/dist/esm/interfaces/storage-location-declaration.mjs +4 -4
- package/dist/esm/keychain/known-secrets.mjs +1 -1
- package/dist/esm/keychain/secret-marker.mjs +1 -1
- package/dist/esm/node.mjs +5 -2
- package/dist/esm/notification/email-mime.mjs +2 -2
- package/dist/esm/notification/scope-picker-items.mjs +3 -3
- package/dist/esm/pipeline/native-lease.mjs +1 -1
- package/dist/esm/pipeline/node-benchmark/schemas.mjs +1 -1
- package/dist/esm/records/errors.mjs +1 -1
- package/dist/esm/records/in-memory-records-rows.mjs +1 -1
- package/dist/esm/records/secret-views.mjs +1 -1
- package/dist/esm/storage/atomic-write.mjs +1 -1
- package/dist/esm/storage/filesystem-storage-provider.mjs +3 -3
- package/dist/esm/template/automation-template.mjs +1 -1
- package/dist/esm/training/trainer-contract.mjs +10 -10
- package/dist/esm/treeshake-canary.mjs +1 -1
- package/dist/esm/types/models.mjs +7 -7
- package/dist/esm/util/models-dir.mjs +19 -0
- package/dist/esm/utils/pool-memory-watchdog.mjs +8 -8
- package/dist/esm/vendor-login-proxy/login-proxy.mjs +1 -1
- package/dist/esm/vendor-login-proxy/url-rewrite.mjs +1 -1
- package/dist/{event-category-7IiGF_Ui.mjs → event-category-CwprdwEL.mjs} +2 -2
- package/dist/{event-category-BJe9O5KZ.js → event-category-DhlUHlM5.js} +2 -2
- package/dist/ffmpeg/egress-sharing-key.d.ts +19 -0
- package/dist/ffmpeg/sharing-key.d.ts +19 -12
- package/dist/generated/addon-api.d.ts +40 -6
- package/dist/i18n/{camstack-error.d.ts → dominevo-error.d.ts} +2 -2
- package/dist/index.d.ts +3 -4
- package/dist/index.js +141 -330
- package/dist/index.mjs +134 -320
- package/dist/interfaces/addon-data-plane.d.ts +4 -4
- package/dist/interfaces/addon.d.ts +11 -11
- package/dist/interfaces/analysis.d.ts +2 -2
- package/dist/interfaces/capability.d.ts +1 -1
- package/dist/interfaces/config-ui-secrets.d.ts +1 -1
- package/dist/interfaces/context.d.ts +2 -2
- package/dist/interfaces/detection-addon.d.ts +2 -2
- package/dist/interfaces/device-provider.d.ts +2 -2
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/interfaces/kernel-abstractions.d.ts +1 -1
- package/dist/interfaces/storage-location-declaration.d.ts +1 -1
- package/dist/node.d.ts +3 -0
- package/dist/node.js +168 -13
- package/dist/node.mjs +164 -13
- package/dist/notification/scope-picker-items.d.ts +2 -2
- package/dist/{runtime-capabilities-B9CE8DzI.js → runtime-capabilities-Db29ELdy.js} +26 -46
- package/dist/{runtime-capabilities-CAGwQ-Ec.mjs → runtime-capabilities-Dg5DXZkO.mjs} +21 -41
- package/dist/storage/filesystem-storage-provider.d.ts +1 -1
- package/dist/template/automation-template.d.ts +2 -2
- package/dist/training/trainer-contract.d.ts +9 -9
- package/dist/treeshake-canary.d.ts +3 -3
- package/dist/types/agent-pipeline-settings.d.ts +1 -1
- package/dist/types/models.d.ts +11 -11
- package/dist/util/models-dir.d.ts +10 -0
- package/dist/utils/pool-memory-watchdog.d.ts +1 -1
- package/dist/{wake-on-lan-BocEJPCO.js → wake-on-lan-CAbNKvo9.js} +62 -34
- package/dist/{wake-on-lan-Dm-fxZ7N.mjs → wake-on-lan-DqbzeHhm.mjs} +57 -35
- package/package.json +4 -4
|
@@ -156,7 +156,7 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
156
156
|
modifications: z.ZodOptional<z.ZodString>;
|
|
157
157
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
158
158
|
"built-in": "built-in";
|
|
159
|
-
"
|
|
159
|
+
"dominevo-hf": "dominevo-hf";
|
|
160
160
|
"third-party": "third-party";
|
|
161
161
|
}>>;
|
|
162
162
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -175,8 +175,8 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
175
175
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
176
176
|
}, z.core.$strip>>;
|
|
177
177
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
178
|
-
camstack: "camstack";
|
|
179
178
|
custom: "custom";
|
|
179
|
+
dominevo: "dominevo";
|
|
180
180
|
frigate: "frigate";
|
|
181
181
|
scrypted: "scrypted";
|
|
182
182
|
}>>;
|
|
@@ -384,7 +384,7 @@ export declare const modelDistributorCapability: {
|
|
|
384
384
|
modifications: z.ZodOptional<z.ZodString>;
|
|
385
385
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
386
386
|
"built-in": "built-in";
|
|
387
|
-
"
|
|
387
|
+
"dominevo-hf": "dominevo-hf";
|
|
388
388
|
"third-party": "third-party";
|
|
389
389
|
}>>;
|
|
390
390
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -403,8 +403,8 @@ export declare const modelDistributorCapability: {
|
|
|
403
403
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
404
404
|
}, z.core.$strip>>;
|
|
405
405
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
406
|
-
camstack: "camstack";
|
|
407
406
|
custom: "custom";
|
|
407
|
+
dominevo: "dominevo";
|
|
408
408
|
frigate: "frigate";
|
|
409
409
|
scrypted: "scrypted";
|
|
410
410
|
}>>;
|
|
@@ -2016,7 +2016,7 @@ export type NcRulePatch = z.infer<typeof NcRulePatchSchema>;
|
|
|
2016
2016
|
* Keys an older client may still name in `clear` (D692 §2.3). Accepted so its saves are never
|
|
2017
2017
|
* refused. They are no longer rule fields: `NcRuleStore.update` only strips them from the
|
|
2018
2018
|
* STORED row, and `NcRuleStore.load` projects what a stored row still carries (D692 §9).
|
|
2019
|
-
* Removed one release after the viewer pin in
|
|
2019
|
+
* Removed one release after the viewer pin in dominevo-server stops sending them.
|
|
2020
2020
|
*/
|
|
2021
2021
|
export declare const NC_RULE_RETIRED_CLEAR_KEYS: readonly ['waitForEnhancement', 'groupIdleSec'];
|
|
2022
2022
|
/**
|
|
@@ -15,7 +15,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
15
15
|
* `oauth2-routes.ts` ([D101](../../../../docs/decisions/adr-0101.md)). Three
|
|
16
16
|
* steps, no others:
|
|
17
17
|
*
|
|
18
|
-
* 1. Add `{ "name": "oauth-integration" }` to the addon's `
|
|
18
|
+
* 1. Add `{ "name": "oauth-integration" }` to the addon's `dominevo.addons[]`
|
|
19
19
|
* manifest entry. This is also what tells the hub, at addon-LOAD time, that
|
|
20
20
|
* a descriptor is owed — see "the boot window" below.
|
|
21
21
|
* 2. Return a provider from `onInitialize()`:
|
|
@@ -209,8 +209,8 @@ declare const PipelineModelOptionSchema: z.ZodObject<{
|
|
|
209
209
|
}, z.core.$strip>>;
|
|
210
210
|
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
211
211
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
212
|
-
camstack: "camstack";
|
|
213
212
|
custom: "custom";
|
|
213
|
+
dominevo: "dominevo";
|
|
214
214
|
frigate: "frigate";
|
|
215
215
|
scrypted: "scrypted";
|
|
216
216
|
}>>;
|
|
@@ -298,8 +298,8 @@ declare const PipelineAddonSchemaSchema: z.ZodObject<{
|
|
|
298
298
|
}, z.core.$strip>>;
|
|
299
299
|
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
300
300
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
301
|
-
camstack: "camstack";
|
|
302
301
|
custom: "custom";
|
|
302
|
+
dominevo: "dominevo";
|
|
303
303
|
frigate: "frigate";
|
|
304
304
|
scrypted: "scrypted";
|
|
305
305
|
}>>;
|
|
@@ -411,8 +411,8 @@ declare const PipelineSlotSchemaSchema: z.ZodObject<{
|
|
|
411
411
|
}, z.core.$strip>>;
|
|
412
412
|
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
413
413
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
414
|
-
camstack: "camstack";
|
|
415
414
|
custom: "custom";
|
|
415
|
+
dominevo: "dominevo";
|
|
416
416
|
frigate: "frigate";
|
|
417
417
|
scrypted: "scrypted";
|
|
418
418
|
}>>;
|
|
@@ -560,8 +560,8 @@ declare const PipelineSchemaSchema: z.ZodObject<{
|
|
|
560
560
|
}, z.core.$strip>>;
|
|
561
561
|
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
562
562
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
563
|
-
camstack: "camstack";
|
|
564
563
|
custom: "custom";
|
|
564
|
+
dominevo: "dominevo";
|
|
565
565
|
frigate: "frigate";
|
|
566
566
|
scrypted: "scrypted";
|
|
567
567
|
}>>;
|
|
@@ -910,8 +910,8 @@ export declare const pipelineExecutorCapability: {
|
|
|
910
910
|
}, z.core.$strip>>;
|
|
911
911
|
legacy: z.ZodOptional<z.ZodBoolean>;
|
|
912
912
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
913
|
-
camstack: "camstack";
|
|
914
913
|
custom: "custom";
|
|
914
|
+
dominevo: "dominevo";
|
|
915
915
|
frigate: "frigate";
|
|
916
916
|
scrypted: "scrypted";
|
|
917
917
|
}>>;
|
|
@@ -1326,7 +1326,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Set (or clear) the operator override for the LAN host a cross-node
|
|
1328
1328
|
* decoder dials to reach this node's restream. Pass a non-empty string to
|
|
1329
|
-
* override the auto-detected address (the runner's `
|
|
1329
|
+
* override the auto-detected address (the runner's `DOMINEVO_HUB_URL`
|
|
1330
1330
|
* default); pass `null` or an empty string to clear it and revert to
|
|
1331
1331
|
* auto-detect. Applied on the next dispatch cycle — takes effect for new
|
|
1332
1332
|
* cross-node attaches; existing attaches keep their current host until
|
|
@@ -315,7 +315,7 @@ export type ReportMotionInput = z.infer<typeof ReportMotionInputSchema>;
|
|
|
315
315
|
* pull-mode decoder session pinned to its own node. The shm ring stays
|
|
316
316
|
* node-local; only H.264/H.265 packets cross the wire.
|
|
317
317
|
* `hubHostnameOverride` mirrors the recorder's `recordingHubHostname`:
|
|
318
|
-
* when set it overrides the `
|
|
318
|
+
* when set it overrides the `DOMINEVO_HUB_URL`-derived host the runner
|
|
319
319
|
* dials for the owner's restream.
|
|
320
320
|
*/
|
|
321
321
|
export declare const RunnerFrameSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* ## The default is OURS, and there is nowhere to say otherwise
|
|
24
24
|
*
|
|
25
|
-
* {@link
|
|
25
|
+
* {@link RECORDING_SOURCE_DOMINEVO} is RESERVED. The absence of an operator
|
|
26
26
|
* choice MEANS that value; it is not a row that happened to sort first. Clips
|
|
27
27
|
* end their resolver with `?? sources[0]` and that is right for clips — a
|
|
28
28
|
* camera full of onboard clips that says "no clips" is the defect that work
|
|
@@ -51,15 +51,15 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
51
51
|
* `listSources`, and the absence of an operator choice MEANS this value.
|
|
52
52
|
*
|
|
53
53
|
* Reserved is ENFORCED, not requested — `device-collection-dispatch.ts` drops a
|
|
54
|
-
* row spelling it from any addon but {@link
|
|
54
|
+
* row spelling it from any addon but {@link RECORDING_SOURCE_DOMINEVO_ADDON},
|
|
55
55
|
* naming the impostor, and `scripts/check-reserved-collection-sources.ts`
|
|
56
56
|
* fails CI on a provider package that spells it at all. A rule nothing checks
|
|
57
57
|
* has already been broken somewhere.
|
|
58
58
|
*/
|
|
59
|
-
export declare const
|
|
60
|
-
/** The one addon allowed to serve {@link
|
|
59
|
+
export declare const RECORDING_SOURCE_DOMINEVO = "dominevo";
|
|
60
|
+
/** The one addon allowed to serve {@link RECORDING_SOURCE_DOMINEVO}: the
|
|
61
61
|
* recorder, which is the addon that writes the footage (D560). */
|
|
62
|
-
export declare const
|
|
62
|
+
export declare const RECORDING_SOURCE_DOMINEVO_ADDON = "recorder";
|
|
63
63
|
export declare const RecordingRangeSchema: z.ZodObject<{
|
|
64
64
|
profile: z.ZodString;
|
|
65
65
|
startMs: z.ZodNumber;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* `recording`'s default is ours, always (the operator's ruling, 2026-09-24).
|
|
9
9
|
* The way that is made structural rather than a sort order is a RESERVED id:
|
|
10
|
-
* the absence of an operator choice MEANS `
|
|
10
|
+
* the absence of an operator choice MEANS `dominevo`, so a surface never needs
|
|
11
11
|
* a "first row" fallback and there is nowhere to put one. `clip-sources.ts`
|
|
12
12
|
* ends with `?? sources[0]`, and `videoclips.listSources` on 592 answers the
|
|
13
13
|
* ONBOARD row first — for clips that fallback was argued for, for a timeline it
|
|
@@ -60,7 +60,7 @@ declare const ServerUpdateStateSchema: z.ZodEnum<{
|
|
|
60
60
|
* deliver today. `applyServerUpdate` swaps the data-root closure and NEVER
|
|
61
61
|
* touches the image, so `runningVersion` can be perfectly current while the
|
|
62
62
|
* container is weeks old, from a renamed repository nothing rebuilds — which
|
|
63
|
-
* is exactly what happened on 2026-08-02 (hub on `
|
|
63
|
+
* is exactly what happened on 2026-08-02 (hub on `dominevo-server:intel-1.1.74`
|
|
64
64
|
* while every existing surface said "up to date"). The seed version is the one
|
|
65
65
|
* image fingerprint a container can see from inside (no docker socket).
|
|
66
66
|
*
|
|
@@ -108,16 +108,16 @@ declare const ImageContractSchema: z.ZodObject<{
|
|
|
108
108
|
*
|
|
109
109
|
* On 2026-08-02 `check-deployment-templates.ts` proved every day that the
|
|
110
110
|
* templates declared `ghcr.io/dominevo/dominevo:intel-latest` while the hub
|
|
111
|
-
* actually ran `
|
|
111
|
+
* actually ran `dominevo-server:intel-1.1.74` from a repository that had been
|
|
112
112
|
* renamed and received no builds. The declaration was right; reality was not;
|
|
113
|
-
* nothing compared them. A `
|
|
113
|
+
* nothing compared them. A `DOMINEVO_WRAPPER=docker` written into a template
|
|
114
114
|
* would be exactly that same declaration, so `kind` is NEVER an env var.
|
|
115
115
|
*
|
|
116
116
|
* What can honestly be observed from inside: `/.dockerenv` and `/proc/1/cgroup`
|
|
117
117
|
* (a container), and the platform (a Linux container cannot exist on darwin or
|
|
118
118
|
* win32). What cannot: that the node is a CHILD of an Electron main process —
|
|
119
119
|
* `process.versions.electron` is `undefined` in the child, so the only channel
|
|
120
|
-
* is `
|
|
120
|
+
* is `DOMINEVO_AGENT_APP_VERSION`, which the main process already writes
|
|
121
121
|
* (`packages/desktop/src/main.ts`). That one declaration is unavoidable, and it
|
|
122
122
|
* is marked as such on every row of {@link WrapperEvidenceSchema}.
|
|
123
123
|
*
|
|
@@ -84,7 +84,7 @@ declare const BulkRecordSchema: z.ZodObject<{
|
|
|
84
84
|
* The database FILES one `sqlite-settings` engine process owns (D851).
|
|
85
85
|
* Closed on purpose: a file is a thing the engine opens, backs up and gives a
|
|
86
86
|
* serving thread, so a new one is a code change, never a string a caller
|
|
87
|
-
* invents. `settings` is `
|
|
87
|
+
* invents. `settings` is `dominevo.db` and the default for every collection
|
|
88
88
|
* that names no file.
|
|
89
89
|
*/
|
|
90
90
|
declare const DataStoreDatabaseSchema: z.ZodEnum<{
|
|
@@ -1250,7 +1250,7 @@ export declare const trainingCapability: {
|
|
|
1250
1250
|
readonly getJobResult: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1251
1251
|
id: z.ZodString;
|
|
1252
1252
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
1253
|
-
schema: z.ZodLiteral<"
|
|
1253
|
+
schema: z.ZodLiteral<"dominevo.training-result/v1">;
|
|
1254
1254
|
jobKey: z.ZodString;
|
|
1255
1255
|
status: z.ZodEnum<{
|
|
1256
1256
|
failed: "failed";
|
|
@@ -252,7 +252,10 @@ declare const OauthSessionSummarySchema: z.ZodObject<{
|
|
|
252
252
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
253
253
|
}, z.core.$strip>], "type">>>;
|
|
254
254
|
createdAt: z.ZodNumber;
|
|
255
|
-
lastUsedAt: z.ZodNumber
|
|
255
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
256
|
+
lastUsedFrom: z.ZodNullable<z.ZodString>;
|
|
257
|
+
lastUsedClient: z.ZodNullable<z.ZodString>;
|
|
258
|
+
useCount: z.ZodNumber;
|
|
256
259
|
revokedAt: z.ZodNullable<z.ZodNumber>;
|
|
257
260
|
}, z.core.$strip>;
|
|
258
261
|
/**
|
|
@@ -979,7 +982,10 @@ export declare const userManagementCapability: {
|
|
|
979
982
|
includeLinked: z.ZodOptional<z.ZodBoolean>;
|
|
980
983
|
}, z.core.$strip>], "type">>>;
|
|
981
984
|
createdAt: z.ZodNumber;
|
|
982
|
-
lastUsedAt: z.ZodNumber
|
|
985
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
986
|
+
lastUsedFrom: z.ZodNullable<z.ZodString>;
|
|
987
|
+
lastUsedClient: z.ZodNullable<z.ZodString>;
|
|
988
|
+
useCount: z.ZodNumber;
|
|
983
989
|
revokedAt: z.ZodNullable<z.ZodNumber>;
|
|
984
990
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
985
991
|
/** Revoke one OAuth session so its tokens stop working. */
|
|
@@ -52,7 +52,7 @@ export declare const MAX_CLIP_LABELS = 3;
|
|
|
52
52
|
/**
|
|
53
53
|
* Every reason a still-mint route may refuse, as a TOKEN — never prose.
|
|
54
54
|
*
|
|
55
|
-
* The route also sends the prose (`x-
|
|
55
|
+
* The route also sends the prose (`x-dominevo-reason`), because a firmware's
|
|
56
56
|
* own words are the only thing that explains a `camera-refused`. But the token
|
|
57
57
|
* is what a surface may key a table on, and the code and the prose are
|
|
58
58
|
* separate headers precisely because they had been the same one: the route
|
|
@@ -91,7 +91,7 @@ export declare const ClipStillDispositionSchema: z.ZodEnum<{
|
|
|
91
91
|
}>;
|
|
92
92
|
export type ClipStillDisposition = z.infer<typeof ClipStillDispositionSchema>;
|
|
93
93
|
/** The camera's / provider's own words. Kept verbatim, never parsed. */
|
|
94
|
-
export declare const CLIP_STILL_REASON_HEADER = "x-
|
|
94
|
+
export declare const CLIP_STILL_REASON_HEADER = "x-dominevo-reason";
|
|
95
95
|
/** Longest reason a header carries. Beyond this the sentence is cut. */
|
|
96
96
|
export declare const CLIP_REASON_HEADER_MAX = 500;
|
|
97
97
|
/**
|
|
@@ -118,9 +118,9 @@ export declare const CLIP_REASON_HEADER_MAX = 500;
|
|
|
118
118
|
*/
|
|
119
119
|
export declare function clipReasonHeaderValue(reason: string): string;
|
|
120
120
|
/** One {@link ClipStillRefusalCodeSchema} token, alone. */
|
|
121
|
-
export declare const CLIP_STILL_REASON_CODE_HEADER = "x-
|
|
121
|
+
export declare const CLIP_STILL_REASON_CODE_HEADER = "x-dominevo-reason-code";
|
|
122
122
|
/** One {@link ClipStillDispositionSchema} token, alone. */
|
|
123
|
-
export declare const CLIP_STILL_DISPOSITION_HEADER = "x-
|
|
123
|
+
export declare const CLIP_STILL_DISPOSITION_HEADER = "x-dominevo-disposition";
|
|
124
124
|
/**
|
|
125
125
|
* The clip STREAM route's own statement of what it is (D597): the value is
|
|
126
126
|
* `forward-only`. A producer writes it on the 200; a consumer that dials a
|
|
@@ -129,7 +129,7 @@ export declare const CLIP_STILL_DISPOSITION_HEADER = "x-camstack-disposition";
|
|
|
129
129
|
* Named here because BOTH the provider and the broker spell it, and two
|
|
130
130
|
* copies of a header name is how one of them stops being checked.
|
|
131
131
|
*/
|
|
132
|
-
export declare const CLIP_STREAM_TRANSPORT_HEADER = "x-
|
|
132
|
+
export declare const CLIP_STREAM_TRANSPORT_HEADER = "x-dominevo-clip-transport";
|
|
133
133
|
export declare const ClipSchema: z.ZodObject<{
|
|
134
134
|
id: z.ZodString;
|
|
135
135
|
source: z.ZodString;
|
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
* notifications on the admin Network page (`local-network`'s notification
|
|
8
8
|
* endpoint — one flag, one store). Among the addresses that page lists,
|
|
9
9
|
* `local-network` adds one generic entry: the app link,
|
|
10
|
-
* `https://
|
|
10
|
+
* `https://viewer.dominevo.app`, and that entry carries the flag BY DEFAULT.
|
|
11
11
|
* Two forms follow from which address is flagged:
|
|
12
12
|
*
|
|
13
13
|
* - `app` — the app link is flagged:
|
|
14
|
-
* `https://
|
|
14
|
+
* `https://viewer.dominevo.app/<path>?<query>&hub=<hub origin>`. The central
|
|
15
15
|
* domain the native app claims as a Universal Link / App Link
|
|
16
16
|
* (docs/design/2026-08-19-central-link-redirect.md): on a phone with the app
|
|
17
17
|
* it opens the app on that page; anywhere else the hosted viewer opens and
|
|
18
18
|
* `hub=` tells it which hub to talk to. `hub=` is filled automatically from
|
|
19
19
|
* the hub's own best public HTTPS address ({@link pickAppLinkHub}).
|
|
20
20
|
* - `hub` — one of the hub's own addresses is flagged:
|
|
21
|
-
* `<hub base>/viewer/
|
|
21
|
+
* `<hub base>/viewer/dominevo/<path>?<query>` (the pre-D709 form).
|
|
22
22
|
*
|
|
23
23
|
* The paths are the viewer's own routes, verbatim (§2.3 of that design), and
|
|
24
|
-
* only the families the app claims in its AASA (`
|
|
24
|
+
* only the families the app claims in its AASA (`dominevo/web-server/
|
|
25
25
|
* app-links.ts`): `/camera/*`, `/events*`, `/notifications*`. A destination
|
|
26
26
|
* is a typed union rather than a free path so a caller cannot mint a central
|
|
27
27
|
* link the domain would 404.
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
*/
|
|
34
34
|
import type { ConnectionEndpoint } from './local-network.cap.js';
|
|
35
35
|
/** The central link domain the viewer app claims (Universal Links / App Links). */
|
|
36
|
-
export declare const
|
|
36
|
+
export declare const DOMINEVO_APP_LINK_ORIGIN = "https://viewer.dominevo.app";
|
|
37
37
|
/** Where the hub serves the viewer SPA. */
|
|
38
|
-
export declare const HUB_VIEWER_MOUNT = "/viewer/
|
|
38
|
+
export declare const HUB_VIEWER_MOUNT = "/viewer/dominevo";
|
|
39
39
|
/** Which form a viewer link takes — see the module header. */
|
|
40
40
|
export type ViewerLinkForm = 'hub' | 'app';
|
|
41
41
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Frozen palette tables (D939). The spec refuses a table that breaks the rule. */
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const DOMINEVO_HEX: {
|
|
3
3
|
readonly motion: '#d946ef';
|
|
4
4
|
readonly audio: '#059eb8';
|
|
5
5
|
readonly recording: '#ef4444';
|
|
@@ -55,7 +55,7 @@ export declare const CAMSTACK_HEX: {
|
|
|
55
55
|
readonly doorbell: '#0087ab';
|
|
56
56
|
readonly 'appliance-cycle': '#2a8c8c';
|
|
57
57
|
};
|
|
58
|
-
export declare const
|
|
58
|
+
export declare const DOMINEVO_FALLBACK: readonly ['#b34dc7', '#1d7d34', '#db6b6c', '#a43d29', '#0e6ee6', '#29a10b', '#a98731', '#0181c6'];
|
|
59
59
|
export declare const HIGH_CONTRAST_HEX: {
|
|
60
60
|
readonly motion: '#964360';
|
|
61
61
|
readonly audio: '#23a132';
|
|
@@ -63,7 +63,7 @@ export type PaletteVerdict = {
|
|
|
63
63
|
export declare const paletteReadySchema: z.ZodObject<{
|
|
64
64
|
status: z.ZodLiteral<"ready">;
|
|
65
65
|
presetId: z.ZodEnum<{
|
|
66
|
-
|
|
66
|
+
dominevo: "dominevo";
|
|
67
67
|
"high-contrast": "high-contrast";
|
|
68
68
|
"okabe-ito": "okabe-ito";
|
|
69
69
|
}>;
|
|
@@ -89,7 +89,7 @@ export declare const paletteUnknownSchema: z.ZodObject<{
|
|
|
89
89
|
export declare const paletteResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
90
90
|
status: z.ZodLiteral<"ready">;
|
|
91
91
|
presetId: z.ZodEnum<{
|
|
92
|
-
|
|
92
|
+
dominevo: "dominevo";
|
|
93
93
|
"high-contrast": "high-contrast";
|
|
94
94
|
"okabe-ito": "okabe-ito";
|
|
95
95
|
}>;
|
|
@@ -147,7 +147,7 @@ export interface DisplayPreset {
|
|
|
147
147
|
}
|
|
148
148
|
export declare const DISPLAY_PRESETS: readonly DisplayPreset[];
|
|
149
149
|
export declare function presetById(id: string): DisplayPreset | undefined;
|
|
150
|
-
export declare function
|
|
150
|
+
export declare function bundledDominevo(): PaletteReady;
|
|
151
151
|
export declare function swatchHex(swatch: PaletteSwatch): string;
|
|
152
152
|
/** Refuse a palette whose entries are not pairwise distinct on both themes. */
|
|
153
153
|
export declare function validatePalette(swatches: PaletteSwatchMap, fallbacks: readonly string[]): PaletteVerdict;
|
|
@@ -9,7 +9,7 @@ export declare const AUDIO_LEAF_PREFIX = "audio-";
|
|
|
9
9
|
/** Six rungs, quiet → loud. The opaque end is the entry's hex. */
|
|
10
10
|
export declare const AUDIO_GRADIENT_ALPHAS: readonly [0.3, 0.42, 0.55, 0.7, 0.85, 1];
|
|
11
11
|
export declare const PALETTE_FALLBACK_COUNT = 8;
|
|
12
|
-
export declare const PALETTE_PRESET_IDS: readonly ['
|
|
12
|
+
export declare const PALETTE_PRESET_IDS: readonly ['dominevo', 'high-contrast', 'okabe-ito'];
|
|
13
13
|
export type PalettePresetId = (typeof PALETTE_PRESET_IDS)[number];
|
|
14
14
|
export declare function isPaletteEntryId(id: string): id is PaletteEntryId;
|
|
15
15
|
export declare function isPalettePresetId(id: string): id is PalettePresetId;
|
package/dist/client.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* value this entry does not export — a missing name here is `undefined` at
|
|
15
15
|
* runtime, not a build error.
|
|
16
16
|
*/
|
|
17
|
-
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, AlarmArmModeSchema, CLIP_BROKER_PACED_RATES, COCO_TO_MACRO, CamProfileSchema, ICON_CATEGORIES, ICON_ENTRIES, ICON_KEYS, ICON_VIEWER_MODULES, IconKeySchema, LOCATION_ICON_FALLBACK, REMOTE_CUSTOM_ROLE_ICON, REMOTE_ROLE_VOCABULARY, DEFINITIVE_DEVICE_REFUSALS, DEVICE_CERT_RENEW_WINDOW_DAYS, DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE, DEVICE_REFRESH_REFUSAL_PREFIX, DEVICE_CERT_SIGNATURE, DEVICE_SIGNATURE_MESSAGE_VERSION, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DeviceType, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_TAXONOMY, MACRO_LABELS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_CLASS_SPECS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NcAlarmConfigSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcHistoryEntrySchema, NcRuleLastRunsSchema, NodeDirectorySchema, RECORDING_EXPORT_MAX_READ_BYTES, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, SystemMirror, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleSchema, YAMNET_TO_MACRO, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPatchLanded, canonicalIconKey, deviceIconKey, deviceTypeIconKey, buildDeviceEnrollmentLink, buildDeviceSignatureMessage, deviceRefusalFromMessage, isDefinitiveDeviceRefusal, classifyRetrainReview, conditionVisibleForKind, createSystemProxy, droppedConditionsForKind, iconCategoryLabel, iconEntry, iconsInCategory, isIconKey, isHeldBackTemplateVar, isSystemRuleKind, kindsForDiscriminator, locationIconKey, knownValues, nodePickerItems, parseDeviceEnrollmentLink, packagePickerItems, pickerForCondition, pickerForRuleClasses, parseRetrainRevisionConflict, remoteRoleIcon, remoteRoleLabel, remoteRoleLegend, resolveIconKey, resolveModeDelays, retrainBoxIou, retrainRevisionConflictMessage, ruleDeviceCompatCapNames, ruleEditorSectionsForKind, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleSeedForSection, searchIcons, sensorTransitionNeverFires, sensorTransitionOffered, stepActuatesAlarmPanel, stepPullsAlarmTrigger, stateLabel, summarizeReview, systemEventClassesFor, systemEventClassKinds, systemEventDeliveryProblems, systemEventFilterAppliesToAnyKind, systemEventKindsOfFamily, systemFamilyOfKind, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, buildSubjectPath, isDrawableSubjectPath, projectSubjectPath, subjectPathSampleFromBox, subjectPathSvgPoints, expandSystemEventClasses, withSystemEventClasses,
|
|
17
|
+
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, AlarmArmModeSchema, CLIP_BROKER_PACED_RATES, COCO_TO_MACRO, CamProfileSchema, ICON_CATEGORIES, ICON_ENTRIES, ICON_KEYS, ICON_VIEWER_MODULES, IconKeySchema, LOCATION_ICON_FALLBACK, REMOTE_CUSTOM_ROLE_ICON, REMOTE_ROLE_VOCABULARY, DEFINITIVE_DEVICE_REFUSALS, DEVICE_CERT_RENEW_WINDOW_DAYS, DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE, DEVICE_REFRESH_REFUSAL_PREFIX, DEVICE_CERT_SIGNATURE, DEVICE_SIGNATURE_MESSAGE_VERSION, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DeviceType, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_TAXONOMY, MACRO_LABELS, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CAMERA_SCOPE_CAP_NAME, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_SENSOR_TRANSITION_UNSUPPORTED_REASON, NC_SYSTEM_EVENT_FAMILY_FILTERS, NC_SYSTEM_EVENT_CLASS_SPECS, NC_SYSTEM_EVENT_KIND_GROUP_SPECS, NC_SYSTEM_EVENT_SUMMARY_FAMILIES, NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS, NC_TEMPLATE_VARS, NcAlarmConfigSchema, NcAlarmSensorsSchema, NcAlarmSettingsPatchSchema, NcHistoryEntrySchema, NcRuleLastRunsSchema, NodeDirectorySchema, RECORDING_EXPORT_MAX_READ_BYTES, RETRAIN_REVIEW_ADJUSTED_IOU, RETRAIN_REVIEW_MATCH_IOU, RETRAIN_REVIEW_STATUSES, RETRAIN_REVISION_CONFLICT, SystemMirror, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleSchema, YAMNET_TO_MACRO, alarmDeviceBlocksArming, alarmDeviceSecureOnArm, alarmPatchLanded, canonicalIconKey, deviceIconKey, deviceTypeIconKey, buildDeviceEnrollmentLink, buildDeviceSignatureMessage, deviceRefusalFromMessage, isDefinitiveDeviceRefusal, classifyRetrainReview, conditionVisibleForKind, createSystemProxy, droppedConditionsForKind, iconCategoryLabel, iconEntry, iconsInCategory, isIconKey, isHeldBackTemplateVar, isSystemRuleKind, kindsForDiscriminator, locationIconKey, knownValues, nodePickerItems, parseDeviceEnrollmentLink, packagePickerItems, pickerForCondition, pickerForRuleClasses, parseRetrainRevisionConflict, remoteRoleIcon, remoteRoleLabel, remoteRoleLegend, resolveIconKey, resolveModeDelays, retrainBoxIou, retrainRevisionConflictMessage, ruleDeviceCompatCapNames, ruleEditorSectionsForKind, ruleGroupingApplies, ruleKindOf, ruleKindSpec, ruleSeedForSection, searchIcons, sensorTransitionNeverFires, sensorTransitionOffered, stepActuatesAlarmPanel, stepPullsAlarmTrigger, stateLabel, summarizeReview, systemEventClassesFor, systemEventClassKinds, systemEventDeliveryProblems, systemEventFilterAppliesToAnyKind, systemEventKindsOfFamily, systemFamilyOfKind, templateCarriesSummary, templateVarDeliveryApplies, templateVarKindApplies, templateVarSystemEventApplies, buildSubjectPath, isDrawableSubjectPath, projectSubjectPath, subjectPathSampleFromBox, subjectPathSvgPoints, expandSystemEventClasses, withSystemEventClasses, bundledDominevo, paintHex, paletteResultSchema, CONTAINER_PRIMARY_CHILD_RULES, primaryChildPreferenceOf, resolveContainerPrimaryChild, } from './index.js';
|
|
18
18
|
export type { ContainerPrimaryChildPreference } from './index.js';
|
|
19
19
|
export type { PaletteReady, PaletteResult, PaletteEntryId, PalettePresetId } from './index.js';
|
|
20
20
|
export type { RemoteRoleVocabEntry, VocabLocale } from './index.js';
|
package/dist/client.js
CHANGED
|
@@ -614,11 +614,11 @@ method(zod.z.object({}), zod.z.array(TargetKindSchema)), method(zod.z.object({
|
|
|
614
614
|
//#region src/app-bridge.ts
|
|
615
615
|
/**
|
|
616
616
|
* The `postMessage` bridge between the viewer shell and an embedded app (D1096).
|
|
617
|
-
* Every message is `{
|
|
617
|
+
* Every message is `{ dominevo: 'app-bridge', v: 1, type, ... }`; anything else
|
|
618
618
|
* parses to `null` and is ignored.
|
|
619
619
|
*/
|
|
620
620
|
var Envelope = {
|
|
621
|
-
|
|
621
|
+
dominevo: zod.z.literal("app-bridge"),
|
|
622
622
|
v: zod.z.literal(1)
|
|
623
623
|
};
|
|
624
624
|
var ShellToAppMessageSchema = zod.z.discriminatedUnion("type", [
|
|
@@ -20221,10 +20221,7 @@ var ICON_META = [
|
|
|
20221
20221
|
], ["magnifying glass", "plus"]]
|
|
20222
20222
|
];
|
|
20223
20223
|
/** Keys whose viewer module (`lucide-react-native/icons/<module>`) is not the key. */
|
|
20224
|
-
var ICON_VIEWER_MODULES = {
|
|
20225
|
-
"text-select": "square-dashed-text",
|
|
20226
|
-
"waves": "waves-horizontal"
|
|
20227
|
-
};
|
|
20224
|
+
var ICON_VIEWER_MODULES = {};
|
|
20228
20225
|
/** Old spelling → canonical key, for ids both packages still accept. */
|
|
20229
20226
|
var ICON_ALIASES = {
|
|
20230
20227
|
"activity-square": "square-activity",
|
|
@@ -21680,7 +21677,7 @@ var AppLoginPathSchema = zod.z.discriminatedUnion("kind", [zod.z.object({ kind:
|
|
|
21680
21677
|
/** Signature algorithm of every device credential: ECDSA, curve P-256, SHA-256. */
|
|
21681
21678
|
var DEVICE_CERT_SIGNATURE = "ecdsa-p256-sha256";
|
|
21682
21679
|
/** First line of every signed message; a change of format bumps the version. */
|
|
21683
|
-
var DEVICE_SIGNATURE_MESSAGE_VERSION = "
|
|
21680
|
+
var DEVICE_SIGNATURE_MESSAGE_VERSION = "dominevo-device-cert-v1";
|
|
21684
21681
|
zod.z.enum([
|
|
21685
21682
|
"login",
|
|
21686
21683
|
"renew",
|
|
@@ -21690,7 +21687,7 @@ var DEVICE_CERT_RENEW_WINDOW_DAYS = 30;
|
|
|
21690
21687
|
/**
|
|
21691
21688
|
* The exact bytes a device signs (UTF-8, `\n` separators, no trailing newline):
|
|
21692
21689
|
*
|
|
21693
|
-
*
|
|
21690
|
+
* dominevo-device-cert-v1
|
|
21694
21691
|
* <login|renew>
|
|
21695
21692
|
* <origin> the hub origin returned by `getDeviceChallenge`
|
|
21696
21693
|
* <nonce>
|
|
@@ -21707,13 +21704,8 @@ function buildDeviceSignatureMessage(input) {
|
|
|
21707
21704
|
input.nonce
|
|
21708
21705
|
].join("\n");
|
|
21709
21706
|
}
|
|
21710
|
-
/** The app schemes an enrollment link may carry: the
|
|
21711
|
-
var ENROLLMENT_PROTOCOLS = [
|
|
21712
|
-
"dominevo:",
|
|
21713
|
-
"dominevo.dev:",
|
|
21714
|
-
"camstack:",
|
|
21715
|
-
"camstack.dev:"
|
|
21716
|
-
];
|
|
21707
|
+
/** The app schemes an enrollment link may carry: the app and its dev client. */
|
|
21708
|
+
var ENROLLMENT_PROTOCOLS = ["dominevo:", "dominevo.dev:"];
|
|
21717
21709
|
/** The deep link a QR carries: `dominevo://enroll?hub=<origin>&code=<code>`. */
|
|
21718
21710
|
function buildDeviceEnrollmentLink(input) {
|
|
21719
21711
|
const query = new URLSearchParams();
|
|
@@ -22470,14 +22462,14 @@ var AUDIO_GRADIENT_ALPHAS = [
|
|
|
22470
22462
|
1
|
|
22471
22463
|
];
|
|
22472
22464
|
var PALETTE_PRESET_IDS = [
|
|
22473
|
-
"
|
|
22465
|
+
"dominevo",
|
|
22474
22466
|
"high-contrast",
|
|
22475
22467
|
"okabe-ito"
|
|
22476
22468
|
];
|
|
22477
22469
|
//#endregion
|
|
22478
22470
|
//#region src/catalogs/display-palette-tables.ts
|
|
22479
22471
|
/** Frozen palette tables (D939). The spec refuses a table that breaks the rule. */
|
|
22480
|
-
var
|
|
22472
|
+
var DOMINEVO_HEX = {
|
|
22481
22473
|
motion: "#d946ef",
|
|
22482
22474
|
audio: "#059eb8",
|
|
22483
22475
|
recording: "#ef4444",
|
|
@@ -22533,7 +22525,7 @@ var CAMSTACK_HEX = {
|
|
|
22533
22525
|
doorbell: "#0087ab",
|
|
22534
22526
|
"appliance-cycle": "#2a8c8c"
|
|
22535
22527
|
};
|
|
22536
|
-
var
|
|
22528
|
+
var DOMINEVO_FALLBACK = [
|
|
22537
22529
|
"#b34dc7",
|
|
22538
22530
|
"#1d7d34",
|
|
22539
22531
|
"#db6b6c",
|
|
@@ -22745,15 +22737,15 @@ function preset(id, name, hexes, fallbacks) {
|
|
|
22745
22737
|
};
|
|
22746
22738
|
}
|
|
22747
22739
|
var DISPLAY_PRESETS = [
|
|
22748
|
-
preset("
|
|
22740
|
+
preset("dominevo", "Dominevo", DOMINEVO_HEX, DOMINEVO_FALLBACK),
|
|
22749
22741
|
preset("high-contrast", "High contrast", HIGH_CONTRAST_HEX, HIGH_CONTRAST_FALLBACK),
|
|
22750
22742
|
preset("okabe-ito", "Colour-blind safe", OKABE_ITO_HEX, OKABE_ITO_FALLBACK)
|
|
22751
22743
|
];
|
|
22752
22744
|
function presetById(id) {
|
|
22753
22745
|
return DISPLAY_PRESETS.find((item) => item.id === id);
|
|
22754
22746
|
}
|
|
22755
|
-
function
|
|
22756
|
-
const presetRow = presetById("
|
|
22747
|
+
function bundledDominevo() {
|
|
22748
|
+
const presetRow = presetById("dominevo");
|
|
22757
22749
|
if (presetRow === void 0) throw new Error("Dominevo preset missing");
|
|
22758
22750
|
return readyOf(presetRow, "unconfigured", false);
|
|
22759
22751
|
}
|
|
@@ -23493,7 +23485,7 @@ for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set
|
|
|
23493
23485
|
*
|
|
23494
23486
|
* Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
|
|
23495
23487
|
*/
|
|
23496
|
-
var BUNDLED_PALETTE =
|
|
23488
|
+
var BUNDLED_PALETTE = bundledDominevo();
|
|
23497
23489
|
function kindColor(kind) {
|
|
23498
23490
|
return paintHex(BUNDLED_PALETTE.swatches, BUNDLED_PALETTE.fallbacks, kind);
|
|
23499
23491
|
}
|
|
@@ -26126,7 +26118,7 @@ var ClipSchema = zod.z.object({
|
|
|
26126
26118
|
* A URL that MAY produce this clip's still, asked only for rows actually on
|
|
26127
26119
|
* screen. The opposite of {@link ClipSchema.thumbnail}: that one is VOUCHED
|
|
26128
26120
|
* (a JPEG is already on disk), this one is an offer. The route answers 200
|
|
26129
|
-
* with the image, or 204 with `x-
|
|
26121
|
+
* with the image, or 204 with `x-dominevo-reason` when it could not mint one
|
|
26130
26122
|
* — a surface latches that refusal to the instant rather than retrying.
|
|
26131
26123
|
*
|
|
26132
26124
|
* Never both: a clip with a vouched `thumbnail` needs no mint.
|
|
@@ -33850,17 +33842,17 @@ function nodePickerItems(nodes) {
|
|
|
33850
33842
|
* The kernel and builtins ship inside it, so there is no separate framework
|
|
33851
33843
|
* package to announce. `@dominevo/types` / `@dominevo/sdk` are framework
|
|
33852
33844
|
* packages for upload routing but are never announced, so they are NOT here.
|
|
33853
|
-
* - `
|
|
33845
|
+
* - `dominevo-wrapper` — `wrapper-update-available` (`WRAPPER_PACKAGE_NAME`,
|
|
33854
33846
|
* `wrapper-update-checker.ts`).
|
|
33855
33847
|
*
|
|
33856
33848
|
* Types cannot import those producers; the backend spec
|
|
33857
33849
|
* `core/updates/__tests__/update-event-package-names.spec.ts` pins each literal
|
|
33858
33850
|
* to its producer constant. This is a picker list, never a routing list.
|
|
33859
33851
|
*/
|
|
33860
|
-
var NC_UPDATE_EVENT_PACKAGE_NAMES = ["@dominevo/server", "
|
|
33852
|
+
var NC_UPDATE_EVENT_PACKAGE_NAMES = ["@dominevo/server", "dominevo-wrapper"];
|
|
33861
33853
|
var UPDATE_EVENT_PACKAGE_TYPE = {
|
|
33862
33854
|
"@dominevo/server": "server",
|
|
33863
|
-
"
|
|
33855
|
+
"dominevo-wrapper": "wrapper"
|
|
33864
33856
|
};
|
|
33865
33857
|
function isUpdateEventPackageName(name) {
|
|
33866
33858
|
return NC_UPDATE_EVENT_PACKAGE_NAMES.some((pinned) => pinned === name);
|
|
@@ -34425,7 +34417,7 @@ exports.alarmPatchLanded = alarmPatchLanded;
|
|
|
34425
34417
|
exports.buildDeviceEnrollmentLink = buildDeviceEnrollmentLink;
|
|
34426
34418
|
exports.buildDeviceSignatureMessage = buildDeviceSignatureMessage;
|
|
34427
34419
|
exports.buildSubjectPath = buildSubjectPath;
|
|
34428
|
-
exports.
|
|
34420
|
+
exports.bundledDominevo = bundledDominevo;
|
|
34429
34421
|
exports.canonicalIconKey = canonicalIconKey;
|
|
34430
34422
|
exports.classifyRetrainReview = classifyRetrainReview;
|
|
34431
34423
|
exports.conditionVisibleForKind = conditionVisibleForKind;
|