Skip to content

starfire.ai 1.2.0

Choose a tag to compare

@drew-codes-things drew-codes-things released this 26 Nov 09:45

starfire.ai 1.2.0 is a big update to 1.1.0: a fresh install is now protected by a setup code, other apps can use your models through app keys and an OpenAI-compatible API, Arty Auto picks the right model for each message, replies keep going when you close the page, and a long security pass hardens accounts, tools, mail and backups. starfire is now licensed under Apache-2.0. This is a server release with no files attached: update from this source.

Changes you'll notice

Accounts and sign-in

  • First-run setup code. A brand-new install prints a one-time setup code in its log, and the admin account can only be made with it, so a stranger who reaches a fresh copy first can't take it over. Installs that already have an account never see it.
  • Models per account. Settings → Accounts → models opens a checklist of every model starfire lists, grouped by connection, with an "All models" switch. "Default models for new accounts" is copied to each new account. Restricted models stay admin-only.
  • Safer sessions. Sign-in tries are limited per address as well as per email, the session cookie can't be replaced by a sibling subdomain, and a login only works on the host it was made on. Behind a proxy, set TRUSTED_PROXIES so lockouts count the visitor's real address.
  • Reply limits for ordinary accounts (20 a minute by default), and shell and edit approval start on for every account.

Models and chat

  • Arty Auto is the first entry in the model picker and the default for new accounts: it picks the vision, code, agent or chat model for each message from fixed rules, and each reply names the model it used.
  • Chats keep their model after a refresh, in another tab or on another device.
  • Replies keep going on the server when you refresh or close the page, and the page rejoins them when you come back.
  • Status line under the message box: turns, tool steps, reply speed, context use and prompt cache.
  • Offline models are marked. starfire checks every connection each minute. Models on a connection that is down stay in the picker, greyed out and marked "offline", and a chat to one is refused at once instead of hanging.
  • ArtyEngine is detected next to Ollama, starfire names the backend that answered, and the model server you chose is kept instead of being switched by itself.
  • Remote rules. Connections listed in REMOTE_RULES_CONNECTIONS answer under Arty's rules: starfire asks Arty for the prompt and safety check for that model, and such models get only a short list of web tools.
  • Stricter content checks on requests and replies, with far fewer ordinary requests refused.
  • Each reply shows when it was sent, and light, dark and system themes are in Settings → Appearance.

App keys and the API

  • App keys (Settings → Accounts → App keys, admins only): each key acts as one account, is bound to chosen connections or models, has a daily reply limit and an expiry, and is shown once.
  • OpenAI-compatible /v1 API: apps such as Arty and ArtyCode send the key to GET /v1/models and POST /v1/chat/completions, streamed or not. Request size, work per request and stalled callers are all bounded. See App keys and the API.

Arty and starfire Desktop

  • Arty CLI page: a shared terminal opens with its whole conversation so far, each terminal listed under its own title.
  • Arty devices page for admins: approve a computer joining Arty, turn devices off and make phone setup codes.
  • Settings → Arty memory for admins: search, edit, add and remove what Arty remembers.
  • Look at my screen and open in browser chat tools for admins in starfire Desktop linked to Arty Desktop. Arty Desktop asks you with its own Allow card every time.
  • starfire Desktop has its own release, desktop-v1.0.0, with the Linux and Windows installers. Opening pages in your browsers needs starfire Desktop 1.1.0, which is in the desktop/ folder of this source but has no installer release yet.

Tools

  • Sign in to online MCP services from Settings → Tools (Notion, Linear, Atlassian, Sentry, Cloudflare, Stripe, PayPal, Canva, Webflow or any MCP server address). Tokens are encrypted and renewed before they run out.
  • Shell commands run in a sandbox when bubblewrap is installed, in the account's own workspace folder and with a clean environment. The approval card says when a command would run without it.
  • Approval cards ignore clicks and keys for their first second, so a stray tap can't answer them.

Security and reliability

  • Mail no longer blocks the server, mail servers' certificates are checked, and ordinary accounts can only use mail servers on public addresses.
  • Every page has a full Content-Security-Policy, chat markdown is sanitised harder, and every request body has a size cap.
  • MCP server tokens, header values, arguments and URLs are stored encrypted, and backups carry no credentials.
  • Code checks run under resource limits, and C and C++ are only compiled inside bubblewrap.
  • Errors that used to be swallowed are now logged, and a command stuck past its time limit is stopped.

Upgrading

  1. Back up your data/ folder first (or Settings → Data → backup).
  2. Update the source and reinstall the requirements: git pull, then pip install -r requirements.txt. With Docker, docker compose up -d --build.
  3. Check your .env against .env.example. New settings include ARTY_BASE_URL (for the Arty pages), TRUSTED_PROXIES and CLIENT_IP_HEADER (behind a proxy), PUBLIC_BASE_URL (for MCP sign-in) and the upload limits. Leave out any you do not need.
  4. Optional tools: code checks need prlimit (part of util-linux, already on most Linux systems); install bubblewrap (bwrap) to sandbox shell commands and to check C and C++.
  5. Start starfire. Your accounts and data stay where they are. Stored MCP secrets are encrypted the first time they are read, and browsers that are signed in stay signed in. The setup code only appears on a brand-new install with no account; it is printed in starfire's log (python server.py output, docker compose logs, or journalctl -u <service>).
  6. Licence: starfire.ai moves from the proprietary licence of 1.1.0 to Apache-2.0. You may now use, change and share it, including commercially; keep the LICENSE and NOTICE files when you share it.

The changelog lists every change.