sideby 0.19.1 → 0.21.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 (159) hide show
  1. package/README.md +7 -4
  2. package/ai-tasks.json +28 -0
  3. package/dist/build.json +1 -1
  4. package/dist/src/cli/commands.d.ts +22 -1
  5. package/dist/src/cli/commands.js +815 -21
  6. package/dist/src/cli/format.d.ts +4 -0
  7. package/dist/src/cli/format.js +42 -4
  8. package/dist/src/cli/json-schemas.js +334 -4
  9. package/dist/src/cli/main.js +159 -13
  10. package/dist/src/core/accounts.d.ts +6 -0
  11. package/dist/src/core/accounts.js +12 -0
  12. package/dist/src/core/autostart.d.ts +11 -0
  13. package/dist/src/core/autostart.js +32 -5
  14. package/dist/src/core/browser-profiles.d.ts +23 -2
  15. package/dist/src/core/browser-profiles.js +148 -37
  16. package/dist/src/core/claude-settings-file.d.ts +18 -0
  17. package/dist/src/core/claude-settings-file.js +52 -3
  18. package/dist/src/core/config.d.ts +5 -0
  19. package/dist/src/core/config.js +12 -1
  20. package/dist/src/core/edit-settings.d.ts +7 -0
  21. package/dist/src/core/edit-settings.js +10 -5
  22. package/dist/src/core/history-group.d.ts +28 -0
  23. package/dist/src/core/history-group.js +47 -0
  24. package/dist/src/core/history-index.d.ts +145 -0
  25. package/dist/src/core/history-index.js +447 -0
  26. package/dist/src/core/history-project.d.ts +13 -0
  27. package/dist/src/core/history-project.js +87 -0
  28. package/dist/src/core/history.d.ts +210 -0
  29. package/dist/src/core/history.js +952 -0
  30. package/dist/src/core/inbound.d.ts +62 -0
  31. package/dist/src/core/inbound.js +215 -0
  32. package/dist/src/core/launch.d.ts +9 -1
  33. package/dist/src/core/launch.js +58 -24
  34. package/dist/src/core/live-sessions-copy.d.ts +5 -0
  35. package/dist/src/core/live-sessions-copy.js +46 -0
  36. package/dist/src/core/live-sessions-procs.d.ts +89 -0
  37. package/dist/src/core/live-sessions-procs.js +296 -0
  38. package/dist/src/core/live-sessions-title.d.ts +28 -0
  39. package/dist/src/core/live-sessions-title.js +80 -0
  40. package/dist/src/core/live-sessions.d.ts +68 -0
  41. package/dist/src/core/live-sessions.js +163 -0
  42. package/dist/src/core/login-check.d.ts +15 -0
  43. package/dist/src/core/login-check.js +32 -0
  44. package/dist/src/core/messages.d.ts +83 -0
  45. package/dist/src/core/messages.js +433 -0
  46. package/dist/src/core/project-categories.d.ts +14 -0
  47. package/dist/src/core/project-categories.js +48 -0
  48. package/dist/src/core/quota-fetch.d.ts +3 -3
  49. package/dist/src/core/quota-fetch.js +5 -5
  50. package/dist/src/core/quota-levels.d.ts +5 -0
  51. package/dist/src/core/quota-levels.js +5 -0
  52. package/dist/src/core/remote-control.d.ts +2 -0
  53. package/dist/src/core/remote-control.js +34 -59
  54. package/dist/src/core/run-link.d.ts +76 -0
  55. package/dist/src/core/run-link.js +245 -0
  56. package/dist/src/core/same-login.d.ts +4 -3
  57. package/dist/src/core/same-login.js +10 -7
  58. package/dist/src/core/session-select.d.ts +31 -0
  59. package/dist/src/core/session-select.js +44 -0
  60. package/dist/src/families/browser.d.ts +7 -18
  61. package/dist/src/families/browser.js +19 -8
  62. package/dist/src/families/claude/deliver.d.ts +2 -0
  63. package/dist/src/families/claude/deliver.js +43 -0
  64. package/dist/src/families/claude/history.d.ts +2 -0
  65. package/dist/src/families/claude/history.js +192 -0
  66. package/dist/src/families/claude/live-sessions.d.ts +13 -0
  67. package/dist/src/families/claude/live-sessions.js +117 -0
  68. package/dist/src/families/claude/messaging.d.ts +69 -0
  69. package/dist/src/families/claude/messaging.js +165 -0
  70. package/dist/src/families/claude/mod.d.ts +26 -0
  71. package/dist/src/families/claude/mod.js +105 -0
  72. package/dist/src/families/claude/session-files.d.ts +21 -0
  73. package/dist/src/families/claude/session-files.js +54 -0
  74. package/dist/src/families/codex/deliver.d.ts +5 -0
  75. package/dist/src/families/codex/deliver.js +76 -0
  76. package/dist/src/families/codex/history.d.ts +7 -0
  77. package/dist/src/families/codex/history.js +174 -0
  78. package/dist/src/families/codex/index.js +2 -0
  79. package/dist/src/families/codex/live-sessions.d.ts +12 -0
  80. package/dist/src/families/codex/live-sessions.js +193 -0
  81. package/dist/src/families/codex/quota.d.ts +3 -0
  82. package/dist/src/families/codex/quota.js +123 -0
  83. package/dist/src/families/codex/rate-limits.js +2 -0
  84. package/dist/src/families/codex/rollout.js +1 -1
  85. package/dist/src/families/grok/browser.d.ts +3 -0
  86. package/dist/src/families/grok/browser.js +5 -0
  87. package/dist/src/families/grok/history.d.ts +2 -0
  88. package/dist/src/families/grok/history.js +157 -0
  89. package/dist/src/families/grok/live-sessions.d.ts +4 -0
  90. package/dist/src/families/grok/live-sessions.js +80 -0
  91. package/dist/src/families/grok/login-key.d.ts +14 -0
  92. package/dist/src/families/grok/login-key.js +37 -0
  93. package/dist/src/families/history.d.ts +20 -0
  94. package/dist/src/families/history.js +81 -0
  95. package/dist/src/families/live-sessions.d.ts +26 -0
  96. package/dist/src/families/live-sessions.js +9 -0
  97. package/dist/src/families/login-keys.js +5 -1
  98. package/dist/src/families/messaging.d.ts +27 -0
  99. package/dist/src/families/messaging.js +6 -0
  100. package/dist/src/families/pi/history.d.ts +2 -0
  101. package/dist/src/families/pi/history.js +124 -0
  102. package/dist/src/families/pi/live-sessions.d.ts +2 -0
  103. package/dist/src/families/pi/live-sessions.js +70 -0
  104. package/dist/src/families/shared/history-text.d.ts +65 -0
  105. package/dist/src/families/shared/history-text.js +261 -0
  106. package/dist/src/menubar/hotkey.d.ts +86 -0
  107. package/dist/src/menubar/hotkey.js +159 -0
  108. package/dist/src/menubar/script.d.ts +2 -0
  109. package/dist/src/menubar/script.js +118 -22
  110. package/dist/src/menubar/snapshot.d.ts +8 -4
  111. package/dist/src/menubar/snapshot.js +45 -13
  112. package/dist/src/menubar/strings.d.ts +24 -6
  113. package/dist/src/menubar/strings.js +24 -6
  114. package/dist/src/panel/handler.d.ts +69 -0
  115. package/dist/src/panel/handler.js +686 -15
  116. package/dist/src/panel/i18n.d.ts +305 -3
  117. package/dist/src/panel/i18n.js +622 -18
  118. package/dist/src/panel/orca.d.ts +48 -0
  119. package/dist/src/panel/orca.js +153 -0
  120. package/dist/src/panel/page-logic.d.ts +260 -13
  121. package/dist/src/panel/page-logic.js +497 -1
  122. package/dist/src/panel/page-script.js +2309 -204
  123. package/dist/src/panel/page-styles.js +398 -32
  124. package/dist/src/panel/page.js +1 -0
  125. package/dist/src/plugins/check.js +16 -4
  126. package/dist/src/plugins/loader.d.ts +8 -1
  127. package/dist/src/plugins/loader.js +72 -7
  128. package/dist/src/runtime.d.ts +5 -0
  129. package/dist/src/runtime.js +27 -5
  130. package/dist/src/types.d.ts +116 -1
  131. package/dist/testing/index.d.ts +5 -0
  132. package/dist/testing/index.js +5 -0
  133. package/mods/claude/.claude-plugin/plugin.json +7 -0
  134. package/mods/claude/hooks/hooks.json +1 -0
  135. package/mods/claude/hooks/register.js +261 -0
  136. package/package.json +5 -2
  137. package/schemas/autostart.json +74 -1
  138. package/schemas/browser-set.json +110 -0
  139. package/schemas/browser.json +22 -2
  140. package/schemas/config.json +26 -1
  141. package/schemas/history-index.json +209 -0
  142. package/schemas/history-projects.json +133 -0
  143. package/schemas/history-show.json +275 -0
  144. package/schemas/history.json +410 -0
  145. package/schemas/menubar-hotkey.json +139 -0
  146. package/schemas/menubar-snapshot.json +36 -2
  147. package/schemas/menubar.json +74 -1
  148. package/schemas/messages-inbound.json +258 -0
  149. package/schemas/messages.json +164 -0
  150. package/schemas/send.json +165 -0
  151. package/schemas/sessions-copy.json +113 -0
  152. package/schemas/sessions-open-run.json +97 -0
  153. package/schemas/sessions.json +237 -0
  154. package/skills/sideby/SKILL.md +10 -5
  155. package/skills/sideby/references/accounts.md +11 -0
  156. package/skills/sideby/references/ai-tasks.md +17 -1
  157. package/skills/sideby/references/panel.md +6 -4
  158. package/skills/sideby/references/quota.md +2 -2
  159. package/skills/sideby/references/sessions.md +79 -0
