@rubytech/taskmaster 1.16.1 → 1.16.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.
|
@@ -15,7 +15,7 @@ export function createQrGenerateTool() {
|
|
|
15
15
|
label: "QR Code Generator",
|
|
16
16
|
name: "qr_generate",
|
|
17
17
|
description: "Generate a QR code PNG from any string (URL, text, vCard, WhatsApp link). " +
|
|
18
|
-
"Returns a MEDIA: path — copy
|
|
18
|
+
"Returns a MEDIA: path — copy the MEDIA: line exactly into your response to deliver the image.",
|
|
19
19
|
parameters: QrGenerateSchema,
|
|
20
20
|
execute: async (_toolCallId, params) => {
|
|
21
21
|
const data = readStringParam(params, "data");
|
package/dist/build-info.json
CHANGED
package/package.json
CHANGED
package/skills/qr-code/SKILL.md
CHANGED
|
@@ -18,10 +18,14 @@ Generate a QR code image and send it via the `message` tool.
|
|
|
18
18
|
|
|
19
19
|
1. **Assemble the data string** (see Content Types below)
|
|
20
20
|
2. **Call `qr_generate`** with the assembled string as `data`
|
|
21
|
-
3. **Copy the `MEDIA:`
|
|
22
|
-
4. **
|
|
21
|
+
3. **Copy the `MEDIA:` line from the tool result verbatim into your response** — do not convert it to markdown or a URL. Write it exactly as returned (e.g. `MEDIA:/tmp/qr-1234567890.png`). The channel delivers it as an image attachment automatically.
|
|
22
|
+
4. **Add a brief caption** as a separate line of text before or after the `MEDIA:` line.
|
|
23
23
|
|
|
24
|
-
Example
|
|
24
|
+
Example response:
|
|
25
|
+
```
|
|
26
|
+
Here's your QR code — scan to open the listing.
|
|
27
|
+
MEDIA:/tmp/qr-1234567890.png
|
|
28
|
+
```
|
|
25
29
|
|
|
26
30
|
## Content Types
|
|
27
31
|
|