feat: rename telegram client module

This commit is contained in:
banteg
2025-12-29 19:37:26 +04:00
parent e1fcc681eb
commit 040f0e5fec
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ The orchestrator module containing:
queue per bot token; updates are confirmed when a client requests a higher `offset`, so
multiple instances with the same token will race (duplicates and/or missed updates)
### `telegram_client.py` — Telegram Bot API
### `telegram.py` — Telegram Bot API
Minimal async client wrapping the Bot API:
+2 -2
View File
@@ -1,4 +1,4 @@
# Takopi
# takopi
> 🐙 A little helper from Happy Planet, here to make your Codex sessions happier-pi!
@@ -55,7 +55,7 @@ Create a Codex profile in `~/.codex/config.toml`:
model = "gpt-4.1"
```
Then run Takopi with:
Then run takopi with:
```bash
uv run takopi --profile takopi
+1 -1
View File
@@ -1,3 +1,3 @@
"""Takopi — Telegram Codex bridge package."""
"""takopi — Telegram Codex bridge package."""
__version__ = "0.1.0"
+1 -1
View File
@@ -22,7 +22,7 @@ from .config import ConfigError, load_telegram_config
from .exec_render import ExecProgressRenderer, render_event_cli, render_markdown
from .logging import setup_logging
from .onboarding import check_setup, render_setup_guide
from .telegram_client import TelegramClient
from .telegram import TelegramClient
logger = logging.getLogger(__name__)
UUID_PATTERN_TEXT = r"\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b"
+1 -1
View File
@@ -104,7 +104,7 @@ def render_setup_guide(result: SetupResult) -> None:
panel = Panel(
"\n".join(parts).rstrip(),
title="[bold]Welcome to Takopi![/]",
title="[bold]Welcome to takopi![/]",
subtitle=f"{_OCTOPUS} setup required",
border_style="yellow",
padding=(1, 2),
+1 -1
View File
@@ -5,7 +5,7 @@ import httpx
import pytest
from takopi.logging import RedactTokenFilter
from takopi.telegram_client import TelegramClient
from takopi.telegram import TelegramClient
def test_telegram_429_retry_after_calls_sleep() -> None: