sideby 0.38.1 → 0.40.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/dist/build.json +1 -1
- package/dist/src/cli/commands.d.ts +6 -0
- package/dist/src/cli/commands.js +120 -1
- package/dist/src/cli/json-schemas.js +44 -2
- package/dist/src/cli/main.js +37 -0
- package/dist/src/core/cli-commands.js +26 -2
- package/dist/src/core/config.d.ts +14 -0
- package/dist/src/core/config.js +21 -0
- package/dist/src/core/launch.d.ts +5 -0
- package/dist/src/core/launch.js +11 -1
- package/dist/src/core/progress-state.d.ts +94 -0
- package/dist/src/core/progress-state.js +240 -0
- package/dist/src/core/progress.d.ts +36 -0
- package/dist/src/core/progress.js +77 -0
- package/dist/src/core/prompt-origin.d.ts +40 -0
- package/dist/src/core/prompt-origin.js +98 -0
- package/dist/src/core/search-catalog.js +43 -0
- package/dist/src/core/unattended-attended.d.ts +109 -0
- package/dist/src/core/unattended-attended.js +337 -0
- package/dist/src/core/unattended-pending.d.ts +14 -2
- package/dist/src/core/unattended-pending.js +27 -3
- package/dist/src/core/unattended-state.d.ts +19 -1
- package/dist/src/core/unattended-state.js +31 -5
- package/dist/src/core/unattended-wait.d.ts +86 -0
- package/dist/src/core/unattended-wait.js +125 -0
- package/dist/src/core/unattended.d.ts +29 -2
- package/dist/src/core/unattended.js +48 -6
- package/dist/src/handoff/hook.js +19 -4
- package/dist/src/network/hook.js +4 -8
- package/dist/src/panel/handler.d.ts +3 -0
- package/dist/src/panel/handler.js +31 -1
- package/dist/src/panel/i18n.d.ts +27 -0
- package/dist/src/panel/i18n.js +56 -2
- package/dist/src/panel/page-script.js +118 -4
- package/dist/src/panel/page-styles.js +21 -0
- package/dist/src/progress/hook.d.ts +57 -0
- package/dist/src/progress/hook.js +258 -0
- package/dist/src/runtime.d.ts +9 -0
- package/dist/src/runtime.js +45 -2
- package/dist/src/types.d.ts +5 -0
- package/dist/src/unattended/hook.d.ts +26 -6
- package/dist/src/unattended/hook.js +361 -25
- package/package.json +1 -1
- package/schemas/config.json +27 -0
- package/schemas/progress.json +137 -0
- package/schemas/unattended-defer.json +5 -0
- package/schemas/unattended-pending.json +5 -0
- package/schemas/unattended.json +54 -2
- package/skills/sideby/SKILL.md +4 -1
- package/skills/sideby/references/progress.md +25 -0
- package/skills/sideby/references/unattended.md +25 -3
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "sideby/progress.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"required": [
|
|
6
|
+
"schemaVersion",
|
|
7
|
+
"action",
|
|
8
|
+
"on"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"schemaVersion": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"const": 1
|
|
14
|
+
},
|
|
15
|
+
"action": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "status"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "string",
|
|
23
|
+
"const": "on"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "string",
|
|
27
|
+
"const": "off"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"on": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"description": "Progress Reminders are on: a Claude session sideby starts that waits on background work tells the user every `every` minutes what it waits for (spec §3.42)."
|
|
34
|
+
},
|
|
35
|
+
"every": {
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"description": "Minutes between reminders, config `progress.every`; absent while off."
|
|
38
|
+
},
|
|
39
|
+
"defaultEvery": {
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"description": "What `on` picks without --every (status only)."
|
|
42
|
+
},
|
|
43
|
+
"choices": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "integer"
|
|
47
|
+
},
|
|
48
|
+
"description": "The intervals the Panel offers (status only)."
|
|
49
|
+
},
|
|
50
|
+
"families": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"description": "Families whose sessions get reminders (status only); Codex has no hook that can wake a session."
|
|
56
|
+
},
|
|
57
|
+
"changed": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "on and off: whether the config changed."
|
|
60
|
+
},
|
|
61
|
+
"before": {
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"description": "on and off: the interval before, when it was on."
|
|
64
|
+
},
|
|
65
|
+
"undo": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "on and off: the command that puts back what was there."
|
|
68
|
+
},
|
|
69
|
+
"message": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "on and off: one line for the user."
|
|
72
|
+
},
|
|
73
|
+
"_notice": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"update": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"required": [
|
|
79
|
+
"current",
|
|
80
|
+
"latest",
|
|
81
|
+
"command",
|
|
82
|
+
"message"
|
|
83
|
+
],
|
|
84
|
+
"properties": {
|
|
85
|
+
"current": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"latest": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"command": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Run it after the user agrees: it shows the plan and exits 10; then --yes."
|
|
94
|
+
},
|
|
95
|
+
"message": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"skill": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"required": [
|
|
103
|
+
"installed",
|
|
104
|
+
"current",
|
|
105
|
+
"command",
|
|
106
|
+
"message"
|
|
107
|
+
],
|
|
108
|
+
"properties": {
|
|
109
|
+
"installed": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"type": "null"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"description": "The skill's version; null when it has none."
|
|
119
|
+
},
|
|
120
|
+
"current": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"command": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "`sideby update`, which updates the skill with sideby: run it after the user agrees; it shows the plan and exits 10, then --yes."
|
|
126
|
+
},
|
|
127
|
+
"message": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"description": "Not the answer to the task: mention it briefly afterwards and offer to update."
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"title": "sideby progress [on|off] --json"
|
|
137
|
+
}
|
|
@@ -70,6 +70,11 @@
|
|
|
70
70
|
"type": "string",
|
|
71
71
|
"description": "The question and its options, the tool and what it was to do, or the deferred text; at most 4000 characters."
|
|
72
72
|
},
|
|
73
|
+
"waited": {
|
|
74
|
+
"type": "integer",
|
|
75
|
+
"minimum": 1,
|
|
76
|
+
"description": "Minutes the question or permission prompt was on screen with nobody answering before the session went on without an answer (Answer Wait, ADR-0077). Absent when it was never shown."
|
|
77
|
+
},
|
|
73
78
|
"doneAt": {
|
|
74
79
|
"type": "string",
|
|
75
80
|
"description": "When it was marked done; ISO."
|
|
@@ -72,6 +72,11 @@
|
|
|
72
72
|
"type": "string",
|
|
73
73
|
"description": "The question and its options, the tool and what it was to do, or the deferred text; at most 4000 characters."
|
|
74
74
|
},
|
|
75
|
+
"waited": {
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"minimum": 1,
|
|
78
|
+
"description": "Minutes the question or permission prompt was on screen with nobody answering before the session went on without an answer (Answer Wait, ADR-0077). Absent when it was never shown."
|
|
79
|
+
},
|
|
75
80
|
"doneAt": {
|
|
76
81
|
"type": "string",
|
|
77
82
|
"description": "When it was marked done; ISO."
|
package/schemas/unattended.json
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"reason",
|
|
9
9
|
"configured",
|
|
10
10
|
"schedule",
|
|
11
|
+
"answerWait",
|
|
11
12
|
"pending",
|
|
13
|
+
"attended",
|
|
12
14
|
"coverage"
|
|
13
15
|
],
|
|
14
16
|
"properties": {
|
|
@@ -152,10 +154,60 @@
|
|
|
152
154
|
},
|
|
153
155
|
"description": "Config `unattended.schedule`, numbered from 1."
|
|
154
156
|
},
|
|
157
|
+
"answerWait": {
|
|
158
|
+
"anyOf": [
|
|
159
|
+
{
|
|
160
|
+
"type": "integer",
|
|
161
|
+
"minimum": 1,
|
|
162
|
+
"maximum": 120
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "null"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"description": "Answer Wait (ADR-0077): minutes a question or permission prompt shown in a Claude session sideby started waits for a person before, with Unattended Mode on, the session goes on without an answer. null: never. 10 when config `unattended.answerWait` is not set. Change it with `sideby unattended wait <minutes>|off`."
|
|
169
|
+
},
|
|
155
170
|
"pending": {
|
|
156
171
|
"type": "integer",
|
|
157
172
|
"description": "Open Pending Decisions (`sideby unattended pending`)."
|
|
158
173
|
},
|
|
174
|
+
"attended": {
|
|
175
|
+
"type": "array",
|
|
176
|
+
"items": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"required": [
|
|
179
|
+
"sessionId",
|
|
180
|
+
"family",
|
|
181
|
+
"since",
|
|
182
|
+
"until"
|
|
183
|
+
],
|
|
184
|
+
"properties": {
|
|
185
|
+
"sessionId": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"family": {
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"account": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"cwd": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"since": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"format": "date-time",
|
|
200
|
+
"description": "When someone first typed into it after it last stopped counting."
|
|
201
|
+
},
|
|
202
|
+
"until": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"format": "date-time",
|
|
205
|
+
"description": "30 minutes after the last prompt someone typed into it."
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"description": "Attended Sessions (ADR-0075): Claude sessions sideby started that someone typed into within the last 30 minutes. They ask as usual while the mode stays on for every other session. Latest `until` first. Read-only: only a prompt typed into the session sets it."
|
|
210
|
+
},
|
|
159
211
|
"coverage": {
|
|
160
212
|
"type": "object",
|
|
161
213
|
"patternProperties": {
|
|
@@ -218,7 +270,7 @@
|
|
|
218
270
|
},
|
|
219
271
|
"changed": {
|
|
220
272
|
"type": "boolean",
|
|
221
|
-
"description": "Set by on, off and
|
|
273
|
+
"description": "Set by on, off, schedule and wait changes: whether anything changed."
|
|
222
274
|
},
|
|
223
275
|
"undo": {
|
|
224
276
|
"type": "string",
|
|
@@ -287,5 +339,5 @@
|
|
|
287
339
|
"description": "Not the answer to the task: mention it briefly afterwards and offer to update."
|
|
288
340
|
}
|
|
289
341
|
},
|
|
290
|
-
"title": "sideby unattended [on|off|schedule …] --json"
|
|
342
|
+
"title": "sideby unattended [on|off|schedule …|wait …] --json"
|
|
291
343
|
}
|
package/skills/sideby/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sideby
|
|
3
3
|
description: Use when the user runs, or wants to run, several AI coding accounts (Claude Code, Codex, Grok Build, pi) side by side. Covers installing sideby and setting up a new account ("install sideby", "set up another Claude account", "add cc008", "配置一个 cc00x", "再加一个 Codex 账号"), explaining what accounts share and what stays separate ("what do my accounts share?", "这些账号共享了什么"), showing which account a session is ("show [cc001] in the status line", "加上账号标识"), finding a past session of any account ("找一下我上周改登录页的那个会话"), telling another running session something, in any account ("告诉 cc002 ……", "给跑构建的那个会话发消息"; Claude Code's own SendMessage reaches only sessions of the same account), seeing accounts, quota and usage, moving on when one hits its 5-hour or weekly limit, moving the current task to another account ("用 cc008 继续", "交回 cc008"), adding a short command (alias) or a pick command that starts whichever account has the most quota ("加个 cc"), adding an API account from a vendor's docs ("加一个 DeepSeek API 账号"), supporting a new tool, and repairing drifted account directories (skills, hooks, rules or settings not shared, wrong symlinks, credential file permissions). Drives the `sideby` CLI with `--json`; the agent does every step except browser sign-in, filling in secrets and starting interactive sessions, which it hands to the user as one command (inside an Auto Handoff session, `sideby handoff ready --to` moves the task itself).
|
|
4
4
|
metadata:
|
|
5
|
-
version: "0.
|
|
5
|
+
version: "0.40.0"
|
|
6
6
|
requires:
|
|
7
7
|
bins: [sideby, node]
|
|
8
8
|
cliHelp: sideby --help
|
|
@@ -84,6 +84,9 @@ Account refs are `<family>:<name>`; a bare `<name>` works only when it is unique
|
|
|
84
84
|
| A Claude API account's gateway rejects requests after an Advisor change, or why sideby adds `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS` to API accounts ("API 账号网关报错了", "为什么 API 账号多了这个变量") | `sideby advisor --json` (`apiBetasOff`, each group's `apiAccounts`), `sideby config get claude.apiBetasOff --json`; `sideby advisor undo` or `sideby config set claude.apiBetasOff false` after they agree | `references/panel.md` |
|
|
85
85
|
| Stop Claude and Codex when the network is wrong ("网络不对时别让 Claude 用", "代理断了就拦住", "only allow US and Japan", "开网络检查"), see where requests leave from now, or a session says it was blocked | `sideby network --json`, `sideby network check --json`, `sideby network allow <CC>... --json` and `sideby network on --json` (each exits 10 first; rerun with `--yes` after they agree) | `references/network.md` |
|
|
86
86
|
| Leave sessions running with nobody there ("挂机", "无人值守", "今晚自己跑完", "设个时间段别问我", "keep going while I sleep"), set a nightly Schedule, or see what was left for the user | `sideby unattended on [--until 08:00] --json` (run it yourself when they say they are leaving), `sideby unattended schedule preset weeknights --json`, `sideby unattended --json`, `sideby unattended pending --json`; inside a session refused a question: `sideby unattended defer "<one sentence>"` | `references/unattended.md` |
|
|
87
|
+
| How long a question waits before the session goes on without an answer ("问题没人回就自动按推荐继续", "问题等我 30 分钟", "别自动继续,一直等我", "how long does a question wait for me") | `sideby unattended wait --json` shows `answerWait`; `sideby unattended wait <1-120> --json` or `sideby unattended wait off --json` sets it. It acts only while Unattended Mode is on, and never answers "yes" | `references/unattended.md` |
|
|
88
|
+
| The user is back early and wants questions in one session ("我回来了,会话怎么还不问我", "为什么这个会话又开始问我", "I'm back, why doesn't it ask me"), or asks which sessions ask as usual | Tell them to type in that session: it asks as usual for 30 minutes after each message. `sideby unattended --json` lists them (`attended`); there is no command to set it. `sideby unattended off --json` turns it off everywhere | `references/unattended.md` |
|
|
89
|
+
| A session waits on background work and says nothing for a long time ("后台任务跑着时没动静", "等子任务时隔一阵告诉我进度", "tell me what it is waiting for every 30 minutes", "进度提醒"), or stop those updates ("别再报进度了", "turn off progress updates") | `sideby progress --json`, then `sideby progress on [--every <minutes>] --json` or `sideby progress off --json` (writes only sideby's config, no preview; relay that each update uses quota and that only Claude sessions started afterwards get it) | `references/progress.md` |
|
|
87
90
|
| See Claude quota, refresh it, or turn on live quota for Auto Handoff | `sideby quota claude --refresh --json` (no setup); `sideby quota setup claude` (exits 10) for Auto Handoff | `references/quota.md` |
|
|
88
91
|
| Update sideby or its skill ("is there a new version", "更新 sideby"), or an output has `_notice` | `sideby update --json` (exits 10 first) | `references/update.md` |
|
|
89
92
|
| See everything at once | `sideby ui` (local panel on `127.0.0.1:17420`; `--no-open` prints the address) | — |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Progress updates: a waiting session says what it waits for
|
|
2
|
+
|
|
3
|
+
Progress Reminders (spec §3.42, ADR-0076): while a Claude session sideby started waits on background work (subagents, background commands), the session is idle and the model cannot say anything, so the user sees silence. With progress updates on, sideby wakes such a session every 30 minutes (or the interval the user picks), and the model tells the user in one or two sentences what it waits for, how long it has waited and whether there is new output, then ends its turn.
|
|
4
|
+
|
|
5
|
+
## Turn it on or off
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
sideby progress --json # { on, every?, defaultEvery, choices, families }
|
|
9
|
+
sideby progress on --json # every 30 minutes (or keeps the interval it had)
|
|
10
|
+
sideby progress on --every 15 --json # 1 to 240 minutes
|
|
11
|
+
sideby progress off --json
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
It writes only sideby's config (`progress.every`), so there is no preview and no `--yes`; each change returns `undo`. Before turning it on for the user, tell them, in one line each:
|
|
15
|
+
- Each update is one model turn, which reads the whole conversation: it uses quota, and a longer interval uses less. That is why it is off by default.
|
|
16
|
+
- Claude sessions sideby starts from now on get it; a session already running needs a restart. Turning it off, or a new interval, reaches running sessions too.
|
|
17
|
+
- There are no updates while the session is unattended (Unattended Mode, unless the user typed there in the last 30 minutes), while a turn is running, or once the background work is done.
|
|
18
|
+
- Codex is not covered: no Codex hook can wake a waiting session. Grok, pi and sessions started without sideby are not covered either.
|
|
19
|
+
- In the Panel it is **Settings › Progress updates**.
|
|
20
|
+
|
|
21
|
+
## Inside a session that gets one
|
|
22
|
+
|
|
23
|
+
The reminder arrives as a message that starts `sideby progress reminder:` and names the background tasks, when the wait began and for how long. Answer it as it asks: one or two sentences for the user (what you wait for, how long, any new output if it is quick to look), then end your turn. Do not start new work or stop the tasks because of it. If the user asks how to stop these, the command is `sideby progress off`.
|
|
24
|
+
|
|
25
|
+
With Auto Handoff on, a reminder's turn does not change when or how the session hands over.
|
|
@@ -49,14 +49,36 @@ Then go on with the rest. Do not retry the question, and do not work around the
|
|
|
49
49
|
|
|
50
50
|
When a note from sideby says your last turn failed for a passing reason, the session was woken to go on: check what is already done (files, commits, background work), do not redo it, and continue where the turn stopped.
|
|
51
51
|
|
|
52
|
+
## When the user is back early: they just type
|
|
53
|
+
|
|
54
|
+
A Claude session the user types into asks as usual again for 30 minutes after each message they send (an **Attended Session**, ADR-0075): its questions, permission prompts and forms reach the user, and nothing of it is refused or kept. Every other session stays unattended, and the global state does not change. The first time it applies, the session shows the user one line saying so. So when the user says they are back but only wants to work in one session ("我回来了,这个会话怎么还不问我", "why is this session asking me again"), tell them to just type in it; no command is needed.
|
|
55
|
+
|
|
56
|
+
- See which sessions it covers now: `sideby unattended --json`, field `attended` (each `sessionId`, `account`, `cwd`, `since`, `until`).
|
|
57
|
+
- Only a prompt the user typed counts: not a background task's notification, not a Message from `sideby send` or another session, not the prompt sideby put on the command line, and not your own tool calls. There is no command to set it, and you must not try to make your own session count: if the user wants questions everywhere, run `sideby unattended off --json`.
|
|
58
|
+
- Typing into a terminal by automation (tmux `send-keys`) looks like a person to Claude Code and counts for that one session. Sessions started before this sideby version, and Codex sessions, do not have it.
|
|
59
|
+
|
|
60
|
+
## If nobody answers: questions go on after a wait
|
|
61
|
+
|
|
62
|
+
A question or a permission prompt that a Claude session shows while someone is there (an Attended Session, or Unattended Mode off) waits for the user. Once it has waited the **Answer Wait** (10 minutes unless the user set another; ADR-0077) with nobody answering, and Unattended Mode is on, the session goes on as Unattended Mode would: the question is refused with the instruction to take the recommended option where it can be undone, and the permission prompt is answered "no", never "yes". A turn that ended on a question written as text is woken with the same instructions after the same wait. Each is kept as a Pending Decision with `waited` (minutes). While Unattended Mode is off it keeps waiting, and goes on once the mode comes on (a Slot that begins later, say). So "ask me while I'm here, don't get stuck when I'm not" needs only Unattended Mode on, or a Schedule.
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
sideby unattended wait --json # field answerWait: minutes, or null when it waits however long
|
|
66
|
+
sideby unattended wait 30 --json # 1 to 120 minutes
|
|
67
|
+
sideby unattended wait off --json # questions wait for the user however long
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Set it when the user asks ("问题没人回就自动按推荐继续", "问题等我 30 分钟再继续", "别自动继续,一直等我", "how long does a question wait for me"); each change prints its `undo`. It reaches sessions already running at their next look. Not covered: a background subagent's permission prompt (Claude Code shows it only after the hooks, so it waits for the user), Codex, Grok, pi, and sessions started before this sideby version (restart them).
|
|
71
|
+
|
|
72
|
+
When a refusal or a note in your session starts "No answer after 10 minutes", "Not allowed: nobody confirmed this action in 10 minutes" or "Nobody replied to your question for 10 minutes", that is this: nobody is answering, so do what the note says and do not ask the same thing again.
|
|
73
|
+
|
|
52
74
|
## When the user is back
|
|
53
75
|
|
|
54
76
|
```sh
|
|
55
|
-
sideby unattended --json # on or off and why, until when, the next Slot, open decisions, coverage
|
|
77
|
+
sideby unattended --json # on or off and why, until when, the next Slot, open decisions, coverage, attended sessions
|
|
56
78
|
sideby unattended pending --json # each question, refused permission or skipped action, with account, session and folder
|
|
57
79
|
sideby unattended pending done <id> --json # or --all, once the user has dealt with them
|
|
58
80
|
```
|
|
59
81
|
|
|
60
|
-
Go through the open ones with the user (a `deferred` one that starts "The session stopped" is a session whose turn kept failing after three retries; a `permission` one names the tool, for Bash only the program and the model's description of the step, and `agentType` when a subagent asked; the whole command is in the session itself). A decision with a `sessionId` can be continued in its session: `sideby sessions copy <sessionId> --as resume` copies the command. Done ones are deleted 30 days later. A plugin can be told when a stretch ends through the `unattended.ended` event (`docs/guide/plugins.md`); sideby itself sends no notification.
|
|
82
|
+
Go through the open ones with the user (one with `waited` was on screen that many minutes before the session went on without an answer; a `deferred` one that starts "The session stopped" is a session whose turn kept failing after three retries; a `permission` one names the tool, for Bash only the program and the model's description of the step, and `agentType` when a subagent asked; the whole command is in the session itself). A decision with a `sessionId` can be continued in its session: `sideby sessions copy <sessionId> --as resume` copies the command. Done ones are deleted 30 days later. A plugin can be told when a stretch ends through the `unattended.ended` event (`docs/guide/plugins.md`); sideby itself sends no notification.
|
|
61
83
|
|
|
62
|
-
The same is on the Panel's **Unattended** tab (`sideby ui`): the status with **Turn on now**, the Schedule, and the Pending Decisions with **Done
|
|
84
|
+
The same is on the Panel's **Unattended** tab (`sideby ui`): the status with **Turn on now**, the Schedule, **If nobody answers** (the Answer Wait), and the Pending Decisions with **Done** (one that went on after a wait says "No answer for 10 min"). Point the user there when they prefer clicking.
|