rightcard-mcp 0.1.20 → 0.1.22
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/configurable.js +3 -2
- package/dist/valuation.js +8 -4
- package/package.json +1 -1
package/dist/configurable.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export const CONFIGURABLE_SPECS = [
|
|
2
2
|
{
|
|
3
3
|
key: "amex_business_gold", displayName: "Amex Business Gold", bonusRate: 4, slots: 2,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// Nov 16 2026: Amex took airfare off the 4X list and added transit (mirrors Swift).
|
|
5
|
+
eligible: ["dining", "gas", "transit"],
|
|
6
|
+
note: "4× on the 2 categories your business spends the most on each billing cycle (restaurants, gas, transit, wireless phone service, advertising and select electronics and software), on your first $150,000 of purchases a year (1× after). Amex picks them from your spending. So RightCard can show the bonus, pick the up-to-2 you expect: restaurants, gas, or transit.",
|
|
6
7
|
matchNeedles: ["businessgold"], multiCardMax: 1,
|
|
7
8
|
},
|
|
8
9
|
{
|
package/dist/valuation.js
CHANGED
|
@@ -119,16 +119,20 @@ const hay = (c) => (c.id + " " + c.displayName).toLowerCase();
|
|
|
119
119
|
/** RewardValuation.pooledPrograms(wallet:) */
|
|
120
120
|
export function pooledPrograms(wallet) {
|
|
121
121
|
const map = {};
|
|
122
|
-
|
|
122
|
+
// The plain no-fee "Chase Sapphire" can't transfer, so only Preferred /
|
|
123
|
+
// Reserve unlock; it pools like a Freedom card (mirrors Swift, Nov 11 2026).
|
|
124
|
+
const isURUnlock = (c) => {
|
|
123
125
|
const s = hay(c);
|
|
124
|
-
return s.includes("sapphire") || (s.includes("ink") && s.includes("preferred"));
|
|
125
|
-
}
|
|
126
|
+
return s.includes("sapphire preferred") || s.includes("sapphire reserve") || (s.includes("ink") && s.includes("preferred"));
|
|
127
|
+
};
|
|
128
|
+
const urUnlocked = wallet.some(isURUnlock);
|
|
126
129
|
if (urUnlocked) {
|
|
127
130
|
for (const c of wallet) {
|
|
128
131
|
if (c.rewardCurrency !== "cashback")
|
|
129
132
|
continue;
|
|
130
133
|
const s = hay(c);
|
|
131
|
-
if (s.includes("freedom") || (s.includes("
|
|
134
|
+
if (s.includes("freedom") || (s.includes("sapphire") && !isURUnlock(c))
|
|
135
|
+
|| (s.includes("ink") && (s.includes("cash") || s.includes("unlimited"))))
|
|
132
136
|
map[c.id] = "chaseUR";
|
|
133
137
|
}
|
|
134
138
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rightcard-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
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",
|