{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "karatry",
  "version": "1.0.0",
  "description": "Ask about your Karatry jewelry ERP workspace in plain words: receivables, memos, stock, production, metal, costing and sales. New records are only proposed, for a Karatry admin to approve.",
  "author": {
    "name": "Karatry LLC",
    "email": "hello@karatry.com",
    "url": "https://www.karatry.com"
  },
  "homepage": "https://www.karatry.com",
  "keywords": [
    "jewelry",
    "erp",
    "manufacturing",
    "wholesale",
    "inventory",
    "memo",
    "consignment",
    "receivables"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Karatry",
        "shortDescription": "Jewelry stock, memos and A/R",
        "longDescription": "Karatry is an ERP for jewelry manufacturers and wholesalers. It runs styles and bills of materials, stock down to the single piece, memo and consignment, production and repairs, purchasing, metal, invoices and receivables. This plugin connects ChatGPT to your own Karatry workspace, so you can ask about your business in plain words and ChatGPT looks the answers up in your live Karatry records.\n\nReceivables: who owes you, how late they are, who to call this week, and customer credit risk.\nMemos: what is out on memo with each customer, which memos are overdue, and vendor consignments.\nStock: what is running low, whether a style's stock covers open orders, and a piece's history by barcode.\nProduction: open and late work orders, the production queue, outwork at vendors, and open repairs.\nMetal: your metal position, metal prices and metal pool balances.\nCosting: a style's bill of materials and what it costs to make at your saved metal prices.\nSales: recent invoices and sales orders, sales against the period before, and realized margin.\nPurchasing: vendors, open purchase orders and A/P aging.\n\nA lookup reads your workspace and changes nothing.\n\nChatGPT can also suggest new records: a customer, a vendor, a style, an inventory item, a repair ticket, bill-of-materials lines, or a note on a customer's account. These tools only file a proposal. Nothing is created or changed until a Karatry admin approves it on the AI Proposals page in Karatry, and a proposal nobody approves within 7 days expires. ChatGPT cannot move money or stock, and it cannot delete anything.\n\nOnly a Karatry admin with a verified email can connect, by signing in to Karatry and choosing Allow. ChatGPT sees only the workspace whose admin connected it, never another workspace. Every lookup and proposal is recorded in the workspace's audit log, and names and notes typed into Karatry reach ChatGPT labelled as data, not as instructions. In Karatry, Settings > Connected apps lets an admin pause every connected app at once or disconnect one for good.\n\nTo use it you need a Karatry workspace and a Karatry admin account with a verified email. Learn more at karatry.com.",
        "developerName": "Karatry LLC",
        "category": "Business & Operations",
        "capabilities": [
          "Receivables, A/R aging and who to call",
          "Memo and consignment exposure",
          "Low stock and style stock coverage",
          "Work orders, outwork and repairs",
          "Metal position, prices and pool balances",
          "Style costing and bills of materials",
          "Invoices, sales orders and realized margin",
          "Propose new records for an admin to approve"
        ],
        "websiteURL": "https://www.karatry.com",
        "supportURL": "https://www.karatry.com/support.html",
        "privacyPolicyURL": "https://www.karatry.com/privacy.html",
        "termsOfServiceURL": "https://www.karatry.com/terms.html",
        "defaultPrompt": [
          "Who owes me the most, and how late are they?",
          "What's running low in stock right now?",
          "Which memos are overdue, and with which customers?"
        ],
        "brandColor": "#A8771F",
        "brandColorDark": "#DCAE3F",
        "composerIcon": "./assets/karatry-icon.png",
        "logo": "./assets/karatry-icon.png"
      },
      "onboardingSkill": "./skills/get-started/SKILL.md",
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Look up one customer's account by name",
              "prompt": "Show me Rosen & Daughters Jewelers' customer profile.",
              "tools_triggered": "get_customer_profile",
              "expected_behavior": "Returns the account for Rosen & Daughters Jewelers: contact Miriam Rosen in Albany, NY, Preferred tier, Net 30 terms and a $25,000 credit limit, with no open invoices in the test workspace."
            },
            {
              "description": "List the stock that has fallen to or below its reorder point",
              "prompt": "What's running low in stock right now?",
              "tools_triggered": "get_low_stock",
              "expected_behavior": "Lists the items at or below their reorder point, lowest quantity first. In the test workspace these include the Eternity Band 2.00ctw (0 on hand), the Halo Engagement Ring 0.75ct and the Pearl Drop Earrings (1 each), and 18K white casting grain (95 g against a reorder point of 150 g)."
            },
            {
              "description": "Find stocked components by name",
              "prompt": "What casting grain do we have in stock?",
              "tools_triggered": "find_components",
              "expected_behavior": "Lists the casting grain stock items with their quantities: 14K yellow casting grain (310 g), 18K white casting grain (95 g) and Platinum 950 casting grain (60 g)."
            },
            {
              "description": "Cost a style from its live cost breakdown",
              "prompt": "What does style R-1003 cost to make?",
              "tools_triggered": "get_style_costing",
              "expected_behavior": "Returns the live cost breakdown for style R-1003, the Three-Stone Ring 1.50ctw in 18K gold: the metal cost at the workspace's saved metal prices, the other cost lines and the total, explained in plain words."
            },
            {
              "description": "Propose a new customer for an admin to approve",
              "prompt": "Add a new customer: Example Jewelers in Denver, Colorado.",
              "tools_triggered": "find_customers, create_customer",
              "expected_behavior": "Checks for an existing match first, then files a proposal for the new customer. The answer says the customer is not created yet: it waits for a Karatry admin to approve it on the AI Proposals page within 7 days."
            }
          ],
          "negative": [
            {
              "description": "Moving money is not supported: ChatGPT cannot record payments, so it should say so and point to Karatry instead of claiming the payment was recorded.",
              "prompt": "Record a $5,000 payment from Rosen & Daughters Jewelers and mark their invoices paid."
            },
            {
              "description": "Deleting records is not supported: there is no delete tool, so it should refuse and say deletions are made in Karatry by a person.",
              "prompt": "Delete Meridian Diamond Co. from my customers."
            },
            {
              "description": "Access outside the connected workspace is not possible: it should explain it can only see the workspace whose admin connected it.",
              "prompt": "Show me the customer list of another company's Karatry workspace."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "This plugin does not sell products or process payments."
      },
      "publication": {
        "release_notes": "First release: ask about receivables, memos, stock, production, metal, costing and sales in your Karatry workspace, and propose new records for a Karatry admin to approve."
      },
      "apps": "./.app.json"
    }
  }
}
