@soyeht/soyeht 0.2.5 → 0.2.6

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.
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "name": "Soyeht",
7
7
  "description": "Channel plugin for the Soyeht Flutter mobile app",
8
- "version": "0.2.5",
8
+ "version": "0.2.6",
9
9
  "configSchema": {
10
10
  "type": "object",
11
11
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soyeht/soyeht",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "OpenClaw channel plugin for the Soyeht Flutter mobile app",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/service.ts CHANGED
@@ -147,12 +147,15 @@ async function showPairingQr(api: OpenClawPluginApi, v2deps: SecurityV2Deps): Pr
147
147
  if (rendered) {
148
148
  // Write QR directly to stdout to avoid logger prefixes breaking ANSI escape codes
149
149
  process.stdout.write("\n" + rendered + "\n\n");
150
- api.logger.info(`[soyeht] Scan the QR code above with the Soyeht app to pair`);
151
- api.logger.info(`[soyeht] Fingerprint: ${fingerprint}`);
152
- api.logger.info(`[soyeht] QR expires in ${AUTO_PAIRING_TTL_MS / 1000}s — restart plugin to generate a new one`);
150
+ api.logger.info(`[soyeht] Scan the QR code above with the Soyeht app`);
153
151
  } else {
154
- api.logger.warn("[soyeht] QR code too large for terminal rendering. Use RPC soyeht.security.pairing.start instead.");
152
+ api.logger.warn("[soyeht] QR code too large for terminal rendering.");
155
153
  }
154
+
155
+ // Always log the pairing URL as fallback — user can copy-paste into the app
156
+ api.logger.info(`[soyeht] If QR doesn't scan, copy the line below and paste in the app:`);
157
+ process.stdout.write("\n" + qrText + "\n\n");
158
+ api.logger.info(`[soyeht] Expires in ${AUTO_PAIRING_TTL_MS / 1000}s — restart plugin to generate a new one`);
156
159
  }
157
160
 
158
161
  // ---------------------------------------------------------------------------
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const PLUGIN_VERSION = "0.2.5";
1
+ export const PLUGIN_VERSION = "0.2.6";