SFOS: harbour companion packaging (OMB Companion) #10

Closed
opened 2026-09-26 03:54:08 +02:00 by Grok · 3 comments
Contributor

Assessment

donach/openmausbot is TypeScript / Vite / React / Electron desktop + local Node harness — not Qt. Phone path upstream is native Android/iOS companion pairing to desktop via the companion sidecar (:8810 → harness loopback :8799). Companion does not serve the desktop SPA HTML.

Electron will not run on Sailfish OS. Sailfish.WebView cannot host the Electron/Vite SPA as a full product (same class of failure as t3code SPA). Full Sailfish client remains deferred until after Events/Milestones; this issue tracks a first harbour artefact now.

v0 plan — Silica companion client

Realistic first ship: native Silica network client that pairs + chats/approvals against the companion allowlist API, honest about needing a desktop OMB host + companion sidecar.

Trademark-safe harbour name (chosen)

Field Value
Package harbour-omb-companion
Desktop Name OMB Companion
Organization cz.bitp
Packaging home donach/omb-sfos

Do not ship user-visible Name/Title/Summary as "OpenMausBot", "Maus", or "SupaMaus".

Scope of v0.1.0

  • QML-only / noarch (sailfish-qml / libsailfishapp-launcher), mirror zulip-sfos / t3code-sfos patterns
  • Pages: Main (status + open pair), PairPage (host + 6-digit code → POST /api/pair), BotsPage (GET /api/bots), ChatPage (send + show replies — minimal), Settings (clear token, host URL)
  • Persist host + device token via LocalStorage
  • Sailjail: Internet at minimum
  • SDK pin: coderus/sailfishos-platform-sdk:5.2.0.15
  • Pair against desktop companion (OMB_COMPANION_PORT default 8810); pairing page on desktop is loopback :8811

Explicit non-goals / honesty

  • Not Electron on SFOS
  • Not WebView of the OMB SPA
  • Not full Android/iOS feature parity
  • Optional later: AppSupport + Android companion APK

Publish

Forgejo release asset on donach/omb-sfos is enough for v0 (harbour-zulip pattern). Packages API write may be blocked — note the gap.

Smoke

If available: donach/sfos-microvm harness ./harness/sfos-harbour-smoke.sh on the built RPM (sdk mode). Only exit 0 = packaging gate pass.


Filed by SFOS agent (Grok) executing first harbour artefact packaging.

## Assessment `donach/openmausbot` is TypeScript / Vite / React / **Electron** desktop + local Node harness — **not Qt**. Phone path upstream is native Android/iOS companion pairing to desktop via the `companion` sidecar (`:8810` → harness loopback `:8799`). Companion does **not** serve the desktop SPA HTML. Electron will **not** run on Sailfish OS. Sailfish.WebView cannot host the Electron/Vite SPA as a full product (same class of failure as t3code SPA). Full Sailfish client remains deferred until after Events/Milestones; this issue tracks a **first harbour artefact now**. ## v0 plan — Silica companion client Realistic first ship: **native Silica network client** that pairs + chats/approvals against the companion allowlist API, honest about needing a desktop OMB host + companion sidecar. ### Trademark-safe harbour name (chosen) | Field | Value | |---|---| | Package | `harbour-omb-companion` | | Desktop Name | `OMB Companion` | | Organization | `cz.bitp` | | Packaging home | `donach/omb-sfos` | **Do not** ship user-visible Name/Title/Summary as "OpenMausBot", "Maus", or "SupaMaus". ### Scope of v0.1.0 - QML-only / noarch (`sailfish-qml` / `libsailfishapp-launcher`), mirror zulip-sfos / t3code-sfos patterns - Pages: Main (status + open pair), PairPage (host + 6-digit code → `POST /api/pair`), BotsPage (`GET /api/bots`), ChatPage (send + show replies — minimal), Settings (clear token, host URL) - Persist host + device token via LocalStorage - Sailjail: `Internet` at minimum - SDK pin: `coderus/sailfishos-platform-sdk:5.2.0.15` - Pair against desktop companion (`OMB_COMPANION_PORT` default 8810); pairing page on desktop is loopback `:8811` ### Explicit non-goals / honesty - Not Electron on SFOS - Not WebView of the OMB SPA - Not full Android/iOS feature parity - Optional later: AppSupport + Android companion APK ### Publish Forgejo **release asset** on `donach/omb-sfos` is enough for v0 (harbour-zulip pattern). Packages API write may be blocked — note the gap. ### Smoke If available: `donach/sfos-microvm` harness `./harness/sfos-harbour-smoke.sh` on the built RPM (sdk mode). Only exit 0 = packaging gate pass. --- Filed by SFOS agent (Grok) executing first harbour artefact packaging.
Author
Contributor

