@mhome/app-facade-protocol 1.126.0 → 1.128.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.v1",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "callSchema": "schema/facade-call.v1.schema.json",
5
5
  "routing": "manifest/routing.v1.json",
6
6
  "routingSchema": "schema/routing.v1.schema.json",
@@ -334,6 +334,13 @@
334
334
  "/app/presentation/space/location/list"
335
335
  ]
336
336
  },
337
+ "spaceMemberChanges": {
338
+ "contract": "contract/space-presentation-v1.md",
339
+ "schema": "schema/space-member-changes.v1.schema.json",
340
+ "requestTargets": [
341
+ "/app/space/member/update"
342
+ ]
343
+ },
337
344
  "spaceManagement": {
338
345
  "contract": "contract/space-presentation-v1.md",
339
346
  "requestTargets": [
@@ -443,7 +450,9 @@
443
450
  },
444
451
  "deviceSources": {
445
452
  "contract": "contract/entity-v1.md",
446
- "uiRequestTargets": ["/app/device/source/resolve"]
453
+ "uiRequestTargets": [
454
+ "/app/device/source/resolve"
455
+ ]
447
456
  },
448
457
  "entity": {
449
458
  "contract": "contract/entity-v1.md",
@@ -473,6 +482,15 @@
473
482
  "eventTargets": [
474
483
  "/user/navigation/changed"
475
484
  ]
485
+ },
486
+ "wave": {
487
+ "contract": "contract/wave-v1.md",
488
+ "requestTargets": [
489
+ "/app/wave/discover",
490
+ "/app/wave/pair",
491
+ "/app/wave/list",
492
+ "/app/wave/refresh"
493
+ ]
476
494
  }
477
495
  },
478
496
  "authorization": "manifest/authorization.v1.json",
