sideby 0.13.0 → 0.13.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.
Files changed (47) hide show
  1. package/dist/build.json +1 -1
  2. package/dist/src/cli/commands.d.ts +1 -0
  3. package/dist/src/cli/commands.js +48 -3
  4. package/dist/src/cli/json-schemas.js +48 -1
  5. package/dist/src/cli/main.js +38 -1
  6. package/dist/src/core/skill-check.d.ts +13 -0
  7. package/dist/src/core/skill-check.js +29 -1
  8. package/dist/src/core/update.d.ts +45 -0
  9. package/dist/src/core/update.js +86 -1
  10. package/dist/src/panel/handler.d.ts +3 -1
  11. package/dist/src/panel/handler.js +5 -0
  12. package/dist/src/panel/i18n.d.ts +3 -0
  13. package/dist/src/panel/i18n.js +8 -2
  14. package/dist/src/panel/page-script.js +11 -2
  15. package/package.json +1 -1
  16. package/schemas/alias.json +62 -0
  17. package/schemas/app-install.json +62 -0
  18. package/schemas/app-uninstall.json +62 -0
  19. package/schemas/browser-open.json +62 -0
  20. package/schemas/browser-switch.json +62 -0
  21. package/schemas/browser.json +62 -0
  22. package/schemas/desktop-remove.json +62 -0
  23. package/schemas/desktop.json +62 -0
  24. package/schemas/doctor.json +62 -0
  25. package/schemas/error.json +62 -0
  26. package/schemas/families.json +62 -0
  27. package/schemas/handoff-disable.json +62 -0
  28. package/schemas/handoff-enable.json +62 -0
  29. package/schemas/handoff-ready.json +62 -0
  30. package/schemas/handoff-setup.json +62 -0
  31. package/schemas/handoff-status.json +62 -0
  32. package/schemas/handoff-teardown.json +62 -0
  33. package/schemas/list.json +62 -0
  34. package/schemas/model.json +62 -0
  35. package/schemas/new.json +62 -0
  36. package/schemas/next.json +62 -0
  37. package/schemas/plugins.json +62 -0
  38. package/schemas/quota-setup.json +62 -0
  39. package/schemas/quota-teardown.json +62 -0
  40. package/schemas/quota.json +62 -0
  41. package/schemas/remote-control.json +62 -0
  42. package/schemas/tune-change.json +62 -0
  43. package/schemas/tune.json +62 -0
  44. package/schemas/update.json +107 -1
  45. package/skills/sideby/SKILL.md +4 -2
  46. package/skills/sideby/references/diagnose.md +1 -1
  47. package/skills/sideby/references/update.md +16 -0
package/schemas/next.json CHANGED
@@ -133,6 +133,68 @@
133
133
  }
134
134
  },
135
135
  "description": "Set when nothing can be picked and some accounts are full: the first to come back."
136
+ },
137
+ "_notice": {
138
+ "type": "object",
139
+ "properties": {
140
+ "update": {
141
+ "type": "object",
142
+ "required": [
143
+ "current",
144
+ "latest",
145
+ "command",
146
+ "message"
147
+ ],
148
+ "properties": {
149
+ "current": {
150
+ "type": "string"
151
+ },
152
+ "latest": {
153
+ "type": "string"
154
+ },
155
+ "command": {
156
+ "type": "string",
157
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
158
+ },
159
+ "message": {
160
+ "type": "string"
161
+ }
162
+ }
163
+ },
164
+ "skill": {
165
+ "type": "object",
166
+ "required": [
167
+ "installed",
168
+ "current",
169
+ "command",
170
+ "message"
171
+ ],
172
+ "properties": {
173
+ "installed": {
174
+ "anyOf": [
175
+ {
176
+ "type": "string"
177
+ },
178
+ {
179
+ "type": "null"
180
+ }
181
+ ],
182
+ "description": "The skill's version; null when it has none."
183
+ },
184
+ "current": {
185
+ "type": "string"
186
+ },
187
+ "command": {
188
+ "type": "string",
189
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
190
+ },
191
+ "message": {
192
+ "type": "string"
193
+ }
194
+ }
195
+ }
196
+ },
197
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
136
198
  }
137
199
  },
138
200
  "title": "sideby next --json"
@@ -68,6 +68,68 @@
68
68
  }
69
69
  }
70
70
  }
71
+ },
72
+ "_notice": {
73
+ "type": "object",
74
+ "properties": {
75
+ "update": {
76
+ "type": "object",
77
+ "required": [
78
+ "current",
79
+ "latest",
80
+ "command",
81
+ "message"
82
+ ],
83
+ "properties": {
84
+ "current": {
85
+ "type": "string"
86
+ },
87
+ "latest": {
88
+ "type": "string"
89
+ },
90
+ "command": {
91
+ "type": "string",
92
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
93
+ },
94
+ "message": {
95
+ "type": "string"
96
+ }
97
+ }
98
+ },
99
+ "skill": {
100
+ "type": "object",
101
+ "required": [
102
+ "installed",
103
+ "current",
104
+ "command",
105
+ "message"
106
+ ],
107
+ "properties": {
108
+ "installed": {
109
+ "anyOf": [
110
+ {
111
+ "type": "string"
112
+ },
113
+ {
114
+ "type": "null"
115
+ }
116
+ ],
117
+ "description": "The skill's version; null when it has none."
118
+ },
119
+ "current": {
120
+ "type": "string"
121
+ },
122
+ "command": {
123
+ "type": "string",
124
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
125
+ },
126
+ "message": {
127
+ "type": "string"
128
+ }
129
+ }
130
+ }
131
+ },
132
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
71
133
  }
72
134
  },
73
135
  "title": "sideby plugins --json"
@@ -54,6 +54,68 @@
54
54
  "type": "string"
55
55
  }
56
56
  }
57
+ },
58
+ "_notice": {
59
+ "type": "object",
60
+ "properties": {
61
+ "update": {
62
+ "type": "object",
63
+ "required": [
64
+ "current",
65
+ "latest",
66
+ "command",
67
+ "message"
68
+ ],
69
+ "properties": {
70
+ "current": {
71
+ "type": "string"
72
+ },
73
+ "latest": {
74
+ "type": "string"
75
+ },
76
+ "command": {
77
+ "type": "string",
78
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
79
+ },
80
+ "message": {
81
+ "type": "string"
82
+ }
83
+ }
84
+ },
85
+ "skill": {
86
+ "type": "object",
87
+ "required": [
88
+ "installed",
89
+ "current",
90
+ "command",
91
+ "message"
92
+ ],
93
+ "properties": {
94
+ "installed": {
95
+ "anyOf": [
96
+ {
97
+ "type": "string"
98
+ },
99
+ {
100
+ "type": "null"
101
+ }
102
+ ],
103
+ "description": "The skill's version; null when it has none."
104
+ },
105
+ "current": {
106
+ "type": "string"
107
+ },
108
+ "command": {
109
+ "type": "string",
110
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
111
+ },
112
+ "message": {
113
+ "type": "string"
114
+ }
115
+ }
116
+ }
117
+ },
118
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
57
119
  }
58
120
  },
59
121
  "title": "sideby quota setup --json"
@@ -24,6 +24,68 @@
24
24
  },
25
25
  "diff": {
26
26
  "type": "string"
27
+ },
28
+ "_notice": {
29
+ "type": "object",
30
+ "properties": {
31
+ "update": {
32
+ "type": "object",
33
+ "required": [
34
+ "current",
35
+ "latest",
36
+ "command",
37
+ "message"
38
+ ],
39
+ "properties": {
40
+ "current": {
41
+ "type": "string"
42
+ },
43
+ "latest": {
44
+ "type": "string"
45
+ },
46
+ "command": {
47
+ "type": "string",
48
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
49
+ },
50
+ "message": {
51
+ "type": "string"
52
+ }
53
+ }
54
+ },
55
+ "skill": {
56
+ "type": "object",
57
+ "required": [
58
+ "installed",
59
+ "current",
60
+ "command",
61
+ "message"
62
+ ],
63
+ "properties": {
64
+ "installed": {
65
+ "anyOf": [
66
+ {
67
+ "type": "string"
68
+ },
69
+ {
70
+ "type": "null"
71
+ }
72
+ ],
73
+ "description": "The skill's version; null when it has none."
74
+ },
75
+ "current": {
76
+ "type": "string"
77
+ },
78
+ "command": {
79
+ "type": "string",
80
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
81
+ },
82
+ "message": {
83
+ "type": "string"
84
+ }
85
+ }
86
+ }
87
+ },
88
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
27
89
  }
28
90
  },
29
91
  "title": "sideby quota teardown --json"
@@ -207,6 +207,68 @@
207
207
  }
208
208
  }
209
209
  }
