sideby 0.19.0 → 0.20.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 (161) 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/file-memo.js +26 -4
  23. package/dist/src/core/history-group.d.ts +28 -0
  24. package/dist/src/core/history-group.js +47 -0
  25. package/dist/src/core/history-index.d.ts +145 -0
  26. package/dist/src/core/history-index.js +447 -0
  27. package/dist/src/core/history-project.d.ts +13 -0
  28. package/dist/src/core/history-project.js +87 -0
  29. package/dist/src/core/history.d.ts +210 -0
  30. package/dist/src/core/history.js +952 -0
  31. package/dist/src/core/inbound.d.ts +62 -0
  32. package/dist/src/core/inbound.js +215 -0
  33. package/dist/src/core/launch.d.ts +9 -1
  34. package/dist/src/core/launch.js +58 -24
  35. package/dist/src/core/live-sessions-copy.d.ts +5 -0
  36. package/dist/src/core/live-sessions-copy.js +46 -0
  37. package/dist/src/core/live-sessions-procs.d.ts +89 -0
  38. package/dist/src/core/live-sessions-procs.js +296 -0
  39. package/dist/src/core/live-sessions-title.d.ts +28 -0
  40. package/dist/src/core/live-sessions-title.js +80 -0
  41. package/dist/src/core/live-sessions.d.ts +68 -0
  42. package/dist/src/core/live-sessions.js +163 -0
  43. package/dist/src/core/login-check.d.ts +15 -0
  44. package/dist/src/core/login-check.js +32 -0
  45. package/dist/src/core/messages.d.ts +83 -0
  46. package/dist/src/core/messages.js +433 -0
  47. package/dist/src/core/project-categories.d.ts +14 -0
  48. package/dist/src/core/project-categories.js +48 -0
  49. package/dist/src/core/quota-fetch.d.ts +3 -3
  50. package/dist/src/core/quota-fetch.js +5 -5
  51. package/dist/src/core/quota-levels.d.ts +5 -0
  52. package/dist/src/core/quota-levels.js +5 -0
  53. package/dist/src/core/remote-control.d.ts +2 -0
  54. package/dist/src/core/remote-control.js +34 -59
  55. package/dist/src/core/run-link.d.ts +76 -0
  56. package/dist/src/core/run-link.js +245 -0
  57. package/dist/src/core/same-login.d.ts +4 -3
  58. package/dist/src/core/same-login.js +10 -7
  59. package/dist/src/core/session-select.d.ts +31 -0
  60. package/dist/src/core/session-select.js +44 -0
  61. package/dist/src/families/browser.d.ts +7 -18
  62. package/dist/src/families/browser.js +19 -8
  63. package/dist/src/families/claude/deliver.d.ts +2 -0
  64. package/dist/src/families/claude/deliver.js +43 -0
  65. package/dist/src/families/claude/history.d.ts +2 -0
  66. package/dist/src/families/claude/history.js +192 -0
  67. package/dist/src/families/claude/live-sessions.d.ts +13 -0
  68. package/dist/src/families/claude/live-sessions.js +117 -0
  69. package/dist/src/families/claude/messaging.d.ts +69 -0
  70. package/dist/src/families/claude/messaging.js +165 -0
  71. package/dist/src/families/claude/mod.d.ts +26 -0
  72. package/dist/src/families/claude/mod.js +105 -0
  73. package/dist/src/families/claude/session-files.d.ts +21 -0
  74. package/dist/src/families/claude/session-files.js +54 -0
  75. package/dist/src/families/codex/deliver.d.ts +5 -0
  76. package/dist/src/families/codex/deliver.js +76 -0
  77. package/dist/src/families/codex/history.d.ts +7 -0
  78. package/dist/src/families/codex/history.js +174 -0
  79. package/dist/src/families/codex/index.js +2 -0
  80. package/dist/src/families/codex/live-sessions.d.ts +12 -0
  81. package/dist/src/families/codex/live-sessions.js +193 -0
  82. package/dist/src/families/codex/quota.d.ts +3 -0
  83. package/dist/src/families/codex/quota.js +123 -0
  84. package/dist/src/families/codex/rate-limits.js +2 -0
  85. package/dist/src/families/codex/rollout.js +1 -1
  86. package/dist/src/families/grok/browser.d.ts +3 -0
  87. package/dist/src/families/grok/browser.js +5 -0
  88. package/dist/src/families/grok/history.d.ts +2 -0
  89. package/dist/src/families/grok/history.js +157 -0
  90. package/dist/src/families/grok/live-sessions.d.ts +4 -0
  91. package/dist/src/families/grok/live-sessions.js +80 -0
  92. package/dist/src/families/grok/login-key.d.ts +14 -0
  93. package/dist/src/families/grok/login-key.js +37 -0
  94. package/dist/src/families/history.d.ts +20 -0
  95. package/dist/src/families/history.js +81 -0
  96. package/dist/src/families/live-sessions.d.ts +26 -0
  97. package/dist/src/families/live-sessions.js +9 -0
  98. package/dist/src/families/login-keys.js +5 -1
  99. package/dist/src/families/messaging.d.ts +27 -0
  100. package/dist/src/families/messaging.js +6 -0
  101. package/dist/src/families/pi/history.d.ts +2 -0
  102. package/dist/src/families/pi/history.js +124 -0
  103. package/dist/src/families/pi/live-sessions.d.ts +2 -0
  104. package/dist/src/families/pi/live-sessions.js +70 -0
  105. package/dist/src/families/shared/history-text.d.ts +65 -0
  106. package/dist/src/families/shared/history-text.js +261 -0
  107. package/dist/src/menubar/hotkey.d.ts +86 -0
  108. package/dist/src/menubar/hotkey.js +159 -0
  109. package/dist/src/menubar/script.d.ts +2 -0
  110. package/dist/src/menubar/script.js +118 -22
  111. package/dist/src/menubar/snapshot.d.ts +8 -4
  112. package/dist/src/menubar/snapshot.js +45 -13
  113. package/dist/src/menubar/strings.d.ts +24 -6
  114. package/dist/src/menubar/strings.js +24 -6
  115. package/dist/src/panel/handler.d.ts +69 -0
  116. package/dist/src/panel/handler.js +686 -15
  117. package/dist/src/panel/i18n.d.ts +304 -3
  118. package/dist/src/panel/i18n.js +669 -67
  119. package/dist/src/panel/orca.d.ts +48 -0
  120. package/dist/src/panel/orca.js +153 -0
  121. package/dist/src/panel/page-logic.d.ts +255 -13
  122. package/dist/src/panel/page-logic.js +483 -1
  123. package/dist/src/panel/page-script.js +2265 -207
  124. package/dist/src/panel/page-styles.js +404 -32
  125. package/dist/src/panel/page.js +1 -0
  126. package/dist/src/plugins/account-script.js +61 -27
  127. package/dist/src/plugins/check.js +16 -4
  128. package/dist/src/plugins/loader.d.ts +8 -1
  129. package/dist/src/plugins/loader.js +72 -7
  130. package/dist/src/runtime.d.ts +5 -0
  131. package/dist/src/runtime.js +27 -5
  132. package/dist/src/types.d.ts +116 -1
  133. package/dist/testing/index.d.ts +5 -0
  134. package/dist/testing/index.js +5 -0
  135. package/mods/claude/.claude-plugin/plugin.json +7 -0
  136. package/mods/claude/hooks/hooks.json +1 -0
  137. package/mods/claude/hooks/register.js +261 -0
  138. package/package.json +5 -2
  139. package/schemas/autostart.json +74 -1
  140. package/schemas/browser-set.json +110 -0
  141. package/schemas/browser.json +22 -2
  142. package/schemas/config.json +26 -1
  143. package/schemas/history-index.json +209 -0
  144. package/schemas/history-projects.json +133 -0
  145. package/schemas/history-show.json +275 -0
  146. package/schemas/history.json +410 -0
  147. package/schemas/menubar-hotkey.json +139 -0
  148. package/schemas/menubar-snapshot.json +36 -2
  149. package/schemas/menubar.json +74 -1
  150. package/schemas/messages-inbound.json +258 -0
  151. package/schemas/messages.json +164 -0
  152. package/schemas/send.json +165 -0
  153. package/schemas/sessions-copy.json +113 -0
  154. package/schemas/sessions-open-run.json +97 -0
  155. package/schemas/sessions.json +237 -0
  156. package/skills/sideby/SKILL.md +10 -5
  157. package/skills/sideby/references/accounts.md +11 -0
  158. package/skills/sideby/references/ai-tasks.md +17 -1
  159. package/skills/sideby/references/panel.md +6 -4
  160. package/skills/sideby/references/quota.md +2 -2
  161. package/skills/sideby/references/sessions.md +79 -0
@@ -0,0 +1,209 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sideby/history-index.json",
4
+ "type": "object",
5
+ "required": [
6
+ "schemaVersion",
7
+ "enabled",
8
+ "path",
9
+ "state",
10
+ "progress",
11
+ "files",
12
+ "sessions",
13
+ "bytes",
14
+ "sources"
15
+ ],
16
+ "properties": {
17
+ "schemaVersion": {
18
+ "type": "number",
19
+ "const": 1
20
+ },
21
+ "enabled": {
22
+ "type": "boolean",
23
+ "description": "False under config `history.index: false`."
24
+ },
25
+ "path": {
26
+ "type": "string",
27
+ "description": "The History Index file (mode 600) in sideby's state folder."
28
+ },
29
+ "state": {
30
+ "anyOf": [
31
+ {
32
+ "type": "string",
33
+ "const": "building"
34
+ },
35
+ {
36
+ "type": "string",
37
+ "const": "ready"
38
+ },
39
+ {
40
+ "type": "string",
41
+ "const": "off"
42
+ },
43
+ {
44
+ "type": "string",
45
+ "const": "unavailable"
46
+ }
47
+ ],
48
+ "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`."
49
+ },
50
+ "progress": {
51
+ "type": "object",
52
+ "required": [
53
+ "done",
54
+ "total"
55
+ ],
56
+ "properties": {
57
+ "done": {
58
+ "type": "integer"
59
+ },
60
+ "total": {
61
+ "type": "integer"
62
+ }
63
+ },
64
+ "description": "Files read in the current build of the History Index, and how many it has to read."
65
+ },
66
+ "files": {
67
+ "type": "integer",
68
+ "description": "Session record files known."
69
+ },
70
+ "sessions": {
71
+ "type": "integer",
72
+ "description": "Sessions stored, subagent sessions included."
73
+ },
74
+ "bytes": {
75
+ "type": "integer",
76
+ "description": "Size of the index file and its journal; 0 when off."
77
+ },
78
+ "sources": {
79
+ "type": "array",
80
+ "items": {
81
+ "type": "object",
82
+ "required": [
83
+ "account",
84
+ "accountLabel",
85
+ "family",
86
+ "sessions",
87
+ "files",
88
+ "failed"
89
+ ],
90
+ "properties": {
91
+ "account": {
92
+ "type": "string"
93
+ },
94
+ "accountLabel": {
95
+ "type": "string"
96
+ },
97
+ "family": {
98
+ "type": "string"
99
+ },
100
+ "sessions": {
101
+ "type": "integer",
102
+ "description": "Sessions stored for the account."
103
+ },
104
+ "files": {
105
+ "type": "integer",
106
+ "description": "Session record files found."
107
+ },
108
+ "failed": {
109
+ "type": "integer",
110
+ "description": "Record files that could not be read."
111
+ },
112
+ "note": {
113
+ "type": "string",
114
+ "description": "Why the account has no sessions or could not be listed, in plain words."
115
+ },
116
+ "reason": {
117
+ "anyOf": [
118
+ {
119
+ "type": "string",
120
+ "const": "empty"
121
+ },
122
+ {
123
+ "type": "string",
124
+ "const": "no-conversation"
125
+ },
126
+ {
127
+ "type": "string",
128
+ "const": "unreadable"
129
+ },
130
+ {
131
+ "type": "string",
132
+ "const": "unsupported"
133
+ }
134
+ ],
135
+ "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."
136
+ }
137
+ },
138
+ "description": "How many sessions sideby read from one account."
139
+ }
140
+ },
141
+ "cleared": {
142
+ "type": "boolean",
143
+ "description": "With --clear: whether there was a file to delete."
144
+ },
145
+ "_notice": {
146
+ "type": "object",
147
+ "properties": {
148
+ "update": {
149
+ "type": "object",
150
+ "required": [
151
+ "current",
152
+ "latest",
153
+ "command",
154
+ "message"
155
+ ],
156
+ "properties": {
157
+ "current": {
158
+ "type": "string"
159
+ },
160
+ "latest": {
161
+ "type": "string"
162
+ },
163
+ "command": {
164
+ "type": "string",
165
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
166
+ },
167
+ "message": {
168
+ "type": "string"
169
+ }
170
+ }
171
+ },
172
+ "skill": {
173
+ "type": "object",
174
+ "required": [
175
+ "installed",
176
+ "current",
177
+ "command",
178
+ "message"
179
+ ],
180
+ "properties": {
181
+ "installed": {
182
+ "anyOf": [
183
+ {
184
+ "type": "string"
185
+ },
186
+ {
187
+ "type": "null"
188
+ }
189
+ ],
190
+ "description": "The skill's version; null when it has none."
191
+ },
192
+ "current": {
193
+ "type": "string"
194
+ },
195
+ "command": {
196
+ "type": "string",
197
+ "description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
198
+ },
199
+ "message": {
200
+ "type": "string"
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
206
+ }
207
+ },
208
+ "title": "sideby history index --json"
209
+ }
@@ -0,0 +1,133 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sideby/history-projects.json",
4
+ "type": "object",
5
+ "required": [
6
+ "schemaVersion",
7
+ "projects"
8
+ ],
9
+ "properties": {
10
+ "schemaVersion": {
11
+ "type": "number",
12
+ "const": 1
13
+ },
14
+ "projects": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "object",
18
+ "required": [
19
+ "project",
20
+ "name",
21
+ "sessions",
22
+ "updatedAt"
23
+ ],
24
+ "properties": {
25
+ "project": {
26
+ "type": "string",
27
+ "description": "The Project path; empty for sessions without a folder."
28
+ },
29
+ "name": {
30
+ "type": "string"
31
+ },
32
+ "sessions": {
33
+ "type": "integer",
34
+ "description": "Top-level sessions, Script Sessions not counted."
35
+ },
36
+ "updatedAt": {
37
+ "type": "string"
38
+ },
39
+ "gone": {
40
+ "type": "boolean",
41
+ "description": "True when every session ran in a folder that is gone."
42
+ },
43
+ "category": {
44
+ "type": "string",
45
+ "description": "Its Project Category, when a plugin sorts Projects into them."
46
+ }
47
+ }
48
+ },
49
+ "description": "Most recent activity first."
50
+ },
51
+ "categories": {
52
+ "type": "object",
53
+ "required": [
54
+ "label",
55
+ "from"
56
+ ],
57
+ "properties": {
58
+ "label": {
59
+ "type": "string",
60
+ "description": "What the categories are called on screen; \"Category\" when the plugin gives none."
61
+ },
62
+ "from": {
63
+ "type": "string",
64
+ "description": "The plugin that sorts Projects into them."
65
+ }
66
+ },
67
+ "description": "Set when a plugin sorts Projects into Project Categories (ADR-0044)."
68
+ },
69
+ "_notice": {
70
+ "type": "object",
71
+ "properties": {
72
+ "update": {
73
+ "type": "object",
74
+ "required": [
75
+ "current",
76
+ "latest",
77
+ "command",
78
+ "message"
79
+ ],
80
+ "properties": {
81
+ "current": {
82
+ "type": "string"
83
+ },
84
+ "latest": {
85
+ "type": "string"
86
+ },
87
+ "command": {
88
+ "type": "string",
89
+ "description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
90
+ },
91
+ "message": {
92
+ "type": "string"
93
+ }
94
+ }
95
+ },
96
+ "skill": {
97
+ "type": "object",
98
+ "required": [
99
+ "installed",
100
+ "current",
101
+ "command",
102
+ "message"
103
+ ],
104
+ "properties": {
105
+ "installed": {
106
+ "anyOf": [
107
+ {
108
+ "type": "string"
109
+ },
110
+ {
111
+ "type": "null"
112
+ }
113
+ ],
114
+ "description": "The skill's version; null when it has none."
115
+ },
116
+ "current": {
117
+ "type": "string"
118
+ },
119
+ "command": {
120
+ "type": "string",
121
+ "description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
122
+ },
123
+ "message": {
124
+ "type": "string"
125
+ }
126
+ }
127
+ }
128
+ },
129
+ "description": "Not the answer to the task: mention it briefly afterwards and offer to update."
130
+ }
131
+ },
132
+ "title": "sideby history projects --json"
133
+ }
@@ -0,0 +1,275 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "sideby/history-show.json",
4
+ "type": "object",
5
+ "required": [
6
+ "schemaVersion",
7
+ "session",
8
+ "messages"
9
+ ],
10
+ "properties": {
11
+ "schemaVersion": {
12
+ "type": "number",
13
+ "const": 1
14
+ },
15
+ "session": {
16
+ "type": "object",
17
+ "required": [
18
+ "account",
19
+ "accountLabel",
20
+ "family",
21
+ "sessionId",
22
+ "title",
23
+ "titleFrom",
24
+ "project",
25
+ "projectName",
26
+ "cwd",
27
+ "startedAt",
28
+ "updatedAt",
29
+ "messages",
30
+ "script",
31
+ "children",
32
+ "live",
33
+ "transcript",
34
+ "resumeCommand",
35
+ "continueCommand",
36
+ "reference"
37
+ ],
38
+ "properties": {
39
+ "account": {
40
+ "type": "string",
41
+ "description": "The Account ref, for example `claude:work`."
42
+ },
43
+ "accountLabel": {
44
+ "type": "string",
45
+ "description": "The account's short command when it has one, else its ref."
46
+ },
47
+ "family": {
48
+ "type": "string"
49
+ },
50
+ "sessionId": {
51
+ "type": "string",
52
+ "description": "The host's own session id."
53
+ },
54
+ "title": {
55
+ "type": "string",
56
+ "description": "The Session Title: the name the user gave it, else the host's title, else the first prompt; may be empty."
57
+ },
58
+ "titleFrom": {
59
+ "anyOf": [
60
+ {
61
+ "type": "string",
62
+ "const": "user"
63
+ },
64
+ {
65
+ "type": "string",
66
+ "const": "host"
67
+ },
68
+ {
69
+ "type": "string",
70
+ "const": "prompt"
71
+ },
72
+ {
73
+ "type": "string",
74
+ "const": "none"
75
+ }
76
+ ]
77
+ },
78
+ "project": {
79
+ "type": "string",
80
+ "description": "The Project: the git repository root of the working directory (worktrees folded in), else the folder."
81
+ },
82
+ "projectName": {
83
+ "type": "string",
84
+ "description": "Its folder name, with the parent folder when two Projects share one."
85
+ },
86
+ "cwd": {
87
+ "type": "string",
88
+ "description": "The working directory the session ran in; may be empty."
89
+ },
90
+ "cwdGone": {
91
+ "type": "boolean",
92
+ "description": "True when that folder no longer exists."
93
+ },
94
+ "branch": {
95
+ "type": "string"
96
+ },
97
+ "model": {
98
+ "type": "string"
99
+ },
100
+ "startedAt": {
101
+ "type": "string",
102
+ "description": "ISO time; empty when the record gives none."
103
+ },
104
+ "updatedAt": {
105
+ "type": "string",
106
+ "description": "Last activity, ISO time; empty when the record gives none."
107
+ },
108
+ "messages": {
109
+ "type": "integer",
110
+ "description": "Prompts plus replies."
111
+ },
112
+ "script": {
113
+ "type": "boolean",
114
+ "description": "A Script Session: started by a script, an SDK or another agent."
115
+ },
116
+ "parent": {
117
+ "type": "string",
118
+ "description": "For a subagent session: the session id that started it."
119
+ },
120
+ "children": {
121
+ "type": "integer",
122
+ "description": "Subagent sessions it started."
123
+ },
124
+ "preview": {
125
+ "type": "string",
126
+ "description": "The first prompt on one line (at most 240 characters), when it says more than the title."
127
+ },
128
+ "snippet": {
129
+ "type": "string",
130
+ "description": "Where the words matched, about 40 characters each side."
131
+ },
132
+ "foundIn": {
133
+ "type": "string",
134
+ "const": "tools",
135
+ "description": "`tools` when the words matched only its tool output (--tools)."
136
+ },
137
+ "live": {
138
+ "type": "boolean",
139
+ "description": "True while the session is running."
140
+ },
141
+ "transcript": {
142
+ "type": "string",
143
+ "description": "Path of the session's record."
144
+ },
145
+ "resumeCommand": {
146
+ "type": "string",
147
+ "description": "The command that resumes it in the account that holds it."
148
+ },
149
+ "continueCommand": {
150
+ "type": "string",
151
+ "description": "`cd <cwd> && <resumeCommand>` (only the resume command when the folder is gone): continue it where it was."
152
+ },
153
+ "reference": {
154
+ "type": "string",
155
+ "description": "The Session Reference in English: one sentence that points another AI at the session and its record."
156
+ },
157
+ "group": {
158
+ "type": "string",
159
+ "description": "With --group: the key of the group the session is listed under."
160
+ }
161
+ }
162
+ },
163
+ "messages": {
164
+ "type": "array",
165
+ "items": {
166
+ "type": "object",
167
+ "required": [
168
+ "n",
169
+ "role",
170
+ "text"
171
+ ],
172
+ "properties": {
173
+ "n": {
174
+ "type": "integer",
175
+ "description": "Position in the session, from 1."
176
+ },
177
+ "role": {
178
+ "anyOf": [
179
+ {
180
+ "type": "string",
181
+ "const": "user"
182
+ },
183
+ {
184
+ "type": "string",
185
+ "const": "assistant"
186
+ },
187
+ {
188
+ "type": "string",
189
+ "const": "tool"
190
+ }
191
+ ]
192
+ },
193
+ "text": {
194
+ "type": "string",
195
+ "description": "For `tool`: only the tool name; its input and output are never shown."
196
+ },
197
+ "at": {
198
+ "type": "string"
199
+ },
200
+ "tool": {
201
+ "type": "string"
202
+ }
203
+ }
204
+ },
205
+ "description": "Oldest first: the newest --limit (default 200) before --before."
206
+ },
207
+ "before": {
208
+ "type": "integer",
209
+ "description": "Pass as --before for the messages before these; absent at the first message."
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": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
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."
272
+ }
273
+ },
274
+ "title": "sideby history show --json"
275
+ }