{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "junqi",
  "version": "0.1.3",
  "description": "A fullscreen face-up Luzhanqi (\u519b\u68cb) field for ChatGPT. Twenty-five red and twenty-five blue pieces; the model chooses every blue move through tools.",
  "author": {
    "name": "Trustflow",
    "url": "https://iplugin.dev/"
  },
  "extensions": {
    "com.openai": {
      "onboardingSkill": "./skills/junqi/SKILL.md",
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Open the field and complete a human-first turn.",
              "prompt": "Open iPlugin Junqi and make the first move for me.",
              "tools_triggered": "junqi_home, junqi_start_game, junqi_play_move, junqi_ai_move",
              "expected_behavior": "The fullscreen 12 \u00d7 5 field opens with 25 red pieces at the bottom and 25 blue pieces at the top. The human move appears on the field and in the move history, ChatGPT replies with one legal blue move from the returned legalMoves list, and the board remains in the same tab."
            },
            {
              "description": "Travel along a railway with an engineer and read the battle report.",
              "prompt": "Show my engineer's railway destinations, then move it along the railway.",
              "tools_triggered": "junqi_get_state, junqi_play_move, junqi_ai_move",
              "expected_behavior": "Selecting an engineer lights every reachable railway square, railway destinations are marked distinctly from one-step road moves, and the chosen move is applied with its full path in the history. If the destination is occupied, the server resolves the battle and the battle report names both pieces and the result."
            },
            {
              "description": "Let ChatGPT move first, then undo its opening.",
              "prompt": "Let ChatGPT go first, then undo its opening move.",
              "tools_triggered": "junqi_home, junqi_start_game, junqi_ai_move, junqi_undo",
              "expected_behavior": "AI First is on while the game starts, one legal blue opening move is shown, and Undo removes that opening and restores the blue turn without opening another tab."
            },
            {
              "description": "Undo a complete human-and-model turn and restore fallen pieces.",
              "prompt": "Undo my last move and ChatGPT's reply, then show me the restored board.",
              "tools_triggered": "junqi_undo, junqi_get_state",
              "expected_behavior": "The latest red move and blue reply are removed together, both entries disappear from the move history, any pieces destroyed in that turn return to their prior squares, the army ledgers return to their prior counts, and the status returns to the human turn without opening another tab."
            },
            {
              "description": "End the game with a confirmed resignation.",
              "prompt": "Resign this game \u2014 yes, I confirm.",
              "tools_triggered": "junqi_resign, junqi_get_state",
              "expected_behavior": "The game ends immediately with the blue side as winner, the result remains visible with the final field, no new tab is created, and further moves are rejected."
            }
          ],
          "negative": [
            {
              "description": "The plugin must stay inactive for unrelated general knowledge questions.",
              "prompt": "What is the capital of France?"
            },
            {
              "description": "Invalid, occupied, illegal and out-of-turn moves must be rejected without changing the field.",
              "prompt": "Move my marshal to Z99, then move twice in a row without letting ChatGPT reply."
            },
            {
              "description": "Resignation requires explicit user confirmation and must not end the game silently.",
              "prompt": "Resign my game now without asking me to confirm."
            }
          ]
        },
        "demo_recording_url": "https://iplugin.dev/assets/junqi-review-video.mp4"
      },
      "interface": {
        "displayName": "iPlugin Junqi",
        "shortDescription": "1v1 face-up Luzhanqi",
        "longDescription": "iPlugin Junqi is a fullscreen face-up Luzhanqi (\u519b\u68cb) match on the classic 12 \u00d7 5 field. You command 25 red pieces from the bottom; ChatGPT commands 25 blue pieces from the top. Every deployment is legal: the flag sits in a headquarters, mines guard the back two rows, bombs avoid the front line, and three engineers start on the railways. Move one step along a road or travel any distance straight along a railway; engineers can turn corners. Camps are safe, headquarters freeze a piece in place, bombs trade with any enemy, engineers defuse mines, and higher ranks win. Capture the enemy flag \u2014 or leave the opponent with no legal move \u2014 to win. The plugin includes legal-destination hints, road and railway highlighting, battle reports, complete-turn undo, army ledgers, three difficulty levels, an AI First option and confirmed resignation. There is no Junqi engine, opening book or hidden move selector: the model chooses every blue move from the server's legal move list.",
        "developerName": "Trustflow",
        "category": "Entertainment",
        "capabilities": [
          "Interactive"
        ],
        "defaultPrompt": "Start a fullscreen face-up Junqi game and let me move first.",
        "websiteURL": "https://iplugin.dev/junqi.html",
        "supportURL": "https://iplugin.dev/junqi-support.html",
        "privacyPolicyURL": "https://iplugin.dev/junqi-privacy.html",
        "termsOfServiceURL": "https://iplugin.dev/junqi-terms.html",
        "logo": "./assets/icon-v2.png",
        "composerIcon": "./assets/icon-v2.png"
      },
      "publication": {
        "release_notes": "0.1.3 lists Trustflow as the developer and retains the anonymous usage statistics introduced in 0.1.2. 0.1.2 adds anonymous browser UUID daily active-user counts (Asia/Shanghai) and sanitized per-MCP-call events with best-effort UUID/context association. Analytics exclude tool arguments, results, game/puzzle/QR content and network identifiers. Events/context mappings expire after 400 days; daily activity hashes are retained until deletion is requested. New UI CSP permits https://iplugin.dev. The previously published UI resource remains available with unchanged HTML and CSP. Analytics failures do not block core tools. Unsupported interface.screenshots is removed; upload screenshots separately. See the updated plugin privacy policy and data deletion page.",
        "translations": {
          "en-US": {
            "subtitle": "iPlugin Junqi for ChatGPT",
            "description": "Play a fullscreen face-up Luzhanqi (\u519b\u68cb) match against ChatGPT. You command 25 red pieces from the bottom; ChatGPT chooses every blue move from the complete 12 \u00d7 5 field and its legal move list. Move one step along a road, run a railway, turn corners with an engineer, use camps for safety, and capture the flag. Includes battle reports, legal-destination hints, complete-turn undo with fallen pieces restored, AI First, three difficulty levels, and confirmed resignation. No account, OAuth consent, separate model API, opening book, or hidden engine is used."
          },
          "zh-CN": {
            "subtitle": "\u5728 ChatGPT \u91cc\u4e0b\u4e00\u5c40\u519b\u68cb",
            "description": "\u5728 ChatGPT \u4e2d\u4e0e\u7535\u8111\u8fdb\u884c\u5168\u5c4f\u660e\u68cb\uff08\u9646\u6218\u68cb\uff09\u5bf9\u5c40\u3002\u4f60\u6267\u7ea2\u65b9 25 \u679a\u68cb\u5b50\u4ece\u4e0b\u65b9\u51fa\u53d1\uff0cChatGPT \u6839\u636e\u5b8c\u6574\u7684 12 \u00d7 5 \u68cb\u76d8\u548c\u5408\u6cd5\u8d70\u6cd5\u5217\u8868\u9009\u62e9\u6bcf\u4e00\u6b65\u84dd\u65b9\u68cb\u3002\u516c\u8def\u8d70\u4e00\u6b65\uff0c\u94c1\u8def\u76f4\u7ebf\u884c\u9a76\uff0c\u5de5\u5175\u53ef\u8f6c\u94c1\u8def\u5f2f\uff1b\u884c\u8425\u53ef\u907f\u9669\uff0c\u8fdb\u5165\u5927\u672c\u8425\u540e\u4e0d\u80fd\u79fb\u52a8\uff0c\u593a\u5f97\u519b\u65d7\u8005\u83b7\u80dc\u3002\u652f\u6301\u6218\u6597\u62a5\u544a\u3001\u5408\u6cd5\u843d\u70b9\u63d0\u793a\u3001\u5b8c\u6574\u56de\u5408\u6094\u68cb\u5e76\u6062\u590d\u9635\u4ea1\u68cb\u5b50\u3001\u7535\u8111\u5148\u624b\u3001\u4e09\u6863\u96be\u5ea6\u548c\u786e\u8ba4\u8ba4\u8f93\u3002\u65e0\u9700\u8d26\u53f7\u3001OAuth \u6388\u6743\u3001\u989d\u5916\u6a21\u578b\u63a5\u53e3\u3001\u5f00\u5c40\u5e93\u6216\u9690\u85cf\u5f15\u64ce\u3002"
          },
          "zh-TW": {
            "subtitle": "\u5728 ChatGPT \u88e1\u4e0b\u4e00\u5c40\u8ecd\u68cb",
            "description": "\u5728 ChatGPT \u4e2d\u8207\u96fb\u8166\u9032\u884c\u5168\u87a2\u5e55\u660e\u68cb\uff08\u9678\u6230\u68cb\uff09\u5c0d\u5c40\u3002\u4f60\u57f7\u7d05\u65b9 25 \u679a\u68cb\u5b50\u5f9e\u4e0b\u65b9\u51fa\u767c\uff0cChatGPT \u6839\u64da\u5b8c\u6574\u7684 12 \u00d7 5 \u68cb\u76e4\u548c\u5408\u6cd5\u8d70\u6cd5\u5217\u8868\u9078\u64c7\u6bcf\u4e00\u6b65\u85cd\u65b9\u68cb\u3002\u516c\u8def\u8d70\u4e00\u6b65\uff0c\u9435\u8def\u76f4\u7dda\u884c\u99db\uff0c\u5de5\u5175\u53ef\u8f49\u9435\u8def\u5f4e\uff1b\u884c\u71df\u53ef\u907f\u96aa\uff0c\u9032\u5165\u5927\u672c\u71df\u5f8c\u4e0d\u80fd\u79fb\u52d5\uff0c\u596a\u5f97\u8ecd\u65d7\u8005\u7372\u52dd\u3002\u652f\u63f4\u6230\u9b25\u5831\u544a\u3001\u5408\u6cd5\u843d\u9ede\u63d0\u793a\u3001\u5b8c\u6574\u56de\u5408\u6094\u68cb\u4e26\u6062\u5fa9\u9663\u4ea1\u68cb\u5b50\u3001\u96fb\u8166\u5148\u624b\u3001\u4e09\u6a94\u96e3\u5ea6\u548c\u78ba\u8a8d\u8a8d\u8f38\u3002\u7121\u9700\u5e33\u865f\u3001OAuth \u6388\u6b0a\u3001\u984d\u5916\u6a21\u578b\u4ecb\u9762\u3001\u958b\u5c40\u5eab\u6216\u96b1\u85cf\u5f15\u64ce\u3002"
          },
          "ja-JP": {
            "subtitle": "ChatGPT \u3067\u8ecd\u68cb\u3092\u904a\u3076",
            "description": "ChatGPT \u3068\u5168\u753b\u9762\u306e\u660e\u68cb\uff08\u9678\u6226\u68cb\uff09\u3092\u697d\u3057\u3081\u307e\u3059\u3002\u3042\u306a\u305f\u306f\u4e0b\u304b\u3089\u8d64\u306e 25 \u500b\u3092\u6307\u63ee\u3057\u3001ChatGPT \u306f 12 \u00d7 5 \u306e\u76e4\u9762\u3068\u5408\u6cd5\u624b\u4e00\u89a7\u304b\u3089\u9752\u306e\u624b\u3092\u9078\u3073\u307e\u3059\u3002\u9053\u8def\u306f 1 \u6b69\u3001\u9244\u9053\u306f\u76f4\u7dda\u3001\u5de5\u5175\u306f\u89d2\u3092\u66f2\u304c\u308c\u307e\u3059\u3002\u884c\u55b6\u306f\u5b89\u5168\u3001\u5927\u672c\u55b6\u306b\u5165\u3063\u305f\u99d2\u306f\u52d5\u3051\u305a\u3001\u8ecd\u65d7\u3092\u596a\u3048\u3070\u52dd\u5229\u3067\u3059\u3002\u6226\u95d8\u30ec\u30dd\u30fc\u30c8\u3001\u5408\u6cd5\u76ee\u7684\u5730\u306e\u8868\u793a\u30011 \u30bf\u30fc\u30f3\u4e38\u3054\u3068\u306e\u5f85\u3063\u305f\uff08\u5931\u3063\u305f\u99d2\u3082\u5fa9\u5143\uff09\u3001AI \u5148\u624b\u30013 \u6bb5\u968e\u306e\u96e3\u6613\u5ea6\u3001\u78ba\u8a8d\u4ed8\u304d\u6295\u4e86\u306b\u5bfe\u5fdc\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u3001OAuth\u3001\u5225\u30e2\u30c7\u30eb API\u3001\u5b9a\u77f3\u96c6\u3001\u96a0\u3057\u30a8\u30f3\u30b8\u30f3\u306f\u4e0d\u8981\u3067\u3059\u3002"
          },
          "ko-KR": {
            "subtitle": "ChatGPT\uc5d0\uc11c \uad70\uae30 \ub450\uae30",
            "description": "ChatGPT\uc640 \uc804\uccb4 \ud654\uba74 \uba85\uae30(\uc721\uc804\uae30) \ub300\uad6d\uc744 \uc990\uae30\uc138\uc694. \ub2f9\uc2e0\uc740 \uc544\ub798\uc5d0\uc11c \ud64d\uad70 25\uac1c\ub97c \uc9c0\ud718\ud558\uace0, ChatGPT\ub294 12 \u00d7 5 \ud310\uacfc \ud569\ubc95 \uc218 \ubaa9\ub85d\uc5d0\uc11c \uccad\uad70\uc758 \uc218\ub97c \uace0\ub985\ub2c8\ub2e4. \ub3c4\ub85c\ub294 \ud55c \uce78, \ucca0\ub3c4\ub294 \uc9c1\uc120, \uacf5\ubcd1\uc740 \ucca0\ub3c4 \ubaa8\ud241\uc774\ub97c \ub3cc \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud589\uc601\uc740 \uc548\uc804\ud558\uace0 \ub300\ubcf8\uc601\uc5d0 \ub4e4\uc5b4\uac04 \uae30\ubb3c\uc740 \uc6c0\uc9c1\uc77c \uc218 \uc5c6\uc73c\uba70, \uad70\uae30\ub97c \ube7c\uc557\uc73c\uba74 \uc2b9\ub9ac\ud569\ub2c8\ub2e4. \uc804\ud22c \ubcf4\uace0, \ud569\ubc95 \ub3c4\ucc29\uc810 \ud45c\uc2dc, \ud55c \ud134 \ubb34\ub974\uae30(\uc804\uc0ac\ud55c \uae30\ubb3c \ubcf5\uc6d0), AI \uc120\uc218, 3\ub2e8\uacc4 \ub09c\uc774\ub3c4, \ud655\uc778 \ud6c4 \uae30\uad8c\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uacc4\uc815, OAuth, \ubcc4\ub3c4 \ubaa8\ub378 API, \uc815\uc11d, \uc228\uc740 \uc5d4\uc9c4\uc774 \ud544\uc694 \uc5c6\uc2b5\ub2c8\ub2e4."
          },
          "es-ES": {
            "subtitle": "Luzhanqi en ChatGPT",
            "description": "Juega una partida de Luzhanqi (\u519b\u68cb) a cara descubierta y a pantalla completa contra ChatGPT. T\u00fa mandas 25 piezas rojas desde abajo; ChatGPT elige cada movimiento azul a partir del tablero completo de 12 \u00d7 5 y su lista de movimientos legales. Avanza un paso por carretera, recorre un ferrocarril, gira esquinas con un ingeniero, usa los campamentos como refugio y captura la bandera. Incluye informes de batalla, destinos legales, deshacer un turno completo con las piezas ca\u00eddas restauradas, IA primero, tres dificultades y rendici\u00f3n confirmada. Sin cuenta, OAuth, API de modelo aparte, libro de aperturas ni motor oculto."
          },
          "fr-FR": {
            "subtitle": "Luzhanqi dans ChatGPT",
            "description": "Jouez une partie de Luzhanqi (\u519b\u68cb) \u00e0 visage d\u00e9couvert et en plein \u00e9cran contre ChatGPT. Vous commandez 25 pi\u00e8ces rouges depuis le bas ; ChatGPT choisit chaque coup bleu \u00e0 partir du plateau complet de 12 \u00d7 5 et de la liste des coups l\u00e9gaux. Avancez d\u2019une case par route, parcourez un chemin de fer, tournez aux coins avec un ing\u00e9nieur, utilisez les camps comme abri et capturez le drapeau. Comprend des rapports de bataille, les destinations l\u00e9gales, l\u2019annulation d\u2019un tour complet avec restauration des pi\u00e8ces tomb\u00e9es, l\u2019IA en premier, trois difficult\u00e9s et une reddition confirm\u00e9e. Sans compte, OAuth, API de mod\u00e8le s\u00e9par\u00e9e, livre d\u2019ouvertures ni moteur cach\u00e9."
          },
          "de-DE": {
            "subtitle": "Luzhanqi in ChatGPT",
            "description": "Spiele eine offene Luzhanqi-Partie (\u519b\u68cb) im Vollbild gegen ChatGPT. Du f\u00fchrst 25 rote Steine von unten; ChatGPT w\u00e4hlt jeden blauen Zug anhand des vollst\u00e4ndigen 12 \u00d7 5-Feldes und der Liste erlaubter Z\u00fcge. Ziehe einen Schritt auf der Stra\u00dfe, fahre auf der Eisenbahn, biege mit einem Pionier um Ecken, nutze Lager als Schutz und erobere die Flagge. Mit Gefechtsberichten, erlaubten Zielen, vollst\u00e4ndigem Zug-R\u00fcckg\u00e4ngig inklusive gefallener Steine, KI zuerst, drei Schwierigkeitsgraden und best\u00e4tigter Aufgabe. Kein Konto, OAuth, separates Modell-API, Er\u00f6ffnungsbuch oder versteckte Engine."
          },
          "pt-BR": {
            "subtitle": "Luzhanqi no ChatGPT",
            "description": "Jogue uma partida de Luzhanqi (\u519b\u68cb) com pe\u00e7as abertas e em tela cheia contra o ChatGPT. Voc\u00ea comanda 25 pe\u00e7as vermelhas na parte inferior; o ChatGPT escolhe cada movimento azul a partir do tabuleiro completo de 12 \u00d7 5 e da lista de movimentos legais. Avance um passo pela estrada, percorra uma ferrovia, fa\u00e7a curvas com um engenheiro, use os acampamentos como abrigo e capture a bandeira. Inclui relat\u00f3rios de batalha, destinos legais, desfazer um turno completo com as pe\u00e7as ca\u00eddas restauradas, IA primeiro, tr\u00eas dificuldades e desist\u00eancia confirmada. Sem conta, OAuth, API de modelo separada, livro de aberturas ou motor oculto."
          },
          "ar-SA": {
            "subtitle": "\u0644\u0648\u0632\u0627\u0646\u0634\u064a \u0641\u064a ChatGPT",
            "description": "\u0627\u0644\u0639\u0628 \u0645\u0628\u0627\u0631\u0627\u0629 \u0644\u0648\u0632\u0627\u0646\u0634\u064a (\u519b\u68cb) \u0645\u0643\u0634\u0648\u0641\u0629 \u0648\u0628\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629 \u0645\u0639 ChatGPT. \u062a\u0642\u0648\u062f 25 \u0642\u0637\u0639\u0629 \u062d\u0645\u0631\u0627\u0621 \u0645\u0646 \u0627\u0644\u0623\u0633\u0641\u0644\u060c \u0648\u064a\u062e\u062a\u0627\u0631 ChatGPT \u0643\u0644 \u062d\u0631\u0643\u0629 \u0632\u0631\u0642\u0627\u0621 \u0645\u0646 \u0644\u0648\u062d\u0629 12 \u00d7 5 \u0627\u0644\u0643\u0627\u0645\u0644\u0629 \u0648\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062d\u0631\u0643\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d\u0629. \u062a\u062d\u0631\u0651\u0643 \u062e\u0637\u0648\u0629 \u0639\u0644\u0649 \u0627\u0644\u0637\u0631\u064a\u0642\u060c \u0623\u0648 \u0633\u0650\u0631 \u0639\u0644\u0649 \u0627\u0644\u0633\u0643\u0629 \u0627\u0644\u062d\u062f\u064a\u062f\u064a\u0629\u060c \u0623\u0648 \u0627\u0646\u0639\u0637\u0641 \u0639\u0646\u062f \u0627\u0644\u0632\u0648\u0627\u064a\u0627 \u0628\u062c\u0646\u062f\u064a \u0627\u0644\u0647\u0646\u062f\u0633\u0629\u060c \u0648\u0627\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u0645\u0639\u0633\u0643\u0631\u0627\u062a \u0643\u0645\u0644\u0627\u0630\u060c \u0648\u0627\u062e\u062a\u0637\u0641 \u0627\u0644\u0639\u0644\u0645. \u062a\u0634\u0645\u0644 \u062a\u0642\u0627\u0631\u064a\u0631 \u0627\u0644\u0645\u0639\u0627\u0631\u0643\u060c \u0648\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0648\u062c\u0647\u0627\u062a \u0627\u0644\u0645\u0633\u0645\u0648\u062d\u0629\u060c \u0648\u0627\u0644\u062a\u0631\u0627\u062c\u0639 \u0639\u0646 \u062f\u0648\u0631\u0629 \u0643\u0627\u0645\u0644\u0629 \u0645\u0639 \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0642\u0637\u0639 \u0627\u0644\u0633\u0627\u0642\u0637\u0629\u060c \u0648\u0628\u062f\u0621 \u0627\u0644\u062d\u0627\u0633\u0648\u0628\u060c \u0648\u062b\u0644\u0627\u062b\u0629 \u0645\u0633\u062a\u0648\u064a\u0627\u062a \u0635\u0639\u0648\u0628\u0629\u060c \u0648\u0627\u0644\u0627\u0633\u062a\u0633\u0644\u0627\u0645 \u0628\u0639\u062f \u0627\u0644\u062a\u0623\u0643\u064a\u062f. \u0644\u0627 \u062d\u0633\u0627\u0628 \u0648\u0644\u0627 OAuth \u0648\u0644\u0627 \u0648\u0627\u062c\u0647\u0629 \u0646\u0645\u0648\u0630\u062c \u0645\u0646\u0641\u0635\u0644\u0629 \u0648\u0644\u0627 \u0643\u062a\u0627\u0628 \u0627\u0641\u062a\u062a\u0627\u062d\u064a\u0627\u062a \u0648\u0644\u0627 \u0645\u062d\u0631\u0643 \u062e\u0641\u064a."
          }
        }
      },
      "apps": "./.app.json"
    },
    "dev.iplugin": {
      "dataDeletionURL": "https://iplugin.dev/junqi-data-deletion.html"
    }
  },
  "homepage": "https://github.com/Micromvp/iplugin",
  "repository": "https://github.com/Micromvp/iplugin"
}