210
+ },
211
+ "_notice": {
212
+ "type": "object",
213
+ "properties": {
214
+ "update": {
215
+ "type": "object",
216
+ "required": [
217
+ "current",
218
+ "latest",
219
+ "command",
220
+ "message"
221
+ ],
222
+ "properties": {
223
+ "current": {
224
+ "type": "string"
225
+ },
226
+ "latest": {
227
+ "type": "string"
228
+ },
229
+ "command": {
230
+ "type": "string",
231
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
232
+ },
233
+ "message": {
234
+ "type": "string"
235
+ }
236
+ }
237
+ },
238
+ "skill": {
239
+ "type": "object",
240
+ "required": [
241
+ "installed",
242
+ "current",
243
+ "command",
244
+ "message"
245
+ ],
246
+ "properties": {
247
+ "installed": {
248
+ "anyOf": [
249
+ {
250
+ "type": "string"
251
+ },
252
+ {
253
+ "type": "null"
254
+ }
255
+ ],
256
+ "description": "The skill's version; null when it has none."
257
+ },
258
+ "current": {
259
+ "type": "string"
260
+ },
261
+ "command": {
262
+ "type": "string",
263
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
264
+ },
265
+ "message": {
266
+ "type": "string"
267
+ }
268
+ }
269
+ }
270
+ },
271
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
210
272
  }
211
273
  },
212
274
  "title": "sideby quota --json"
@@ -123,6 +123,68 @@
123
123
  },
124
124
  "message": {
125
125
  "type": "string"
126
+ },
127
+ "_notice": {
128
+ "type": "object",
129
+ "properties": {
130
+ "update": {
131
+ "type": "object",
132
+ "required": [
133
+ "current",
134
+ "latest",
135
+ "command",
136
+ "message"
137
+ ],
138
+ "properties": {
139
+ "current": {
140
+ "type": "string"
141
+ },
142
+ "latest": {
143
+ "type": "string"
144
+ },
145
+ "command": {
146
+ "type": "string",
147
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
148
+ },
149
+ "message": {
150
+ "type": "string"
151
+ }
152
+ }
153
+ },
154
+ "skill": {
155
+ "type": "object",
156
+ "required": [
157
+ "installed",
158
+ "current",
159
+ "command",
160
+ "message"
161
+ ],
162
+ "properties": {
163
+ "installed": {
164
+ "anyOf": [
165
+ {
166
+ "type": "string"
167
+ },
168
+ {
169
+ "type": "null"
170
+ }
171
+ ],
172
+ "description": "The skill's version; null when it has none."
173
+ },
174
+ "current": {
175
+ "type": "string"
176
+ },
177
+ "command": {
178
+ "type": "string",
179
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
180
+ },
181
+ "message": {
182
+ "type": "string"
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
126
188
  }
127
189
  },
128
190
  "title": "sideby remote-control [off|undo] --json"
@@ -120,6 +120,68 @@
120
120
  },
121
121
  "message": {
122
122
  "type": "string"
123
+ },
124
+ "_notice": {
125
+ "type": "object",
126
+ "properties": {
127
+ "update": {
128
+ "type": "object",
129
+ "required": [
130
+ "current",
131
+ "latest",
132
+ "command",
133
+ "message"
134
+ ],
135
+ "properties": {
136
+ "current": {
137
+ "type": "string"
138
+ },
139
+ "latest": {
140
+ "type": "string"
141
+ },
142
+ "command": {
143
+ "type": "string",
144
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
145
+ },
146
+ "message": {
147
+ "type": "string"
148
+ }
149
+ }
150
+ },
151
+ "skill": {
152
+ "type": "object",
153
+ "required": [
154
+ "installed",
155
+ "current",
156
+ "command",
157
+ "message"
158
+ ],
159
+ "properties": {
160
+ "installed": {
161
+ "anyOf": [
162
+ {
163
+ "type": "string"
164
+ },
165
+ {
166
+ "type": "null"
167
+ }
168
+ ],
169
+ "description": "The skill's version; null when it has none."
170
+ },
171
+ "current": {
172
+ "type": "string"
173
+ },
174
+ "command": {
175
+ "type": "string",
176
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
177
+ },
178
+ "message": {
179
+ "type": "string"
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
123
185
  }
124
186
  },
125
187
  "title": "sideby tune apply|undo --json"
package/schemas/tune.json CHANGED
@@ -242,6 +242,68 @@
242
242
  }
243
243
  }
244
244
  }
245
+ },
246
+ "_notice": {
247
+ "type": "object",
248
+ "properties": {
249
+ "update": {
250
+ "type": "object",
251
+ "required": [
252
+ "current",
253
+ "latest",
254
+ "command",
255
+ "message"
256
+ ],
257
+ "properties": {
258
+ "current": {
259
+ "type": "string"
260
+ },
261
+ "latest": {
262
+ "type": "string"
263
+ },
264
+ "command": {
265
+ "type": "string",
266
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
267
+ },
268
+ "message": {
269
+ "type": "string"
270
+ }
271
+ }
272
+ },
273
+ "skill": {
274
+ "type": "object",
275
+ "required": [
276
+ "installed",
277
+ "current",
278
+ "command",
279
+ "message"
280
+ ],
281
+ "properties": {
282
+ "installed": {
283
+ "anyOf": [
284
+ {
285
+ "type": "string"
286
+ },
287
+ {
288
+ "type": "null"
289
+ }
290
+ ],
291
+ "description": "The skill's version; null when it has none."
292
+ },
293
+ "current": {
294
+ "type": "string"
295
+ },
296
+ "command": {
297
+ "type": "string",
298
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
299
+ },
300
+ "message": {
301
+ "type": "string"
302
+ }
303
+ }
304
+ }
305
+ },
306
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
245
307
  }
246
308
  },
