@wolfstar/kit. It provides defineModule and the setup runtime for installable Stars modules, the @nuxt/kit counterpart (see the package docs). For the weekly summary across all packages, see the changelog overview.
0.3.1 (2026-10-18)
Updates
- Dependencies — Updated
@wolfstar/schemato0.12.0.
0.3.0 (2026-10-17)
New features
ctx.addPiecesDir(directory)— Modules can register a directory of pieces, with one folder per store (commands,listeners, …). The pieces are registered before the bot loads, including fortscandnonebuilds.ModulesRuntimegainspiecesDirs,stars infolists them, and a relative path fails withMODULE_PIECES_INVALID. (#335)- Client lifecycle hooks —
hooksindefineModuleacceptsclient:preGenericsInitialization,client:preInitialization,client:postInitialization,client:preLoad, andclient:postListen. Give each hook by source ({ from, export }), a function called with(client, clientOptions).ctx.addClientHook(name, source)does the same fromsetup. A module’s hooks share one runtime plugin named after it.ModulesRuntimegainsclientHooks,stars infolists them, and a bad hook fails withMODULE_HOOK_INVALID. (#337) ctx.addLocales(directory)— Modules can add a directory of locales laid out as<language>/<namespace>.json. The locales merge into the client’si18noption before@wolfstar/plugin-i18nextbuilds its handler, and your project’s own languages directory is kept.ModulesRuntimegainslocales,stars infolists them, and a bad directory fails withMODULE_LOCALES_INVALID. (#339)
Updates
- Dependencies — Updated
@wolfstar/schemato0.11.0.
0.2.1 (2026-10-09)
Updates
- Dependencies — Updated
@wolfstar/schemato0.10.0.
0.2.0 (2026-10-07)
New features
meta.configKeysupport —setupModulesnow merges the options your module’ssetupreceives in this order:defaults, thenconfig.moduleOptions[configKey], then inline options (the[name, options]tuple orctx.installModule). The claimed keys are returned asModulesRuntime.configKeys. AconfigKeythat is empty, a built-instars.configkey, claimed by another installed module, or holds anything other than a plain object fails withMODULE_INVALID. #294
Updates
- Dependencies — Updated
@wolfstar/schemato0.9.0.
0.1.3 (2026-10-06)
Updates
- Dependencies — Updated
@wolfstar/schemato0.8.0.
0.1.2 (2026-10-06)
Updates
- Dependencies — Updated all non-major dependencies. Updated
@wolfstar/schemato0.7.0(#253).
0.1.1 (2026-10-04)
Updates
- Dependencies — Updated
@wolfstar/schemato0.6.0.
0.1.0 (2026-10-02)
New features
- New package —
defineModuleand the module runtime for installable Stars modules. A module declaresmeta(name, version, andcompatibilityranges checked against your project’s@wolfstar/http-frameworkand@wolfstar/cli),defaults,dependencies,hooksandsetup(options, ctx). ThectxoffersaddPlugin,addImports,hook,callHookandinstallModule.setupModulesinstalls each module once, dependencies first, and reports failures asModuleErrors. #247
Updates
- Dependencies — Updated
@wolfstar/schemato0.5.0.