Commit Graph
76 Commits
Author SHA1 Message Date
Chris Scott 702e3c4e13 docs: refresh screenshots, trim feature docs, and drop the New Repo sidebar CTA (#363) 2026-09-27 19:22:04 -04:00
Chris Scott 015a44a5f3 feat(sidebar): add repo-grouped session navigation with live status (#361)
* feat(sidebar): add repo-grouped session navigation with live status

- Add a searchable, collapsible session tree to the desktop sidebar, grouped by repository with pinned and time-bucketed ordering.
- Track per-session busy, retry, and compact status in a shared store fed by the SSE event stream and scoped by directory.
- Extract shared navigation components reused by the desktop tree and the mobile repo quick-switch sheet.
- Show a Git tab and hide Schedules inside a repo on the mobile tab bar; add Repos and Assistant entries to the session More drawer.
- Replace the CommitsTab local relative-time formatter with a shared formatShortRelativeTime util.

* refactor(sidebar): unify session status tracking and navigation helpers

* feat(sidebar): add collapsible sessions and menu sections

* fix(sessions): keep specific live status over snapshot busy
2026-09-26 21:50:23 -04:00
Chris Scott dacde879d6 feat(opencode): migrate OpenCode Manager to OpenCode 2 (#359)
* 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
2026-09-26 13:16:45 -04:00
Chris Scott b5dd900efb feat(config): support layered OpenCode config sources with revision-guarded saves (#358)
* feat(config): support layered OpenCode config sources with revision-guarded saves

* refactor(config): harden multi-source OpenCode config handling

- extract shared config-source helpers and default source name
- reject shadowed removals with 409 and require sources/revision
- restart the server on reload with session resume
- mirror multiple host config files on import and warn on removals
- skip restart for mcp-only saves
- drop removedFields and CONFIG_PATCH_TIMEOUT_MS

* fix(config): return null when archiving broken OpenCode config fails
2026-09-20 15:51:40 -04:00
Chris Scott 65f5bd0e6a build(docker): bake chromium runtime libs and refresh pinned tools (#357)
* 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
2026-09-19 22:30:29 -04:00
Chris Scott 295d24ced7 refactor(config): make on-disk opencode.json the single source of truth (#354)
* refactor(config): make on-disk opencode.json the single source of truth

Make <workspace>/.config/opencode/opencode.json the only store for the active OpenCode configuration. One owner (opencode-config-file.ts) reads, validates, writes, archives, and seeds the file; one owner (opencode-config-apply.ts) decides how an edit is applied: restart pending, or a live patch with recovery. Settings routes, the internal assistant API, the health-watch supervisor, boot, and host import all go through them, so an edit that lands on the file without going through the database is visible immediately instead of at the next Manager boot.

Remove the named-config profiles. Migration 019 archives every opencode_configs row to .config/opencode-configs-archive/<name>.json, restores the default row to opencode.json when no file exists, then drops the table, its indexes, and repos.opencode_config_name. The /opencode-configs* and config/switch routes and the CreateConfigDialog/SwitchConfigDialog dialogs are gone, and the ocm tool gains GET/PUT /opencode-config backed by the same apply owner.

Harden the write path: serialize and atomically write config updates while preserving the file mode, keep withFileLock usable after a rejection, route reloadConfig's cleaned-config write through the file owner, stop boot from rewriting an existing valid config when importing state, prune the health-watch directory to its newest 20 entries, resolve archive paths with realpath, and share one frontend config query across dialogs.

* fix(mirror): canonicalize worktree paths before branch ownership check

* refactor(config): unify opencode config apply and rollback paths

- share one config route factory between public and internal mounts
- capture last-known-good before every config write and restore via one helper
- stop auto-restarting on save; flag restart-required fields and live-patch the rest
- add CONFIG_PATCH_TIMEOUT_MS for config patch requests
- extract canonicalPath helpers, health-watch artifact writer, and useProvidersWithModels hook

* refactor(model-state): use OpenCode state file as model state source of truth
2026-09-19 00:28:34 -04:00
Chris Scott 47d57df628 fix(sandbox): open up corepack cache to exec user, pin uv, bump guest image
corepack prepare runs as root and leaves COREPACK_HOME/v1 and
lastKnownGood.json root-owned under the sticky dir, so a project
packageManager pin failed with 'Failed to create cache directory' for
the exec uid; open up the whole corepack tree after prewarming and
verify a pinned download as an unknown uid. Pin uv (0.12.9 segfaults
under qemu-user amd64 emulation) and bump the guest image digest.
2026-09-04 11:54:26 -04:00
Chris Scott 1327ed1af9 feat(notifications): target one tab on click, deep-link worktree sessions, action-first payload
The service worker broadcast every notification click on a BroadcastChannel,
so every open tab navigated, and it focused the first client regardless of
what it showed. It now picks the tab already on the target path, then the
focused tab, then any visible tab, and posts NOTIFICATION_CLICK to that
client only; the page subscribes through onNotificationClick.

Notifications from OpenCode workspace and forge loop worktrees fell back to
/ because the directory is not a repos row; the service now resolves the
parent repo through the shared OpenCode project id. Assistant sessions get
the assistant=1 parameter the Assistant view requires.

Payload puts the action in the title and the repo in the body, carries a
timestamp and renotify, uses the 512px icon and a monochrome 96px badge,
and the service worker types it with the shared schema, which gains
priority, timestamp, and renotify.
2026-09-02 00:52:25 -04:00
Chris Scott 91f37961e8 fix(sandbox): accept OpenCode and forge worktrees as sandboxed project roots
The Manager sets XDG_DATA_HOME to <workspace>/.opencode/state, so OpenCode
workspace worktrees land at <data>/worktree and opencode-forge loop
worktrees at <data>/forge/worktrees. Neither was a project root, so an
enforced session in a forge worktree was refused with "working directory
is outside the sandboxed project roots". Both directories are now mounted
and accepted as working directories; their parents (auth.json, forge.db)
stay outside the guest.
2026-09-02 00:44:57 -04:00
Chris Scott 4ed3460759 fix(sandbox): mount agent tmp, tool-output, and global skills into the guest and add missing network tools
- Point the OpenCode child TMPDIR at the workspace tmp home and clear the mounted agent tmp directory on spawn
- Expand sandbox bind mounts to tool-output, global skills, and agent tmp while keeping only project roots as working directories
- Ship the python alias and network diagnostics in the guest image, verify them at build time, and pin the rebuilt image digest
2026-08-31 18:33:11 -04:00
Chris Scott 3ebfb06751 fix(sandbox): pin the guest pnpm store via PNPM_CONFIG_STORE_DIR
pnpm 11 no longer reads npm_config_* env vars, so the guest image pins the
store to a container-internal path through PNPM_CONFIG_STORE_DIR; unpinned,
pnpm places the store on the bind-mounted project filesystem, polluting the
repository. Adds a regression test and bumps the ocm-sandbox digest to the
rebuilt image.
2026-08-30 10:15:17 -04:00
Chris Scott 94e3e1917d feat(settings): add manager logs viewer (#344)
* feat(settings): add manager logs viewer with backend log capture

* style(settings): polish logs viewer layout for mobile and full-height output
2026-08-29 16:45:54 -04:00
Chris Scott 4862d9c5cb fix(sandbox): wait for guest agent, verify exec user provisioning, pin rebuilt image (#343)
* fix(sandbox): wait for the guest agent before provisioning the exec user

A freshly created microVM does not accept msb exec until its guest agent is
up, so provisioning raced the boot and died on three 15s timeouts, which then
failed the whole enforcement-enable path. Gate provisioning on msb ping
bounded by SANDBOX_START_TIMEOUT_MS, give the exec a 30s budget, and downgrade
a provisioning failure to a warning so a missing sudo entry never blocks
sandboxed commands.

* fix(sandbox): align canonical shell spec with msb and pin the rebuilt guest image

- pass --shell /bin/sh explicitly at create and derive the canonical
  spec from the create args so msb 0.6.15 recordings match attestation
- bump the SANDBOX_IMAGE pin to the rebuilt guest image digest
- verify the provisioned exec user inside the guest and give the
  provisioning exec the full start timeout, bounded by a deadline

* docs(sandbox): sync the image digest pin into the docker and environment docs

* fix(sandbox): verify the guest image as an unknown uid and pin the rebuild

The build verification ran as uid 1000, which is the base image's node user,
so it exercised the known-user path and would have passed even if the numeric
exec uid the runtime actually uses were broken. Verify the toolchain as uid
4242 instead and keep the sudo check on the known user, since sudo refuses
unknown uids by design. Also only write the shadow entry when the passwd entry
is created, so a uid that already exists leaves no orphan record.

* fix(sandbox): close spawned command stdin so msb exec completes

msb exec reads its stdin during session setup and waits for EOF, so
every child spawned through executeCommand with an open stdin pipe hung
until its timeout while identical CLI execs finished instantly. Spawn
children with stdin ignored.

Also verify the provisioned exec user from a fresh guest exec after
each provisioning attempt and move failed provisioning to a logged
background retry bounded by five attempts so a slow guest no longer
blocks enforcement or leaves sudo silently missing.

* test(sandbox): derive expected inspect spec from canonical builders

* fix(sandbox): cancel provisioning retries on stop and serialize attempts

Advance the provisioning retry generation and drop the pending retry at the
start of every managed-sandbox stop, so a retry scheduled before a toggle-off
no longer pings and provisions a stopped sandbox. Clearing the promise as well
keeps later retries schedulable, since the generation guard would otherwise
strand it and short-circuit scheduling.

Route every provisioning caller through a single in-flight promise so the
boot-path attempt and the background retry cannot run the check-then-append
passwd and shadow script concurrently and append duplicate account entries.
2026-08-28 19:23:40 -04:00
Chris Scott 1c3ae528b1 fix(sandbox): pin the guest image by digest so rebuilds are adopted
msb caches images by reference and pull without --force never contacts the
registry, while attestation compares the reference string. A floating tag
therefore keeps a stale guest image forever and still passes attestation.
Pinning the default to the published index digest makes IfMissing pull the
new image and forces the running microVM to be recreated on deploy.
2026-08-28 13:31:53 -04:00
Chris Scott 297f6a5237 feat(sandbox): boot the shared microVM at startup when sandboxing is enabled
Startup and the enforcement toggle now run the same ensureWorkspaceSandbox
path a command triggers, so the image pull, microVM boot, attestation and
exec-user provisioning are done before the first command instead of on it.
One microVM serves every repo and schedule worktree.
2026-08-28 13:14:17 -04:00
Chris Scott 2eba81d524 feat(sandbox): cache the guest image at startup instead of on first command
Pull the configured guest image in the background when the Manager boots and
when sandbox enforcement is switched on, so a sandboxed command no longer
pays the multi-gigabyte download. msb pull is a no-op once cached, startup is
never blocked by it, and a command racing the pull joins the same in-flight
boot.
2026-08-28 13:05:56 -04:00
Chris Scott 5beb3432d4 chore(ci): remove the Sandbox Image workflow and document the local build 2026-08-28 12:45:05 -04:00
Chris Scott 78702da2e4 fix(sandbox): make the guest toolchain and sudo usable by the exec user
Set a writable guest HOME and shared COREPACK_HOME, expose bunx, redirect
npm/pnpm global installs to a PATH dir, lift Debian's externally-managed
pip guard, and verify the toolchain as an unprivileged uid at build time.
Provision passwd/group/shadow entries for the numeric exec uid at sandbox
create, start, and Manager boot so passwordless sudo works in the guest.
2026-08-28 10:22:36 -04:00
Chris Scott 8858974334 feat(sandbox-image): align guest toolchain with Manager image 2026-08-28 13:01:47 +00:00
Chris Scott d63198ec8a fix(sandbox): guard enable path and harden UI rendering performance (#341)
* fix(sandbox): guard enable path and harden UI rendering performance

* chore(deps): allow esbuild postinstall in pnpm onlyBuiltDependencies

* fix(sandbox): align availability reporting and address PR review feedback

* fix(sandbox): block planning without process attestation
2026-08-27 08:58:23 -04:00
Chris Scott 90a3c29c12 feat(sandbox): add KVM-backed agent sandboxing via microsandbox (#338)
* 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
2026-08-25 23:38:52 -04:00
Chris Scott dde09ac85b fix(docker): drop startup /app re-chown to keep cold starts fast 2026-07-31 14:05:26 -04:00
Chris Scott adc1290836 Refactor health checks to use OpenCode liveness endpoint 2026-07-30 23:30:15 -04:00
Chris Scott 5c381ddf6c test(docker): drop orphaned installation-guide link assertion
026e8f13c removed the host-access reference from the installation guide
but kept the test asserting that link, so docker-config.test.ts failed
on main. Remove the assertion and its now-unused path constant, and
close the blank line the dropped reference left behind.
2026-07-28 19:35:26 -04:00
Chris ScottandCS 6cc50a02ed feat(ocm-cli): add file and keychain credential backends with auth commands (#327)
* feat(ocm-cli): add file and keychain credential backends with auth commands

* feat(ocm-cli): refactor credentials into async TokenStore architecture

Replace the credential-backend module with a TokenStore interface and
file/keychain implementations behind an internal facade. Convert token
get/set/delete to async, add env-token precedence warnings on login and
logout, and surface store availability in status. Add token-store tests
and helpers; remove the old credential modules and tests. Bump to 0.2.6.

* fix(ocm-cli): keep tokens out of security argv and stop masking config read errors

Route every macOS Keychain call through `security -i`, sending the quoted
command on stdin so the token is never visible in process arguments. Reject
arguments containing line breaks, which would otherwise inject additional
security commands.

Let unexpected state file read failures propagate so a broken config dir is
reported instead of being reduced to "no manager configured", and stop
consuming the install notice when reading it fails unexpectedly.

---------

Co-authored-by: CS <chris@chriswritescode.dev>
2026-07-28 16:38:12 -04:00
Chris Scott 6c635397ba feat(docker): run container as host user with bind-mounted workspace (#328)
* 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
2026-07-28 11:30:50 -04:00
Chris Scott 376bd67f1b refactor(fs): use mkdirSafe recursive and align test mocks
Replace try/access/mkdir pattern with single mkdirSafe call in ssh-key-manager; drop unused mkdir mocks from stt/tts/repo tests and mock fs-safe's mkdirSafe instead; add zod peer dep extension to pnpm workspace; note EACCES-tolerant startup in troubleshooting doc.
2026-07-23 22:59:05 -04:00
Chris Scott adf6bd2921 feat(ocm-cli): add session warp with progress reporting (#314)
* feat(ocm-cli): add session warp with progress reporting

Add warp functionality for moving sessions between local and remote
Managers. Includes TUI dialogs, remote replay, progress reporting
during event transfer, and comprehensive test coverage.

* feat(ocm-cli): add granular push progress with phase reporting and upload tracking

* chore(ocm-cli): bump version to 0.2.5

* docs(ocm-cli): document push progress phases in README
2026-07-16 17:36:54 -04:00
Chris Scott ed02ddabba feat(ocm-cli): add remote indicator to TUI when attached to Manager (#313)
* feat(ocm-cli): add remote indicator to TUI when attached to Manager

* chore(ocm-cli): bump version to 0.2.3

* feat(ocm-cli): show remote indicator on home screen and session prompt

* feat(ocm-cli): remove arrow icon from remote indicator

* docs: remove arrow icon from remote indicator description
2026-07-14 12:55:14 -04:00
Chris Scott bf54f6e7c8 fix(ocm-cli): include plugin installer in package 2026-07-08 17:44:24 -04:00
Chris Scott 61efcf9ad1 feat(ocm-cli): add session move with local history export and TUI plugin (#304)
* loop: ocm-session-move completed after 7 iterations

* feat(ocm-cli): add session move with local history export and TUI plugin

* docs(ocm-cli): update plugin config to tui-only entry and clarify session history source

* fix(ocm-cli): replace raw postinstall output with TUI toast notification
2026-07-08 17:23:53 -04:00
Chris Scott 256078341b docs: recapture schedule flow screenshots (creation/timing/run-history) at 2x for legibility 2026-06-30 21:05:33 -04:00
Chris Scott 825d516998 docs: recapture feature screenshots at 2x for legibility, enlarge home hero, render screenshots full-width 2026-06-30 20:59:10 -04:00
Chris Scott 4237beaab3 fix(docs): render screenshots at full content width instead of 600px cap 2026-06-30 20:22:10 -04:00
Chris Scott 83ed7f81b0 docs: add documentation and screenshots for session pins, server health, and schedule features, fix migration-runner version mismatch detection 2026-06-30 19:59:06 -04:00
Chris Scott 01e50a7019 feat: add bundle-based OCM mirror sync (#289)
* feat: add bundle-based OCM mirror sync

* feat: add OpenCode model editor and HEAD-safe bundle import

* fix: consolidate discovery-cache, batch bundle refs, remove dead code (#290)

* fix: consolidate discovery-cache, batch bundle refs, remove dead code

* refactor: consolidate discovery cache into generic discoverCached, extract spawnGit helper

* feat: extract project-id-resolver, add CLI full-fallback prompt, wire lint into root scripts

- Extract shared project-id-resolver for origin URL matching (replaces local-repo duplicates)
- Add promptYesNo / confirmFullFallback to ocm CLI before slow full mirror
- Backend: consolidate opencode-workspaces routes with project-id-resolver
- Frontend: fix schedules prompt/global page navigation
- CLI: add eslint config, lint/lint:fix scripts, fix no-fallthrough in ocm.ts
- Root: wire CLI into build, test, typecheck, lint, lint:fix chains
- Fix test lint issues (_code, const, require→import)

* fix: replace polynomial regex with linear-time string ops in gitRemoteParts

* feat: add divergence guards for push/pull, streaming bundle upload, server-side ancestry check

- Backend: GET /:repoId/mirror/head (head+branch+dirty) and GET /:repoId/mirror/contains/:sha (ancestry check)
- CLI: checkPushDivergence warns before overwriting server commits; checkPullDivergence warns before discarding local commits; both require confirm or --force
- Bundle upload now streams from disk instead of buffering entire file in memory
- Version visible in --help and default (no-arg) output
- Version bump 0.1.5 → 0.2.0

* fix: show connecting message before fetching repos in default command

* fix: update default command messages to reflect actual matching behavior
2026-06-28 11:57:38 -04:00
Chris Scott 7f11fa0982 docs: add mobile screenshot to docs index 2026-05-31 20:06:36 -04:00
Chris Scott 56c03b09ed docs: add mobile screenshot next to main image in README 2026-05-31 20:05:39 -04:00
Chris Scott a8f7fbcd0b docs: add quickstart section to ocm CLI guide, clarify login instructions 2026-05-31 20:00:41 -04:00
Chris Scott c835c68777 docs: replace demo GIF with static screenshot in README and docs index 2026-05-31 19:57:01 -04:00
Chris Scott f1d2d39318 docs: relocate ocm CLI guide, update references, remove test.getfit.us config 2026-05-31 19:30:56 -04:00
Chris Scott dbd6866682 feat(assistant): self-configuring assistant mode (#244)
* test(backend): replace better-sqlite3 test mock with node:sqlite

Reimplement the bun:sqlite test mock on top of node:sqlite with an
explicit BEGIN/COMMIT/ROLLBACK transaction wrapper.

* feat(assistant): self-configuring assistant mode

Add a self-editable assistant workspace and the APIs that support it:
- POST /assistant/reload disposes and re-bootstraps the assistant
  instance (directory-scoped, rate-limited) so agent.md edits apply.
- Internal settings API accepts non-secret TTS/STT patches via
  dedicated partial schemas.
- Strip the generated agent persona from opencode.json on repair so
  user-customized agents are preserved across config recovery.
- Cache the last assistant session id to avoid redundant session
  listing on launch.

* style(repo): align worktree and workspace tabs with primary/orange theme
2026-05-31 11:38:02 -04:00
Chris Scott a86e4b1238 feat(ocm-cli): workspace repo sync and manager token targeting (#233) 2026-05-23 19:49:44 -04:00
Chris Scott 95c720e0eb docs: update feature documentation and mkdocs config (#222) 2026-05-08 00:06:34 -04:00
Chris Scott c3d6549f01 feat: add assistant mode, SSE streaming, and OpenCode server integration (#214) 2026-05-02 21:51:37 -04:00
Chris Scott d0ddda01de Revert "feat: seed Assistant workspace with update-configuration skill and improved docs"
This reverts commit 6a14bc6b69.
2026-04-27 18:07:41 +00:00
Chris Scott 6a14bc6b69 feat: seed Assistant workspace with update-configuration skill and improved docs 2026-04-27 17:54:03 +00:00
Chris Scott 0f9caad98d Migrate memory plugin to standalone repository and remove Kasm files (#182)
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.
2026-04-06 11:47:42 -04:00
Chris Scott 4652ab6b99 Update documentation terminology from Ralph to Loop 2026-03-27 16:42:41 -04:00
Chris Scott af0a0c5c39 Fix documentation mismatches and fill gaps
- 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
2026-03-27 16:20:31 -04:00