Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
telegram-agent-cli
command
Command telegram-agent-cli gives AI agents safe, read-only-by-default access to a Telegram user account.
|
Command telegram-agent-cli gives AI agents safe, read-only-by-default access to a Telegram user account. |
|
internal
|
|
|
cli
Package cli holds the cobra commands.
|
Package cli holds the cobra commands. |
|
config
Package config holds the data dir layout, config.json, env switches and file-mode helpers.
|
Package config holds the data dir layout, config.json, env switches and file-mode helpers. |
|
guard
Package guard refuses every MTProto request that is not on an exact read allowlist before it leaves the process.
|
Package guard refuses every MTProto request that is not on an exact read allowlist before it leaves the process. |
|
hook
Package hook is the Claude Code PreToolUse guard and its settings installer.
|
Package hook is the Claude Code PreToolUse guard and its settings installer. |
|
output
Package output holds the JSON envelope and the stable error/exit-code contract.
|
Package output holds the JSON envelope and the stable error/exit-code contract. |
|
tgclient
Package tgclient wraps gotd: connection, locking, session storage, peer resolution and the JSON shapes.
|
Package tgclient wraps gotd: connection, locking, session storage, peer resolution and the JSON shapes. |
|
tgclient/tgfake
Package tgfake is an in-memory tgclient.Telegram for tests: no network.
|
Package tgfake is an in-memory tgclient.Telegram for tests: no network. |
|
waitnew
Package waitnew finds incoming messages newer than a per-chat watermark.
|
Package waitnew finds incoming messages newer than a per-chat watermark. |
|
watch
Package watch holds the watcher registry, per-watcher state, the send logs and the gate that decides whether a watcher may send one reply.
|
Package watch holds the watcher registry, per-watcher state, the send logs and the gate that decides whether a watcher may send one reply. |
Click to show internal directories.
Click to hide internal directories.
