v0.17.5
2026-04-28
Module API 1.1.0
- [x]
ModuleServerExport.initializenow receives aModuleInitializeContext({ moduleId, dataDir }). The platform creates a per-module persistent data directory (default<repoRoot>/data/modules/<moduleId>/, override parent withMODULES_DATA_PATH) and passes it in. Modules can usedataDirfor caches, generated artifacts, and other state without writing into their own package directory. Backward compatible — the old() => Promise<void>signature still works because the extra argument is ignored. - [x]
MODULE_API_VERSIONbumped to1.1.0. Modules that need the new context can declareengine: "^1.1.0"in theirpurple-cat-moduledescriptor. - [x] Docs updated:
docs/MODULE_AUTHOR_GUIDE.md,docs/MODULE_TEMPLATE.md,docs/architecture/modules.md.