@mhome/app-facade-protocol 1.182.0 → 1.183.1
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/contract/resource-read-failures-v1.md +12 -0
- package/fixtures/presentation/cases.json +376 -0
- package/manifest/app-facade.v1.json +1 -1
- package/manifest/authorization.v1.json +1 -1
- package/manifest/host-provision-targets.v1.json +1 -1
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/pod-targets.v1.json +1 -1
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
|
@@ -62,3 +62,15 @@ retry is introduced. Required evidence for a dependent mutation remains required
|
|
|
62
62
|
- Widget selected values strictly decode only value/next, preserving legal null.
|
|
63
63
|
Configuration reads never decode runtime value/next. Detail and presentation
|
|
64
64
|
rows retain known definitions and omit failed configuration/value projections.
|
|
65
|
+
|
|
66
|
+
- Dashboard management list/detail project Widget identity summaries, without decoding
|
|
67
|
+
unrelated configuration or observations. Weather type is defined by its source;
|
|
68
|
+
an unreadable detail location retains the Card and its `status: found`, with
|
|
69
|
+
an item-scoped problem. Confirmed missing Cards remain `status: not_found`.
|
|
70
|
+
- Canvas static content and Automation overview retain each Widget definition when
|
|
71
|
+
a configuration/value projection fails. Unknown fields are omitted and the Widget
|
|
72
|
+
carries a problem. Canvas entity metadata is similarly scoped after mandatory
|
|
73
|
+
shared context reads. Even if every optional Widget projection fails, known
|
|
74
|
+
Card/Automation definitions remain useful and the outcome is partial, not empty.
|
|
75
|
+
|
|
76
|
+
The Device static view uses the same Card/Widget projection boundary and diagnostics.
|
|
@@ -6659,5 +6659,381 @@
|
|
|
6659
6659
|
}
|
|
6660
6660
|
]
|
|
6661
6661
|
}
|
|
6662
|
+
},
|
|
6663
|
+
{
|
|
6664
|
+
"name": "canvas-widget-projection-partial",
|
|
6665
|
+
"target": "/app/dashboard/canvas/content/get",
|
|
6666
|
+
"data": {
|
|
6667
|
+
"id": "canvas",
|
|
6668
|
+
"revision": 1,
|
|
6669
|
+
"cards": [
|
|
6670
|
+
{
|
|
6671
|
+
"cardId": "c",
|
|
6672
|
+
"views": [],
|
|
6673
|
+
"widgets": [
|
|
6674
|
+
{
|
|
6675
|
+
"id": "bad-d",
|
|
6676
|
+
"type": "data",
|
|
6677
|
+
"dataType": "Bool",
|
|
6678
|
+
"problem": {
|
|
6679
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6680
|
+
"message": "The selected resource could not be read",
|
|
6681
|
+
"details": {
|
|
6682
|
+
"requestedId": "bad-d"
|
|
6683
|
+
}
|
|
6684
|
+
}
|
|
6685
|
+
}
|
|
6686
|
+
]
|
|
6687
|
+
},
|
|
6688
|
+
{
|
|
6689
|
+
"cardId": "good",
|
|
6690
|
+
"views": [],
|
|
6691
|
+
"widgets": [
|
|
6692
|
+
{
|
|
6693
|
+
"id": "good-d",
|
|
6694
|
+
"type": "data",
|
|
6695
|
+
"dataType": "Bool",
|
|
6696
|
+
"options": []
|
|
6697
|
+
}
|
|
6698
|
+
]
|
|
6699
|
+
}
|
|
6700
|
+
]
|
|
6701
|
+
},
|
|
6702
|
+
"status": "partial",
|
|
6703
|
+
"essential": {
|
|
6704
|
+
"id": "canvas",
|
|
6705
|
+
"revision": 1,
|
|
6706
|
+
"cards": [
|
|
6707
|
+
{
|
|
6708
|
+
"cardId": "c",
|
|
6709
|
+
"views": [],
|
|
6710
|
+
"widgets": [
|
|
6711
|
+
{
|
|
6712
|
+
"id": "bad-d",
|
|
6713
|
+
"type": "data",
|
|
6714
|
+
"dataType": "Bool",
|
|
6715
|
+
"problem": {
|
|
6716
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6717
|
+
"message": "The selected resource could not be read",
|
|
6718
|
+
"details": {
|
|
6719
|
+
"requestedId": "bad-d"
|
|
6720
|
+
}
|
|
6721
|
+
}
|
|
6722
|
+
}
|
|
6723
|
+
]
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"cardId": "good",
|
|
6727
|
+
"views": [],
|
|
6728
|
+
"widgets": [
|
|
6729
|
+
{
|
|
6730
|
+
"id": "good-d",
|
|
6731
|
+
"type": "data",
|
|
6732
|
+
"dataType": "Bool",
|
|
6733
|
+
"options": []
|
|
6734
|
+
}
|
|
6735
|
+
]
|
|
6736
|
+
}
|
|
6737
|
+
]
|
|
6738
|
+
}
|
|
6739
|
+
},
|
|
6740
|
+
{
|
|
6741
|
+
"name": "canvas-all-widget-projections-unavailable",
|
|
6742
|
+
"target": "/app/dashboard/canvas/content/get",
|
|
6743
|
+
"data": {
|
|
6744
|
+
"id": "canvas",
|
|
6745
|
+
"revision": 1,
|
|
6746
|
+
"cards": [
|
|
6747
|
+
{
|
|
6748
|
+
"cardId": "c",
|
|
6749
|
+
"views": [],
|
|
6750
|
+
"widgets": [
|
|
6751
|
+
{
|
|
6752
|
+
"id": "bad-d",
|
|
6753
|
+
"type": "data",
|
|
6754
|
+
"dataType": "Bool",
|
|
6755
|
+
"problem": {
|
|
6756
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6757
|
+
"message": "The selected resource could not be read",
|
|
6758
|
+
"details": {
|
|
6759
|
+
"requestedId": "bad-d"
|
|
6760
|
+
}
|
|
6761
|
+
}
|
|
6762
|
+
}
|
|
6763
|
+
]
|
|
6764
|
+
}
|
|
6765
|
+
]
|
|
6766
|
+
},
|
|
6767
|
+
"status": "partial",
|
|
6768
|
+
"essential": {
|
|
6769
|
+
"id": "canvas",
|
|
6770
|
+
"revision": 1,
|
|
6771
|
+
"cards": [
|
|
6772
|
+
{
|
|
6773
|
+
"cardId": "c",
|
|
6774
|
+
"views": [],
|
|
6775
|
+
"widgets": [
|
|
6776
|
+
{
|
|
6777
|
+
"id": "bad-d",
|
|
6778
|
+
"type": "data",
|
|
6779
|
+
"dataType": "Bool",
|
|
6780
|
+
"problem": {
|
|
6781
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6782
|
+
"message": "The selected resource could not be read",
|
|
6783
|
+
"details": {
|
|
6784
|
+
"requestedId": "bad-d"
|
|
6785
|
+
}
|
|
6786
|
+
}
|
|
6787
|
+
}
|
|
6788
|
+
]
|
|
6789
|
+
}
|
|
6790
|
+
]
|
|
6791
|
+
}
|
|
6792
|
+
},
|
|
6793
|
+
{
|
|
6794
|
+
"name": "automation-overview-widget-projection-partial",
|
|
6795
|
+
"target": "/app/presentation/automation/overview/get",
|
|
6796
|
+
"data": {
|
|
6797
|
+
"id": "a",
|
|
6798
|
+
"name": "Morning",
|
|
6799
|
+
"widgets": [
|
|
6800
|
+
{
|
|
6801
|
+
"id": "bad-d",
|
|
6802
|
+
"type": "data",
|
|
6803
|
+
"dataType": "Bool",
|
|
6804
|
+
"problem": {
|
|
6805
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6806
|
+
"message": "The selected resource could not be read",
|
|
6807
|
+
"details": {
|
|
6808
|
+
"requestedId": "bad-d"
|
|
6809
|
+
}
|
|
6810
|
+
},
|
|
6811
|
+
"value": false
|
|
6812
|
+
},
|
|
6813
|
+
{
|
|
6814
|
+
"id": "good-d",
|
|
6815
|
+
"type": "data",
|
|
6816
|
+
"value": false
|
|
6817
|
+
}
|
|
6818
|
+
]
|
|
6819
|
+
},
|
|
6820
|
+
"status": "partial",
|
|
6821
|
+
"essential": {
|
|
6822
|
+
"id": "a",
|
|
6823
|
+
"name": "Morning",
|
|
6824
|
+
"widgets": [
|
|
6825
|
+
{
|
|
6826
|
+
"id": "bad-d",
|
|
6827
|
+
"type": "data",
|
|
6828
|
+
"dataType": "Bool",
|
|
6829
|
+
"problem": {
|
|
6830
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6831
|
+
"message": "The selected resource could not be read",
|
|
6832
|
+
"details": {
|
|
6833
|
+
"requestedId": "bad-d"
|
|
6834
|
+
}
|
|
6835
|
+
},
|
|
6836
|
+
"value": false
|
|
6837
|
+
},
|
|
6838
|
+
{
|
|
6839
|
+
"id": "good-d",
|
|
6840
|
+
"type": "data",
|
|
6841
|
+
"value": false
|
|
6842
|
+
}
|
|
6843
|
+
]
|
|
6844
|
+
}
|
|
6845
|
+
},
|
|
6846
|
+
{
|
|
6847
|
+
"name": "automation-overview-all-widget-projections-unavailable",
|
|
6848
|
+
"target": "/app/presentation/automation/overview/get",
|
|
6849
|
+
"data": {
|
|
6850
|
+
"id": "a",
|
|
6851
|
+
"name": "Morning",
|
|
6852
|
+
"widgets": [
|
|
6853
|
+
{
|
|
6854
|
+
"id": "bad-d",
|
|
6855
|
+
"type": "data",
|
|
6856
|
+
"dataType": "Bool",
|
|
6857
|
+
"problem": {
|
|
6858
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6859
|
+
"message": "The selected resource could not be read",
|
|
6860
|
+
"details": {
|
|
6861
|
+
"requestedId": "bad-d"
|
|
6862
|
+
}
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6865
|
+
]
|
|
6866
|
+
},
|
|
6867
|
+
"status": "partial",
|
|
6868
|
+
"essential": {
|
|
6869
|
+
"id": "a",
|
|
6870
|
+
"name": "Morning",
|
|
6871
|
+
"widgets": [
|
|
6872
|
+
{
|
|
6873
|
+
"id": "bad-d",
|
|
6874
|
+
"type": "data",
|
|
6875
|
+
"dataType": "Bool",
|
|
6876
|
+
"problem": {
|
|
6877
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6878
|
+
"message": "The selected resource could not be read",
|
|
6879
|
+
"details": {
|
|
6880
|
+
"requestedId": "bad-d"
|
|
6881
|
+
}
|
|
6882
|
+
}
|
|
6883
|
+
}
|
|
6884
|
+
]
|
|
6885
|
+
}
|
|
6886
|
+
},
|
|
6887
|
+
{
|
|
6888
|
+
"name": "card-detail-weather-location-unavailable",
|
|
6889
|
+
"target": "/app/dashboard/card/detail/get",
|
|
6890
|
+
"data": {
|
|
6891
|
+
"spaceId": "s",
|
|
6892
|
+
"items": [
|
|
6893
|
+
{
|
|
6894
|
+
"cardId": "c",
|
|
6895
|
+
"status": "found",
|
|
6896
|
+
"canvasId": "canvas",
|
|
6897
|
+
"card": {
|
|
6898
|
+
"cardId": "c",
|
|
6899
|
+
"type": "WEATHER",
|
|
6900
|
+
"title": "Weather",
|
|
6901
|
+
"views": []
|
|
6902
|
+
},
|
|
6903
|
+
"problem": {
|
|
6904
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6905
|
+
"message": "The selected resource could not be read",
|
|
6906
|
+
"details": {
|
|
6907
|
+
"requestedId": "bad-d"
|
|
6908
|
+
}
|
|
6909
|
+
}
|
|
6910
|
+
},
|
|
6911
|
+
{
|
|
6912
|
+
"cardId": "missing",
|
|
6913
|
+
"status": "not_found"
|
|
6914
|
+
}
|
|
6915
|
+
]
|
|
6916
|
+
},
|
|
6917
|
+
"status": "partial",
|
|
6918
|
+
"essential": {
|
|
6919
|
+
"spaceId": "s",
|
|
6920
|
+
"items": [
|
|
6921
|
+
{
|
|
6922
|
+
"cardId": "c",
|
|
6923
|
+
"status": "found",
|
|
6924
|
+
"canvasId": "canvas",
|
|
6925
|
+
"card": {
|
|
6926
|
+
"cardId": "c",
|
|
6927
|
+
"type": "WEATHER",
|
|
6928
|
+
"title": "Weather",
|
|
6929
|
+
"views": [],
|
|
6930
|
+
"viewCount": 0
|
|
6931
|
+
},
|
|
6932
|
+
"problem": {
|
|
6933
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6934
|
+
"message": "The selected resource could not be read",
|
|
6935
|
+
"details": {
|
|
6936
|
+
"requestedId": "bad-d"
|
|
6937
|
+
}
|
|
6938
|
+
}
|
|
6939
|
+
},
|
|
6940
|
+
{
|
|
6941
|
+
"cardId": "missing",
|
|
6942
|
+
"status": "not_found"
|
|
6943
|
+
}
|
|
6944
|
+
]
|
|
6945
|
+
}
|
|
6946
|
+
},
|
|
6947
|
+
{
|
|
6948
|
+
"name": "device-view-widget-projection-partial",
|
|
6949
|
+
"target": "/app/presentation/device/view/get",
|
|
6950
|
+
"status": "partial",
|
|
6951
|
+
"data": {
|
|
6952
|
+
"deviceId": "device",
|
|
6953
|
+
"widgets": [
|
|
6954
|
+
{
|
|
6955
|
+
"id": "w-d",
|
|
6956
|
+
"type": "data",
|
|
6957
|
+
"dataType": "Bool",
|
|
6958
|
+
"problem": {
|
|
6959
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6960
|
+
"message": "The selected resource could not be read",
|
|
6961
|
+
"details": {
|
|
6962
|
+
"requestedId": "w-d"
|
|
6963
|
+
}
|
|
6964
|
+
}
|
|
6965
|
+
}
|
|
6966
|
+
]
|
|
6967
|
+
},
|
|
6968
|
+
"essential": {
|
|
6969
|
+
"deviceId": "device",
|
|
6970
|
+
"widgets": [
|
|
6971
|
+
{
|
|
6972
|
+
"id": "w-d",
|
|
6973
|
+
"type": "data",
|
|
6974
|
+
"dataType": "Bool",
|
|
6975
|
+
"problem": {
|
|
6976
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
6977
|
+
"message": "The selected resource could not be read",
|
|
6978
|
+
"details": {
|
|
6979
|
+
"requestedId": "w-d"
|
|
6980
|
+
}
|
|
6981
|
+
}
|
|
6982
|
+
}
|
|
6983
|
+
]
|
|
6984
|
+
}
|
|
6985
|
+
},
|
|
6986
|
+
{
|
|
6987
|
+
"name": "canvas-entity-metadata-projection-partial",
|
|
6988
|
+
"target": "/app/dashboard/canvas/content/get",
|
|
6989
|
+
"status": "partial",
|
|
6990
|
+
"data": {
|
|
6991
|
+
"id": "canvas",
|
|
6992
|
+
"cards": [
|
|
6993
|
+
{
|
|
6994
|
+
"cardId": "bad-card",
|
|
6995
|
+
"meta": {
|
|
6996
|
+
"entityId": "bad-entity"
|
|
6997
|
+
},
|
|
6998
|
+
"problem": {
|
|
6999
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
7000
|
+
"message": "The selected resource could not be read",
|
|
7001
|
+
"details": {
|
|
7002
|
+
"requestedId": "bad-entity"
|
|
7003
|
+
}
|
|
7004
|
+
}
|
|
7005
|
+
},
|
|
7006
|
+
{
|
|
7007
|
+
"cardId": "good-card",
|
|
7008
|
+
"twin": {
|
|
7009
|
+
"entityId": "good-entity"
|
|
7010
|
+
}
|
|
7011
|
+
}
|
|
7012
|
+
]
|
|
7013
|
+
},
|
|
7014
|
+
"essential": {
|
|
7015
|
+
"id": "canvas",
|
|
7016
|
+
"cards": [
|
|
7017
|
+
{
|
|
7018
|
+
"cardId": "bad-card",
|
|
7019
|
+
"meta": {
|
|
7020
|
+
"entityId": "bad-entity"
|
|
7021
|
+
},
|
|
7022
|
+
"problem": {
|
|
7023
|
+
"code": "RESOURCE_UNAVAILABLE",
|
|
7024
|
+
"message": "The selected resource could not be read",
|
|
7025
|
+
"details": {
|
|
7026
|
+
"requestedId": "bad-entity"
|
|
7027
|
+
}
|
|
7028
|
+
}
|
|
7029
|
+
},
|
|
7030
|
+
{
|
|
7031
|
+
"cardId": "good-card",
|
|
7032
|
+
"twin": {
|
|
7033
|
+
"entityId": "good-entity"
|
|
7034
|
+
}
|
|
7035
|
+
}
|
|
7036
|
+
]
|
|
7037
|
+
}
|
|
6662
7038
|
}
|
|
6663
7039
|
]
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED