sideby 0.21.0 → 0.22.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.
- package/README.md +1 -0
- package/dist/build.json +1 -1
- package/dist/src/cli/commands.js +115 -10
- package/dist/src/cli/format.js +3 -2
- package/dist/src/cli/json-schemas.js +81 -46
- package/dist/src/cli/main.js +6 -3
- package/dist/src/core/accounts.d.ts +6 -1
- package/dist/src/core/accounts.js +16 -3
- package/dist/src/core/ask.d.ts +2 -1
- package/dist/src/core/ask.js +6 -3
- package/dist/src/core/claude-settings-file.d.ts +57 -0
- package/dist/src/core/claude-settings-file.js +104 -2
- package/dist/src/core/config.d.ts +29 -15
- package/dist/src/core/config.js +40 -2
- package/dist/src/core/create.js +4 -1
- package/dist/src/core/desktop-app.js +5 -1
- package/dist/src/core/handoff-overview.d.ts +4 -1
- package/dist/src/core/handoff-overview.js +3 -2
- package/dist/src/core/handoff-rules.d.ts +34 -0
- package/dist/src/core/handoff-rules.js +115 -0
- package/dist/src/core/handoff-select.js +45 -28
- package/dist/src/core/handoff-status.d.ts +37 -7
- package/dist/src/core/handoff-status.js +95 -19
- package/dist/src/core/handoff.d.ts +4 -1
- package/dist/src/core/handoff.js +8 -5
- package/dist/src/core/inbound.d.ts +11 -3
- package/dist/src/core/inbound.js +26 -74
- package/dist/src/core/launch.js +6 -4
- package/dist/src/core/quota-levels.d.ts +6 -0
- package/dist/src/core/quota-levels.js +8 -0
- package/dist/src/core/remote-control.d.ts +10 -12
- package/dist/src/core/remote-control.js +29 -86
- package/dist/src/core/tuning-apply.js +12 -20
- package/dist/src/families/agy/index.d.ts +8 -0
- package/dist/src/families/agy/index.js +53 -0
- package/dist/src/families/agy/quota.d.ts +9 -0
- package/dist/src/families/agy/quota.js +110 -0
- package/dist/src/families/index.js +7 -0
- package/dist/src/families/logos.d.ts +10 -0
- package/dist/src/families/logos.js +12 -1
- package/dist/src/menubar/script.js +26 -3
- package/dist/src/menubar/snapshot.d.ts +23 -6
- package/dist/src/menubar/snapshot.js +126 -39
- package/dist/src/menubar/strings.d.ts +12 -2
- package/dist/src/menubar/strings.js +12 -2
- package/dist/src/panel/handler.d.ts +2 -1
- package/dist/src/panel/handler.js +81 -45
- package/dist/src/panel/i18n.d.ts +57 -7
- package/dist/src/panel/i18n.js +156 -56
- package/dist/src/panel/page-logic.d.ts +47 -19
- package/dist/src/panel/page-logic.js +33 -7
- package/dist/src/panel/page-script.js +263 -94
- package/dist/src/panel/page-styles.js +105 -8
- package/dist/src/panel/page.js +3 -3
- package/dist/src/plugins/check.js +27 -13
- package/dist/src/plugins/loader.d.ts +11 -0
- package/dist/src/plugins/loader.js +47 -1
- package/dist/src/runtime.d.ts +5 -2
- package/dist/src/runtime.js +12 -5
- package/dist/src/types.d.ts +35 -5
- package/package.json +2 -2
- package/schemas/config.json +16 -1
- package/schemas/families.json +8 -5
- package/schemas/handoff-disable.json +22 -0
- package/schemas/handoff-enable.json +22 -0
- package/schemas/handoff-rules.json +302 -0
- package/schemas/handoff-status.json +26 -0
- package/schemas/list.json +5 -0
- package/schemas/menubar-snapshot.json +309 -2
- package/skills/sideby/SKILL.md +3 -2
- package/skills/sideby/references/accounts.md +1 -0
- package/skills/sideby/references/handoff.md +7 -3
- package/skills/sideby/references/quota.md +2 -0
package/schemas/config.json
CHANGED
|
@@ -248,12 +248,27 @@
|
|
|
248
248
|
"properties": {
|
|
249
249
|
"auto": {
|
|
250
250
|
"type": "boolean",
|
|
251
|
-
"description": "Hand a running session to the next account when its Quota runs low: only to other families
|
|
251
|
+
"description": "Hand a running session to the next account when its Quota runs low: within the family only with `sameFamily`, to other families only with `otherFamilies`, to API accounts only with `api`. Off by default."
|
|
252
252
|
},
|
|
253
253
|
"sameFamily": {
|
|
254
254
|
"type": "boolean",
|
|
255
255
|
"description": "Also hand off to an account of the same family (cc001 → cc002). The kind vendors are most likely to act on. Off by default."
|
|
256
256
|
},
|
|
257
|
+
"otherFamilies": {
|
|
258
|
+
"type": "boolean",
|
|
259
|
+
"description": "When no account of the family can take over, let accounts of other families take over, family by family in `familyOrder`. Off by default."
|
|
260
|
+
},
|
|
261
|
+
"familyOrder": {
|
|
262
|
+
"type": "array",
|
|
263
|
+
"items": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
"description": "Families to try with `otherFamilies`, first to last (for example [\"codex\", \"grok\"]); families left out come after, in the usual order."
|
|
267
|
+
},
|
|
268
|
+
"api": {
|
|
269
|
+
"type": "boolean",
|
|
270
|
+
"description": "Let API accounts take over as the last resort, when no subscription account can. They are billed per use and sideby does not cap spending. Off by default (ADR-0046)."
|
|
271
|
+
},
|
|
257
272
|
"prepareAt": {
|
|
258
273
|
"type": "integer",
|
|
259
274
|
"minimum": 1,
|
package/schemas/families.json
CHANGED
|
@@ -57,6 +57,11 @@
|
|
|
57
57
|
"settingsFile": {
|
|
58
58
|
"type": "string",
|
|
59
59
|
"description": "The Host's settings file `sideby edit` opens, relative to the account directory."
|
|
60
|
+
},
|
|
61
|
+
"mainOnly": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"const": true,
|
|
64
|
+
"description": "The Host keeps one sign-in per computer, so sideby knows only its Main Account and refuses to create others (ADR-0047)."
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
},
|
|
@@ -64,7 +69,6 @@
|
|
|
64
69
|
"type": "object",
|
|
65
70
|
"required": [
|
|
66
71
|
"layout",
|
|
67
|
-
"selectVar",
|
|
68
72
|
"login",
|
|
69
73
|
"quota",
|
|
70
74
|
"usage",
|
|
@@ -75,8 +79,7 @@
|
|
|
75
79
|
"layout": {
|
|
76
80
|
"type": "object",
|
|
77
81
|
"required": [
|
|
78
|
-
"main"
|
|
79
|
-
"account"
|
|
82
|
+
"main"
|
|
80
83
|
],
|
|
81
84
|
"properties": {
|
|
82
85
|
"main": {
|
|
@@ -86,11 +89,11 @@
|
|
|
86
89
|
"type": "string"
|
|
87
90
|
}
|
|
88
91
|
},
|
|
89
|
-
"description": "Relative to HOME, for example `.claude` and `.claude-<name>`."
|
|
92
|
+
"description": "Relative to HOME, for example `.claude` and `.claude-<name>`. A Main-only Family has no `account`."
|
|
90
93
|
},
|
|
91
94
|
"selectVar": {
|
|
92
95
|
"type": "string",
|
|
93
|
-
"description": "Environment variable that selects a non-main Account directory."
|
|
96
|
+
"description": "Environment variable that selects a non-main Account directory. Left out for a Main-only Family."
|
|
94
97
|
},
|
|
95
98
|
"login": {
|
|
96
99
|
"type": "object",
|
|
@@ -29,8 +29,12 @@
|
|
|
29
29
|
"required": [
|
|
30
30
|
"auto",
|
|
31
31
|
"sameFamily",
|
|
32
|
+
"otherFamilies",
|
|
33
|
+
"familyOrder",
|
|
34
|
+
"api",
|
|
32
35
|
"prepareAt",
|
|
33
36
|
"threshold",
|
|
37
|
+
"adaptive",
|
|
34
38
|
"waitIfResetWithinMinutes",
|
|
35
39
|
"countdownSeconds",
|
|
36
40
|
"crossOrganization",
|
|
@@ -43,12 +47,30 @@
|
|
|
43
47
|
"sameFamily": {
|
|
44
48
|
"type": "boolean"
|
|
45
49
|
},
|
|
50
|
+
"otherFamilies": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "Other AIs may take over when this one has no account that can (ADR-0046)."
|
|
53
|
+
},
|
|
54
|
+
"familyOrder": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"description": "The order other AIs are tried in."
|
|
60
|
+
},
|
|
61
|
+
"api": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"description": "API accounts may take over, last; billed per use (ADR-0046)."
|
|
64
|
+
},
|
|
46
65
|
"prepareAt": {
|
|
47
66
|
"type": "number"
|
|
48
67
|
},
|
|
49
68
|
"threshold": {
|
|
50
69
|
"type": "number"
|
|
51
70
|
},
|
|
71
|
+
"adaptive": {
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
52
74
|
"waitIfResetWithinMinutes": {
|
|
53
75
|
"type": "number"
|
|
54
76
|
},
|
|
@@ -29,8 +29,12 @@
|
|
|
29
29
|
"required": [
|
|
30
30
|
"auto",
|
|
31
31
|
"sameFamily",
|
|
32
|
+
"otherFamilies",
|
|
33
|
+
"familyOrder",
|
|
34
|
+
"api",
|
|
32
35
|
"prepareAt",
|
|
33
36
|
"threshold",
|
|
37
|
+
"adaptive",
|
|
34
38
|
"waitIfResetWithinMinutes",
|
|
35
39
|
"countdownSeconds",
|
|
36
40
|
"crossOrganization",
|
|
@@ -43,12 +47,30 @@
|
|
|
43
47
|
"sameFamily": {
|
|
44
48
|
"type": "boolean"
|
|
45
49
|
},
|
|
50
|
+
"otherFamilies": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "Other AIs may take over when this one has no account that can (ADR-0046)."
|
|
53
|
+
},
|
|
54
|
+
"familyOrder": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"description": "The order other AIs are tried in."
|
|
60
|
+
},
|
|
61
|
+
"api": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"description": "API accounts may take over, last; billed per use (ADR-0046)."
|
|
64
|
+
},
|
|
46
65
|
"prepareAt": {
|
|
47
66
|
"type": "number"
|
|
48
67
|
},
|
|
49
68
|
"threshold": {
|
|
50
69
|
"type": "number"
|
|
51
70
|
},
|
|
71
|
+
"adaptive": {
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
52
74
|
"waitIfResetWithinMinutes": {
|
|
53
75
|
"type": "number"
|
|
54
76
|
},
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "sideby/handoff-rules.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"schemaVersion",
|
|
7
|
+
"auto",
|
|
8
|
+
"rules",
|
|
9
|
+
"apiUndecided",
|
|
10
|
+
"takeover"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schemaVersion": {
|
|
14
|
+
"type": "number",
|
|
15
|
+
"const": 1
|
|
16
|
+
},
|
|
17
|
+
"auto": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"rules": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"required": [
|
|
25
|
+
"id",
|
|
26
|
+
"params",
|
|
27
|
+
"settings",
|
|
28
|
+
"text"
|
|
29
|
+
],
|
|
30
|
+
"properties": {
|
|
31
|
+
"id": {
|
|
32
|
+
"anyOf": [
|
|
33
|
+
{
|
|
34
|
+
"type": "string",
|
|
35
|
+
"const": "when"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "windows"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "string",
|
|
43
|
+
"const": "takeover"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "string",
|
|
47
|
+
"const": "wait"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "string",
|
|
51
|
+
"const": "sameFamily"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "string",
|
|
55
|
+
"const": "otherFamilies"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "string",
|
|
59
|
+
"const": "api"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "string",
|
|
63
|
+
"const": "organization"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "string",
|
|
67
|
+
"const": "order"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "string",
|
|
71
|
+
"const": "countdown"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"params": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"patternProperties": {
|
|
78
|
+
"^.*$": {}
|
|
79
|
+
},
|
|
80
|
+
"description": "What the sentence needs, such as numbers."
|
|
81
|
+
},
|
|
82
|
+
"settings": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"description": "The `handoff` config keys that change it; empty when fixed."
|
|
88
|
+
},
|
|
89
|
+
"text": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "The rule in plain English."
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"apiUndecided": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "Auto Handoff was on with API accounts before they became opt-in (ADR-0046): ask the user once, then set handoff.api."
|
|
99
|
+
},
|
|
100
|
+
"takeover": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"required": [
|
|
105
|
+
"ref",
|
|
106
|
+
"family",
|
|
107
|
+
"starts",
|
|
108
|
+
"decision"
|
|
109
|
+
],
|
|
110
|
+
"properties": {
|
|
111
|
+
"ref": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"family": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"starts": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{
|
|
122
|
+
"type": "string",
|
|
123
|
+
"const": "quota"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "string",
|
|
127
|
+
"const": "limit"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"decision": {
|
|
133
|
+
"anyOf": [
|
|
134
|
+
{
|
|
135
|
+
"type": "object",
|
|
136
|
+
"required": [
|
|
137
|
+
"kind",
|
|
138
|
+
"ref"
|
|
139
|
+
],
|
|
140
|
+
"properties": {
|
|
141
|
+
"kind": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"const": "pick"
|
|
144
|
+
},
|
|
145
|
+
"ref": {
|
|
146
|
+
"type": "string"
|
|
147
|
+
},
|
|
148
|
+
"skipped": {
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"required": [
|
|
153
|
+
"ref",
|
|
154
|
+
"reason"
|
|
155
|
+
],
|
|
156
|
+
"properties": {
|
|
157
|
+
"ref": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"reason": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "object",
|
|
170
|
+
"required": [
|
|
171
|
+
"kind",
|
|
172
|
+
"until"
|
|
173
|
+
],
|
|
174
|
+
"properties": {
|
|
175
|
+
"kind": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"const": "wait"
|
|
178
|
+
},
|
|
179
|
+
"until": {
|
|
180
|
+
"type": "string"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "object",
|
|
186
|
+
"required": [
|
|
187
|
+
"kind",
|
|
188
|
+
"reason"
|
|
189
|
+
],
|
|
190
|
+
"properties": {
|
|
191
|
+
"kind": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"const": "none"
|
|
194
|
+
},
|
|
195
|
+
"reason": {
|
|
196
|
+
"type": "string"
|
|
197
|
+
},
|
|
198
|
+
"earliestReset": {
|
|
199
|
+
"type": "object",
|
|
200
|
+
"required": [
|
|
201
|
+
"ref",
|
|
202
|
+
"at"
|
|
203
|
+
],
|
|
204
|
+
"properties": {
|
|
205
|
+
"ref": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
"at": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"skipped": {
|
|
214
|
+
"type": "array",
|
|
215
|
+
"items": {
|
|
216
|
+
"type": "object",
|
|
217
|
+
"required": [
|
|
218
|
+
"ref",
|
|
219
|
+
"reason"
|
|
220
|
+
],
|
|
221
|
+
"properties": {
|
|
222
|
+
"ref": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"reason": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"_notice": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"update": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"required": [
|
|
244
|
+
"current",
|
|
245
|
+
"latest",
|
|
246
|
+
"command",
|
|
247
|
+
"message"
|
|
248
|
+
],
|
|
249
|
+
"properties": {
|
|
250
|
+
"current": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
},
|
|
253
|
+
"latest": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"command": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
|
|
259
|
+
},
|
|
260
|
+
"message": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"skill": {
|
|
266
|
+
"type": "object",
|
|
267
|
+
"required": [
|
|
268
|
+
"installed",
|
|
269
|
+
"current",
|
|
270
|
+
"command",
|
|
271
|
+
"message"
|
|
272
|
+
],
|
|
273
|
+
"properties": {
|
|
274
|
+
"installed": {
|
|
275
|
+
"anyOf": [
|
|
276
|
+
{
|
|
277
|
+
"type": "string"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"type": "null"
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"description": "The skill's version; null when it has none."
|
|
284
|
+
},
|
|
285
|
+
"current": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"command": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
291
|
+
},
|
|
292
|
+
"message": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"description": "Not the answer to the task: mention it briefly afterwards and offer to update."
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"title": "sideby handoff rules --json"
|
|
302
|
+
}
|
|
@@ -30,8 +30,12 @@
|
|
|
30
30
|
"required": [
|
|
31
31
|
"auto",
|
|
32
32
|
"sameFamily",
|
|
33
|
+
"otherFamilies",
|
|
34
|
+
"familyOrder",
|
|
35
|
+
"api",
|
|
33
36
|
"prepareAt",
|
|
34
37
|
"threshold",
|
|
38
|
+
"adaptive",
|
|
35
39
|
"waitIfResetWithinMinutes",
|
|
36
40
|
"countdownSeconds",
|
|
37
41
|
"crossOrganization",
|
|
@@ -44,12 +48,30 @@
|
|
|
44
48
|
"sameFamily": {
|
|
45
49
|
"type": "boolean"
|
|
46
50
|
},
|
|
51
|
+
"otherFamilies": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"description": "Other AIs may take over when this one has no account that can (ADR-0046)."
|
|
54
|
+
},
|
|
55
|
+
"familyOrder": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"description": "The order other AIs are tried in."
|
|
61
|
+
},
|
|
62
|
+
"api": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "API accounts may take over, last; billed per use (ADR-0046)."
|
|
65
|
+
},
|
|
47
66
|
"prepareAt": {
|
|
48
67
|
"type": "number"
|
|
49
68
|
},
|
|
50
69
|
"threshold": {
|
|
51
70
|
"type": "number"
|
|
52
71
|
},
|
|
72
|
+
"adaptive": {
|
|
73
|
+
"type": "boolean"
|
|
74
|
+
},
|
|
53
75
|
"waitIfResetWithinMinutes": {
|
|
54
76
|
"type": "number"
|
|
55
77
|
},
|
|
@@ -298,6 +320,10 @@
|
|
|
298
320
|
}
|
|
299
321
|
}
|
|
300
322
|
},
|
|
323
|
+
"apiUndecided": {
|
|
324
|
+
"type": "boolean",
|
|
325
|
+
"description": "Auto Handoff was on with API accounts before they became opt-in (ADR-0046): ask the user once whether they may take over, then set handoff.api."
|
|
326
|
+
},
|
|
301
327
|
"auto": {
|
|
302
328
|
"type": "boolean"
|
|
303
329
|
},
|
package/schemas/list.json
CHANGED
|
@@ -57,6 +57,11 @@
|
|
|
57
57
|
"settingsFile": {
|
|
58
58
|
"type": "string",
|
|
59
59
|
"description": "The Host's settings file `sideby edit` opens, relative to the account directory."
|
|
60
|
+
},
|
|
61
|
+
"mainOnly": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"const": true,
|
|
64
|
+
"description": "The Host keeps one sign-in per computer, so sideby knows only its Main Account and refuses to create others (ADR-0047)."
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
}
|