byclaw-mcp 0.4.3 → 0.4.5

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/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -157,9 +157,8 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
157
157
  if (result?.ok) {
158
158
  const d = result.data;
159
159
  const disclosure = d.disclosure || 'ℹ️ Affiliate-Link. byclaw earns a small commission — no extra cost to you.';
160
- const personalityName = d.agent?.personality || '';
161
- const personalityLabels = { dealmaker: 'Dealmaker', luxpicker: 'Luxpicker', smartpicker: 'Smartpicker', vibechecker: 'Vibechecker', quickshooter: 'Quickshooter' };
162
- const advisorLabel = personalityLabels[personalityName] || personalityName;
160
+ const personalityName = d.agent?.personality || d.advisor || '';
161
+ const advisorLabel = d.advisor_profile?.name || personalityName.charAt(0).toUpperCase() + personalityName.slice(1) || 'Advisor';
163
162
  // ── GIFT MODE ──
164
163
  if (d.status === 'gift_found' && Array.isArray(d.gift_picks) && d.gift_picks.length > 0) {
165
164
  const intent = d.gift_intent || {};
@@ -198,6 +197,7 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
198
197
  message_en: 'No products found for your search. Try fewer filters or different terms.',
199
198
  compared: 0,
200
199
  affiliate_notice: d.disclosure || 'Affiliate disclosure: The links on this page are affiliate links. byclaw.io receives a commission from the retailer when you make a purchase. No additional cost to you.',
200
+ ...(d.note ? { note: d.note } : {}),
201
201
  }, null, 2) });
202
202
  }
203
203
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byclaw-mcp",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "MCP Server for byclaw.io — Your AI shopping advisor. Connects Claude Desktop and other MCP clients to the byclaw.io product catalog.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {