Chris Scott 1b2665bd2b fix(background-activity): address review on resync scope and stale subscribe responses
A directory subscribed by the stream but neither registered as a repo nor
remembered as a session directory was reconciled on subscribe but skipped on
resync, so a missed shell exit could leave the indicator stale. Pass the
stream's subscribed directories to onResync and reconcile their pending
actions and running shells alongside the tracked ones.

Subscribe responses that arrive after the connection was replaced or the
directory was unsubscribed could also apply snapshots to state the client no
longer owns. Ignore responses from a superseded connection and report only
directories still subscribed.

The stale-indicator e2e test now waits for the successful unsubscribe response
and asserts the subscribe responses succeeded instead of sleeping.
2026-10-15 10:18:06 -04:00
2025-11-23 22:17:21 -05:00

OpenCode Manager

A self-hosted command center for OpenCode. Sessions, git, terminal, and schedules in one web app, on your desktop and your phone.

opencodemanager.app · Docs · Releases

License Stars Latest Release PRs Welcome

The same OpenCode Manager session on a laptop and a phone

Quick Start

Requires Docker with Compose v2.

curl -fsSL https://opencodemanager.app/install | sh

The installer starts OpenCode Manager on http://localhost:5003 and asks before sharing anything from your machine. Re-run it to update. On first launch you create an admin account.

Requirements, Compose and source installs, and every feature are covered at opencodemanager.app:

Development

This repository is a pnpm workspace: backend/ (Bun + Hono), frontend/ (React + Vite), shared/ (schemas and types) and ocm-cli/ (the ocm CLI).

pnpm install
pnpm dev
pnpm lint
pnpm typecheck
pnpm test

See the Development Guide for setup, scripts, database notes and testing.

License

MIT

Languages
TypeScript 99.5%
Shell 0.3%
CSS 0.1%