@stim-cli/server 1.15.0 → 1.16.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 +219 -33
- package/dist/{protocol-MBMvJpvV.mjs → protocol-BHSl7bQ_.mjs} +70 -13
- package/dist/protocol.mjs +1 -1
- package/dist/protocol.schema.json +187 -8
- package/dist/{stim-server-OiJI9xLU.mjs → stim-server-CvqlgkBK.mjs} +6657 -5106
- package/dist/stim-server.mjs +1 -1
- package/package.json +3 -3
|
@@ -156,6 +156,30 @@
|
|
|
156
156
|
"deviceKey"
|
|
157
157
|
],
|
|
158
158
|
"additionalProperties": false,
|
|
159
|
+
"oneOf": [
|
|
160
|
+
{
|
|
161
|
+
"required": [
|
|
162
|
+
"backend"
|
|
163
|
+
],
|
|
164
|
+
"properties": {
|
|
165
|
+
"deviceKey": {
|
|
166
|
+
"pattern": "^ios:mobile:[a-fA-F0-9-]{36}$"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"not": {
|
|
172
|
+
"required": [
|
|
173
|
+
"backend"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"properties": {
|
|
177
|
+
"deviceKey": {
|
|
178
|
+
"pattern": "^[A-Za-z0-9_-]+(?:\\.[A-Za-z0-9_-]+)+@[1-9][0-9]{0,9}$"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
],
|
|
159
183
|
"properties": {
|
|
160
184
|
"tenant": {
|
|
161
185
|
"type": "string",
|
|
@@ -169,9 +193,11 @@
|
|
|
169
193
|
"type": "string",
|
|
170
194
|
"pattern": "^[A-Za-z0-9._-]{1,128}$"
|
|
171
195
|
},
|
|
196
|
+
"backend": {
|
|
197
|
+
"const": "ios-instance"
|
|
198
|
+
},
|
|
172
199
|
"deviceKey": {
|
|
173
|
-
"type": "string"
|
|
174
|
-
"pattern": "^[A-Za-z0-9_-]+(?:\\.[A-Za-z0-9_-]+)+@[1-9][0-9]{0,9}$"
|
|
200
|
+
"type": "string"
|
|
175
201
|
}
|
|
176
202
|
}
|
|
177
203
|
}
|
|
@@ -1013,6 +1039,12 @@
|
|
|
1013
1039
|
"deviceName": {
|
|
1014
1040
|
"type": "string",
|
|
1015
1041
|
"minLength": 1
|
|
1042
|
+
},
|
|
1043
|
+
"setupTicket": {
|
|
1044
|
+
"type": "string",
|
|
1045
|
+
"minLength": 43,
|
|
1046
|
+
"maxLength": 43,
|
|
1047
|
+
"pattern": "^[A-Za-z0-9_-]{43}$"
|
|
1016
1048
|
}
|
|
1017
1049
|
}
|
|
1018
1050
|
}
|
|
@@ -1111,9 +1143,12 @@
|
|
|
1111
1143
|
"macos-keyboard-extended",
|
|
1112
1144
|
"device-frames",
|
|
1113
1145
|
"macos-hosted",
|
|
1146
|
+
"ios-hosted",
|
|
1147
|
+
"hosted-ios-agent",
|
|
1114
1148
|
"duo-frames",
|
|
1115
1149
|
"workspace-diff",
|
|
1116
1150
|
"hosted-congestion",
|
|
1151
|
+
"hosted-ios-data",
|
|
1117
1152
|
"server-update"
|
|
1118
1153
|
]
|
|
1119
1154
|
}
|
|
@@ -1191,8 +1226,17 @@
|
|
|
1191
1226
|
},
|
|
1192
1227
|
"LogFilter": {
|
|
1193
1228
|
"type": "object",
|
|
1194
|
-
"
|
|
1195
|
-
|
|
1229
|
+
"oneOf": [
|
|
1230
|
+
{
|
|
1231
|
+
"required": [
|
|
1232
|
+
"workspace"
|
|
1233
|
+
]
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"required": [
|
|
1237
|
+
"archive"
|
|
1238
|
+
]
|
|
1239
|
+
}
|
|
1196
1240
|
],
|
|
1197
1241
|
"additionalProperties": false,
|
|
1198
1242
|
"properties": {
|
|
@@ -1200,6 +1244,12 @@
|
|
|
1200
1244
|
"type": "string",
|
|
1201
1245
|
"description": "An environment path from a status payload."
|
|
1202
1246
|
},
|
|
1247
|
+
"archive": {
|
|
1248
|
+
"type": "string",
|
|
1249
|
+
"minLength": 1,
|
|
1250
|
+
"pattern": "^(?!.*\\.\\.)[^/\\\\\\u0000]+$",
|
|
1251
|
+
"description": "An archived[].id from a status payload; omit workspace."
|
|
1252
|
+
},
|
|
1203
1253
|
"sources": {
|
|
1204
1254
|
"type": "array",
|
|
1205
1255
|
"minItems": 1,
|
|
@@ -1209,7 +1259,8 @@
|
|
|
1209
1259
|
"client",
|
|
1210
1260
|
"device",
|
|
1211
1261
|
"build",
|
|
1212
|
-
"agent"
|
|
1262
|
+
"agent",
|
|
1263
|
+
"maintenance"
|
|
1213
1264
|
]
|
|
1214
1265
|
}
|
|
1215
1266
|
},
|
|
@@ -1357,15 +1408,48 @@
|
|
|
1357
1408
|
"FrameTarget": {
|
|
1358
1409
|
"type": "object",
|
|
1359
1410
|
"required": [
|
|
1360
|
-
"workspace",
|
|
1361
1411
|
"platform"
|
|
1362
1412
|
],
|
|
1413
|
+
"oneOf": [
|
|
1414
|
+
{
|
|
1415
|
+
"required": [
|
|
1416
|
+
"workspace"
|
|
1417
|
+
],
|
|
1418
|
+
"not": {
|
|
1419
|
+
"required": [
|
|
1420
|
+
"archive"
|
|
1421
|
+
]
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"required": [
|
|
1426
|
+
"archive",
|
|
1427
|
+
"at"
|
|
1428
|
+
],
|
|
1429
|
+
"not": {
|
|
1430
|
+
"required": [
|
|
1431
|
+
"workspace"
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
"properties": {
|
|
1435
|
+
"physical": {
|
|
1436
|
+
"const": false
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
],
|
|
1363
1441
|
"additionalProperties": false,
|
|
1364
1442
|
"properties": {
|
|
1365
1443
|
"workspace": {
|
|
1366
1444
|
"type": "string",
|
|
1367
1445
|
"description": "An environment path from a status payload."
|
|
1368
1446
|
},
|
|
1447
|
+
"archive": {
|
|
1448
|
+
"type": "string",
|
|
1449
|
+
"minLength": 1,
|
|
1450
|
+
"pattern": "^(?!.*\\.\\.)[^/\\\\\\u0000]+$",
|
|
1451
|
+
"description": "An archived[].id from a status payload; omit workspace."
|
|
1452
|
+
},
|
|
1369
1453
|
"platform": {
|
|
1370
1454
|
"enum": [
|
|
1371
1455
|
"ios",
|
|
@@ -2904,6 +2988,9 @@
|
|
|
2904
2988
|
"items": {
|
|
2905
2989
|
"type": "string"
|
|
2906
2990
|
}
|
|
2991
|
+
},
|
|
2992
|
+
"deviceFrame": {
|
|
2993
|
+
"type": "boolean"
|
|
2907
2994
|
}
|
|
2908
2995
|
}
|
|
2909
2996
|
}
|
|
@@ -3755,14 +3842,30 @@
|
|
|
3755
3842
|
"params": {
|
|
3756
3843
|
"type": "object",
|
|
3757
3844
|
"required": [
|
|
3758
|
-
"workspace",
|
|
3759
3845
|
"platform"
|
|
3760
3846
|
],
|
|
3847
|
+
"oneOf": [
|
|
3848
|
+
{
|
|
3849
|
+
"required": [
|
|
3850
|
+
"workspace"
|
|
3851
|
+
]
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"required": [
|
|
3855
|
+
"archive"
|
|
3856
|
+
]
|
|
3857
|
+
}
|
|
3858
|
+
],
|
|
3761
3859
|
"additionalProperties": false,
|
|
3762
3860
|
"properties": {
|
|
3763
3861
|
"workspace": {
|
|
3764
3862
|
"type": "string"
|
|
3765
3863
|
},
|
|
3864
|
+
"archive": {
|
|
3865
|
+
"type": "string",
|
|
3866
|
+
"minLength": 1,
|
|
3867
|
+
"pattern": "^(?!.*\\.\\.)[^/\\\\\\u0000]+$"
|
|
3868
|
+
},
|
|
3766
3869
|
"platform": {
|
|
3767
3870
|
"enum": [
|
|
3768
3871
|
"ios",
|
|
@@ -3799,15 +3902,31 @@
|
|
|
3799
3902
|
"params": {
|
|
3800
3903
|
"type": "object",
|
|
3801
3904
|
"required": [
|
|
3802
|
-
"workspace",
|
|
3803
3905
|
"platform",
|
|
3804
3906
|
"at"
|
|
3805
3907
|
],
|
|
3908
|
+
"oneOf": [
|
|
3909
|
+
{
|
|
3910
|
+
"required": [
|
|
3911
|
+
"workspace"
|
|
3912
|
+
]
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
"required": [
|
|
3916
|
+
"archive"
|
|
3917
|
+
]
|
|
3918
|
+
}
|
|
3919
|
+
],
|
|
3806
3920
|
"additionalProperties": false,
|
|
3807
3921
|
"properties": {
|
|
3808
3922
|
"workspace": {
|
|
3809
3923
|
"type": "string"
|
|
3810
3924
|
},
|
|
3925
|
+
"archive": {
|
|
3926
|
+
"type": "string",
|
|
3927
|
+
"minLength": 1,
|
|
3928
|
+
"pattern": "^(?!.*\\.\\.)[^/\\\\\\u0000]+$"
|
|
3929
|
+
},
|
|
3811
3930
|
"platform": {
|
|
3812
3931
|
"enum": [
|
|
3813
3932
|
"ios",
|
|
@@ -5833,6 +5952,17 @@
|
|
|
5833
5952
|
"event": {
|
|
5834
5953
|
"const": "device-frame"
|
|
5835
5954
|
},
|
|
5955
|
+
"platform": {
|
|
5956
|
+
"enum": [
|
|
5957
|
+
"ios",
|
|
5958
|
+
"android",
|
|
5959
|
+
"web",
|
|
5960
|
+
"macos"
|
|
5961
|
+
]
|
|
5962
|
+
},
|
|
5963
|
+
"slot": {
|
|
5964
|
+
"type": "string"
|
|
5965
|
+
},
|
|
5836
5966
|
"subscription": {
|
|
5837
5967
|
"type": "string"
|
|
5838
5968
|
},
|
|
@@ -5957,6 +6087,22 @@
|
|
|
5957
6087
|
}
|
|
5958
6088
|
}
|
|
5959
6089
|
},
|
|
6090
|
+
{
|
|
6091
|
+
"type": "object",
|
|
6092
|
+
"required": [
|
|
6093
|
+
"event",
|
|
6094
|
+
"subscription"
|
|
6095
|
+
],
|
|
6096
|
+
"additionalProperties": false,
|
|
6097
|
+
"properties": {
|
|
6098
|
+
"event": {
|
|
6099
|
+
"const": "logs-ended"
|
|
6100
|
+
},
|
|
6101
|
+
"subscription": {
|
|
6102
|
+
"type": "string"
|
|
6103
|
+
}
|
|
6104
|
+
}
|
|
6105
|
+
},
|
|
5960
6106
|
{
|
|
5961
6107
|
"type": "object",
|
|
5962
6108
|
"required": [
|
|
@@ -6062,6 +6208,17 @@
|
|
|
6062
6208
|
"event": {
|
|
6063
6209
|
"const": "frame-delayed"
|
|
6064
6210
|
},
|
|
6211
|
+
"platform": {
|
|
6212
|
+
"enum": [
|
|
6213
|
+
"ios",
|
|
6214
|
+
"android",
|
|
6215
|
+
"web",
|
|
6216
|
+
"macos"
|
|
6217
|
+
]
|
|
6218
|
+
},
|
|
6219
|
+
"slot": {
|
|
6220
|
+
"type": "string"
|
|
6221
|
+
},
|
|
6065
6222
|
"subscription": {
|
|
6066
6223
|
"type": "string"
|
|
6067
6224
|
},
|
|
@@ -6106,6 +6263,17 @@
|
|
|
6106
6263
|
"event": {
|
|
6107
6264
|
"const": "control-ended"
|
|
6108
6265
|
},
|
|
6266
|
+
"platform": {
|
|
6267
|
+
"enum": [
|
|
6268
|
+
"ios",
|
|
6269
|
+
"android",
|
|
6270
|
+
"web",
|
|
6271
|
+
"macos"
|
|
6272
|
+
]
|
|
6273
|
+
},
|
|
6274
|
+
"slot": {
|
|
6275
|
+
"type": "string"
|
|
6276
|
+
},
|
|
6109
6277
|
"session": {
|
|
6110
6278
|
"type": "string"
|
|
6111
6279
|
},
|
|
@@ -6135,6 +6303,17 @@
|
|
|
6135
6303
|
"event": {
|
|
6136
6304
|
"const": "error"
|
|
6137
6305
|
},
|
|
6306
|
+
"platform": {
|
|
6307
|
+
"enum": [
|
|
6308
|
+
"ios",
|
|
6309
|
+
"android",
|
|
6310
|
+
"web",
|
|
6311
|
+
"macos"
|
|
6312
|
+
]
|
|
6313
|
+
},
|
|
6314
|
+
"slot": {
|
|
6315
|
+
"type": "string"
|
|
6316
|
+
},
|
|
6138
6317
|
"subscription": {
|
|
6139
6318
|
"type": "string"
|
|
6140
6319
|
},
|