Repository navigation
CMS Harness 0.5.1
Talk to it from anywhere, hand it files, share the back office
0.5 is about working with the assistant the way people already work: from the chat app on a phone, with a file dragged in, on an account you already pay for, and with a back office that several people can share without seeing each other's part.
0.5.1 is 0.5.0 with the Windows build put right: 0.5.0 did not compile there, so it has no Windows download. On Windows the chat cannot run through Claude Code yet (it needs Unix sockets) and says so when picked; every other model service works as elsewhere.
New
- Run it from a chat app. WeChat, Telegram, Feishu, DingTalk, WeCom, Slack, Discord, WhatsApp, LINE and QQ can be connected, in Settings → Chat apps or by telling the assistant "connect my WeChat". WeChat is a QR code to scan; Telegram is BotFather's token and a pairing code; for the others the page lists the steps in that platform's console, takes the values it gives, and hands back an address and a pairing code. A message sent there is a turn of the assistant as that admin, and publishing still waits for a yes, by a reply or a button. Only the one person who paired is listened to, and nothing said in a group is.
- Hand it files. Drag, paste or pick pictures, PDFs, Word, Excel, PowerPoint, text files and zips into the chat. A picture shows at once and fills in as it uploads; a PDF goes to a model that reads PDFs as the file, and otherwise its text is taken out. What cannot be read is said so, to you and to the model.
- Run the chat on an account you already have. Sign in with ChatGPT (OpenAI's own flow for open-source apps) and the chat runs on your plan, with no key. A Claude subscription works through the Claude Code installed and signed in on the server; the environment does no Claude login of its own.
- A top account, and admins with surfaces of their own. The account that made the environment is the top account: only it adds, resets and removes admins, and it can give an admin the surfaces they manage. Such an admin sees only those surfaces and the content their pages use, can change and publish records, and is not told that anything else exists: what is outside reads word for word as what is not there. Their assistant is held to the same. It is checked in the kernel, for the tools, publishing, requests, schedules, the preview and chat apps alike.
- Consent, three ways. Each publish by the assistant is a request card you approve; or you say "publish when done" in the conversation; or you tick the card's "from now on in this conversation"; or you turn on direct publishing for your account in Settings. A standing approval covers only what the assistant itself changed in that conversation, and stops once the conversation has read text from outside (a web page, something a visitor or member wrote). A direct publish can be taken back from its card.
- The sidebar reads like folders. Each surface is a folder that opens to the content its pages use, with the site's own sections inside it; what no surface uses yet is listed last.
- By hand, without learning. Hand edits on the canvas are listed and undone one by one. The site's navigation is a list of names and destinations. A new page is two fields. A surface or a kind of content can be made on the Environment page without the chat.
Safer
- A chat-app connection ends with its account: removal, reset, a new password, a restore.
- The address platforms call (
/_hc/chat/…) checks each platform's own signature before anything is read, refuses old requests sent again, and takes Feishu only wrapped with an Encrypt Key. - From a phone only words that say it publish ("同意", "发布", "yes"); "ok" answers the assistant's last question and nothing else.
- Names and language codes read back from the database are checked again before they reach SQL.
- The PDF, Excel and Word readers stop short on files made to fill memory or time.
- The TLS key file is private from the moment it is made, and an agent working with a key no longer uses up the same address's page views.
Notes for upgrading
- The database is migrated on start. The first builder of an existing environment becomes its top account, and from now on only the top account manages admins and takes or restores a backup in the back office. Other builders keep everything else.
cms-harness backupandrestoreon the server are unchanged. - An admin who is given surfaces loses the right to change pages, structure and settings, whatever their role: a template or a server function reads any collection.
- Chat apps follow each platform's published protocol and are tested against requests built as documented. What was checked against the real services: WeChat hands out a QR code, and every platform refuses made-up credentials. None has been connected end to end by a person yet; tell us what you find. The platforms that call in read text only for now, and need the environment's address to be reachable from the internet.
- A site with one surface now shows its content folded under "Site" in the sidebar instead of a flat list.
- The
?ask=hand-over to the chat is gone; the fit page posts a form instead. - Building from source needs Rust 1.98 or newer.
Details: README · SECURITY.md
Full Changelog: v0.4.0...v0.5.1