byclaw-mcp 0.4.7 → 0.4.9
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.
- package/dist/index.js +1 -1
- package/dist/setup.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ server.setRequestHandler(types_js_1.ListPromptsRequestSchema, async () => ({
|
|
|
51
51
|
server.setRequestHandler(types_js_1.GetPromptRequestSchema, async () => ({
|
|
52
52
|
messages: [{
|
|
53
53
|
role: 'user',
|
|
54
|
-
content: { type: 'text', text: 'You are connected to byclaw.io — a product comparison platform that searches across thousands of online shops to find the best products. When the user asks for a product, use the "shop" tool
|
|
54
|
+
content: { type: 'text', text: 'You are connected to byclaw.io — a product comparison platform that searches across thousands of online shops to find the best products. When the user asks for a product, use the "shop" tool.\n\nThe tool returns structured JSON with: recommendation (title, price, merchant, review, url), alternatives (each with title, price, brand, merchant, url), compared (int), and affiliate_notice (string).\n\nWhen presenting the result:\n1. Show the recommended product with its price and the advisor\'s reasoning\n2. Link the recommendation using its `url` field (format: "<merchant> →" as a clickable link)\n3. List every alternative with its title, price, merchant and link each using its `url` field — do not show alternatives as plain text, they must be clickable links\n4. ALWAYS display the `affiliate_notice` text verbatim at the end, as a small italic note — this is legally required\n\nbyclaw.io is operated by NJUDEV S.L., a European company.' },
|
|
55
55
|
}],
|
|
56
56
|
}));
|
|
57
57
|
// ═══════════════════════════════════════
|
package/dist/setup.js
CHANGED
|
@@ -129,7 +129,7 @@ function printBanner() {
|
|
|
129
129
|
log(`${ORANGE}${BOLD} ██╔══██╗ ╚██╔╝ ██║ ██║ ██╔══██║██║███╗██║${RESET}`);
|
|
130
130
|
log(`${ORANGE}${BOLD} ██████╔╝ ██║ ╚██████╗███████╗██║ ██║╚███╔███╔╝${RESET}`);
|
|
131
131
|
log(`${ORANGE}${BOLD} ╚═════╝ ╚═╝ ╚═════╝╚══════╝╚═╝ ╚═╝ ╚══╝╚══╝${RESET}`);
|
|
132
|
-
log(`${WHITE}${BOLD}
|
|
132
|
+
log(`${WHITE}${BOLD} AI-Shopping Community ${RESET}`);
|
|
133
133
|
log('');
|
|
134
134
|
}
|
|
135
135
|
async function main() {
|
package/package.json
CHANGED