Repository navigation
Oshi Engine 0.10.0
This release finishes milestone 0.10, Orientation. She now knows whether the people she talks with are around: online, away or offline on each app, who is standing in front of her in novel mode, and where someone said they were going. It also has the fixes found while testing 0.9 by hand.
- She keeps, per person and app, whether they are online, idle or offline, and her prompt has a line about it. What she sees follows the app: the web chat shows online and away, Telegram online and last seen (from their last message, since bots get no presence there), novel mode and the terminal nothing.
- Web chat and novel pages go idle after
users.client_idle_minuteswithout input (default 10, envOSHI_USERS__CLIENT_IDLE_MINUTES). The page dims and says what happened; any key or tap brings it back. A changed value reaches open pages without a reload. - In novel mode she knows who is in front of her: she is awake, they share the scene, and their page is open and in use. A text from someone in front of her skips the phone (no reply delay, no availability check) and is marked as typed in front of her. She greets someone who walks in without a word, within the usual initiative limits.
- She remembers where someone said they were going with the new
note_whereaboutstool. When the model skips the tool, the appraisal after each private exchange catches it, and a place is kept only when the person wrote it. In novel mode she also notes where she saw them walk off to. - The settings UI shows who is around on the overview, a state dot per user and app in the Users list, and a "Where they are" card with the whereabouts note on each user's page.
- Modules can say that their service refuses them (
POST /v1/modules/self/health,report_healthin the SDK). Telegram reports it when another instance polls the same bot token (409), when a webhook is set on the token, or when Telegram refuses the token, and retries after 10 s, doubling up to 2 minutes. The module shows as failing in the settings UI,oshi statusandoshi doctor. - Deleting a person also deletes their chats, messages and memories, their profile notes and the opinions she formed with them.
DELETE /v1/chats/{id}(needsusers:writeandmemory:write) deletes one chat, and the CLI hasoshi user chatsandoshi user remove-chat. PUT /v1/character/profilemerges: fields left out keep their value,nullclears an optional field, and an unknown field gets 400.- The compose services are now
oshi-engine,oshi-searxngandoshi-browser, so they do not clash with other stacks ondokploy-network. - Tool calls written as
name>{...}</name>(Llama 3.1 8B does this) are read as calls, so the markup no longer reaches the chat.
Modules in this release
| Module | Version | Needs core | Builds |
|---|---|---|---|
| telegram | 0.2.4 | 0.2.0 or newer | x86_64, aarch64 |
| settings | 0.10.0 | 0.10.0 or newer | any |
| webchat | 0.10.0 | 0.10.0 or newer | any |
| webchat-themes | 0.5.0 | 0.5.0 or newer | any |
| webchat-stickers | 0.5.0 | 0.5.0 or newer | any |
| webchat-attachments | 0.5.0 | 0.5.0 or newer | any |
| novel | 0.10.0 | 0.10.0 or newer | any |
| browser | 0.7.2 | 0.3.0 or newer | x86_64, aarch64 |
telegram, settings, webchat and novel are new versions. browser and the three webchat extensions are unchanged; the store keeps the artifacts of the release that first shipped them.
Settings, web chat and novel 0.10.0 need core 0.10.0. They read presence from the engine, and their text comes from the engine too, so on an older core the new cards and the idle screen would show raw string names. Telegram 0.2.4 still runs on any core from 0.2.0: an older core answers its health report with 404, and the module logs a warning and keeps polling with the same backoff.
Upgrading
Run oshi update apply, or in Docker pull the new image. There is no database migration; presence and whereabouts are kept in the existing settings table. With modules.auto_update on (the default), the next module check installs the new module versions. Settings, web chat and novel 0.10.0 wait for core 0.10.0: on an older core the store lists them as "needs core 0.10.0" and they stay on their current versions.
The compose services have new names. engine is now oshi-engine, and in the full file searxng and browser are oshi-searxng and oshi-browser. Commands change with them, for example docker compose logs oshi-engine and docker compose exec oshi-engine oshi status. The first time you start the new file, run docker compose up -d --remove-orphans, so the old engine container is removed instead of running next to the new one on the same volume. The volume keeps its name and your data.
On Dokploy, installs made with 0.9.0 or earlier have their domains on the engine service. Before you deploy the new compose file, open the Domains tab and change each domain's service from engine to oshi-engine, then deploy. Dokploy refuses to deploy a domain whose service is not in the file. The deploy removes the old container and keeps the volume.
People deleted before 0.10.0 left their chats behind with no user, and those chats could still reach her memory. oshi user chats lists every chat; remove the leftovers with oshi user remove-chat <chat>.
Downloads
oshi-x86_64-linux.tar.gzandoshi-aarch64-linux.tar.gzcontain theoshibinary. They need glibc 2.34 or newer.- The module tarballs are named
<id>-<version>-<target>.tar.gz. The browser and webchat extension tarballs are rebuilds of unchanged versions. - Each tarball has a
.sha256file, andSHA256SUMScovers all of them.store.jsonholds the store index entries for the modules in this release.
The Docker image is ghcr.io/oshiengine/oshi-engine:0.10.0 (also 0.10, beta, stable and latest) for amd64 and arm64.
Getting started
tar -xzf oshi-x86_64-linux.tar.gz
./oshi init
./oshi serve
With the engine running, ./oshi module install settings and ./oshi module install webchat add the settings and the chat. Open http://127.0.0.1:7420/settings and create the owner login with the setup code from oshi init. Before talking to her, set llm.providers.local.base_url and llm.chat.model in oshi.toml (or the env file) to an OpenAI-compatible server.
With Docker, docker-compose.yml starts the engine with the web chat and its extensions, novel mode and the settings; the setup code is in the log (docker compose logs oshi-engine). docker-compose-full.yml adds every module, SearXNG and the headless Chrome, with SEARXNG_SECRET set in .env.
All changes: v0.9.0...v0.10.0