@camstack/types 1.1.51 → 1.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capabilities/addons.cap.d.ts +1 -40
- package/dist/generated/addon-api.d.ts +0 -30
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +0 -76
- package/dist/index.mjs +1 -74
- package/dist/interfaces/addon.d.ts +2 -2
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/lifecycle/index.d.ts +0 -1
- package/dist/types/pipeline-step.d.ts +4 -0
- package/package.json +1 -1
- package/dist/lifecycle/framework-swap.d.ts +0 -36
|
@@ -127,21 +127,6 @@ declare const AddonAutoUpdateSchema: z.ZodEnum<{
|
|
|
127
127
|
beta: "beta";
|
|
128
128
|
inherit: "inherit";
|
|
129
129
|
}>;
|
|
130
|
-
/**
|
|
131
|
-
* Result of `updateFrameworkPackage`. The cap method returns BEFORE the
|
|
132
|
-
* server restarts so the admin UI can react to the `restartingAt`
|
|
133
|
-
* timestamp (shows reconnect overlay). The transition from
|
|
134
|
-
* `fromVersion` to `toVersion` will be confirmed by a subsequent
|
|
135
|
-
* `system.restart-completed` event after the new process boots.
|
|
136
|
-
*
|
|
137
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
138
|
-
*/
|
|
139
|
-
declare const UpdateFrameworkPackageResultSchema: z.ZodObject<{
|
|
140
|
-
packageName: z.ZodString;
|
|
141
|
-
fromVersion: z.ZodString;
|
|
142
|
-
toVersion: z.ZodString;
|
|
143
|
-
restartingAt: z.ZodNumber;
|
|
144
|
-
}, z.core.$strip>;
|
|
145
130
|
declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
|
|
146
131
|
failed: "failed";
|
|
147
132
|
queued: "queued";
|
|
@@ -487,30 +472,6 @@ export declare const addonsCapability: {
|
|
|
487
472
|
}, z.core.$strip>, z.ZodObject<{
|
|
488
473
|
success: z.ZodLiteral<true>;
|
|
489
474
|
}, z.core.$strip>, "mutation">;
|
|
490
|
-
/**
|
|
491
|
-
* Live-update one of the framework packages marked
|
|
492
|
-
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
493
|
-
* Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
|
|
494
|
-
* writes a `.restart-pending` marker, emits `system.restarting`
|
|
495
|
-
* and schedules a graceful process exit. The supervisor (Docker /
|
|
496
|
-
* Electron / systemd) brings the hub back up; on first boot after
|
|
497
|
-
* the restart the marker fires `system.restart-completed`.
|
|
498
|
-
*
|
|
499
|
-
* `version` defaults to `'latest'`. The allow-list of valid
|
|
500
|
-
* `packageName` values is enforced server-side.
|
|
501
|
-
*
|
|
502
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
503
|
-
*/
|
|
504
|
-
readonly updateFrameworkPackage: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
505
|
-
packageName: z.ZodString;
|
|
506
|
-
version: z.ZodOptional<z.ZodString>;
|
|
507
|
-
deferRestart: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
-
packageName: z.ZodString;
|
|
510
|
-
fromVersion: z.ZodString;
|
|
511
|
-
toVersion: z.ZodString;
|
|
512
|
-
restartingAt: z.ZodNumber;
|
|
513
|
-
}, z.core.$strip>, "mutation">;
|
|
514
475
|
readonly getVersions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
515
476
|
name: z.ZodString;
|
|
516
477
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -788,4 +749,4 @@ export declare const addonsCapability: {
|
|
|
788
749
|
};
|
|
789
750
|
};
|
|
790
751
|
export type IAddonsProvider = InferProvider<typeof addonsCapability>;
|
|
791
|
-
export { AddonListItemSchema, InstalledPackageSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, AutoUpdateSettingsSchema, AddonAutoUpdateSchema, LogStreamEntrySchema, CustomActionInputSchema, LogLevelSchema, ChannelSchema, ChannelWithInheritSchema,
|
|
752
|
+
export { AddonListItemSchema, InstalledPackageSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, AutoUpdateSettingsSchema, AddonAutoUpdateSchema, LogStreamEntrySchema, CustomActionInputSchema, LogLevelSchema, ChannelSchema, ChannelWithInheritSchema, FrameworkPackageStatusSchema, BulkUpdateItemStatusSchema, BulkUpdateItemSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, };
|
|
@@ -1436,21 +1436,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1436
1436
|
};
|
|
1437
1437
|
meta: object;
|
|
1438
1438
|
}>;
|
|
1439
|
-
updateFrameworkPackage: import("@trpc/server").TRPCMutationProcedure<{
|
|
1440
|
-
input: {
|
|
1441
|
-
[x: string]: unknown;
|
|
1442
|
-
packageName: string;
|
|
1443
|
-
version?: string | undefined;
|
|
1444
|
-
deferRestart?: boolean | undefined;
|
|
1445
|
-
};
|
|
1446
|
-
output: {
|
|
1447
|
-
packageName: string;
|
|
1448
|
-
fromVersion: string;
|
|
1449
|
-
toVersion: string;
|
|
1450
|
-
restartingAt: number;
|
|
1451
|
-
};
|
|
1452
|
-
meta: object;
|
|
1453
|
-
}>;
|
|
1454
1439
|
getVersions: import("@trpc/server").TRPCQueryProcedure<{
|
|
1455
1440
|
input: {
|
|
1456
1441
|
[x: string]: unknown;
|
|
@@ -18182,21 +18167,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18182
18167
|
};
|
|
18183
18168
|
meta: object;
|
|
18184
18169
|
}>;
|
|
18185
|
-
updateFrameworkPackage: import("@trpc/server").TRPCMutationProcedure<{
|
|
18186
|
-
input: {
|
|
18187
|
-
[x: string]: unknown;
|
|
18188
|
-
packageName: string;
|
|
18189
|
-
version?: string | undefined;
|
|
18190
|
-
deferRestart?: boolean | undefined;
|
|
18191
|
-
};
|
|
18192
|
-
output: {
|
|
18193
|
-
packageName: string;
|
|
18194
|
-
fromVersion: string;
|
|
18195
|
-
toVersion: string;
|
|
18196
|
-
restartingAt: number;
|
|
18197
|
-
};
|
|
18198
|
-
meta: object;
|
|
18199
|
-
}>;
|
|
18200
18170
|
getVersions: import("@trpc/server").TRPCQueryProcedure<{
|
|
18201
18171
|
input: {
|
|
18202
18172
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 800 method paths across 116 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -50,7 +50,7 @@ import type { userManagementCapability } from '../capabilities/user-management.c
|
|
|
50
50
|
*/
|
|
51
51
|
export interface SystemProxy {
|
|
52
52
|
readonly addonPages: Pick<InferProvider<typeof addonPagesCapability>, 'listPages'>;
|
|
53
|
-
readonly addons: Pick<InferProvider<typeof addonsCapability>, 'list' | 'getLogs' | 'listPackages' | 'installPackage' | 'installFromWorkspace' | 'isWorkspaceAvailable' | 'listWorkspacePackages' | 'uninstallPackage' | 'reloadPackages' | 'searchAvailable' | 'listUpdates' | 'updatePackage' | 'rollbackPackage' | 'forceRefresh' | 'restartServer' | 'getLastRestart' | 'listFrameworkPackages' | 'listCapabilityProviders' | 'setCapabilityProviderEnabled' | '
|
|
53
|
+
readonly addons: Pick<InferProvider<typeof addonsCapability>, 'list' | 'getLogs' | 'listPackages' | 'installPackage' | 'installFromWorkspace' | 'isWorkspaceAvailable' | 'listWorkspacePackages' | 'uninstallPackage' | 'reloadPackages' | 'searchAvailable' | 'listUpdates' | 'updatePackage' | 'rollbackPackage' | 'forceRefresh' | 'restartServer' | 'getLastRestart' | 'listFrameworkPackages' | 'listCapabilityProviders' | 'setCapabilityProviderEnabled' | 'getVersions' | 'restartAddon' | 'retryLoad' | 'getAutoUpdateSettings' | 'setAutoUpdateSettings' | 'getAddonAutoUpdate' | 'setAddonAutoUpdate' | 'applyAutoUpdateToAll' | 'custom' | 'startJob' | 'getJob' | 'listJobs' | 'cancelJob' | 'onAddonLogs'>;
|
|
54
54
|
readonly addonSettings: Pick<InferProvider<typeof addonSettingsCapability>, 'getGlobalSettings' | 'updateGlobalSettings'>;
|
|
55
55
|
readonly addonWidgets: Pick<InferProvider<typeof addonWidgetsCapability>, 'listWidgets'>;
|
|
56
56
|
readonly alerts: Pick<InferProvider<typeof alertsCapability>, 'emit' | 'update' | 'list' | 'getUnreadCount' | 'markRead' | 'markAllRead' | 'dismiss'>;
|
package/dist/index.js
CHANGED
|
@@ -12905,7 +12905,6 @@ function createSystemProxy(api) {
|
|
|
12905
12905
|
listFrameworkPackages: (input) => dispatch("addons", "listFrameworkPackages", "query", input),
|
|
12906
12906
|
listCapabilityProviders: (input) => dispatch("addons", "listCapabilityProviders", "query", input),
|
|
12907
12907
|
setCapabilityProviderEnabled: (input) => dispatch("addons", "setCapabilityProviderEnabled", "mutation", input),
|
|
12908
|
-
updateFrameworkPackage: (input) => dispatch("addons", "updateFrameworkPackage", "mutation", input),
|
|
12909
12908
|
getVersions: (input) => dispatch("addons", "getVersions", "query", input),
|
|
12910
12909
|
restartAddon: (input) => dispatch("addons", "restartAddon", "mutation", input),
|
|
12911
12910
|
retryLoad: (input) => dispatch("addons", "retryLoad", "mutation", input),
|
|
@@ -21583,22 +21582,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
21583
21582
|
var RestartAddonResultSchema = zod.z.unknown();
|
|
21584
21583
|
var InstallPackageResultSchema = zod.z.unknown();
|
|
21585
21584
|
var ReloadPackagesResultSchema = zod.z.unknown();
|
|
21586
|
-
/**
|
|
21587
|
-
* Result of `updateFrameworkPackage`. The cap method returns BEFORE the
|
|
21588
|
-
* server restarts so the admin UI can react to the `restartingAt`
|
|
21589
|
-
* timestamp (shows reconnect overlay). The transition from
|
|
21590
|
-
* `fromVersion` to `toVersion` will be confirmed by a subsequent
|
|
21591
|
-
* `system.restart-completed` event after the new process boots.
|
|
21592
|
-
*
|
|
21593
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
21594
|
-
*/
|
|
21595
|
-
var UpdateFrameworkPackageResultSchema = zod.z.object({
|
|
21596
|
-
packageName: zod.z.string(),
|
|
21597
|
-
fromVersion: zod.z.string(),
|
|
21598
|
-
toVersion: zod.z.string(),
|
|
21599
|
-
/** Ms-epoch the server scheduled its self-restart. */
|
|
21600
|
-
restartingAt: zod.z.number()
|
|
21601
|
-
});
|
|
21602
21585
|
var BulkUpdateItemStatusSchema = zod.z.enum([
|
|
21603
21586
|
"queued",
|
|
21604
21587
|
"updating",
|
|
@@ -21844,28 +21827,6 @@ var addonsCapability = {
|
|
|
21844
21827
|
kind: "mutation",
|
|
21845
21828
|
auth: "admin"
|
|
21846
21829
|
}),
|
|
21847
|
-
/**
|
|
21848
|
-
* Live-update one of the framework packages marked
|
|
21849
|
-
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
21850
|
-
* Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
|
|
21851
|
-
* writes a `.restart-pending` marker, emits `system.restarting`
|
|
21852
|
-
* and schedules a graceful process exit. The supervisor (Docker /
|
|
21853
|
-
* Electron / systemd) brings the hub back up; on first boot after
|
|
21854
|
-
* the restart the marker fires `system.restart-completed`.
|
|
21855
|
-
*
|
|
21856
|
-
* `version` defaults to `'latest'`. The allow-list of valid
|
|
21857
|
-
* `packageName` values is enforced server-side.
|
|
21858
|
-
*
|
|
21859
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
21860
|
-
*/
|
|
21861
|
-
updateFrameworkPackage: require_sleep.method(zod.z.object({
|
|
21862
|
-
packageName: zod.z.string().min(1),
|
|
21863
|
-
version: zod.z.string().optional(),
|
|
21864
|
-
deferRestart: zod.z.boolean().optional()
|
|
21865
|
-
}), UpdateFrameworkPackageResultSchema, {
|
|
21866
|
-
kind: "mutation",
|
|
21867
|
-
auth: "admin"
|
|
21868
|
-
}),
|
|
21869
21830
|
getVersions: require_sleep.method(zod.z.object({ name: zod.z.string() }), zod.z.array(PackageVersionInfoSchema).readonly()),
|
|
21870
21831
|
restartAddon: require_sleep.method(zod.z.object({ addonId: zod.z.string() }), RestartAddonResultSchema, {
|
|
21871
21832
|
kind: "mutation",
|
|
@@ -25949,12 +25910,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
25949
25910
|
addonId: null,
|
|
25950
25911
|
access: "delete"
|
|
25951
25912
|
},
|
|
25952
|
-
"addons.updateFrameworkPackage": {
|
|
25953
|
-
capName: "addons",
|
|
25954
|
-
capScope: "system",
|
|
25955
|
-
addonId: null,
|
|
25956
|
-
access: "create"
|
|
25957
|
-
},
|
|
25958
25913
|
"addons.updatePackage": {
|
|
25959
25914
|
capName: "addons",
|
|
25960
25915
|
capScope: "system",
|
|
@@ -30862,34 +30817,6 @@ function getCapsByProviderKind(kind) {
|
|
|
30862
30817
|
return out;
|
|
30863
30818
|
}
|
|
30864
30819
|
//#endregion
|
|
30865
|
-
//#region src/lifecycle/framework-swap.ts
|
|
30866
|
-
var frameworkSwapPackageSchema = zod.z.object({
|
|
30867
|
-
name: zod.z.string(),
|
|
30868
|
-
stagedPath: zod.z.string(),
|
|
30869
|
-
backupPath: zod.z.string(),
|
|
30870
|
-
toVersion: zod.z.string(),
|
|
30871
|
-
fromVersion: zod.z.string().nullable()
|
|
30872
|
-
});
|
|
30873
|
-
var pendingFrameworkSwapSchema = zod.z.object({
|
|
30874
|
-
jobId: zod.z.string(),
|
|
30875
|
-
taskId: zod.z.string(),
|
|
30876
|
-
packages: zod.z.array(frameworkSwapPackageSchema),
|
|
30877
|
-
requestedAtMs: zod.z.number(),
|
|
30878
|
-
schemaVersion: zod.z.literal(1)
|
|
30879
|
-
});
|
|
30880
|
-
var frameworkSwapConfirmSchema = zod.z.object({
|
|
30881
|
-
jobId: zod.z.string(),
|
|
30882
|
-
taskId: zod.z.string(),
|
|
30883
|
-
backups: zod.z.array(zod.z.object({
|
|
30884
|
-
name: zod.z.string(),
|
|
30885
|
-
backupPath: zod.z.string(),
|
|
30886
|
-
livePath: zod.z.string()
|
|
30887
|
-
})),
|
|
30888
|
-
appliedAtMs: zod.z.number(),
|
|
30889
|
-
bootAttempts: zod.z.number(),
|
|
30890
|
-
schemaVersion: zod.z.literal(1)
|
|
30891
|
-
});
|
|
30892
|
-
//#endregion
|
|
30893
30820
|
//#region src/util/location-match.ts
|
|
30894
30821
|
/**
|
|
30895
30822
|
* Pure fuzzy matcher for adoption location import. Normalized
|
|
@@ -32067,8 +31994,6 @@ exports.findTimezone = findTimezone;
|
|
|
32067
31994
|
exports.floodCapability = floodCapability;
|
|
32068
31995
|
exports.formatForBackend = formatForBackend;
|
|
32069
31996
|
exports.formatForRuntime = formatForRuntime;
|
|
32070
|
-
exports.frameworkSwapConfirmSchema = frameworkSwapConfirmSchema;
|
|
32071
|
-
exports.frameworkSwapPackageSchema = frameworkSwapPackageSchema;
|
|
32072
31997
|
exports.gasCapability = gasCapability;
|
|
32073
31998
|
exports.getAudioMacroClassIds = getAudioMacroClassIds;
|
|
32074
31999
|
exports.getByPath = getByPath;
|
|
@@ -32146,7 +32071,6 @@ exports.parseJsonObject = require_sleep.parseJsonObject;
|
|
|
32146
32071
|
exports.parseJsonUnknown = require_sleep.parseJsonUnknown;
|
|
32147
32072
|
exports.parseProfileBrokerId = require_sleep.parseProfileBrokerId;
|
|
32148
32073
|
exports.parseStreamParamsFormPatch = parseStreamParamsFormPatch;
|
|
32149
|
-
exports.pendingFrameworkSwapSchema = pendingFrameworkSwapSchema;
|
|
32150
32074
|
exports.petFeederCapability = petFeederCapability;
|
|
32151
32075
|
exports.pickPreferredRtspEntry = pickPreferredRtspEntry;
|
|
32152
32076
|
exports.pipelineAnalyticsCapability = pipelineAnalyticsCapability;
|
package/dist/index.mjs
CHANGED
|
@@ -12904,7 +12904,6 @@ function createSystemProxy(api) {
|
|
|
12904
12904
|
listFrameworkPackages: (input) => dispatch("addons", "listFrameworkPackages", "query", input),
|
|
12905
12905
|
listCapabilityProviders: (input) => dispatch("addons", "listCapabilityProviders", "query", input),
|
|
12906
12906
|
setCapabilityProviderEnabled: (input) => dispatch("addons", "setCapabilityProviderEnabled", "mutation", input),
|
|
12907
|
-
updateFrameworkPackage: (input) => dispatch("addons", "updateFrameworkPackage", "mutation", input),
|
|
12908
12907
|
getVersions: (input) => dispatch("addons", "getVersions", "query", input),
|
|
12909
12908
|
restartAddon: (input) => dispatch("addons", "restartAddon", "mutation", input),
|
|
12910
12909
|
retryLoad: (input) => dispatch("addons", "retryLoad", "mutation", input),
|
|
@@ -21582,22 +21581,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
21582
21581
|
var RestartAddonResultSchema = z.unknown();
|
|
21583
21582
|
var InstallPackageResultSchema = z.unknown();
|
|
21584
21583
|
var ReloadPackagesResultSchema = z.unknown();
|
|
21585
|
-
/**
|
|
21586
|
-
* Result of `updateFrameworkPackage`. The cap method returns BEFORE the
|
|
21587
|
-
* server restarts so the admin UI can react to the `restartingAt`
|
|
21588
|
-
* timestamp (shows reconnect overlay). The transition from
|
|
21589
|
-
* `fromVersion` to `toVersion` will be confirmed by a subsequent
|
|
21590
|
-
* `system.restart-completed` event after the new process boots.
|
|
21591
|
-
*
|
|
21592
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
21593
|
-
*/
|
|
21594
|
-
var UpdateFrameworkPackageResultSchema = z.object({
|
|
21595
|
-
packageName: z.string(),
|
|
21596
|
-
fromVersion: z.string(),
|
|
21597
|
-
toVersion: z.string(),
|
|
21598
|
-
/** Ms-epoch the server scheduled its self-restart. */
|
|
21599
|
-
restartingAt: z.number()
|
|
21600
|
-
});
|
|
21601
21584
|
var BulkUpdateItemStatusSchema = z.enum([
|
|
21602
21585
|
"queued",
|
|
21603
21586
|
"updating",
|
|
@@ -21843,28 +21826,6 @@ var addonsCapability = {
|
|
|
21843
21826
|
kind: "mutation",
|
|
21844
21827
|
auth: "admin"
|
|
21845
21828
|
}),
|
|
21846
|
-
/**
|
|
21847
|
-
* Live-update one of the framework packages marked
|
|
21848
|
-
* `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
|
|
21849
|
-
* Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
|
|
21850
|
-
* writes a `.restart-pending` marker, emits `system.restarting`
|
|
21851
|
-
* and schedules a graceful process exit. The supervisor (Docker /
|
|
21852
|
-
* Electron / systemd) brings the hub back up; on first boot after
|
|
21853
|
-
* the restart the marker fires `system.restart-completed`.
|
|
21854
|
-
*
|
|
21855
|
-
* `version` defaults to `'latest'`. The allow-list of valid
|
|
21856
|
-
* `packageName` values is enforced server-side.
|
|
21857
|
-
*
|
|
21858
|
-
* Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
|
|
21859
|
-
*/
|
|
21860
|
-
updateFrameworkPackage: method(z.object({
|
|
21861
|
-
packageName: z.string().min(1),
|
|
21862
|
-
version: z.string().optional(),
|
|
21863
|
-
deferRestart: z.boolean().optional()
|
|
21864
|
-
}), UpdateFrameworkPackageResultSchema, {
|
|
21865
|
-
kind: "mutation",
|
|
21866
|
-
auth: "admin"
|
|
21867
|
-
}),
|
|
21868
21829
|
getVersions: method(z.object({ name: z.string() }), z.array(PackageVersionInfoSchema).readonly()),
|
|
21869
21830
|
restartAddon: method(z.object({ addonId: z.string() }), RestartAddonResultSchema, {
|
|
21870
21831
|
kind: "mutation",
|
|
@@ -25948,12 +25909,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
25948
25909
|
addonId: null,
|
|
25949
25910
|
access: "delete"
|
|
25950
25911
|
},
|
|
25951
|
-
"addons.updateFrameworkPackage": {
|
|
25952
|
-
capName: "addons",
|
|
25953
|
-
capScope: "system",
|
|
25954
|
-
addonId: null,
|
|
25955
|
-
access: "create"
|
|
25956
|
-
},
|
|
25957
25912
|
"addons.updatePackage": {
|
|
25958
25913
|
capName: "addons",
|
|
25959
25914
|
capScope: "system",
|
|
@@ -30861,34 +30816,6 @@ function getCapsByProviderKind(kind) {
|
|
|
30861
30816
|
return out;
|
|
30862
30817
|
}
|
|
30863
30818
|
//#endregion
|
|
30864
|
-
//#region src/lifecycle/framework-swap.ts
|
|
30865
|
-
var frameworkSwapPackageSchema = z.object({
|
|
30866
|
-
name: z.string(),
|
|
30867
|
-
stagedPath: z.string(),
|
|
30868
|
-
backupPath: z.string(),
|
|
30869
|
-
toVersion: z.string(),
|
|
30870
|
-
fromVersion: z.string().nullable()
|
|
30871
|
-
});
|
|
30872
|
-
var pendingFrameworkSwapSchema = z.object({
|
|
30873
|
-
jobId: z.string(),
|
|
30874
|
-
taskId: z.string(),
|
|
30875
|
-
packages: z.array(frameworkSwapPackageSchema),
|
|
30876
|
-
requestedAtMs: z.number(),
|
|
30877
|
-
schemaVersion: z.literal(1)
|
|
30878
|
-
});
|
|
30879
|
-
var frameworkSwapConfirmSchema = z.object({
|
|
30880
|
-
jobId: z.string(),
|
|
30881
|
-
taskId: z.string(),
|
|
30882
|
-
backups: z.array(z.object({
|
|
30883
|
-
name: z.string(),
|
|
30884
|
-
backupPath: z.string(),
|
|
30885
|
-
livePath: z.string()
|
|
30886
|
-
})),
|
|
30887
|
-
appliedAtMs: z.number(),
|
|
30888
|
-
bootAttempts: z.number(),
|
|
30889
|
-
schemaVersion: z.literal(1)
|
|
30890
|
-
});
|
|
30891
|
-
//#endregion
|
|
30892
30819
|
//#region src/util/location-match.ts
|
|
30893
30820
|
/**
|
|
30894
30821
|
* Pure fuzzy matcher for adoption location import. Normalized
|
|
@@ -31342,4 +31269,4 @@ function scoreRuntimes(hw) {
|
|
|
31342
31269
|
};
|
|
31343
31270
|
}
|
|
31344
31271
|
//#endregion
|
|
31345
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
31272
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -1015,8 +1015,8 @@ export interface AddonPackageManifest {
|
|
|
1015
1015
|
* (types, kernel, core, sdk, ui-library) rather than an installable
|
|
1016
1016
|
* addon. The admin UI shows these in a separate "System packages"
|
|
1017
1017
|
* section, disables uninstall, and warns the operator that updating
|
|
1018
|
-
* them requires a server restart.
|
|
1019
|
-
*
|
|
1018
|
+
* them requires a server restart. Framework packages are updated via
|
|
1019
|
+
* the node-root server-update flow (`applyServerUpdate`), not the
|
|
1020
1020
|
* regular addon installer.
|
|
1021
1021
|
*
|
|
1022
1022
|
* Mutually-exclusive with `addons[]` in concept but not in code:
|
|
@@ -432,7 +432,7 @@ export interface SystemReadyStatePayload {
|
|
|
432
432
|
* with just `kind: 'manual'` and `requestedAt`.
|
|
433
433
|
*
|
|
434
434
|
* kind values:
|
|
435
|
-
* `framework-update` —
|
|
435
|
+
* `framework-update` — framework/system-package update (via applyServerUpdate)
|
|
436
436
|
* `manual` — operator-triggered restart (restartServer)
|
|
437
437
|
* `system` — internal / supervisor-initiated restart
|
|
438
438
|
* `framework-bulk-update` — multi-package bulk update run as one lifecycle engine job
|
|
@@ -148,6 +148,10 @@ export interface PoolModelConfig {
|
|
|
148
148
|
readonly postprocessor: PostprocessorType;
|
|
149
149
|
/** Confidence threshold for NMS / filtering */
|
|
150
150
|
readonly confidence: number;
|
|
151
|
+
/** IoU threshold for the detector's non-max suppression (dedup). Read by the
|
|
152
|
+
* Python postprocessors (yolo / yolo-seg / scrfd); when absent they fall back
|
|
153
|
+
* to their 0.45 literal, so an unset value is byte-identical to today. */
|
|
154
|
+
readonly nmsIouThreshold?: number;
|
|
151
155
|
/** Label names for softmax-based classifiers */
|
|
152
156
|
readonly labels?: readonly string[];
|
|
153
157
|
/** Character set for CTC-based recognizers */
|
package/package.json
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const frameworkSwapPackageSchema: z.ZodObject<{
|
|
3
|
-
name: z.ZodString;
|
|
4
|
-
stagedPath: z.ZodString;
|
|
5
|
-
backupPath: z.ZodString;
|
|
6
|
-
toVersion: z.ZodString;
|
|
7
|
-
fromVersion: z.ZodNullable<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
export type FrameworkSwapPackage = z.infer<typeof frameworkSwapPackageSchema>;
|
|
10
|
-
export declare const pendingFrameworkSwapSchema: z.ZodObject<{
|
|
11
|
-
jobId: z.ZodString;
|
|
12
|
-
taskId: z.ZodString;
|
|
13
|
-
packages: z.ZodArray<z.ZodObject<{
|
|
14
|
-
name: z.ZodString;
|
|
15
|
-
stagedPath: z.ZodString;
|
|
16
|
-
backupPath: z.ZodString;
|
|
17
|
-
toVersion: z.ZodString;
|
|
18
|
-
fromVersion: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$strip>>;
|
|
20
|
-
requestedAtMs: z.ZodNumber;
|
|
21
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export type PendingFrameworkSwap = z.infer<typeof pendingFrameworkSwapSchema>;
|
|
24
|
-
export declare const frameworkSwapConfirmSchema: z.ZodObject<{
|
|
25
|
-
jobId: z.ZodString;
|
|
26
|
-
taskId: z.ZodString;
|
|
27
|
-
backups: z.ZodArray<z.ZodObject<{
|
|
28
|
-
name: z.ZodString;
|
|
29
|
-
backupPath: z.ZodString;
|
|
30
|
-
livePath: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>;
|
|
32
|
-
appliedAtMs: z.ZodNumber;
|
|
33
|
-
bootAttempts: z.ZodNumber;
|
|
34
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
|
-
export type FrameworkSwapConfirm = z.infer<typeof frameworkSwapConfirmSchema>;
|