@mrciphersmith/keryx 0.3.66 → 0.3.68
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 +22 -2
- package/dist/cli.js +1653 -172
- package/dist/core.js +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1053,8 +1053,28 @@ once to HTML and once to plain text, so a reply is never dropped. `keryx remote
|
|
|
1053
1053
|
format-sample` prints the sample in every mode with no network, and `/channels`
|
|
1054
1054
|
shows the mode and the last fallback; see
|
|
1055
1055
|
[how replies look in Telegram](docs/docs/guides/drive-keryx-remotely.md#how-replies-look-in-telegram).
|
|
1056
|
-
|
|
1057
|
-
|
|
1056
|
+
A turn started from Telegram runs under `trust` by default, like a shell `trust`
|
|
1057
|
+
turn: ordinary commands in the project run without a question and are recorded with
|
|
1058
|
+
the Telegram user id, while destructive commands, privilege escalation, downloaders,
|
|
1059
|
+
agent credential files, publish leases, untrusted content and MCP tools still ask;
|
|
1060
|
+
`spawn_subagent` is auto-approved under `trust`, as in the shell.
|
|
1061
|
+
The question carries an `Always` button that saves a pattern (list and remove them
|
|
1062
|
+
with `keryx permissions` or `/permissions`), waits 15 minutes by default, and there
|
|
1063
|
+
is no run limit unless `runTimeoutMs` sets one; `/stop` in the topic ends a run.
|
|
1064
|
+
`/remote-policy` and the **Telegram** group of `/settings` change the defaults. To
|
|
1065
|
+
get the old behaviour back set `permissionMode: "ask"`, `runTimeoutMs: 1800000` and
|
|
1066
|
+
`approvalTimeoutMs: 300000` in `remote/config.json`; see
|
|
1067
|
+
[permissions in a topic](docs/docs/guides/drive-keryx-remotely.md#permissions-in-a-topic).
|
|
1068
|
+
An approval question is confirmed by the shell: after you press Allow or Deny,
|
|
1069
|
+
`serve` waits five seconds for the shell to say it applied the answer to the question
|
|
1070
|
+
it was waiting on, then edits the message to "Allowed by ... at ..." or "Denied by ... at ...".
|
|
1071
|
+
If the shell was no longer waiting (the question had timed out or the session had
|
|
1072
|
+
reconnected) the message says "Not applied" and that the answer changed nothing. If the shell does
|
|
1073
|
+
not answer in time the message says the answer was sent to the shell, **not
|
|
1074
|
+
confirmed**: the shell did not say in time that it received the answer (a shell that never got an Allow lets its own question time out as a denial; one that got it late still applies it); while
|
|
1075
|
+
that is so the shell shows an "Approvals not confirmed" count in `/remote-control`
|
|
1076
|
+
and in the sidebar row. This has been verified against a fake Bot API only; no run
|
|
1077
|
+
against real Telegram has been done yet. Setup and limits:
|
|
1058
1078
|
[drive keryx remotely](docs/docs/guides/drive-keryx-remotely.md#remote-control-from-telegram).
|
|
1059
1079
|
|
|
1060
1080
|
## CI integration
|