src/index.ts) and a
srcfolder. We recommend using TypeScript as a programming language. Our API is fully typed, which helps you catch errors at compile time rather than runtime.
jsxare supported as file extensions. As a rule of thumb, use
jsxfor commands with a UI.
src/index.ts) per command and a
package.jsonmanifest file holding metadata about the extension and its commands. The format of the manifest file is very similar to that of npm packages. In addition to some of the standard properties, a
commandsproperty describes which commands an extension exposes to Raycast root search and how they are presented.
namethat maps to its main entry point file in the
srcfolder. For example, a command with the name
package.jsonfile, maps to the file
assetsfolder can contain icons that will be packaged into the extension archive. All bundled assets can be referenced at runtime. Additionally, icons can be used in the
package.jsonas extension or command icons.