mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
OpenCode returns an empty command list for a location until it has loaded that location's config, then emits a command.updated event. When the browser stream or the upstream SSE connection is reconnecting, that event is missed and nothing reloads the list, leaving the slash menu stuck on the builtin commands until the OpenCode server is restarted. Reload commands, agents and skills on both a browser stream reconnect and an upstream resync, and handle skill.updated so skill changes refresh like agent and command changes already do.