@camstack/types 1.2.400 → 1.2.402
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/addon.js +1 -71
- package/dist/addon.mjs +1 -71
- package/dist/capabilities/addon-settings.cap.d.ts +5 -0
- package/dist/capabilities/capability-definition.d.ts +42 -1
- package/dist/capabilities/consumables.cap.d.ts +187 -14
- package/dist/capabilities/core-blocks.cap.d.ts +1 -0
- package/dist/capabilities/device-history.cap.d.ts +148 -0
- package/dist/capabilities/device-manager.cap.d.ts +4 -0
- package/dist/capabilities/dishwasher.cap.d.ts +3 -38
- package/dist/capabilities/index.d.ts +7 -7
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +28 -0
- package/dist/capabilities/platform-probe.cap.d.ts +74 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +5 -141
- package/dist/client.js +19 -4
- package/dist/client.mjs +19 -4
- package/dist/generated/addon-api.d.ts +28 -0
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +8 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +420 -129
- package/dist/index.mjs +407 -128
- package/dist/interfaces/config-ui.d.ts +4 -2
- package/dist/pipeline/load-balancing/effective-shares.d.ts +6 -0
- package/dist/pipeline/load-balancing/share-election.d.ts +46 -0
- package/dist/{sleep-DJFUfKvA.mjs → sleep-CUp20JkO.mjs} +10 -2
- package/dist/{sleep-CD18m9HF.js → sleep-DVovpDRU.js} +15 -1
- package/package.json +1 -1
|
@@ -202,6 +202,97 @@ declare const QueryManyEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
202
202
|
}, z.core.$strip>], "ok">;
|
|
203
203
|
export type DeviceHistoryQueryManyEntry = z.infer<typeof QueryManyEntrySchema>;
|
|
204
204
|
/** Operator/diagnostic view: rows per tier, last runs, refusals and drops since boot. */
|
|
205
|
+
/**
|
|
206
|
+
* Why a series is orphan. `device-gone`: its device is absent from the
|
|
207
|
+
* successful device listings (the departure clock). `undeclared`: its `cap:`
|
|
208
|
+
* key is declared by no capability any more (a field a cap removed).
|
|
209
|
+
*/
|
|
210
|
+
export declare const DeviceHistoryOrphanReasonSchema: z.ZodEnum<{
|
|
211
|
+
"device-gone": "device-gone";
|
|
212
|
+
undeclared: "undeclared";
|
|
213
|
+
}>;
|
|
214
|
+
export type DeviceHistoryOrphanReason = z.infer<typeof DeviceHistoryOrphanReasonSchema>;
|
|
215
|
+
/** Rows held per stored tier. */
|
|
216
|
+
declare const TierRowsSchema: z.ZodObject<{
|
|
217
|
+
raw: z.ZodNumber;
|
|
218
|
+
'5m': z.ZodNumber;
|
|
219
|
+
'1h': z.ZodNumber;
|
|
220
|
+
'1d': z.ZodNumber;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
export type DeviceHistoryTierRows = z.infer<typeof TierRowsSchema>;
|
|
223
|
+
declare const OrphanSeriesSchema: z.ZodObject<{
|
|
224
|
+
seriesId: z.ZodNumber;
|
|
225
|
+
deviceId: z.ZodNumber;
|
|
226
|
+
key: z.ZodString;
|
|
227
|
+
scope: z.ZodString;
|
|
228
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
229
|
+
reason: z.ZodEnum<{
|
|
230
|
+
"device-gone": "device-gone";
|
|
231
|
+
undeclared: "undeclared";
|
|
232
|
+
}>;
|
|
233
|
+
missingSince: z.ZodNullable<z.ZodNumber>;
|
|
234
|
+
firstTs: z.ZodNumber;
|
|
235
|
+
lastTs: z.ZodNumber;
|
|
236
|
+
rows: z.ZodObject<{
|
|
237
|
+
raw: z.ZodNumber;
|
|
238
|
+
'5m': z.ZodNumber;
|
|
239
|
+
'1h': z.ZodNumber;
|
|
240
|
+
'1d': z.ZodNumber;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
export type DeviceHistoryOrphanSeries = z.infer<typeof OrphanSeriesSchema>;
|
|
244
|
+
/** At most this many orphans are listed (with their row counts) per call. */
|
|
245
|
+
export declare const DEVICE_HISTORY_ORPHAN_LIST_MAX = 200;
|
|
246
|
+
/** At most this many series are deleted per call. */
|
|
247
|
+
export declare const DEVICE_HISTORY_ORPHAN_DELETE_MAX = 50;
|
|
248
|
+
export declare const DeviceHistoryOrphanDeleteRefusalSchema: z.ZodEnum<{
|
|
249
|
+
failed: "failed";
|
|
250
|
+
"not-found": "not-found";
|
|
251
|
+
"not-orphan": "not-orphan";
|
|
252
|
+
}>;
|
|
253
|
+
declare const OrphanDeleteEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
254
|
+
seriesId: z.ZodNumber;
|
|
255
|
+
ok: z.ZodLiteral<true>;
|
|
256
|
+
deleted: z.ZodObject<{
|
|
257
|
+
raw: z.ZodNumber;
|
|
258
|
+
'5m': z.ZodNumber;
|
|
259
|
+
'1h': z.ZodNumber;
|
|
260
|
+
'1d': z.ZodNumber;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
+
seriesId: z.ZodNumber;
|
|
264
|
+
ok: z.ZodLiteral<false>;
|
|
265
|
+
reason: z.ZodEnum<{
|
|
266
|
+
failed: "failed";
|
|
267
|
+
"not-found": "not-found";
|
|
268
|
+
"not-orphan": "not-orphan";
|
|
269
|
+
}>;
|
|
270
|
+
}, z.core.$strip>], "ok">;
|
|
271
|
+
export type DeviceHistoryOrphanDeleteEntry = z.infer<typeof OrphanDeleteEntrySchema>;
|
|
272
|
+
declare const OrphanListSchema: z.ZodObject<{
|
|
273
|
+
series: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
274
|
+
seriesId: z.ZodNumber;
|
|
275
|
+
deviceId: z.ZodNumber;
|
|
276
|
+
key: z.ZodString;
|
|
277
|
+
scope: z.ZodString;
|
|
278
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
279
|
+
reason: z.ZodEnum<{
|
|
280
|
+
"device-gone": "device-gone";
|
|
281
|
+
undeclared: "undeclared";
|
|
282
|
+
}>;
|
|
283
|
+
missingSince: z.ZodNullable<z.ZodNumber>;
|
|
284
|
+
firstTs: z.ZodNumber;
|
|
285
|
+
lastTs: z.ZodNumber;
|
|
286
|
+
rows: z.ZodObject<{
|
|
287
|
+
raw: z.ZodNumber;
|
|
288
|
+
'5m': z.ZodNumber;
|
|
289
|
+
'1h': z.ZodNumber;
|
|
290
|
+
'1d': z.ZodNumber;
|
|
291
|
+
}, z.core.$strip>;
|
|
292
|
+
}, z.core.$strip>>>;
|
|
293
|
+
truncated: z.ZodBoolean;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
export type DeviceHistoryOrphanList = z.infer<typeof OrphanListSchema>;
|
|
205
296
|
export declare const DeviceHistoryStatusSchema: z.ZodObject<{
|
|
206
297
|
startedAt: z.ZodNumber;
|
|
207
298
|
ready: z.ZodBoolean;
|
|
@@ -630,6 +721,63 @@ export declare const deviceHistoryCapability: {
|
|
|
630
721
|
lastRefreshAt: z.ZodNullable<z.ZodNumber>;
|
|
631
722
|
}, z.core.$strip>;
|
|
632
723
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
724
|
+
/**
|
|
725
|
+
* Device series no longer linked to a device (D917): the device is absent
|
|
726
|
+
* from the listings, or the key is declared by no capability. REPORTED,
|
|
727
|
+
* never purged by this judgement; each entry counts its rows per tier
|
|
728
|
+
* (a primary-key range per series). Ordered by device, key, scope.
|
|
729
|
+
*/
|
|
730
|
+
readonly listOrphanSeries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
731
|
+
series: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
732
|
+
seriesId: z.ZodNumber;
|
|
733
|
+
deviceId: z.ZodNumber;
|
|
734
|
+
key: z.ZodString;
|
|
735
|
+
scope: z.ZodString;
|
|
736
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
737
|
+
reason: z.ZodEnum<{
|
|
738
|
+
"device-gone": "device-gone";
|
|
739
|
+
undeclared: "undeclared";
|
|
740
|
+
}>;
|
|
741
|
+
missingSince: z.ZodNullable<z.ZodNumber>;
|
|
742
|
+
firstTs: z.ZodNumber;
|
|
743
|
+
lastTs: z.ZodNumber;
|
|
744
|
+
rows: z.ZodObject<{
|
|
745
|
+
raw: z.ZodNumber;
|
|
746
|
+
'5m': z.ZodNumber;
|
|
747
|
+
'1h': z.ZodNumber;
|
|
748
|
+
'1d': z.ZodNumber;
|
|
749
|
+
}, z.core.$strip>;
|
|
750
|
+
}, z.core.$strip>>>;
|
|
751
|
+
truncated: z.ZodBoolean;
|
|
752
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
753
|
+
/**
|
|
754
|
+
* Delete orphan series by id. Each id is re-judged NOW: a series that is
|
|
755
|
+
* not orphan (its device came back) is refused `not-orphan`, an unknown id
|
|
756
|
+
* `not-found`. Deletes tier by tier in the retention slices, then the
|
|
757
|
+
* series row; one entry per id, in order.
|
|
758
|
+
*/
|
|
759
|
+
readonly deleteOrphanSeries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
760
|
+
seriesIds: z.ZodArray<z.ZodNumber>;
|
|
761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
762
|
+
results: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
763
|
+
seriesId: z.ZodNumber;
|
|
764
|
+
ok: z.ZodLiteral<true>;
|
|
765
|
+
deleted: z.ZodObject<{
|
|
766
|
+
raw: z.ZodNumber;
|
|
767
|
+
'5m': z.ZodNumber;
|
|
768
|
+
'1h': z.ZodNumber;
|
|
769
|
+
'1d': z.ZodNumber;
|
|
770
|
+
}, z.core.$strip>;
|
|
771
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
772
|
+
seriesId: z.ZodNumber;
|
|
773
|
+
ok: z.ZodLiteral<false>;
|
|
774
|
+
reason: z.ZodEnum<{
|
|
775
|
+
failed: "failed";
|
|
776
|
+
"not-found": "not-found";
|
|
777
|
+
"not-orphan": "not-orphan";
|
|
778
|
+
}>;
|
|
779
|
+
}, z.core.$strip>], "ok">>>;
|
|
780
|
+
}, z.core.$strip>, "mutation">;
|
|
633
781
|
};
|
|
634
782
|
};
|
|
635
783
|
export type IDeviceHistoryProvider = InferProvider<typeof deviceHistoryCapability>;
|
|
@@ -1551,6 +1551,7 @@ export declare const deviceManagerCapability: {
|
|
|
1551
1551
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
1552
1552
|
tab: z.ZodOptional<z.ZodString>;
|
|
1553
1553
|
location: z.ZodOptional<z.ZodEnum<{
|
|
1554
|
+
hero: "hero";
|
|
1554
1555
|
settings: "settings";
|
|
1555
1556
|
"top-tab": "top-tab";
|
|
1556
1557
|
}>>;
|
|
@@ -1581,6 +1582,7 @@ export declare const deviceManagerCapability: {
|
|
|
1581
1582
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
1582
1583
|
tab: z.ZodOptional<z.ZodString>;
|
|
1583
1584
|
location: z.ZodOptional<z.ZodEnum<{
|
|
1585
|
+
hero: "hero";
|
|
1584
1586
|
settings: "settings";
|
|
1585
1587
|
"top-tab": "top-tab";
|
|
1586
1588
|
}>>;
|
|
@@ -1620,6 +1622,7 @@ export declare const deviceManagerCapability: {
|
|
|
1620
1622
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
1621
1623
|
tab: z.ZodOptional<z.ZodString>;
|
|
1622
1624
|
location: z.ZodOptional<z.ZodEnum<{
|
|
1625
|
+
hero: "hero";
|
|
1623
1626
|
settings: "settings";
|
|
1624
1627
|
"top-tab": "top-tab";
|
|
1625
1628
|
}>>;
|
|
@@ -1648,6 +1651,7 @@ export declare const deviceManagerCapability: {
|
|
|
1648
1651
|
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
|
|
1649
1652
|
tab: z.ZodOptional<z.ZodString>;
|
|
1650
1653
|
location: z.ZodOptional<z.ZodEnum<{
|
|
1654
|
+
hero: "hero";
|
|
1651
1655
|
settings: "settings";
|
|
1652
1656
|
"top-tab": "top-tab";
|
|
1653
1657
|
}>>;
|
|
@@ -2,8 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
import { DeviceType } from '../device/device-type.js';
|
|
4
4
|
/**
|
|
5
|
-
* Smart-dishwasher cap — program lifecycle, door / remote-start gates
|
|
6
|
-
*
|
|
5
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates and
|
|
6
|
+
* common program options. Salt and rinse aid are NOT here: they are items of
|
|
7
|
+
* the device's `consumables` cap, like every other device's (D915).
|
|
7
8
|
*
|
|
8
9
|
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
9
10
|
* by any integration that exposes the same program / option surface.
|
|
@@ -54,12 +55,6 @@ export declare const DishwasherAvailabilitySchema: z.ZodEnum<{
|
|
|
54
55
|
offline: "offline";
|
|
55
56
|
}>;
|
|
56
57
|
export type DishwasherAvailability = z.infer<typeof DishwasherAvailabilitySchema>;
|
|
57
|
-
export declare const DishwasherConsumableLevelSchema: z.ZodEnum<{
|
|
58
|
-
empty: "empty";
|
|
59
|
-
low: "low";
|
|
60
|
-
ok: "ok";
|
|
61
|
-
}>;
|
|
62
|
-
export type DishwasherConsumableLevel = z.infer<typeof DishwasherConsumableLevelSchema>;
|
|
63
58
|
export declare const DishwasherStatusSchema: z.ZodObject<{
|
|
64
59
|
availability: z.ZodEnum<{
|
|
65
60
|
available: "available";
|
|
@@ -98,16 +93,6 @@ export declare const DishwasherStatusSchema: z.ZodObject<{
|
|
|
98
93
|
localControlActive: z.ZodNullable<z.ZodBoolean>;
|
|
99
94
|
powerOn: z.ZodNullable<z.ZodBoolean>;
|
|
100
95
|
powerState: z.ZodNullable<z.ZodString>;
|
|
101
|
-
saltLevel: z.ZodNullable<z.ZodEnum<{
|
|
102
|
-
empty: "empty";
|
|
103
|
-
low: "low";
|
|
104
|
-
ok: "ok";
|
|
105
|
-
}>>;
|
|
106
|
-
rinseAidLevel: z.ZodNullable<z.ZodEnum<{
|
|
107
|
-
empty: "empty";
|
|
108
|
-
low: "low";
|
|
109
|
-
ok: "ok";
|
|
110
|
-
}>>;
|
|
111
96
|
filterCleaningDue: z.ZodNullable<z.ZodBoolean>;
|
|
112
97
|
machineCareDue: z.ZodNullable<z.ZodBoolean>;
|
|
113
98
|
machineCareRemainingRuns: z.ZodNullable<z.ZodNumber>;
|
|
@@ -435,16 +420,6 @@ export declare const dishwasherCapability: {
|
|
|
435
420
|
localControlActive: z.ZodNullable<z.ZodBoolean>;
|
|
436
421
|
powerOn: z.ZodNullable<z.ZodBoolean>;
|
|
437
422
|
powerState: z.ZodNullable<z.ZodString>;
|
|
438
|
-
saltLevel: z.ZodNullable<z.ZodEnum<{
|
|
439
|
-
empty: "empty";
|
|
440
|
-
low: "low";
|
|
441
|
-
ok: "ok";
|
|
442
|
-
}>>;
|
|
443
|
-
rinseAidLevel: z.ZodNullable<z.ZodEnum<{
|
|
444
|
-
empty: "empty";
|
|
445
|
-
low: "low";
|
|
446
|
-
ok: "ok";
|
|
447
|
-
}>>;
|
|
448
423
|
filterCleaningDue: z.ZodNullable<z.ZodBoolean>;
|
|
449
424
|
machineCareDue: z.ZodNullable<z.ZodBoolean>;
|
|
450
425
|
machineCareRemainingRuns: z.ZodNullable<z.ZodNumber>;
|
|
@@ -499,16 +474,6 @@ export declare const dishwasherCapability: {
|
|
|
499
474
|
localControlActive: z.ZodNullable<z.ZodBoolean>;
|
|
500
475
|
powerOn: z.ZodNullable<z.ZodBoolean>;
|
|
501
476
|
powerState: z.ZodNullable<z.ZodString>;
|
|
502
|
-
saltLevel: z.ZodNullable<z.ZodEnum<{
|
|
503
|
-
empty: "empty";
|
|
504
|
-
low: "low";
|
|
505
|
-
ok: "ok";
|
|
506
|
-
}>>;
|
|
507
|
-
rinseAidLevel: z.ZodNullable<z.ZodEnum<{
|
|
508
|
-
empty: "empty";
|
|
509
|
-
low: "low";
|
|
510
|
-
ok: "ok";
|
|
511
|
-
}>>;
|
|
512
477
|
filterCleaningDue: z.ZodNullable<z.ZodBoolean>;
|
|
513
478
|
machineCareDue: z.ZodNullable<z.ZodBoolean>;
|
|
514
479
|
machineCareRemainingRuns: z.ZodNullable<z.ZodNumber>;
|
|
@@ -36,8 +36,8 @@ export { BrokerAddInputSchema, BrokerGetStateInputSchema, type BrokerInfo, type
|
|
|
36
36
|
export { cameraPipelineConfigCapability, type ICameraPipelineConfigProvider, } from './camera-pipeline-config.cap.js';
|
|
37
37
|
export { cameraStreamsCapability, type ICameraStreamsProvider, type PickedCamStream, PickedCamStreamSchema, type PickStreamPreferences, PickStreamPreferencesSchema, type PickStreamRequirements, PickStreamRequirementsSchema, type StreamCodec, StreamCodecSchema, } from './camera-streams.cap.js';
|
|
38
38
|
export { emitsCollectionSelector, extractNestedAddonId, isArrayOutputSchema, isCollectionArrayMethod, isObjectInput, isVoidInput, kebabToCamel, looseSchema, objectInputDeclaresAddonId, objectInputDeclaresRequiredDeviceId, procedureAuthKey, resolveMethodAuth, } from './cap-router-predicates.js';
|
|
39
|
-
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, CapabilityHistory, CapabilityHistoryField, HistoryUnit, ProviderKind, RuntimeStateDurability, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
40
|
-
export { DEFAULT_RUNTIME_STATE_DURABILITY, HISTORY_DEFAULT_MIN_INTERVAL_MS, HISTORY_UNIT_LABELS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, optionalMethod, PROVIDER_PIN_FIELD, resolveCapMount, } from './capability-definition.js';
|
|
39
|
+
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, CapabilityHistory, CapabilityHistoryField, CapabilityHistoryItems, HistoryUnit, ProviderKind, RuntimeStateDurability, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
40
|
+
export { DEFAULT_RUNTIME_STATE_DURABILITY, HISTORY_DEFAULT_MIN_INTERVAL_MS, HISTORY_UNIT_LABELS, historyItemFieldPath, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, optionalMethod, PROVIDER_PIN_FIELD, resolveCapMount, } from './capability-definition.js';
|
|
41
41
|
export { COMPOSER_RUNNER_ID, type ComposerApplyInput, ComposerApplyInputSchema, type ComposerApplyResult, ComposerApplyResultSchema, type ComposerBlock, ComposerBlockSchema, type ComposerBlockVerdict, ComposerBlockVerdictSchema, type ComposerUnreadableBlock, ComposerUnreadableBlockSchema, composerCapability, type IComposerProvider, } from './composer.cap.js';
|
|
42
42
|
export { CORE_BLOCK_ADDON_PREFIX, CORE_BLOCKS_ADDON_ID, type CompositionBlockInput, CompositionBlockInputSchema, type CompositionBlockPatch, type CompositionCustomizationRead, CompositionCustomizationReadSchema, type CompositionGetRead, CompositionGetReadSchema, type CompositionListRead, CompositionListReadSchema, type CompositionStateRead, CompositionStateReadSchema, type CompositionView, CompositionViewSchema, type CoreBlock, type CoreBlockCompileInput, CoreBlockCompileInputSchema, type CoreBlockCompileResult, CoreBlockCompileResultSchema, type CoreBlockFiles, CoreBlockFilesSchema, type CoreBlockInput, CoreBlockInputFieldsSchema, CoreBlockInputSchema, type CoreBlockPlacement, CoreBlockPlacementSchema, CoreBlockSchema, type CoreBlockSource, type CoreBlockSourceKind, CoreBlockSourceSchema, type CoreBlockStatus, CoreBlockStatusSchema, coreBlockAddonId, coreBlockComposition, coreBlockIdFromAddonId, coreBlockSourceKind, coreBlocksCapability, DEFAULT_CORE_BLOCK_ENTRY, type ICoreBlocksProvider, normalizeCoreBlockWrite, resolveCoreBlockEntry, resolveCoreBlockFiles, } from './core-blocks.cap.js';
|
|
43
43
|
export * from './custom-actions.js';
|
|
@@ -50,7 +50,7 @@ export { type IStorageAdminProvider, type StorageKind, StorageKindSchema, type S
|
|
|
50
50
|
export { type DeclareKindResult, DeclareKindResultSchema, type IRecordsProvider, type RecordInput, RecordInputSchema, type RecordQueryInput, RecordQueryInputSchema, type RecordQueryResult, RecordQueryResultSchema, type RecordView, RecordViewSchema, type RecordWhere, RecordWhereSchema, type RecordWhereValue, RecordIdSchema, RecordBodySchema, RecordSecretRefsSchema, type RecordTransactOp, RecordTransactOpSchema, recordsCapability, } from './records.cap.js';
|
|
51
51
|
export { type EntryKindInfo, EntryKindInfoSchema, type EntryView, EntryViewSchema, type IRecordEntriesProvider, recordEntriesCapability, } from './record-entries.cap.js';
|
|
52
52
|
export { type IKeychainProvider, KEYCHAIN_MAX_REFS_PER_CALL, type KeychainResolveEntry, KeychainResolveEntrySchema, type KeychainResolveResult, KeychainResolveResultSchema, type KeychainSecretMeta, KeychainSecretMetaSchema, type KeychainState, KeychainStateSchema, type KeychainUnavailableReason, KeychainUnavailableReasonSchema, keychainCapability, } from './keychain.cap.js';
|
|
53
|
-
export { DEVICE_HISTORY_ENERGY_KEY, DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS, type DeviceHistoryStatus, DeviceHistoryStatusSchema, type DeviceHistoryIngestResult, type DeviceHistoryKind, DeviceHistoryKindSchema, type DeviceHistoryProducerKind, DeviceHistoryProducerKindSchema, type DeviceHistoryQueryManyEntry, type DeviceHistoryQueryManyItem, type DeviceHistoryQueryResult, type DeviceHistoryQueryPoint, type DeviceHistoryRefusalReason, DeviceHistoryRefusalReasonSchema, type DeviceHistoryResolution, DeviceHistoryResolutionSchema, type DeviceHistorySeriesInfo, type DeviceHistorySubject, DeviceHistorySubjectSchema, type IDeviceHistoryProvider, deviceHistoryCapability, } from './device-history.cap.js';
|
|
53
|
+
export { DEVICE_HISTORY_ENERGY_KEY, DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS, DEVICE_HISTORY_ORPHAN_DELETE_MAX, DEVICE_HISTORY_ORPHAN_LIST_MAX, type DeviceHistoryOrphanDeleteEntry, DeviceHistoryOrphanDeleteRefusalSchema, type DeviceHistoryOrphanList, type DeviceHistoryOrphanReason, DeviceHistoryOrphanReasonSchema, type DeviceHistoryOrphanSeries, type DeviceHistoryTierRows, type DeviceHistoryStatus, DeviceHistoryStatusSchema, type DeviceHistoryIngestResult, type DeviceHistoryKind, DeviceHistoryKindSchema, type DeviceHistoryProducerKind, DeviceHistoryProducerKindSchema, type DeviceHistoryQueryManyEntry, type DeviceHistoryQueryManyItem, type DeviceHistoryQueryResult, type DeviceHistoryQueryPoint, type DeviceHistoryRefusalReason, DeviceHistoryRefusalReasonSchema, type DeviceHistoryResolution, DeviceHistoryResolutionSchema, type DeviceHistorySeriesInfo, type DeviceHistorySubject, DeviceHistorySubjectSchema, type IDeviceHistoryProvider, deviceHistoryCapability, } from './device-history.cap.js';
|
|
54
54
|
export { type DeviceCaStatus, DeviceCaStatusSchema, type DeviceCertificateSettings, DeviceCertificateSettingsSchema, deviceCredentialsCapability, type IDeviceCredentialsProvider, } from './device-credentials.cap.js';
|
|
55
55
|
export { type HttpsLeafInfo, HttpsLeafInfoSchema, type INodeCertificatesProvider, type MeshLeafInfo, MeshLeafInfoSchema, type NodeHttpsState, NodeHttpsStateSchema, nodeCertificatesCapability, } from './node-certificates.cap.js';
|
|
56
56
|
export { type IKeychainAdminProvider, KEYCHAIN_RESET_CONFIRMATION, type KeychainAdminSecret, KeychainAdminSecretSchema, type KeychainAuditAction, KeychainAuditActionSchema, type KeychainAuditEntry, KeychainAuditEntrySchema, type KeychainKeySource, type KeychainKeySourceKind, KeychainKeySourceKindSchema, KeychainKeySourceSchema, KEYCHAIN_RESET_TRIGGER_ACTOR, type KeychainResetRecord, KeychainResetRecordSchema, type KeychainSecretUsage, KeychainSecretUsageSchema, type KeychainStatus, KeychainStatusSchema, keychainAdminCapability, type SystemHeldSecretName, SystemHeldSecretNameSchema, } from './keychain-admin.cap.js';
|
|
@@ -167,7 +167,7 @@ export { type ClimateControlStatus, ClimateControlStatusSchema, climateControlCa
|
|
|
167
167
|
export { type ColorHsvTriplet, type ColorInput, type ColorRgbTriplet, type ColorStatus, ColorStatusSchema, colorCapability, type IColorProvider, } from './color.cap.js';
|
|
168
168
|
export { CONNECTION_TEST_TIMEOUT_MS, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, type ConnectionTestOutcome, ConnectionTestOutcomeSchema, connectionTestCapability, type IConnectionTestProvider, } from './connection-test.cap.js';
|
|
169
169
|
export { type ConnectivityStatus, ConnectivityStatusSchema, connectivityCapability, type IConnectivityProvider, } from './connectivity.cap.js';
|
|
170
|
-
export { type ConsumableItem, ConsumableItemSchema, type ConsumableRemaining, ConsumableRemainingSchema, type ConsumableRemainingUnit, ConsumableRemainingUnitSchema, type ConsumablesStatus, ConsumablesStatusSchema, consumablesCapability, type IConsumablesProvider, } from './consumables.cap.js';
|
|
170
|
+
export { type ConsumableItem, ConsumableItemSchema, type ConsumableForm, ConsumableFormSchema, consumableFormOf, type ConsumableKind, ConsumableKindSchema, type ConsumableLevel, ConsumableLevelSchema, type ConsumableStatus, ConsumableStatusSchema, consumableKindOf, type ConsumableRemaining, ConsumableRemainingSchema, type ConsumableRemainingUnit, ConsumableRemainingUnitSchema, type ConsumablesStatus, ConsumablesStatusSchema, consumablesCapability, type IConsumablesProvider, } from './consumables.cap.js';
|
|
171
171
|
export { type ContactStatus, ContactStatusSchema, contactCapability, type IContactProvider, } from './contact.cap.js';
|
|
172
172
|
export { type ControlKind, ControlKindSchema, type ControlSetValueInput, type ControlStatus, ControlStatusSchema, controlCapability, type IControlProvider, } from './control.cap.js';
|
|
173
173
|
export { type CoverState, CoverStateSchema, type CoverStatus, CoverStatusSchema, coverCapability, type ICoverProvider, } from './cover.cap.js';
|
|
@@ -175,7 +175,7 @@ export { type DayNightMode, DayNightModeSchema, type DayNightOptions, DayNightOp
|
|
|
175
175
|
export { type DeviceDiscoveryStatus, DeviceDiscoveryStatusSchema, type DiscoveredChildDevice, DiscoveredChildDeviceSchema, type DiscoveredChildStatus, DiscoveredChildStatusSchema, deviceDiscoveryCapability, type IDeviceDiscoveryNativeProvider, type IDeviceDiscoveryProvider, } from './device-discovery.cap.js';
|
|
176
176
|
export { deviceOpsCapability, type IDeviceOpsProvider, type RawStateResult, RawStateResultSchema, } from './device-ops.cap.js';
|
|
177
177
|
export { type DeviceStatus, DeviceStatusSchema, deviceStatusCapability, type IDeviceStatusProvider, } from './device-status.cap.js';
|
|
178
|
-
export { type DishwasherAccess, DishwasherAccessSchema, type DishwasherAvailability, DishwasherAvailabilitySchema, type
|
|
178
|
+
export { type DishwasherAccess, DishwasherAccessSchema, type DishwasherAvailability, DishwasherAvailabilitySchema, type DishwasherOperationState, DishwasherOperationStateSchema, type DishwasherOptionDescriptor, DishwasherOptionDescriptorSchema, type DishwasherOptions, DishwasherOptionsSchema, type DishwasherProgram, DishwasherProgramSchema, type DishwasherState, DishwasherStateSchema, type DishwasherStatus, DishwasherStatusSchema, type DishwasherValue, DishwasherValueSchema, dishwasherCapability, type IDishwasherProvider, } from './dishwasher.cap.js';
|
|
179
179
|
export { type DoorbellPressEvent, DoorbellPressEventSchema, type DoorbellStatus, DoorbellStatusSchema, doorbellCapability, type IDoorbellProvider, } from './doorbell.cap.js';
|
|
180
180
|
export { type EnumSensorDateTimeFormat, EnumSensorDateTimeFormatSchema, type EnumSensorStatus, EnumSensorStatusSchema, enumSensorCapability, type IEnumSensorProvider, } from './enum-sensor.cap.js';
|
|
181
181
|
export { type EventEmitterStatus, EventEmitterStatusSchema, type EventFire, EventFireSchema, eventEmitterCapability, type IEventEmitterProvider, } from './event-emitter.cap.js';
|
|
@@ -211,7 +211,7 @@ export { type IOsdProvider, type OsdOverlay, type OsdOverlayKind, OsdOverlayKind
|
|
|
211
211
|
export { type IOsdManagerProvider, type OsdNamedTemplate, OsdNamedTemplateSchema, type OsdRenderOutcome, OsdRenderOutcomeEnum, type OsdRenderResult, OsdRenderResultSchema, type OsdSlotBinding, OsdSlotBindingSchema, type OsdSlotView, OsdSlotViewSchema, type OsdSource, type OsdSourceOption, OsdSourceOptionSchema, OsdSourceSchema, type OsdSourceValueType, OsdSourceValueTypeEnum, type OsdTemplateBinding, OsdTemplateBindingSchema, type OsdTemplateFormat, OsdTemplateFormatSchema, type OsdTemplatePick, OsdTemplatePickSchema, type OsdTemplateTokenKind, OsdTemplateTokenKindSchema, osdManagerCapability, } from './osd-manager.cap.js';
|
|
212
212
|
export { type IPetFeederProvider, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, type PetFeederStatus, PetFeederStatusSchema, petFeederCapability, } from './pet-feeder.cap.js';
|
|
213
213
|
export { type IPlateGalleryProvider, type PlateInfo, plateGalleryCapability, type Vehicle, type VehicleSampleInfo, } from './plate-gallery.cap.js';
|
|
214
|
-
export { type HardwareDecodeAccels, type HardwareEncoderId, type HardwareEncoderProbe, type HardwareEncoders, type IPlatformProbeProvider, platformProbeCapability, } from './platform-probe.cap.js';
|
|
214
|
+
export { type AcceleratorRescan, type HardwareDecodeAccels, type HardwareEncoderId, type HardwareEncoderProbe, type HardwareEncoders, type IPlatformProbeProvider, platformProbeCapability, } from './platform-probe.cap.js';
|
|
215
215
|
export { type IPowerMeterProvider, type PowerMeterStatus, PowerMeterStatusSchema, powerMeterCapability, } from './power-meter.cap.js';
|
|
216
216
|
export { type GpsLocation, type IPresenceProvider, type PresenceStatus, PresenceStatusSchema, presenceCapability, } from './presence.cap.js';
|
|
217
217
|
export { type IPressureSensorProvider, type PressureSensorStatus, PressureSensorStatusSchema, pressureSensorCapability, } from './pressure-sensor.cap.js';
|
|
@@ -240,7 +240,7 @@ export { type ITemperatureSensorProvider, type TemperatureSensorStatus, Temperat
|
|
|
240
240
|
export { type IToastProvider, ToastSchema, toastCapability } from './toast.cap.js';
|
|
241
241
|
export { type IUpdateProvider, type UpdateStatus, UpdateStatusSchema, updateCapability, } from './update.cap.js';
|
|
242
242
|
export { CreateUserInputSchema, ExternalIdentityKeySchema, ExternalIdentitySchema, type IUserManagementProvider, UpdateUserInputSchema, UserSummarySchema, userManagementCapability, } from './user-management.cap.js';
|
|
243
|
-
export { type IVacuumControlProvider, type
|
|
243
|
+
export { type IVacuumControlProvider, type VacuumControlStatus, VacuumControlStatusSchema, type VacuumState, VacuumStateSchema, vacuumControlCapability, } from './vacuum-control.cap.js';
|
|
244
244
|
export { type IValveProvider, type ValveState, ValveStateSchema, type ValveStatus, ValveStatusSchema, valveCapability, } from './valve.cap.js';
|
|
245
245
|
export { type IVibrationProvider, type VibrationStatus, VibrationStatusSchema, vibrationCapability, } from './vibration.cap.js';
|
|
246
246
|
export { type IWaterHeaterProvider, type WaterHeaterStatus, WaterHeaterStatusSchema, waterHeaterCapability, } from './water-heater.cap.js';
|
|
@@ -608,6 +608,11 @@ declare const NodeInferenceDeviceSchema: z.ZodObject<{
|
|
|
608
608
|
tflite: "tflite";
|
|
609
609
|
}>;
|
|
610
610
|
available: z.ZodBoolean;
|
|
611
|
+
presence: z.ZodOptional<z.ZodEnum<{
|
|
612
|
+
absent: "absent";
|
|
613
|
+
present: "present";
|
|
614
|
+
unknown: "unknown";
|
|
615
|
+
}>>;
|
|
611
616
|
enabled: z.ZodBoolean;
|
|
612
617
|
weight: z.ZodNumber;
|
|
613
618
|
maxSessions: z.ZodNullable<z.ZodNumber>;
|
|
@@ -665,6 +670,11 @@ declare const NodeInferenceDevicesSchema: z.ZodObject<{
|
|
|
665
670
|
tflite: "tflite";
|
|
666
671
|
}>;
|
|
667
672
|
available: z.ZodBoolean;
|
|
673
|
+
presence: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
absent: "absent";
|
|
675
|
+
present: "present";
|
|
676
|
+
unknown: "unknown";
|
|
677
|
+
}>>;
|
|
668
678
|
enabled: z.ZodBoolean;
|
|
669
679
|
weight: z.ZodNumber;
|
|
670
680
|
maxSessions: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1269,6 +1279,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1269
1279
|
tflite: "tflite";
|
|
1270
1280
|
}>;
|
|
1271
1281
|
available: z.ZodBoolean;
|
|
1282
|
+
presence: z.ZodOptional<z.ZodEnum<{
|
|
1283
|
+
absent: "absent";
|
|
1284
|
+
present: "present";
|
|
1285
|
+
unknown: "unknown";
|
|
1286
|
+
}>>;
|
|
1272
1287
|
enabled: z.ZodBoolean;
|
|
1273
1288
|
weight: z.ZodNumber;
|
|
1274
1289
|
maxSessions: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1286,6 +1301,19 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1286
1301
|
}>>;
|
|
1287
1302
|
}, z.core.$strip>>>;
|
|
1288
1303
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Delete ONE stored device entry of a node — the "forget" of a device the
|
|
1306
|
+
* node no longer has (D919). Refused unless the node's probe ANSWERED and
|
|
1307
|
+
* did not report the key: a present device is switched off, not forgotten,
|
|
1308
|
+
* and an unreachable node proves nothing about its hardware. The rest of
|
|
1309
|
+
* the node's map is kept as stored.
|
|
1310
|
+
*/
|
|
1311
|
+
readonly forgetInferenceDevice: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
1312
|
+
agentNodeId: z.ZodString;
|
|
1313
|
+
deviceKey: z.ZodString;
|
|
1314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1315
|
+
success: z.ZodLiteral<true>;
|
|
1316
|
+
}, z.core.$strip>, "mutation">;
|
|
1289
1317
|
/**
|
|
1290
1318
|
* Reset one node's pipeline to its hardware-aware defaults — the HONEST
|
|
1291
1319
|
* reset (replaces the executor's legacy `resetToDefault`, which cleared a
|
|
@@ -121,6 +121,43 @@ declare const HardwareDecodeAccelsSchema: z.ZodObject<{
|
|
|
121
121
|
probedAt: z.ZodNumber;
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
export type HardwareDecodeAccels = z.infer<typeof HardwareDecodeAccelsSchema>;
|
|
124
|
+
/**
|
|
125
|
+
* The answer of an accelerator rescan (D919): the node's device list after
|
|
126
|
+
* the re-probe, what changed, and the evidence that decided the Coral answer
|
|
127
|
+
* (`usbBus` — could the USB bus be read at all; `decidedBy` — USB ids, the PCI
|
|
128
|
+
* bus, the installed-delegate fallback, or nothing).
|
|
129
|
+
*/
|
|
130
|
+
declare const AcceleratorRescanSchema: z.ZodObject<{
|
|
131
|
+
devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
132
|
+
key: z.ZodString;
|
|
133
|
+
backend: z.ZodString;
|
|
134
|
+
device: z.ZodString;
|
|
135
|
+
format: z.ZodEnum<{
|
|
136
|
+
coreml: "coreml";
|
|
137
|
+
gguf: "gguf";
|
|
138
|
+
onnx: "onnx";
|
|
139
|
+
openvino: "openvino";
|
|
140
|
+
pt: "pt";
|
|
141
|
+
tflite: "tflite";
|
|
142
|
+
}>;
|
|
143
|
+
runtime: z.ZodLiteral<"python">;
|
|
144
|
+
score: z.ZodNumber;
|
|
145
|
+
available: z.ZodBoolean;
|
|
146
|
+
}, z.core.$strip>>>;
|
|
147
|
+
appeared: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
148
|
+
disappeared: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
149
|
+
usbBus: z.ZodEnum<{
|
|
150
|
+
observed: "observed";
|
|
151
|
+
unobservable: "unobservable";
|
|
152
|
+
}>;
|
|
153
|
+
decidedBy: z.ZodEnum<{
|
|
154
|
+
"delegate-fallback": "delegate-fallback";
|
|
155
|
+
none: "none";
|
|
156
|
+
pci: "pci";
|
|
157
|
+
"usb-ids": "usb-ids";
|
|
158
|
+
}>;
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
export type AcceleratorRescan = z.infer<typeof AcceleratorRescanSchema>;
|
|
124
161
|
export declare const platformProbeCapability: {
|
|
125
162
|
readonly name: 'platform-probe';
|
|
126
163
|
readonly scope: 'system';
|
|
@@ -336,6 +373,43 @@ export declare const platformProbeCapability: {
|
|
|
336
373
|
preferred: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
337
374
|
rationale: z.ZodString;
|
|
338
375
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
376
|
+
/**
|
|
377
|
+
* Re-probe this node's accelerators NOW (Coral USB ids + PCIe apex units;
|
|
378
|
+
* `/sys` and `/dev` reads, no model load) and rebuild the device list that
|
|
379
|
+
* `getCapabilities` serves. The same re-probe runs every 60 s on its own;
|
|
380
|
+
* this is the operator's "rescan inference devices". Target a node with the
|
|
381
|
+
* `{ nodeId }` routing input, like `getCapabilities`.
|
|
382
|
+
*/
|
|
383
|
+
readonly rescanAccelerators: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
384
|
+
devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
385
|
+
key: z.ZodString;
|
|
386
|
+
backend: z.ZodString;
|
|
387
|
+
device: z.ZodString;
|
|
388
|
+
format: z.ZodEnum<{
|
|
389
|
+
coreml: "coreml";
|
|
390
|
+
gguf: "gguf";
|
|
391
|
+
onnx: "onnx";
|
|
392
|
+
openvino: "openvino";
|
|
393
|
+
pt: "pt";
|
|
394
|
+
tflite: "tflite";
|
|
395
|
+
}>;
|
|
396
|
+
runtime: z.ZodLiteral<"python">;
|
|
397
|
+
score: z.ZodNumber;
|
|
398
|
+
available: z.ZodBoolean;
|
|
399
|
+
}, z.core.$strip>>>;
|
|
400
|
+
appeared: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
401
|
+
disappeared: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
402
|
+
usbBus: z.ZodEnum<{
|
|
403
|
+
observed: "observed";
|
|
404
|
+
unobservable: "unobservable";
|
|
405
|
+
}>;
|
|
406
|
+
decidedBy: z.ZodEnum<{
|
|
407
|
+
"delegate-fallback": "delegate-fallback";
|
|
408
|
+
none: "none";
|
|
409
|
+
pci: "pci";
|
|
410
|
+
"usb-ids": "usb-ids";
|
|
411
|
+
}>;
|
|
412
|
+
}, z.core.$strip>, "mutation">;
|
|
339
413
|
};
|
|
340
414
|
};
|
|
341
415
|
export type IPlatformProbeProvider = InferProvider<typeof platformProbeCapability>;
|