Manager builds against and requires OpenCode 2.2.5. Every @opencode
package, plus effect and the OpenTUI/solid dependencies they share,
resolves from one pnpm workspace catalog instead of separate pins.
The built-against version and the supported floor are now separate
settings, so a future OpenCode release can move the pin before raising
the floor. Docker and the dev setup script read the floor from its own
argument.
ocm-cli moves to 0.6.0 on the same 2.2.5 and OpenTUI 0.8 baseline. A
linked server on a different version is still connectable and now shows
a neutral version notice instead of an unsupported badge.
On a freshly created session VM dockerd can exit with "timeout waiting for containerd to start" before its first initialization finishes. Supervise dockerd for up to 180s, relaunching it when it exits, instead of failing after 60s. Takes effect once the sandbox image is republished and its digest is pinned.
Add scripts/install.sh, a one-line installer that checks Docker and
Compose v2, installs into ~/opencode-manager (override with OCM_DIR),
prompts for an optional OpenCode config import, a repos folder mount and
LAN sign-in, then pulls and starts the published image.
- Add docker-compose.release.yml, which runs the published image under
the Compose project name ocm; a checkout's docker-compose.yml keeps
building from source
- Generate AUTH_SECRET on first container start and persist it to the
data volume when unset, so Compose installs need no .env
- Refuse to install over a source checkout or beside an existing
install, so volumes and the auth secret are not silently replaced
- Test the installer, entrypoint secret handling, and the two Compose
files staying in step
- Vendor the 36 OpenCode theme palettes into the shared package, synced
from the pinned OpenCode release tag via pnpm themes:sync.
- Add a colorTheme user preference across the settings schema, defaults,
and the assistant internal API.
- Extend palettes with success, warning, info, and diff colors, and add a
resolver that maps palettes to CSS tokens and applies them to the DOM.
- Apply the theme app-wide through a ThemeProvider context, adopting the
tokens in message, repo, session, and settings components, agent
colors, git status styles, and diff viewers.
- Add a theme picker to General settings and make model quick-select
follow the active theme (fixes#355).
* feat(opencode): migrate OpenCode Manager to OpenCode 2
Port the backend lifecycle, generated plugins, event aggregation,
schedules, worktrees, provider credentials, MCP, config handling, the
frontend chat model, and the ocm CLI to OpenCode 2.
Adopt @opencode/client 2.0.15 as the single typed V2 API contract,
require OpenCode 2.0.0 or newer (pinned 2.0.15), and delete every
V1-only code path.
* refactor(opencode): reload config in place and drop v1 compatibility shims
Route config/skill/AGENTS.md changes through the OpenCode location reload
API instead of a full server restart, stop auto-resuming interrupted
sessions, remove the restart coordinator and v1 MCP/version shims, and pin
support to OpenCode >=2.0.15 <3.0.0. Adds integration-ready retries,
service-mode launch, ocm-cli repo proxy, and new frontend form/MCP helpers.
* refactor(opencode): consolidate v2 migration helpers and harden install, proxy, and session flows
- extract shared semver and model-ref utilities, reuse across version checks
- share the OpenCode release download script across Docker, entrypoint, dev setup
- unify install/upgrade failure recovery and guard externally managed OPENCODE_BIN
- scope the repo proxy location rewrite and surface ocm proxy errors
- rework frontend session projection, permission lookup, and cache invalidation
* fix(schedules): reject unavailable agents before creating a session
* feat(opencode): add ocm install, schedule agent fallback, and session move guards
* build(docker): bake chromium runtime libs and refresh pinned tools
Install the Chromium runtime libraries in the runner image from Playwright's
own resolver instead of a hand-maintained package list, so a Playwright e2e
suite runs in the Manager container without root or sudo. PLAYWRIGHT_VERSION
is shared with the sandbox guest image and the docker-build workflow.
Refresh the remaining pins: node 24.21.0, pnpm 10.28.1, OpenCode 1.18.31,
microsandbox 0.7.2 and @opencode-ai/sdk 1.18.31. CI moves to Node 24 to match
the image and the documented requirement.
uv stays at 0.12.7. The runner previously fetched the unversioned installer
URL, so UV_VERSION and the workflow build argument had no effect; it now
installs from the versioned URL and asserts the installed version, and the
workflow pins the release instead of resolving the newest tag. The pin cannot
move past 0.12.7 yet because 0.12.8 and later segfault under qemu-user x86_64
emulation, which is how an arm64 host builds the amd64 platform.
* chore(docker): bump the sandbox image digest to the 1.63 build
The guest image was rebuilt and republished for Playwright 1.63.0, uv 0.12.7
and pnpm 10.28.1. Moving the digest is what makes deployments adopt it:
attestation compares the reference string, so a rebuilt image behind the old
digest would never be pulled or recreated.
* build(sandbox): align toolchain pins and verify on native runners
* feat(sandbox): run Docker with persistent guest storage
* chore(docker): pin the Docker-enabled sandbox image
* feat(sandbox): add KVM-backed agent sandboxing via microsandbox
* feat(sandbox): route host-shell surfaces into microVM via shell wrapper
* feat(sandbox): route host-shell surfaces into microVM via shell wrapper
* fix(sandbox): harden enforcement validation and backup handling
* fix(sandbox): bound lifecycle queue and harden install/backup paths
Bound the OpenCode supervisor lifecycle queue to one running plus one
pending operation so repeated restarts cannot stack unbounded HTTP
requests, while exempting stop() so shutdown is never dropped.
Reject enforcement backups that carry no recoverable removed sections,
matching the existing fail-closed handling of unparseable backups.
Install OpenCode through a private mktemp staging directory instead of
the predictable /tmp/opencode path.
Use named path/os imports in the files added by this branch.
* refactor(sandbox): remove OpenCode version allowlist gating under enforcement
* fix(settings): use resolved opencode binary and verify installed version
* refactor(sandbox): scope enforcement to agent bash tool only
* fix(sandbox): plan bash against factory directory and attest runtime tmpfs; align permission reply API
* fix(sandbox): pin neutral entrypoint and persist opencode upgrades across rebuilds
* fix(sandbox): align canonical spec with msb 0.6.8 runtime defaults
* feat(sandbox): show unwrapped sandboxed bash commands in message UI
* refactor(sandbox): pin shell shim to sandbox agent bash without rewriting commands
* feat(sandbox): route notifications through a host-side manager tool
* feat(sandbox): route all assistant capabilities through the ocm tool
Add an allow-listed request action to the generated ocm plugin so agents
reach settings, assistant reload, repos, git-info, workspaces, and
schedules through the tool instead of curling the internal API with a
bearer token, which is impossible under sandboxing.
Rewrite the curl-based skills to use the ocm request action and drop the
apiBaseUrl plumbing. Remove the now-unread .opencode/internal-token file
and the sandbox tmpfs mask that hid it; attestation now rejects any
tmpfs other than the runtime /tmp mount.
* fix(sidebar): wire new-session and new-schedule actions to every page
AssistantRedirect never registered a listener for the sidebar's
new-session event, so the desktop sidebar CTA on /assistant was a
no-op; the Schedules pages had the same gap for new-schedule.
Make useSidebarAction the single source of truth for action keys and
event dispatch, and warn when an action is dispatched with no mounted
handler so an unhandled CTA fails loudly instead of silently. Wire the
missing listeners to the existing per-page handlers.
* feat(sandbox): forward git credentials into the microVM and add sandbox guest image
* feat(sandbox): add git credential forwarding toggle to settings
* feat(docker): run container as host user with bind-mounted workspace
* fix(docker): warn on workspace gid mismatch as well as uid
* fix(docker): eval snippet passed as positional arg in container-user tests
* docs(installation): drop stale host repository access reference
Entrypoint ran as USER node (inherited from Dockerfile) so chown
silently failed with EPERM. SQLite needs write access to the directory
to create WAL/journal files alongside the database.
- Remove USER node from Dockerfile so entrypoint runs as root
- Restore mkdir /app/data + chown for fresh volume initialization
- Entrypoint now fixes ownership then drops to node via runuser before exec
- Add runtime permission fix in docker-entrypoint.sh to ensure
/app/data volume has correct ownership before app starts
- Remove build-time chown for /app/data from Dockerfile since
Docker volumes are mounted at runtime, not build time
- This resolves SQLITE_READONLY error when upgrading to OpenCode 1.4.0
The database volume may have incorrect ownership when mounted by Docker,
causing the SQLite database to be read-only. The entrypoint script now
fixes permissions before starting the backend (runs as root before USER node).
Remove packages/memory from monorepo - plugin now lives at
chriswritescode-dev/opencode-memory and is installed from npm.
Update Dockerfile, docs, and workspace config to reflect the change.
Remove Dockerfile.kasm, kasm-startup.sh, and Kasm CI workflow.
- Update KV TTL from 24 hours to 7 days in memory.md
- Add AUTH_SECRET setup to Docker quickstart in installation.md
- Rename ralph to loop in docs and config.jsonc
- Add deprecation note for ralph.* prefix
- Fix test description in CONTRIBUTING.md
- Clarify skills path in skills.md
- Update setup-dev.sh to use curl install method
- Add memory-kv-delete documentation
- Add stallTimeoutMs to default config example
* Improve scroll-to-bottom UI and session status handling
* Enhance Ralph service with session rotation and watchdog
* Add tests for Ralph session rotation and cleanup
* Add Kasm Docker build workflow
* Update dependencies for CVE security fixes
- Update hono from ^4.10.1 to ^4.11.7
- Update react-router-dom from ^7.9.4 to ^7.13.0
All tests passing, no breaking changes detected
* Refactor SSE to use Hono's built-in streamSSE
* Revert SSE implementation and update Docker upgrade script
* Add Better Auth integration with session management
- Implement user authentication using Better Auth library
- Add login, register, and sign out functionality
- Support passkey/WebAuthn authentication
- Create database schema for users, sessions, accounts, passkeys
- Add AuthProvider context and ProtectedRoute components
- Add account settings page in settings dialog
- Protect all API routes with authentication middleware
- Update environment configuration for auth providers
* Add single-user authentication system with admin setup
- Add first-run Setup page for initial admin account creation
- Add environment-based admin configuration (ADMIN_EMAIL, ADMIN_PASSWORD)
- Add password reset capability via ADMIN_PASSWORD_RESET environment flag
- Migrate to data routers with auth loaders, remove ProtectedRoute
- Add change password functionality to account settings
- Enforce AUTH_SECRET requirement in production
- Auto-disable registration when admin is pre-configured via environment
* Track busy/idle session status across hooks
* Bump version to 0.7.5
* Update pnpm to 10.28.1
- Update package names from opencode-webui to opencode-manager
- Update all backend import statements to use @opencode-manager/shared
- Update Docker configuration and container name
- Update README.md with new repository URLs and project title
- Update frontend assets and titles
- Update version to 0.4.0
- Update docker entrypoint script comments
This change maintains all functionality while better reflecting the
project's purpose as a comprehensive management interface for OpenCode.
- Update database paths and port configuration
- Remove backend config.ts and sessions route
- Add mobile file preview and files API
- Clean up shared constants and provider hooks