chore: rename entry points

This commit is contained in:
banteg
2025-12-28 21:34:41 +04:00
parent 39c0bcec45
commit fa2f8f12f0
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -11,10 +11,10 @@ dependencies = [
] ]
[project.scripts] [project.scripts]
codex-telegram-exec-bridge = "codex_telegram_bridge.exec_bridge:main" exec-bridge = "codex_telegram_bridge.exec_bridge:main"
codex-telegram-mcp-bridge = "codex_telegram_bridge.mcp_bridge:main" mcp-bridge = "codex_telegram_bridge.mcp_bridge:main"
codex-telegram-tmux-notify = "codex_telegram_bridge.tmux_notify:main" tmux-notify = "codex_telegram_bridge.tmux_notify:main"
codex-telegram-tmux-reply = "codex_telegram_bridge.tmux_reply_bot:main" tmux-reply = "codex_telegram_bridge.tmux_reply_bot:main"
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling"]
+4 -4
View File
@@ -35,7 +35,7 @@ Optional keys (by mode):
Run: Run:
```bash ```bash
uv run codex-telegram-exec-bridge uv run exec-bridge
``` ```
## Option 2: MCP server ## Option 2: MCP server
@@ -43,7 +43,7 @@ uv run codex-telegram-exec-bridge
Run: Run:
```bash ```bash
uv run codex-telegram-mcp-bridge uv run mcp-bridge
``` ```
## Option 3: tmux ## Option 3: tmux
@@ -51,13 +51,13 @@ uv run codex-telegram-mcp-bridge
Reply injector: Reply injector:
```bash ```bash
uv run codex-telegram-tmux-reply uv run tmux-reply
``` ```
Notifier (call from your existing hook): Notifier (call from your existing hook):
```bash ```bash
uv run codex-telegram-tmux-notify --tmux-target "codex1:0.0" --text "$TURN_TEXT" 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`. Add `--chat-id` if `chat_id` is not set in `~/.codex/telegram.toml`.