Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion plugins/wallet/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plugins/wallet/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugins/wallet/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion plugins/wallet/plugin.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 4 additions & 3 deletions plugins/wallet/skills/wallet/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <SERVICE_ID>`** — it shows the exact URL, method, path, and pricing for every endpoint. Build request URL as `<SERVICE_URL>/<ENDPOINT_PATH>` 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.

Expand Down Expand Up @@ -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 "<url>" -o <filename>`.
- 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
Expand All @@ -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 <SERVICE_ID>` 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 <SERVICE_ID>` 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 <broader_query>`, then inspect candidate details. |
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/golden/gemini/wallet/gemini-extension.json
Original file line number Diff line number Diff line change
@@ -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."
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/golden/manifests/plugins/wallet/plugin.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down