@pumpkin-plugins/plugin-kit
Shared building blocks for Pumpkin plugins: a plugin base class and registration wrapper, data folders, logging, scheduled tasks, command registration, plugin messages and binary payload encoders, plus in-memory fakes for tests. PluginBase builds Pumpkin metadata from your PluginInfo, and registerPlugin starts the non-blocking Pumpkin Market update check after the plugin loads.
The kit keeps its own handler ids for scheduled tasks and commands, and Pumpkin's API package doesn't know them. Export the kit's dispatchers from your entry point so Pumpkin's callbacks reach them:
export { handleCommand, handleTask } from '@pumpkin-plugins/plugin-kit/plugin';
export * from '@pumpkin-plugins/pumpkin-api';The named exports replace the API package's handleCommand and handleTask, which export * would otherwise re-export. Without them, commands registered with registerCommands fail with No handler for command ID, and the kit's scheduled tasks, including the update check, never run.
The plugin-kit guide covers the lifecycle, scheduling, data folders, commands and test fakes. Plugin info and READMEs explains PluginInfo and command declarations, and the code style guide covers shared conventions such as log colors.
See the tool guide and API reference on the documentation site.