sideby 0.14.0 → 0.15.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 +1 -0
- package/dist/build.json +1 -1
- package/dist/src/cli/commands.d.ts +2 -0
- package/dist/src/cli/commands.js +176 -9
- package/dist/src/cli/json-schemas.js +90 -2
- package/dist/src/cli/main.js +24 -5
- package/dist/src/core/config.d.ts +1 -0
- package/dist/src/core/config.js +8 -2
- package/dist/src/core/skill-check.d.ts +14 -0
- package/dist/src/core/skill-check.js +29 -3
- package/dist/src/core/update.d.ts +67 -1
- package/dist/src/core/update.js +147 -23
- package/dist/src/panel/handler.d.ts +7 -1
- package/dist/src/panel/handler.js +21 -5
- package/dist/src/panel/i18n.d.ts +118 -5
- package/dist/src/panel/i18n.js +266 -40
- package/dist/src/panel/page-logic.d.ts +41 -0
- package/dist/src/panel/page-logic.js +46 -0
- package/dist/src/panel/page-script.js +571 -162
- package/dist/src/panel/page-styles.js +71 -23
- package/dist/src/panel/page.js +3 -0
- package/dist/src/runtime.d.ts +2 -0
- package/package.json +3 -2
- package/schemas/alias.json +1 -1
- package/schemas/app-install.json +1 -1
- package/schemas/app-uninstall.json +1 -1
- package/schemas/browser-open.json +1 -1
- package/schemas/browser-switch.json +1 -1
- package/schemas/browser.json +1 -1
- package/schemas/config.json +15 -1
- package/schemas/desktop-remove.json +1 -1
- package/schemas/desktop.json +1 -1
- package/schemas/doctor.json +1 -1
- package/schemas/error.json +1 -1
- package/schemas/families.json +1 -1
- package/schemas/handoff-disable.json +1 -1
- package/schemas/handoff-enable.json +1 -1
- package/schemas/handoff-ready.json +1 -1
- package/schemas/handoff-setup.json +1 -1
- package/schemas/handoff-status.json +282 -1
- package/schemas/handoff-teardown.json +1 -1
- package/schemas/list.json +6 -1
- package/schemas/model.json +1 -1
- package/schemas/new.json +1 -1
- package/schemas/next.json +1 -1
- package/schemas/order.json +148 -0
- package/schemas/pin.json +126 -0
- package/schemas/plugins.json +1 -1
- package/schemas/quota-check.json +88 -0
- package/schemas/quota-setup.json +1 -1
- package/schemas/quota-teardown.json +1 -1
- package/schemas/quota.json +1 -1
- package/schemas/remote-control.json +1 -1
- package/schemas/tune-change.json +1 -1
- package/schemas/tune.json +1 -1
- package/schemas/unpin.json +126 -0
- package/schemas/update-auto.json +84 -0
- package/schemas/update.json +79 -1
- package/skills/sideby/SKILL.md +7 -3
- package/skills/sideby/references/handoff.md +8 -0
- package/skills/sideby/references/panel.md +28 -0
- package/skills/sideby/references/quota.md +6 -0
- package/skills/sideby/references/update.md +6 -2
|
@@ -17,6 +17,287 @@
|
|
|
17
17
|
"type": "number",
|
|
18
18
|
"const": 1
|
|
19
19
|
},
|
|
20
|
+
"overview": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"required": [
|
|
23
|
+
"settings",
|
|
24
|
+
"takeover",
|
|
25
|
+
"recent"
|
|
26
|
+
],
|
|
27
|
+
"properties": {
|
|
28
|
+
"settings": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"required": [
|
|
31
|
+
"auto",
|
|
32
|
+
"sameFamily",
|
|
33
|
+
"prepareAt",
|
|
34
|
+
"threshold",
|
|
35
|
+
"waitIfResetWithinMinutes",
|
|
36
|
+
"countdownSeconds",
|
|
37
|
+
"crossOrganization",
|
|
38
|
+
"families"
|
|
39
|
+
],
|
|
40
|
+
"properties": {
|
|
41
|
+
"auto": {
|
|
42
|
+
"type": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"sameFamily": {
|
|
45
|
+
"type": "boolean"
|
|
46
|
+
},
|
|
47
|
+
"prepareAt": {
|
|
48
|
+
"type": "number"
|
|
49
|
+
},
|
|
50
|
+
"threshold": {
|
|
51
|
+
"type": "number"
|
|
52
|
+
},
|
|
53
|
+
"waitIfResetWithinMinutes": {
|
|
54
|
+
"type": "number"
|
|
55
|
+
},
|
|
56
|
+
"countdownSeconds": {
|
|
57
|
+
"type": "number"
|
|
58
|
+
},
|
|
59
|
+
"crossOrganization": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"families": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"patternProperties": {
|
|
68
|
+
"^.*$": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"required": [
|
|
71
|
+
"policy",
|
|
72
|
+
"order"
|
|
73
|
+
],
|
|
74
|
+
"properties": {
|
|
75
|
+
"policy": {
|
|
76
|
+
"anyOf": [
|
|
77
|
+
{
|
|
78
|
+
"type": "string",
|
|
79
|
+
"const": "pressure"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "string",
|
|
83
|
+
"const": "order"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"order": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"takeover": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"required": [
|
|
104
|
+
"ref",
|
|
105
|
+
"family",
|
|
106
|
+
"starts",
|
|
107
|
+
"decision"
|
|
108
|
+
],
|
|
109
|
+
"properties": {
|
|
110
|
+
"ref": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"family": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"starts": {
|
|
117
|
+
"type": "array",
|
|
118
|
+
"items": {
|
|
119
|
+
"anyOf": [
|
|
120
|
+
{
|
|
121
|
+
"type": "string",
|
|
122
|
+
"const": "quota"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "string",
|
|
126
|
+
"const": "limit"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"decision": {
|
|
132
|
+
"anyOf": [
|
|
133
|
+
{
|
|
134
|
+
"type": "object",
|
|
135
|
+
"required": [
|
|
136
|
+
"kind",
|
|
137
|
+
"ref"
|
|
138
|
+
],
|
|
139
|
+
"properties": {
|
|
140
|
+
"kind": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"const": "pick"
|
|
143
|
+
},
|
|
144
|
+
"ref": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"skipped": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"required": [
|
|
152
|
+
"ref",
|
|
153
|
+
"reason"
|
|
154
|
+
],
|
|
155
|
+
"properties": {
|
|
156
|
+
"ref": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
},
|
|
159
|
+
"reason": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "object",
|
|
169
|
+
"required": [
|
|
170
|
+
"kind",
|
|
171
|
+
"until"
|
|
172
|
+
],
|
|
173
|
+
"properties": {
|
|
174
|
+
"kind": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"const": "wait"
|
|
177
|
+
},
|
|
178
|
+
"until": {
|
|
179
|
+
"type": "string"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "object",
|
|
185
|
+
"required": [
|
|
186
|
+
"kind",
|
|
187
|
+
"reason"
|
|
188
|
+
],
|
|
189
|
+
"properties": {
|
|
190
|
+
"kind": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"const": "none"
|
|
193
|
+
},
|
|
194
|
+
"reason": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"earliestReset": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"required": [
|
|
200
|
+
"ref",
|
|
201
|
+
"at"
|
|
202
|
+
],
|
|
203
|
+
"properties": {
|
|
204
|
+
"ref": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"at": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"skipped": {
|
|
213
|
+
"type": "array",
|
|
214
|
+
"items": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"required": [
|
|
217
|
+
"ref",
|
|
218
|
+
"reason"
|
|
219
|
+
],
|
|
220
|
+
"properties": {
|
|
221
|
+
"ref": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
"reason": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"recent": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"items": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"required": [
|
|
242
|
+
"from",
|
|
243
|
+
"to",
|
|
244
|
+
"at",
|
|
245
|
+
"trigger",
|
|
246
|
+
"briefSource"
|
|
247
|
+
],
|
|
248
|
+
"properties": {
|
|
249
|
+
"from": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"to": {
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"at": {
|
|
256
|
+
"type": "string"
|
|
257
|
+
},
|
|
258
|
+
"trigger": {
|
|
259
|
+
"anyOf": [
|
|
260
|
+
{
|
|
261
|
+
"type": "string",
|
|
262
|
+
"const": "threshold"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "string",
|
|
266
|
+
"const": "limit"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": "string",
|
|
270
|
+
"const": "manual"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"type": "null"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"briefSource": {
|
|
278
|
+
"anyOf": [
|
|
279
|
+
{
|
|
280
|
+
"type": "string",
|
|
281
|
+
"const": "agent"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "string",
|
|
285
|
+
"const": "sideby"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "string",
|
|
289
|
+
"const": "user"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "null"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
20
301
|
"auto": {
|
|
21
302
|
"type": "boolean"
|
|
22
303
|
},
|
|
@@ -184,7 +465,7 @@
|
|
|
184
465
|
},
|
|
185
466
|
"command": {
|
|
186
467
|
"type": "string",
|
|
187
|
-
"description": "
|
|
468
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
188
469
|
},
|
|
189
470
|
"message": {
|
|
190
471
|
"type": "string"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"command": {
|
|
79
79
|
"type": "string",
|
|
80
|
-
"description": "
|
|
80
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
81
81
|
},
|
|
82
82
|
"message": {
|
|
83
83
|
"type": "string"
|
package/schemas/list.json
CHANGED
|
@@ -160,6 +160,11 @@
|
|
|
160
160
|
},
|
|
161
161
|
"description": "The other accounts signed in as the same login (same family, email and organization), which share one quota (spec §3.21). Absent when there are none."
|
|
162
162
|
},
|
|
163
|
+
"pinned": {
|
|
164
|
+
"type": "boolean",
|
|
165
|
+
"const": true,
|
|
166
|
+
"description": "Pinned to the top of its family in the Panel and `sideby list` (spec §3.25). Display only; absent when not pinned."
|
|
167
|
+
},
|
|
163
168
|
"problems": {
|
|
164
169
|
"type": "array",
|
|
165
170
|
"items": {
|
|
@@ -308,7 +313,7 @@
|
|
|
308
313
|
},
|
|
309
314
|
"command": {
|
|
310
315
|
"type": "string",
|
|
311
|
-
"description": "
|
|
316
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
312
317
|
},
|
|
313
318
|
"message": {
|
|
314
319
|
"type": "string"
|
package/schemas/model.json
CHANGED
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
},
|
|
217
217
|
"command": {
|
|
218
218
|
"type": "string",
|
|
219
|
-
"description": "
|
|
219
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
220
220
|
},
|
|
221
221
|
"message": {
|
|
222
222
|
"type": "string"
|
package/schemas/new.json
CHANGED
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
},
|
|
247
247
|
"command": {
|
|
248
248
|
"type": "string",
|
|
249
|
-
"description": "
|
|
249
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
250
250
|
},
|
|
251
251
|
"message": {
|
|
252
252
|
"type": "string"
|
package/schemas/next.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
},
|
|
187
187
|
"command": {
|
|
188
188
|
"type": "string",
|
|
189
|
-
"description": "
|
|
189
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
190
190
|
},
|
|
191
191
|
"message": {
|
|
192
192
|
"type": "string"
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "sideby/order.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"schemaVersion",
|
|
7
|
+
"display",
|
|
8
|
+
"families"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"schemaVersion": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"const": 1
|
|
14
|
+
},
|
|
15
|
+
"display": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"families": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"accounts": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"patternProperties": {
|
|
27
|
+
"^.*$": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"pinned": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"patternProperties": {
|
|
38
|
+
"^.*$": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"families": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"required": [
|
|
53
|
+
"family",
|
|
54
|
+
"accounts"
|
|
55
|
+
],
|
|
56
|
+
"properties": {
|
|
57
|
+
"family": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"accounts": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"required": [
|
|
65
|
+
"name",
|
|
66
|
+
"ref",
|
|
67
|
+
"pinned"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"name": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"ref": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"pinned": {
|
|
77
|
+
"type": "boolean"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"_notice": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"update": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"required": [
|
|
91
|
+
"current",
|
|
92
|
+
"latest",
|
|
93
|
+
"command",
|
|
94
|
+
"message"
|
|
95
|
+
],
|
|
96
|
+
"properties": {
|
|
97
|
+
"current": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"latest": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"command": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
|
|
106
|
+
},
|
|
107
|
+
"message": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"skill": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"required": [
|
|
115
|
+
"installed",
|
|
116
|
+
"current",
|
|
117
|
+
"command",
|
|
118
|
+
"message"
|
|
119
|
+
],
|
|
120
|
+
"properties": {
|
|
121
|
+
"installed": {
|
|
122
|
+
"anyOf": [
|
|
123
|
+
{
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": "null"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"description": "The skill's version; null when it has none."
|
|
131
|
+
},
|
|
132
|
+
"current": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"command": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
138
|
+
},
|
|
139
|
+
"message": {
|
|
140
|
+
"type": "string"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"description": "Not the answer to the task: mention it briefly afterwards and offer to update."
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
package/schemas/pin.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "sideby/pin.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"schemaVersion",
|
|
7
|
+
"ref",
|
|
8
|
+
"pinned",
|
|
9
|
+
"changed",
|
|
10
|
+
"message",
|
|
11
|
+
"display"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"schemaVersion": {
|
|
15
|
+
"type": "number",
|
|
16
|
+
"const": 1
|
|
17
|
+
},
|
|
18
|
+
"ref": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"pinned": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"changed": {
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"message": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"display": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"families": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"accounts": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"patternProperties": {
|
|
42
|
+
"^.*$": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"pinned": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"patternProperties": {
|
|
53
|
+
"^.*$": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"items": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"_notice": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"properties": {
|
|
66
|
+
"update": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"required": [
|
|
69
|
+
"current",
|
|
70
|
+
"latest",
|
|
71
|
+
"command",
|
|
72
|
+
"message"
|
|
73
|
+
],
|
|
74
|
+
"properties": {
|
|
75
|
+
"current": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"latest": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"command": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
|
|
84
|
+
},
|
|
85
|
+
"message": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"skill": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"required": [
|
|
93
|
+
"installed",
|
|
94
|
+
"current",
|
|
95
|
+
"command",
|
|
96
|
+
"message"
|
|
97
|
+
],
|
|
98
|
+
"properties": {
|
|
99
|
+
"installed": {
|
|
100
|
+
"anyOf": [
|
|
101
|
+
{
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "null"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"description": "The skill's version; null when it has none."
|
|
109
|
+
},
|
|
110
|
+
"current": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"command": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
116
|
+
},
|
|
117
|
+
"message": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"description": "Not the answer to the task: mention it briefly afterwards and offer to update."
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
package/schemas/plugins.json
CHANGED
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
},
|
|
122
122
|
"command": {
|
|
123
123
|
"type": "string",
|
|
124
|
-
"description": "
|
|
124
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
125
125
|
},
|
|
126
126
|
"message": {
|
|
127
127
|
"type": "string"
|