@camstack/types 1.2.13 → 1.2.14
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/index.d.ts +3 -1
- package/dist/capabilities/terminal-session.cap.d.ts +89 -0
- package/dist/generated/addon-api.d.ts +134 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.js +126 -0
- package/dist/index.mjs +124 -1
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ export type { AudioAnalyzerGlobalConfig, AudioBackendChoice, IAudioAnalyzerProvi
|
|
|
31
31
|
export { AUDIO_BACKEND_CHOICES, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioClassificationResultSchema, audioAnalyzerCapability, DEFAULT_AUDIO_ANALYZER_CONFIG, } from './audio-analyzer.cap.js';
|
|
32
32
|
export { AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEncodeSessionConfigSchema, AudioPcmChunkSchema, audioCodecCapability, type IAudioCodecCapProvider, PcmSampleFormatSchema, } from './audio-codec.cap.js';
|
|
33
33
|
export { AuthResultSchema, authProviderCapability } from './auth-provider.cap.js';
|
|
34
|
+
export { terminalSessionCapability, type ITerminalSessionProvider, type TerminalSessionInfo, type TerminalProfileInfo, TerminalSessionInfoSchema, TerminalProfileInfoSchema, } from './terminal-session.cap.js';
|
|
34
35
|
export { ArchiveEntrySchema, ArchiveManifestSchema, BackupDestinationInfoSchema, BackupEntrySchema, backupCapability, type IBackupProvider, LocationStatSchema, } from './backup.cap.js';
|
|
35
36
|
export { BrokerAddInputSchema, BrokerGetStateInputSchema, type BrokerInfo as UnifiedBrokerInfo, BrokerInfoSchema as UnifiedBrokerInfoSchema, type BrokerProviderInfo, BrokerProviderInfoSchema, BrokerPublishInputSchema, BrokerRegistryStatusSchema, type BrokerStatus as UnifiedBrokerStatus, BrokerStatusEnum, BrokerSubscribeInputSchema, BrokerSubscribeResultSchema, BrokerTestConnectionResultSchema, BrokerUnsubscribeInputSchema, brokerCapability, type IBrokerProvider, } from './broker.cap.js';
|
|
36
37
|
export { cameraPipelineConfigCapability, type ICameraPipelineConfigProvider, } from './camera-pipeline-config.cap.js';
|
|
@@ -316,12 +317,13 @@ import type { vacuumControlCapability } from './vacuum-control.cap.js';
|
|
|
316
317
|
import type { valveCapability } from './valve.cap.js';
|
|
317
318
|
import type { vibrationCapability } from './vibration.cap.js';
|
|
318
319
|
import type { viewerUiCapability } from './viewer-ui.cap.js';
|
|
320
|
+
import type { terminalSessionCapability } from './terminal-session.cap.js';
|
|
319
321
|
import type { waterHeaterCapability } from './water-heater.cap.js';
|
|
320
322
|
import type { weatherCapability } from './weather.cap.js';
|
|
321
323
|
import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
322
324
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
323
325
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
324
326
|
import type { zonesCapability } from './zones.cap.js';
|
|
325
|
-
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof consumablesCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability;
|
|
327
|
+
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof terminalSessionCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof consumablesCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability;
|
|
326
328
|
export type CapabilityName = AnyCapability['name'];
|
|
327
329
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type InferProvider } from './capability-definition.js';
|
|
3
|
+
/**
|
|
4
|
+
* A live terminal session hosted by the provider addon. Output and input do
|
|
5
|
+
* NOT flow through the capability — they use the addon data plane
|
|
6
|
+
* (`GET /addon/terminal/<id>/out` SSE, `POST /addon/terminal/<id>/in`) because
|
|
7
|
+
* terminal output must be ordered and lossless. The event bus is telemetry and
|
|
8
|
+
* may drop chunks ([D8]), and a dropped chunk desynchronises the vt parser
|
|
9
|
+
* permanently until a full repaint. The capability owns only lifecycle.
|
|
10
|
+
*/
|
|
11
|
+
declare const TerminalSessionInfoSchema: z.ZodObject<{
|
|
12
|
+
sessionId: z.ZodString;
|
|
13
|
+
profileId: z.ZodString;
|
|
14
|
+
label: z.ZodString;
|
|
15
|
+
cols: z.ZodNumber;
|
|
16
|
+
rows: z.ZodNumber;
|
|
17
|
+
startedAt: z.ZodNumber;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
/**
|
|
20
|
+
* A profile the operator may open — a pre-declared, allowlisted program
|
|
21
|
+
* (`monitor` → `btm`). The capability accepts only these ids; a free-form
|
|
22
|
+
* command string would be remote code execution as the server's user, so it is
|
|
23
|
+
* deliberately not part of the contract.
|
|
24
|
+
*/
|
|
25
|
+
declare const TerminalProfileInfoSchema: z.ZodObject<{
|
|
26
|
+
profileId: z.ZodString;
|
|
27
|
+
label: z.ZodString;
|
|
28
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
/**
|
|
31
|
+
* terminal-session — singleton system capability for interactive TTY sessions.
|
|
32
|
+
*
|
|
33
|
+
* Phase 1 (this cap): open/resize/close/list a pty running an allowlisted
|
|
34
|
+
* profile, streamed to xterm.js over the data plane. Phase 2 (streaming a
|
|
35
|
+
* session as a camera) is a separate device-provider concern and does not
|
|
36
|
+
* change this contract.
|
|
37
|
+
*/
|
|
38
|
+
export declare const terminalSessionCapability: {
|
|
39
|
+
readonly name: "terminal-session";
|
|
40
|
+
readonly scope: "system";
|
|
41
|
+
readonly mode: "singleton";
|
|
42
|
+
readonly methods: {
|
|
43
|
+
/** Pre-declared profiles the operator may open. */
|
|
44
|
+
readonly listProfiles: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
45
|
+
profileId: z.ZodString;
|
|
46
|
+
label: z.ZodString;
|
|
47
|
+
description: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
49
|
+
/** Live sessions currently hosted by the provider. */
|
|
50
|
+
readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
51
|
+
sessionId: z.ZodString;
|
|
52
|
+
profileId: z.ZodString;
|
|
53
|
+
label: z.ZodString;
|
|
54
|
+
cols: z.ZodNumber;
|
|
55
|
+
rows: z.ZodNumber;
|
|
56
|
+
startedAt: z.ZodNumber;
|
|
57
|
+
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
58
|
+
/**
|
|
59
|
+
* Spawn a pty for an allowlisted profile at the given grid size and return
|
|
60
|
+
* its session id. Output/input then flow over the data plane by that id.
|
|
61
|
+
*/
|
|
62
|
+
readonly openSession: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
63
|
+
profileId: z.ZodString;
|
|
64
|
+
cols: z.ZodNumber;
|
|
65
|
+
rows: z.ZodNumber;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
sessionId: z.ZodString;
|
|
68
|
+
profileId: z.ZodString;
|
|
69
|
+
label: z.ZodString;
|
|
70
|
+
cols: z.ZodNumber;
|
|
71
|
+
rows: z.ZodNumber;
|
|
72
|
+
startedAt: z.ZodNumber;
|
|
73
|
+
}, z.core.$strip>, "mutation">;
|
|
74
|
+
/** Resize a live session's pty (reflows the running program). */
|
|
75
|
+
readonly resize: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
76
|
+
sessionId: z.ZodString;
|
|
77
|
+
cols: z.ZodNumber;
|
|
78
|
+
rows: z.ZodNumber;
|
|
79
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
80
|
+
/** Terminate a live session and release its pty. */
|
|
81
|
+
readonly close: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
82
|
+
sessionId: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export type ITerminalSessionProvider = InferProvider<typeof terminalSessionCapability>;
|
|
87
|
+
export type TerminalSessionInfo = z.infer<typeof TerminalSessionInfoSchema>;
|
|
88
|
+
export type TerminalProfileInfo = z.infer<typeof TerminalProfileInfoSchema>;
|
|
89
|
+
export { TerminalSessionInfoSchema, TerminalProfileInfoSchema };
|
|
@@ -15946,6 +15946,73 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15946
15946
|
meta: object;
|
|
15947
15947
|
}>;
|
|
15948
15948
|
}>>;
|
|
15949
|
+
terminalSession: import("@trpc/server").TRPCBuiltRouter<{
|
|
15950
|
+
ctx: TrpcContext;
|
|
15951
|
+
meta: object;
|
|
15952
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
15953
|
+
transformer: true;
|
|
15954
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
15955
|
+
listProfiles: import("@trpc/server").TRPCQueryProcedure<{
|
|
15956
|
+
input: {
|
|
15957
|
+
nodeId?: string | undefined;
|
|
15958
|
+
} | undefined;
|
|
15959
|
+
output: readonly {
|
|
15960
|
+
profileId: string;
|
|
15961
|
+
label: string;
|
|
15962
|
+
description?: string | undefined;
|
|
15963
|
+
}[];
|
|
15964
|
+
meta: object;
|
|
15965
|
+
}>;
|
|
15966
|
+
listSessions: import("@trpc/server").TRPCQueryProcedure<{
|
|
15967
|
+
input: {
|
|
15968
|
+
nodeId?: string | undefined;
|
|
15969
|
+
} | undefined;
|
|
15970
|
+
output: readonly {
|
|
15971
|
+
sessionId: string;
|
|
15972
|
+
profileId: string;
|
|
15973
|
+
label: string;
|
|
15974
|
+
cols: number;
|
|
15975
|
+
rows: number;
|
|
15976
|
+
startedAt: number;
|
|
15977
|
+
}[];
|
|
15978
|
+
meta: object;
|
|
15979
|
+
}>;
|
|
15980
|
+
openSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
15981
|
+
input: {
|
|
15982
|
+
[x: string]: unknown;
|
|
15983
|
+
profileId: string;
|
|
15984
|
+
cols: number;
|
|
15985
|
+
rows: number;
|
|
15986
|
+
};
|
|
15987
|
+
output: {
|
|
15988
|
+
sessionId: string;
|
|
15989
|
+
profileId: string;
|
|
15990
|
+
label: string;
|
|
15991
|
+
cols: number;
|
|
15992
|
+
rows: number;
|
|
15993
|
+
startedAt: number;
|
|
15994
|
+
};
|
|
15995
|
+
meta: object;
|
|
15996
|
+
}>;
|
|
15997
|
+
resize: import("@trpc/server").TRPCMutationProcedure<{
|
|
15998
|
+
input: {
|
|
15999
|
+
[x: string]: unknown;
|
|
16000
|
+
sessionId: string;
|
|
16001
|
+
cols: number;
|
|
16002
|
+
rows: number;
|
|
16003
|
+
};
|
|
16004
|
+
output: void;
|
|
16005
|
+
meta: object;
|
|
16006
|
+
}>;
|
|
16007
|
+
close: import("@trpc/server").TRPCMutationProcedure<{
|
|
16008
|
+
input: {
|
|
16009
|
+
[x: string]: unknown;
|
|
16010
|
+
sessionId: string;
|
|
16011
|
+
};
|
|
16012
|
+
output: void;
|
|
16013
|
+
meta: object;
|
|
16014
|
+
}>;
|
|
16015
|
+
}>>;
|
|
15949
16016
|
toast: import("@trpc/server").TRPCBuiltRouter<{
|
|
15950
16017
|
ctx: TrpcContext;
|
|
15951
16018
|
meta: object;
|
|
@@ -33304,6 +33371,73 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
33304
33371
|
meta: object;
|
|
33305
33372
|
}>;
|
|
33306
33373
|
}>>;
|
|
33374
|
+
terminalSession: import("@trpc/server").TRPCBuiltRouter<{
|
|
33375
|
+
ctx: TrpcContext;
|
|
33376
|
+
meta: object;
|
|
33377
|
+
errorShape: import("@camstack/types").AugmentedErrorShape;
|
|
33378
|
+
transformer: true;
|
|
33379
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
33380
|
+
listProfiles: import("@trpc/server").TRPCQueryProcedure<{
|
|
33381
|
+
input: {
|
|
33382
|
+
nodeId?: string | undefined;
|
|
33383
|
+
} | undefined;
|
|
33384
|
+
output: readonly {
|
|
33385
|
+
profileId: string;
|
|
33386
|
+
label: string;
|
|
33387
|
+
description?: string | undefined;
|
|
33388
|
+
}[];
|
|
33389
|
+
meta: object;
|
|
33390
|
+
}>;
|
|
33391
|
+
listSessions: import("@trpc/server").TRPCQueryProcedure<{
|
|
33392
|
+
input: {
|
|
33393
|
+
nodeId?: string | undefined;
|
|
33394
|
+
} | undefined;
|
|
33395
|
+
output: readonly {
|
|
33396
|
+
sessionId: string;
|
|
33397
|
+
profileId: string;
|
|
33398
|
+
label: string;
|
|
33399
|
+
cols: number;
|
|
33400
|
+
rows: number;
|
|
33401
|
+
startedAt: number;
|
|
33402
|
+
}[];
|
|
33403
|
+
meta: object;
|
|
33404
|
+
}>;
|
|
33405
|
+
openSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
33406
|
+
input: {
|
|
33407
|
+
[x: string]: unknown;
|
|
33408
|
+
profileId: string;
|
|
33409
|
+
cols: number;
|
|
33410
|
+
rows: number;
|
|
33411
|
+
};
|
|
33412
|
+
output: {
|
|
33413
|
+
sessionId: string;
|
|
33414
|
+
profileId: string;
|
|
33415
|
+
label: string;
|
|
33416
|
+
cols: number;
|
|
33417
|
+
rows: number;
|
|
33418
|
+
startedAt: number;
|
|
33419
|
+
};
|
|
33420
|
+
meta: object;
|
|
33421
|
+
}>;
|
|
33422
|
+
resize: import("@trpc/server").TRPCMutationProcedure<{
|
|
33423
|
+
input: {
|
|
33424
|
+
[x: string]: unknown;
|
|
33425
|
+
sessionId: string;
|
|
33426
|
+
cols: number;
|
|
33427
|
+
rows: number;
|
|
33428
|
+
};
|
|
33429
|
+
output: void;
|
|
33430
|
+
meta: object;
|
|
33431
|
+
}>;
|
|
33432
|
+
close: import("@trpc/server").TRPCMutationProcedure<{
|
|
33433
|
+
input: {
|
|
33434
|
+
[x: string]: unknown;
|
|
33435
|
+
sessionId: string;
|
|
33436
|
+
};
|
|
33437
|
+
output: void;
|
|
33438
|
+
meta: object;
|
|
33439
|
+
}>;
|
|
33440
|
+
}>>;
|
|
33307
33441
|
toast: import("@trpc/server").TRPCBuiltRouter<{
|
|
33308
33442
|
ctx: TrpcContext;
|
|
33309
33443
|
meta: object;
|
|
@@ -124,6 +124,7 @@ export { switchCapability } from '../capabilities/switch.cap.js';
|
|
|
124
124
|
export { systemCapability } from '../capabilities/system.cap.js';
|
|
125
125
|
export { tamperCapability } from '../capabilities/tamper.cap.js';
|
|
126
126
|
export { temperatureSensorCapability } from '../capabilities/temperature-sensor.cap.js';
|
|
127
|
+
export { terminalSessionCapability } from '../capabilities/terminal-session.cap.js';
|
|
127
128
|
export { toastCapability } from '../capabilities/toast.cap.js';
|
|
128
129
|
export { turnProviderCapability } from '../capabilities/turn-provider.cap.js';
|
|
129
130
|
export { updateCapability } from '../capabilities/update.cap.js';
|
|
@@ -267,6 +268,7 @@ export declare const CAPABILITY_NAMES: {
|
|
|
267
268
|
readonly system: "system";
|
|
268
269
|
readonly tamper: "tamper";
|
|
269
270
|
readonly temperatureSensor: "temperature-sensor";
|
|
271
|
+
readonly terminalSession: "terminal-session";
|
|
270
272
|
readonly toast: "toast";
|
|
271
273
|
readonly turnProvider: "turn-provider";
|
|
272
274
|
readonly update: "update";
|
|
@@ -423,6 +425,7 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
423
425
|
readonly system: TRouter;
|
|
424
426
|
readonly tamper: TRouter;
|
|
425
427
|
readonly temperatureSensor: TRouter;
|
|
428
|
+
readonly terminalSession: TRouter;
|
|
426
429
|
readonly toast: TRouter;
|
|
427
430
|
readonly turnProvider: TRouter;
|
|
428
431
|
readonly update: TRouter;
|
|
@@ -440,8 +443,8 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
440
443
|
readonly zoneRules: TRouter;
|
|
441
444
|
readonly zones: TRouter;
|
|
442
445
|
}
|
|
443
|
-
/** Capability names whose mode is `singleton` (
|
|
444
|
-
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "air-quality-sensor", "alarm-panel", "alerts", "ambient-light-sensor", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "automation-control", "backup", "battery", "binary", "brightness", "button", "camera-credentials", "camera-pipeline-config", "camera-streams", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "cover", "day-night", "decoder", "detection-pipeline", "device-adoption", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "enum-sensor", "event-emitter", "events", "face-gallery", "fan-control", "feature-probe", "filesystem-browse", "flood", "gas", "humidifier", "humidity-sensor", "image", "image-settings", "integrations", "intercom", "lawn-mower-control", "llm-runtime", "local-network", "lock-control", "media-player", "metrics-provider", "model-convert", "model-distributor", "motion", "motion-detection", "motion-trigger", "motion-zones", "native-object-detection", "network-quality", "nodes", "notification-rules", "notifier", "numeric-sensor", "osd", "pet-feeder", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "plate-gallery", "platform-probe", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "reboot", "recording", "recordingExport", "scene-monitor", "script-runner", "server-management", "settings-store", "smoke", "snapshot", "sso-bridge", "storage", "stream-broker", "stream-catalog", "stream-params", "switch", "system", "tamper", "temperature-sensor", "toast", "update", "user-management", "vacuum-control", "valve", "vibration", "videoclips", "viewer-ui", "water-heater", "weather", "webrtc-session", "zone-analytics", "zone-rules", "zones"];
|
|
446
|
+
/** Capability names whose mode is `singleton` (121 caps). */
|
|
447
|
+
export declare const SINGLETON_CAPABILITY_NAMES: readonly ["accessories", "addon-pages", "addon-settings", "addon-widgets", "addons", "admin-ui", "air-quality-sensor", "alarm-panel", "alerts", "ambient-light-sensor", "audio-analysis", "audio-analyzer", "audio-codec", "audio-metrics", "automation-control", "backup", "battery", "binary", "brightness", "button", "camera-credentials", "camera-pipeline-config", "camera-streams", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "cover", "day-night", "decoder", "detection-pipeline", "device-adoption", "device-discovery", "device-manager", "device-ops", "device-state", "device-status", "doorbell", "enum-sensor", "event-emitter", "events", "face-gallery", "fan-control", "feature-probe", "filesystem-browse", "flood", "gas", "humidifier", "humidity-sensor", "image", "image-settings", "integrations", "intercom", "lawn-mower-control", "llm-runtime", "local-network", "lock-control", "media-player", "metrics-provider", "model-convert", "model-distributor", "motion", "motion-detection", "motion-trigger", "motion-zones", "native-object-detection", "network-quality", "nodes", "notification-rules", "notifier", "numeric-sensor", "osd", "pet-feeder", "pipeline-analytics", "pipeline-executor", "pipeline-orchestrator", "pipeline-runner", "plate-gallery", "platform-probe", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "reboot", "recording", "recordingExport", "scene-monitor", "script-runner", "server-management", "settings-store", "smoke", "snapshot", "sso-bridge", "storage", "stream-broker", "stream-catalog", "stream-params", "switch", "system", "tamper", "temperature-sensor", "terminal-session", "toast", "update", "user-management", "vacuum-control", "valve", "vibration", "videoclips", "viewer-ui", "water-heater", "weather", "webrtc-session", "zone-analytics", "zone-rules", "zones"];
|
|
445
448
|
/** Union of singleton capability names (literal string union). */
|
|
446
449
|
export type SingletonCapabilityName = typeof SINGLETON_CAPABILITY_NAMES[number];
|
|
447
450
|
/** Capability names whose mode is `collection` (22 caps). */
|
|
@@ -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: 811 method paths across 117 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -38,6 +38,7 @@ import type { settingsStoreCapability } from '../capabilities/settings-store.cap
|
|
|
38
38
|
import type { storageCapability } from '../capabilities/storage.cap.js';
|
|
39
39
|
import type { streamBrokerCapability } from '../capabilities/stream-broker.cap.js';
|
|
40
40
|
import type { systemCapability } from '../capabilities/system.cap.js';
|
|
41
|
+
import type { terminalSessionCapability } from '../capabilities/terminal-session.cap.js';
|
|
41
42
|
import type { toastCapability } from '../capabilities/toast.cap.js';
|
|
42
43
|
import type { turnProviderCapability } from '../capabilities/turn-provider.cap.js';
|
|
43
44
|
import type { userManagementCapability } from '../capabilities/user-management.cap.js';
|
|
@@ -88,6 +89,7 @@ export interface SystemProxy {
|
|
|
88
89
|
readonly storage: Pick<InferProvider<typeof storageCapability>, 'resolve' | 'write' | 'read' | 'exists' | 'list' | 'delete' | 'getAvailableSpace' | 'beginUpload' | 'writeChunk' | 'finalizeUpload' | 'abortUpload' | 'beginDownload' | 'readChunk' | 'endDownload' | 'listLocations' | 'getDefaultLocation' | 'listLocationDeclarations' | 'upsertLocation' | 'deleteLocation' | 'testLocation' | 'listProviders' | 'testConfig'>;
|
|
89
90
|
readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'subscribeFrames' | 'pullFrameHandles' | 'unsubscribeFrames' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
|
|
90
91
|
readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup'>;
|
|
92
|
+
readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | 'listSessions' | 'openSession' | 'resize' | 'close'>;
|
|
91
93
|
readonly toast: Pick<InferProvider<typeof toastCapability>, 'onToast'>;
|
|
92
94
|
readonly turnProvider: Pick<InferProvider<typeof turnProviderCapability>, 'getTurnServers'>;
|
|
93
95
|
readonly userManagement: Pick<InferProvider<typeof userManagementCapability>, 'listUsers' | 'createUser' | 'updateUser' | 'deleteUser' | 'resetPassword' | 'setUserScopes' | 'validateCredentials' | 'listApiKeys' | 'createApiKey' | 'revokeApiKey' | 'validateApiKey' | 'createScopedToken' | 'revokeScopedToken' | 'validateScopedToken' | 'listScopedTokens' | 'setupTotp' | 'confirmTotp' | 'disableTotp' | 'getTotpStatus' | 'verifyTotp' | 'oauthIssueCode' | 'oauthExchangeCode' | 'oauthRefresh' | 'oauthVerifyAccessToken' | 'listOauthSessions' | 'revokeOauthSession'>;
|
package/dist/index.js
CHANGED
|
@@ -14719,6 +14719,13 @@ function createSystemProxy(api) {
|
|
|
14719
14719
|
setRetentionConfig: (input) => dispatch("system", "setRetentionConfig", "mutation", input),
|
|
14720
14720
|
forceRetentionCleanup: (input) => dispatch("system", "forceRetentionCleanup", "mutation", input)
|
|
14721
14721
|
},
|
|
14722
|
+
terminalSession: {
|
|
14723
|
+
listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
|
|
14724
|
+
listSessions: (input) => dispatch("terminalSession", "listSessions", "query", input),
|
|
14725
|
+
openSession: (input) => dispatch("terminalSession", "openSession", "mutation", input),
|
|
14726
|
+
resize: (input) => dispatch("terminalSession", "resize", "mutation", input),
|
|
14727
|
+
close: (input) => dispatch("terminalSession", "close", "mutation", input)
|
|
14728
|
+
},
|
|
14722
14729
|
toast: { onToast: (input, push) => dispatch("toast", "onToast", "subscription", input, push) },
|
|
14723
14730
|
turnProvider: { getTurnServers: (input) => dispatch("turnProvider", "getTurnServers", "query", input) },
|
|
14724
14731
|
userManagement: {
|
|
@@ -16155,6 +16162,84 @@ var authProviderCapability = {
|
|
|
16155
16162
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
16156
16163
|
mount: { kind: "skip" }
|
|
16157
16164
|
};
|
|
16165
|
+
//#endregion
|
|
16166
|
+
//#region src/capabilities/terminal-session.cap.ts
|
|
16167
|
+
/**
|
|
16168
|
+
* A live terminal session hosted by the provider addon. Output and input do
|
|
16169
|
+
* NOT flow through the capability — they use the addon data plane
|
|
16170
|
+
* (`GET /addon/terminal/<id>/out` SSE, `POST /addon/terminal/<id>/in`) because
|
|
16171
|
+
* terminal output must be ordered and lossless. The event bus is telemetry and
|
|
16172
|
+
* may drop chunks ([D8]), and a dropped chunk desynchronises the vt parser
|
|
16173
|
+
* permanently until a full repaint. The capability owns only lifecycle.
|
|
16174
|
+
*/
|
|
16175
|
+
var TerminalSessionInfoSchema = zod.z.object({
|
|
16176
|
+
/** Opaque session id minted by the provider on `openSession`. */
|
|
16177
|
+
sessionId: zod.z.string(),
|
|
16178
|
+
/** The pre-declared profile this session runs (never a free-form command). */
|
|
16179
|
+
profileId: zod.z.string(),
|
|
16180
|
+
/** Human-readable profile label for the UI session list. */
|
|
16181
|
+
label: zod.z.string(),
|
|
16182
|
+
cols: zod.z.number().int().positive(),
|
|
16183
|
+
rows: zod.z.number().int().positive(),
|
|
16184
|
+
/** ms-epoch the session's pty was spawned. */
|
|
16185
|
+
startedAt: zod.z.number()
|
|
16186
|
+
});
|
|
16187
|
+
/**
|
|
16188
|
+
* A profile the operator may open — a pre-declared, allowlisted program
|
|
16189
|
+
* (`monitor` → `btm`). The capability accepts only these ids; a free-form
|
|
16190
|
+
* command string would be remote code execution as the server's user, so it is
|
|
16191
|
+
* deliberately not part of the contract.
|
|
16192
|
+
*/
|
|
16193
|
+
var TerminalProfileInfoSchema = zod.z.object({
|
|
16194
|
+
profileId: zod.z.string(),
|
|
16195
|
+
label: zod.z.string(),
|
|
16196
|
+
description: zod.z.string().optional()
|
|
16197
|
+
});
|
|
16198
|
+
/**
|
|
16199
|
+
* terminal-session — singleton system capability for interactive TTY sessions.
|
|
16200
|
+
*
|
|
16201
|
+
* Phase 1 (this cap): open/resize/close/list a pty running an allowlisted
|
|
16202
|
+
* profile, streamed to xterm.js over the data plane. Phase 2 (streaming a
|
|
16203
|
+
* session as a camera) is a separate device-provider concern and does not
|
|
16204
|
+
* change this contract.
|
|
16205
|
+
*/
|
|
16206
|
+
var terminalSessionCapability = {
|
|
16207
|
+
name: "terminal-session",
|
|
16208
|
+
scope: "system",
|
|
16209
|
+
mode: "singleton",
|
|
16210
|
+
methods: {
|
|
16211
|
+
/** Pre-declared profiles the operator may open. */
|
|
16212
|
+
listProfiles: require_sleep.method(zod.z.void(), zod.z.array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
16213
|
+
/** Live sessions currently hosted by the provider. */
|
|
16214
|
+
listSessions: require_sleep.method(zod.z.void(), zod.z.array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }),
|
|
16215
|
+
/**
|
|
16216
|
+
* Spawn a pty for an allowlisted profile at the given grid size and return
|
|
16217
|
+
* its session id. Output/input then flow over the data plane by that id.
|
|
16218
|
+
*/
|
|
16219
|
+
openSession: require_sleep.method(zod.z.object({
|
|
16220
|
+
profileId: zod.z.string(),
|
|
16221
|
+
cols: zod.z.number().int().positive(),
|
|
16222
|
+
rows: zod.z.number().int().positive()
|
|
16223
|
+
}), TerminalSessionInfoSchema, {
|
|
16224
|
+
kind: "mutation",
|
|
16225
|
+
auth: "admin"
|
|
16226
|
+
}),
|
|
16227
|
+
/** Resize a live session's pty (reflows the running program). */
|
|
16228
|
+
resize: require_sleep.method(zod.z.object({
|
|
16229
|
+
sessionId: zod.z.string(),
|
|
16230
|
+
cols: zod.z.number().int().positive(),
|
|
16231
|
+
rows: zod.z.number().int().positive()
|
|
16232
|
+
}), zod.z.void(), {
|
|
16233
|
+
kind: "mutation",
|
|
16234
|
+
auth: "admin"
|
|
16235
|
+
}),
|
|
16236
|
+
/** Terminate a live session and release its pty. */
|
|
16237
|
+
close: require_sleep.method(zod.z.object({ sessionId: zod.z.string() }), zod.z.void(), {
|
|
16238
|
+
kind: "mutation",
|
|
16239
|
+
auth: "admin"
|
|
16240
|
+
})
|
|
16241
|
+
}
|
|
16242
|
+
};
|
|
16158
16243
|
/**
|
|
16159
16244
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
16160
16245
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
@@ -26288,6 +26373,7 @@ var CAPABILITY_NAMES = {
|
|
|
26288
26373
|
system: "system",
|
|
26289
26374
|
tamper: "tamper",
|
|
26290
26375
|
temperatureSensor: "temperature-sensor",
|
|
26376
|
+
terminalSession: "terminal-session",
|
|
26291
26377
|
toast: "toast",
|
|
26292
26378
|
turnProvider: "turn-provider",
|
|
26293
26379
|
update: "update",
|
|
@@ -26811,6 +26897,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
26811
26897
|
key: "temperatureSensor",
|
|
26812
26898
|
name: "temperature-sensor"
|
|
26813
26899
|
},
|
|
26900
|
+
{
|
|
26901
|
+
key: "terminalSession",
|
|
26902
|
+
name: "terminal-session"
|
|
26903
|
+
},
|
|
26814
26904
|
{
|
|
26815
26905
|
key: "toast",
|
|
26816
26906
|
name: "toast"
|
|
@@ -27012,6 +27102,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
27012
27102
|
systemCapability,
|
|
27013
27103
|
tamperCapability,
|
|
27014
27104
|
temperatureSensorCapability,
|
|
27105
|
+
terminalSessionCapability,
|
|
27015
27106
|
toastCapability,
|
|
27016
27107
|
turnProviderCapability,
|
|
27017
27108
|
updateCapability,
|
|
@@ -31495,6 +31586,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
31495
31586
|
addonId: null,
|
|
31496
31587
|
access: "create"
|
|
31497
31588
|
},
|
|
31589
|
+
"terminalSession.close": {
|
|
31590
|
+
capName: "terminal-session",
|
|
31591
|
+
capScope: "system",
|
|
31592
|
+
addonId: null,
|
|
31593
|
+
access: "create"
|
|
31594
|
+
},
|
|
31595
|
+
"terminalSession.listProfiles": {
|
|
31596
|
+
capName: "terminal-session",
|
|
31597
|
+
capScope: "system",
|
|
31598
|
+
addonId: null,
|
|
31599
|
+
access: "view"
|
|
31600
|
+
},
|
|
31601
|
+
"terminalSession.listSessions": {
|
|
31602
|
+
capName: "terminal-session",
|
|
31603
|
+
capScope: "system",
|
|
31604
|
+
addonId: null,
|
|
31605
|
+
access: "view"
|
|
31606
|
+
},
|
|
31607
|
+
"terminalSession.openSession": {
|
|
31608
|
+
capName: "terminal-session",
|
|
31609
|
+
capScope: "system",
|
|
31610
|
+
addonId: null,
|
|
31611
|
+
access: "create"
|
|
31612
|
+
},
|
|
31613
|
+
"terminalSession.resize": {
|
|
31614
|
+
capName: "terminal-session",
|
|
31615
|
+
capScope: "system",
|
|
31616
|
+
addonId: null,
|
|
31617
|
+
access: "create"
|
|
31618
|
+
},
|
|
31498
31619
|
"toast.onToast": {
|
|
31499
31620
|
capName: "toast",
|
|
31500
31621
|
capScope: "system",
|
|
@@ -32050,6 +32171,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
32050
32171
|
"stream-params",
|
|
32051
32172
|
"switch",
|
|
32052
32173
|
"system",
|
|
32174
|
+
"terminal-session",
|
|
32053
32175
|
"toast",
|
|
32054
32176
|
"turn-provider",
|
|
32055
32177
|
"update",
|
|
@@ -32181,6 +32303,7 @@ var SYSTEM_CAP_NAMES = [
|
|
|
32181
32303
|
"storage-provider",
|
|
32182
32304
|
"stream-broker",
|
|
32183
32305
|
"system",
|
|
32306
|
+
"terminal-session",
|
|
32184
32307
|
"toast",
|
|
32185
32308
|
"turn-provider",
|
|
32186
32309
|
"user-management",
|
|
@@ -33380,6 +33503,8 @@ exports.TargetKindLevelSchema = TargetKindLevelSchema;
|
|
|
33380
33503
|
exports.TargetKindSchema = TargetKindSchema;
|
|
33381
33504
|
exports.TargetSchema = TargetSchema;
|
|
33382
33505
|
exports.TemperatureSensorStatusSchema = TemperatureSensorStatusSchema;
|
|
33506
|
+
exports.TerminalProfileInfoSchema = TerminalProfileInfoSchema;
|
|
33507
|
+
exports.TerminalSessionInfoSchema = TerminalSessionInfoSchema;
|
|
33383
33508
|
exports.TestConnectionResultSchema = TestConnectionResultSchema$1;
|
|
33384
33509
|
exports.TestResultSchema = TestResultSchema;
|
|
33385
33510
|
exports.TimelapseRuleInputSchema = TimelapseRuleInputSchema;
|
|
@@ -33706,6 +33831,7 @@ exports.taskLogEntrySchema = taskLogEntrySchema;
|
|
|
33706
33831
|
exports.taskPhaseSchema = taskPhaseSchema;
|
|
33707
33832
|
exports.taskTargetSchema = taskTargetSchema;
|
|
33708
33833
|
exports.temperatureSensorCapability = temperatureSensorCapability;
|
|
33834
|
+
exports.terminalSessionCapability = terminalSessionCapability;
|
|
33709
33835
|
exports.textToHtml = textToHtml;
|
|
33710
33836
|
exports.toDeviceSummary = toDeviceSummary;
|
|
33711
33837
|
exports.toExpressionValue = toExpressionValue;
|
package/dist/index.mjs
CHANGED
|
@@ -14718,6 +14718,13 @@ function createSystemProxy(api) {
|
|
|
14718
14718
|
setRetentionConfig: (input) => dispatch("system", "setRetentionConfig", "mutation", input),
|
|
14719
14719
|
forceRetentionCleanup: (input) => dispatch("system", "forceRetentionCleanup", "mutation", input)
|
|
14720
14720
|
},
|
|
14721
|
+
terminalSession: {
|
|
14722
|
+
listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
|
|
14723
|
+
listSessions: (input) => dispatch("terminalSession", "listSessions", "query", input),
|
|
14724
|
+
openSession: (input) => dispatch("terminalSession", "openSession", "mutation", input),
|
|
14725
|
+
resize: (input) => dispatch("terminalSession", "resize", "mutation", input),
|
|
14726
|
+
close: (input) => dispatch("terminalSession", "close", "mutation", input)
|
|
14727
|
+
},
|
|
14721
14728
|
toast: { onToast: (input, push) => dispatch("toast", "onToast", "subscription", input, push) },
|
|
14722
14729
|
turnProvider: { getTurnServers: (input) => dispatch("turnProvider", "getTurnServers", "query", input) },
|
|
14723
14730
|
userManagement: {
|
|
@@ -16154,6 +16161,84 @@ var authProviderCapability = {
|
|
|
16154
16161
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
16155
16162
|
mount: { kind: "skip" }
|
|
16156
16163
|
};
|
|
16164
|
+
//#endregion
|
|
16165
|
+
//#region src/capabilities/terminal-session.cap.ts
|
|
16166
|
+
/**
|
|
16167
|
+
* A live terminal session hosted by the provider addon. Output and input do
|
|
16168
|
+
* NOT flow through the capability — they use the addon data plane
|
|
16169
|
+
* (`GET /addon/terminal/<id>/out` SSE, `POST /addon/terminal/<id>/in`) because
|
|
16170
|
+
* terminal output must be ordered and lossless. The event bus is telemetry and
|
|
16171
|
+
* may drop chunks ([D8]), and a dropped chunk desynchronises the vt parser
|
|
16172
|
+
* permanently until a full repaint. The capability owns only lifecycle.
|
|
16173
|
+
*/
|
|
16174
|
+
var TerminalSessionInfoSchema = z.object({
|
|
16175
|
+
/** Opaque session id minted by the provider on `openSession`. */
|
|
16176
|
+
sessionId: z.string(),
|
|
16177
|
+
/** The pre-declared profile this session runs (never a free-form command). */
|
|
16178
|
+
profileId: z.string(),
|
|
16179
|
+
/** Human-readable profile label for the UI session list. */
|
|
16180
|
+
label: z.string(),
|
|
16181
|
+
cols: z.number().int().positive(),
|
|
16182
|
+
rows: z.number().int().positive(),
|
|
16183
|
+
/** ms-epoch the session's pty was spawned. */
|
|
16184
|
+
startedAt: z.number()
|
|
16185
|
+
});
|
|
16186
|
+
/**
|
|
16187
|
+
* A profile the operator may open — a pre-declared, allowlisted program
|
|
16188
|
+
* (`monitor` → `btm`). The capability accepts only these ids; a free-form
|
|
16189
|
+
* command string would be remote code execution as the server's user, so it is
|
|
16190
|
+
* deliberately not part of the contract.
|
|
16191
|
+
*/
|
|
16192
|
+
var TerminalProfileInfoSchema = z.object({
|
|
16193
|
+
profileId: z.string(),
|
|
16194
|
+
label: z.string(),
|
|
16195
|
+
description: z.string().optional()
|
|
16196
|
+
});
|
|
16197
|
+
/**
|
|
16198
|
+
* terminal-session — singleton system capability for interactive TTY sessions.
|
|
16199
|
+
*
|
|
16200
|
+
* Phase 1 (this cap): open/resize/close/list a pty running an allowlisted
|
|
16201
|
+
* profile, streamed to xterm.js over the data plane. Phase 2 (streaming a
|
|
16202
|
+
* session as a camera) is a separate device-provider concern and does not
|
|
16203
|
+
* change this contract.
|
|
16204
|
+
*/
|
|
16205
|
+
var terminalSessionCapability = {
|
|
16206
|
+
name: "terminal-session",
|
|
16207
|
+
scope: "system",
|
|
16208
|
+
mode: "singleton",
|
|
16209
|
+
methods: {
|
|
16210
|
+
/** Pre-declared profiles the operator may open. */
|
|
16211
|
+
listProfiles: method(z.void(), z.array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
16212
|
+
/** Live sessions currently hosted by the provider. */
|
|
16213
|
+
listSessions: method(z.void(), z.array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }),
|
|
16214
|
+
/**
|
|
16215
|
+
* Spawn a pty for an allowlisted profile at the given grid size and return
|
|
16216
|
+
* its session id. Output/input then flow over the data plane by that id.
|
|
16217
|
+
*/
|
|
16218
|
+
openSession: method(z.object({
|
|
16219
|
+
profileId: z.string(),
|
|
16220
|
+
cols: z.number().int().positive(),
|
|
16221
|
+
rows: z.number().int().positive()
|
|
16222
|
+
}), TerminalSessionInfoSchema, {
|
|
16223
|
+
kind: "mutation",
|
|
16224
|
+
auth: "admin"
|
|
16225
|
+
}),
|
|
16226
|
+
/** Resize a live session's pty (reflows the running program). */
|
|
16227
|
+
resize: method(z.object({
|
|
16228
|
+
sessionId: z.string(),
|
|
16229
|
+
cols: z.number().int().positive(),
|
|
16230
|
+
rows: z.number().int().positive()
|
|
16231
|
+
}), z.void(), {
|
|
16232
|
+
kind: "mutation",
|
|
16233
|
+
auth: "admin"
|
|
16234
|
+
}),
|
|
16235
|
+
/** Terminate a live session and release its pty. */
|
|
16236
|
+
close: method(z.object({ sessionId: z.string() }), z.void(), {
|
|
16237
|
+
kind: "mutation",
|
|
16238
|
+
auth: "admin"
|
|
16239
|
+
})
|
|
16240
|
+
}
|
|
16241
|
+
};
|
|
16157
16242
|
/**
|
|
16158
16243
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
16159
16244
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
@@ -26287,6 +26372,7 @@ var CAPABILITY_NAMES = {
|
|
|
26287
26372
|
system: "system",
|
|
26288
26373
|
tamper: "tamper",
|
|
26289
26374
|
temperatureSensor: "temperature-sensor",
|
|
26375
|
+
terminalSession: "terminal-session",
|
|
26290
26376
|
toast: "toast",
|
|
26291
26377
|
turnProvider: "turn-provider",
|
|
26292
26378
|
update: "update",
|
|
@@ -26810,6 +26896,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
26810
26896
|
key: "temperatureSensor",
|
|
26811
26897
|
name: "temperature-sensor"
|
|
26812
26898
|
},
|
|
26899
|
+
{
|
|
26900
|
+
key: "terminalSession",
|
|
26901
|
+
name: "terminal-session"
|
|
26902
|
+
},
|
|
26813
26903
|
{
|
|
26814
26904
|
key: "toast",
|
|
26815
26905
|
name: "toast"
|
|
@@ -27011,6 +27101,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
27011
27101
|
systemCapability,
|
|
27012
27102
|
tamperCapability,
|
|
27013
27103
|
temperatureSensorCapability,
|
|
27104
|
+
terminalSessionCapability,
|
|
27014
27105
|
toastCapability,
|
|
27015
27106
|
turnProviderCapability,
|
|
27016
27107
|
updateCapability,
|
|
@@ -31494,6 +31585,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
31494
31585
|
addonId: null,
|
|
31495
31586
|
access: "create"
|
|
31496
31587
|
},
|
|
31588
|
+
"terminalSession.close": {
|
|
31589
|
+
capName: "terminal-session",
|
|
31590
|
+
capScope: "system",
|
|
31591
|
+
addonId: null,
|
|
31592
|
+
access: "create"
|
|
31593
|
+
},
|
|
31594
|
+
"terminalSession.listProfiles": {
|
|
31595
|
+
capName: "terminal-session",
|
|
31596
|
+
capScope: "system",
|
|
31597
|
+
addonId: null,
|
|
31598
|
+
access: "view"
|
|
31599
|
+
},
|
|
31600
|
+
"terminalSession.listSessions": {
|
|
31601
|
+
capName: "terminal-session",
|
|
31602
|
+
capScope: "system",
|
|
31603
|
+
addonId: null,
|
|
31604
|
+
access: "view"
|
|
31605
|
+
},
|
|
31606
|
+
"terminalSession.openSession": {
|
|
31607
|
+
capName: "terminal-session",
|
|
31608
|
+
capScope: "system",
|
|
31609
|
+
addonId: null,
|
|
31610
|
+
access: "create"
|
|
31611
|
+
},
|
|
31612
|
+
"terminalSession.resize": {
|
|
31613
|
+
capName: "terminal-session",
|
|
31614
|
+
capScope: "system",
|
|
31615
|
+
addonId: null,
|
|
31616
|
+
access: "create"
|
|
31617
|
+
},
|
|
31497
31618
|
"toast.onToast": {
|
|
31498
31619
|
capName: "toast",
|
|
31499
31620
|
capScope: "system",
|
|
@@ -32049,6 +32170,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
32049
32170
|
"stream-params",
|
|
32050
32171
|
"switch",
|
|
32051
32172
|
"system",
|
|
32173
|
+
"terminal-session",
|
|
32052
32174
|
"toast",
|
|
32053
32175
|
"turn-provider",
|
|
32054
32176
|
"update",
|
|
@@ -32180,6 +32302,7 @@ var SYSTEM_CAP_NAMES = [
|
|
|
32180
32302
|
"storage-provider",
|
|
32181
32303
|
"stream-broker",
|
|
32182
32304
|
"system",
|
|
32305
|
+
"terminal-session",
|
|
32183
32306
|
"toast",
|
|
32184
32307
|
"turn-provider",
|
|
32185
32308
|
"user-management",
|
|
@@ -32783,4 +32906,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
32783
32906
|
return out;
|
|
32784
32907
|
}
|
|
32785
32908
|
//#endregion
|
|
32786
|
-
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_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, 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, LOG_LEVEL_RANK, 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, MOTION_TRIGGER_FEATURE, 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, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, 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, PtzOptionsSchema, 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, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, 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, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, 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, 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, buildNcTaxonomy, 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, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, 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, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, 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, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, 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, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, 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 };
|
|
32909
|
+
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_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, 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, LOG_LEVEL_RANK, 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, MOTION_TRIGGER_FEATURE, 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, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, 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, PtzOptionsSchema, 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, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, 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, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, 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, 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, buildNcTaxonomy, 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, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, 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, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, 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, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, 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, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, 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, terminalSessionCapability, 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 };
|