byclaw-mcp 0.4.3 → 0.4.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/dist/index.js +2 -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 || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byclaw-mcp",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
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": {