twindex-openclaw-plugin 0.6.3 → 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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twindex-openclaw-plugin",
3
- "version": "0.6.3",
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,7 +589,18 @@ 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})!\n\nTry-on image: ${result.image_url}\n\nBuy it: ${result.product.buy_url}\n\nIMPORTANT: Send the try-on image URL to the user so they can see themselves wearing it. The image URL above is the generated photo of the user in this merch.`,
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
605
  ],
595
606
  };