sideby 0.13.0 → 0.14.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.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/dist/build.json +1 -1
  3. package/dist/src/cli/commands.d.ts +3 -2
  4. package/dist/src/cli/commands.js +69 -8
  5. package/dist/src/cli/format.js +7 -3
  6. package/dist/src/cli/json-schemas.js +62 -2
  7. package/dist/src/cli/main.js +42 -4
  8. package/dist/src/core/config.d.ts +27 -0
  9. package/dist/src/core/config.js +48 -1
  10. package/dist/src/core/handoff-enable.js +10 -5
  11. package/dist/src/core/launch.d.ts +5 -0
  12. package/dist/src/core/launch.js +14 -3
  13. package/dist/src/core/quota-fetch.d.ts +22 -0
  14. package/dist/src/core/quota-fetch.js +98 -0
  15. package/dist/src/core/quota-levels.d.ts +3 -2
  16. package/dist/src/core/quota-levels.js +8 -4
  17. package/dist/src/core/quota-store.d.ts +19 -0
  18. package/dist/src/core/quota-store.js +62 -0
  19. package/dist/src/core/skill-check.d.ts +15 -0
  20. package/dist/src/core/skill-check.js +49 -3
  21. package/dist/src/core/update.d.ts +45 -0
  22. package/dist/src/core/update.js +72 -1
  23. package/dist/src/families/grok/handoff-hook.d.ts +6 -0
  24. package/dist/src/families/grok/handoff-hook.js +45 -2
  25. package/dist/src/families/grok/handoff.d.ts +6 -1
  26. package/dist/src/families/grok/handoff.js +30 -13
  27. package/dist/src/families/grok/index.js +5 -0
  28. package/dist/src/families/grok/quota-log.d.ts +30 -0
  29. package/dist/src/families/grok/quota-log.js +140 -0
  30. package/dist/src/families/grok/quota.d.ts +5 -0
  31. package/dist/src/families/grok/quota.js +112 -0
  32. package/dist/src/panel/handler.d.ts +9 -3
  33. package/dist/src/panel/handler.js +65 -3
  34. package/dist/src/panel/i18n.d.ts +25 -5
  35. package/dist/src/panel/i18n.js +52 -12
  36. package/dist/src/panel/page-logic.d.ts +18 -2
  37. package/dist/src/panel/page-logic.js +53 -6
  38. package/dist/src/panel/page-script.js +286 -92
  39. package/dist/src/panel/page-styles.js +30 -10
  40. package/dist/src/runtime.d.ts +30 -2
  41. package/dist/src/runtime.js +64 -21
  42. package/dist/src/types.d.ts +49 -1
  43. package/package.json +2 -2
  44. package/schemas/alias.json +62 -0
  45. package/schemas/app-install.json +62 -0
  46. package/schemas/app-uninstall.json +62 -0
  47. package/schemas/browser-open.json +62 -0
  48. package/schemas/browser-switch.json +62 -0
  49. package/schemas/browser.json +62 -0
  50. package/schemas/config.json +46 -0
  51. package/schemas/desktop-remove.json +62 -0
  52. package/schemas/desktop.json +62 -0
  53. package/schemas/doctor.json +62 -0
  54. package/schemas/error.json +62 -0
  55. package/schemas/families.json +62 -0
  56. package/schemas/handoff-disable.json +62 -0
  57. package/schemas/handoff-enable.json +62 -0
  58. package/schemas/handoff-ready.json +62 -0
  59. package/schemas/handoff-setup.json +62 -0
  60. package/schemas/handoff-status.json +62 -0
  61. package/schemas/handoff-teardown.json +62 -0
  62. package/schemas/list.json +62 -0
  63. package/schemas/model.json +62 -0
  64. package/schemas/new.json +62 -0
  65. package/schemas/next.json +62 -0
  66. package/schemas/plugins.json +62 -0
  67. package/schemas/quota-setup.json +62 -0
  68. package/schemas/quota-teardown.json +62 -0
  69. package/schemas/quota.json +76 -1
  70. package/schemas/remote-control.json +62 -0
  71. package/schemas/tune-change.json +62 -0
  72. package/schemas/tune.json +62 -0
  73. package/schemas/update.json +107 -1
  74. package/skills/sideby/SKILL.md +4 -2
  75. package/skills/sideby/references/diagnose.md +3 -2
  76. package/skills/sideby/references/handoff.md +1 -1
  77. package/skills/sideby/references/quota.md +5 -1
  78. package/skills/sideby/references/update.md +16 -0
