Architecture
Kotori use workspace developing (monorepo) by pnpm and submodules management by git, and linter and formatter by Biome (fucks eslint and prettier).
Packages
fluoro (submodule)
Fluoro is universal meta-framework,provides Context Modules and Events. it is the base of whole Kotori,more details view Fluoro.
@kotori-bot/core
It is the core of Kotori and provides many important features of kotori (encapsulates fluoro).It has fully the support for browser and other not node.js (such as quick.js or service-worker),more details view Use in browser.
@kotori-bot/loader
It encapsulates @kotori-bot/loader and provides some interface and features need server environments (Node.js).
@kotori-bot/logger
It is fully functional logger base on adapters thinking and supports browser.
@kotori-bot/i18n
It is a i18n module,provides i18n for @kotori-bot/core.
@kotori-bot/tools
It is a tools module,provides some useful tools for @kotori-bot/core and @kotori-bot/loader.
tsukiko
It used to parse and check data type at running time.