@dominevo/types 0.1.0 → 0.1.1
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 +8 -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 +1 -1
- 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/videoclips.cap.d.ts +5 -5
- package/dist/capabilities/viewer-link-url.d.ts +4 -4
- 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 +1 -1
- 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/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 +3 -3
- 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 +2 -2
- package/dist/i18n/{camstack-error.d.ts → dominevo-error.d.ts} +2 -2
- package/dist/index.d.ts +3 -4
- package/dist/index.js +133 -326
- package/dist/index.mjs +126 -316
- 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
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.1] - 2026-11-28
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Models, the trainer and the benchmark clips are now fetched from the Dominevo Hugging Face repos (Dominevo/dominevo-models, dominevo-trainer, dominevo-bench-clips)
|
|
15
|
+
- Environment variables are now named DOMINEVO_* (was CAMSTACK_*); the old names are no longer read, so rename them in your container template, compose file or shell.
|
|
16
|
+
- The browser entry no longer pulls Node built-ins: egressTranscodeSharingKey, calendarRecordId, moveCalendarIdsToRecords and resolveModelsDir now come from @dominevo/types/node; the protected BaseAddon.resolveModelsDir() method is removed (call resolveModelsDir(ctx.nodeDataDir))
|
|
17
|
+
|
|
10
18
|
## [0.1.0] - 2026-11-28
|
|
11
19
|
|
|
12
20
|
### Changed
|
|
@@ -578,20 +578,6 @@ export declare abstract class BaseAddon<TConfig extends object = Record<string,
|
|
|
578
578
|
* opt-out via `autoEmitReadiness` and emit manually).
|
|
579
579
|
*/
|
|
580
580
|
private emitReadinessForProviders;
|
|
581
|
-
/**
|
|
582
|
-
* Resolve the shared, node-local models directory: `<nodeDataDir>/models`.
|
|
583
|
-
*
|
|
584
|
-
* This is the SINGLE centralized models-dir resolver for every inference addon
|
|
585
|
-
* (detection-pipeline, audio-analyzer, embedding-encoder, model-studio). It is
|
|
586
|
-
* anchored at the node's own writable data root (`ctx.nodeDataDir`, i.e.
|
|
587
|
-
* `CAMSTACK_DATA` ?? the kernel boot dir) — never the hub-singleton `storage`
|
|
588
|
-
* cap, which returns the hub's `/data/models` to every node and breaks any node
|
|
589
|
-
* whose real data dir differs (e.g. the macOS electron agent).
|
|
590
|
-
*
|
|
591
|
-
* `node:path`/`node:fs` are imported dynamically so the `@dominevo/types` root
|
|
592
|
-
* barrel (re-exported into browser bundles) stays free of node builtins.
|
|
593
|
-
*/
|
|
594
|
-
protected resolveModelsDir(): Promise<string>;
|
|
595
581
|
/**
|
|
596
582
|
* Access the runtime capability registry for in-process provider lookups.
|
|
597
583
|
* Returns null if the registry is not available (e.g. on agents).
|
|
@@ -693,13 +679,13 @@ export declare abstract class BaseAddon<TConfig extends object = Record<string,
|
|
|
693
679
|
*/
|
|
694
680
|
export declare function classifyStoreError(err: unknown): 'restart' | 'transport' | 'permanent';
|
|
695
681
|
/**
|
|
696
|
-
* Normalize an `
|
|
682
|
+
* Normalize an `IDominevoAddon.initialize()` return value into the
|
|
697
683
|
* `AddonInitResult` envelope. Arrays are wrapped into `{ providers }`;
|
|
698
684
|
* envelopes pass through; void stays void.
|
|
699
685
|
*
|
|
700
686
|
* Exported so the kernel boot path and the backend addon registry can
|
|
701
687
|
* share the same normalizer instead of duplicating the shim. Addons that
|
|
702
688
|
* extend `BaseAddon` already emit the envelope, so this helper is only a
|
|
703
|
-
* safety net for direct `
|
|
689
|
+
* safety net for direct `IDominevoAddon` implementations (mostly tests).
|
|
704
690
|
*/
|
|
705
691
|
export declare function normalizeAddonInitResult(result: ProviderRegistration[] | AddonInitResult | void): AddonInitResult | void;
|
package/dist/addon.d.ts
CHANGED
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
* not `generated/capability-router-map`, which re-exports all 266 capabilities)
|
|
15
15
|
* so this entry's runtime graph stays small.
|
|
16
16
|
*
|
|
17
|
-
* See memory:
|
|
17
|
+
* See memory: dominevo_runner_ram_and_build_rootcause.
|
|
18
18
|
*/
|
|
19
19
|
export { BaseAddon, normalizeAddonInitResult } from './addon/base-addon.js';
|
|
20
20
|
export { AddonMigrationsBlockedError, findMigrationsBlocked, } from './addon/migrations-blocked-error.js';
|
|
21
21
|
export { MIGRATION_API_VERSION } from './migrations/api/migration-api-version.js';
|
|
22
|
-
export { ErrorI18nPayloadSchema, readErrorI18n } from './i18n/
|
|
23
|
-
export type { ErrorI18nPayload } from './i18n/
|
|
22
|
+
export { ErrorI18nPayloadSchema, readErrorI18n } from './i18n/dominevo-error.js';
|
|
23
|
+
export type { ErrorI18nPayload } from './i18n/dominevo-error.js';
|
|
24
24
|
export { commandOrigin, nodePin, readCommandOrigin, readNodePin } from './cap-call-context.js';
|
|
25
25
|
export type { CommandOriginRequestOptions } from './cap-call-context.js';
|
|
26
26
|
export { CommandOriginClaimSchema, OnBehalfSchema, OnBehalfSourceSchema, RuleFireOriginSchema, ruleFireOfClaim, } from './audit/command-origin-claim.js';
|
|
@@ -63,7 +63,7 @@ export { createEventBusSliceSource } from './device/device-state-handle.js';
|
|
|
63
63
|
export type { SliceEventBus, SliceHandleApi } from './device/device-state-handle.js';
|
|
64
64
|
export { addonSliceHandleApi } from './helpers/addon-slice-handle.js';
|
|
65
65
|
export { DEVICE_SCOPED_CAPS, isDeviceScopedCap } from './generated/device-scoped-caps.js';
|
|
66
|
-
export type { AddonDeclaration, AddonInitResult,
|
|
66
|
+
export type { AddonDeclaration, AddonInitResult, IDominevoAddon, ProviderRegistration, } from './interfaces/addon.js';
|
|
67
67
|
export { CALLER_USERNAME_HEADER, DATAPLANE_SECRET_HEADER } from './interfaces/addon-data-plane.js';
|
|
68
68
|
export { createEvent, emitReadiness } from './interfaces/event-bus.js';
|
|
69
69
|
export { ReadinessRegistry, ReadinessTimeoutError, scopeKey, } from './readiness/readiness-registry.js';
|
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_runtime_capabilities = require("./runtime-capabilities-
|
|
3
|
-
const require_event_category = require("./event-category-
|
|
2
|
+
const require_runtime_capabilities = require("./runtime-capabilities-Db29ELdy.js");
|
|
3
|
+
const require_event_category = require("./event-category-DhlUHlM5.js");
|
|
4
4
|
const require_composed_stable_id = require("./composed-stable-id-C9Vwl-Qd.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
6
6
|
/**
|
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CAP_ADVANCE_FIELDS, $i as RECORD_BATCH_MAX_BYTES, A as DEVICE_SCOPED_CAPS, Aa as RECORDS_ERROR_CODES, Ar as defineEntryKind, Ba as asRecordsError, Br as declarationsOf, Ca as BatchTooLargeError, Cr as PEER_BYTES_STALL_MS, Ct as PipelineStepInputSchema, D as parseJsonUnknown, Da as InvalidRecordError, Di as resolveDeviceSettings, Dr as DATAPLANE_SECRET_HEADER, Dt as DEVICE_CHILDREN_BATCH_MAX, Ea as ForeignSecretMarkerError, Ei as nodeIdOfScopedKey, Er as CALLER_USERNAME_HEADER, Et as deviceOpsCapability, F as createEventBusSliceSource, Fa as RecordsError, Fr as RecordKindDeclarationSchema, Ft as appSourceCapability, Gi as collectSecretLeaves, Ia as RevConflictError, Ir as RecordKindNameSchema, It as adminUiCapability, Ji as recordArrayItemPath, Ki as mapSecretLeaves, La as TransactRefusedError, Lo as AddonMigrationsBlockedError, Lr as RecordRetentionSchema, M as createDeviceProxy, Ma as RecordSecretUnavailableError, Mr as EntryDescriptorSchema, Na as RecordTooLargeError, Nr as RecordFieldPathSchema, O as hfModelUrl, Oa as NoCallerError, Oi as resolvedValues, P as addonSliceHandleApi, Pa as RecordUniqueViolationError, Pr as RecordIndexSchema, Qi as RECORD_BATCH_MAX, Qr as expandCapMethods, Ra as UnindexedFilterError, Ro as findMigrationsBlocked, Rr as StoredRecordKindDeclarationSchema, Rt as addonPagesSourceCapability, S as asJsonObject, Sr as PEER_BYTES_MAX_OUTSTANDING, St as PipelineRunResultBridge, Ta as FilterRequiredError, Ti as SCOPED_SETTINGS_SCOPES, Ui as secretViewsOf, Ur as collectZodSecretPaths, Va as recordsErrorFromMessage, Vr as defineRecordKinds, W as isCommand, Wi as REMOVE_LEAF, Wr as isZodSecret, Xi as recordSecretRef, Xt as ReadinessRegistry, Yi as recordSecretCollection, Yt as MODEL_FORMATS, Z as HF_REPO, Zi as secretArrayPrefixes, Zt as ReadinessTimeoutError, _a as isSecretRef, _o as makeSecretMarker, _r as knownSecretCount, _t as readNodePin, aa as RECORD_MAX_DATA_BYTES, ar as RuleFireOriginSchema, at as isCapMethodAbsent, br as shortSecretRefHash, bt as SWITCH_SETTABLE_GATE, ca as RECORD_QUERY_MAX, cn as createDebugEmitter, cr as createRecordsAccess, ct as customAction, da as RECORD_SWEEP_INTERVAL_MS, do as SECRET_CLEAR, dr as resolveSecretViewsIn, ea as RECORD_CLASSES, en as scopeKey, eo as createEvent, et as CAP_METHOD_TIMEOUTS_MS, fa as SECRET_REF_SCHEME, fi as BaseAddon, fo as classifySecretWrite, fr as REVALIDATE_AFTER_MS, ga as globalSecretScope, go as isSecretMarkerLike, gr as forgetKnownSecret, gt as readCommandOrigin, ha as formatSecretScope, hi as normalizeAddonInitResult, ho as isSecretMarker, hr as clearKnownSecrets, ht as nodePin, ia as RECORD_ID_MAX_LENGTH, ir as OnBehalfSourceSchema, it as CAP_METHOD_NOT_IMPLEMENTED, j as isDeviceScopedCap, ja as RecordNotFoundError, ji as isInstanceSwitchesUnreadError, jr as entryBody, k as BOOT_RECOVERY_BACKOFF_MS, ka as PlaintextSecretError, kr as DisposerChain, la as RECORD_SECRET_COLLECTION_PREFIX, lr as parseRecordBody, lt as defineCustomActions, ma as buildSecretRef, mo as isSecretFieldView, mr as MIN_SCRUBBED_LENGTH, mt as commandOrigin, n as describeNvidia, na as RECORD_DEFAULT_MAX_DATA_BYTES, nr as CommandOriginClaimSchema, nt as CAP_STATE_FIELD_PRESENCE, oa as RECORD_MAX_INDEXES, or as ruleFireOfClaim, ot as CALLER_STAMPED_CAPABILITIES, pa as arrayItemFieldPath, po as isSecretClear, pr as createSecretsAccess, q as DEVICE_RESTORE_RETRY_DELAYS_MS, qi as parseSecretPath, ra as RECORD_DELETE_BATCH, rr as OnBehalfSchema, rt as CAP_STATE_LEAVES, sa as RECORD_MAX_INDEX_FIELDS, si as ErrorI18nPayloadSchema, sr as makeInMemoryRecords, st as withoutCallerStamp, ta as RECORD_DATABASES, to as emitReadiness, u as sleep, ua as RECORD_SETTINGS_MAX_ROWS, ui as readErrorI18n, ur as assertTransactScope, ut as describeCustomActions, va as normalizeSecretOwner, vo as toSecretFieldView, vr as registerKnownSecret, w as asString, wa as DeclarationRefusedError, wr as PEER_BYTES_TICKET_TTL_MS, wt as MIGRATION_API_VERSION, xr as PEER_BYTES_CHUNK_BYTES, xt as switchRefusesSetState, y as maskUrlCredentials, ya as parseSecretRef, yr as scrubKnownSecrets, yt as viewerUiCapability, za as UnknownRecordKindError, zr as assertValidDeclaration } from "./runtime-capabilities-
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { $ as CAP_ADVANCE_FIELDS, $i as RECORD_BATCH_MAX_BYTES, A as DEVICE_SCOPED_CAPS, Aa as RECORDS_ERROR_CODES, Ar as defineEntryKind, Ba as asRecordsError, Br as declarationsOf, Ca as BatchTooLargeError, Cr as PEER_BYTES_STALL_MS, Ct as PipelineStepInputSchema, D as parseJsonUnknown, Da as InvalidRecordError, Di as resolveDeviceSettings, Dr as DATAPLANE_SECRET_HEADER, Dt as DEVICE_CHILDREN_BATCH_MAX, Ea as ForeignSecretMarkerError, Ei as nodeIdOfScopedKey, Er as CALLER_USERNAME_HEADER, Et as deviceOpsCapability, F as createEventBusSliceSource, Fa as RecordsError, Fr as RecordKindDeclarationSchema, Ft as appSourceCapability, Gi as collectSecretLeaves, Ia as RevConflictError, Ir as RecordKindNameSchema, It as adminUiCapability, Ji as recordArrayItemPath, Ki as mapSecretLeaves, La as TransactRefusedError, Lo as AddonMigrationsBlockedError, Lr as RecordRetentionSchema, M as createDeviceProxy, Ma as RecordSecretUnavailableError, Mr as EntryDescriptorSchema, Na as RecordTooLargeError, Nr as RecordFieldPathSchema, O as hfModelUrl, Oa as NoCallerError, Oi as resolvedValues, P as addonSliceHandleApi, Pa as RecordUniqueViolationError, Pr as RecordIndexSchema, Qi as RECORD_BATCH_MAX, Qr as expandCapMethods, Ra as UnindexedFilterError, Ro as findMigrationsBlocked, Rr as StoredRecordKindDeclarationSchema, Rt as addonPagesSourceCapability, S as asJsonObject, Sr as PEER_BYTES_MAX_OUTSTANDING, St as PipelineRunResultBridge, Ta as FilterRequiredError, Ti as SCOPED_SETTINGS_SCOPES, Ui as secretViewsOf, Ur as collectZodSecretPaths, Va as recordsErrorFromMessage, Vr as defineRecordKinds, W as isCommand, Wi as REMOVE_LEAF, Wr as isZodSecret, Xi as recordSecretRef, Xt as ReadinessRegistry, Yi as recordSecretCollection, Yt as MODEL_FORMATS, Z as HF_REPO, Zi as secretArrayPrefixes, Zt as ReadinessTimeoutError, _a as isSecretRef, _o as makeSecretMarker, _r as knownSecretCount, _t as readNodePin, aa as RECORD_MAX_DATA_BYTES, ar as RuleFireOriginSchema, at as isCapMethodAbsent, br as shortSecretRefHash, bt as SWITCH_SETTABLE_GATE, ca as RECORD_QUERY_MAX, cn as createDebugEmitter, cr as createRecordsAccess, ct as customAction, da as RECORD_SWEEP_INTERVAL_MS, do as SECRET_CLEAR, dr as resolveSecretViewsIn, ea as RECORD_CLASSES, en as scopeKey, eo as createEvent, et as CAP_METHOD_TIMEOUTS_MS, fa as SECRET_REF_SCHEME, fi as BaseAddon, fo as classifySecretWrite, fr as REVALIDATE_AFTER_MS, ga as globalSecretScope, go as isSecretMarkerLike, gr as forgetKnownSecret, gt as readCommandOrigin, ha as formatSecretScope, hi as normalizeAddonInitResult, ho as isSecretMarker, hr as clearKnownSecrets, ht as nodePin, ia as RECORD_ID_MAX_LENGTH, ir as OnBehalfSourceSchema, it as CAP_METHOD_NOT_IMPLEMENTED, j as isDeviceScopedCap, ja as RecordNotFoundError, ji as isInstanceSwitchesUnreadError, jr as entryBody, k as BOOT_RECOVERY_BACKOFF_MS, ka as PlaintextSecretError, kr as DisposerChain, la as RECORD_SECRET_COLLECTION_PREFIX, lr as parseRecordBody, lt as defineCustomActions, ma as buildSecretRef, mo as isSecretFieldView, mr as MIN_SCRUBBED_LENGTH, mt as commandOrigin, n as describeNvidia, na as RECORD_DEFAULT_MAX_DATA_BYTES, nr as CommandOriginClaimSchema, nt as CAP_STATE_FIELD_PRESENCE, oa as RECORD_MAX_INDEXES, or as ruleFireOfClaim, ot as CALLER_STAMPED_CAPABILITIES, pa as arrayItemFieldPath, po as isSecretClear, pr as createSecretsAccess, q as DEVICE_RESTORE_RETRY_DELAYS_MS, qi as parseSecretPath, ra as RECORD_DELETE_BATCH, rr as OnBehalfSchema, rt as CAP_STATE_LEAVES, sa as RECORD_MAX_INDEX_FIELDS, si as ErrorI18nPayloadSchema, sr as makeInMemoryRecords, st as withoutCallerStamp, ta as RECORD_DATABASES, to as emitReadiness, u as sleep, ua as RECORD_SETTINGS_MAX_ROWS, ui as readErrorI18n, ur as assertTransactScope, ut as describeCustomActions, va as normalizeSecretOwner, vo as toSecretFieldView, vr as registerKnownSecret, w as asString, wa as DeclarationRefusedError, wr as PEER_BYTES_TICKET_TTL_MS, wt as MIGRATION_API_VERSION, xr as PEER_BYTES_CHUNK_BYTES, xt as switchRefusesSetState, y as maskUrlCredentials, ya as parseSecretRef, yr as scrubKnownSecrets, yt as viewerUiCapability, za as UnknownRecordKindError, zr as assertValidDeclaration } from "./runtime-capabilities-Dg5DXZkO.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-CwprdwEL.mjs";
|
|
3
3
|
import { a as DeviceType, s as errMsg, t as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./composed-stable-id-C7b2bPOX.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
5
5
|
/**
|
package/dist/app-bridge.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const ShellToAppMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
-
|
|
3
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
4
4
|
v: z.ZodLiteral<1>;
|
|
5
5
|
type: z.ZodLiteral<"hello">;
|
|
6
6
|
}, z.core.$strip>, z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
8
8
|
v: z.ZodLiteral<1>;
|
|
9
9
|
type: z.ZodLiteral<"navigate">;
|
|
10
10
|
path: z.ZodString;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
-
|
|
12
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
13
13
|
v: z.ZodLiteral<1>;
|
|
14
14
|
type: z.ZodLiteral<"search">;
|
|
15
15
|
query: z.ZodString;
|
|
16
16
|
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
|
|
17
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
18
18
|
v: z.ZodLiteral<1>;
|
|
19
19
|
type: z.ZodLiteral<"theme">;
|
|
20
20
|
mode: z.ZodEnum<{
|
|
@@ -24,18 +24,18 @@ export declare const ShellToAppMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
24
24
|
}, z.core.$strip>], "type">;
|
|
25
25
|
export type ShellToAppMessage = z.infer<typeof ShellToAppMessageSchema>;
|
|
26
26
|
export declare const AppToShellMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27
|
-
|
|
27
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
28
28
|
v: z.ZodLiteral<1>;
|
|
29
29
|
type: z.ZodLiteral<"ready">;
|
|
30
30
|
path: z.ZodString;
|
|
31
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
|
|
32
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
33
33
|
v: z.ZodLiteral<1>;
|
|
34
34
|
type: z.ZodLiteral<"path">;
|
|
35
35
|
path: z.ZodString;
|
|
36
36
|
title: z.ZodString;
|
|
37
37
|
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
|
|
38
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
39
39
|
v: z.ZodLiteral<1>;
|
|
40
40
|
type: z.ZodLiteral<"invalidate">;
|
|
41
41
|
what: z.ZodEnum<{
|
|
@@ -43,7 +43,7 @@ export declare const AppToShellMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
43
43
|
nav: "nav";
|
|
44
44
|
}>;
|
|
45
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
|
|
46
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
47
47
|
v: z.ZodLiteral<1>;
|
|
48
48
|
type: z.ZodLiteral<"open-app">;
|
|
49
49
|
appId: z.ZodString;
|
|
@@ -51,21 +51,21 @@ export declare const AppToShellMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
51
51
|
}, z.core.$strip>], "type">;
|
|
52
52
|
export type AppToShellMessage = z.infer<typeof AppToShellMessageSchema>;
|
|
53
53
|
export declare const AppBridgeMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
54
|
-
|
|
54
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
55
55
|
v: z.ZodLiteral<1>;
|
|
56
56
|
type: z.ZodLiteral<"hello">;
|
|
57
57
|
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
|
|
58
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
59
59
|
v: z.ZodLiteral<1>;
|
|
60
60
|
type: z.ZodLiteral<"navigate">;
|
|
61
61
|
path: z.ZodString;
|
|
62
62
|
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
|
|
63
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
64
64
|
v: z.ZodLiteral<1>;
|
|
65
65
|
type: z.ZodLiteral<"search">;
|
|
66
66
|
query: z.ZodString;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
|
|
68
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
69
69
|
v: z.ZodLiteral<1>;
|
|
70
70
|
type: z.ZodLiteral<"theme">;
|
|
71
71
|
mode: z.ZodEnum<{
|
|
@@ -73,18 +73,18 @@ export declare const AppBridgeMessageSchema: z.ZodUnion<readonly [z.ZodDiscrimin
|
|
|
73
73
|
light: "light";
|
|
74
74
|
}>;
|
|
75
75
|
}, z.core.$strip>], "type">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
76
|
-
|
|
76
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
77
77
|
v: z.ZodLiteral<1>;
|
|
78
78
|
type: z.ZodLiteral<"ready">;
|
|
79
79
|
path: z.ZodString;
|
|
80
80
|
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
-
|
|
81
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
82
82
|
v: z.ZodLiteral<1>;
|
|
83
83
|
type: z.ZodLiteral<"path">;
|
|
84
84
|
path: z.ZodString;
|
|
85
85
|
title: z.ZodString;
|
|
86
86
|
}, z.core.$strip>, z.ZodObject<{
|
|
87
|
-
|
|
87
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
88
88
|
v: z.ZodLiteral<1>;
|
|
89
89
|
type: z.ZodLiteral<"invalidate">;
|
|
90
90
|
what: z.ZodEnum<{
|
|
@@ -92,7 +92,7 @@ export declare const AppBridgeMessageSchema: z.ZodUnion<readonly [z.ZodDiscrimin
|
|
|
92
92
|
nav: "nav";
|
|
93
93
|
}>;
|
|
94
94
|
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
-
|
|
95
|
+
dominevo: z.ZodLiteral<"app-bridge">;
|
|
96
96
|
v: z.ZodLiteral<1>;
|
|
97
97
|
type: z.ZodLiteral<"open-app">;
|
|
98
98
|
appId: z.ZodString;
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* refused by the other.
|
|
10
10
|
*
|
|
11
11
|
* `dominevo` is the production app; `dominevo.dev` the dev client
|
|
12
|
-
* (`APP_VARIANT=development`).
|
|
13
|
-
* previous store app is still installed against production hubs. Exact match after canonicalisation — no
|
|
12
|
+
* (`APP_VARIANT=development`). Exact match after canonicalisation — no
|
|
14
13
|
* query or fragment riders, no http(s).
|
|
15
14
|
*/
|
|
16
15
|
export declare const APP_AUTH_CALLBACK_URLS: readonly string[];
|
|
@@ -25,5 +24,5 @@ export declare const APP_AUTH_CALLBACK_MAX_LENGTH = 512;
|
|
|
25
24
|
export declare function canonicalizeAppCallback(raw: string): string;
|
|
26
25
|
/** The canonical allowlisted callback `raw` names, or `null`. */
|
|
27
26
|
export declare function parseAppAuthCallback(raw: string | null | undefined): string | null;
|
|
28
|
-
/** True for a URL with a scheme (`
|
|
27
|
+
/** True for a URL with a scheme (`dominevo://…`, `https://…`) — not a hub-relative path. */
|
|
29
28
|
export declare function hasUrlScheme(url: string): boolean;
|
|
@@ -188,7 +188,7 @@ export declare const CREDENTIAL_TOKEN_KIND = "credential";
|
|
|
188
188
|
* can never be replayed as a person's session. Only the credential verifier's
|
|
189
189
|
* own door (`verifyCredentialToken`) accepts it.
|
|
190
190
|
*/
|
|
191
|
-
export declare const CREDENTIAL_TOKEN_AUDIENCE = "
|
|
191
|
+
export declare const CREDENTIAL_TOKEN_AUDIENCE = "dominevo:credential";
|
|
192
192
|
/** Does a verified JWT payload belong to the minted-token family? */
|
|
193
193
|
export declare function isCredentialTokenPayload(payload: unknown): boolean;
|
|
194
194
|
/**
|
|
@@ -16,7 +16,7 @@ import { z } from 'zod';
|
|
|
16
16
|
/** Signature algorithm of every device credential: ECDSA, curve P-256, SHA-256. */
|
|
17
17
|
export declare const DEVICE_CERT_SIGNATURE: 'ecdsa-p256-sha256';
|
|
18
18
|
/** First line of every signed message; a change of format bumps the version. */
|
|
19
|
-
export declare const DEVICE_SIGNATURE_MESSAGE_VERSION: '
|
|
19
|
+
export declare const DEVICE_SIGNATURE_MESSAGE_VERSION: 'dominevo-device-cert-v1';
|
|
20
20
|
/** What a signature is for. A login signature can never be replayed as a renewal. */
|
|
21
21
|
export declare const DeviceSignaturePurposeSchema: z.ZodEnum<{
|
|
22
22
|
login: "login";
|
|
@@ -31,12 +31,12 @@ export declare const DEVICE_CERT_RENEW_WINDOW_DAYS = 30;
|
|
|
31
31
|
export declare const DEVICE_ENROLLMENT_TTL_MS: number;
|
|
32
32
|
export declare const DEVICE_NONCE_TTL_MS = 60000;
|
|
33
33
|
/** SAN URI prefixes of a device leaf. */
|
|
34
|
-
export declare const DEVICE_SAN_CREDENTIAL_PREFIX: '
|
|
35
|
-
export declare const DEVICE_SAN_USER_PREFIX: '
|
|
34
|
+
export declare const DEVICE_SAN_CREDENTIAL_PREFIX: 'dominevo:credential:';
|
|
35
|
+
export declare const DEVICE_SAN_USER_PREFIX: 'dominevo:user:';
|
|
36
36
|
/**
|
|
37
37
|
* The exact bytes a device signs (UTF-8, `\n` separators, no trailing newline):
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* dominevo-device-cert-v1
|
|
40
40
|
* <login|renew>
|
|
41
41
|
* <origin> the hub origin returned by `getDeviceChallenge`
|
|
42
42
|
* <nonce>
|
|
@@ -363,7 +363,7 @@ export declare const DeviceCertificateLoginMethodSchema: z.ZodObject<{
|
|
|
363
363
|
loginPath: z.ZodLiteral<"auth.loginWithDeviceCertificate">;
|
|
364
364
|
renewPath: z.ZodLiteral<"auth.renewDeviceCertificate">;
|
|
365
365
|
signature: z.ZodLiteral<"ecdsa-p256-sha256">;
|
|
366
|
-
messageVersion: z.ZodLiteral<"
|
|
366
|
+
messageVersion: z.ZodLiteral<"dominevo-device-cert-v1">;
|
|
367
367
|
clients: z.ZodArray<z.ZodEnum<{
|
|
368
368
|
native: "native";
|
|
369
369
|
web: "web";
|
package/dist/auth/sso-state.d.ts
CHANGED
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
*
|
|
12
12
|
* One name, two readers (the OIDC addon that sets it, the hub that checks it).
|
|
13
13
|
*/
|
|
14
|
-
export declare const SSO_STATE_COOKIE = "
|
|
14
|
+
export declare const SSO_STATE_COOKIE = "dominevo_sso_state";
|
|
15
15
|
/** Seconds the state cookie lives — the pending IdP state lasts 5 minutes, the bridge 5 more. */
|
|
16
16
|
export declare const SSO_STATE_COOKIE_MAX_AGE_SEC = 600;
|
|
@@ -11,7 +11,7 @@ export declare const SMTP_INBOUND_KIND = "smtp-inbound";
|
|
|
11
11
|
/** The id the first mailbox is minted under (adopt-id), so a consumer can find it again. */
|
|
12
12
|
export declare const SMTP_INBOUND_DEFAULT_ID = "smtp-inbound-default";
|
|
13
13
|
export declare const SMTP_INBOUND_DEFAULT_PORT = 2525;
|
|
14
|
-
export declare const SMTP_INBOUND_DEFAULT_DOMAIN = "
|
|
14
|
+
export declare const SMTP_INBOUND_DEFAULT_DOMAIN = "dominevo.local";
|
|
15
15
|
export declare const SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES: number;
|
|
16
16
|
/** The ring keeps the last N messages of one mailbox, each for at most the age below. */
|
|
17
17
|
export declare const SMTP_INBOUND_RING_MAX_MESSAGES = 200;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import { type CommandOriginClaim } from './audit/device-transition.js';
|
|
23
23
|
/** tRPC `op.context` key carrying a per-call node pin. */
|
|
24
|
-
export declare const CAP_NODE_PIN_CONTEXT_KEY = "
|
|
24
|
+
export declare const CAP_NODE_PIN_CONTEXT_KEY = "__dominevoNodePin";
|
|
25
25
|
/** The tRPC request-options shape produced by {@link nodePin}. */
|
|
26
26
|
export interface NodePinnedRequestOptions {
|
|
27
27
|
readonly context: Readonly<Record<string, string>>;
|
|
@@ -63,7 +63,7 @@ export declare function toNodeId(idOrRunnerId: string): string;
|
|
|
63
63
|
*/
|
|
64
64
|
export declare function readNodePin(context: unknown): string | undefined;
|
|
65
65
|
/** tRPC `op.context` key carrying a per-call command origin claim (D1022). */
|
|
66
|
-
export declare const CAP_COMMAND_ORIGIN_CONTEXT_KEY = "
|
|
66
|
+
export declare const CAP_COMMAND_ORIGIN_CONTEXT_KEY = "__dominevoCommandOrigin";
|
|
67
67
|
/** The tRPC request-options shape produced by {@link commandOrigin}. */
|
|
68
68
|
export interface CommandOriginRequestOptions {
|
|
69
69
|
readonly context: Readonly<Record<string, string | CommandOriginClaim>>;
|
|
@@ -440,7 +440,7 @@ export declare const backupCapability: {
|
|
|
440
440
|
present: z.ZodBoolean;
|
|
441
441
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
442
442
|
/**
|
|
443
|
-
* Read the embedded `.
|
|
443
|
+
* Read the embedded `.dominevo-backup-manifest.json` from a
|
|
444
444
|
* previously-created archive. The manifest carries the full
|
|
445
445
|
* file/dir listing with sizes + mtimes — the readdir snapshot
|
|
446
446
|
* the UI shows in the "Contents" panel. Returns `null` when the
|
|
@@ -637,7 +637,7 @@ export type CapabilityPowerHint = PowerHintField | PowerHintMethods | PowerHintM
|
|
|
637
637
|
*
|
|
638
638
|
* Settings are NOT part of the capability definition — they belong to
|
|
639
639
|
* the addon implementation. Each addon defines its own settings schema
|
|
640
|
-
* via
|
|
640
|
+
* via IDominevoAddon.getConfigSchema(), stored per-addon with optional
|
|
641
641
|
* per-device overrides.
|
|
642
642
|
*/
|
|
643
643
|
export interface CapabilityDefinition<TName extends string = string, TMethods extends Record<string, CapabilityMethodSchema> = Record<string, CapabilityMethodSchema>, TEvents extends Record<string, CapabilityEventSchema> | undefined = Record<string, CapabilityEventSchema> | undefined> {
|
|
@@ -148,7 +148,7 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
148
148
|
modifications: z.ZodOptional<z.ZodString>;
|
|
149
149
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
150
150
|
"built-in": "built-in";
|
|
151
|
-
"
|
|
151
|
+
"dominevo-hf": "dominevo-hf";
|
|
152
152
|
"third-party": "third-party";
|
|
153
153
|
}>>;
|
|
154
154
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -167,8 +167,8 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
167
167
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
168
168
|
}, z.core.$strip>>;
|
|
169
169
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
170
|
-
camstack: "camstack";
|
|
171
170
|
custom: "custom";
|
|
171
|
+
dominevo: "dominevo";
|
|
172
172
|
frigate: "frigate";
|
|
173
173
|
scrypted: "scrypted";
|
|
174
174
|
}>>;
|
|
@@ -363,7 +363,7 @@ export declare const ImportModelBundleInputSchema: z.ZodObject<{
|
|
|
363
363
|
modifications: z.ZodOptional<z.ZodString>;
|
|
364
364
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
365
365
|
"built-in": "built-in";
|
|
366
|
-
"
|
|
366
|
+
"dominevo-hf": "dominevo-hf";
|
|
367
367
|
"third-party": "third-party";
|
|
368
368
|
}>>;
|
|
369
369
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -382,8 +382,8 @@ export declare const ImportModelBundleInputSchema: z.ZodObject<{
|
|
|
382
382
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
383
383
|
}, z.core.$strip>>;
|
|
384
384
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
385
|
-
camstack: "camstack";
|
|
386
385
|
custom: "custom";
|
|
386
|
+
dominevo: "dominevo";
|
|
387
387
|
frigate: "frigate";
|
|
388
388
|
scrypted: "scrypted";
|
|
389
389
|
}>>;
|
|
@@ -630,7 +630,7 @@ export declare const customModelRegistryCapability: {
|
|
|
630
630
|
modifications: z.ZodOptional<z.ZodString>;
|
|
631
631
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
632
632
|
"built-in": "built-in";
|
|
633
|
-
"
|
|
633
|
+
"dominevo-hf": "dominevo-hf";
|
|
634
634
|
"third-party": "third-party";
|
|
635
635
|
}>>;
|
|
636
636
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -649,8 +649,8 @@ export declare const customModelRegistryCapability: {
|
|
|
649
649
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
650
650
|
}, z.core.$strip>>;
|
|
651
651
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
652
|
-
camstack: "camstack";
|
|
653
652
|
custom: "custom";
|
|
653
|
+
dominevo: "dominevo";
|
|
654
654
|
frigate: "frigate";
|
|
655
655
|
scrypted: "scrypted";
|
|
656
656
|
}>>;
|
|
@@ -847,7 +847,7 @@ export declare const customModelRegistryCapability: {
|
|
|
847
847
|
modifications: z.ZodOptional<z.ZodString>;
|
|
848
848
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
849
849
|
"built-in": "built-in";
|
|
850
|
-
"
|
|
850
|
+
"dominevo-hf": "dominevo-hf";
|
|
851
851
|
"third-party": "third-party";
|
|
852
852
|
}>>;
|
|
853
853
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -866,8 +866,8 @@ export declare const customModelRegistryCapability: {
|
|
|
866
866
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
867
867
|
}, z.core.$strip>>;
|
|
868
868
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
869
|
-
camstack: "camstack";
|
|
870
869
|
custom: "custom";
|
|
870
|
+
dominevo: "dominevo";
|
|
871
871
|
frigate: "frigate";
|
|
872
872
|
scrypted: "scrypted";
|
|
873
873
|
}>>;
|
|
@@ -17,7 +17,7 @@ export declare const displayPaletteCapability: {
|
|
|
17
17
|
readonly getPalette: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18
18
|
status: z.ZodLiteral<"ready">;
|
|
19
19
|
presetId: z.ZodEnum<{
|
|
20
|
-
|
|
20
|
+
dominevo: "dominevo";
|
|
21
21
|
"high-contrast": "high-contrast";
|
|
22
22
|
"okabe-ito": "okabe-ito";
|
|
23
23
|
}>;
|
|
@@ -69,7 +69,7 @@ export declare const displayPaletteCapability: {
|
|
|
69
69
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
70
70
|
status: z.ZodLiteral<"ready">;
|
|
71
71
|
presetId: z.ZodEnum<{
|
|
72
|
-
|
|
72
|
+
dominevo: "dominevo";
|
|
73
73
|
"high-contrast": "high-contrast";
|
|
74
74
|
"okabe-ito": "okabe-ito";
|
|
75
75
|
}>;
|
|
@@ -150,13 +150,13 @@ export declare function resolveHubAddressRoles(appPalette: readonly ConnectionEn
|
|
|
150
150
|
export declare function hubAddressHostname(baseUrl: string | null): string | null;
|
|
151
151
|
/**
|
|
152
152
|
* How a client finds a hub on the LAN (D838): the hub publishes ONE mDNS
|
|
153
|
-
* service for its HTTPS endpoint. `
|
|
153
|
+
* service for its HTTPS endpoint. `_dominevo._tcp` carries the hub's `internal`
|
|
154
154
|
* address in `url`, and nothing secret — finding a hub grants nothing, every
|
|
155
155
|
* client still signs in. The mesh channel stays retired (D826).
|
|
156
156
|
*/
|
|
157
|
-
export declare const HUB_MDNS_SERVICE_TYPE = "
|
|
157
|
+
export declare const HUB_MDNS_SERVICE_TYPE = "dominevo";
|
|
158
158
|
/** The fully-qualified name a client browses for. */
|
|
159
|
-
export declare const HUB_MDNS_QUERY_NAME = "
|
|
159
|
+
export declare const HUB_MDNS_QUERY_NAME = "_dominevo._tcp.local";
|
|
160
160
|
/** The TXT keys of the advertisement. Every value is public. */
|
|
161
161
|
export declare const HUB_MDNS_TXT_KEYS: {
|
|
162
162
|
readonly nodeId: 'nodeId';
|
|
@@ -180,9 +180,9 @@ export declare function isHubId(value: unknown): value is string;
|
|
|
180
180
|
* port, paired or not. The TXT record carries only public facts. Finding an agent grants
|
|
181
181
|
* nothing: pairing still needs the six-digit code confirmed on both screens.
|
|
182
182
|
*/
|
|
183
|
-
export declare const AGENT_MDNS_SERVICE_TYPE = "
|
|
183
|
+
export declare const AGENT_MDNS_SERVICE_TYPE = "dominevo-agent";
|
|
184
184
|
/** The fully-qualified name a hub browses for. */
|
|
185
|
-
export declare const AGENT_MDNS_QUERY_NAME = "
|
|
185
|
+
export declare const AGENT_MDNS_QUERY_NAME = "_dominevo-agent._tcp.local";
|
|
186
186
|
/** The TXT keys of the agent advertisement. Every value is public. */
|
|
187
187
|
export declare const AGENT_MDNS_TXT_KEYS: {
|
|
188
188
|
readonly nodeId: 'nodeId';
|
|
@@ -161,7 +161,7 @@ export type { IVectorStoreProvider } from './vector-store.cap.js';
|
|
|
161
161
|
export { isVectorIndexDimConflict, VECTOR_INDEX_DIM_CONFLICT, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, type VectorFilter, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, type VectorItem, VectorItemSchema, type VectorMatch, VectorMatchSchema, type VectorMetadata, VectorMetadataSchema, type VectorMetric, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, vectorIndexDimConflictError, vectorStoreCapability, } from './vector-store.cap.js';
|
|
162
162
|
export type { Clip, ClipBytes, ClipBytesOffer, ClipPlayback, ClipPlaybackOptions, ClipSource, ClipSourceAvailability, ClipStillDisposition, ClipStillRefusalCode, ClipStreamAudio, ClipStreamAudioReason, ClipStreamDial, ClipWake, IVideoclipsProvider, } from './videoclips.cap.js';
|
|
163
163
|
export { CLIP_BROKER_PACED_RATES, CLIP_PLAYBACK_OPTIONS, CLIP_REALTIME_SOURCE_RATES, CLIP_REASON_HEADER_MAX, CLIP_STILL_DISPOSITION_HEADER, CLIP_STILL_REASON_CODE_HEADER, CLIP_STILL_REASON_HEADER, CLIP_STREAM_SOURCE_RATES, CLIP_STREAM_TRANSPORT_HEADER, ClipBytesOfferSchema, ClipBytesSchema, ClipPlaybackOptionsSchema, ClipPlaybackSchema, ClipSchema, ClipSourceAvailabilitySchema, ClipSourceSchema, ClipStillDispositionSchema, ClipStillRefusalCodeSchema, ClipStreamAudioReasonSchema, ClipStreamAudioSchema, ClipStreamDialSchema, ClipWakeSchema, clipReasonHeaderValue, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, VIDEOCLIPS_MAX_OFFER_BYTES, VIDEOCLIPS_MAX_READ_BYTES, videoclipsCapability, } from './videoclips.cap.js';
|
|
164
|
-
export { buildViewerLink,
|
|
164
|
+
export { buildViewerLink, DOMINEVO_APP_LINK_ORIGIN, HUB_VIEWER_MOUNT, isAppLinkBase, type NotificationLinkEndpoint, pickAppLinkHub, toAppLinkHubOrigin, type ViewerDestination, type ViewerLinkBase, type ViewerLinkForm, type ViewerLinkInput, viewerLinkBaseOf, } from './viewer-link-url.js';
|
|
165
165
|
export type { IViewerUiProvider } from './viewer-ui.cap.js';
|
|
166
166
|
export { viewerUiCapability } from './viewer-ui.cap.js';
|
|
167
167
|
export { type IWebrtcSessionProvider, WEBRTC_CLIMB_HOLD_CODES, WEBRTC_TRY_BLOCKERS, type WebrtcClientHints, type WebrtcClimbHold, type WebrtcClimbHoldCode, WebrtcClimbHoldSchema, type WebrtcLadderDecision, WebrtcLadderDecisionSchema, type WebrtcSessionDebug, WebrtcSessionDebugSchema, type WebrtcStreamChoice, WebrtcStreamChoiceSchema, type WebrtcStreamTarget, WebrtcStreamTargetSchema, type WebrtcTierFailure, WebrtcTierFailureSchema, type WebrtcTryBlocker, webrtcClientHintsSchema, webrtcSessionCapability, } from './webrtc-session.cap.js';
|
|
@@ -276,7 +276,7 @@ export { type ILowPowerSleepProvider, type LowPowerSleepStatus, LowPowerSleepSta
|
|
|
276
276
|
export { type IResyncProvider, ResyncDeviceInputSchema, resyncCapability } from './resync.cap.js';
|
|
277
277
|
export { type DeviceStateRefreshInput, DeviceStateRefreshInputSchema, DeviceStateRefreshResultSchema, DeviceStateResubscribeInputSchema, deviceStateRefreshCapability, type IDeviceStateRefreshProvider, } from './device-state-refresh.cap.js';
|
|
278
278
|
export { deviceMeshCapability, type IDeviceMeshProvider, type MeshFabric, type MeshLink, MeshLinkSchema, type MeshNetworkInfo, MeshNetworkInfoSchema, type MeshNode, type MeshNodeDiagnostics, MeshNodeDiagnosticsSchema, MeshNodeSchema, type MeshPower, type MeshReadNowResult, type MeshRefreshResult, type MeshRole, type MeshTechnology, MeshTechnologySchema, type MeshThreadNeighbor, type MeshThreadRoute, type MeshTopology, MeshTopologySchema, type MeshTransport, } from './device-mesh.cap.js';
|
|
279
|
-
export { type IRecordingProvider,
|
|
279
|
+
export { type IRecordingProvider, RECORDING_SOURCE_DOMINEVO, RECORDING_SOURCE_DOMINEVO_ADDON, type RecordingAvailability, RecordingAvailabilitySchema, type RecordingDays, RecordingDaysSchema, type RecordingManifest, RecordingManifestSchema, type RecordingPlayback, RecordingPlaybackSchema, RecordingRangeSchema, type RecordingRead, RecordingReadSchema, type RecordingSource, type RecordingSourceAvailability, RecordingSourceAvailabilitySchema, type RecordingSourceOptions, RecordingSourceOptionsSchema, RecordingSourceSchema, recordingCapability, } from './recording.cap.js';
|
|
280
280
|
export { type IRecordingArchiveProvider, type LocateSegmentResult, LocateSegmentResultSchema, RECORDING_TIMELINE_BATCH_MAX, type ReadGopBytesResult, ReadGopBytesResultSchema, type ReadSegmentBytesResult, ReadSegmentBytesResultSchema, type ReadWindowBytesResult, ReadWindowBytesResultSchema, type RecordingAvailabilityForDevice, RecordingAvailabilityForDeviceSchema, type RecordingDaysForDevice, RecordingDaysForDeviceSchema, type RecordingDeviceUsage, RecordingDeviceUsageSchema, type RecordingLocationUsage, RecordingLocationUsageSchema, type RecordingRebalanceInput, RecordingRebalanceInputSchema, type RecordingRebalanceMove, RecordingRebalanceMoveSchema, type RecordingRebalancePlan, RecordingRebalancePlanSchema, type RecordingRebalanceSkip, type RecordingRebalanceSkipReason, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, type RecordingStatus, RecordingStatusSchema, type RecordingStorageUsage, RecordingStorageUsageSchema, recordingArchiveCapability, } from './recording-archive.cap.js';
|
|
281
281
|
export { type ClipExportFailure, ClipExportFailureSchema, clipExportFailure, clipExportFailureOf, EXPORT_DENSE_MAX_RANGES, type ExportBytes, ExportBytesSchema, type ExportClipSubject, ExportClipSubjectSchema, type ExportDense, type ExportDenseRange, ExportDenseRangeSchema, ExportDenseSchema, type ExportDownload, ExportDownloadSchema, type ExportFootageSubject, ExportFootageSubjectSchema, type ExportOptions, ExportOptionsSchema, type ExportRecord, ExportRecordSchema, ExportSpeedSchema, type ExportState, ExportStateSchema, type ExportSubject, ExportSubjectSchema, ExportTimelapseSchema, exportSubjectOf, type IRecordingExportProvider, RECORDING_EXPORT_MAX_READ_BYTES, recordingExportCapability, resolveCreateExportSubject, resolveExportProfiles, } from './recording-export.cap.js';
|
|
282
282
|
export { type IRecordingOnboardProvider, type OnboardAllowedValues, type OnboardFieldSupport, OnboardFieldSupportSchema, type OnboardRecordTrack, OnboardRecordTrackSchema, type OnboardScheduleSupport, OnboardScheduleSupportSchema, type OnboardStorage, OnboardStorageSchema, type OnboardStorageVolume, OnboardStorageVolumeSchema, type RecordingOnboardOptions, RecordingOnboardOptionsSchema, type RecordingOnboardPatch, RecordingOnboardPatchSchema, type RecordingOnboardStatus, RecordingOnboardStatusSchema, type RecordTrigger, RecordTriggerSchema, type RecordWindow, RecordWindowSchema, recordingOnboardCapability, } from './recording-onboard.cap.js';
|
|
@@ -10,7 +10,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
10
10
|
* returns a value.
|
|
11
11
|
*
|
|
12
12
|
* The master key's LOCATION is a fixed path, never an env var (D788, D991):
|
|
13
|
-
* `/run/secrets/
|
|
13
|
+
* `/run/secrets/dominevo-master-key` when that file exists, the OS keychain on
|
|
14
14
|
* a desktop hub, else
|
|
15
15
|
* `<dataDir>/.keychain/master.key` — which sits beside the database in every
|
|
16
16
|
* whole-volume backup, and the status says so.
|
|
@@ -349,7 +349,7 @@ export declare const keychainAdminCapability: {
|
|
|
349
349
|
* a new master key, write it there, re-wrap. A file or OS-keychain primary
|
|
350
350
|
* that is already in use cannot be replaced from here — put the new key at
|
|
351
351
|
* the source, keep the old one at
|
|
352
|
-
* `/run/secrets/
|
|
352
|
+
* `/run/secrets/dominevo-master-key.previous`, restart, and rotate. No value is re-encrypted either way; the previous wrap is kept
|
|
353
353
|
* (retired) until purged.
|
|
354
354
|
*/
|
|
355
355
|
readonly rotateMasterKey: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
*
|
|
35
35
|
* ## The external observer still has a job
|
|
36
36
|
*
|
|
37
|
-
* `metrics.node-processes-snapshot` measures every
|
|
37
|
+
* `metrics.node-processes-snapshot` measures every dominevo-shaped process on
|
|
38
38
|
* the node whether or not anybody claims it. Contributions cover what the
|
|
39
39
|
* addons know about; the snapshot covers what is actually running. **The
|
|
40
40
|
* difference is the finding** — a process nobody claims is either a leak or a
|
|
@@ -467,7 +467,7 @@ export declare const localNetworkCapability: {
|
|
|
467
467
|
* belongs to whoever already owns it). This method used to take a `port`
|
|
468
468
|
* and echo it onto every LAN and loopback URL it advertised, which made
|
|
469
469
|
* every client a second authority on a socket only the hub binds. A viewer
|
|
470
|
-
* configured with a port-less public URL (`https://
|
|
470
|
+
* configured with a port-less public URL (`https://dominevo.example.top`)
|
|
471
471
|
* infers 443 from the scheme, asks with 443, and was handed
|
|
472
472
|
* `https://192.168.10.9:443` for a hub listening on 4443. That candidate
|
|
473
473
|
* cannot ever answer, and losing its race reads in the log exactly like
|
|
@@ -608,7 +608,7 @@ export declare const metricsProviderCapability: {
|
|
|
608
608
|
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
609
609
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
610
610
|
/**
|
|
611
|
-
* Snapshot of every
|
|
611
|
+
* Snapshot of every dominevo-related process on this node with a
|
|
612
612
|
* root/managed/system classification. Powers the Cluster → Agent →
|
|
613
613
|
* Processes tab: cross-references `$process.list` against a `ps` scan so
|
|
614
614
|
* per-addon CPU and RSS can be attributed, and so a process the cluster
|
|
@@ -3,7 +3,7 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
3
3
|
/**
|
|
4
4
|
* migrations — the ledger and the controls of the boot-time migration engine
|
|
5
5
|
* (D987). Hub-only and internal: `sqlite-settings` is the registrant, because the
|
|
6
|
-
* ledger lives INSIDE the database files it serves (`
|
|
6
|
+
* ledger lives INSIDE the database files it serves (`dominevo.db`, `events.db`,
|
|
7
7
|
* `history.db`) and only its connection or worker may touch them (D679).
|
|
8
8
|
*
|
|
9
9
|
* The engine itself runs in the owner's `afterOpen`, before any provider is
|
|
@@ -259,7 +259,7 @@ export declare const modelConvertCapability: {
|
|
|
259
259
|
modifications: z.ZodOptional<z.ZodString>;
|
|
260
260
|
hosting: z.ZodOptional<z.ZodEnum<{
|
|
261
261
|
"built-in": "built-in";
|
|
262
|
-
"
|
|
262
|
+
"dominevo-hf": "dominevo-hf";
|
|
263
263
|
"third-party": "third-party";
|
|
264
264
|
}>>;
|
|
265
265
|
nonCommercial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -278,8 +278,8 @@ export declare const modelConvertCapability: {
|
|
|
278
278
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
279
279
|
}, z.core.$strip>>;
|
|
280
280
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
281
|
-
camstack: "camstack";
|
|
282
281
|
custom: "custom";
|
|
282
|
+
dominevo: "dominevo";
|
|
283
283
|
frigate: "frigate";
|
|
284
284
|
scrypted: "scrypted";
|
|
285
285
|
}>>;
|
|
@@ -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
|
}>>;
|