twindex-openclaw-plugin 0.6.2 → 0.6.4

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/package.json +1 -1
  2. package/src/index.ts +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twindex-openclaw-plugin",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "Music intelligence for AI agents. Tours, merch drops, releases, presales.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -589,9 +589,19 @@ export default function register(api: any) {
589
589
  content: [
590
590
  {
591
591
  type: "text",
592
- text: `Here's you in the ${result.product.title} ($${result.product.price})!\nBuy it: ${result.product.buy_url}`,
592
+ text: [
593
+ `Generated try-on image of the user wearing ${result.product.title} ($${result.product.price}).`,
594
+ ``,
595
+ `You MUST send this EXACT message to the user (copy-paste, do not modify):`,
596
+ ``,
597
+ `Here's you in the ${result.product.title}! 👇`,
598
+ result.image_url,
599
+ ``,
600
+ `$${result.product.price} — grab it here: ${result.product.buy_url}`,
601
+ ``,
602
+ `CRITICAL: The first URL (${result.image_url}) is the try-on photo. It MUST appear first in your message so Telegram shows the preview. Do NOT put any other URL before it.`,
603
+ ].join("\n"),
593
604
  },
594
- { type: "image", url: result.image_url },
595
605
  ],
596
606
  };
597
607
  } catch (err: any) {