opencode-cliproxyapi-sync 1.1.1 → 1.1.2

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 +8 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -166,6 +166,14 @@ var ConfigSyncPlugin = async (ctx) => {
166
166
  console.log("[cliproxyapi-sync] No config found. Skipping sync.");
167
167
  return {};
168
168
  }
169
+ ctx.client.tui.showToast({
170
+ body: {
171
+ title: "CLIProxyAPI Sync",
172
+ message: "Connected to dashboard",
173
+ variant: "success",
174
+ duration: 3000
175
+ }
176
+ });
169
177
  const versionResult = await checkVersion(config.dashboardUrl, config.syncToken);
170
178
  if (!versionResult) {
171
179
  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.2",
4
4
  "description": "Auto-sync OpenCode configs from CLIProxyAPI Dashboard",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",