next-issue 13.1.0 → 13.2.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 +2 -2
- package/dist/args.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -297,7 +297,7 @@ To drop an issue instead, close it. The next run that finds a saved state for an
|
|
|
297
297
|
| `watch on\|off` | Switch watching of the going run, see [Watch for new issues](#watch-for-new-issues) |
|
|
298
298
|
| `hunt on\|off` | Switch hunting of the going run, see [Hunt for bugs](#hunt-for-bugs) |
|
|
299
299
|
| `init` | Write the config file with the defaults |
|
|
300
|
-
| `serve` | Run the worker of this repository that
|
|
300
|
+
| `serve` | Run the worker of this repository that the clients talk to, see [Worker](#worker) |
|
|
301
301
|
| `stop` | Stop the worker of this repository, see [Worker](#worker) |
|
|
302
302
|
| `logs` | Show the latest run log and follow it, see [Observability](#observability) |
|
|
303
303
|
| `--force` | Replace an existing config file, with `init` |
|
|
@@ -352,7 +352,7 @@ In a run of the `serve` worker, a client can switch hunting and watching on or o
|
|
|
352
352
|
|
|
353
353
|
## Worker
|
|
354
354
|
|
|
355
|
-
`next-issue serve` runs one worker for the repository it is run in. The [`@ravshansbox/pi-next-issue`](../pi-next-issue) extension and `next-issue start` start it and talk to it. `serve` takes no flags apart from `--help` and refuses any other with an error, because runs start from a client, not from `serve`. Each repository has its own worker, so the runs, restarts and upgrades of one repository never affect another. The worker:
|
|
355
|
+
`next-issue serve` runs one worker for the repository it is run in. The [`@ravshansbox/pi-next-issue`](../pi-next-issue) extension, the [Claude Code plugin](../claude-next-issue) and `next-issue start` start it and talk to it. `serve` takes no flags apart from `--help` and refuses any other with an error, because runs start from a client, not from `serve`. Each repository has its own worker, so the runs, restarts and upgrades of one repository never affect another. The worker:
|
|
356
356
|
|
|
357
357
|
- listens with WebSocket on the socket file `.next-issue/worker.sock` in the repository. Only your user can open the file. It works on macOS and Linux. When the path of the socket file is too long for the system, about 103 bytes on macOS and 107 on Linux, it exits with an error that says so;
|
|
358
358
|
- also answers plain HTTP on the same socket file, for a client with no WebSocket. `GET /` answers `[{ "type": "hello", ... }, { "type": "runs", ... }]`. `POST /` takes one client message as its JSON body, such as `{ "type": "start", "root": "<path>" }`, and answers a JSON list of the messages the worker sends that client in reply (an `error`, `stopping`, `questions` or `upcoming` message), then the `runs` message after the change. A body that is not a client message gets status 400 and `[{ "type": "error", "root": "<path>", "message": "the request is not a next-issue message" }]`; another path gets 404 and another method 405. An HTTP client does not get the `output`, `pass` and `end` messages, so it polls `GET /` for the progress;
|
package/dist/args.mjs
CHANGED
|
@@ -16,7 +16,7 @@ export const USAGE = `next-issue <command> [options]
|
|
|
16
16
|
watch on|off switch watching of the going run; off also turns hunting off
|
|
17
17
|
hunt on|off switch hunting of the going run; on also turns watching on
|
|
18
18
|
init write ${CONFIG_FILE} with the defaults and add .next-issue/ and .worktrees/ to info/exclude
|
|
19
|
-
serve run the worker of this repository that
|
|
19
|
+
serve run the worker of this repository that the clients talk to
|
|
20
20
|
stop stop the worker of this repository
|
|
21
21
|
logs show the latest run log and follow it
|
|
22
22
|
|