›_ Tvijo DSHREM

A private control bot,
under your ownership.

  1. Open the official @BotFather, send /newbot, and choose a name and username.
  2. Copy the BotFather token. In VS Code, run Tvijo: Configure Telegram bot. Enter your numeric Telegram owner ID and paste the token into the password field. The token stays in VS Code SecretStorage. The owner ID is your user ID, not the bot ID or username. See Telegram getUpdates: after sending a private message to your new bot, identify your own message.from.id. Never publish the API response or bot token.
  3. Run Tvijo: Start Telegram bot, open your bot and send /help. Only the configured owner in a private chat is accepted.
/status     Local server status (read-only)
/services   Only locally authorized service states
/restart my-worker.service
/confirm CODE   One-time restart approval, expires in 60s
/account    Credit and outstanding holds
/models     Available routing choices
/model ds41f
/mode council
/ask Explain the deployment evidence
/cancel     Cancel the pending task
/help
The connector runs on your own extension host/server. It does not expose the operator's internal DSHREMBOT or give a model arbitrary shell access. The bot replies only to owner commands. Hosted token custody and unattended server mutation are not enabled.

Authorize specific server services

By default, the service allowlist is empty. In VS Code machine settings, set tvijo.telegram.allowedServices to exact units such as ["my-worker.service"], then restart the connector. Your Telegram owner can inspect those units and request a restart. A separate single-use confirmation must arrive within 60 seconds. OS permissions still apply. No command is retried automatically.

Run without VS Code

Download the client bundle, authenticate with dsh login, and create a private ~/.config/dshrempub/bot.env file (permissions 0600) on your own host with these entries:

DSHREM_BOT_TOKEN=<BotFather token>
DSHREM_BOT_OWNER_ID=<your numeric Telegram ID>
DSHREM_BOT_SERVICES=my-worker.service

Load that private file and start the installed connector:

set -a
. "$HOME/.config/dshrempub/bot.env"
set +a
dshrembot

Keep tokens out of shell history and repository files. Use a private service environment file with permissions 0600. For digital services sold inside Telegram, payment integration must use Telegram Stars; this preview does not create Telegram payment invoices.

Download DSHREM + bot