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.
Files changed (2) hide show
  1. package/dist/index.js +10 -0
  2. 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.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-cliproxyapi-sync",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Auto-sync OpenCode configs from CLIProxyAPI Dashboard",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",