@@ -100,6 +100,68 @@
100
100
  "items": {
101
101
  "type": "string"
102
102
  }
103
+ },
104
+ "_notice": {
105
+ "type": "object",
106
+ "properties": {
107
+ "update": {
108
+ "type": "object",
109
+ "required": [
110
+ "current",
111
+ "latest",
112
+ "command",
113
+ "message"
114
+ ],
115
+ "properties": {
116
+ "current": {
117
+ "type": "string"
118
+ },
119
+ "latest": {
120
+ "type": "string"
121
+ },
122
+ "command": {
123
+ "type": "string",
124
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
125
+ },
126
+ "message": {
127
+ "type": "string"
128
+ }
129
+ }
130
+ },
131
+ "skill": {
132
+ "type": "object",
133
+ "required": [
134
+ "installed",
135
+ "current",
136
+ "command",
137
+ "message"
138
+ ],
139
+ "properties": {
140
+ "installed": {
141
+ "anyOf": [
142
+ {
143
+ "type": "string"
144
+ },
145
+ {
146
+ "type": "null"
147
+ }
148
+ ],
149
+ "description": "The skill's version; null when it has none."
150
+ },
151
+ "current": {
152
+ "type": "string"
153
+ },
154
+ "command": {
155
+ "type": "string",
156
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
157
+ },
158
+ "message": {
159
+ "type": "string"
160
+ }
161
+ }
162
+ }
163
+ },
164
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
103
165
  }
104
166
  },
105
167
  "title": "sideby handoff enable --json"
@@ -24,6 +24,68 @@
24
24
  "now": {
25
25
  "type": "boolean",
26
26
  "const": true
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 handoff ready --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 handoff setup --json"
@@ -131,6 +131,68 @@
131
131
  "items": {
132
132
  "type": "string"
133
133
  }
134
+ },
135
+ "_notice": {
136
+ "type": "object",
137
+ "properties": {
138
+ "update": {
139
+ "type": "object",
140
+ "required": [
141
+ "current",
142
+ "latest",
143
+ "command",
144
+ "message"
145
+ ],
146
+ "properties": {
147
+ "current": {
148
+ "type": "string"
149
+ },
150
+ "latest": {
151
+ "type": "string"
152
+ },
153
+ "command": {
154
+ "type": "string",
155
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
156
+ },
157
+ "message": {
158
+ "type": "string"
159
+ }
160
+ }
161
+ },
162
+ "skill": {
163
+ "type": "object",
164
+ "required": [
165
+ "installed",
166
+ "current",
167
+ "command",
168
+ "message"
169
+ ],
170
+ "properties": {
171
+ "installed": {
172
+ "anyOf": [
173
+ {
174
+ "type": "string"
175
+ },
176
+ {
177
+ "type": "null"
178
+ }
179
+ ],
180
+ "description": "The skill's version; null when it has none."
181
+ },
182
+ "current": {
183
+ "type": "string"
184
+ },
185
+ "command": {
186
+ "type": "string",
187
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
188
+ },
189
+ "message": {
190
+ "type": "string"
191
+ }
192
+ }
193
+ }
194
+ },
195
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
134
196
  }
135
197
  },
136
198
  "title": "sideby handoff status --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 handoff teardown --json"
package/schemas/list.json CHANGED
@@ -255,6 +255,68 @@
255
255
  }
256
256
  }
257
257
  }