247
309
  "title": "sideby tune --json"
@@ -108,11 +108,117 @@
108
108
  },
109
109
  "skill": {
110
110
  "type": "string",
111
- "description": "The command that updates the sideby skill; sideby never runs it."
111
+ "description": "The command that installs the sideby skill by hand."
112
+ },
113
+ "skillUpdate": {
114
+ "type": "object",
115
+ "required": [
116
+ "installed",
117
+ "outdated",
118
+ "command",
119
+ "canRun"
120
+ ],
121
+ "properties": {
122
+ "installed": {
123
+ "type": "array",
124
+ "items": {
125
+ "anyOf": [
126
+ {
127
+ "type": "string"
128
+ },
129
+ {
130
+ "type": "null"
131
+ }
132
+ ]
133
+ },
134
+ "description": "Versions of the installed sideby skills; null for one without a version."
135
+ },
136
+ "outdated": {
137
+ "type": "boolean",
138
+ "description": "Some installed skill is for another version than sideby will run."
139
+ },
140
+ "command": {
141
+ "type": "string"
142
+ },
143
+ "canRun": {
144
+ "type": "boolean",
145
+ "description": "False when sideby leaves the skill alone (see reason): give the user command."
146
+ },
147
+ "reason": {
148
+ "type": "string"
149
+ }
150
+ },
151
+ "description": "The installed sideby skill, which the Update brings along; absent when none is installed."
152
+ },
153
+ "skillUpdated": {
154
+ "type": "boolean",
155
+ "description": "The skill was updated too (true) or that failed (false); absent when not tried."
112
156
  },
113
157
  "output": {
114
158
  "type": "string",
115
159
  "description": "What the failed install command printed."
160
+ },
161
+ "_notice": {
162
+ "type": "object",
163
+ "properties": {
164
+ "update": {
165
+ "type": "object",
166
+ "required": [
167
+ "current",
168
+ "latest",
169
+ "command",
170
+ "message"
171
+ ],
172
+ "properties": {
173
+ "current": {
174
+ "type": "string"
175
+ },
176
+ "latest": {
177
+ "type": "string"
178
+ },
179
+ "command": {
180
+ "type": "string",
181
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
182
+ },
183
+ "message": {
184
+ "type": "string"
185
+ }
186
+ }
187
+ },
188
+ "skill": {
189
+ "type": "object",
190
+ "required": [
191
+ "installed",
192
+ "current",
193
+ "command",
194
+ "message"
195
+ ],
196
+ "properties": {
197
+ "installed": {
198
+ "anyOf": [
199
+ {
200
+ "type": "string"
201
+ },
202
+ {
203
+ "type": "null"
204
+ }
205
+ ],
206
+ "description": "The skill's version; null when it has none."
207
+ },
208
+ "current": {
209
+ "type": "string"
210
+ },
211
+ "command": {
212
+ "type": "string",
213
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
214
+ },
215
+ "message": {
216
+ "type": "string"
217
+ }
218
+ }
219
+ }
220
+ },
221
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
116
222
  }
117
223
  },
118
224
  "title": "sideby update --json"