@moneytools-dev/elizaos-plugin-moneytools 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -4,9 +4,9 @@ Gives an ElizaOS agent pay-per-use speech-to-text and x402 spend checks from Mon
4
4
 
5
5
  | Action | Cost | Trigger |
6
6
  |---|---|---|
7
- | `TRANSCRIBE_AUDIO` | 0.002 USDC / started minute | a message with an audio/video URL ("transcribe https://…/ep12.mp3") |
7
+ | `TRANSCRIBE_AUDIO` | 0.005 USDC / started minute | a message with an audio/video URL ("transcribe https://…/ep12.mp3") |
8
8
  | `GET_TRANSCRIPTION` | free | a message with a `job_…` id (add "srt"/"vtt" for subtitles) |
9
- | `SETTLE_SPEND_CHECK` | 0.002 USDC | "can I pay $0.25 to api.example.com?" |
9
+ | `SETTLE_SPEND_CHECK` | 0.005 USDC | "can I pay $0.25 to api.example.com?" |
10
10
 
11
11
  ## Setup
12
12
 
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ async function reply(callback, t, data, ok = true) {
24
24
  export const transcribeAudioAction = {
25
25
  name: "TRANSCRIBE_AUDIO",
26
26
  similes: ["TRANSCRIBE", "SPEECH_TO_TEXT", "TRANSCRIBE_URL", "GET_TRANSCRIPT"],
27
- description: "Transcribe a public audio/video URL with MoneyTools Transcripts (0.002 USDC per started minute, paid automatically via x402 on Base). Returns the text, or a job id if it takes longer.",
27
+ description: "Transcribe a public audio/video URL with MoneyTools Transcripts (0.005 USDC per started minute, paid automatically via x402 on Base). Returns the text, or a job id if it takes longer.",
28
28
  validate: async (runtime, message) => (await hasKey(runtime)) && URL_RE.test(text(message)),
29
29
  handler: async (runtime, message, _state, options, callback) => {
30
30
  const s = setup(runtime);
@@ -90,7 +90,7 @@ export const getTranscriptionAction = {
90
90
  export const spendCheckAction = {
91
91
  name: "SETTLE_SPEND_CHECK",
92
92
  similes: ["CHECK_SPEND", "CAN_I_PAY", "SPEND_CAP_CHECK"],
93
- description: "Before paying an x402 402, check the amount and host against this wallet's MoneyTools Settle spend caps (0.002 USDC per check). Pass options {amountUsd, host, payTo?}.",
93
+ description: "Before paying an x402 402, check the amount and host against this wallet's MoneyTools Settle spend caps (0.005 USDC per check). Pass options {amountUsd, host, payTo?}.",
94
94
  validate: async (runtime) => hasKey(runtime),
95
95
  handler: async (runtime, message, _state, options, callback) => {
96
96
  const s = setup(runtime);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moneytools-dev/elizaos-plugin-moneytools",
3
- "version": "0.1.0",
4
- "description": "ElizaOS plugin: pay-per-file speech-to-text (MoneyTools Transcripts, 0.002 USDC/min) and x402 spend controls (Settle), paid with x402 USDC on Base. No API keys.",
3
+ "version": "0.1.1",
4
+ "description": "ElizaOS plugin: pay-per-file speech-to-text (MoneyTools Transcripts, 0.005 USDC/min) and x402 spend controls (Settle), paid with x402 USDC on Base. No API keys.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",