diff --git a/codex/notify_telegram/README.md b/codex/notify_telegram/README.md index 73e6371..49f2157 100644 --- a/codex/notify_telegram/README.md +++ b/codex/notify_telegram/README.md @@ -5,8 +5,8 @@ Send Codex completion summaries to Telegram with safe Markdown rendering and sta ## Install 1. Ensure `uv` is installed. -2. Copy the script into your repo (already in this folder). -3. Create your Telegram creds file at `~/.codex/telegram.json`. +2. Copy the script to `/Users/name/.codex/notify_telegram.py`. +3. Create your Telegram creds file at `/Users/name/.codex/telegram.json`. Example: @@ -22,7 +22,7 @@ Example: Add a `notify` entry to `~/.codex/config.toml`: ```toml -notify = ["uv", "run", "/absolute/path/to/agents/codex/notify_telegram/notify_telegram.py"] +notify = ["uv", "run", "/Users/name/.codex/notify_telegram.py"] ``` ## Notes @@ -34,5 +34,3 @@ notify = ["uv", "run", "/absolute/path/to/agents/codex/notify_telegram/notify_te ## Files - `notify_telegram.py`: the notifier script -- `telegram.json.example`: sample credentials file -- `config.toml.example`: sample Codex `notify` config line diff --git a/codex/notify_telegram/config.toml.example b/codex/notify_telegram/config.toml.example deleted file mode 100644 index 93afa85..0000000 --- a/codex/notify_telegram/config.toml.example +++ /dev/null @@ -1 +0,0 @@ -notify = ["uv", "run", "/Users/YOU/path/to/agents/codex/notify_telegram/notify_telegram.py"] diff --git a/codex/notify_telegram/telegram.json.example b/codex/notify_telegram/telegram.json.example deleted file mode 100644 index dd76afd..0000000 --- a/codex/notify_telegram/telegram.json.example +++ /dev/null @@ -1,4 +0,0 @@ -{ - "bot_token": "123456:ABCDEF...", - "chat_id": "462722" -}