@@ -1,5 +1,5 @@
1
1
  {
2
- "contractVersion": "1.126.0",
2
+ "contractVersion": "1.128.0",
3
3
  "operations": {
4
4
  "/app/agent/context/get": "spaceRead",
5
5
  "/app/agent/credit/usage": "spaceRead",
@@ -118,7 +118,6 @@
118
118
  "/app/host/permissions/get": "userRead",
119
119
  "/app/host/service/install": "userWrite",
120
120
  "/app/host/service/restart": "userWrite",
121
- "/app/hub/cache/clear": "spaceManage",
122
121
  "/app/hub/get": "spaceRead",
123
122
  "/app/hub/remove": "spaceManage",
124
123
  "/app/hub/restart": "spaceManage",
@@ -280,6 +279,7 @@
280
279
  "/app/space/member/invite": "spaceManage",
281
280
  "/app/space/member/list": "spaceManage",
282
281
  "/app/space/member/remove": "spaceManage",
282
+ "/app/space/member/update": "spaceManage",
283
283
  "/app/space/preference/get": "spaceRead",
284
284
  "/app/space/preference/update": "userWrite",
285
285
  "/app/space/rename": "spaceManage",
@@ -368,7 +368,11 @@
368
368
  "/pod/talk/speech/prepare": "spaceWrite",
369
369
  "/pod/talk/turn/submit": "spaceWrite",
370
370
  "/pod/talk/view/get": "spaceRead",
371
- "/app/entity/state/get": "spaceRead"
371
+ "/app/entity/state/get": "spaceRead",
372
+ "/app/wave/discover": "spaceManage",
373
+ "/app/wave/pair": "spaceManage",
374
+ "/app/wave/list": "spaceManage",
375
+ "/app/wave/refresh": "spaceManage"
372
376
  },
373
377
  "nodePrefix": "/app/plugin/",
374
378
  "serviceOperations": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.host-provision.targets.v1",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "contract": "contract/host-provisioning-v1.md",
5
5
  "localTargets": [
6
6
  "/local/host/provision/start",
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "manifest": "mhome.hub.targets.v1",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "appTargets": [
5
5
  "/app/hub/get",
6
- "/app/hub/remove",
7
- "/app/hub/cache/clear"
6
+ "/app/hub/remove"
8
7
  ],
9
8
  "localTargets": [
10
9
  "/local/hub/get",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.pod.targets.v1",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "contract": "contract/pod-commissioning-v1.md",
5
5
  "localTargets": [
6
6
  "/local/pod/discovery/start",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.app-facade.routing.v1",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "targetPrefix": "/app/",
5
5
  "default": {
6
6
  "execution": "spaceMode"
@@ -16,7 +16,6 @@
16
16
  "cloudTargets": [
17
17
  "/app/agent/context/get",
18
18
  "/app/agent/credit/usage",
19
- "/app/hub/cache/clear",
20
19
  "/app/hub/get",
21
20
  "/app/hub/remove",
22
21
  "/app/plugin/catalog/list",
@@ -82,7 +81,8 @@
82
81
  "/app/object-storage/",
83
82
  "/app/runtime/",
84
83
  "/app/system/hosts/",
85
- "/app/person/"
84
+ "/app/person/",
85
+ "/app/wave/"
86
86
  ],
87
87
  "requestPlacementPrefixes": [
88
88
  "/app/messaging/"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest": "mhome.messaging.targets.v1",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "requestTargets": [
5
5
  "/app/messaging/provider/list",
6
6
  "/app/messaging/provider-account/list",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhome/app-facade-protocol",
3
- "version": "1.126.0",
3
+ "version": "1.128.0",
4
4
  "description": "Build-time protocol artifacts for mhome.app-facade",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/protocol.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "protocol": "mhome.app-facade",
3
- "contractVersion": "1.126.0",
3
+ "contractVersion": "1.128.0",
4
4
  "manifest": "manifest/app-facade.v1.json",
5
5
  "schemas": {
6
6
  "storage": "schema/storage.v1.schema.json",
@@ -12,6 +12,7 @@
12
12
  "hostAuthorization": "schema/host-authorization.v1.schema.json",
13
13
  "hostAccess": "schema/host-access.v1.schema.json",
14
14
  "agentLlm": "schema/agent-llm.v1.schema.json",
15
+ "spaceMemberChanges": "schema/space-member-changes.v1.schema.json",
15
16
  "entityPresentation": "schema/entity-presentation.v1.schema.json",
16
17
  "integrationPresentation": "schema/integration-presentation.v1.schema.json",
17
18
  "capabilityDescriptor": "schema/capability-descriptor.v1.schema.json",
@@ -0,0 +1,190 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://schemas.meowlink.app/space-member-changes.v1.json",
4
+ "title": "Space member changes",
5
+ "definitions": {
6
+ "input": {
7
+ "type": "object",
8
+ "additionalProperties": false,
9
+ "properties": {
10
+ "removeEmails": {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string"
14
+ }
15
+ },
16
+ "inviteEmails": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "string"
20
+ }
21
+ }
22
+ },
23
+ "anyOf": [
24
+ {
25
+ "required": [
26
+ "removeEmails"
27
+ ],
28
+ "properties": {
29
+ "removeEmails": {
30
+ "minItems": 1
31
+ }
32
+ }
33
+ },
34
+ {
35
+ "required": [
36
+ "inviteEmails"
37
+ ],
38
+ "properties": {
39
+ "inviteEmails": {
40
+ "minItems": 1
41
+ }
42
+ }
43
+ }
44
+ ]
45
+ },
46
+ "output": {
47
+ "type": "object",
48
+ "required": [
49
+ "action",
50
+ "spaceId",
51
+ "removal",
52
+ "invitation",
53
+ "problems"
54
+ ],
55
+ "properties": {
56
+ "action": {
57
+ "enum": [
58
+ "Updated",
59
+ "DryRun"
60
+ ]
61
+ },
62
+ "spaceId": {
63
+ "type": "string"
64
+ },
65
+ "removal": {
66
+ "type": "object",
67
+ "required": [
68
+ "action",
69
+ "spaceId",
70
+ "requested",
71
+ "removed",
72
+ "notMembership",
73
+ "failed"
74
+ ],
75
+ "properties": {
76
+ "action": {
77
+ "type": "string"
78
+ },
79
+ "spaceId": {
80
+ "type": "string"
81
+ },
82
+ "requested": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "string"
86
+ }
87
+ },
88
+ "removed": {
89
+ "type": "array",
90
+ "items": {
91
+ "type": "string"
92
+ }
93
+ },
94
+ "notMembership": {
95
+ "type": "array",
96
+ "items": {
97
+ "type": "string"
98
+ }
99
+ },
100
+ "failed": {
101
+ "type": "array",
102
+ "items": {
103
+ "type": "string"
104
+ }
105
+ }
106
+ }
107
+ },
108
+ "invitation": {
109
+ "anyOf": [
110
+ {
111
+ "type": "object",
112
+ "required": [
113
+ "action",
114
+ "spaceId",
115
+ "requested",
116
+ "invited",
117
+ "alreadyPending",
118
+ "alreadyMembers",
119
+ "failed"
120
+ ],
121
+ "properties": {
122
+ "action": {
123
+ "type": "string"
124
+ },
125
+ "spaceId": {
126
+ "type": "string"
127
+ },
128
+ "requested": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "string"
132
+ }
133
+ },
134
+ "invited": {
135
+ "type": "array",
136
+ "items": {
137
+ "type": "string"
138
+ }
139
+ },
140
+ "alreadyPending": {
141
+ "type": "array",
142
+ "items": {
143
+ "type": "string"
144
+ }
145
+ },
146
+ "alreadyMembers": {
147
+ "type": "array",
148
+ "items": {
149
+ "type": "string"
150
+ }
151
+ },
152
+ "failed": {
153
+ "type": "array",
154
+ "items": {
155
+ "type": "string"
156
+ }
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "type": "null"
162
+ }
163
+ ]
164
+ },
165
+ "problems": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "object",
169
+ "required": [
170
+ "step",
171
+ "code",
172
+ "message"
173
+ ],
174
+ "properties": {
175
+ "step": {
176
+ "type": "string"
177
+ },
178
+ "code": {
179
+ "type": "string"
180
+ },
181
+ "message": {
182
+ "type": "string"
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }