opencode-auto-resume 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -710,12 +710,14 @@ var AutoResumePlugin = async (ctx, options) => {
|
|
|
710
710
|
},
|
|
711
711
|
config: async () => {
|
|
712
712
|
log("info", `opencode-auto-resume config OK`);
|
|
713
|
-
ctx.ui.toast
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
713
|
+
if (ctx.ui && typeof ctx.ui.toast === "function") {
|
|
714
|
+
ctx.ui.toast({
|
|
715
|
+
title: "Auto-Resume Plugin",
|
|
716
|
+
message: `Loaded with ${chunkTimeoutMs}ms timeout, ${loopMaxContinues} loop attempts`,
|
|
717
|
+
variant: "success",
|
|
718
|
+
duration: 5000
|
|
719
|
+
});
|
|
720
|
+
}
|
|
719
721
|
}
|
|
720
722
|
};
|
|
721
723
|
};
|
package/package.json
CHANGED