@@ -0,0 +1,410 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sideby/history.json",
4
+ "type": "object",
5
+ "required": [
6
+ "schemaVersion",
7
+ "sessions",
8
+ "total",
9
+ "index",
10
+ "sources",
11
+ "problems"
12
+ ],
13
+ "properties": {
14
+ "schemaVersion": {
15
+ "type": "number",
16
+ "const": 1
17
+ },
18
+ "sessions": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "object",
22
+ "required": [
23
+ "account",
24
+ "accountLabel",
25
+ "family",
26
+ "sessionId",
27
+ "title",
28
+ "titleFrom",
29
+ "project",
30
+ "projectName",
31
+ "cwd",
32
+ "startedAt",
33
+ "updatedAt",
34
+ "messages",
35
+ "script",
36
+ "children",
37
+ "live",
38
+ "transcript",
39
+ "resumeCommand",
40
+ "continueCommand",
41
+ "reference"
42
+ ],
43
+ "properties": {
44
+ "account": {
45
+ "type": "string",
46
+ "description": "The Account ref, for example `claude:work`."
47
+ },
48
+ "accountLabel": {
49
+ "type": "string",
50
+ "description": "The account's short command when it has one, else its ref."
51
+ },
52
+ "family": {
53
+ "type": "string"
54
+ },
55
+ "sessionId": {
56
+ "type": "string",
57
+ "description": "The host's own session id."
58
+ },
59
+ "title": {
60
+ "type": "string",
61
+ "description": "The Session Title: the name the user gave it, else the host's title, else the first prompt; may be empty."
62
+ },
63
+ "titleFrom": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "const": "user"
68
+ },
69
+ {
70
+ "type": "string",
71
+ "const": "host"
72
+ },
73
+ {
74
+ "type": "string",
75
+ "const": "prompt"
76
+ },
77
+ {
78
+ "type": "string",
79
+ "const": "none"
80
+ }
81
+ ]
82
+ },
83
+ "project": {
84
+ "type": "string",
85
+ "description": "The Project: the git repository root of the working directory (worktrees folded in), else the folder."
86
+ },
87
+ "projectName": {
88
+ "type": "string",
89
+ "description": "Its folder name, with the parent folder when two Projects share one."
90
+ },
91
+ "cwd": {
92
+ "type": "string",
93
+ "description": "The working directory the session ran in; may be empty."
94
+ },
95
+ "cwdGone": {
96
+ "type": "boolean",
97
+ "description": "True when that folder no longer exists."
98
+ },
99
+ "branch": {
100
+ "type": "string"
101
+ },
102
+ "model": {
103
+ "type": "string"
104
+ },
105
+ "startedAt": {
106
+ "type": "string",
107
+ "description": "ISO time; empty when the record gives none."
108
+ },
109
+ "updatedAt": {
110
+ "type": "string",
111
+ "description": "Last activity, ISO time; empty when the record gives none."
112
+ },
113
+ "messages": {
114
+ "type": "integer",
115
+ "description": "Prompts plus replies."
116
+ },
117
+ "script": {
118
+ "type": "boolean",
119
+ "description": "A Script Session: started by a script, an SDK or another agent."
120
+ },
121
+ "parent": {
122
+ "type": "string",
123
+ "description": "For a subagent session: the session id that started it."
124
+ },
125
+ "children": {
126
+ "type": "integer",
127
+ "description": "Subagent sessions it started."
128
+ },
129
+ "preview": {
130
+ "type": "string",
131
+ "description": "The first prompt on one line (at most 240 characters), when it says more than the title."
132
+ },
133
+ "snippet": {
134
+ "type": "string",
135
+ "description": "Where the words matched, about 40 characters each side."
136
+ },
137
+ "foundIn": {
138
+ "type": "string",
139
+ "const": "tools",
140
+ "description": "`tools` when the words matched only its tool output (--tools)."
141
+ },
142
+ "live": {
143
+ "type": "boolean",
144
+ "description": "True while the session is running."
145
+ },
146
+ "transcript": {
147
+ "type": "string",
148
+ "description": "Path of the session's record."
149
+ },
150
+ "resumeCommand": {
151
+ "type": "string",
152
+ "description": "The command that resumes it in the account that holds it."
153
+ },
154
+ "continueCommand": {
155
+ "type": "string",
156
+ "description": "`cd <cwd> && <resumeCommand>` (only the resume command when the folder is gone): continue it where it was."
157
+ },
158
+ "reference": {
159
+ "type": "string",
160
+ "description": "The Session Reference in English: one sentence that points another AI at the session and its record."
161
+ },
162
+ "group": {
163
+ "type": "string",
164
+ "description": "With --group: the key of the group the session is listed under."
165
+ }
166
+ }
167
+ },
168
+ "description": "Sessions best match first (relevance times recency), or newest first without words; subagent sessions are counted in their parent. Matches found only in tool output (--tools) come last."
169
+ },
170
+ "total": {
171
+ "type": "integer",
172
+ "description": "All matching sessions; more than `sessions` when --limit or --offset cut the list."
173
+ },
174
+ "index": {
175
+ "type": "object",
176
+ "required": [
177
+ "state",
178
+ "progress"
179
+ ],
180
+ "properties": {
181
+ "state": {
182
+ "anyOf": [
183
+ {
184
+ "type": "string",
185
+ "const": "building"
186
+ },
187
+ {
188
+ "type": "string",
189
+ "const": "ready"
190
+ },
191
+ {
192
+ "type": "string",
193
+ "const": "off"
194
+ },
195
+ {
196
+ "type": "string",
197
+ "const": "unavailable"
198
+ }
199
+ ],
200
+ "description": "`building`: the History Index is still reading files (what is built answers already); `off`: config `history.index` is false or the index file could not be opened, so only titles and folders are searched; `unavailable`: this Node has no `node:sqlite`."
201
+ },
202
+ "progress": {
203
+ "type": "object",
204
+ "required": [
205
+ "done",
206
+ "total"
207
+ ],
208
+ "properties": {
209
+ "done": {
210
+ "type": "integer"
211
+ },
212
+ "total": {
213
+ "type": "integer"
214
+ }
215
+ },
216
+ "description": "Files read in the current build of the History Index, and how many it has to read."
217
+ }
218
+ }
219
+ },
220
+ "sources": {
221
+ "type": "array",
222
+ "items": {
223
+ "type": "object",
224
+ "required": [
225
+ "account",
226
+ "accountLabel",
227
+ "family",
228
+ "sessions",
229
+ "files",
230
+ "failed"
231
+ ],
232
+ "properties": {
233
+ "account": {
234
+ "type": "string"
235
+ },
236
+ "accountLabel": {
237
+ "type": "string"
238
+ },
239
+ "family": {
240
+ "type": "string"
241
+ },
242
+ "sessions": {
243
+ "type": "integer",
244
+ "description": "Sessions stored for the account."
245
+ },
246
+ "files": {
247
+ "type": "integer",
248
+ "description": "Session record files found."
249
+ },
250
+ "failed": {
251
+ "type": "integer",
252
+ "description": "Record files that could not be read."
253
+ },
254
+ "note": {
255
+ "type": "string",
256
+ "description": "Why the account has no sessions or could not be listed, in plain words."
257
+ },
258
+ "reason": {
259
+ "anyOf": [
260
+ {
261
+ "type": "string",
262
+ "const": "empty"
263
+ },
264
+ {
265
+ "type": "string",
266
+ "const": "no-conversation"
267
+ },
268
+ {
269
+ "type": "string",
270
+ "const": "unreadable"
271
+ },
272
+ {
273
+ "type": "string",
274
+ "const": "unsupported"
275
+ }
276
+ ],
277
+ "description": "`note` as a code: no record files, records without a conversation, a folder that could not be read, or a tool sideby reads no history for."
278
+ }
279
+ },
280
+ "description": "How many sessions sideby read from one account."
281
+ }
282
+ },
283
+ "problems": {
284
+ "type": "array",
285
+ "items": {
286
+ "type": "string"
287
+ },
288
+ "description": "An account or file that could not be read, and what to do; never aborts the listing."
289
+ },
290
+ "groups": {
291
+ "type": "array",
292
+ "items": {
293
+ "type": "object",
294
+ "required": [
295
+ "key",
296
+ "label",
297
+ "sessions",
298
+ "updatedAt"
299
+ ],
300
+ "properties": {
301
+ "key": {
302
+ "type": "string",
303
+ "description": "The Project path, category name, Account ref, Family id or day (`today`, `yesterday`, `week`, `month`, `older`); empty for sessions without one."
304
+ },
305
+ "label": {
306
+ "type": "string"
307
+ },
308
+ "sessions": {
309
+ "type": "integer",
310
+ "description": "Matching sessions in the group, collapsed or not."
311
+ },
312
+ "updatedAt": {
313
+ "type": "string"
314
+ },
315
+ "collapsed": {
316
+ "type": "boolean",
317
+ "description": "True when its sessions were left out of `sessions` (folded in the Panel)."
318
+ }
319
+ }
320
+ },
321
+ "description": "With --group (not `none`): every group of the matches, best first and the one without a key last; days in time order."
322
+ },
323
+ "categories": {
324
+ "type": "object",
325
+ "required": [
326
+ "label",
327
+ "from"
328
+ ],
329
+ "properties": {
330
+ "label": {
331
+ "type": "string",
332
+ "description": "What the categories are called on screen; \"Category\" when the plugin gives none."
333
+ },
334
+ "from": {
335
+ "type": "string",
336
+ "description": "The plugin that sorts Projects into them."
337
+ }
338
+ },
339
+ "description": "Set when a plugin sorts Projects into Project Categories (ADR-0044)."
340
+ },
341
+ "toolOutputMore": {
342
+ "type": "boolean",
343
+ "const": true,
344
+ "description": "With --tools: more sessions matched in tool output than the page holds; a larger --limit lists them."
345
+ },
346
+ "_notice": {
347
+ "type": "object",
348
+ "properties": {
349
+ "update": {
350
+ "type": "object",
351
+ "required": [
352
+ "current",
353
+ "latest",
354
+ "command",
355
+ "message"
356
+ ],
357
+ "properties": {
358
+ "current": {
359
+ "type": "string"
360
+ },
361
+ "latest": {
362
+ "type": "string"
363
+ },
364
+ "command": {
365
+ "type": "string",
366
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
367
+ },
368
+ "message": {
369
+ "type": "string"
370
+ }
371
+ }
372
+ },
373
+ "skill": {
374
+ "type": "object",
375
+ "required": [
376
+ "installed",
377
+ "current",
378
+ "command",
379
+ "message"
380
+ ],
381
+ "properties": {
382
+ "installed": {
383
+ "anyOf": [
384
+ {
385
+ "type": "string"
386
+ },
387
+ {
388
+ "type": "null"
389
+ }
390
+ ],
391
+ "description": "The skill's version; null when it has none."
392
+ },
393
+ "current": {
394
+ "type": "string"
395
+ },
396
+ "command": {
397
+ "type": "string",
398
+ "description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
399
+ },
400
+ "message": {
401
+ "type": "string"
402
+ }
403
+ }
404
+ }
405
+ },
406
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
407
+ }
408
+ },
409
+ "title": "sideby history --json"
410
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sideby/menubar-hotkey.json",
4
+ "anyOf": [
5
+ {
6
+ "type": "object",
7
+ "required": [
8
+ "schemaVersion",
9
+ "keys",
10
+ "label",
11
+ "enabled",
12
+ "isDefault",
13
+ "registered"
14
+ ],
15
+ "properties": {
16
+ "schemaVersion": {
17
+ "type": "number",
18
+ "const": 1
19
+ },
20
+ "keys": {
21
+ "type": "string",
22
+ "description": "As config `menubar.hotkey` holds it, or the default: `opt+x`, `off`."
23
+ },
24
+ "label": {
25
+ "type": "string",
26
+ "description": "As macOS writes it, such as `⌥⌘S`; empty when off."
27
+ },
28
+ "enabled": {
29
+ "type": "boolean"
30
+ },
31
+ "isDefault": {
32
+ "type": "boolean"
33
+ },
34
+ "registered": {
35
+ "anyOf": [
36
+ {
37
+ "type": "boolean"
38
+ },
39
+ {
40
+ "type": "null"
41
+ }
42
+ ],
43
+ "description": "Whether the menu bar item could register it: false means another app or macOS holds it; null when it has not said yet or it is off."
44
+ },
45
+ "problem": {
46
+ "type": "object",
47
+ "required": [
48
+ "code",
49
+ "message"
50
+ ],
51
+ "properties": {
52
+ "code": {
53
+ "type": "string"
54
+ },
55
+ "message": {
56
+ "type": "string"
57
+ }
58
+ },
59
+ "description": "A value config allows but a new choice would be refused for; it still works."
60
+ }
61
+ }
62
+ },
63
+ {
64
+ "type": "object",
65
+ "required": [
66
+ "schemaVersion",
67
+ "changed",
68
+ "nudged",
69
+ "hotkey"
70
+ ],
71
+ "properties": {
72
+ "schemaVersion": {
73
+ "type": "number",
74
+ "const": 1
75
+ },
76
+ "changed": {
77
+ "type": "boolean"
78
+ },
79
+ "nudged": {
80
+ "type": "boolean",
81
+ "description": "A running menu bar item was told (a macOS distributed notification); it takes the new shortcut within seconds, without a restart."
82
+ },
83
+ "hotkey": {
84
+ "type": "object",
85
+ "required": [
86
+ "keys",
87
+ "label",
88
+ "enabled",
89
+ "isDefault",
90
+ "registered"
91
+ ],
92
+ "properties": {
93
+ "keys": {
94
+ "type": "string",
95
+ "description": "As config `menubar.hotkey` holds it, or the default: `opt+x`, `off`."
96
+ },
97
+ "label": {
98
+ "type": "string",
99
+ "description": "As macOS writes it, such as `⌥⌘S`; empty when off."
100
+ },
101
+ "enabled": {
102
+ "type": "boolean"
103
+ },
104
+ "isDefault": {
105
+ "type": "boolean"
106
+ },
107
+ "registered": {
108
+ "anyOf": [
109
+ {
110
+ "type": "boolean"
111
+ },
112
+ {
113
+ "type": "null"
114
+ }
115
+ ],
116
+ "description": "Whether the menu bar item could register it: false means another app or macOS holds it; null when it has not said yet or it is off."
117
+ },
118
+ "problem": {
119
+ "type": "object",
120
+ "required": [
121
+ "code",
122
+ "message"
123
+ ],
124
+ "properties": {
125
+ "code": {
126
+ "type": "string"
127
+ },
128
+ "message": {
129
+ "type": "string"
130
+ }
131
+ },
132
+ "description": "A value config allows but a new choice would be refused for; it still works."
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ ]
139
+ }
@@ -224,6 +224,8 @@
224
224
  "detail",
225
225
  "level",
226
226
  "recommended",
227
+ "observedAt",
228
+ "stale",
227
229
  "tip",
228
230
  "bars",
229
231
  "reset",
@@ -264,6 +266,21 @@
264
266
  "type": "boolean",
265
267
  "description": "The account `sideby next` would pick in this Family."
266
268
  },
269
+ "observedAt": {
270
+ "anyOf": [
271
+ {
272
+ "type": "string"
273
+ },
274
+ {
275
+ "type": "null"
276
+ }
277
+ ],
278
+ "description": "When the quota was observed, not checked."
279
+ },
280
+ "stale": {
281
+ "type": "boolean",
282
+ "description": "The quota is old, undated, or its last query failed."
283
+ },
267
284
  "tip": {
268
285
  "type": "string",
269
286
  "description": "Hover text: when each window resets, and what a click does."
@@ -375,7 +392,7 @@
375
392
  },
376
393
  "note": {
377
394
  "type": "string",
378
- "description": "Text drawn instead of bars, such as `API key`; empty when bars are drawn."
395
+ "description": "A no-quota explanation, or an old-reading warning beside the bars."
379
396
  }
380
397
  }
381
398
  },
@@ -403,6 +420,8 @@
403
420
  "detail",
404
421
  "level",
405
422
  "recommended",
423
+ "observedAt",
424
+ "stale",
406
425
  "tip",
407
426
  "bars",
408
427
  "reset",
@@ -443,6 +462,21 @@
443
462
  "type": "boolean",
444
463
  "description": "The account `sideby next` would pick in this Family."
445
464
  },
465
+ "observedAt": {
466
+ "anyOf": [
467
+ {
468
+ "type": "string"
469
+ },
470
+ {
471
+ "type": "null"
472
+ }
473
+ ],
474
+ "description": "When the quota was observed, not checked."
475
+ },
476
+ "stale": {
477
+ "type": "boolean",
478
+ "description": "The quota is old, undated, or its last query failed."
479
+ },
446
480
  "tip": {
447
481
  "type": "string",
448
482
  "description": "Hover text: when each window resets, and what a click does."
@@ -554,7 +588,7 @@
554
588
  },
555
589
  "note": {
556
590
  "type": "string",
557
- "description": "Text drawn instead of bars, such as `API key`; empty when bars are drawn."
591
+ "description": "A no-quota explanation, or an old-reading warning beside the bars."
558
592
  }
559
593
  }
560
594
  }