webhelm 1.0.19 → 1.0.20
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/package.json +1 -1
- package/runtime/cli-help.mjs +0 -11
- package/runtime/cli.mjs +0 -9
package/package.json
CHANGED
package/runtime/cli-help.mjs
CHANGED
|
@@ -14,8 +14,6 @@ Commands:
|
|
|
14
14
|
webhelm status Report browser and daemon status (JSON)
|
|
15
15
|
webhelm ensure Check and recover managed Chrome health
|
|
16
16
|
webhelm capacity Report available browser capacity (JSON)
|
|
17
|
-
webhelm queue list List active ChatGPT new-turn queue items
|
|
18
|
-
webhelm queue cancel QUEUE_ID Cancel an item that is still queued
|
|
19
17
|
webhelm session start [--url URL] Start a persistent browser Session
|
|
20
18
|
webhelm session list List CLI-owned Sessions
|
|
21
19
|
webhelm session exec ID [--code-file F] Run JavaScript in a Session
|
|
@@ -89,15 +87,6 @@ Output: JSON capacity information.
|
|
|
89
87
|
|
|
90
88
|
Example:
|
|
91
89
|
webhelm capacity`,
|
|
92
|
-
queue: `webhelm queue — inspect or cancel ChatGPT new-turn queue items
|
|
93
|
-
|
|
94
|
-
Usage:
|
|
95
|
-
webhelm queue list
|
|
96
|
-
webhelm queue cancel QUEUE_ID
|
|
97
|
-
|
|
98
|
-
Cancellation succeeds only while an item remains QUEUED. Items already being
|
|
99
|
-
checked, sent, or awaiting reconciliation cannot be cancelled.
|
|
100
|
-
Output: JSON queue state or cancellation receipt.`,
|
|
101
90
|
migrate: `webhelm migrate — migrate supported legacy local browser data
|
|
102
91
|
|
|
103
92
|
Usage:
|
package/runtime/cli.mjs
CHANGED
|
@@ -149,15 +149,6 @@ async function main(args = process.argv.slice(2)) {
|
|
|
149
149
|
// reload an older daemon's Extension while its Sessions are still active.
|
|
150
150
|
return emit(await request(payload));
|
|
151
151
|
}
|
|
152
|
-
if (group === 'queue') {
|
|
153
|
-
if (command === 'list') return emit(await request({op:'queue-list'}));
|
|
154
|
-
if (command === 'cancel') {
|
|
155
|
-
const queueId=args[2];
|
|
156
|
-
if (!queueId) throw Error('queue cancel requires QUEUE_ID');
|
|
157
|
-
return emit(await request({op:'queue-cancel',queue_id:queueId}));
|
|
158
|
-
}
|
|
159
|
-
throw Error('queue requires list or cancel QUEUE_ID');
|
|
160
|
-
}
|
|
161
152
|
if (group === 'session') {
|
|
162
153
|
if (command === 'start') return emit(await request({op:'start', workspace:CLI_WORKSPACE, url:arg(args,'--url')}));
|
|
163
154
|
if (command === 'list') {
|