rightcard-mcp 0.1.13 → 0.1.14
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/engine.js +4 -1
- package/package.json +1 -1
package/dist/engine.js
CHANGED
|
@@ -311,11 +311,14 @@ function rateContext(card, earn, valueCents, override, configured, v, category,
|
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
313
|
function subcategoryBreakdown(cards, category, overrides, cardConfigs, v, now) {
|
|
314
|
+
// Travel also lists "Other travel" (the category's own rate), mirroring the
|
|
315
|
+
// Swift engine: a wallet whose flights and hotels go to one card still
|
|
316
|
+
// shows the split when everything else in travel goes to another.
|
|
314
317
|
let subs;
|
|
315
318
|
if (category === "grocery")
|
|
316
319
|
subs = [["in_store", "In a store"], ["online", "Online / delivery"]];
|
|
317
320
|
else if (category === "travel")
|
|
318
|
-
subs = [["flight", "Flights"], ["hotel", "Hotels"]];
|
|
321
|
+
subs = [["flight", "Flights"], ["hotel", "Hotels"], [null, "Other travel"]];
|
|
319
322
|
else
|
|
320
323
|
return [];
|
|
321
324
|
const rows = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rightcard-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"mcpName": "ai.rightcard/mcp",
|
|
5
5
|
"description": "RightCard MCP — the card-selection oracle for agents. Which of your credit cards to use at any store, from verified data. No bank login.",
|
|
6
6
|
"type": "module",
|