Progress: Created packaging home donach/omb-sfos. Scaffolding harbour-omb-companion v0.1.0 (QML-only noarch Silica companion client) next — trademark-safe Name OMB Companion, org cz.bitp.

**Progress:** Created packaging home [`donach/omb-sfos`](https://git.bitp.cz/donach/omb-sfos). Scaffolding `harbour-omb-companion` v0.1.0 (QML-only noarch Silica companion client) next — trademark-safe Name `OMB Companion`, org `cz.bitp`.
Author
Contributor

Done — first harbour artefact shipped

Item Result
Packaging home donach/omb-sfos
Package / Name harbour-omb-companion / OMB Companion (cz.bitp)
Release harbour-omb-companion-v0.1.0
RPM https://git.bitp.cz/donach/omb-sfos/releases/download/harbour-omb-companion-v0.1.0/harbour-omb-companion-0.1.0-1.noarch.rpm
sha256 75244ccc95adc881cf9633f6e2c297a5d2b1183ab73e32012ada855f55c70e91
harbour-smoke (sdk) exit 0
Packages API upload ok (HTTP 201) — not blocked
Store index PR sfos-forgejo-store#11 adds donach/omb-sfos

Build note

Host noarch rpmbuild hand-install (no Docker/SDK on packaging agent). Workflow .forgejo/workflows/harbour-omb-companion-rpm.yml ready for SDK mb2 on Docker runners. Pin coderus/sailfishos-platform-sdk:5.2.0.15.

Residual / honesty

  • Needs live desktop companion for real pair; UI+HTTP client hits documented /api/pair, /api/bots, messages.
  • Companion refuses Origin — QML XHR usually OK; if a Qt build starts sending Origin → 403, needs C++ QNAM follow-up.
  • Not Electron; not SPA WebView; not Android parity.
## Done — first harbour artefact shipped | Item | Result | |---|---| | Packaging home | [`donach/omb-sfos`](https://git.bitp.cz/donach/omb-sfos) | | Package / Name | `harbour-omb-companion` / **OMB Companion** (`cz.bitp`) | | Release | [`harbour-omb-companion-v0.1.0`](https://git.bitp.cz/donach/omb-sfos/releases/tag/harbour-omb-companion-v0.1.0) | | RPM | https://git.bitp.cz/donach/omb-sfos/releases/download/harbour-omb-companion-v0.1.0/harbour-omb-companion-0.1.0-1.noarch.rpm | | sha256 | `75244ccc95adc881cf9633f6e2c297a5d2b1183ab73e32012ada855f55c70e91` | | harbour-smoke (sdk) | **exit 0** | | Packages API | upload **ok** (HTTP 201) — not blocked | | Store index | PR [`sfos-forgejo-store#11`](https://git.bitp.cz/donach/sfos-forgejo-store/pulls/11) adds `donach/omb-sfos` | ### Build note Host noarch `rpmbuild` hand-install (no Docker/SDK on packaging agent). Workflow `.forgejo/workflows/harbour-omb-companion-rpm.yml` ready for SDK mb2 on Docker runners. Pin `coderus/sailfishos-platform-sdk:5.2.0.15`. ### Residual / honesty - Needs live desktop companion for real pair; UI+HTTP client hits documented `/api/pair`, `/api/bots`, messages. - Companion refuses `Origin` — QML XHR usually OK; if a Qt build starts sending Origin → 403, needs C++ QNAM follow-up. - Not Electron; not SPA WebView; not Android parity.
Author
Contributor

Verified: release asset downloads (HTTP 200) and sha256 matches 75244ccc…0e91; store index PR donach/sfos-forgejo-store#11 is merged. v0.1.0 scope delivered — closing. Store-facing publish under a final shipping name stays gated on #6; full client remains #8.

Verified: release asset downloads (HTTP 200) and sha256 matches `75244ccc…0e91`; store index PR donach/sfos-forgejo-store#11 is merged. v0.1.0 scope delivered — closing. Store-facing publish under a final shipping name stays gated on #6; full client remains #8.
Grok closed this issue 2026-09-26 10:53:35 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
donach/openmausbot#10
No description provided.