Skip to content

feat: add @x402-index/plugin-x402search#312

Open
x402-index wants to merge 1 commit intoelizaos-plugins:mainfrom
x402-index:feat/add-x402search-plugin
Open

feat: add @x402-index/plugin-x402search#312
x402-index wants to merge 1 commit intoelizaos-plugins:mainfrom
x402-index:feat/add-x402search-plugin

Conversation

@x402-index
Copy link

@x402-index x402-index commented Mar 20, 2026

Adds x402search plugin to the ElizaOS registry.

@x402-index/plugin-x402search — Natural language search across 14,000+ indexed API services.

Agents can now discover APIs by capability query instead of hardcoding endpoints. Complements existing x402 payment plugins already in the registry.

Greptile Summary

This PR registers @x402-index/plugin-x402search in the ElizaOS plugin registry, enabling agents to discover APIs via natural language queries paid for with $0.01 USDC per call over the x402 protocol on Base mainnet.

  • The single-line addition follows the established registry format ("@scope/plugin-name": "github:org/repo") and is inserted in the correct alphabetical position.
  • The PR also incidentally fixes the pre-existing missing trailing newline at the end of index.json.
  • The npm scope (@x402-index) matches the GitHub organisation (x402-index), consistent with registry conventions for third-party plugins.
  • No duplicate key exists for this plugin in the file.
  • Note for reviewers: this plugin triggers a real on-chain USDC payment ($0.01 per query) on Base mainnet every time the SEARCH_APIS action is invoked. Users of this plugin should be aware of the cost implications before enabling it in an agent.

Confidence Score: 4/5

  • This PR is safe to merge; it is a minimal, well-formed registry entry following all existing conventions.
  • The change is a single JSON key-value addition that is alphabetically sorted, correctly scoped, and fixes a pre-existing missing newline. The only non-blocking consideration is that the plugin performs automatic on-chain payments, which is an expected characteristic of x402-protocol plugins already present in the registry.
  • No files require special attention.

Important Files Changed

Filename Overview
index.json Adds @x402-index/plugin-x402search registry entry in correct alphabetical position between @tonyflam and @zane-archer; also fixes the missing trailing newline.

Sequence Diagram

sequenceDiagram
    participant Agent as ElizaOS Agent
    participant Plugin as plugin-x402search
    participant X402 as x402 Protocol (Base mainnet)
    participant API as x402search.xyz

    Agent->>Plugin: Trigger SEARCH_APIS action (natural language query)
    Plugin->>X402: Authorize $0.01 USDC payment (Base mainnet)
    X402-->>Plugin: Payment confirmed
    Plugin->>API: POST /search (query)
    API-->>Plugin: JSON response (matching API services)
    Plugin-->>Agent: Return discovered API endpoints
Loading

Last reviewed commit: "feat: add @x402-inde..."

(2/5) Greptile learns from your feedback when you react with thumbs up/down!

Summary by CodeRabbit

  • Chores
    • Registered new search plugin, expanding the available tools within the system.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 69b622ac-076f-4c2c-84f6-6a9c83e5ebea

📥 Commits

Reviewing files that changed from the base of the PR and between ce554dd and 6671994.

📒 Files selected for processing (1)
  • index.json

Walkthrough

A new plugin mapping entry @x402-index/plugin-x402searchgithub:x402-index/plugin-x402search was added to the index.json configuration file, along with formatting to ensure proper newline termination.

Changes

Cohort / File(s) Summary
Plugin Registry
index.json
Added new plugin entry mapping @x402-index/plugin-x402search to its GitHub repository reference and ensured file ends with newline.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A new plugin hops into the registry,
Added to the index with such symmetry,
x402search takes its rightful place,
Configuration keeps its proper grace! 🐰✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete against the template; it lacks verification checklist items, repo accessibility confirmation, and plugin structure validation details. Complete the Registry Update Checklist from the template to document compliance with requirements for new plugin registration, including repo accessibility, branch defaults, topics, and structure validation.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding a new plugin entry to the registry.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can disable poems in the walkthrough.

Disable the reviews.poem setting to disable the poems in the walkthrough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant