Skip to content

Release 0.500

v0.500.3: the MCP list shows the risky tools first

  • Changed: an MCP client’s tool list now starts with the tools that change things. An MCP client is an outside AI app, such as Claude or ChatGPT, that uses the brain’s tools. Many clients show their permission screen in list order, and the risky tools used to sit at the bottom, under a long run of reads.
  • On the tool map the order is tool_write, tool_delete, tool_send, then tool_read and tool_help, then the direct reads by name.
  • On the full list every write comes first, then every delete, then every send, then the reads. Inside each group the tools go by name. A connector counts as a send.
  • Unchanged: only the order moves. The tools, their rules, their descriptions and their replies are the same.

v0.500.2: Bun first, in the repo guide

  • Docs: the repo guide (CLAUDE.md) now says new server code must run on Bun. Bun is a newer JavaScript runtime: the program that runs the server’s code. Node stays as the fallback, and new code must keep working on Node too, until the review on 2026-11-10 decides whether Node goes. No code changed in this release.

v0.500.1: old tool names keep working on the tool map

  • Fixed: a client that remembered the full tool list can still call a tool by its old name on a tool map connection. Before, a claude.ai connector or a Claude Code session that had cached the list got “Tool X not found” once the box turned the map on, until it reconnected.
  • The map now registers every tool the gate allows under its own name, as the full list does. Only the list itself (tools/list) shows the map. A call by an old name is that tool’s own call: the same checks, the same reply and the same call log row.
  • Unchanged: a name the gate does not allow is still “not found”. The four call tools and their class check work as before.

v0.500.0: a major core update

This release pairs with mantle-client v0.9.0. Together they bring, since v0.400.56: the MCP tool map (four call tools by risk class; only tool_read runs unasked), web, api and the workers able to run on Bun (MANTLE_RUNTIME=bun), every Node service started as node under tini, the app sandbox upgrades (app history and the code tools’ undo cap, WebAssembly in the app frame, the bundler follow-ups), the Present public link with its Moderator rule, the stricter password rule, the desktop origin for the Tauri app, and the DWG picture follow-ups. The entries below give the changes first shipped in v0.500.0; the releases v0.400.61 to v0.400.75 further down give the rest.

the MCP tool map (four call tools by risk class)

  • Added: an MCP connection can ask for a short tool list, the tool map. Add ?tools=map to the connector URL, or set MANTLE_MCP_TOOL_MAP=1 for the whole box (stdio too). The default stays the full list. A linked brain’s connection never uses the map.
  • The map lists the core reads in full, tool_help, and four call tools: tool_read, tool_write, tool_delete and tool_send. Each call tool covers one risk class, which says how much a call can change. That is 25 tools and about 35k characters, where the full list is 324 tools and about 396k. A shorter list costs the client fewer tokens on every turn.
  • A tool’s class comes from its policy: read, write, delete, or send (a write that sends, publishes or reaches outside the box). A call through the wrong call tool is refused, and the answer names the right one.
  • Security: only tool_read is safe to let run unasked. It changes nothing, and nothing leaves the box but a linked brain read’s query. Let the other three ask each time. The class of every tool is pinned by a test (risk-class-snapshot.test.ts).
  • Each tool keeps its own gate, checks, reply and call log row, as on the full list.

the desktop app is always let in (CORS)

  • Added: the desktop app (MantleOS Desktop, built on Tauri) signs in to any box with no setting. The app loads its screens from its own address, mantle-ui://localhost, so every call it makes looks like it comes from another site. CORS is the browser rule that decides which other sites may call the brain. The brain now trusts the app’s address by name, in one list: the box’s MANTLE_API_CORS_ORIGINS plus the desktop app.
  • Sign-in, sign-up with the setup code and the token login all answer the app. No web page can claim a mantle-ui:// address, so this lets nobody else in. A * in the env is still refused on /api/auth. The desktop address is never a target for a company sign-in hand-off.
  • Added: the desktop app may show a Present canvas in a frame, by the same name. A wildcard is still never carried over.
  • Changed: CORS allows the Last-Event-ID header and shows the Date header by name. A live stream sends Last-Event-ID after a reconnect, to pick up where it stopped. The assistant dock reads Date to time its safety check by the server’s clock.

a CI runner on the workstation, and a quicker release check

  • Added: infra/ci-runner/ lets build-check run on our own workstation instead of a GitHub machine. CI (continuous integration) is the set of checks that runs on every push. The workstation has more cores, so the test suites finish sooner. Each job gets a fresh runner container with no Docker and no extra rights; it starts its own Postgres. Pull requests always stay on GitHub’s machines.
  • The repo variable CI_SELF_HOSTED turns it on or off. While it is on, every push to main or feat/** waits for the workstation, so turn it off when the workstation is down. Setup and logs: infra/ci-runner/README.md.
  • Changed: the release guard (release.yml) reuses a green build-check of the tagged commit instead of running the same tests again. It retries the GitHub API when a call fails.

a mini app may run WebAssembly

  • Fixed: a mini app can load a WebAssembly module. WebAssembly (wasm) is compiled code, for example from Rust, that runs fast in the browser. The sandbox kit builds Rust to wasm for apps, but the app frame’s security rules (its CSP) blocked it, so every such app failed.
  • The frame now allows 'wasm-unsafe-eval'. That allows wasm compilation and nothing more: eval and new Function stay blocked, and the app still has no network. A wasm module can do only what the app hands it.
  • Docs: the app authoring guide says how an app ships a module (base64 in a .ts file, no network) and how to keep it small.

the app bundler follow-ups (the 4 LOWs of the bundler audit)

  • Changed: an app frame may load only the /canvas-runtime/ files its import map names (echarts, d3, three, konva, katex, the diagram templates), not the whole folder. Alpine.js, reveal.js and the vanilla motion build stay out of apps.

  • Fixed: a build message about the app’s own code no longer quotes a server path (one under node_modules or the server’s workspace, for example a CSS url() that names a package file). The path reads <server file>; the message keeps its place in the app. A message located in a lucide-react file no longer names that file.

  • Fixed: the check of an app’s imports from the shared runtime reads the parsed source, not a pattern. An escaped name or specifier (import { \u0068ost } from '\u0040host') is now checked as what it is.

  • Changed: a build records the bundler rules it was made under. A build older than today’s rules no longer goes live without a new build:

    • app_publish refuses it (“run a build again, then publish”);
    • a full snapshot restore and a restore from Recently deleted put the code in the draft and say so (stale_build); the data is restored;
    • a copy leaves it out (an old live build puts the copy’s code in the draft).

    Builds with no record count as current from 2026-10-27 on.