{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "mythex",
  "version": "1.0.0",
  "description": "Build, preview and publish full web apps from chat with Mythex.",
  "author": {
    "name": "Mythex",
    "email": "support@mythex.ai",
    "url": "https://mythex.ai"
  },
  "extensions": {
    "com.openai": {
      "onboardingSkill": "./skills/get-started/SKILL.md",
      "interface": {
        "displayName": "Mythex",
        "shortDescription": "Build and publish web apps",
        "longDescription": "Mythex turns a conversation into a real, running web app. Ask ChatGPT to build something, such as a booking page, an internal tool, a client portal or a landing page, and Mythex creates the project in a cloud sandbox, writes the code, runs it with a live preview, and publishes it to a public URL when you're ready.\n\nWhat you can do from chat:\n- Create a project and build it from a plain-language description\n- Read, write and edit files, and run commands in a real terminal\n- Start a live preview and check it in a real browser\n- Attach a Postgres database and file storage\n- Publish to a public URL, add a custom domain, share preview links\n- Restore earlier checkpoints, sync with GitHub, export the code\n\nEvery project is also available in the Mythex web workspace (mythex.ai) with the same files, so you can continue in the browser at any time.\n\nYou need a Mythex account (sign up at mythex.ai).",
        "developerName": "Mythex",
        "category": "Developer Tools",
        "capabilities": [
          "Read",
          "Write"
        ],
        "websiteURL": "https://mythex.ai",
        "supportURL": "https://docs.mythex.ai",
        "privacyPolicyURL": "https://mythex.ai/privacy",
        "termsOfServiceURL": "https://mythex.ai/terms",
        "defaultPrompt": [
          "Build a booking page for a hair salon with name, phone, service and time.",
          "What Mythex projects do I have?",
          "Publish my latest Mythex app."
        ],
        "brandColor": "#E11D48",
        "brandColorDark": "#FB7185",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "publication": {
        "release_notes": "First public version."
      },
      "review": {
        "commerce": false,
        "demo_recording_url": "https://mythex.ai/media/mythex-chatgpt-demo.mp4",
        "test_cases": {
          "positive": [
            {
              "description": "Create and build a new app from a description",
              "prompt": "Use Mythex to build a simple booking page for a hair salon with a form for name, phone, service and time.",
              "tools_triggered": "create_project, write_file, set_run_config, start_preview, get_preview",
              "expected_behavior": "Creates a new Mythex project, writes the page, starts a live preview and returns a preview link that shows the booking form."
            },
            {
              "description": "List the user's projects",
              "prompt": "What Mythex projects do I have?",
              "tools_triggered": "list_projects",
              "expected_behavior": "Lists the account's projects with their names, status and any published URLs."
            },
            {
              "description": "Edit an existing app",
              "prompt": "In my salon booking project, add an Email field to the form.",
              "tools_triggered": "use_project, read_file, edit_file, get_preview",
              "expected_behavior": "Opens the existing project, edits the form to add an Email field and returns the updated preview."
            },
            {
              "description": "Add a database",
              "prompt": "Attach a database to my salon booking project and save each booking to it.",
              "tools_triggered": "use_project, attach_database, edit_file, bash",
              "expected_behavior": "Attaches a Postgres database, changes the app to store bookings, and bookings stay after a page reload."
            },
            {
              "description": "Publish an app",
              "prompt": "Publish my salon booking app.",
              "tools_triggered": "use_project, publish_readiness, publish_app, get_deployment",
              "expected_behavior": "Checks the project is ready, publishes it and returns a public mythex.app URL."
            }
          ],
          "negative": [
            {
              "description": "Weather question unrelated to building apps",
              "prompt": "What's the weather in Dubai today?"
            },
            {
              "description": "Writing task with no app or project",
              "prompt": "Write me a short poem about the sea."
            },
            {
              "description": "General coding question that needs no project",
              "prompt": "Explain the difference between let and const in JavaScript."
            }
          ]
        }
      },
      "apps": "./.app.json"
    }
  }
}
