diff --git a/README.md b/README.md index 250ae47..44f5727 100644 --- a/README.md +++ b/README.md @@ -20,19 +20,19 @@ ## 快速開始 -套件不在官方 npmjs 上,安裝要指定 `--registry`(擇一,公開站不用登入): +套件不在官方 npmjs 上,安裝要指定 `--registry`(不用登入): ```bash -# 公開 registry npm install -g telegram-codex-bot --registry=https://jianmiau.ddns.net/api/packages/AI/npm/ -# 或:公司內部 registry(需 git.catan.com.tw 帳號) -npm install -g telegram-codex-bot --registry=https://git.catan.com.tw/api/packages/Frontend/npm/ - telegram-codex-bot start # 先做環境檢查(codex/登入/pm2/git),再把控制台掛上 pm2 ``` -之後升級同樣帶 `--registry`(`npm update -g telegram-codex-bot --registry=...`)。 +之後升級同樣帶 `--registry`: + +```bash +npm update -g telegram-codex-bot --registry=https://jianmiau.ddns.net/api/packages/AI/npm/ +``` 打開 **http://localhost:3799** →「🤖 Bot 管理」→「➕ 新增 Bot」: diff --git a/package.json b/package.json index ca6cbb1..ac8784d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telegram-codex-bot", - "version": "0.1.3", + "version": "0.1.4", "description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer", "license": "MIT", "type": "commonjs",