Update index.json - add @targe/plugin-eliza — LLM token sharing via U…#279
Update index.json - add @targe/plugin-eliza — LLM token sharing via U…#279pabloleaf wants to merge 2 commits intoelizaos-plugins:mainfrom
Conversation
…SDC micropayments This adds `@targe/plugin-eliza` to the registry — a plugin that integrates Eliza agents with [Targe](https://api.targe.io), an LLM token sharing marketplace built on x402 and Base. > Note: elizaOS already operates [x402.elizaos.ai](https://github.com/elizaOS/x402.elizaos.ai), which uses the same x402 payment standard this plugin is built on. **What this enables for Eliza agents:** - **Call Claude, GPT, or Gemini via pool proxy** — drop-in API format, pay per token in USDC, no API key required - **Register an idle LLM key to earn USDC** — 90% of token revenue goes to the key owner's wallet - **Self-funding loop** — earnings credit the same wallet used for pool calls. An agent that shares enough capacity can cover its own LLM costs permanently **Actions:** `TARGE_CALL_POOL`, `TARGE_REGISTER_KEY`, `TARGE_CHECK_BALANCE`, `TARGE_CHECK_EARNINGS` **Provider:** `TARGE_CONTEXT` — injects pool status and balance into every message context **Links:** - npm: https://www.npmjs.com/package/@targe/plugin-eliza - GitHub: https://github.com/pabloleaf/plugin-targe - Targe API: https://api.targe.io - Agent card (ERC-8004): https://api.targe.io/.well-known/agent.json **Network:** Base Mainnet, USDC payments, x402 protocol
WalkthroughA new public plugin mapping entry has been added to index.json, registering the package "@targe/plugin-eliza" to point to its GitHub repository at "github:pabloleaf/plugin-targe". Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| "@elizaos/plugin-storage-s3": "github:elizaos-plugins/plugin-storage-s3", | ||
| "@elizaos/plugin-story": "github:elizaos-plugins/plugin-story", | ||
| "@elizaos/plugin-sui": "github:elizaos-plugins/plugin-sui", | ||
| "@targe/plugin-eliza": "github:pabloleaf/plugin-targe", |
There was a problem hiding this comment.
Incorrect alphabetical placement
The @targe/plugin-eliza entry is placed in the middle of the @elizaos namespace block (between @elizaos/plugin-sui and @elizaos/plugin-tee). Since the @targe namespace sorts after @elizaos alphabetically (t > e), it should be placed among the other third-party namespace entries — specifically between @standujar/plugin-composio and @theschein/plugin-polymarket (around line 236-237 in the current file).
The checklist for this PR explicitly lists: "It's placed alphabetically in the list" as a requirement.
Please move the entry to its correct alphabetical position:
"@standujar/plugin-composio": "github:standujar/plugin-composio",
"@targe/plugin-eliza": "github:pabloleaf/plugin-targe",
"@theschein/plugin-polymarket": "github:Okay-Bet/plugin-polymarket",Entry moved to alphabetical order
…SDC micropayments
This adds
@targe/plugin-elizato the registry — a plugin that integrates Eliza agents withTarge, an LLM token sharing marketplace built on x402 and Base.
What this enables for Eliza agents:
Actions:
TARGE_CALL_POOL,TARGE_REGISTER_KEY,TARGE_CHECK_BALANCE,TARGE_CHECK_EARNINGSProvider:
TARGE_CONTEXT— injects pool status and balance into every message contextLinks:
Network: Base Mainnet, USDC payments, x402 protocol
Registry Update Checklist
Registry:
If not an eliza-plugins official repo, i.e. new plugin:
The plugin repo has:
elizaos-pluginsin the topics in the GitHub repo settings. If the plugin is related toAIorcrypto, please add those as topics as well.images/banner.jpgandimages/logo.jpgand they{ "name": "@myNpmOrg/plugin-example", "version": "1.0.0", "agentConfig": { "pluginType": "elizaos:plugin:1.0.0", "pluginParameters": { "API_KEY": { "type": "string", "description": "API key for the service" } } } }Summary by CodeRabbit
Greptile Summary
This PR adds
@targe/plugin-eliza(pointing togithub:pabloleaf/plugin-targe) to the elizaOS plugin registry, enabling Eliza agents to interact with the Targe LLM token-sharing marketplace via x402/USDC micropayments on Base Mainnet..gitextension, usesgithub:notgithub.com:, key matches the npm package name)@elizaos/plugin-suiand@elizaos/plugin-teeinside the@elizaosnamespace block. Since@targesorts after@elizaos(and after@standujarbut before@thescheinamong third-party namespaces), it should be moved to between@standujar/plugin-composioand@theschein/plugin-polymarketConfidence Score: 3/5
.git, propergithub:prefix, key matches npm name), but the entry is placed in the wrong alphabetical position — in the middle of the@elizaosblock instead of among the other third-party namespace entries. This does not break JSON validity but violates the stated registry conventions.Important Files Changed
@targe/plugin-elizaregistry entry, but the entry is placed in the middle of the@elizaossection rather than in the correct alphabetical position among third-party namespace entries.Sequence Diagram
sequenceDiagram participant Agent as Eliza Agent participant Plugin as @targe/plugin-eliza participant Targe as Targe API (api.targe.io) participant LLM as LLM Pool (Claude/GPT/Gemini) participant Base as Base Mainnet (USDC/x402) Agent->>Plugin: TARGE_CHECK_BALANCE Plugin->>Targe: GET /balance Targe-->>Plugin: USDC balance Plugin-->>Agent: Balance context injected (TARGE_CONTEXT) Agent->>Plugin: TARGE_CALL_POOL Plugin->>Targe: POST /proxy (x402 payment) Targe->>Base: Deduct USDC micropayment Targe->>LLM: Forward LLM request LLM-->>Targe: LLM response Targe-->>Plugin: Response + receipt Plugin-->>Agent: LLM output Agent->>Plugin: TARGE_REGISTER_KEY Plugin->>Targe: POST /register (API key) Targe-->>Plugin: Registration confirmed Note over Targe,Base: 90% of token revenue<br/>credited to owner wallet Agent->>Plugin: TARGE_CHECK_EARNINGS Plugin->>Targe: GET /earnings Targe-->>Plugin: Earnings in USDC Plugin-->>Agent: Earnings infoLast reviewed commit: 7e64787
(2/5) Greptile learns from your feedback when you react with thumbs up/down!