mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5058] [Other] Chat bridges: talk to the local model from Telegram, Discord and WhatsApp #2347
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @storm-ace on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5058
Area
[Other] (anything else, including setup and installation). It touches both the Terminal ([TUI]) and the app ([GUI]), so I picked Other.
What do you want to do?
Talk to the model on my own PC from the chat apps I already use: Telegram, Discord and, later, WhatsApp. For example, ask a question from my phone while the PC at home is serving. Today the model is only reachable from the app, the web page or tools that speak the API.
This is a proposal to agree the scope before anyone writes code, as CONTRIBUTING asks for a large feature. Nothing here is built or measured yet.
Idea: one opt-in bridge process next to the server
127.0.0.1and no port opens.strata_bridges/). The Terminal calls it directly. The app's host starts and watches it the way it already runsstrata_control.run,send,edit,typing, plus limits such as Discord's 2000 and Telegram's 4096 characters). The shared core handles chat history per conversation, a queue when the server is busy, cutting long answers into pieces, streaming by editing a message, removing<think>, and the chat commands/reset,/stopand/help.Safety (the default is the safe one)
strata_cli/connections.pyalready does (token_env: "STRATA_TELEGRAM_TOKEN"). The app keeps the token in the OS keychain.strata bridge pair telegram <code>or with an Allow button in the app. Messages from people not on the list never reach the GPU.Terminal
checkworks likestrata connect --check: token, server and one prompt, exit code 0 or 1. Every command takes--output json.strata launch --statusgets a "Bridges" line, and--stopstops the bridges too.App
A new Settings › Chat apps panel:
The app and the Terminal read the same settings file.
Mockups (drawn in the app's own dark tokens from
apps/host/src/styles/kit/tokens.css; nothing here is built)App: Settings › Chat apps
App: the wizard (step 3 of 4, token checked)
App: managing one bridge
Terminal: add, start and pair
Terminal: list, check and launch
Suggested order, one PR each:
strata bridge+ tests with a fake adapter (no network).Questions for the maintainers
strata_bridges/) fine, or should it go understrata_control/?What do you do today instead?
Run a separate assistant that already supports chat channels, such as OpenClaw or Hermes Agent, and point it at Strata with
strata connect openclaw. That works, but it is a second large program to install and set up (OpenClaw needs Node 24.16+). Pairing and keeping the server on127.0.0.1then depend on that tool, and the app shows nothing about it.@storm-ace commented on GitHub (Nov 3, 2026):
Claude design: https://claude.ai/artifact/DYqKvNgquLtoFzzkJxuo54#page-dcb81aee8d83