From 71e50e3da2bed51d0d0e17bdfb986512e639aae3 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 02:07:46 +0000 Subject: [PATCH 1/3] README: the games are TriviaQuiz and SongGuess now Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RsqJnxrLp5eK6VJuiCDqCK --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f81c41..7ed0c95 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ A small, [privacy-conscious](PRIVACY.md) chat bot for Signal, through a running - Your group's brain trust: ask it to explain things, check facts or settle debates, or just the fun of a sassy LLM in your Signal groups - Explain or translate any message, photo, document, or website by replying to it and @mentioning the bot - Connect MCP tools, data, and charting to your group chat -- Play games in your group: [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess) (guess where a street photo was taken), a [trivia quiz](https://github.com/robdevops/chat-plugin-quiz) the model writes on any topic, and a [song quiz](https://github.com/robdevops/chat-plugin-songs) of short clips from Deezer +- Play games in your group: [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess), guessing where a street photo was taken; [TriviaQuiz](https://github.com/robdevops/TriviaQuiz), a trivia quiz the model writes on any topic; and [SongGuess](https://github.com/robdevops/SongGuess), a song quiz of short clips from Deezer - A private assistant in your DMs - Use this project as the basis of your own bot project From 1143d7fb0488516d484952eb1d23fcff8b146741 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 02:07:52 +0000 Subject: [PATCH 2/3] README: name the games among custom MCP servers Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RsqJnxrLp5eK6VJuiCDqCK --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ed0c95..f09c768 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A small, [privacy-conscious](PRIVACY.md) chat bot for Signal, through a running - Responds to @mentions, replies to its messages, and DMs from whitelisted contacts - Tools: web search, line and pie charts, [pictures](docs/FILES_LINKS_TOOLS_MCP.md#images) (drawings, art, diagrams) with GPT Image 2, and your own [MCP connectors](docs/FILES_LINKS_TOOLS_MCP.md#mcp-connectors) - [`/schedule`](docs/SCHEDULING.md) a reminder or command, once or repeating -- [Custom MCP servers](docs/FILES_LINKS_TOOLS_MCP.md#addons) that run their own commands and games in chosen groups, such as [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess), seeing only pseudonyms +- [Custom MCP servers](docs/FILES_LINKS_TOOLS_MCP.md#addons) such as [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess), [TriviaQuiz](https://github.com/robdevops/TriviaQuiz), [SongGuess](https://github.com/robdevops/SongGuess), or roll your own - Understands [files](docs/FILES_LINKS_TOOLS_MCP.md#files) (PDFs, text and code, Word, Excel and PowerPoint) and the [pages you link to](docs/FILES_LINKS_TOOLS_MCP.md#links), and if the model supports it, images, stickers, voice notes and other audio - Typing indicators, reactions, stickers, @mentions and replies - In-memory conversation context (Default: 10 messages). Never logged to disk, forgotten after 24 hours, or sooner if _disappearing messages_ requires. From a5d05f5d1d08c83156851aff25c2aae00a6bb9c4 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 02:09:24 +0000 Subject: [PATCH 3/3] Docs: GeoGuess is at robdevops/GeoGuess now Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RsqJnxrLp5eK6VJuiCDqCK --- PRIVACY.md | 2 +- README.md | 4 ++-- docs/CONFIGURATION.md | 2 +- docs/FILES_LINKS_TOOLS_MCP.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PRIVACY.md b/PRIVACY.md index bc1a4b0..6f71bc0 100644 --- a/PRIVACY.md +++ b/PRIVACY.md @@ -79,7 +79,7 @@ On Telegram (`TELEGRAM_BOT_TOKEN` set) the above holds, with these differences: ## Addons -An addon is a program the bot runs on its own machine, as an [MCP server](docs/FILES_LINKS_TOOLS_MCP.md#addons), that answers its own commands, reads the messages it asks for and posts on its own, such as the [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess) game. With none configured, none of this applies. +An addon is a program the bot runs on its own machine, as an [MCP server](docs/FILES_LINKS_TOOLS_MCP.md#addons), that answers its own commands, reads the messages it asks for and posts on its own, such as the [GeoGuess](https://github.com/robdevops/GeoGuess) game. With none configured, none of this applies. - **It is trusted code.** It runs as the bot's user, in the same sandbox, and could read what the bot's user can, the state directory included. What follows limits what the bot hands it; it guards against mistakes and leaks, not against a hostile program. Install only addons you would let run as the bot. - **What it never gets:** phone numbers, account IDs or group IDs. Chats and people are pseudonyms, made from a secret in `mcp.json` and different for each addon; by default the same person has a different one in each chat, so an addon can't follow them between groups. It gets none of the bot's settings or keys either: only `PATH`, `HOME`, the time zone and proxy settings (`TZ`, `HTTPS_PROXY`, `HTTP_PROXY`, `NO_PROXY`, `SSL_CERT_FILE`, `SSL_CERT_DIR`) if set, and the variables named for it (such as `GEO_…`). diff --git a/README.md b/README.md index f09c768..2baa6db 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ A small, [privacy-conscious](PRIVACY.md) chat bot for Signal, through a running - Responds to @mentions, replies to its messages, and DMs from whitelisted contacts - Tools: web search, line and pie charts, [pictures](docs/FILES_LINKS_TOOLS_MCP.md#images) (drawings, art, diagrams) with GPT Image 2, and your own [MCP connectors](docs/FILES_LINKS_TOOLS_MCP.md#mcp-connectors) - [`/schedule`](docs/SCHEDULING.md) a reminder or command, once or repeating -- [Custom MCP servers](docs/FILES_LINKS_TOOLS_MCP.md#addons) such as [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess), [TriviaQuiz](https://github.com/robdevops/TriviaQuiz), [SongGuess](https://github.com/robdevops/SongGuess), or roll your own +- [Custom MCP servers](docs/FILES_LINKS_TOOLS_MCP.md#addons) such as [GeoGuess](https://github.com/robdevops/GeoGuess), [TriviaQuiz](https://github.com/robdevops/TriviaQuiz), [SongGuess](https://github.com/robdevops/SongGuess), or roll your own - Understands [files](docs/FILES_LINKS_TOOLS_MCP.md#files) (PDFs, text and code, Word, Excel and PowerPoint) and the [pages you link to](docs/FILES_LINKS_TOOLS_MCP.md#links), and if the model supports it, images, stickers, voice notes and other audio - Typing indicators, reactions, stickers, @mentions and replies - In-memory conversation context (Default: 10 messages). Never logged to disk, forgotten after 24 hours, or sooner if _disappearing messages_ requires. @@ -28,7 +28,7 @@ A small, [privacy-conscious](PRIVACY.md) chat bot for Signal, through a running - Your group's brain trust: ask it to explain things, check facts or settle debates, or just the fun of a sassy LLM in your Signal groups - Explain or translate any message, photo, document, or website by replying to it and @mentioning the bot - Connect MCP tools, data, and charting to your group chat -- Play games in your group: [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess), guessing where a street photo was taken; [TriviaQuiz](https://github.com/robdevops/TriviaQuiz), a trivia quiz the model writes on any topic; and [SongGuess](https://github.com/robdevops/SongGuess), a song quiz of short clips from Deezer +- Play games in your group: [GeoGuess](https://github.com/robdevops/GeoGuess), guessing where a street photo was taken; [TriviaQuiz](https://github.com/robdevops/TriviaQuiz), a trivia quiz the model writes on any topic; and [SongGuess](https://github.com/robdevops/SongGuess), a song quiz of short clips from Deezer - A private assistant in your DMs - Use this project as the basis of your own bot project diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 507de4a..0532dac 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -26,7 +26,7 @@ Every setting, read from the environment (`/etc/signalbot.env` in the install). | `INTRO` | built-in sentence | Overrides the self-introduction; `{name}`, `{model}` (without any OpenRouter `provider/` prefix) and `{tools}` (the names of the tools, or `none`) are substituted | | `MAX_CONCURRENCY` | `32` | Conversations in flight at once; messages beyond this are dropped, with a warning | | `MCP_CONFIG` | empty | Path of an MCP servers file; see [MCP connectors](FILES_LINKS_TOOLS_MCP.md#mcp-connectors) | -| `_…` | none | An [addon's](FILES_LINKS_TOOLS_MCP.md#addons) own settings, read by the addon, not the bot. An addon server gets every variable that starts with its name in capitals, anything but letters and digits as `_`, then `_` (the server `geo` gets `GEO_STATE_DIR` and the rest; `GEO_STATE_DIR`, if not set, is `addons/geo` in `STATE_DIRECTORY`, which the addon creates), plus `PATH`, `HOME` and, if set, `TZ`, `HTTPS_PROXY`, `HTTP_PROXY`, `NO_PROXY`, `SSL_CERT_FILE` and `SSL_CERT_DIR`, and nothing else, so none of the other settings above reach it. A server whose prefix one of the settings above starts with (such as `model` or `mcp`) is a config error. Each addon documents its own, such as [GeoGuess's](https://github.com/robdevops/chat-plugin-geoguess#settings) | +| `_…` | none | An [addon's](FILES_LINKS_TOOLS_MCP.md#addons) own settings, read by the addon, not the bot. An addon server gets every variable that starts with its name in capitals, anything but letters and digits as `_`, then `_` (the server `geo` gets `GEO_STATE_DIR` and the rest; `GEO_STATE_DIR`, if not set, is `addons/geo` in `STATE_DIRECTORY`, which the addon creates), plus `PATH`, `HOME` and, if set, `TZ`, `HTTPS_PROXY`, `HTTP_PROXY`, `NO_PROXY`, `SSL_CERT_FILE` and `SSL_CERT_DIR`, and nothing else, so none of the other settings above reach it. A server whose prefix one of the settings above starts with (such as `model` or `mcp`) is a config error. Each addon documents its own, such as [GeoGuess's](https://github.com/robdevops/GeoGuess#settings) | | `STATE_DIRECTORY` | working directory | Where features save their state, one file each, such as `/schedule`'s `schedules.json`, `mcp.json` when an MCP server is an [addon](FILES_LINKS_TOOLS_MCP.md#addons) (and the core its `budget.json`); the bot won't start if a feature that saves can't list and write it. Set by systemd's `StateDirectory=signalbot` (`/var/lib/private/signalbot`) and by the Docker image (`/data`, which must be writable by user 65532) | | `TOOL_LINGER_ROUNDS` | `2` | Replies a keyword-gated tool group (charts, an MCP server with `keywords`) stays offered after the last one that matched its keywords or used its tools; `0` offers it only on a matching message. Any use or match starts the count again, so a run of follow-ups keeps it. Capped at `HISTORY_MAX`. See [How tools are offered](FILES_LINKS_TOOLS_MCP.md#how-tools-are-offered) | | `TZ` | `UTC` in Docker, the host's under systemd | Time zone for `/schedule` times without an offset and for `DARKMODE` hours, e.g. `Australia/Sydney`; addons get it too, for the times they write (GeoGuess's round deadline) | diff --git a/docs/FILES_LINKS_TOOLS_MCP.md b/docs/FILES_LINKS_TOOLS_MCP.md index e94c40e..7b5a916 100644 --- a/docs/FILES_LINKS_TOOLS_MCP.md +++ b/docs/FILES_LINKS_TOOLS_MCP.md @@ -103,9 +103,9 @@ A server that can't be reached at startup is logged and left out. A config error ## Addons -An addon is a local MCP server that does more than offer tools: it answers its own commands without the model, reads the messages it asks for, and posts and reacts when it likes. [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess), a photo-guessing game, is one. It is still an ordinary MCP server (protocol 2025-06-18 over stdio), which also speaks signalbot's small extension, under keys starting `io.github.robdevops.signalbot/`. A server is an addon when it has an `addon` block in the MCP file and says it speaks the extension when the bot connects; one with the block that doesn't runs as a plain server, with a warning. Addons run even with [no model](MODELS.md#no-model). +An addon is a local MCP server that does more than offer tools: it answers its own commands without the model, reads the messages it asks for, and posts and reacts when it likes. [GeoGuess](https://github.com/robdevops/GeoGuess), a photo-guessing game, is one. It is still an ordinary MCP server (protocol 2025-06-18 over stdio), which also speaks signalbot's small extension, under keys starting `io.github.robdevops.signalbot/`. A server is an addon when it has an `addon` block in the MCP file and says it speaks the extension when the bot connects; one with the block that doesn't runs as a plain server, with a warning. Addons run even with [no model](MODELS.md#no-model). -An addon written in Go can use the package [`github.com/robdevops/signalbot/addon`](../addon), which has the extension's types and a ready stdio server: give it the tools, and queue posts, reactions and the end of a watch with `Queue`. [GeoGuess](https://github.com/robdevops/chat-plugin-geoguess) is built on it. An addon in another language speaks the same JSON, described below and, message by message, in the JSON Schema [`addon/schema.json`](../addon/schema.json), which it can validate what it sends against. +An addon written in Go can use the package [`github.com/robdevops/signalbot/addon`](../addon), which has the extension's types and a ready stdio server: give it the tools, and queue posts, reactions and the end of a watch with `Queue`. [GeoGuess](https://github.com/robdevops/GeoGuess) is built on it. An addon in another language speaks the same JSON, described below and, message by message, in the JSON Schema [`addon/schema.json`](../addon/schema.json), which it can validate what it sends against. **An addon is trusted code.** It runs as the bot's user, inside the same systemd or Docker sandbox, and could read what that user can. The bot gives it as little as it can (below), but that guards against bugs and leaks, not a hostile program: install only addons you would let run as the bot.