chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-28 21:54:17 +00:00
parent e00a62e461
commit 4759ae44b4

View file

@ -207,7 +207,11 @@ export function createServerSyncContext() {
void bootstrapInstance(directory)
},
onMcp: (directory, setStore) => {
void retry(() => sdkFor(directory).command.list().then((x) => setStore("command", x.data ?? []))).catch((err) => {
void retry(() =>
sdkFor(directory)
.command.list()
.then((x) => setStore("command", x.data ?? [])),
).catch((err) => {
showToast({
variant: "error",
title: language.t("toast.project.reloadFailed.title", { project: getFilename(directory) }),