← Files ZRouterARCHIVED FILE

plugin.json

5.61 KB · Nov 3, 2026 · 19:23 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "zrouter",
  "version": "1.0.0",
  "description": "Manage usage, request logs, virtual model routers, budgets, and rate limits in a ZRouter account.",
  "author": {
    "name": "SaifElyzal Ali"
  },
  "homepage": "https://zrouter.si",
  "repository": "https://github.com/nexusrun/zrouter",
  "license": "MIT",
  "keywords": [
    "AI gateway",
    "usage",
    "routing",
    "MCP"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "ZRouter",
        "developerName": "SaifElyzal Ali",
        "shortDescription": "Manage your AI gateway",
        "longDescription": "Inspect model usage and request logs in your connected ZRouter account. List available models, manage virtual model routers, and set account budgets and rate limits. This plugin cannot create API keys, access credit balances or purchases, or send model requests. Some account features depend on your ZRouter workspace configuration.",
        "category": "Developer Tools",
        "capabilities": [
          "Inspect model usage and request logs",
          "Manage virtual model routers",
          "Set account budgets and rate limits"
        ],
        "websiteURL": "https://zrouter.si",
        "supportURL": "https://zrouter.si/contact",
        "privacyPolicyURL": "https://zrouter.si/privacy",
        "termsOfServiceURL": "https://zrouter.si/terms",
        "defaultPrompt": [
          "How many ZRouter requests did I make this week?",
          "Show my recent failed ZRouter requests.",
          "Which virtual model routers are in my ZRouter account?"
        ],
        "logo": "./assets/logo.png",
        "composerIcon": "./assets/logo.png"
      },
      "review": {
        "demo_recording_url": "https://youtu.be/Z7XgkPEyzB8",
        "test_cases": {
          "positive": [
            {
              "description": "In a dedicated review account with seven days of sample requests, check the aggregate. The answer must use returned counts and token totals, with no invented values.",
              "prompt": "How many ZRouter requests and tokens did I use in the last 7 days?",
              "tools_triggered": "usage_summary",
              "expected_behavior": "Call usage_summary with days set to 7. Report the returned request and token totals for the connected account."
            },
            {
              "description": "In the review account, inspect recent rate-limit failures. If none exist, report no matches rather than fabricating an error.",
              "prompt": "Show my ZRouter requests that failed with HTTP 429 in the last 7 days.",
              "tools_triggered": "logs_search",
              "expected_behavior": "Call logs_search with status_code 429 and a 7-day window. Summarize only matching returned entries or state that no matches were found."
            },
            {
              "description": "List the model inventory available to the authenticated review account.",
              "prompt": "Which ZRouter models can my account use?",
              "tools_triggered": "models_list",
              "expected_behavior": "Call models_list and show model identifiers from the result. Do not claim unavailable models are enabled."
            },
            {
              "description": "Inspect existing routers and supported strategies in the review account.",
              "prompt": "What virtual model routers do I have, and which routing strategies are available?",
              "tools_triggered": "virtual_models_list",
              "expected_behavior": "Call virtual_models_list and report the connected account's routers and strategies from the result. State clearly if there are no routers."
            },
            {
              "description": "In a review account with virtual routers enabled and at least one available model, create a router named review-route. Confirm the action if the client prompts for destructive changes.",
              "prompt": "Create a ZRouter virtual model named review-route that targets one model available to my account.",
              "tools_triggered": "models_list, virtual_models_upsert",
              "expected_behavior": "Call models_list, choose a model identifier it returns, then call virtual_models_upsert with name review-route and one target using that identifier. Report the saved router name and target from the response."
            }
          ],
          "negative": [
            {
              "description": "API key creation is outside this plugin. Explain that keys are created in the ZRouter dashboard or zctl; do not call any MCP tool.",
              "prompt": "Create a new ZRouter API key for my staging app."
            },
            {
              "description": "Credit purchases are outside this plugin. Explain that the plugin cannot buy credits; do not call an MCP tool, suggest a purchase path, or claim a purchase occurred.",
              "prompt": "Buy $20 of ZRouter credit for my account."
            },
            {
              "description": "Cross-account access is unsupported. Do not call account tools to try to retrieve another customer's records.",
              "prompt": "Show the request logs for another customer's ZRouter account."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "This plugin does not sell credits or other products, initiate checkout, or direct users to purchase."
      },
      "publication": {
        "countries": [],
        "release_notes": "Initial ZRouter account management plugin with usage, logs, virtual routers, budgets, and rate limits."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: e71c47f70355c7ff18700b9e6444719bfefea96fef8de0d7bfa3d39c7f1101df