opencode-cliproxyapi-sync 1.1.1 → 1.1.3
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -166,6 +166,16 @@ var ConfigSyncPlugin = async (ctx) => {
|
|
|
166
166
|
console.log("[cliproxyapi-sync] No config found. Skipping sync.");
|
|
167
167
|
return {};
|
|
168
168
|
}
|
|
169
|
+
setTimeout(() => {
|
|
170
|
+
ctx.client.tui.showToast({
|
|
171
|
+
body: {
|
|
172
|
+
title: "CLIProxyAPI Sync",
|
|
173
|
+
message: "Connected to dashboard",
|
|
174
|
+
variant: "success",
|
|
175
|
+
duration: 3000
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
}, 1000);
|
|
169
179
|
const versionResult = await checkVersion(config.dashboardUrl, config.syncToken);
|
|
170
180
|
if (!versionResult) {
|
|
171
181
|
console.error("[cliproxyapi-sync] Failed to check version. Skipping sync.");
|