@camstack/types 1.2.586 → 1.2.587
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 +27 -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 +422 -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 +58 -5
- package/dist/client.mjs +58 -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-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 +5 -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 +92 -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 +1 -1
- 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 +7 -3
- package/dist/index.js +1979 -429
- package/dist/index.mjs +1923 -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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
2
|
-
import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-
|
|
1
|
+
import { t as EventCategory } from "./event-category-Hwx_JSCU.mjs";
|
|
2
|
+
import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-BBL71oUQ.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -7985,7 +7985,7 @@ var MODEL_FORMATS = [
|
|
|
7985
7985
|
//#region src/generated/cap-vocabulary.ts
|
|
7986
7986
|
/**
|
|
7987
7987
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7988
|
-
* `*.cap.ts` (D1050):
|
|
7988
|
+
* `*.cap.ts` (D1050): 211 caps (109 device, 102 system).
|
|
7989
7989
|
* Device caps in their declared picker order, then system caps by name.
|
|
7990
7990
|
*/
|
|
7991
7991
|
var CAP_VOCABULARY = {
|
|
@@ -8012,6 +8012,10 @@ var CAP_VOCABULARY = {
|
|
|
8012
8012
|
effect: {
|
|
8013
8013
|
field: "on",
|
|
8014
8014
|
value: true
|
|
8015
|
+
},
|
|
8016
|
+
offeredWhen: {
|
|
8017
|
+
method: "getOptions",
|
|
8018
|
+
field: "supportsSetState"
|
|
8015
8019
|
}
|
|
8016
8020
|
},
|
|
8017
8021
|
{
|
|
@@ -8030,6 +8034,10 @@ var CAP_VOCABULARY = {
|
|
|
8030
8034
|
effect: {
|
|
8031
8035
|
field: "on",
|
|
8032
8036
|
value: false
|
|
8037
|
+
},
|
|
8038
|
+
offeredWhen: {
|
|
8039
|
+
method: "getOptions",
|
|
8040
|
+
field: "supportsSetState"
|
|
8033
8041
|
}
|
|
8034
8042
|
},
|
|
8035
8043
|
{
|
|
@@ -8043,9 +8051,14 @@ var CAP_VOCABULARY = {
|
|
|
8043
8051
|
en: "Toggle {device}",
|
|
8044
8052
|
it: "Commuta {device}"
|
|
8045
8053
|
},
|
|
8046
|
-
icon: "toggle-right"
|
|
8054
|
+
icon: "toggle-right",
|
|
8055
|
+
offeredWhen: {
|
|
8056
|
+
method: "getOptions",
|
|
8057
|
+
field: "supportsSetState"
|
|
8058
|
+
}
|
|
8047
8059
|
}
|
|
8048
8060
|
],
|
|
8061
|
+
notOperatorFacing: { powerCycle: "a power cycle is the forced restart of the device the switch powers (power-source), never a step of its own" },
|
|
8049
8062
|
state: [{
|
|
8050
8063
|
kind: "boolean",
|
|
8051
8064
|
field: "on",
|
|
@@ -8304,6 +8317,47 @@ var CAP_VOCABULARY = {
|
|
|
8304
8317
|
"switch.off": { icon: "plug" }
|
|
8305
8318
|
},
|
|
8306
8319
|
state: { on: { icon: "plug-zap" } }
|
|
8320
|
+
},
|
|
8321
|
+
[DeviceRole.PoePort]: {
|
|
8322
|
+
actions: {
|
|
8323
|
+
"switch.on": {
|
|
8324
|
+
label: {
|
|
8325
|
+
en: "Power on",
|
|
8326
|
+
it: "Alimenta"
|
|
8327
|
+
},
|
|
8328
|
+
phrase: {
|
|
8329
|
+
en: "Power on {device}",
|
|
8330
|
+
it: "Alimenta {device}"
|
|
8331
|
+
},
|
|
8332
|
+
icon: "plug-zap"
|
|
8333
|
+
},
|
|
8334
|
+
"switch.off": {
|
|
8335
|
+
label: {
|
|
8336
|
+
en: "Power off",
|
|
8337
|
+
it: "Togli alimentazione"
|
|
8338
|
+
},
|
|
8339
|
+
phrase: {
|
|
8340
|
+
en: "Power off {device}",
|
|
8341
|
+
it: "Togli alimentazione a {device}"
|
|
8342
|
+
},
|
|
8343
|
+
icon: "unplug"
|
|
8344
|
+
}
|
|
8345
|
+
},
|
|
8346
|
+
state: { on: {
|
|
8347
|
+
label: {
|
|
8348
|
+
en: "Powered",
|
|
8349
|
+
it: "Alimentata"
|
|
8350
|
+
},
|
|
8351
|
+
whenTrue: {
|
|
8352
|
+
en: "When {device} is powered",
|
|
8353
|
+
it: "Quando {device} viene alimentata"
|
|
8354
|
+
},
|
|
8355
|
+
whenFalse: {
|
|
8356
|
+
en: "When {device} loses power",
|
|
8357
|
+
it: "Quando {device} perde l’alimentazione"
|
|
8358
|
+
},
|
|
8359
|
+
icon: "plug-zap"
|
|
8360
|
+
} }
|
|
8307
8361
|
}
|
|
8308
8362
|
}
|
|
8309
8363
|
}
|
|
@@ -9023,7 +9077,11 @@ var CAP_VOCABULARY = {
|
|
|
9023
9077
|
en: "Power on {device}",
|
|
9024
9078
|
it: "Dai corrente a {device}"
|
|
9025
9079
|
},
|
|
9026
|
-
icon: "power"
|
|
9080
|
+
icon: "power",
|
|
9081
|
+
offeredWhen: {
|
|
9082
|
+
method: "getStatus",
|
|
9083
|
+
field: "switchSettable"
|
|
9084
|
+
}
|
|
9027
9085
|
},
|
|
9028
9086
|
{
|
|
9029
9087
|
id: "powerSource.off",
|
|
@@ -9036,7 +9094,11 @@ var CAP_VOCABULARY = {
|
|
|
9036
9094
|
en: "Cut the power of {device}",
|
|
9037
9095
|
it: "Togli la corrente a {device}"
|
|
9038
9096
|
},
|
|
9039
|
-
icon: "power-off"
|
|
9097
|
+
icon: "power-off",
|
|
9098
|
+
offeredWhen: {
|
|
9099
|
+
method: "getStatus",
|
|
9100
|
+
field: "switchSettable"
|
|
9101
|
+
}
|
|
9040
9102
|
},
|
|
9041
9103
|
{
|
|
9042
9104
|
id: "powerSource.forceRestart",
|
|
@@ -10806,37 +10868,66 @@ var CAP_VOCABULARY = {
|
|
|
10806
10868
|
en: "Siren",
|
|
10807
10869
|
it: "Sirena"
|
|
10808
10870
|
},
|
|
10809
|
-
actions: [
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
10823
|
-
id: "siren.stop",
|
|
10824
|
-
method: "stop",
|
|
10825
|
-
label: {
|
|
10826
|
-
en: "Silence the siren",
|
|
10827
|
-
it: "Zittisci la sirena"
|
|
10871
|
+
actions: [
|
|
10872
|
+
{
|
|
10873
|
+
id: "siren.trigger",
|
|
10874
|
+
method: "trigger",
|
|
10875
|
+
label: {
|
|
10876
|
+
en: "Sound the siren",
|
|
10877
|
+
it: "Fai suonare la sirena"
|
|
10878
|
+
},
|
|
10879
|
+
phrase: {
|
|
10880
|
+
en: "Sound {device}",
|
|
10881
|
+
it: "Fai suonare {device}"
|
|
10882
|
+
},
|
|
10883
|
+
icon: "siren",
|
|
10884
|
+
args: {}
|
|
10828
10885
|
},
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10886
|
+
{
|
|
10887
|
+
id: "siren.triggerPlays",
|
|
10888
|
+
method: "trigger",
|
|
10889
|
+
label: {
|
|
10890
|
+
en: "Sound the siren N times",
|
|
10891
|
+
it: "Fai suonare la sirena N volte"
|
|
10892
|
+
},
|
|
10893
|
+
phrase: {
|
|
10894
|
+
en: "Sound {device} {plays} times",
|
|
10895
|
+
it: "Fai suonare {device} {plays} volte"
|
|
10896
|
+
},
|
|
10897
|
+
icon: "siren",
|
|
10898
|
+
openArgs: [{
|
|
10899
|
+
key: "plays",
|
|
10900
|
+
label: {
|
|
10901
|
+
en: "Plays",
|
|
10902
|
+
it: "Riproduzioni"
|
|
10903
|
+
},
|
|
10904
|
+
offer: {
|
|
10905
|
+
kind: "dynamic",
|
|
10906
|
+
from: "method",
|
|
10907
|
+
method: "getPlayChoices",
|
|
10908
|
+
valueKind: "number"
|
|
10909
|
+
}
|
|
10910
|
+
}]
|
|
10832
10911
|
},
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10912
|
+
{
|
|
10913
|
+
id: "siren.stop",
|
|
10914
|
+
method: "stop",
|
|
10915
|
+
label: {
|
|
10916
|
+
en: "Silence the siren",
|
|
10917
|
+
it: "Zittisci la sirena"
|
|
10918
|
+
},
|
|
10919
|
+
phrase: {
|
|
10920
|
+
en: "Silence {device}",
|
|
10921
|
+
it: "Zittisci {device}"
|
|
10922
|
+
},
|
|
10923
|
+
icon: "siren",
|
|
10924
|
+
args: {},
|
|
10925
|
+
effect: {
|
|
10926
|
+
field: "active",
|
|
10927
|
+
value: false
|
|
10928
|
+
}
|
|
10838
10929
|
}
|
|
10839
|
-
|
|
10930
|
+
],
|
|
10840
10931
|
state: [{
|
|
10841
10932
|
kind: "boolean",
|
|
10842
10933
|
field: "active",
|
|
@@ -13431,6 +13522,374 @@ var CAP_VOCABULARY = {
|
|
|
13431
13522
|
icon: "loader"
|
|
13432
13523
|
}]
|
|
13433
13524
|
},
|
|
13525
|
+
"workload": {
|
|
13526
|
+
scope: "device",
|
|
13527
|
+
noun: {
|
|
13528
|
+
en: "Workload",
|
|
13529
|
+
it: "Carico di lavoro"
|
|
13530
|
+
},
|
|
13531
|
+
actions: [
|
|
13532
|
+
{
|
|
13533
|
+
id: "workload.start",
|
|
13534
|
+
method: "start",
|
|
13535
|
+
label: {
|
|
13536
|
+
en: "Start",
|
|
13537
|
+
it: "Avvia"
|
|
13538
|
+
},
|
|
13539
|
+
phrase: {
|
|
13540
|
+
en: "Start {device}",
|
|
13541
|
+
it: "Avvia {device}"
|
|
13542
|
+
},
|
|
13543
|
+
icon: "play",
|
|
13544
|
+
effect: {
|
|
13545
|
+
field: "state",
|
|
13546
|
+
value: "running"
|
|
13547
|
+
}
|
|
13548
|
+
},
|
|
13549
|
+
{
|
|
13550
|
+
id: "workload.stop",
|
|
13551
|
+
method: "stop",
|
|
13552
|
+
label: {
|
|
13553
|
+
en: "Stop",
|
|
13554
|
+
it: "Arresta"
|
|
13555
|
+
},
|
|
13556
|
+
phrase: {
|
|
13557
|
+
en: "Stop {device}",
|
|
13558
|
+
it: "Arresta {device}"
|
|
13559
|
+
},
|
|
13560
|
+
icon: "square",
|
|
13561
|
+
effect: {
|
|
13562
|
+
field: "state",
|
|
13563
|
+
value: "stopped"
|
|
13564
|
+
}
|
|
13565
|
+
},
|
|
13566
|
+
{
|
|
13567
|
+
id: "workload.restart",
|
|
13568
|
+
method: "restart",
|
|
13569
|
+
label: {
|
|
13570
|
+
en: "Restart",
|
|
13571
|
+
it: "Riavvia"
|
|
13572
|
+
},
|
|
13573
|
+
phrase: {
|
|
13574
|
+
en: "Restart {device}",
|
|
13575
|
+
it: "Riavvia {device}"
|
|
13576
|
+
},
|
|
13577
|
+
icon: "rotate-ccw"
|
|
13578
|
+
},
|
|
13579
|
+
{
|
|
13580
|
+
id: "workload.pause",
|
|
13581
|
+
method: "pause",
|
|
13582
|
+
label: {
|
|
13583
|
+
en: "Pause",
|
|
13584
|
+
it: "Metti in pausa"
|
|
13585
|
+
},
|
|
13586
|
+
phrase: {
|
|
13587
|
+
en: "Pause {device}",
|
|
13588
|
+
it: "Metti in pausa {device}"
|
|
13589
|
+
},
|
|
13590
|
+
icon: "pause",
|
|
13591
|
+
effect: {
|
|
13592
|
+
field: "state",
|
|
13593
|
+
value: "paused"
|
|
13594
|
+
}
|
|
13595
|
+
},
|
|
13596
|
+
{
|
|
13597
|
+
id: "workload.resume",
|
|
13598
|
+
method: "resume",
|
|
13599
|
+
label: {
|
|
13600
|
+
en: "Resume",
|
|
13601
|
+
it: "Riprendi"
|
|
13602
|
+
},
|
|
13603
|
+
phrase: {
|
|
13604
|
+
en: "Resume {device}",
|
|
13605
|
+
it: "Riprendi {device}"
|
|
13606
|
+
},
|
|
13607
|
+
icon: "circle-play",
|
|
13608
|
+
effect: {
|
|
13609
|
+
field: "state",
|
|
13610
|
+
value: "running"
|
|
13611
|
+
}
|
|
13612
|
+
},
|
|
13613
|
+
{
|
|
13614
|
+
id: "workload.forceStop",
|
|
13615
|
+
method: "forceStop",
|
|
13616
|
+
label: {
|
|
13617
|
+
en: "Force stop",
|
|
13618
|
+
it: "Arresto forzato"
|
|
13619
|
+
},
|
|
13620
|
+
phrase: {
|
|
13621
|
+
en: "Force {device} to stop",
|
|
13622
|
+
it: "Forza l’arresto di {device}"
|
|
13623
|
+
},
|
|
13624
|
+
icon: "octagon-x",
|
|
13625
|
+
effect: {
|
|
13626
|
+
field: "state",
|
|
13627
|
+
value: "stopped"
|
|
13628
|
+
}
|
|
13629
|
+
}
|
|
13630
|
+
],
|
|
13631
|
+
state: [
|
|
13632
|
+
{
|
|
13633
|
+
kind: "enum",
|
|
13634
|
+
field: "state",
|
|
13635
|
+
label: {
|
|
13636
|
+
en: "State",
|
|
13637
|
+
it: "Stato"
|
|
13638
|
+
},
|
|
13639
|
+
values: [
|
|
13640
|
+
{
|
|
13641
|
+
value: "running",
|
|
13642
|
+
label: {
|
|
13643
|
+
en: "Running",
|
|
13644
|
+
it: "In esecuzione"
|
|
13645
|
+
},
|
|
13646
|
+
phrase: {
|
|
13647
|
+
en: "When {device} is running",
|
|
13648
|
+
it: "Quando {device} è in esecuzione"
|
|
13649
|
+
}
|
|
13650
|
+
},
|
|
13651
|
+
{
|
|
13652
|
+
value: "paused",
|
|
13653
|
+
label: {
|
|
13654
|
+
en: "Paused",
|
|
13655
|
+
it: "In pausa"
|
|
13656
|
+
}
|
|
13657
|
+
},
|
|
13658
|
+
{
|
|
13659
|
+
value: "stopped",
|
|
13660
|
+
label: {
|
|
13661
|
+
en: "Stopped",
|
|
13662
|
+
it: "Arrestato"
|
|
13663
|
+
},
|
|
13664
|
+
phrase: {
|
|
13665
|
+
en: "When {device} is stopped",
|
|
13666
|
+
it: "Quando {device} è arrestato"
|
|
13667
|
+
}
|
|
13668
|
+
},
|
|
13669
|
+
{
|
|
13670
|
+
value: "starting",
|
|
13671
|
+
label: {
|
|
13672
|
+
en: "Starting",
|
|
13673
|
+
it: "In avvio"
|
|
13674
|
+
}
|
|
13675
|
+
},
|
|
13676
|
+
{
|
|
13677
|
+
value: "stopping",
|
|
13678
|
+
label: {
|
|
13679
|
+
en: "Stopping",
|
|
13680
|
+
it: "In arresto"
|
|
13681
|
+
}
|
|
13682
|
+
},
|
|
13683
|
+
{
|
|
13684
|
+
value: "crashed",
|
|
13685
|
+
label: {
|
|
13686
|
+
en: "Crashed",
|
|
13687
|
+
it: "Arrestato in modo anomalo"
|
|
13688
|
+
},
|
|
13689
|
+
phrase: {
|
|
13690
|
+
en: "When {device} has crashed",
|
|
13691
|
+
it: "Quando {device} è arrestato in modo anomalo"
|
|
13692
|
+
}
|
|
13693
|
+
}
|
|
13694
|
+
],
|
|
13695
|
+
icon: "activity"
|
|
13696
|
+
},
|
|
13697
|
+
{
|
|
13698
|
+
kind: "numeric",
|
|
13699
|
+
field: "resources.cpuPercent",
|
|
13700
|
+
quantity: {
|
|
13701
|
+
en: "the CPU use",
|
|
13702
|
+
it: "l'uso della CPU"
|
|
13703
|
+
},
|
|
13704
|
+
label: {
|
|
13705
|
+
en: "CPU",
|
|
13706
|
+
it: "CPU"
|
|
13707
|
+
},
|
|
13708
|
+
unit: "%",
|
|
13709
|
+
icon: "cpu"
|
|
13710
|
+
},
|
|
13711
|
+
{
|
|
13712
|
+
kind: "numeric",
|
|
13713
|
+
field: "resources.memoryPercent",
|
|
13714
|
+
quantity: {
|
|
13715
|
+
en: "the memory use",
|
|
13716
|
+
it: "l'uso della memoria"
|
|
13717
|
+
},
|
|
13718
|
+
label: {
|
|
13719
|
+
en: "Memory",
|
|
13720
|
+
it: "Memoria"
|
|
13721
|
+
},
|
|
13722
|
+
unit: "%",
|
|
13723
|
+
icon: "memory-stick"
|
|
13724
|
+
},
|
|
13725
|
+
{
|
|
13726
|
+
kind: "numeric",
|
|
13727
|
+
field: "resources.temperature",
|
|
13728
|
+
quantity: {
|
|
13729
|
+
en: "the temperature",
|
|
13730
|
+
it: "la temperatura"
|
|
13731
|
+
},
|
|
13732
|
+
label: {
|
|
13733
|
+
en: "Temperature",
|
|
13734
|
+
it: "Temperatura"
|
|
13735
|
+
},
|
|
13736
|
+
unit: "°C",
|
|
13737
|
+
icon: "thermometer"
|
|
13738
|
+
}
|
|
13739
|
+
],
|
|
13740
|
+
events: {
|
|
13741
|
+
onStarted: {
|
|
13742
|
+
category: EventCategory.WorkloadStarted,
|
|
13743
|
+
label: {
|
|
13744
|
+
en: "Started",
|
|
13745
|
+
it: "Avviato"
|
|
13746
|
+
},
|
|
13747
|
+
phrase: {
|
|
13748
|
+
en: "When {device} starts",
|
|
13749
|
+
it: "Quando {device} si avvia"
|
|
13750
|
+
},
|
|
13751
|
+
icon: "play"
|
|
13752
|
+
},
|
|
13753
|
+
onStopped: {
|
|
13754
|
+
category: EventCategory.WorkloadStopped,
|
|
13755
|
+
label: {
|
|
13756
|
+
en: "Stopped",
|
|
13757
|
+
it: "Arrestato"
|
|
13758
|
+
},
|
|
13759
|
+
phrase: {
|
|
13760
|
+
en: "When {device} stops",
|
|
13761
|
+
it: "Quando {device} si arresta"
|
|
13762
|
+
},
|
|
13763
|
+
icon: "square"
|
|
13764
|
+
},
|
|
13765
|
+
onCrashed: {
|
|
13766
|
+
category: EventCategory.WorkloadCrashed,
|
|
13767
|
+
label: {
|
|
13768
|
+
en: "Crashed",
|
|
13769
|
+
it: "Arrestato in modo anomalo"
|
|
13770
|
+
},
|
|
13771
|
+
phrase: {
|
|
13772
|
+
en: "When {device} stops without being asked",
|
|
13773
|
+
it: "Quando {device} si arresta senza che sia stato richiesto"
|
|
13774
|
+
},
|
|
13775
|
+
icon: "triangle-alert"
|
|
13776
|
+
},
|
|
13777
|
+
onRecovered: {
|
|
13778
|
+
category: EventCategory.WorkloadRecovered,
|
|
13779
|
+
label: {
|
|
13780
|
+
en: "Recovered",
|
|
13781
|
+
it: "Ripristinato"
|
|
13782
|
+
},
|
|
13783
|
+
phrase: {
|
|
13784
|
+
en: "When {device} runs again after a crash",
|
|
13785
|
+
it: "Quando {device} riparte dopo un arresto anomalo"
|
|
13786
|
+
},
|
|
13787
|
+
icon: "heart-pulse"
|
|
13788
|
+
}
|
|
13789
|
+
},
|
|
13790
|
+
overrides: { byRole: {
|
|
13791
|
+
[DeviceRole.Vm]: {
|
|
13792
|
+
actions: { "workload.start": { icon: "monitor" } },
|
|
13793
|
+
state: { state: { icon: "monitor" } }
|
|
13794
|
+
},
|
|
13795
|
+
[DeviceRole.AppContainer]: {
|
|
13796
|
+
actions: { "workload.start": { icon: "container" } },
|
|
13797
|
+
state: { state: { icon: "container" } }
|
|
13798
|
+
},
|
|
13799
|
+
[DeviceRole.Lxc]: {
|
|
13800
|
+
actions: { "workload.start": { icon: "box" } },
|
|
13801
|
+
state: { state: { icon: "box" } }
|
|
13802
|
+
},
|
|
13803
|
+
[DeviceRole.App]: {
|
|
13804
|
+
actions: { "workload.start": { icon: "app-window" } },
|
|
13805
|
+
state: { state: { icon: "app-window" } }
|
|
13806
|
+
},
|
|
13807
|
+
[DeviceRole.Host]: {
|
|
13808
|
+
actions: {
|
|
13809
|
+
"workload.start": {
|
|
13810
|
+
label: {
|
|
13811
|
+
en: "Power on",
|
|
13812
|
+
it: "Accendi"
|
|
13813
|
+
},
|
|
13814
|
+
phrase: {
|
|
13815
|
+
en: "Power on {device}",
|
|
13816
|
+
it: "Accendi {device}"
|
|
13817
|
+
},
|
|
13818
|
+
icon: "power"
|
|
13819
|
+
},
|
|
13820
|
+
"workload.stop": {
|
|
13821
|
+
label: {
|
|
13822
|
+
en: "Shut down",
|
|
13823
|
+
it: "Spegni"
|
|
13824
|
+
},
|
|
13825
|
+
phrase: {
|
|
13826
|
+
en: "Shut down {device}",
|
|
13827
|
+
it: "Spegni {device}"
|
|
13828
|
+
},
|
|
13829
|
+
icon: "power-off"
|
|
13830
|
+
},
|
|
13831
|
+
"workload.restart": {
|
|
13832
|
+
label: {
|
|
13833
|
+
en: "Reboot",
|
|
13834
|
+
it: "Riavvia"
|
|
13835
|
+
},
|
|
13836
|
+
phrase: {
|
|
13837
|
+
en: "Reboot {device}",
|
|
13838
|
+
it: "Riavvia {device}"
|
|
13839
|
+
},
|
|
13840
|
+
icon: "refresh-cw"
|
|
13841
|
+
}
|
|
13842
|
+
},
|
|
13843
|
+
state: { state: { icon: "server" } },
|
|
13844
|
+
events: {
|
|
13845
|
+
onStarted: {
|
|
13846
|
+
label: {
|
|
13847
|
+
en: "Came online",
|
|
13848
|
+
it: "Tornato in linea"
|
|
13849
|
+
},
|
|
13850
|
+
phrase: {
|
|
13851
|
+
en: "When {device} comes online",
|
|
13852
|
+
it: "Quando {device} torna in linea"
|
|
13853
|
+
},
|
|
13854
|
+
icon: "server"
|
|
13855
|
+
},
|
|
13856
|
+
onStopped: {
|
|
13857
|
+
label: {
|
|
13858
|
+
en: "Shut down",
|
|
13859
|
+
it: "Spento"
|
|
13860
|
+
},
|
|
13861
|
+
phrase: {
|
|
13862
|
+
en: "When {device} shuts down",
|
|
13863
|
+
it: "Quando {device} si spegne"
|
|
13864
|
+
},
|
|
13865
|
+
icon: "server-off"
|
|
13866
|
+
},
|
|
13867
|
+
onCrashed: {
|
|
13868
|
+
label: {
|
|
13869
|
+
en: "Went down",
|
|
13870
|
+
it: "Caduto"
|
|
13871
|
+
},
|
|
13872
|
+
phrase: {
|
|
13873
|
+
en: "When {device} goes down unexpectedly",
|
|
13874
|
+
it: "Quando {device} cade inaspettatamente"
|
|
13875
|
+
},
|
|
13876
|
+
icon: "server-crash"
|
|
13877
|
+
},
|
|
13878
|
+
onRecovered: {
|
|
13879
|
+
label: {
|
|
13880
|
+
en: "Came online",
|
|
13881
|
+
it: "Tornato in linea"
|
|
13882
|
+
},
|
|
13883
|
+
phrase: {
|
|
13884
|
+
en: "When {device} comes back online after going down",
|
|
13885
|
+
it: "Quando {device} torna in linea dopo essere caduto"
|
|
13886
|
+
},
|
|
13887
|
+
icon: "server"
|
|
13888
|
+
}
|
|
13889
|
+
}
|
|
13890
|
+
}
|
|
13891
|
+
} }
|
|
13892
|
+
},
|
|
13434
13893
|
"accessories": {
|
|
13435
13894
|
scope: "device",
|
|
13436
13895
|
noun: {
|
|
@@ -17342,6 +17801,26 @@ var PipelineStepInputSchema = z.lazy(() => z.object({
|
|
|
17342
17801
|
/** Typed bridge to the recursive `FrameResult` graph; validation is structural. */
|
|
17343
17802
|
var PipelineRunResultBridge = z.custom();
|
|
17344
17803
|
//#endregion
|
|
17804
|
+
//#region src/capabilities/switch-settable.ts
|
|
17805
|
+
/**
|
|
17806
|
+
* Whether a switch can be set (D1058), schema-free so the addon runner can import it from
|
|
17807
|
+
* `@camstack/types/addon` without loading the capability schema graph (D28).
|
|
17808
|
+
*/
|
|
17809
|
+
/** The read that decides whether a switch is offered on/off (`offeredWhen` of its actions). */
|
|
17810
|
+
var SWITCH_SETTABLE_GATE = {
|
|
17811
|
+
method: "getOptions",
|
|
17812
|
+
field: "supportsSetState"
|
|
17813
|
+
};
|
|
17814
|
+
/**
|
|
17815
|
+
* The predicate the on/off surfaces apply to a raw answer: true only when `answer` — what the switch's
|
|
17816
|
+
* `getOptions` returned — says `supportsSetState: false`. `undefined` (no provider method, a
|
|
17817
|
+
* failed or pending read) and any other shape are false: unknown keeps on/off (D315).
|
|
17818
|
+
*/
|
|
17819
|
+
function switchRefusesSetState(answer) {
|
|
17820
|
+
if (typeof answer !== "object" || answer === null) return false;
|
|
17821
|
+
return Reflect.get(answer, SWITCH_SETTABLE_GATE.field) === false;
|
|
17822
|
+
}
|
|
17823
|
+
//#endregion
|
|
17345
17824
|
//#region src/capabilities/viewer-ui.cap.ts
|
|
17346
17825
|
var StaticDirOutputSchema = z.object({ staticDir: z.string() });
|
|
17347
17826
|
var VersionOutputSchema = z.object({ version: z.string() });
|
|
@@ -17550,6 +18029,40 @@ function withoutCallerStamp(input) {
|
|
|
17550
18029
|
return Object.fromEntries(Object.entries(input).filter(([key]) => key !== "callerAddonId"));
|
|
17551
18030
|
}
|
|
17552
18031
|
//#endregion
|
|
18032
|
+
//#region src/capabilities/cap-method-absent.ts
|
|
18033
|
+
/**
|
|
18034
|
+
* Whether a failed cap call means the provider does not HAVE the method — an
|
|
18035
|
+
* optional method it never wrote, or a hub that predates it — rather than a
|
|
18036
|
+
* read that failed. A missing method is an answer ("not supported"); a failed
|
|
18037
|
+
* read is not, and only the second deserves a warning.
|
|
18038
|
+
*/
|
|
18039
|
+
/**
|
|
18040
|
+
* Prefix the hub matches to turn a child-side "declared optional, not served"
|
|
18041
|
+
* into a `NOT_IMPLEMENTED`. A prefix rather than an error subclass because the
|
|
18042
|
+
* error crosses a UDS boundary as a plain message.
|
|
18043
|
+
*/
|
|
18044
|
+
var CAP_METHOD_NOT_IMPLEMENTED = "CAP_METHOD_NOT_IMPLEMENTED";
|
|
18045
|
+
/** tRPC's own answer for a path the hub does not mount (a hub that predates the method). */
|
|
18046
|
+
var UNKNOWN_PROCEDURE = "No procedure found on path";
|
|
18047
|
+
/** `device-call-redirect` / `device-collection-dispatch`: a provider that lacks the method. */
|
|
18048
|
+
var PROVIDER_LACKS_METHOD = "does not implement";
|
|
18049
|
+
/**
|
|
18050
|
+
* The typed code first: the hub cap router's `NOT_IMPLEMENTED` on `data.code`.
|
|
18051
|
+
* A forked provider's refusal crosses the UDS hop as a plain message, so it is
|
|
18052
|
+
* matched by the dispatcher's prefix (`CAP_METHOD_NOT_IMPLEMENTED`); the last
|
|
18053
|
+
* two are the routing layer's own wording.
|
|
18054
|
+
*/
|
|
18055
|
+
function isCapMethodAbsent(err) {
|
|
18056
|
+
const data = typeof err === "object" && err !== null ? Reflect.get(err, "data") : void 0;
|
|
18057
|
+
if ((typeof data === "object" && data !== null ? Reflect.get(data, "code") : void 0) === "NOT_IMPLEMENTED") return true;
|
|
18058
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
18059
|
+
return [
|
|
18060
|
+
CAP_METHOD_NOT_IMPLEMENTED,
|
|
18061
|
+
UNKNOWN_PROCEDURE,
|
|
18062
|
+
PROVIDER_LACKS_METHOD
|
|
18063
|
+
].some((marker) => message.includes(marker));
|
|
18064
|
+
}
|
|
18065
|
+
//#endregion
|
|
17553
18066
|
//#region src/generated/addon-cap-facts.ts
|
|
17554
18067
|
/** cap name -> the numeric state field whose strict advance IS the cap's one-shot event. */
|
|
17555
18068
|
var CAP_ADVANCE_FIELDS = Object.freeze({ "doorbell": "lastPressedAt" });
|
|
@@ -17762,6 +18275,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17762
18275
|
"weather",
|
|
17763
18276
|
"weather-station",
|
|
17764
18277
|
"webrtc-session",
|
|
18278
|
+
"workload",
|
|
17765
18279
|
"zone-analytics",
|
|
17766
18280
|
"zone-rules",
|
|
17767
18281
|
"zones"
|
|
@@ -19065,6 +19579,14 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19065
19579
|
"path": "ssid",
|
|
19066
19580
|
"valueType": "string"
|
|
19067
19581
|
},
|
|
19582
|
+
{
|
|
19583
|
+
"path": "speedKbps",
|
|
19584
|
+
"valueType": "number"
|
|
19585
|
+
},
|
|
19586
|
+
{
|
|
19587
|
+
"path": "linkUp",
|
|
19588
|
+
"valueType": "boolean"
|
|
19589
|
+
},
|
|
19068
19590
|
{
|
|
19069
19591
|
"path": "lastUpdated",
|
|
19070
19592
|
"valueType": "number"
|
|
@@ -19461,6 +19983,14 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19461
19983
|
"path": "durationSeconds",
|
|
19462
19984
|
"valueType": "number"
|
|
19463
19985
|
},
|
|
19986
|
+
{
|
|
19987
|
+
"path": "plays",
|
|
19988
|
+
"valueType": "number"
|
|
19989
|
+
},
|
|
19990
|
+
{
|
|
19991
|
+
"path": "activeUntilEstimated",
|
|
19992
|
+
"valueType": "boolean"
|
|
19993
|
+
},
|
|
19464
19994
|
{
|
|
19465
19995
|
"path": "lastTriggeredAt",
|
|
19466
19996
|
"valueType": "number"
|
|
@@ -19863,6 +20393,92 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19863
20393
|
"valueType": "number"
|
|
19864
20394
|
}
|
|
19865
20395
|
],
|
|
20396
|
+
"workload": [
|
|
20397
|
+
{
|
|
20398
|
+
"path": "state",
|
|
20399
|
+
"valueType": "enum",
|
|
20400
|
+
"enumValues": [
|
|
20401
|
+
"running",
|
|
20402
|
+
"paused",
|
|
20403
|
+
"stopped",
|
|
20404
|
+
"starting",
|
|
20405
|
+
"stopping",
|
|
20406
|
+
"crashed"
|
|
20407
|
+
]
|
|
20408
|
+
},
|
|
20409
|
+
{
|
|
20410
|
+
"path": "since",
|
|
20411
|
+
"valueType": "number"
|
|
20412
|
+
},
|
|
20413
|
+
{
|
|
20414
|
+
"path": "hostDeviceId",
|
|
20415
|
+
"valueType": "number"
|
|
20416
|
+
},
|
|
20417
|
+
{
|
|
20418
|
+
"path": "image",
|
|
20419
|
+
"valueType": "string"
|
|
20420
|
+
},
|
|
20421
|
+
{
|
|
20422
|
+
"path": "os",
|
|
20423
|
+
"valueType": "string"
|
|
20424
|
+
},
|
|
20425
|
+
{
|
|
20426
|
+
"path": "version",
|
|
20427
|
+
"valueType": "string"
|
|
20428
|
+
},
|
|
20429
|
+
{
|
|
20430
|
+
"path": "autostart",
|
|
20431
|
+
"valueType": "boolean"
|
|
20432
|
+
},
|
|
20433
|
+
{
|
|
20434
|
+
"path": "resources.cpuPercent",
|
|
20435
|
+
"valueType": "number"
|
|
20436
|
+
},
|
|
20437
|
+
{
|
|
20438
|
+
"path": "resources.memoryUsedBytes",
|
|
20439
|
+
"valueType": "number"
|
|
20440
|
+
},
|
|
20441
|
+
{
|
|
20442
|
+
"path": "resources.memoryPercent",
|
|
20443
|
+
"valueType": "number"
|
|
20444
|
+
},
|
|
20445
|
+
{
|
|
20446
|
+
"path": "resources.memoryLimitBytes",
|
|
20447
|
+
"valueType": "number"
|
|
20448
|
+
},
|
|
20449
|
+
{
|
|
20450
|
+
"path": "resources.vcpus",
|
|
20451
|
+
"valueType": "number"
|
|
20452
|
+
},
|
|
20453
|
+
{
|
|
20454
|
+
"path": "resources.diskUsedBytes",
|
|
20455
|
+
"valueType": "number"
|
|
20456
|
+
},
|
|
20457
|
+
{
|
|
20458
|
+
"path": "resources.diskTotalBytes",
|
|
20459
|
+
"valueType": "number"
|
|
20460
|
+
},
|
|
20461
|
+
{
|
|
20462
|
+
"path": "resources.netRxKbps",
|
|
20463
|
+
"valueType": "number"
|
|
20464
|
+
},
|
|
20465
|
+
{
|
|
20466
|
+
"path": "resources.netTxKbps",
|
|
20467
|
+
"valueType": "number"
|
|
20468
|
+
},
|
|
20469
|
+
{
|
|
20470
|
+
"path": "resources.load1",
|
|
20471
|
+
"valueType": "number"
|
|
20472
|
+
},
|
|
20473
|
+
{
|
|
20474
|
+
"path": "resources.temperature",
|
|
20475
|
+
"valueType": "number"
|
|
20476
|
+
},
|
|
20477
|
+
{
|
|
20478
|
+
"path": "updateAvailable",
|
|
20479
|
+
"valueType": "boolean"
|
|
20480
|
+
}
|
|
20481
|
+
],
|
|
19866
20482
|
"zone-analytics": [
|
|
19867
20483
|
{
|
|
19868
20484
|
"path": "ts",
|
|
@@ -20903,6 +21519,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20903
21519
|
};
|
|
20904
21520
|
const sirenInterface = {
|
|
20905
21521
|
getOptions: (input, options) => dispatch("siren", "siren", "getOptions", "query", input, void 0, options),
|
|
21522
|
+
getPlayChoices: (input, options) => dispatch("siren", "siren", "getPlayChoices", "query", input, void 0, options),
|
|
20906
21523
|
trigger: (input, options) => dispatch("siren", "siren", "trigger", "mutation", input, void 0, options),
|
|
20907
21524
|
stop: (input, options) => dispatch("siren", "siren", "stop", "mutation", input, void 0, options),
|
|
20908
21525
|
getStatus: (input, options) => dispatch("siren", "siren", "getStatus", "query", input, void 0, options)
|
|
@@ -20929,6 +21546,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20929
21546
|
const streamSignalsInterface = { listSignals: (input, options) => dispatch("stream-signals", "streamSignals", "listSignals", "query", input, void 0, options) };
|
|
20930
21547
|
const switchInterface = {
|
|
20931
21548
|
setState: (input, options) => dispatch("switch", "switch", "setState", "mutation", input, void 0, options),
|
|
21549
|
+
getOptions: (input, options) => dispatch("switch", "switch", "getOptions", "query", input, void 0, options),
|
|
21550
|
+
powerCycle: (input, options) => dispatch("switch", "switch", "powerCycle", "mutation", input, void 0, options),
|
|
20932
21551
|
toggle: (input, options) => dispatch("switch", "switch", "toggle", "mutation", input, void 0, options),
|
|
20933
21552
|
getStatus: (input, options) => dispatch("switch", "switch", "getStatus", "query", input, void 0, options)
|
|
20934
21553
|
};
|
|
@@ -20992,6 +21611,16 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20992
21611
|
applyDownlinkProbe: (input, options) => dispatch("webrtc-session", "webrtcSession", "applyDownlinkProbe", "mutation", input, void 0, options),
|
|
20993
21612
|
getSessionDebug: (input, options) => dispatch("webrtc-session", "webrtcSession", "getSessionDebug", "query", input, void 0, options)
|
|
20994
21613
|
};
|
|
21614
|
+
const workloadInterface = {
|
|
21615
|
+
start: (input, options) => dispatch("workload", "workload", "start", "mutation", input, void 0, options),
|
|
21616
|
+
stop: (input, options) => dispatch("workload", "workload", "stop", "mutation", input, void 0, options),
|
|
21617
|
+
restart: (input, options) => dispatch("workload", "workload", "restart", "mutation", input, void 0, options),
|
|
21618
|
+
pause: (input, options) => dispatch("workload", "workload", "pause", "mutation", input, void 0, options),
|
|
21619
|
+
resume: (input, options) => dispatch("workload", "workload", "resume", "mutation", input, void 0, options),
|
|
21620
|
+
forceStop: (input, options) => dispatch("workload", "workload", "forceStop", "mutation", input, void 0, options),
|
|
21621
|
+
getOptions: (input, options) => dispatch("workload", "workload", "getOptions", "query", input, void 0, options),
|
|
21622
|
+
getStatus: (input, options) => dispatch("workload", "workload", "getStatus", "query", input, void 0, options)
|
|
21623
|
+
};
|
|
20995
21624
|
const zoneAnalyticsInterface = {
|
|
20996
21625
|
getCurrentSnapshot: (input, options) => dispatch("zone-analytics", "zoneAnalytics", "getCurrentSnapshot", "query", input, void 0, options),
|
|
20997
21626
|
getCurrentSnapshotBatch: (input, options) => dispatch("zone-analytics", "zoneAnalytics", "getCurrentSnapshotBatch", "query", input, void 0, options),
|
|
@@ -21053,6 +21682,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
21053
21682
|
setRole: (input, options) => dispatchSystem("deviceManager", "setRole", "mutation", input, void 0, options),
|
|
21054
21683
|
applyInitialMeta: (input, options) => dispatchSystem("deviceManager", "applyInitialMeta", "mutation", input, void 0, options),
|
|
21055
21684
|
setMetadata: (input, options) => dispatchSystem("deviceManager", "setMetadata", "mutation", input, void 0, options),
|
|
21685
|
+
setIdentifiers: (input, options) => dispatchSystem("deviceManager", "setIdentifiers", "mutation", input, void 0, options),
|
|
21056
21686
|
setDisabled: (input, options) => dispatchSystem("deviceManager", "setDisabled", "mutation", input, void 0, options),
|
|
21057
21687
|
getDevice: (input, options) => dispatchSystem("deviceManager", "getDevice", "query", input, void 0, options),
|
|
21058
21688
|
getLinkedDevices: (input, options) => dispatchSystem("deviceManager", "getLinkedDevices", "query", input, void 0, options),
|
|
@@ -21266,6 +21896,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
21266
21896
|
waterHeater: createSliceHandle(stateSource, binding.deviceId, "water-heater"),
|
|
21267
21897
|
weather: createSliceHandle(stateSource, binding.deviceId, "weather"),
|
|
21268
21898
|
weatherStation: createSliceHandle(stateSource, binding.deviceId, "weather-station"),
|
|
21899
|
+
workload: createSliceHandle(stateSource, binding.deviceId, "workload"),
|
|
21269
21900
|
zoneAnalytics: createSliceHandle(stateSource, binding.deviceId, "zone-analytics"),
|
|
21270
21901
|
zoneRules: createSliceHandle(stateSource, binding.deviceId, "zone-rules"),
|
|
21271
21902
|
zones: createSliceHandle(stateSource, binding.deviceId, "zones")
|
|
@@ -21375,6 +22006,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
21375
22006
|
...bound("weather") ? { weather: weatherInterface } : {},
|
|
21376
22007
|
...bound("weather-station") ? { weatherStation: weatherStationInterface } : {},
|
|
21377
22008
|
...bound("webrtc-session") ? { webrtcSession: webrtcSessionInterface } : {},
|
|
22009
|
+
...bound("workload") ? { workload: workloadInterface } : {},
|
|
21378
22010
|
...bound("zone-analytics") ? { zoneAnalytics: zoneAnalyticsInterface } : {},
|
|
21379
22011
|
...bound("zone-rules") ? { zoneRules: zoneRulesInterface } : {},
|
|
21380
22012
|
...bound("zones") ? { zones: zonesInterface } : {},
|
|
@@ -21409,7 +22041,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
21409
22041
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
21410
22042
|
* (~144MB RSS per runner, D28).
|
|
21411
22043
|
*
|
|
21412
|
-
* Coverage:
|
|
22044
|
+
* Coverage: 109 device-scoped capabilities.
|
|
21413
22045
|
*/
|
|
21414
22046
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
21415
22047
|
"accessories",
|
|
@@ -21517,6 +22149,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
21517
22149
|
"weather",
|
|
21518
22150
|
"weather-station",
|
|
21519
22151
|
"webrtc-session",
|
|
22152
|
+
"workload",
|
|
21520
22153
|
"zone-analytics",
|
|
21521
22154
|
"zone-rules",
|
|
21522
22155
|
"zones"
|
|
@@ -21765,4 +22398,4 @@ function sleepCancellable(ms, signal) {
|
|
|
21765
22398
|
});
|
|
21766
22399
|
}
|
|
21767
22400
|
//#endregion
|
|
21768
|
-
export {
|
|
22401
|
+
export { PipelineStepInputSchema as $, recordsOverMigrationApi as $i, StoredRecordKindDeclarationSchema as $n, REMOVE_LEAF as $r, parseProfileBrokerId as $t, CAP_ADVANCE_FIELDS as A, omitTransientConfig as Aa, linksOfKind as Ai, clearKnownSecrets as An, normalizeAddonInitResult as Ar, createDebugEmitter as At, describeCustomActions as B, RecordNotFoundError as Bi, PeerBytesTicketSchema as Bn, SCOPED_SETTINGS_SCOPES as Br, CamStreamResolutionSchema as Bt, auditedFields as C, makeSecretMarker as Ca, buildSecretRef as Ci, makeInMemoryRecords as Cn, FORBIDDEN_MESSAGE_PREFIX as Cr, DEBUG_CHANNEL_PREFIX as Ct, HF_BASE_URL as D, collectSecretConfigKeys as Da, normalizeSecretOwner as Di, REVALIDATE_AFTER_MS as Dn, BaseAddon as Dr, DebugInterest as Dt, DEFAULT_TOKEN_EXPIRY as E, collectKeychainStoredKeys as Ea, isSecretRef as Ei, resolveSecretViewsIn as En, userError as Er, DEBUG_WATCH_WINDOW_MS as Et, isCapMethodAbsent as F, audioChunkBytesPerSample as Fa, ForeignSecretMarkerError as Fi, shortSecretRefHash as Fn, KeychainWriteRefusedError as Fr, BrokerStatsSchema as Ft, nodePin as G, RevConflictError as Gi, defineEntryKind as Gn, createDurableState as Gr, ProfileSlotSchema as Gt, CAP_COMMAND_ORIGIN_CONTEXT_KEY as H, RecordTooLargeError as Hi, DATAPLANE_SECRET_HEADER as Hn, resolveDeviceSettings as Hr, DecodedAudioChunkSchema as Ht, CALLER_STAMPED_CAPABILITIES as I, expandAudioChunkToF32le as Ia, InvalidRecordError as Ii, PEER_BYTES_CHUNK_BYTES as In, collectSecretMarkerRefs as Ir, BrokerStatusSchema as It, toNodeId as J, UnknownRecordKindError as Ji, RecordFieldPathSchema as Jn, registrySwitchToBodyId as Jr, StreamSourceSchema as Jt, readCommandOrigin as K, TransactRefusedError as Ki, entryBody as Kn, moveRegistrySwitchToBody as Kr, ProfileSlotStatusSchema as Kt, withoutCallerStamp as L, isAudioChunkFormat as La, NoCallerError as Li, PEER_BYTES_MAX_OUTSTANDING as Ln, isSecretRefOwnedBy as Lr, CAM_PROFILE_ORDER as Lt, CAP_NAMES as M, AddonMigrationsBlockedError as Ma, BatchTooLargeError as Mi, knownSecretCount as Mn, parseSecretStatePath as Mr, isDebugChannelName as Mt, CAP_STATE_LEAVES as N, findMigrationsBlocked as Na, DeclarationRefusedError as Ni, registerKnownSecret as Nn, secretTreeFromPaths as Nr, AudioChunkFormatSchema as Nt, HF_REPO as O, isKeychainStoredField as Oa, parseSecretRef as Oi, createSecretsAccess as On, classifyStoreError as Or, DebugWatchTable as Ot, CAP_METHOD_NOT_IMPLEMENTED as P, AUDIO_CHUNK_FORMATS as Pa, FilterRequiredError as Pi, scrubKnownSecrets as Pn, secretTreeFromSchema as Pr, AudioStreamPickSchema as Pt, PipelineRunResultBridge as Q, integrationRowsApiOver as Qi, RecordRetentionSchema as Qn, secretViewsOf as Qr, makeSourceBrokerId as Qt, customAction as R, PlaintextSecretError as Ri, PEER_BYTES_STALL_MS as Rn, resolveSecretMarkers as Rr, CamProfileSchema as Rt, createSliceHandle as S, isSecretMarkerLike as Sa, arrayItemFieldPath as Si, ruleFireOfClaim as Sn, ErrorI18nPayloadSchema as Sr, scopeKey as St, isCommand as T, REDACTED_SECRET as Ta, globalSecretScope as Ti, assertTransactScope as Tn, readErrorI18n as Tr, DEBUG_WATCH_REARM_EVERY_MS as Tt, CAP_NODE_PIN_CONTEXT_KEY as U, RecordUniqueViolationError as Ui, SHARE_VIEW_KINDS as Un, resolvedValues as Ur, FrameHandleSchema as Ut, deviceCustomAction as V, RecordSecretUnavailableError as Vi, CALLER_USERNAME_HEADER as Vn, nodeIdOfScopedKey as Vr, CameraStreamSchema as Vt, commandOrigin as W, RecordsError as Wi, DisposerChain as Wn, normalizeNodeId as Wr, ProfileRtspEntrySchema as Wt, SWITCH_SETTABLE_GATE as X, recordsErrorFromMessage as Xi, RecordKindDeclarationSchema as Xn, RecordIntegrationInstances as Xr, SubscribeAudioChunksResultSchema as Xt, viewerUiCapability as Y, asRecordsError as Yi, RecordIndexSchema as Yn, registrySwitchToBodyMigration as Yr, SubscribeAudioChunksInputSchema as Yt, switchRefusesSetState as Z, defaultIntegrationDepsOver as Zi, RecordKindNameSchema as Zn, isInstanceEnabled as Zr, makeProfileBrokerId as Zt, invokeTrpcLeaf as _, SECRET_CLEAR as _a, RECORD_QUERY_MAX as _i, TransitionValueSchema as _n, optionalMethod as _r, MODEL_FORMATS as _t, asJsonArray as a, runAddonMigrations as aa, recordSecretRef as ai, baseUnitOf as an, isZodSecret as ar, AddonPageDeclarationSchema as at, createLazyTrpcSource as b, isSecretFieldView as ba, RECORD_SWEEP_INTERVAL_MS as bi, OnBehalfSourceSchema as bn, CamstackError as br, emitDownForOwnedCaps as bt, asString as c, isEvent as ca, RECORD_BATCH_MAX_BYTES as ci, isReadingQuantity as cn, DEVICE_STATUS_METHOD as cr, VocabActionError as ct, parseJsonUnknown as d, collectHydratedFieldEntries as da, RECORD_DEFAULT_MAX_DATA_BYTES as di, DeviceCommandSettledEventSchema as dn, PROVIDER_PIN_FIELD as dr, assertDeviceOffers as dt, rowsDepsOver as ea, collectSecretLeaves as ei, selectAssignedProfileSlots as en, assertValidDeclaration as er, MIGRATION_API_VERSION as et, hfModelUrl as f, collectHydratedFieldValues as fa, RECORD_DELETE_BATCH as fi, DeviceTransitionSchema as fn, event as fr, findVocabAction as ft, createDeviceProxy as g, resolveHydratedFieldValue as ga, RECORD_MAX_INDEX_FIELDS as gi, TransitionOutcomeSchema as gn, method as gr, CAP_VOCABULARY as gt, isDeviceScopedCap as h, hydrateSchema as ha, RECORD_MAX_INDEXES as hi, TransitionCommandSchema as hn, isDeviceConfigCap as hr, CAP_VOCABULARY_BY_NAME as ht, asBoolean as i, defineAddonMigrations as ia, recordSecretCollection as ii, ReadingQuantitySchema as in, collectZodSecretPaths as ir, adminUiCapability as it, CAP_METHOD_TIMEOUTS_MS as j, schemaDeclaresAnyField as ja, optionalLinkField as ji, forgetKnownSecret as jn, mergeSecretStatePaths as jr, getDebugInterest as jt, RUNTIME_DEFAULTS as k, isSecretConfigField as ka, linkField as ki, MIN_SCRUBBED_LENGTH as kn, migrationSet as kr, __resetDebugInterestForTests as kt, parseJsonArray as l, WELL_KNOWN_TABS as la, RECORD_CLASSES as li, readingMeta as ln, HISTORY_DEFAULT_MIN_INTERVAL_MS as lr, actionEffect as lt, DEVICE_SCOPED_CAPS as m, dehydrateSchema as ma, RECORD_MAX_DATA_BYTES as mi, TransitionActorSchema as mn, historyItemFieldPath as mr, vocabCall as mt, sleepCancellable as n, switchRecordsOverMigrationApi as na, parseSecretPath as ni, DISPLAY_PREFERENCES as nn, defineRecordKinds as nr, deviceOpsCapability as nt, asJsonObject as o, createEvent as oa, secretArrayPrefixes as oi, displayUnitFor as on, DEFAULT_RUNTIME_STATE_DURABILITY as or, addonPagesSourceCapability as ot, BOOT_RECOVERY_BACKOFF_MS as p, dehydrateConfigField as pa, RECORD_ID_MAX_LENGTH as pi, TransitionActorKindSchema as pn, expandCapMethods as pr, vocabActionIdFor as pt, readNodePin as q, UnindexedFilterError as qi, EntryDescriptorSchema as qn, registrySwitchPortsOver as qr, StreamSourceEntrySchema$1 as qt, maskUrlCredentials as r, AddonMigrationDefinitionError as ra, recordArrayItemPath as ri, QUANTITY_BASE as rn, SECRET_META as rr, DEVICE_CHILDREN_BATCH_MAX as rt, asNumber as s, emitReadiness as sa, RECORD_BATCH_MAX as si, historyUnitFor as sn, DEVICE_SETTINGS_CONTRIBUTION_METHODS as sr, t as st, sleep as t, secretsOverMigrationApi as ta, mapSecretLeaves as ti, DEFAULT_DISPLAY_PREFERENCE as tn, declarationsOf as tr, RawStateResultSchema as tt, parseJsonObject as u, WELL_KNOWN_TAB_MAP as ua, RECORD_DATABASES as ui, NOT_A_DEVICE as un, HISTORY_UNIT_LABELS as ur, allVocabActions as ut, addonSliceHandleApi as v, classifySecretWrite as va, RECORD_SECRET_COLLECTION_PREFIX as vi, CommandOriginClaimSchema as vn, resolveCapMount as vr, ReadinessRegistry as vt, commandEffect as w, toSecretFieldView as wa, formatSecretScope as wi, createRecordsAccess as wn, forbiddenError as wr, DEBUG_WATCH_HARD_CAP_MS as wt, createMirrorSource as x, isSecretMarker as xa, SECRET_REF_SCHEME as xi, RuleFireOriginSchema as xn, ErrorCodeSchema as xr, readinessKey as xt, createEventBusSliceSource as y, isSecretClear as ya, RECORD_SETTINGS_MAX_ROWS as yi, OnBehalfSchema as yn, systemMethod as yr, ReadinessTimeoutError as yt, defineCustomActions as z, RECORDS_ERROR_CODES as zi, PEER_BYTES_TICKET_TTL_MS as zn, transformSecretWrite as zr, CamStreamKindSchema as zt };
|