@mhome/app-facade-protocol 1.113.0 → 1.115.0
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/README.md +4 -1
- package/contract/household-recording-v1.md +78 -0
- package/fixtures/recording-automation.conformance.json +28 -0
- package/fixtures/recording-sync.row.json +6 -0
- package/fixtures/recording.conformance.json +644 -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/recording.v1.json +465 -0
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +2 -1
- package/schema/facade-call.v1.schema.json +130 -16
- package/schema/household-recording.v1.schema.json +129 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Household behavior record",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": [
|
|
7
|
+
"id",
|
|
8
|
+
"occurredAtMs",
|
|
9
|
+
"finishedAtMs",
|
|
10
|
+
"actor",
|
|
11
|
+
"source",
|
|
12
|
+
"data"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"occurredAtMs": {
|
|
20
|
+
"type": "integer",
|
|
21
|
+
"minimum": 0
|
|
22
|
+
},
|
|
23
|
+
"finishedAtMs": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 0
|
|
26
|
+
},
|
|
27
|
+
"actor": {
|
|
28
|
+
"oneOf": [
|
|
29
|
+
{
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": [
|
|
33
|
+
"kind",
|
|
34
|
+
"userId"
|
|
35
|
+
],
|
|
36
|
+
"properties": {
|
|
37
|
+
"kind": {
|
|
38
|
+
"const": "user"
|
|
39
|
+
},
|
|
40
|
+
"userId": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"minLength": 1
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "object",
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"required": [
|
|
50
|
+
"kind"
|
|
51
|
+
],
|
|
52
|
+
"properties": {
|
|
53
|
+
"kind": {
|
|
54
|
+
"const": "space"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"required": [
|
|
62
|
+
"kind"
|
|
63
|
+
],
|
|
64
|
+
"properties": {
|
|
65
|
+
"kind": {
|
|
66
|
+
"const": "agent"
|
|
67
|
+
},
|
|
68
|
+
"agentId": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"source": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"required": [
|
|
78
|
+
"kind"
|
|
79
|
+
],
|
|
80
|
+
"properties": {
|
|
81
|
+
"kind": {
|
|
82
|
+
"enum": [
|
|
83
|
+
"ui",
|
|
84
|
+
"agent",
|
|
85
|
+
"messaging",
|
|
86
|
+
"cli",
|
|
87
|
+
"skill",
|
|
88
|
+
"mcp"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"appClientId": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"page": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"cardId": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"surfaceId": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"provider": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"data": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"required": [
|
|
111
|
+
"event",
|
|
112
|
+
"status"
|
|
113
|
+
],
|
|
114
|
+
"properties": {
|
|
115
|
+
"event": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"status": {
|
|
119
|
+
"enum": [
|
|
120
|
+
"success",
|
|
121
|
+
"partial",
|
|
122
|
+
"error",
|
|
123
|
+
"cancelled"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|