Skip to content

v0.13.1: fix Restart/Update/Quit with skill embeds + bug fixes - #13

Merged
benjsmith merged 3 commits into
mainfrom
fix/v0.13.1
Oct 8, 2026
Merged

benjsmith merged 3 commits into
mainfrom
fix/v0.13.1

Conversation

@benjsmith

Copy link
Copy Markdown
Owner

Summary

Micro bump to 0.13.1.

When proxied Graph/Agents embeds are open, the same-document fetch shim was rewriting Switchbay control-plane calls onto /embed/{ce|okstratr}/api/*. Settings → Restart/Update/Quit came back as a red "not found" toast. Those paths (and the other Switchbay-owned /api/* prefixes the shell and Settings call) now stay on the Switchbay daemon. CE /api/page and okstratr /api/desk/* remain remappable.

Also skip mountSidebar when the sidebar slot is disconnected or missing #sidebar.

Changes

  • Reserve Restart/Update/Quit/versions/admin-policy (and the remaining Switchbay-owned /api/* prefixes) from the embed fetch shim
  • Guard CE mountSidebar remount
  • Bump pyproject.toml, __version__, frontend/package.json, uv.lock, CHANGELOG

Test plan

  • pnpm exec tsx --test embedMount (+ other frontend unit tests): 27 pass
  • pytest version_sync + embed_proxy
  • pnpm run build (tsc + vite) produces frontend/dist
  • CI green on this PR

When proxied_skill_embeds is on, the same-document embed fetch shim
rewrote Settings → Restart/Update/Quit onto /embed/{ce|okstratr}/api/*,
so okstratr/CE answered 404 {"error":"not found"} as a red toast.
Keep those control-plane paths on the Switchbay daemon.

Signed-off-by: benjsmith <[email protected]>
Restart/Update/Quit were the visible tip of the same bug: while a Graph
or Agents embed fetch shim is installed, many other shell/Settings paths
(/api/fs, /api/runs, /api/okstratr/harness, /api/easter, …) were still
rewritten onto /embed/* and 404'd. Expand SWITCHBAY_API_RESERVED_PREFIXES
to cover Switchbay-owned daemon prefixes; leave CE /api/page and okstratr
/api/desk/* remappable. Also skip mountSidebar when the sidebar slot is
disconnected or missing #sidebar.

Signed-off-by: benjsmith <[email protected]>
Micro release for the embed reserved-API and Restart/Update/Quit fixes.

Signed-off-by: benjsmith <[email protected]>
@benjsmith
benjsmith merged commit 1ee6c56 into main Oct 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant