{
  "name": "openswarm",
  "version": "1.0.11",
  "description": "OpenSwarm — AI Agent Orchestrator",
  "main": "main.js",
  "scripts": {
    "start": "electron .",
    "dev": "ELECTRON_DEV=1 electron .",
    "postinstall": "bash scripts/sign-vmp.sh",
    "sign-vmp": "bash scripts/sign-vmp.sh",
    "dist": "electron-builder --mac --publish never",
    "dist:publish": "electron-builder --mac --publish always",
    "dist:all": "electron-builder --mac --win --linux"
  },
  "dependencies": {
    "electron-updater": "^6.3.0",
    "get-port": "^5.1.1"
  },
  "devDependencies": {
    "@electron/notarize": "^3.1.1",
    "electron": "castlabs/electron-releases#v33.4.11+wvcus",
    "electron-builder": "^25.1.0"
  },
  "build": {
    "appId": "com.clusterlabs.openswarm",
    "productName": "OpenSwarm",
    "electronDownload": {
      "mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
    },
    "directories": {
      "output": "dist"
    },
    "icon": "build/icon.png",
    "mac": {
      "icon": "build/icon.icns",
      "target": [
        "dmg",
        "zip"
      ],
      "category": "public.app-category.developer-tools",
      "hardenedRuntime": true,
      "entitlements": "build/entitlements.mac.plist",
      "entitlementsInherit": "build/entitlements.mac.plist"
    },
    "dmg": {
      "artifactName": "OpenSwarm-${arch}.${ext}",
      "title": "OpenSwarm",
      "contents": [
        {
          "x": 130,
          "y": 220
        },
        {
          "x": 410,
          "y": 220,
          "type": "link",
          "path": "/Applications"
        }
      ]
    },
    "extraResources": [
      {
        "from": "build-staging/frontend",
        "to": "frontend",
        "filter": [
          "**/*"
        ]
      },
      {
        "from": "build-staging/backend",
        "to": "backend",
        "filter": [
          "**/*"
        ]
      },
      {
        "from": "build-staging/debugger",
        "to": "debugger",
        "filter": [
          "**/*"
        ]
      },
      {
        "from": "python-env",
        "to": "python-env",
        "filter": [
          "**/*"
        ]
      }
    ],
    "publish": {
      "provider": "github",
      "owner": "openswarm-ai",
      "repo": "openswarm"
    },
    "afterSign": "scripts/notarize.js"
  }
}
