@t2000/cli 1.22.0 → 1.22.2
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/{chunk-VHEK2AU4.js → chunk-COE5RRNH.js} +1 -1
- package/dist/{chunk-VHEK2AU4.js.map → chunk-COE5RRNH.js.map} +1 -1
- package/dist/{dist-IG6KJCZ4.js → dist-7TDENFJA.js} +2 -58
- package/dist/{dist-IG6KJCZ4.js.map → dist-7TDENFJA.js.map} +1 -1
- package/dist/{dist-6OWI2IOR.js → dist-XSJQIU5E.js} +2 -2
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-6OWI2IOR.js.map → dist-XSJQIU5E.js.map} +0 -0
|
@@ -139671,64 +139671,8 @@ ${context}
|
|
|
139671
139671
|
}]
|
|
139672
139672
|
})
|
|
139673
139673
|
);
|
|
139674
|
-
server.prompt(
|
|
139675
|
-
"savings-goal",
|
|
139676
|
-
'Set a savings target \u2014 "I want to save $X by date Y" \u2192 calculates weekly/monthly amount needed.',
|
|
139677
|
-
{
|
|
139678
|
-
target: external_exports.number().optional().describe("Target savings amount in dollars"),
|
|
139679
|
-
months: external_exports.number().optional().describe("Number of months to reach the target")
|
|
139680
|
-
},
|
|
139681
|
-
async ({ target, months: months2 }) => ({
|
|
139682
|
-
messages: [{
|
|
139683
|
-
role: "user",
|
|
139684
|
-
content: {
|
|
139685
|
-
type: "text",
|
|
139686
|
-
text: [
|
|
139687
|
-
"You are a savings goal planner for a t2000 AI agent bank account on Sui.",
|
|
139688
|
-
"",
|
|
139689
|
-
target ? `Target: $${target}` : "",
|
|
139690
|
-
months2 ? `Timeline: ${months2} months` : "",
|
|
139691
|
-
"",
|
|
139692
|
-
"IMPORTANT: Call t2000_overview FIRST to see current state.",
|
|
139693
|
-
"",
|
|
139694
|
-
"\u{1F3AF} SAVINGS GOAL",
|
|
139695
|
-
"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",
|
|
139696
|
-
"",
|
|
139697
|
-
"If target or timeline is missing, ask the user.",
|
|
139698
|
-
"",
|
|
139699
|
-
"Calculate and present:",
|
|
139700
|
-
"",
|
|
139701
|
-
" Goal: $X by [date]",
|
|
139702
|
-
" Currently saved: $X",
|
|
139703
|
-
" Gap: $X needed",
|
|
139704
|
-
"",
|
|
139705
|
-
" Weekly deposit: $X/week",
|
|
139706
|
-
" Monthly deposit: $X/month",
|
|
139707
|
-
"",
|
|
139708
|
-
" With yield (at current APY X%):",
|
|
139709
|
-
" Without yield you'd need: $X total deposits",
|
|
139710
|
-
" With yield you'd need: $X total deposits (yield covers ~$X)",
|
|
139711
|
-
"",
|
|
139712
|
-
" Feasibility check:",
|
|
139713
|
-
" Current checking: $X",
|
|
139714
|
-
" Can fund from checking: $X of $X gap",
|
|
139715
|
-
" Remaining to earn/deposit: $X",
|
|
139716
|
-
"",
|
|
139717
|
-
"If they can reach the goal with current funds + yield:",
|
|
139718
|
-
" \u2192 Offer to save it all now: t2000_save",
|
|
139719
|
-
"",
|
|
139720
|
-
"If they need regular deposits:",
|
|
139721
|
-
" \u2192 Suggest a manual rhythm (weekly / monthly) the user can run themselves",
|
|
139722
|
-
" \u2192 Show how yield accelerates the goal",
|
|
139723
|
-
"",
|
|
139724
|
-
"End with a clear YES/NO on whether the goal is achievable in the timeline."
|
|
139725
|
-
].join("\n")
|
|
139726
|
-
}
|
|
139727
|
-
}]
|
|
139728
|
-
})
|
|
139729
|
-
);
|
|
139730
139674
|
}
|
|
139731
|
-
var PKG_VERSION = "1.22.
|
|
139675
|
+
var PKG_VERSION = "1.22.2";
|
|
139732
139676
|
console.log = (...args) => console.error("[log]", ...args);
|
|
139733
139677
|
console.warn = (...args) => console.error("[warn]", ...args);
|
|
139734
139678
|
async function startMcpServer(opts) {
|
|
@@ -139818,4 +139762,4 @@ axios/dist/node/axios.cjs:
|
|
|
139818
139762
|
@scure/bip39/index.js:
|
|
139819
139763
|
(*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
139820
139764
|
*/
|
|
139821
|
-
//# sourceMappingURL=dist-
|
|
139765
|
+
//# sourceMappingURL=dist-7TDENFJA.js.map
|