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.
- package/dist/index.js +2 -3
- 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
|
|
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