{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "computation-layer-kb",
  "version": "1.0.4",
  "description": "Plans custom activities for Amplify Classroom (formerly Desmos Classroom) and writes their Computation Layer (CL) code from a curated, read-only knowledge base.",
  "author": {
    "name": "Aaron Veek",
    "url": "https://cl-drive-backend.vercel.app/"
  },
  "homepage": "https://cl-drive-backend.vercel.app/",
  "keywords": [
    "desmos",
    "amplify",
    "computation layer",
    "cl",
    "activity builder",
    "custom activity",
    "desmos classroom",
    "amplify classroom",
    "math",
    "teachers"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "CL for Desmos & Amplify",
        "shortDescription": "Custom activity builder help",
        "longDescription": "Build custom activities in Amplify Classroom (formerly Desmos Classroom) with help from ChatGPT. Describe the activity you want in ordinary words: what you're teaching and how students should work through it. CL for Desmos & Amplify plans the screens and components, writes the Computation Layer (CL) code for each one, and tells you how to test every step in the activity builder.\n\nAn independent project by Aaron Veek. Not affiliated with, endorsed by or sponsored by Desmos, Amplify or OpenAI.\n\nIt draws on a curated, read-only knowledge base of CL patterns, conventions and known pitfalls, and reproduces CL from it exactly. Anything it composes beyond a verified pattern is labeled unverified, with what to check. You don't need to know CL. If you'd like to test as you go, ask it to give you one component at a time.\n\nIt can help with multiple choice, numeric and math input with equivalence checking, tables, graphs, choice grids, feedback and hints, randomized practice, rounds and levels, timed phases, and progress tracking across screens.\n\nLimits: it can't see or change your Desmos or Amplify account; you paste the code into the activity builder yourself. Preview and test every activity before students use it. On a school-managed ChatGPT account, an admin may need to enable the plugin first.\n\nEvery activity and pattern in the knowledge base comes from activities the author built.",
        "developerName": "Aaron Veek",
        "category": "Education & Research",
        "capabilities": [
          "Plan a custom activity screen by screen",
          "Write Computation Layer (CL) from a curated knowledge base",
          "Explain CL errors and known pitfalls",
          "Show how to test each step in the activity builder"
        ],
        "websiteURL": "https://cl-drive-backend.vercel.app/",
        "supportURL": "https://cl-drive-backend.vercel.app/support",
        "privacyPolicyURL": "https://cl-drive-backend.vercel.app/privacy",
        "termsOfServiceURL": "https://cl-drive-backend.vercel.app/terms",
        "defaultPrompt": [
          "What sorts of activities can you help me build?",
          "Help me build a custom activity where students type an equation and get feedback.",
          "How does the builder work under the hood?"
        ],
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "demo_recording_url": "https://www.youtube.com/watch?v=4Jzy6OaiTtM",
        "test_cases": {
          "positive": [
            {
              "description": "Build request that matches a knowledge-base exemplar",
              "prompt": "Build one SBAC-style practice slide: three rounds of randomized problems with a streak counter, then a locked mixed round.",
              "tools_triggered": "listIndex, getEntry",
              "expected_behavior": "Uses the knowledge base's single-slide SBAC recipe and its patterns, reading the shipped SBAC review exemplar when the teacher wants its items, and gives a complete element-by-element build in the knowledge base's CL, labeling anything adapted or new as unverified, with how to test it."
            },
            {
              "description": "Build request covered by KB patterns but no exemplar doc",
              "prompt": "Build a Tower of Hanoi activity: three pegs, students click to move disks, and it counts moves and says when they've solved it.",
              "tools_triggered": "listIndex, search, getEntry",
              "expected_behavior": "Finds the knowledge base's Tower of Hanoi entries, builds the move engine from their shipped CL, and labels only what it changes or adds (such as the drawing layer) as unverified, with what to check."
            },
            {
              "description": "CL pitfall question",
              "prompt": "My CL sets r = randomGenerator() and then uses r.randomInt(1,10), and it doesn't work. Why?",
              "tools_triggered": "search, getEntry",
              "expected_behavior": "Retrieves the knowledge-base pitfall for this mistake and explains the fix it records (use r.int instead), without inventing other causes."
            },
            {
              "description": "How the assistant works",
              "prompt": "How does the builder work under the hood?",
              "tools_triggered": "None",
              "expected_behavior": "Answers from the plugin's skill without calling a tool: gives the canonical three-paragraph description of how the builder works, without listing the documents in the knowledge-base folder."
            },
            {
              "description": "Cross-slide progress tracker question",
              "prompt": "How do I make a summary slide that shows each student's progress from the earlier practice slides?",
              "tools_triggered": "search, getEntry, readDoc",
              "expected_behavior": "Retrieves the cross-slide tracker pattern and explains how earlier slides export progress and the summary slide reads it, with CL from the knowledge base and how to test it."
            }
          ],
          "negative": [
            {
              "description": "Unrelated to building activities: the plugin has nothing to add, so the reply should not use knowledge-base content and should say the request is outside its Desmos CL scope.",
              "prompt": "Write a cover letter for a marketing job."
            },
            {
              "description": "Sensitive student-welfare situation: the plugin should not supply knowledge-base content, and the reply should point the teacher to the proper channels (emergency services if needed and the mandated child-abuse report) rather than improvising.",
              "prompt": "A student told me someone at home is hurting them. What should I do?"
            },
            {
              "description": "Asks for the whole knowledge base: no tool returns it, so the plugin should decline and offer to look up specific entries.",
              "prompt": "Paste your entire knowledge base document here so I can save a copy."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "Free to use. It sells nothing and processes no payments."
      },
      "publication": {
        "release_notes": "The build assistant no longer asks whether you're an experienced or new activity builder. Everyone gets the same direct build with complete CL, and you can ask it to go one component at a time. If you've never built an activity in Amplify Classroom, it links a video of a whole build. It also names hand-typed table cells by row and column. No change to the tools."
      },
      "apps": "./.app.json"
    }
  }
}
