- QML 55.9%
- Shell 29.8%
- JavaScript 12.4%
- Python 1.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| docs | ||
| harbour-omb-companion | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| sdk-version.json | ||
omb-sfos
Sailfish OS harbour packaging home for OMB Companion (harbour-omb-companion) —
a Silica network client that pairs with a desktop OpenMausBot
companion sidecar.
Mirrors the layout of zulip-sfos and
t3code-sfos. This repo does not
vendor the Electron/Vite desktop tree.
Trademark-safe harbour name
| Field | Value |
|---|---|
| Package | harbour-omb-companion |
| Desktop Name | OMB Companion |
| Organization | cz.bitp |
Do not ship user-visible Name/Title/Summary as OpenMausBot, Maus, or SupaMaus.
What this is / is not
| Is | Is not |
|---|---|
| Native Silica HTTP client | Electron on SFOS |
| Pair + bots + minimal chat vs companion allowlist | WebView of the OMB SPA |
| Phone UI; agents stay on desktop | Full Android/iOS feature parity |
Upstream phone path is native Android/iOS → companion :8810 → harness loopback :8799.
Companion does not serve desktop SPA HTML. Electron will not run on SFOS;
Sailfish.WebView cannot mount the Vite/React SPA (same class of failure as t3code).
Pairing
- Desktop: start OMB harness + companion (
Settings → Remote access, orpnpm companion). - Desktop pairing UI prints a 6-digit code and dialable address (
host:8810). - Phone: enter
http://host:8810+ code →POST /api/pair→ store device bearer token. - Authenticated calls use
Authorization: Bearer <token>against allowlisted routes (GET /api/bots,POST /api/bots/{id}/messages, …). Seecompanion/src/routes.tsupstream.
Pair against companion :8810, not the loopback control page :8811.
Build
SDK pin: see sdk-version.json → coderus/sailfishos-platform-sdk:5.2.0.15.
With Platform SDK Docker (preferred)
./scripts/build-harbour-omb-companion-rpm.sh # inside SDK, or via workflow
Forgejo workflow: .forgejo/workflows/harbour-omb-companion-rpm.yml.
Without Docker (host noarch hand-install)
./scripts/build-harbour-omb-companion-rpm-host.sh
Produces artifacts/harbour-omb-companion-0.1.0-1.noarch.rpm using local rpmbuild
(QML-only; same hand %install as the SDK fallback).
Install on device: pkcon install-local harbour-omb-companion-*.rpm.
Smoke
# from donach/sfos-microvm checkout:
./harness/sfos-harbour-smoke.sh --mode sdk path/to/harbour-omb-companion-*.rpm
Only exit 0 = packaging gate pass. Exit 3 = infra (do not treat as product pass).
Store index
Add donach/omb-sfos to harbour-sfos-forgejo-store default release repos
(and map omb-sfos → harbour-omb-companion) so the on-device store lists this RPM.
Tracking
- Upstream issue: donach/openmausbot#10