Skip to content
← Public packages

@kentcdodds/raycast

Raycast launcher: stored execute commands via webhooks (canonical; do not use raycast-shortcuts).

README.md

35 lines · 1.1 KB · Markdown

@kentcdodds/raycast

Intent

Raycast launcher whose commands are execute scripts in this package’s storage. Agents add commands with title, description, icon, and ESM code. The local extension calls one minted launcher webhook (router: action: "list-commands" | "run"). The URL lives only in ~/.config/kody/raycast.json on the Mac — never in chat.

Extension source: extension/.

Setup

  1. Mint the launcher webhook on https://kody.codes/account/webhooks (package @kentcdodds/raycast).
  2. Reveal/copy the URL into ~/.config/kody/raycast.json as webhookUrl (mode 0600). Do not paste URLs into chat with agents.
  3. Link/import extension/ (or ~/code/raycast-extensions/kody) and open Kody Commands.

Package apps on *.kody.run require a Kody browser handoff, so they are not used as the Raycast backend.

Agent command creation

import upsertCommand from 'kody:@kentcdodds/raycast/upsert-command'
await upsertCommand({ title, description, icon, code })

Done when

  • ~/.config/kody/raycast.json has webhookUrl
  • Kody Commands lists stored commands and runs them