refactor: remove bridge common shim
This commit is contained in:
@@ -77,8 +77,6 @@ uv run tmux-notify --tmux-target "codex1:0.0" --text "$TURN_TEXT"
|
||||
Add `--chat-id` if `chat_id` is not set in `~/.codex/telegram.toml`.
|
||||
|
||||
## Files
|
||||
|
||||
- `src/codex_telegram_bridge/bridge_common.py`: compatibility re-exports
|
||||
- `src/codex_telegram_bridge/constants.py`: limits and config path constants
|
||||
- `src/codex_telegram_bridge/config.py`: config loading and chat-id parsing helpers
|
||||
- `src/codex_telegram_bridge/rendering.py`: markdown rendering + chunking
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from .config import (
|
||||
config_get,
|
||||
load_telegram_config,
|
||||
parse_allowed_chat_ids,
|
||||
parse_chat_id_list,
|
||||
resolve_chat_ids,
|
||||
)
|
||||
from .constants import DEFAULT_CHUNK_LEN, TELEGRAM_CONFIG_PATH, TELEGRAM_HARD_LIMIT
|
||||
from .rendering import chunk_text, render_markdown
|
||||
from .routes import Route, RouteStore
|
||||
from .telegram_client import TelegramClient
|
||||
|
||||
__all__ = [
|
||||
"DEFAULT_CHUNK_LEN",
|
||||
"TELEGRAM_CONFIG_PATH",
|
||||
"TELEGRAM_HARD_LIMIT",
|
||||
"TelegramClient",
|
||||
"Route",
|
||||
"RouteStore",
|
||||
"chunk_text",
|
||||
"config_get",
|
||||
"load_telegram_config",
|
||||
"parse_allowed_chat_ids",
|
||||
"parse_chat_id_list",
|
||||
"render_markdown",
|
||||
"resolve_chat_ids",
|
||||
]
|
||||
Reference in New Issue
Block a user