chore: generate
This commit is contained in:
@@ -207,7 +207,11 @@ export function createServerSyncContext() {
|
|||||||
void bootstrapInstance(directory)
|
void bootstrapInstance(directory)
|
||||||
},
|
},
|
||||||
onMcp: (directory, setStore) => {
|
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({
|
showToast({
|
||||||
variant: "error",
|
variant: "error",
|
||||||
title: language.t("toast.project.reloadFailed.title", { project: getFilename(directory) }),
|
title: language.t("toast.project.reloadFailed.title", { project: getFilename(directory) }),
|
||||||
|
|||||||
Reference in New Issue
Block a user