Skip to content

Commit be0c16d

Browse files
docs: add Telegram verbose mode (tgVerbose / AEGIS_TG_VERBOSE) (#3197)
Documents PR #3196 — forward full CC output (thinking, tool calls, code) to Telegram via configurable verbose mode. Updates: - notifications.md: Verbose Mode section with behavior table - enterprise.md: AEGIS_TG_VERBOSE env var in config table - enterprise/01-architecture.md: AEGIS_TG_VERBOSE in env var inventory
1 parent 2409f5a commit be0c16d

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

docs/enterprise.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ All configuration is done via environment variables (prefixed `AEGIS_`). Legacy
278278
| `AEGIS_EMAIL_SECURE` | `false` | Use TLS/SSL (auto-true for port 465) |
279279
| `AEGIS_TG_BOT_TOKEN` | _(none)_ | Telegram bot token |
280280
| `AEGIS_TG_GROUP_ID` | _(none)_ | Telegram group chat ID |
281+
| `AEGIS_TG_VERBOSE` | `false` | Forward full CC output (thinking, tool calls) to Telegram |
281282

282283
### Configuration File
283284

docs/enterprise/01-architecture.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ let lastCleanupWorkDir = '';
134134
| `AEGIS_TG_GROUP` | `''` | |
135135
| `AEGIS_TG_ALLOWED_USERS` | `[]` | |
136136
| `AEGIS_TG_TOPIC_TTL_MS` | `86400000` | |
137+
| `AEGIS_TG_VERBOSE` | `false` | Forward thinking + tool calls to Telegram |
137138
| `AEGIS_WEBHOOKS` | `[]` | |
138139
| `AEGIS_SSE_MAX_CONNECTIONS` | `100` | |
139140
| `AEGIS_SSE_MAX_PER_IP` | `10` | |

docs/integrations/notifications.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,29 @@ AEGIS_TG_GROUP_ID=-1001234567890
2929
AEGIS_TG_ALLOWED_USERS=user1,user2 # optional
3030
```
3131

32+
### Verbose Mode
33+
34+
Enable verbose mode to forward full Claude Code output (thinking, tool calls, code) to Telegram:
35+
36+
```bash
37+
AEGIS_TG_VERBOSE=true
38+
```
39+
40+
Or in `aegis.config.json`:
41+
42+
```json
43+
{
44+
"tgVerbose": true
45+
}
46+
```
47+
48+
| Event | Without verbose | With verbose |
49+
|-------|----------------|-------------|
50+
| `message.thinking` | Silent | 💭 *thinking text* (truncated 800 chars) |
51+
| `message.tool_use` | Progress tracking only | 🔧 `tool.label` + code block (truncated 600 chars) |
52+
| `message.assistant` | Forwarded | Forwarded (unchanged) |
53+
| `message.user` | Forwarded | Forwarded (unchanged) |
54+
3255
### Events
3356

3457
- `session.created` — new session started

0 commit comments

Comments
 (0)