@t2000/cli 0.39.0 → 0.40.1

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.
@@ -136695,7 +136695,7 @@ function errorResult(err) {
136695
136695
  function registerReadTools(server, agent) {
136696
136696
  server.tool(
136697
136697
  "t2000_overview",
136698
- "Complete account snapshot in ONE call \u2014 balance, savings positions, health factor, yield earnings, fund status, and pending rewards. Use this for morning briefings, general account questions, or any time you need the full picture. Prefer this over calling individual tools.",
136698
+ "Complete account snapshot in ONE call \u2014 balance, savings positions, health factor, yield earnings, fund status, and pending rewards. Use this for general account questions or any time you need the full picture. Prefer this over calling individual tools.",
136699
136699
  {},
136700
136700
  async () => {
136701
136701
  try {
@@ -137537,47 +137537,6 @@ ${context}
137537
137537
  }]
137538
137538
  })
137539
137539
  );
137540
- server.prompt(
137541
- "morning-briefing",
137542
- "Daily financial snapshot \u2014 balance changes, yield earned, savings performance, health warnings.",
137543
- async () => ({
137544
- messages: [{
137545
- role: "user",
137546
- content: {
137547
- type: "text",
137548
- text: [
137549
- "You are a personal financial briefing assistant for a t2000 AI agent bank account on Sui.",
137550
- "",
137551
- "IMPORTANT: Call t2000_overview FIRST \u2014 it returns balance, positions, health, earnings, fund status, and pending rewards in one call.",
137552
- "Optionally call t2000_all_rates to compare USDC APYs across protocols.",
137553
- "",
137554
- "Present everything as a single structured briefing. NEVER ask follow-up questions before presenting the briefing.",
137555
- "",
137556
- "\u2600\uFE0F MORNING BRIEFING",
137557
- "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",
137558
- "",
137559
- "Show a compact account summary table:",
137560
- " Checking $XX.XX",
137561
- " Savings $XX.XX \xB7 X.XX% APY",
137562
- " Credit -$XX.XX (only if borrowed)",
137563
- " Net Worth $XX.XX",
137564
- "",
137565
- "If there are savings positions, show daily yield earned.",
137566
- "If pending rewards exist, mention them.",
137567
- "",
137568
- "\u{1F4CB} Action Items (max 4, only if applicable):",
137569
- " - Idle funds in checking \u2192 suggest saving",
137570
- " - Outstanding debt \u2192 suggest repaying to stop interest",
137571
- " - Better USDC yield elsewhere \u2192 note APY gap; suggest reviewing savings placement",
137572
- " - Claimable rewards \u2192 suggest claiming",
137573
- " - Low health factor \u2192 warn about liquidation risk",
137574
- "",
137575
- "If everything is optimized, say so. Keep it scannable \u2014 numbers first, narrative second."
137576
- ].join("\n")
137577
- }
137578
- }]
137579
- })
137580
- );
137581
137540
  server.prompt(
137582
137541
  "what-if",
137583
137542
  'Scenario planning \u2014 "What if I save $X?" or "What if I borrow $X?" Shows projected impact on yield and risk.',
@@ -137849,7 +137808,7 @@ ${context}
137849
137808
  "",
137850
137809
  "IF they already have savings:",
137851
137810
  ` "Looks like you're already set up! Here's your quick status:"`,
137852
- " Show a mini briefing, then offer to optimize",
137811
+ " Show a mini summary (balance + savings + APY), then offer to optimize",
137853
137812
  "",
137854
137813
  'End with: "What would you like to do first?"',
137855
137814
  "",
@@ -137997,7 +137956,7 @@ ${context}
137997
137956
  " \u2192 Offer to save it all now: t2000_save",
137998
137957
  "",
137999
137958
  "If they need regular deposits:",
138000
- " \u2192 Suggest a recurring schedule",
137959
+ " \u2192 Suggest a manual rhythm (weekly / monthly) the user can run themselves",
138001
137960
  " \u2192 Show how yield accelerates the goal",
138002
137961
  "",
138003
137962
  "End with a clear YES/NO on whether the goal is achievable in the timeline."
@@ -138007,7 +137966,7 @@ ${context}
138007
137966
  })
138008
137967
  );
138009
137968
  }
138010
- var PKG_VERSION = "0.39.0";
137969
+ var PKG_VERSION = "0.40.1";
138011
137970
  console.log = (...args) => console.error("[log]", ...args);
138012
137971
  console.warn = (...args) => console.error("[warn]", ...args);
138013
137972
  async function startMcpServer(opts) {
@@ -138097,4 +138056,4 @@ axios/dist/node/axios.cjs:
138097
138056
  *)
138098
138057
  *)
138099
138058
  */
138100
- //# sourceMappingURL=dist-LJKS6IJU.js.map
138059
+ //# sourceMappingURL=dist-EVKAQAUQ.js.map