@camstack/types 1.2.586 → 1.2.588
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist/addon.d.ts +2 -0
- package/dist/addon.js +21 -5
- package/dist/addon.mjs +18 -6
- package/dist/capabilities/camera-grid-layout.cap.d.ts +3 -5
- package/dist/capabilities/cap-method-absent.d.ts +19 -0
- package/dist/capabilities/device-manager.cap.d.ts +464 -0
- package/dist/capabilities/hero-layout.cap.d.ts +2 -2
- package/dist/capabilities/index.d.ts +9 -5
- package/dist/capabilities/network-link.cap.d.ts +10 -0
- package/dist/capabilities/power-source.cap.d.ts +20 -0
- package/dist/capabilities/recording-export.cap.d.ts +1 -0
- package/dist/capabilities/siren-duration.d.ts +45 -7
- package/dist/capabilities/siren.cap.d.ts +45 -2
- package/dist/capabilities/switch-settable.d.ts +15 -0
- package/dist/capabilities/switch.cap.d.ts +71 -0
- package/dist/capabilities/terminal-session.cap.d.ts +3 -60
- package/dist/capabilities/videoclips.cap.d.ts +3 -0
- package/dist/capabilities/workload.cap.d.ts +655 -0
- package/dist/client.js +59 -5
- package/dist/client.mjs +59 -5
- package/dist/{composed-stable-id-RvQIEpqg.mjs → composed-stable-id-BBL71oUQ.mjs} +20 -0
- package/dist/{composed-stable-id-C3NfRTj8.js → composed-stable-id-CVbyajE5.js} +20 -0
- package/dist/composition/engine-hosted-blocks.d.ts +131 -0
- package/dist/composition/helpers/index.d.ts +1 -1
- package/dist/composition/helpers/spec.d.ts +56 -2
- package/dist/composition/index.d.ts +1 -0
- package/dist/device/base-device.d.ts +29 -0
- package/dist/device/cap-vocabulary/declaration.d.ts +12 -1
- package/dist/device/cap-vocabulary/index.d.ts +4 -4
- package/dist/device/cap-vocabulary/resolve.d.ts +47 -1
- package/dist/device/cap-vocabulary/types.d.ts +26 -1
- package/dist/device/declare-identifiers.d.ts +58 -0
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/device/device-icon.d.ts +7 -0
- package/dist/device/device-identifiers.d.ts +190 -0
- package/dist/device/device-identity-candidates.d.ts +124 -0
- package/dist/device/device-management.d.ts +10 -0
- package/dist/device/device-type.d.ts +22 -2
- package/dist/device/hero/build-hero-model.d.ts +15 -0
- package/dist/device/hero/hero-fragment.d.ts +11 -0
- package/dist/device/hero/hero-layout.d.ts +1 -0
- package/dist/device/hero/hero-look.d.ts +12 -0
- package/dist/device/hero/hero-model.d.ts +4 -4
- package/dist/device/hero/hero-scene.d.ts +7 -0
- package/dist/device/index.d.ts +7 -1
- package/dist/enums/event-category.d.ts +8 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-d9kiqCqC.js → event-category-CE_VCE2G.js} +8 -0
- package/dist/{event-category-Dhcd0TRH.mjs → event-category-Hwx_JSCU.mjs} +8 -0
- package/dist/generated/addon-api.d.ts +99 -14
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +4 -1
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +2 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/{implemented-methods-C7ScGvEz.js → implemented-methods-ChtdIofW.js} +128 -1
- package/dist/{implemented-methods-C5FMXLGP.mjs → implemented-methods-u7ddjc-_.mjs} +57 -2
- package/dist/index.d.ts +9 -3
- package/dist/index.js +2069 -429
- package/dist/index.mjs +2008 -428
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-DwRtgB2i.js → sleep-CsZJsb8n.js} +692 -35
- package/dist/{sleep-Ch7Q7UtE.mjs → sleep-D6Pih0Qt.mjs} +669 -36
- package/package.json +1 -1
|
@@ -520,6 +520,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
520
520
|
EventCategory["RunningStarted"] = "running.started";
|
|
521
521
|
/** Mirrors `runningStateCapability.events.onFinished`. */
|
|
522
522
|
EventCategory["RunningFinished"] = "running.finished";
|
|
523
|
+
/** Mirrors `workloadCapability.events.onStarted` — a workload reached running (#585). */
|
|
524
|
+
EventCategory["WorkloadStarted"] = "workload.started";
|
|
525
|
+
/** Mirrors `workloadCapability.events.onStopped` — a running workload stopped cleanly. */
|
|
526
|
+
EventCategory["WorkloadStopped"] = "workload.stopped";
|
|
527
|
+
/** Mirrors `workloadCapability.events.onCrashed` — a workload stopped without a request. */
|
|
528
|
+
EventCategory["WorkloadCrashed"] = "workload.crashed";
|
|
529
|
+
/** Mirrors `workloadCapability.events.onRecovered` — a crashed workload runs again. */
|
|
530
|
+
EventCategory["WorkloadRecovered"] = "workload.recovered";
|
|
523
531
|
/** Mirrors `deviceRunsCapability.events.onRunOpened` - a durable run record opened. */
|
|
524
532
|
EventCategory["DeviceRunOpened"] = "device-run.opened";
|
|
525
533
|
/** Mirrors `deviceRunsCapability.events.onRunClosed` - a durable run record closed. */
|
|
@@ -169,6 +169,7 @@ import type { videoclipsCapability } from '../capabilities/videoclips.cap.js';
|
|
|
169
169
|
import type { viewerUiCapability } from '../capabilities/viewer-ui.cap.js';
|
|
170
170
|
import type { waterHeaterCapability } from '../capabilities/water-heater.cap.js';
|
|
171
171
|
import type { webrtcSessionCapability } from '../capabilities/webrtc-session.cap.js';
|
|
172
|
+
import type { workloadCapability } from '../capabilities/workload.cap.js';
|
|
172
173
|
import type { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
173
174
|
import type { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
174
175
|
import type { zonesCapability } from '../capabilities/zones.cap.js';
|
|
@@ -2826,6 +2827,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
2826
2827
|
output: z.infer<typeof deviceManagerCapability.methods.setMetadata.output>;
|
|
2827
2828
|
meta: object;
|
|
2828
2829
|
}>;
|
|
2830
|
+
setIdentifiers: TRPCMutationProcedure<{
|
|
2831
|
+
input: {
|
|
2832
|
+
[x: string]: unknown;
|
|
2833
|
+
} & z.input<typeof deviceManagerCapability.methods.setIdentifiers.input>;
|
|
2834
|
+
output: z.infer<typeof deviceManagerCapability.methods.setIdentifiers.output>;
|
|
2835
|
+
meta: object;
|
|
2836
|
+
}>;
|
|
2837
|
+
listIdentityCandidates: TRPCQueryProcedure<{
|
|
2838
|
+
input: {
|
|
2839
|
+
[x: string]: unknown;
|
|
2840
|
+
} & z.input<typeof deviceManagerCapability.methods.listIdentityCandidates.input>;
|
|
2841
|
+
output: z.infer<typeof deviceManagerCapability.methods.listIdentityCandidates.output>;
|
|
2842
|
+
meta: object;
|
|
2843
|
+
}>;
|
|
2829
2844
|
listLocations: TRPCQueryProcedure<{
|
|
2830
2845
|
input: {
|
|
2831
2846
|
nodeId?: string | undefined;
|
|
@@ -9868,6 +9883,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
9868
9883
|
output: z.infer<typeof sirenCapability.methods.getOptions.output>;
|
|
9869
9884
|
meta: object;
|
|
9870
9885
|
}>;
|
|
9886
|
+
getPlayChoices: TRPCQueryProcedure<{
|
|
9887
|
+
input: {
|
|
9888
|
+
[x: string]: unknown;
|
|
9889
|
+
} & z.input<typeof sirenCapability.methods.getPlayChoices.input>;
|
|
9890
|
+
output: z.infer<typeof sirenCapability.methods.getPlayChoices.output>;
|
|
9891
|
+
meta: object;
|
|
9892
|
+
}>;
|
|
9871
9893
|
trigger: TRPCMutationProcedure<{
|
|
9872
9894
|
input: {
|
|
9873
9895
|
[x: string]: unknown;
|
|
@@ -10793,6 +10815,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
10793
10815
|
output: z.infer<typeof switchCapability.methods.setState.output>;
|
|
10794
10816
|
meta: object;
|
|
10795
10817
|
}>;
|
|
10818
|
+
getOptions: TRPCQueryProcedure<{
|
|
10819
|
+
input: {
|
|
10820
|
+
[x: string]: unknown;
|
|
10821
|
+
} & z.input<typeof switchCapability.methods.getOptions.input>;
|
|
10822
|
+
output: z.infer<typeof switchCapability.methods.getOptions.output>;
|
|
10823
|
+
meta: object;
|
|
10824
|
+
}>;
|
|
10825
|
+
powerCycle: TRPCMutationProcedure<{
|
|
10826
|
+
input: {
|
|
10827
|
+
[x: string]: unknown;
|
|
10828
|
+
} & z.input<typeof switchCapability.methods.powerCycle.input>;
|
|
10829
|
+
output: z.infer<typeof switchCapability.methods.powerCycle.output>;
|
|
10830
|
+
meta: object;
|
|
10831
|
+
}>;
|
|
10796
10832
|
toggle: TRPCMutationProcedure<{
|
|
10797
10833
|
input: {
|
|
10798
10834
|
[x: string]: unknown;
|
|
@@ -11034,20 +11070,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11034
11070
|
output: z.infer<typeof terminalSessionCapability.methods.listProfiles.output>;
|
|
11035
11071
|
meta: object;
|
|
11036
11072
|
}>;
|
|
11037
|
-
listLegacyCameras: TRPCQueryProcedure<{
|
|
11038
|
-
input: {
|
|
11039
|
-
nodeId?: string | undefined;
|
|
11040
|
-
} | undefined;
|
|
11041
|
-
output: z.infer<typeof terminalSessionCapability.methods.listLegacyCameras.output>;
|
|
11042
|
-
meta: object;
|
|
11043
|
-
}>;
|
|
11044
|
-
adoptLegacyMonitor: TRPCMutationProcedure<{
|
|
11045
|
-
input: {
|
|
11046
|
-
[x: string]: unknown;
|
|
11047
|
-
} & z.input<typeof terminalSessionCapability.methods.adoptLegacyMonitor.input>;
|
|
11048
|
-
output: z.infer<typeof terminalSessionCapability.methods.adoptLegacyMonitor.output>;
|
|
11049
|
-
meta: object;
|
|
11050
|
-
}>;
|
|
11051
11073
|
listSessions: TRPCQueryProcedure<{
|
|
11052
11074
|
input: {
|
|
11053
11075
|
nodeId?: string | undefined;
|
|
@@ -12035,6 +12057,69 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
12035
12057
|
meta: object;
|
|
12036
12058
|
}>;
|
|
12037
12059
|
}>>;
|
|
12060
|
+
workload: TRPCBuiltRouter<{
|
|
12061
|
+
ctx: TrpcContext;
|
|
12062
|
+
meta: object;
|
|
12063
|
+
errorShape: AugmentedErrorShape;
|
|
12064
|
+
transformer: true;
|
|
12065
|
+
}, TRPCDecorateCreateRouterOptions<{
|
|
12066
|
+
getStatus: TRPCQueryProcedure<{
|
|
12067
|
+
input: {
|
|
12068
|
+
[x: string]: unknown;
|
|
12069
|
+
} & z.input<typeof DEVICE_STATUS_METHOD.getStatus.input>;
|
|
12070
|
+
output: z.infer<typeof DEVICE_STATUS_METHOD.getStatus.output>;
|
|
12071
|
+
meta: object;
|
|
12072
|
+
}>;
|
|
12073
|
+
start: TRPCMutationProcedure<{
|
|
12074
|
+
input: {
|
|
12075
|
+
[x: string]: unknown;
|
|
12076
|
+
} & z.input<typeof workloadCapability.methods.start.input>;
|
|
12077
|
+
output: z.infer<typeof workloadCapability.methods.start.output>;
|
|
12078
|
+
meta: object;
|
|
12079
|
+
}>;
|
|
12080
|
+
stop: TRPCMutationProcedure<{
|
|
12081
|
+
input: {
|
|
12082
|
+
[x: string]: unknown;
|
|
12083
|
+
} & z.input<typeof workloadCapability.methods.stop.input>;
|
|
12084
|
+
output: z.infer<typeof workloadCapability.methods.stop.output>;
|
|
12085
|
+
meta: object;
|
|
12086
|
+
}>;
|
|
12087
|
+
restart: TRPCMutationProcedure<{
|
|
12088
|
+
input: {
|
|
12089
|
+
[x: string]: unknown;
|
|
12090
|
+
} & z.input<typeof workloadCapability.methods.restart.input>;
|
|
12091
|
+
output: z.infer<typeof workloadCapability.methods.restart.output>;
|
|
12092
|
+
meta: object;
|
|
12093
|
+
}>;
|
|
12094
|
+
pause: TRPCMutationProcedure<{
|
|
12095
|
+
input: {
|
|
12096
|
+
[x: string]: unknown;
|
|
12097
|
+
} & z.input<typeof workloadCapability.methods.pause.input>;
|
|
12098
|
+
output: z.infer<typeof workloadCapability.methods.pause.output>;
|
|
12099
|
+
meta: object;
|
|
12100
|
+
}>;
|
|
12101
|
+
resume: TRPCMutationProcedure<{
|
|
12102
|
+
input: {
|
|
12103
|
+
[x: string]: unknown;
|
|
12104
|
+
} & z.input<typeof workloadCapability.methods.resume.input>;
|
|
12105
|
+
output: z.infer<typeof workloadCapability.methods.resume.output>;
|
|
12106
|
+
meta: object;
|
|
12107
|
+
}>;
|
|
12108
|
+
forceStop: TRPCMutationProcedure<{
|
|
12109
|
+
input: {
|
|
12110
|
+
[x: string]: unknown;
|
|
12111
|
+
} & z.input<typeof workloadCapability.methods.forceStop.input>;
|
|
12112
|
+
output: z.infer<typeof workloadCapability.methods.forceStop.output>;
|
|
12113
|
+
meta: object;
|
|
12114
|
+
}>;
|
|
12115
|
+
getOptions: TRPCQueryProcedure<{
|
|
12116
|
+
input: {
|
|
12117
|
+
[x: string]: unknown;
|
|
12118
|
+
} & z.input<typeof workloadCapability.methods.getOptions.input>;
|
|
12119
|
+
output: z.infer<typeof workloadCapability.methods.getOptions.output>;
|
|
12120
|
+
meta: object;
|
|
12121
|
+
}>;
|
|
12122
|
+
}>>;
|
|
12038
12123
|
zoneAnalytics: TRPCBuiltRouter<{
|
|
12039
12124
|
ctx: TrpcContext;
|
|
12040
12125
|
meta: object;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* `ALL_CAPABILITY_DEFINITIONS` (the whole Zod schema graph, ~+100 MB heap per
|
|
6
6
|
* runner). See docs/decisions/adr-0028.md.
|
|
7
7
|
*
|
|
8
|
-
* Coverage: 1 advance-derived caps,
|
|
8
|
+
* Coverage: 1 advance-derived caps, 88 caps with 471 state leaves, 15 caps with a declared method timeout.
|
|
9
9
|
*/
|
|
10
10
|
/** A bindable scalar in a capability's runtime state. */
|
|
11
11
|
export interface CapStateLeaf {
|
|
@@ -86,6 +86,7 @@ import type { VibrationStatusSchema } from '../capabilities/vibration.cap.js';
|
|
|
86
86
|
import type { WaterHeaterStatusSchema } from '../capabilities/water-heater.cap.js';
|
|
87
87
|
import type { WeatherStatusSchema } from '../capabilities/weather.cap.js';
|
|
88
88
|
import type { WeatherStationStatusSchema } from '../capabilities/weather-station.cap.js';
|
|
89
|
+
import type { WorkloadStatusSchema } from '../capabilities/workload.cap.js';
|
|
89
90
|
/**
|
|
90
91
|
* Lookup from cap name (literal) → the TypeScript type of that
|
|
91
92
|
* capability's `status.schema`. Populated at codegen time from every
|
|
@@ -179,6 +180,7 @@ export type CapStatusTypeMap = {
|
|
|
179
180
|
readonly 'water-heater': z.infer<typeof WaterHeaterStatusSchema>;
|
|
180
181
|
readonly 'weather': z.infer<typeof WeatherStatusSchema>;
|
|
181
182
|
readonly 'weather-station': z.infer<typeof WeatherStationStatusSchema>;
|
|
183
|
+
readonly 'workload': z.infer<typeof WorkloadStatusSchema>;
|
|
182
184
|
};
|
|
183
185
|
/** Union of every cap name that has a typed status block. */
|
|
184
186
|
export type CapNameWithStatus = keyof CapStatusTypeMap;
|
|
@@ -187,4 +189,4 @@ export type CapNameWithStatus = keyof CapStatusTypeMap;
|
|
|
187
189
|
* aggregator to enumerate caps whose `status` should be polled +
|
|
188
190
|
* streamed via `subscribeDeviceStatusAggregate`.
|
|
189
191
|
*/
|
|
190
|
-
export declare const CAP_NAMES_WITH_STATUS: readonly ["accessories", "air-quality-sensor", "alarm-panel", "ambient-light-sensor", "automation-control", "battery", "binary", "brightness", "broker", "camera-credentials", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "cover", "day-night", "device-adoption", "device-export", "device-status", "dishwasher", "do-not-disturb", "doorbell", "energy-system", "enum-sensor", "error", "event-emitter", "fan-control", "feature-probe", "flood", "gas", "group-active", "group-commands", "group-status", "heat-pump-status", "heating-valve", "humidifier", "humidity-sensor", "image", "image-settings", "intercom", "lawn-mower-control", "lock-control", "media-player", "meter", "motion", "motion-trigger", "motion-zones", "mqtt-broker", "native-object-detection", "navigation", "network-link", "notifier", "numeric-sensor", "osd", "pet-feeder", "pet-fountain", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "pump-cycle", "recording-archive", "recording-onboard", "recording-signal", "running-state", "scene-monitor", "script-runner", "siren", "smoke", "snapshot", "stream-params", "switch", "tamper", "temperature-sensor", "timed-run", "update", "vacuum-control", "valve", "vibration", "water-heater", "weather", "weather-station"];
|
|
192
|
+
export declare const CAP_NAMES_WITH_STATUS: readonly ["accessories", "air-quality-sensor", "alarm-panel", "ambient-light-sensor", "automation-control", "battery", "binary", "brightness", "broker", "camera-credentials", "carbon-monoxide", "climate-control", "color", "connectivity", "consumables", "contact", "control", "cover", "day-night", "device-adoption", "device-export", "device-status", "dishwasher", "do-not-disturb", "doorbell", "energy-system", "enum-sensor", "error", "event-emitter", "fan-control", "feature-probe", "flood", "gas", "group-active", "group-commands", "group-status", "heat-pump-status", "heating-valve", "humidifier", "humidity-sensor", "image", "image-settings", "intercom", "lawn-mower-control", "lock-control", "media-player", "meter", "motion", "motion-trigger", "motion-zones", "mqtt-broker", "native-object-detection", "navigation", "network-link", "notifier", "numeric-sensor", "osd", "pet-feeder", "pet-fountain", "power-meter", "presence", "pressure-sensor", "privacy-mask", "ptz", "ptz-autotrack", "pump-cycle", "recording-archive", "recording-onboard", "recording-signal", "running-state", "scene-monitor", "script-runner", "siren", "smoke", "snapshot", "stream-params", "switch", "tamper", "temperature-sensor", "timed-run", "update", "vacuum-control", "valve", "vibration", "water-heater", "weather", "weather-station", "workload"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CapVocabularyMap } from '../device/cap-vocabulary/types.js';
|
|
2
2
|
/**
|
|
3
3
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
4
|
-
* `*.cap.ts` (D1050):
|
|
4
|
+
* `*.cap.ts` (D1050): 211 caps (109 device, 102 system).
|
|
5
5
|
* Device caps in their declared picker order, then system caps by name.
|
|
6
6
|
*/
|
|
7
7
|
export declare const CAP_VOCABULARY: CapVocabularyMap;
|
|
@@ -205,6 +205,7 @@ export { waterHeaterCapability } from '../capabilities/water-heater.cap.js';
|
|
|
205
205
|
export { weatherCapability } from '../capabilities/weather.cap.js';
|
|
206
206
|
export { weatherStationCapability } from '../capabilities/weather-station.cap.js';
|
|
207
207
|
export { webrtcSessionCapability } from '../capabilities/webrtc-session.cap.js';
|
|
208
|
+
export { workloadCapability } from '../capabilities/workload.cap.js';
|
|
208
209
|
export { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
209
210
|
export { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
210
211
|
export { zonesCapability } from '../capabilities/zones.cap.js';
|
|
@@ -416,6 +417,7 @@ export declare const CAPABILITY_NAMES: {
|
|
|
416
417
|
readonly weather: 'weather';
|
|
417
418
|
readonly weatherStation: 'weather-station';
|
|
418
419
|
readonly webrtcSession: 'webrtc-session';
|
|
420
|
+
readonly workload: 'workload';
|
|
419
421
|
readonly zoneAnalytics: 'zone-analytics';
|
|
420
422
|
readonly zoneRules: 'zone-rules';
|
|
421
423
|
readonly zones: 'zones';
|
|
@@ -640,12 +642,13 @@ export interface CapabilityRouterMap<TRouter = unknown> {
|
|
|
640
642
|
readonly weather: TRouter;
|
|
641
643
|
readonly weatherStation: TRouter;
|
|
642
644
|
readonly webrtcSession: TRouter;
|
|
645
|
+
readonly workload: TRouter;
|
|
643
646
|
readonly zoneAnalytics: TRouter;
|
|
644
647
|
readonly zoneRules: TRouter;
|
|
645
648
|
readonly zones: TRouter;
|
|
646
649
|
}
|
|
647
|
-
/** Capability names whose mode is `singleton` (
|
|
648
|
-
export declare const SINGLETON_CAPABILITY_NAMES: readonly ['accessories', 'actions', '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', 'calendars', 'camera-credentials', 'camera-grid-layout', 'camera-pipeline-config', 'camera-streams', 'carbon-monoxide', 'climate-control', 'cluster-update', 'color', 'composer', 'connectivity', 'consumables', 'contact', 'control', 'core-blocks', 'cover', 'database-snapshot', 'day-night', 'decoder', 'detection-pipeline', 'device-admin-link', 'device-credentials', 'device-history', 'device-manager', 'device-ops', 'device-runs', 'device-state', 'device-status', 'device-transitions', 'dishwasher', 'display-palette', 'do-not-disturb', 'doorbell', 'energy-system', 'enum-sensor', 'error', 'event-emitter', 'face-gallery', 'fan-control', 'fan-presets', 'feature-probe', 'filesystem-browse', 'flood', 'gas', 'group-active', 'group-commands', 'group-status', 'heat-pump-control', 'heat-pump-status', 'heating-valve', 'hero-layout', 'humidifier', 'humidity-sensor', 'image', 'image-settings', 'integrations', 'intercom', 'ir-transmitter', 'keychain', 'keychain-admin', 'lawn-mower-control', 'llm-runtime', 'local-network', 'lock-control', 'media-player', 'meter', 'metrics-provider', 'migrations', 'model-convert', 'model-distributor', 'motion', 'motion-detection', 'motion-trigger', 'motion-zones', 'native-object-detection', 'navigation', 'network-link', 'network-quality', 'node-certificates', 'nodes', 'notification-rules', 'notifier', 'numeric-sensor', 'osd', 'osd-manager', 'pet-feeder', 'pet-fountain', 'pipeline-analytics', 'pipeline-executor', 'pipeline-orchestrator', 'pipeline-runner', 'plate-gallery', 'platform-probe', 'power-meter', 'power-source', 'presence', 'pressure-sensor', 'privacy-mask', 'ptz', 'ptz-autotrack', 'pump-cycle', 'reboot', 'record-entries', 'recording-archive', 'recording-export', 'recording-onboard', 'recording-signal', 'records', 'remote', 'running-state', 'scene-monitor', 'schedulers', 'script-runner', 'server-management', 'settings-store', 'siren', 'smoke', 'snapshot', 'sso-bridge', 'storage', 'storage-admin', 'storage-migration', 'stream-broker', 'stream-catalog', 'stream-params', 'stream-signals', 'switch', 'system', 'tags', 'tamper', 'temperature-sensor', 'terminal-session', 'timed-run', 'toast', 'training', 'update', 'user-management', 'vacuum-control', 'valve', 'vector-store', 'vibration', 'viewer-ui', 'water-heater', 'weather', 'weather-station', 'webrtc-session', 'zone-analytics', 'zone-rules', 'zones'];
|
|
650
|
+
/** Capability names whose mode is `singleton` (171 caps). */
|
|
651
|
+
export declare const SINGLETON_CAPABILITY_NAMES: readonly ['accessories', 'actions', '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', 'calendars', 'camera-credentials', 'camera-grid-layout', 'camera-pipeline-config', 'camera-streams', 'carbon-monoxide', 'climate-control', 'cluster-update', 'color', 'composer', 'connectivity', 'consumables', 'contact', 'control', 'core-blocks', 'cover', 'database-snapshot', 'day-night', 'decoder', 'detection-pipeline', 'device-admin-link', 'device-credentials', 'device-history', 'device-manager', 'device-ops', 'device-runs', 'device-state', 'device-status', 'device-transitions', 'dishwasher', 'display-palette', 'do-not-disturb', 'doorbell', 'energy-system', 'enum-sensor', 'error', 'event-emitter', 'face-gallery', 'fan-control', 'fan-presets', 'feature-probe', 'filesystem-browse', 'flood', 'gas', 'group-active', 'group-commands', 'group-status', 'heat-pump-control', 'heat-pump-status', 'heating-valve', 'hero-layout', 'humidifier', 'humidity-sensor', 'image', 'image-settings', 'integrations', 'intercom', 'ir-transmitter', 'keychain', 'keychain-admin', 'lawn-mower-control', 'llm-runtime', 'local-network', 'lock-control', 'media-player', 'meter', 'metrics-provider', 'migrations', 'model-convert', 'model-distributor', 'motion', 'motion-detection', 'motion-trigger', 'motion-zones', 'native-object-detection', 'navigation', 'network-link', 'network-quality', 'node-certificates', 'nodes', 'notification-rules', 'notifier', 'numeric-sensor', 'osd', 'osd-manager', 'pet-feeder', 'pet-fountain', 'pipeline-analytics', 'pipeline-executor', 'pipeline-orchestrator', 'pipeline-runner', 'plate-gallery', 'platform-probe', 'power-meter', 'power-source', 'presence', 'pressure-sensor', 'privacy-mask', 'ptz', 'ptz-autotrack', 'pump-cycle', 'reboot', 'record-entries', 'recording-archive', 'recording-export', 'recording-onboard', 'recording-signal', 'records', 'remote', 'running-state', 'scene-monitor', 'schedulers', 'script-runner', 'server-management', 'settings-store', 'siren', 'smoke', 'snapshot', 'sso-bridge', 'storage', 'storage-admin', 'storage-migration', 'stream-broker', 'stream-catalog', 'stream-params', 'stream-signals', 'switch', 'system', 'tags', 'tamper', 'temperature-sensor', 'terminal-session', 'timed-run', 'toast', 'training', 'update', 'user-management', 'vacuum-control', 'valve', 'vector-store', 'vibration', 'viewer-ui', 'water-heater', 'weather', 'weather-station', 'webrtc-session', 'workload', 'zone-analytics', 'zone-rules', 'zones'];
|
|
649
652
|
/** Union of singleton capability names (literal string union). */
|
|
650
653
|
export type SingletonCapabilityName = typeof SINGLETON_CAPABILITY_NAMES[number];
|
|
651
654
|
/** Capability names whose mode is `collection` (40 caps). */
|
|
@@ -21,7 +21,7 @@ export declare function isCollectionArrayMethodName(capName: string, method: str
|
|
|
21
21
|
* Per capability, the methods declared `optionalMethod` — the ones whose
|
|
22
22
|
* ABSENCE on a provider is a fact about that provider, not a bug.
|
|
23
23
|
*
|
|
24
|
-
* Coverage:
|
|
24
|
+
* Coverage: 13 caps, 57 methods.
|
|
25
25
|
*/
|
|
26
26
|
export declare const PROVIDER_OPTIONAL_METHODS: Readonly<Record<string, readonly string[]>>;
|
|
27
27
|
/**
|
|
@@ -109,7 +109,7 @@ export declare const CAP_CUSTOMIZE_CATALOG: {
|
|
|
109
109
|
readonly targets: readonly [{
|
|
110
110
|
readonly id: 'items';
|
|
111
111
|
readonly cardinality: 'keyedArray';
|
|
112
|
-
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem];
|
|
112
|
+
readonly deviceTypes: readonly [DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Workload];
|
|
113
113
|
readonly apply: 'add';
|
|
114
114
|
readonly vocabularyCap: 'consumables';
|
|
115
115
|
readonly sources: readonly [];
|
|
@@ -82,6 +82,7 @@ import { vibrationCapability } from '../capabilities/vibration.cap.js';
|
|
|
82
82
|
import { waterHeaterCapability } from '../capabilities/water-heater.cap.js';
|
|
83
83
|
import { weatherCapability } from '../capabilities/weather.cap.js';
|
|
84
84
|
import { weatherStationCapability } from '../capabilities/weather-station.cap.js';
|
|
85
|
+
import { workloadCapability } from '../capabilities/workload.cap.js';
|
|
85
86
|
import { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
86
87
|
import { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
87
88
|
import { zonesCapability } from '../capabilities/zones.cap.js';
|
|
@@ -180,6 +181,7 @@ export interface DeviceLocalState {
|
|
|
180
181
|
waterHeater: InferRuntimeState<typeof waterHeaterCapability>;
|
|
181
182
|
weather: InferRuntimeState<typeof weatherCapability>;
|
|
182
183
|
weatherStation: InferRuntimeState<typeof weatherStationCapability>;
|
|
184
|
+
workload: InferRuntimeState<typeof workloadCapability>;
|
|
183
185
|
zoneAnalytics: InferRuntimeState<typeof zoneAnalyticsCapability>;
|
|
184
186
|
zoneRules: InferRuntimeState<typeof zoneRulesCapability>;
|
|
185
187
|
zones: InferRuntimeState<typeof zonesCapability>;
|
|
@@ -288,6 +290,7 @@ export interface CapNameToRuntimeStateMap {
|
|
|
288
290
|
'water-heater': InferRuntimeState<typeof waterHeaterCapability>;
|
|
289
291
|
'weather': InferRuntimeState<typeof weatherCapability>;
|
|
290
292
|
'weather-station': InferRuntimeState<typeof weatherStationCapability>;
|
|
293
|
+
'workload': InferRuntimeState<typeof workloadCapability>;
|
|
291
294
|
'zone-analytics': InferRuntimeState<typeof zoneAnalyticsCapability>;
|
|
292
295
|
'zone-rules': InferRuntimeState<typeof zoneRulesCapability>;
|
|
293
296
|
'zones': InferRuntimeState<typeof zonesCapability>;
|
|
@@ -107,6 +107,7 @@ import type { waterHeaterCapability } from '../capabilities/water-heater.cap.js'
|
|
|
107
107
|
import type { weatherCapability } from '../capabilities/weather.cap.js';
|
|
108
108
|
import type { weatherStationCapability } from '../capabilities/weather-station.cap.js';
|
|
109
109
|
import type { webrtcSessionCapability } from '../capabilities/webrtc-session.cap.js';
|
|
110
|
+
import type { workloadCapability } from '../capabilities/workload.cap.js';
|
|
110
111
|
import type { zoneAnalyticsCapability } from '../capabilities/zone-analytics.cap.js';
|
|
111
112
|
import type { zoneRulesCapability } from '../capabilities/zone-rules.cap.js';
|
|
112
113
|
import type { zonesCapability } from '../capabilities/zones.cap.js';
|
|
@@ -219,6 +220,7 @@ export interface DeviceProxyState {
|
|
|
219
220
|
readonly waterHeater: SliceHandle<InferRuntimeState<typeof waterHeaterCapability>>;
|
|
220
221
|
readonly weather: SliceHandle<InferRuntimeState<typeof weatherCapability>>;
|
|
221
222
|
readonly weatherStation: SliceHandle<InferRuntimeState<typeof weatherStationCapability>>;
|
|
223
|
+
readonly workload: SliceHandle<InferRuntimeState<typeof workloadCapability>>;
|
|
222
224
|
readonly zoneAnalytics: SliceHandle<InferRuntimeState<typeof zoneAnalyticsCapability>>;
|
|
223
225
|
readonly zoneRules: SliceHandle<InferRuntimeState<typeof zoneRulesCapability>>;
|
|
224
226
|
readonly zones: SliceHandle<InferRuntimeState<typeof zonesCapability>>;
|
|
@@ -346,6 +348,7 @@ export interface DeviceProxy {
|
|
|
346
348
|
readonly weather?: InferDeviceProxyCap<typeof weatherCapability>;
|
|
347
349
|
readonly weatherStation?: InferDeviceProxyCap<typeof weatherStationCapability>;
|
|
348
350
|
readonly webrtcSession?: InferDeviceProxyCap<typeof webrtcSessionCapability>;
|
|
351
|
+
readonly workload?: InferDeviceProxyCap<typeof workloadCapability>;
|
|
349
352
|
readonly zoneAnalytics?: InferDeviceProxyCap<typeof zoneAnalyticsCapability>;
|
|
350
353
|
readonly zoneRules?: InferDeviceProxyCap<typeof zoneRulesCapability>;
|
|
351
354
|
readonly zones?: InferDeviceProxyCap<typeof zonesCapability>;
|
|
@@ -356,7 +359,7 @@ export interface DeviceProxy {
|
|
|
356
359
|
readonly deviceAdoption: Pick<InferDeviceProxyCap<typeof deviceAdoptionCapability>, 'getStatus'>;
|
|
357
360
|
readonly deviceExport: Pick<InferDeviceProxyCap<typeof deviceExportCapability>, 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
358
361
|
readonly deviceHistory: Pick<InferDeviceProxyCap<typeof deviceHistoryCapability>, 'listSeries' | 'query' | 'getDeviceEnabled' | 'setDeviceEnabled' | 'deleteSeriesRange'>;
|
|
359
|
-
readonly deviceManager: Pick<InferDeviceProxyCap<typeof deviceManagerCapability>, 'loadConfig' | 'loadRuntimeState' | 'loadMeta' | 'setName' | 'setAlias' | 'setLocation' | 'setTags' | 'setType' | 'setIntegrationId' | 'setLinkDeviceId' | 'setPrimaryChildEntityId' | 'setChildLayout' | 'setPrimaryChildPreference' | 'setDisplay' | 'getWireableFields' | 'setRole' | 'applyInitialMeta' | 'setMetadata' | 'setDisabled' | 'getDevice' | 'getLinkedDevices' | 'getStreamSources' | 'getConfigSchema' | 'getSettingsSchema' | 'updateConfig' | 'enable' | 'disable' | 'remove' | 'getStreamProfileMap' | 'setStreamProfileMap' | 'probeStreams' | 'getBindings' | 'setWrapperActive' | 'getWrapperActivation' | 'getDeviceSettingsAggregate' | 'getDeviceLiveInfoAggregate' | 'getDeviceAggregate' | 'runDeviceAction' | 'updateDeviceField' | 'updateDeviceFieldsBatch' | 'testField' | 'getDeviceStatusAggregate'>;
|
|
362
|
+
readonly deviceManager: Pick<InferDeviceProxyCap<typeof deviceManagerCapability>, 'loadConfig' | 'loadRuntimeState' | 'loadMeta' | 'setName' | 'setAlias' | 'setLocation' | 'setTags' | 'setType' | 'setIntegrationId' | 'setLinkDeviceId' | 'setPrimaryChildEntityId' | 'setChildLayout' | 'setPrimaryChildPreference' | 'setDisplay' | 'getWireableFields' | 'setRole' | 'applyInitialMeta' | 'setMetadata' | 'setIdentifiers' | 'setDisabled' | 'getDevice' | 'getLinkedDevices' | 'getStreamSources' | 'getConfigSchema' | 'getSettingsSchema' | 'updateConfig' | 'enable' | 'disable' | 'remove' | 'getStreamProfileMap' | 'setStreamProfileMap' | 'probeStreams' | 'getBindings' | 'setWrapperActive' | 'getWrapperActivation' | 'getDeviceSettingsAggregate' | 'getDeviceLiveInfoAggregate' | 'getDeviceAggregate' | 'runDeviceAction' | 'updateDeviceField' | 'updateDeviceFieldsBatch' | 'testField' | 'getDeviceStatusAggregate'>;
|
|
360
363
|
readonly deviceState: Pick<InferDeviceProxyCap<typeof deviceStateCapability>, 'getSnapshot' | 'getCapSlice' | 'setCapSlice' | 'claimFields' | 'patchOwnedFields' | 'releaseClaim' | 'getNativeCapSlice'>;
|
|
361
364
|
readonly faceGallery: Pick<InferDeviceProxyCap<typeof faceGalleryCapability>, 'listRecentFaces' | 'getFaceByTrack'>;
|
|
362
365
|
readonly networkQuality: Pick<InferDeviceProxyCap<typeof networkQualityCapability>, 'getDeviceStats' | 'reportClientStats'>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
6
6
|
* (~144MB RSS per runner, D28).
|
|
7
7
|
*
|
|
8
|
-
* Coverage:
|
|
8
|
+
* Coverage: 109 device-scoped capabilities.
|
|
9
9
|
*/
|
|
10
10
|
export declare const DEVICE_SCOPED_CAPS: ReadonlySet<string>;
|
|
11
11
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CapabilityHistoryField, CapabilityHistoryItems, CapabilityHistoryPrimary } from '../capabilities/capability-definition.js';
|
|
2
2
|
/**
|
|
3
3
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
4
|
-
*
|
|
4
|
+
* 47 caps with series (130 series), 39 caps answered `'none'`.
|
|
5
5
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
6
6
|
*/
|
|
7
7
|
export declare const HISTORY_CATALOG: Readonly<Record<string, Readonly<Record<string, CapabilityHistoryField>>>>;
|
|
@@ -13,7 +13,7 @@ export declare const HISTORY_CATALOG: Readonly<Record<string, Readonly<Record<st
|
|
|
13
13
|
export declare const HISTORY_ITEM_CATALOG: Readonly<Record<string, CapabilityHistoryItems>>;
|
|
14
14
|
/**
|
|
15
15
|
* The series a device card trends, per cap (`history.primary` + `history.priority`):
|
|
16
|
-
*
|
|
16
|
+
* 7 caps. The card shows the primary of the enabled cap with the highest priority.
|
|
17
17
|
*/
|
|
18
18
|
export declare const HISTORY_PRIMARY: Readonly<Record<string, CapabilityHistoryPrimary>>;
|
|
19
19
|
/** Caps that declared `history: 'none'`, sorted. */
|
|
@@ -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: 1520 method paths across 211 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { MethodRole } from '../auth/viewer-access.js';
|
|
12
12
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
10
|
-
*
|
|
9
|
+
* Coverage: 641 methods carry a device reference, of which
|
|
10
|
+
* 199 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
|
13
13
|
* a numeric device field (targets[].deviceId) are all mapped; the matcher
|
|
@@ -16,7 +16,7 @@ export interface RuntimeStatePolicy {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
19
|
-
* `runtimeState`.
|
|
19
|
+
* `runtimeState`. 87 caps: 43 `restored`, 44 `session`.
|
|
20
20
|
*
|
|
21
21
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
22
22
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -94,7 +94,7 @@ export interface SystemProxy {
|
|
|
94
94
|
readonly deviceCredentials: Pick<InferProvider<typeof deviceCredentialsCapability>, 'listDeviceCredentials' | 'startEnrollment' | 'revokeDeviceCredential' | 'getDeviceCertificateSettings' | 'setDeviceCertificateSettings' | 'deleteDeviceCredential' | 'getDeviceCaStatus' | 'renameDeviceCredential'>;
|
|
95
95
|
readonly deviceExport: Pick<InferProvider<typeof deviceExportCapability>, 'getStatus' | 'listInstances' | 'listSupportedDeviceKinds' | 'listExposedDevices' | 'exposeDevice' | 'unexposeDevice' | 'setExposedName' | 'listSupportedEntityKinds' | 'listExposedEntities' | 'exposeEntity' | 'unexposeEntity'>;
|
|
96
96
|
readonly deviceHistory: Pick<InferProvider<typeof deviceHistoryCapability>, 'listNodeSeries' | 'queryNode' | 'queryMany' | 'declareSeries' | 'record' | 'recordBuckets' | 'getStatus' | 'listOrphanSeries' | 'deleteOrphanSeries'>;
|
|
97
|
-
readonly deviceManager: Pick<InferProvider<typeof deviceManagerCapability>, 'allocateDeviceId' | 'migrateDevice' | 'registerDevice' | 'removeDevice' | 'persistConfig' | 'renderDeviceTemplates' | 'checkDeviceTemplates' | 'getRoleDisplayDefaults' | 'setRoleDisplayDefaults' | 'listLocations' | 'addLocation' | 'removeLocation' | 'renameLocation' | 'listLocationIcons' | 'setLocationIcon' | 'listLocationDescriptions' | 'setLocationDescription' | 'listSiteZones' | 'setSiteZone' | 'removeSiteZone' | 'renameSiteZone' | 'setLocationZone' | 'listPersistedByAddon' | 'listAll' | 'search' | 'getChildren' | 'getChildrenBatch' | 'getLinkedDevicesBatch' | 'listDeletedSince' | 'cleanupDeletedDevicesData' | 'removeByIntegration' | 'getBindingsBatch' | 'getAllBindings' | 'listDeviceIdsByCaps' | 'listWrappersForCap' | 'listBindableCapsForDeviceType' | 'discoverDevices' | 'adoptDevice' | 'getCreationSchema' | 'createDevice' | 'testCreationField' | 'adoptionListCandidateFilters' | 'adoptionListCandidates' | 'adoptionRefresh' | 'adoptionAdopt' | 'adoptionRelease' | 'adoptionStartJob' | 'adoptionListJobs' | 'adoptionCancelJob' | 'adoptionResync' | 'discoveryProviders' | 'discoverAllProviders' | 'discoverProvider' | 'listDiscoveryProposals' | 'dismissDiscoveryProposal' | 'reportDiscoveryObservations' | 'runDiscoverySweep' | 'providerCreationType' | 'providerDiscoveryParamsSchema' | 'getDeviceStatusAggregateBatch'>;
|
|
97
|
+
readonly deviceManager: Pick<InferProvider<typeof deviceManagerCapability>, 'allocateDeviceId' | 'migrateDevice' | 'registerDevice' | 'removeDevice' | 'persistConfig' | 'renderDeviceTemplates' | 'checkDeviceTemplates' | 'getRoleDisplayDefaults' | 'setRoleDisplayDefaults' | 'listIdentityCandidates' | 'listLocations' | 'addLocation' | 'removeLocation' | 'renameLocation' | 'listLocationIcons' | 'setLocationIcon' | 'listLocationDescriptions' | 'setLocationDescription' | 'listSiteZones' | 'setSiteZone' | 'removeSiteZone' | 'renameSiteZone' | 'setLocationZone' | 'listPersistedByAddon' | 'listAll' | 'search' | 'getChildren' | 'getChildrenBatch' | 'getLinkedDevicesBatch' | 'listDeletedSince' | 'cleanupDeletedDevicesData' | 'removeByIntegration' | 'getBindingsBatch' | 'getAllBindings' | 'listDeviceIdsByCaps' | 'listWrappersForCap' | 'listBindableCapsForDeviceType' | 'discoverDevices' | 'adoptDevice' | 'getCreationSchema' | 'createDevice' | 'testCreationField' | 'adoptionListCandidateFilters' | 'adoptionListCandidates' | 'adoptionRefresh' | 'adoptionAdopt' | 'adoptionRelease' | 'adoptionStartJob' | 'adoptionListJobs' | 'adoptionCancelJob' | 'adoptionResync' | 'discoveryProviders' | 'discoverAllProviders' | 'discoverProvider' | 'listDiscoveryProposals' | 'dismissDiscoveryProposal' | 'reportDiscoveryObservations' | 'runDiscoverySweep' | 'providerCreationType' | 'providerDiscoveryParamsSchema' | 'getDeviceStatusAggregateBatch'>;
|
|
98
98
|
readonly deviceProvider: Pick<InferProvider<typeof deviceProviderCapability>, 'start' | 'stop' | 'getStatus' | 'getDevices' | 'reloadDevice' | 'supportsDiscovery' | 'discoverDevices' | 'getDiscoveryModes' | 'classifyDiscoveryHits' | 'getDiscoveryParamsSchema' | 'getManualCreationType' | 'adoptDiscoveredDevice' | 'supportsManualCreation' | 'getChildCreationSchema' | 'createDevice' | 'testCreationField'>;
|
|
99
99
|
readonly deviceState: Pick<InferProvider<typeof deviceStateCapability>, 'getAllSnapshots' | 'listClaims'>;
|
|
100
100
|
readonly displayPalette: Pick<InferProvider<typeof displayPaletteCapability>, 'getPalette' | 'listPresets' | 'setPalette'>;
|
|
@@ -134,7 +134,7 @@ export interface SystemProxy {
|
|
|
134
134
|
readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup' | 'getSiteLocation' | 'setSiteLocation' | 'detectSiteLocation' | 'getRequestCensus' | 'getLoadContributions' | 'getFailureContributions' | 'getLoggingSettings' | 'setLoggingSettings' | 'debugWatch'>;
|
|
135
135
|
readonly tags: Pick<InferProvider<typeof tagsCapability>, 'list' | 'setStyle' | 'rename' | 'remove'>;
|
|
136
136
|
readonly template: Pick<InferProvider<typeof templateCapability>, 'list' | 'get' | 'create' | 'update' | 'delete'>;
|
|
137
|
-
readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | '
|
|
137
|
+
readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | 'listSessions' | 'serverShellStatus' | 'openSession' | 'resize' | 'pullOutput' | 'writeInput' | 'close'>;
|
|
138
138
|
readonly toast: Pick<InferProvider<typeof toastCapability>, 'onToast'>;
|
|
139
139
|
readonly training: Pick<InferProvider<typeof trainingCapability>, 'listBaseModels' | 'planJob' | 'startJob' | 'startJobBatch' | 'listJobs' | 'getJob' | 'cancelJob' | 'getJobResult' | 'listCanaryTargets' | 'registerResult' | 'canaryResult' | 'rollbackCanary' | 'discardResult'>;
|
|
140
140
|
readonly turnProvider: Pick<InferProvider<typeof turnProviderCapability>, 'getTurnServers'>;
|