Skip to content

extension/package.json

84 lines · 2.4 KB · JSON
Raw
{
  "$schema": "https://www.raycast.com/schemas/extension.json",
  "name": "kody",
  "title": "Kody",
  "description": "Run Kody execute commands stored in @kody/raycast package storage",
  "icon": "extension-icon.png",
  "author": "kody",
  "platforms": [
    "macOS"
  ],
  "categories": [
    "Developer Tools",
    "Productivity"
  ],
  "license": "MIT",
  "commands": [
    {
      "name": "commands",
      "title": "Kody Commands",
      "subtitle": "Run stored execute commands",
      "description": "List cached Kody execute commands and run them via webhook",
      "mode": "view"
    },
    {
      "name": "run-code",
      "title": "Run Kody Code",
      "subtitle": "Ad-hoc execute",
      "description": "Paste an ESM module and run it through Kody execute",
      "mode": "view"
    },
    {
      "name": "set-up-webhooks",
      "title": "Set up Kody Webhooks",
      "subtitle": "Mint URL preferences",
      "description": "Open Kody package webhook settings and extension preferences",
      "mode": "view"
    }
  ],
  "preferences": [
    {
      "name": "listCommandsWebhookUrl",
      "type": "password",
      "required": false,
      "title": "list-commands Webhook URL",
      "description": "Minted inbound webhook URL for @kody/raycast list-commands. Optional when ~/.config/kody/raycast.json is set.",
      "placeholder": "https://\u2026"
    },
    {
      "name": "runWebhookUrl",
      "type": "password",
      "required": false,
      "title": "run Webhook URL",
      "description": "Minted inbound webhook URL for @kody/raycast run. Optional when ~/.config/kody/raycast.json is set.",
      "placeholder": "https://\u2026"
    },
    {
      "name": "cacheTtlSeconds",
      "type": "textfield",
      "required": false,
      "title": "Command cache TTL (seconds)",
      "description": "How long to keep the local command list before refetching",
      "default": "300"
    }
  ],
  "scripts": {
    "build": "ray build -e dist",
    "dev": "ray develop",
    "fix-lint": "ray lint --fix",
    "lint": "ray lint",
    "prepublishOnly": "echo \"Community extension source \u2014 import via Raycast, do not publish to npm.\" && exit 1"
  },
  "dependencies": {
    "@raycast/api": "^1.104.19",
    "react": "^19.2.7"
  },
  "devDependencies": {
    "@raycast/eslint-config": "^2.1.1",
    "@types/node": "^25.9.3",
    "@types/react": "^19.2.17",
    "eslint": "^10.5.0",
    "prettier": "^3.8.4",
    "typescript": "^5.9.3"
  }
}