openzca 0.1.21 → 0.1.24
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 +26 -0
- package/dist/cli.js +985 -313
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -272,12 +272,38 @@ Listener resilience override:
|
|
|
272
272
|
- `OPENZCA_LISTEN_DOWNLOAD_QUOTE_MEDIA`: download quoted attachment URLs (if present) into inbound media cache.
|
|
273
273
|
- Default: enabled.
|
|
274
274
|
- Set to `0` to keep only quote metadata/URLs without downloading.
|
|
275
|
+
- `OPENZCA_LISTEN_ENFORCE_SINGLE_OWNER`: enforce one `listen` owner process per profile.
|
|
276
|
+
- Default: enabled.
|
|
277
|
+
- Set to `0` to allow multiple listeners on the same profile (not recommended).
|
|
278
|
+
- `OPENZCA_LISTEN_IPC`: expose local IPC socket from `listen` so `msg upload` can reuse the active websocket session.
|
|
279
|
+
- Default: enabled.
|
|
280
|
+
- Set to `0` to disable IPC.
|
|
281
|
+
- `OPENZCA_LISTEN_KEEPALIVE_RESTART_DELAY_MS`: when `--keep-alive` is on, restart listener after close code `1000`/`3000` with this delay.
|
|
282
|
+
- Default: `2000`.
|
|
283
|
+
- `OPENZCA_LISTEN_KEEPALIVE_RESTART_ON_ANY_CLOSE`: force keepalive fallback restart for any close code.
|
|
284
|
+
- Default: disabled.
|
|
285
|
+
- Set to `1` if your environment closes with non-retry codes.
|
|
275
286
|
|
|
276
287
|
Supervised mode notes:
|
|
277
288
|
|
|
278
289
|
- Use `listen --supervised --raw` when an external process manager owns restart logic.
|
|
279
290
|
- In supervised mode, internal websocket retry ownership is disabled (equivalent to forcing `retryOnClose=false`).
|
|
280
291
|
|
|
292
|
+
Upload/listener coordination overrides:
|
|
293
|
+
|
|
294
|
+
- `OPENZCA_UPLOAD_IPC`: try upload via active listener IPC first.
|
|
295
|
+
- Default: enabled.
|
|
296
|
+
- Set to `0` to disable IPC path.
|
|
297
|
+
- `OPENZCA_UPLOAD_IPC_CONNECT_TIMEOUT_MS`: timeout for connecting to listener IPC socket.
|
|
298
|
+
- Default: `1000`.
|
|
299
|
+
- `OPENZCA_UPLOAD_IPC_TIMEOUT_MS`: timeout waiting for listener IPC upload response.
|
|
300
|
+
- Default: `OPENZCA_UPLOAD_TIMEOUT_MS + 5000`.
|
|
301
|
+
- `OPENZCA_UPLOAD_IPC_HANDLER_TIMEOUT_MS`: timeout applied by listener IPC while executing upload.
|
|
302
|
+
- Default: same as `OPENZCA_UPLOAD_TIMEOUT_MS` (120000 if unset).
|
|
303
|
+
- `OPENZCA_UPLOAD_ENFORCE_SINGLE_OWNER`: when an active listener owner exists but IPC is unavailable, fail fast instead of starting a second listener.
|
|
304
|
+
- Default: enabled.
|
|
305
|
+
- Set to `0` to allow fallback listener startup (may disconnect active listener due duplicate websocket ownership).
|
|
306
|
+
|
|
281
307
|
### account — Multi-account profiles
|
|
282
308
|
|
|
283
309
|
| Command | Description |
|