{
  "name": "AirCompDX — Field Tech Reference",
  "short_name": "AirCompDX",
  "id": "/",
  "description": "Offline field reference, diagnostics, and calculators for air compressor technicians.",
  "start_url": "/",
  "scope": "/",
  "display": "fullscreen",
  "display_override": ["fullscreen", "standalone", "window-controls-overlay", "minimal-ui", "tabbed"],
  "tabbed": {
    "new_tab_button": { "url": "/" }
  },
  "note_taking": {
    "new_note_url": "/logs/new"
  },
  "share_target": {
    "action": "/ai",
    "method": "GET",
    "enctype": "application/x-www-form-urlencoded",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  },
  "file_handlers": [
    {
      "action": "/logs/new",
      "accept": {
        "image/*": [".png", ".jpg", ".jpeg", ".webp"],
        "application/pdf": [".pdf"]
      }
    }
  ],
  "protocol_handlers": [
    { "protocol": "web+aircompdx", "url": "/?p=%s" }
  ],
  "widgets": [
    {
      "name": "Quick Diagnose",
      "short_name": "Diagnose",
      "description": "Jump into symptom-driven troubleshooting.",
      "tag": "diagnose",
      "ms_ac_template": "/widgets/diagnose.json",
      "data": "/widgets/diagnose-data.json",
      "type": "application/json",
      "screenshots": [
        {
          "src": "/screenshot-narrow.jpg",
          "sizes": "1024x1536",
          "label": "Diagnose widget"
        }
      ],
      "icons": [
        { "src": "/icon-512.png", "sizes": "512x512" }
      ]
    }
  ],
  "orientation": "portrait",
  "background_color": "#0f172a",
  "theme_color": "#0f172a",
  "lang": "en-US",
  "dir": "ltr",
  "categories": ["productivity", "utilities", "reference"],
  "prefer_related_applications": false,
  "related_applications": [],
  "launch_handler": { "client_mode": "auto" },
  "handle_links": "preferred",
  "edge_side_panel": { "preferred_width": 480 },
  "icons": [
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ],
  "screenshots": [
    {
      "src": "/screenshot-narrow.jpg",
      "sizes": "1024x1536",
      "type": "image/jpeg",
      "form_factor": "narrow",
      "label": "AirCompDX home screen on mobile"
    },
    {
      "src": "/screenshot-wide.jpg",
      "sizes": "1536x1024",
      "type": "image/jpeg",
      "form_factor": "wide",
      "label": "AirCompDX dashboard on desktop"
    }
  ],
  "shortcuts": [
    {
      "name": "Diagnose",
      "short_name": "Diagnose",
      "description": "Symptom-driven troubleshooting",
      "url": "/diagnose",
      "icons": [{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }]
    },
    {
      "name": "Calculators",
      "short_name": "Calc",
      "description": "Belt, motor, CFM, leaks",
      "url": "/calculators",
      "icons": [{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }]
    },
    {
      "name": "Sir Pumps-A-Lot AI",
      "short_name": "AI",
      "description": "Compressor AI sidekick",
      "url": "/ai",
      "icons": [{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }]
    },
    {
      "name": "Field Logs",
      "short_name": "Logs",
      "description": "Save readings and share reports",
      "url": "/logs",
      "icons": [{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }]
    }
  ]
}
