@mrciphersmith/keryx 0.3.46 → 0.3.48
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 +20 -0
- package/dist/cli.js +8678 -4121
- package/dist/core.js +1991 -1010
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1000,6 +1000,26 @@ compared at startup, and a weaker profile refuses to bind at all. See
|
|
|
1000
1000
|
[drive keryx remotely](docs/docs/guides/drive-keryx-remotely.md) for routes and
|
|
1001
1001
|
setup.
|
|
1002
1002
|
|
|
1003
|
+
### Remote control from Telegram (opt-in, off by default)
|
|
1004
|
+
|
|
1005
|
+
`/remote-control` in a running shell mirrors that session into its own topic of a
|
|
1006
|
+
Telegram supergroup: you send a line from your phone and it runs as if typed
|
|
1007
|
+
there, the reply and any approval question come back to the topic. Nothing
|
|
1008
|
+
happens until you set three things up: a separate bot made with BotFather, its
|
|
1009
|
+
token in `remote/bot-token` in the global keryx directory with mode 600; the
|
|
1010
|
+
Telegram user id that may use it, in the allowlist file `remote/config.json`; and
|
|
1011
|
+
a supergroup with topics enabled where that bot is an admin with the manage topics
|
|
1012
|
+
right. The Telegram transport is the single poller inside `keryx serve` — shells
|
|
1013
|
+
talk to `serve` over loopback with a local shell token (new on every `serve`
|
|
1014
|
+
start, and never sent to an endpoint whose `serve` is gone), they never poll
|
|
1015
|
+
Telegram themselves, and a second `keryx serve` does not poll while the first one
|
|
1016
|
+
runs. At most 500 lines wait per topic, and turning it off tells the topic which
|
|
1017
|
+
queued lines will not run.
|
|
1018
|
+
Without the config files `serve` starts as before, with remote control off. This
|
|
1019
|
+
has been verified against a fake Bot API only; no run against real Telegram has
|
|
1020
|
+
been done yet. Setup and limits:
|
|
1021
|
+
[drive keryx remotely](docs/docs/guides/drive-keryx-remotely.md#remote-control-from-telegram).
|
|
1022
|
+
|
|
1003
1023
|
## CI integration
|
|
1004
1024
|
|
|
1005
1025
|
CI can publish normalized, committable artifacts that humans and agents read
|