{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "mandarin-the-wild-reader",
  "version": "1.0.2",
  "description": "Read Mandarin messages, article excerpts and subtitles with contextual word cards, pinyin and phrase parts. Optionally connect Mandarin The Wild to save words you choose to Backpack.",
  "author": {
    "name": "Mandarin The Wild",
    "email": "support@mandarinthewild.com",
    "url": "https://mandarinthewild.com"
  },
  "homepage": "https://mandarinthewild.com",
  "keywords": [
    "Mandarin",
    "Chinese",
    "reading",
    "pinyin",
    "idioms",
    "language learning"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Mandarin The Wild Reader",
        "shortDescription": "Read Mandarin word by word",
        "longDescription": "Understand real Mandarin messages, article excerpts and subtitle passages inside ChatGPT. Open the original text and hover or tap a word for its meaning in context, expected pinyin and phrase parts. The reader shows alternatives and uncertain readings rather than treating every interpretation as settled.\n\nReading needs no Mandarin The Wild account. Optionally connect your account and deliberately save a chosen word, with its passage, to your existing Backpack. Hovering and reading never save words.\n\nPaste the passage you want to read, up to 4,096 characters at a time. This reader does not fetch article links, transcribe media or certify proficiency.",
        "developerName": "Mandarin The Wild",
        "category": "Education & Research",
        "capabilities": [
          "Read Mandarin passages",
          "Explain words in context",
          "Save chosen words to Backpack"
        ],
        "websiteURL": "https://mandarinthewild.com",
        "supportURL": "https://mandarinthewild.com/help",
        "privacyPolicyURL": "https://mandarinthewild.com/privacy",
        "termsOfServiceURL": "https://mandarinthewild.com/terms",
        "defaultPrompt": [
          "Help me read this Chinese message: \u660e\u5929\u65b9\u4fbf\u7684\u8bdd\uff0c\u54b1\u4eec\u4e00\u8d77\u5403\u4e2a\u996d\u5427\u3002",
          "Explain \u62d0\u5f2f\u62b9\u89d2 in this sentence: \u4f60\u522b\u62d0\u5f2f\u62b9\u89d2\uff0c\u6709\u8bdd\u76f4\u8bf4\u3002",
          "Open these Mandarin subtitles word by word: \u6211\u8fd8\u4ee5\u4e3a\u4f60\u4e0d\u6765\u4e86\u5462\u3002"
        ],
        "brandColor": "#16464D",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/icon.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Read an everyday message",
              "prompt": "Open this Chinese message in the interactive Mandarin reader: \u660e\u5929\u65b9\u4fbf\u7684\u8bdd\uff0c\u54b1\u4eec\u4e00\u8d77\u5403\u4e2a\u996d\u5427\u3002",
              "tools_triggered": "read_mandarin",
              "expected_behavior": "Preserve the exact message, display its words with pinyin and let desktop hover or phone tap open word cards. Reading does not create a Backpack item."
            },
            {
              "description": "Explain a whole idiom in context",
              "prompt": "What does \u62d0\u5f2f\u62b9\u89d2 mean here? \u4f60\u522b\u62d0\u5f2f\u62b9\u89d2\uff0c\u6709\u8bdd\u76f4\u8bf4\u3002",
              "tools_triggered": "inspect_mandarin_word",
              "expected_behavior": "Inspect the idiom at code-point offset 2 in the exact passage. Show the full idiom card, its expected pinyin, contextual meaning and parts. Do not save it."
            },
            {
              "description": "Read a subtitle passage",
              "prompt": "Help me read these Mandarin subtitles word by word: \u6211\u8fd8\u4ee5\u4e3a\u4f60\u4e0d\u6765\u4e86\u5462\u3002",
              "tools_triggered": "read_mandarin",
              "expected_behavior": "Open the exact supplied text with the same parser used by MTW. Hovering or tapping a word returns a contextual card. No transcription or URL retrieval occurs."
            },
            {
              "description": "Preserve an unresolved interpretation",
              "prompt": "Open \u9e21\u4e0d\u5403\u4e86\u3002 and show the available readings without deciding which one I meant.",
              "tools_triggered": "read_mandarin, inspect_mandarin_word",
              "expected_behavior": "Show the parser's unresolved structural alternatives when inspecting the passage. Do not invent one settled meaning, mark the word known or save an unchosen interpretation."
            },
            {
              "description": "Explicitly save to the checked account and verify Backpack",
              "prompt": "Connect my Mandarin The Wild account, check which account is connected, and save \u8336 from \u4eca\u5929\u6211\u559d\u4e86\u4e00\u676f\u8336\u3002 to that account's Backpack.",
              "tools_triggered": "get_mandarin_account, inspect_mandarin_word, save_mandarin_word",
              "expected_behavior": "Complete sign-in and explicit consent, show the destination account, inspect \u8336 at code-point offset 7 and save only after the requested confirmation. Reusing the same operation UUID after a lost reply creates no duplicate. Opening Backpack in that same account shows \u8336 with its source passage."
            }
          ],
          "negative": [
            {
              "description": "Unsupported article retrieval: ask for the text",
              "prompt": "Fetch a Chinese article from https://example.com/article and read it for me.",
              "expected_behavior": "Explain that the plugin accepts pasted passages and ask for the article excerpt. Do not fetch the link or fabricate article text."
            },
            {
              "description": "Unsupported media transcription: ask for subtitles",
              "prompt": "Transcribe this video and teach me every Mandarin word in it.",
              "expected_behavior": "Explain that this plugin does not transcribe media and ask for existing Mandarin subtitles or a transcript. Do not pretend to have watched or transcribed the video."
            },
            {
              "description": "Reading alone must never persist words",
              "prompt": "Read \u4eca\u5929\u6211\u559d\u4e86\u4e00\u676f\u8336\u3002 and explain \u8336. I only want to understand it; do not save anything.",
              "expected_behavior": "Use only read_mandarin or inspect_mandarin_word. Do not connect an account unnecessarily, invoke save_mandarin_word, mark a word known or write a Backpack item."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "The reader does not sell products, process payments or promote account upgrades.",
        "demo_recording_url": "https://mandarinthewild.com/demos/chatgpt-reader.mp4"
      },
      "publication": {
        "release_notes": "Initial public reader release: exact Mandarin passages, contextual word cards, expected pinyin, phrase parts, uncertainty and optional explicit Backpack saving. Lookup, status and save changes preserve reader height; long cards scroll within their reserved area. Dedicated reviewer sign-in and a desktop/phone walkthrough support review."
      },
      "apps": "./.app.json"
    }
  }
}
