diff --git a/manifest.config.ts b/manifest.config.ts index acb45b5..d1be624 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -76,7 +76,7 @@ export const plugins: readonly PluginDefinition[] = [ }, { name: 'wallet', - version: '0.1.0', + version: '0.1.1', description: 'Set up Tempo Wallet and make explicitly approved paid API requests.', displayName: 'Tempo Wallet', homepage: 'https://tempo.xyz/developers/docs/wallet/use-with-agents', diff --git a/plugins/wallet/.claude-plugin/plugin.json b/plugins/wallet/.claude-plugin/plugin.json index fc588fd..881d32e 100644 --- a/plugins/wallet/.claude-plugin/plugin.json +++ b/plugins/wallet/.claude-plugin/plugin.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", "name": "wallet", "displayName": "Tempo Wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "author": { "name": "Tempo" diff --git a/plugins/wallet/.codex-plugin/plugin.json b/plugins/wallet/.codex-plugin/plugin.json index ba37dd9..0b918c1 100644 --- a/plugins/wallet/.codex-plugin/plugin.json +++ b/plugins/wallet/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "homepage": "https://tempo.xyz/developers/docs/wallet/use-with-agents", "repository": "https://github.com/tempoxyz/plugins", diff --git a/plugins/wallet/.cursor-plugin/plugin.json b/plugins/wallet/.cursor-plugin/plugin.json index 82b8a51..e99cfc6 100644 --- a/plugins/wallet/.cursor-plugin/plugin.json +++ b/plugins/wallet/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "wallet", "displayName": "Tempo Wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "author": { "name": "Tempo" diff --git a/plugins/wallet/plugin.json b/plugins/wallet/plugin.json index 3fa197f..6191d86 100644 --- a/plugins/wallet/plugin.json +++ b/plugins/wallet/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "homepage": "https://tempo.xyz/developers/docs/wallet/use-with-agents", "repository": "https://github.com/tempoxyz/plugins", diff --git a/plugins/wallet/skills/wallet/SKILL.md b/plugins/wallet/skills/wallet/SKILL.md index 7db2476..926caf3 100644 --- a/plugins/wallet/skills/wallet/SKILL.md +++ b/plugins/wallet/skills/wallet/SKILL.md @@ -68,7 +68,8 @@ Starter prompts should be user-facing tasks (not command templates), for example - Select `SERVICE_ID` from search results that best matches user intent. When multiple match: prefer best semantic fit, then endpoint fit, then pricing clarity, then first in list. - **Anchor on `"$HOME/.tempo/bin/tempo" wallet -t services `** — it shows the exact URL, method, path, and pricing for every endpoint. Build request URL as `/` from discovered metadata only. -- If service details include `supportsCredits: true`, MPP Credits may be used for one-time `tempo.charge` payments. Credits are separate from token balances; check them with `"$HOME/.tempo/bin/tempo" wallet -t whoami --credits` and buy them with `"$HOME/.tempo/bin/tempo" wallet fund --credits`. +- If service details include `supportsCredits: true`, existing MPP Credits may still be spent on eligible one-time `tempo.charge` payments. Check the separate balance with `"$HOME/.tempo/bin/tempo" wallet -t whoami --credits`. MPP Credits are no longer available for purchase, but existing credits can still be redeemed. Use [MACH](https://wallet.tempo.xyz/agent#mach) for new purchases. Open checkout with `"$HOME/.tempo/bin/tempo" wallet fund --mach`. +- MACH funding is mainnet-only. Before recommending it, check that the one-time charge advertises `machineTokenEnabled: true`; `supportsCredits` only indicates legacy-credit support. Session payments use the service's advertised token. - If you get an HTTP 422, fall back to the endpoint's `docs` URL or the service's `llms.txt` for exact field names. - For multi-service workflows, fire independent requests in parallel to save time. @@ -96,7 +97,7 @@ matching request without `--dry-run`: - Return result payload to user directly when request succeeds. - If response contains a file URL (e.g., image generation), download it locally: `curl -fsSL "" -o `. - If response is a usage/auth readiness error, run `"$HOME/.tempo/bin/tempo" wallet login` and retry once. -- If response indicates payment/funding limit issues, report clearly and stop. For token funding use `"$HOME/.tempo/bin/tempo" wallet fund`; for MPP Credits use `"$HOME/.tempo/bin/tempo" wallet fund --credits` only when service details show `supportsCredits: true`. +- If response indicates payment/funding limit issues, report clearly and stop. For MACH funding use `"$HOME/.tempo/bin/tempo" wallet fund --mach`; for other token funding use `"$HOME/.tempo/bin/tempo" wallet fund`. Never direct users to buy MPP Credits or retry `"$HOME/.tempo/bin/tempo" wallet fund --credits`. - After multi-request workflows, check remaining balance with `"$HOME/.tempo/bin/tempo" wallet -t whoami`. ### Rules @@ -118,7 +119,7 @@ matching request without `--dry-run`: | HTTP 422 on first request to a service | Wrong request schema — field names vary across services | Check `"$HOME/.tempo/bin/tempo" wallet -t services ` for endpoint details, then fetch the endpoint's `docs` URL or the service's `llms.txt` for exact field names and types. | | Balance is 0, insufficient funds, or spending limit exceeded | Wallet needs funding or limit hit | Run `"$HOME/.tempo/bin/tempo" wallet fund` or direct user to the wallet dashboard. Report clearly and stop if limit is exceeded. | | Token balance is 0 but MPP Credits may be available | Credits are separate from token balances | Run `"$HOME/.tempo/bin/tempo" wallet -t whoami --credits`. If the service shows `supportsCredits: true`, credits can be used for one-time charge payments. | -| Need to buy MPP Credits | User wants to fund with card-based credits for eligible services | Run `"$HOME/.tempo/bin/tempo" wallet fund --credits`, complete checkout in the wallet app, then recheck with `"$HOME/.tempo/bin/tempo" wallet -t whoami --credits`. | +| Need to buy MPP Credits | Purchases are retired | MPP Credits are no longer available for purchase, but existing credits can still be redeemed. Use [MACH](https://wallet.tempo.xyz/agent#mach) for new purchases. | | Credits are not accepted by a service | MPP Credits only work for eligible Tempo-proxied services | Inspect `"$HOME/.tempo/bin/tempo" wallet -t services ` and use credits only when `supportsCredits: true` is present. Otherwise use token funding with `"$HOME/.tempo/bin/tempo" wallet fund`. | | Service uses sessions | MPP Credits currently support one-time charges, not sessions | Use token funding for session-based services. | | Service not found for query | Search terms too narrow | Broaden search terms with `"$HOME/.tempo/bin/tempo" wallet -t services --search `, then inspect candidate details. | diff --git a/test/fixtures/golden/gemini/wallet/gemini-extension.json b/test/fixtures/golden/gemini/wallet/gemini-extension.json index 50a9183..8c046c3 100644 --- a/test/fixtures/golden/gemini/wallet/gemini-extension.json +++ b/test/fixtures/golden/gemini/wallet/gemini-extension.json @@ -1,5 +1,5 @@ { "name": "wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests." } diff --git a/test/fixtures/golden/manifests/plugins/wallet/.claude-plugin/plugin.json b/test/fixtures/golden/manifests/plugins/wallet/.claude-plugin/plugin.json index fc588fd..881d32e 100644 --- a/test/fixtures/golden/manifests/plugins/wallet/.claude-plugin/plugin.json +++ b/test/fixtures/golden/manifests/plugins/wallet/.claude-plugin/plugin.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", "name": "wallet", "displayName": "Tempo Wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "author": { "name": "Tempo" diff --git a/test/fixtures/golden/manifests/plugins/wallet/.codex-plugin/plugin.json b/test/fixtures/golden/manifests/plugins/wallet/.codex-plugin/plugin.json index ba37dd9..0b918c1 100644 --- a/test/fixtures/golden/manifests/plugins/wallet/.codex-plugin/plugin.json +++ b/test/fixtures/golden/manifests/plugins/wallet/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "homepage": "https://tempo.xyz/developers/docs/wallet/use-with-agents", "repository": "https://github.com/tempoxyz/plugins", diff --git a/test/fixtures/golden/manifests/plugins/wallet/.cursor-plugin/plugin.json b/test/fixtures/golden/manifests/plugins/wallet/.cursor-plugin/plugin.json index 82b8a51..e99cfc6 100644 --- a/test/fixtures/golden/manifests/plugins/wallet/.cursor-plugin/plugin.json +++ b/test/fixtures/golden/manifests/plugins/wallet/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "wallet", "displayName": "Tempo Wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "author": { "name": "Tempo" diff --git a/test/fixtures/golden/manifests/plugins/wallet/plugin.json b/test/fixtures/golden/manifests/plugins/wallet/plugin.json index 3fa197f..6191d86 100644 --- a/test/fixtures/golden/manifests/plugins/wallet/plugin.json +++ b/test/fixtures/golden/manifests/plugins/wallet/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "wallet", - "version": "0.1.0", + "version": "0.1.1", "description": "Set up Tempo Wallet and make explicitly approved paid API requests.", "homepage": "https://tempo.xyz/developers/docs/wallet/use-with-agents", "repository": "https://github.com/tempoxyz/plugins",