sideby 0.12.1 → 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 (86) hide show
  1. package/README.md +1 -1
  2. package/dist/build.json +1 -1
  3. package/dist/src/cli/commands.d.ts +5 -2
  4. package/dist/src/cli/commands.js +165 -20
  5. package/dist/src/cli/json-schemas.js +100 -2
  6. package/dist/src/cli/main.js +72 -4
  7. package/dist/src/core/brand-mark.d.ts +5 -7
  8. package/dist/src/core/brand-mark.js +18 -5
  9. package/dist/src/core/browser-profiles.d.ts +71 -0
  10. package/dist/src/core/browser-profiles.js +361 -0
  11. package/dist/src/core/config.d.ts +15 -0
  12. package/dist/src/core/config.js +13 -1
  13. package/dist/src/core/create.js +2 -1
  14. package/dist/src/core/desktop-app.d.ts +3 -1
  15. package/dist/src/core/desktop-app.js +29 -8
  16. package/dist/src/core/launch.d.ts +7 -0
  17. package/dist/src/core/launch.js +22 -2
  18. package/dist/src/core/leveldb-keys.d.ts +14 -0
  19. package/dist/src/core/leveldb-keys.js +291 -0
  20. package/dist/src/core/remote-control.d.ts +17 -6
  21. package/dist/src/core/remote-control.js +40 -17
  22. package/dist/src/core/skill-check.d.ts +13 -0
  23. package/dist/src/core/skill-check.js +29 -1
  24. package/dist/src/core/update.d.ts +55 -3
  25. package/dist/src/core/update.js +124 -4
  26. package/dist/src/core/version.d.ts +11 -0
  27. package/dist/src/core/version.js +26 -0
  28. package/dist/src/desktop/app.d.ts +2 -0
  29. package/dist/src/desktop/app.js +39 -3
  30. package/dist/src/families/browser.d.ts +20 -0
  31. package/dist/src/families/browser.js +23 -0
  32. package/dist/src/families/claude/browser.d.ts +3 -0
  33. package/dist/src/families/claude/browser.js +14 -0
  34. package/dist/src/families/claude/desktop.js +1 -0
  35. package/dist/src/families/codex/browser.d.ts +7 -0
  36. package/dist/src/families/codex/browser.js +26 -0
  37. package/dist/src/families/desktop.d.ts +5 -1
  38. package/dist/src/families/pi/index.js +2 -0
  39. package/dist/src/panel/handler.d.ts +9 -1
  40. package/dist/src/panel/handler.js +54 -6
  41. package/dist/src/panel/i18n.d.ts +74 -4
  42. package/dist/src/panel/i18n.js +160 -20
  43. package/dist/src/panel/page-logic.d.ts +23 -0
  44. package/dist/src/panel/page-logic.js +44 -0
  45. package/dist/src/panel/page-script.js +587 -183
  46. package/dist/src/panel/page-styles.js +61 -18
  47. package/dist/src/panel/page.d.ts +5 -0
  48. package/dist/src/panel/page.js +10 -9
  49. package/dist/src/runtime.d.ts +6 -1
  50. package/dist/src/runtime.js +22 -11
  51. package/dist/src/types.d.ts +2 -0
  52. package/package.json +5 -3
  53. package/schemas/alias.json +62 -0
  54. package/schemas/app-install.json +62 -0
  55. package/schemas/app-uninstall.json +62 -0
  56. package/schemas/browser-open.json +109 -0
  57. package/schemas/browser-switch.json +104 -0
  58. package/schemas/browser.json +161 -0
  59. package/schemas/config.json +11 -0
  60. package/schemas/desktop-remove.json +62 -0
  61. package/schemas/desktop.json +62 -0
  62. package/schemas/doctor.json +62 -0
  63. package/schemas/error.json +62 -0
  64. package/schemas/families.json +68 -0
  65. package/schemas/handoff-disable.json +62 -0
  66. package/schemas/handoff-enable.json +62 -0
  67. package/schemas/handoff-ready.json +62 -0
  68. package/schemas/handoff-setup.json +62 -0
  69. package/schemas/handoff-status.json +62 -0
  70. package/schemas/handoff-teardown.json +62 -0
  71. package/schemas/list.json +68 -0
  72. package/schemas/model.json +62 -0
  73. package/schemas/new.json +62 -0
  74. package/schemas/next.json +62 -0
  75. package/schemas/plugins.json +62 -0
  76. package/schemas/quota-setup.json +62 -0
  77. package/schemas/quota-teardown.json +62 -0
  78. package/schemas/quota.json +62 -0
  79. package/schemas/remote-control.json +66 -0
  80. package/schemas/tune-change.json +62 -0
  81. package/schemas/tune.json +62 -0
  82. package/schemas/update.json +111 -1
  83. package/skills/sideby/SKILL.md +8 -4
  84. package/skills/sideby/references/diagnose.md +1 -1
  85. package/skills/sideby/references/setup.md +1 -1
  86. package/skills/sideby/references/update.md +16 -0
@@ -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"
@@ -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"
@@ -17,6 +17,10 @@
17
17
  "type": "string",
18
18
  "const": "status"
19
19
  },
20
+ {
21
+ "type": "string",
22
+ "const": "on"
23
+ },
20
24
  {
21
25
  "type": "string",
22
26
  "const": "off"
@@ -119,6 +123,68 @@
119
123
  },
120
124
  "message": {
121
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."
122
188
  }
123
189
  },
124
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"