{
  "name": "hpl-toolbox",
  "displayName": "HPL Toolbox",
  "description": "Bundled tools: PLEC Upload, AppLovin Demo Upload, Base64 Asset Scanner, Daily Update. Local HTML Host.",
  "version": "0.1.3",
  "publisher": "hesukastro",
  "license": "UNLICENSED",
  "repository": {
    "type": "git",
    "url": "https://gitea.hesukastro.com/hesukastro/vsix-hpl-toolbox.git"
  },
  "engines": {
    "vscode": "^1.85.0"
  },
  "categories": ["Other"],
  "icon": "media/hpl.png",
  "main": "./out/extension.js",
  "activationEvents": [],
  "contributes": {
    "commands": [
      {
        "command": "hplToolbox.openPlecUpload",
        "title": "HPL Toolbox: Open PLEC Upload"
      },
      {
        "command": "hplToolbox.openApplovinUpload",
        "title": "HPL Toolbox: Open AppLovin Demo Upload"
      },
      {
        "command": "hplToolbox.openBase64Scanner",
        "title": "HPL Toolbox: Open Base64 Scanner"
      },
      {
        "command": "hplToolbox.openDailyUpdate",
        "title": "HPL Toolbox: Open Daily Update"
      },
      {
        "command": "hplToolbox.openSendToMobile",
        "title": "HPL Toolbox: Open Send To Mobile"
      }
    ],
    "viewsContainers": {
      "activitybar": [
        {
          "id": "hplToolbox",
          "title": "HPL Toolbox",
          "icon": "media/hpl.png"
        }
      ]
    },
    "views": {
      "hplToolbox": [
        {
          "type": "webview",
          "id": "hplToolbox.launcher",
          "name": "Tools"
        }
      ]
    },
    "configuration": [
      {
        "title": "HPL Toolbox — PLEC Upload",
        "properties": {
          "hplToolbox.plec.uploadUrl": {
            "type": "string",
            "default": "http://167.99.227.249/src/upload_HTML_Experimental.php",
            "description": "Endpoint URL for the PLEC HTML upload script."
          },
          "hplToolbox.plec.originUrl": {
            "type": "string",
            "default": "http://167.99.227.249",
            "description": "Origin/Referer header sent with upload requests."
          },
          "hplToolbox.plec.previewBase": {
            "type": "string",
            "default": "https://playable.applovindemo.com/phaser/",
            "description": "Preview server base URL used to check if a filename already exists."
          },
          "hplToolbox.plec.skipExistsCheck": {
            "type": "boolean",
            "default": false,
            "description": "Skip the pre-check that verifies the filename does not already exist on the preview server."
          }
        }
      },
      {
        "title": "HPL Toolbox — AppLovin Upload",
        "properties": {
          "hplToolbox.applovin.cookie": {
            "type": "string",
            "default": "",
            "description": "Value of the __Host-APPLOVINID cookie for p.applov.in (log in at https://p.applov.in/playablePreview?create=1&qr=1 and copy the cookie from DevTools)."
          }
        }
      },
      {
        "title": "HPL Toolbox — Send To Mobile",
        "properties": {
          "hplToolbox.sendToMobile.port": {
            "type": "number",
            "default": 0,
            "description": "Port for the temporary LAN HTTP server. 0 (default) = OS-assigned ephemeral port."
          }
        }
      }
    ]
  },
  "scripts": {
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "vscode:prepublish": "npm run compile"
  },
  "devDependencies": {
    "@types/node": "^20.0.0",
    "@types/vscode": "^1.85.0",
    "typescript": "^5.4.0"
  }
}
