Skip to content

v0.17.5

2026-04-28

Module API 1.1.0

  • [x] ModuleServerExport.initialize now receives a ModuleInitializeContext ({ moduleId, dataDir }). The platform creates a per-module persistent data directory (default <repoRoot>/data/modules/<moduleId>/, override parent with MODULES_DATA_PATH) and passes it in. Modules can use dataDir for 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_VERSION bumped to 1.1.0. Modules that need the new context can declare engine: "^1.1.0" in their purple-cat-module descriptor.
  • [x] Docs updated: docs/MODULE_AUTHOR_GUIDE.md, docs/MODULE_TEMPLATE.md, docs/architecture/modules.md.