258
+ },
259
+ "_notice": {
260
+ "type": "object",
261
+ "properties": {
262
+ "update": {
263
+ "type": "object",
264
+ "required": [
265
+ "current",
266
+ "latest",
267
+ "command",
268
+ "message"
269
+ ],
270
+ "properties": {
271
+ "current": {
272
+ "type": "string"
273
+ },
274
+ "latest": {
275
+ "type": "string"
276
+ },
277
+ "command": {
278
+ "type": "string",
279
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
280
+ },
281
+ "message": {
282
+ "type": "string"
283
+ }
284
+ }
285
+ },
286
+ "skill": {
287
+ "type": "object",
288
+ "required": [
289
+ "installed",
290
+ "current",
291
+ "command",
292
+ "message"
293
+ ],
294
+ "properties": {
295
+ "installed": {
296
+ "anyOf": [
297
+ {
298
+ "type": "string"
299
+ },
300
+ {
301
+ "type": "null"
302
+ }
303
+ ],
304
+ "description": "The skill's version; null when it has none."
305
+ },
306
+ "current": {
307
+ "type": "string"
308
+ },
309
+ "command": {
310
+ "type": "string",
311
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
312
+ },
313
+ "message": {
314
+ "type": "string"
315
+ }
316
+ }
317
+ }
318
+ },
319
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
258
320
  }
259
321
  },
260
322
  "title": "sideby list --json"
@@ -163,6 +163,68 @@
163
163
  "description": "The account arguments in the config after the change."
164
164
  }
165
165
  }
166
+ },
167
+ "_notice": {
168
+ "type": "object",
169
+ "properties": {
170
+ "update": {
171
+ "type": "object",
172
+ "required": [
173
+ "current",
174
+ "latest",
175
+ "command",
176
+ "message"
177
+ ],
178
+ "properties": {
179
+ "current": {
180
+ "type": "string"
181
+ },
182
+ "latest": {
183
+ "type": "string"
184
+ },
185
+ "command": {
186
+ "type": "string",
187
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
188
+ },
189
+ "message": {
190
+ "type": "string"
191
+ }
192
+ }
193
+ },
194
+ "skill": {
195
+ "type": "object",
196
+ "required": [
197
+ "installed",
198
+ "current",
199
+ "command",
200
+ "message"
201
+ ],
202
+ "properties": {
203
+ "installed": {
204
+ "anyOf": [
205
+ {
206
+ "type": "string"
207
+ },
208
+ {
209
+ "type": "null"
210
+ }
211
+ ],
212
+ "description": "The skill's version; null when it has none."
213
+ },
214
+ "current": {
215
+ "type": "string"
216
+ },
217
+ "command": {
218
+ "type": "string",
219
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
220
+ },
221
+ "message": {
222
+ "type": "string"
223
+ }
224
+ }
225
+ }
226
+ },
227
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
166
228
  }
167
229
  },
168
230
  "title": "sideby model --json"
package/schemas/new.json CHANGED
@@ -193,6 +193,68 @@
193
193
  }
194
194
  },
195
195
  "description": "Only with `--next`: the picked name, the short command that follows the existing pattern, or why that short command was left out."
196
+ },
197
+ "_notice": {
198
+ "type": "object",
199
+ "properties": {
200
+ "update": {
201
+ "type": "object",
202
+ "required": [
203
+ "current",
204
+ "latest",
205
+ "command",
206
+ "message"
207
+ ],
208
+ "properties": {
209
+ "current": {
210
+ "type": "string"
211
+ },
212
+ "latest": {
213
+ "type": "string"
214
+ },
215
+ "command": {
216
+ "type": "string",
217
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
218
+ },
219
+ "message": {
220
+ "type": "string"
221
+ }
222
+ }
223
+ },
224
+ "skill": {
225
+ "type": "object",
226
+ "required": [
227
+ "installed",
228
+ "current",
229
+ "command",
230
+ "message"
231
+ ],
232
+ "properties": {
233
+ "installed": {
234
+ "anyOf": [
235
+ {
236
+ "type": "string"
237
+ },
238
+ {
239
+ "type": "null"
240
+ }
241
+ ],
242
+ "description": "The skill's version; null when it has none."
243
+ },
244
+ "current": {
245
+ "type": "string"
246
+ },
247
+ "command": {
248
+ "type": "string",
249
+ "description": "Updates the installed sideby skill (run it after the user agrees)."
250
+ },
251
+ "message": {
252
+ "type": "string"
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
196
258
  }
197
259
  },
198
260
  "title": "sideby new --json"
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"