@moneytools-dev/ai-sdk 0.1.0 → 0.2.0

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/README.md CHANGED
@@ -4,7 +4,11 @@
4
4
 
5
5
  | Tool | Cost | What it does |
6
6
  |---|---|---|
7
- | `transcribeAudio` | 0.002 USDC / started minute | Speech-to-text for a public audio/video URL (up to 3 h) |
7
+ | `precheck` | free daily tier, then 0.005 USDC | Check an x402 seller URL before paying (402 terms + OFAC screen of payTo) |
8
+ | `walletRiskCard` | 0.02 USDC | 0-100 risk score, A-F grade, OFAC SDN match, address checks, open approvals |
9
+ | `tokenSafetyCheck` | free daily tier, then 0.005 USDC | USDC → token → USDC honeypot / sell-tax simulation |
10
+ | `tokenContractInfo` | free daily tier, then 0.005 USDC | ERC-20 name, symbol, decimals, supply, owner, paused, proxy |
11
+ | `transcribeAudio` | 0.005 USDC / started minute | Speech-to-text for a public audio/video URL (up to 3 h) |
8
12
  | `getTranscription` | free | Job status/result as JSON, SRT, VTT or text |
9
13
  | `spendCheck` | 0.002 USDC | Allow/deny a planned x402 payment against this wallet's caps |
10
14
  | `setSpendCap` | 0.002 USDC | Per-call / per-day caps and allowed hosts |
@@ -22,12 +26,12 @@ import { moneytoolsTools } from "@moneytools-dev/ai-sdk";
22
26
  const account = privateKeyToAccount(process.env.MONEYTOOLS_EVM_PRIVATE_KEY as `0x${string}`);
23
27
  const { text } = await generateText({
24
28
  model: "openai/gpt-5-mini",
25
- prompt: "Transcribe https://example.com/standup.mp3 and list the action items.",
29
+ prompt: "Precheck https://seller.example/data, then score wallet 0x64eB63904Cf9688AC5B3087A72AcF9C31a273169 on Base.",
26
30
  tools: moneytoolsTools({ account, maxUsdPerRequest: 0.5 }),
27
31
  stopWhen: isStepCount(3),
28
32
  });
29
33
  ```
30
34
 
31
- `maxUsdPerRequest` caps every signed payment; anything above it is refused before signing. The key stays in your process.
35
+ `maxUsdPerRequest` caps Transcripts payments. `maxPaymentUsdc` (default 0.02) caps precheck, wallet-risk and token-safety payments. Anything above the cap is refused before signing. The key stays in your process.
32
36
 
33
- Docs: https://speech.moneytools.dev/docs/migrate-from-dtelecom · MIT
37
+ Docs: https://moneytools.dev/products/payment-safety/guides/vercel-ai-sdk/ · MIT