This release is a pre-release and may not be stable for production use.
LiteyukiBot v7
LiteyukiBot v7 is a protocol-neutral chatbot kernel for CPython 3.14. Native plugins run in the core process; separately distributed framework hosts and LiteyukiBot v6 plugins run in supervised child runtimes.
The v7 branch is a clean rewrite. The main branch remains the maintenance
line for v6 and is not merged wholesale into v7.
The current pre-release is liteyukibot-v7==7.0.0a4. Kernel stabilization,
the first bounded compatibility phase, and the first-party plugin foundation
are complete. Runtime protocol v3 remains an alpha contract and may change
under ADR 0011 before the first stable release.
Current Foundation
- immutable TOML/JSON configuration with ordered includes, environment overrides, and CLI overrides;
- Yukilog 1.x facade backed by Loguru, including structured child logs;
- native plugin entry points, async lifecycle hooks, private storage, managed tasks, and versioned services;
- bounded protocol-neutral event/action dispatch with per-conversation order;
- authenticated framed JSON IPC and supervised subprocess runtimes;
- runtime-host discovery plus a deliberately bounded v6 compatibility shim;
- local authenticated CLI control and an optional loopback-only HTTP status API.
- read-only kernel status plus separately distributable capability, command, resource-management, profile, help, and protected-status plugins.
Requirements
- CPython 3.14+
- uv
- network access for uv to resolve PyPI dependencies
Yukilog 1.x is installed from PyPI; no sibling checkout is required.
The v7 kernel distribution on PyPI is named liteyukibot-v7 and provides the
liteyukibot namespace. The separately installed v6 runtime provides the
liteyuki compatibility namespace.
uv sync --locked
uv run liteyuki check
uv run liteyuki run
Optional kernel integrations are installed explicitly:
uv sync --extra yaml
uv sync --extra http
Framework hosts are independent packages. Install NoneBot2 with an adapter:
uv add "liteyukibot-v7-runtime-nonebot[onebot]"
# or: uv add "liteyukibot-v7-runtime-nonebot[satori]"
Install bounded v6 compatibility when legacy plugins are required:
uv add "liteyukibot-v7-runtime-v6"
Install the Essentials command layer with:
uv add "liteyukibot-v7-essentials==0.2.0a2"
This resolves liteyukibot-v7-commands and
liteyukibot-v7-permissions; enable all three plugin IDs in configuration.
The optional profile layer adds persistent per-bot user nickname and language
preferences. Install liteyukibot-v7-profile to resolve resources, then enable
liteyukibot.resources and liteyukibot.profile before Essentials. Profile is
a business plugin: its SQLite database is private to the plugin, and resources
only supplies the declaration, command, and authorization boundary.
Use liteyuki.example.toml as a configuration reference. CLI overrides must
precede the subcommand, for example:
uv run liteyuki --config local.toml --set logging.level=DEBUG check
Docker
The v7 image can be built locally with the optional YAML, HTTP, NoneBot, OneBot, Satori, and v6 compatibility runtime packages. It runs as a non-root user. GHCR publication is currently paused; the Docker workflow validates builds without pushing.
docker build -t liteyukibot:v7-local .
docker run --rm liteyukibot:v7-local version
Mount a liteyuki.toml at /app/liteyuki.toml and persistent volumes at
/app/data, /app/cache, and /app/plugins for a configured deployment.
Development
uv sync --locked --all-packages
uv run ruff check src tests scripts examples packages
uv run mypy
uv run pytest
uv build
uv build --all-packages --out-dir dist/workspace --clear
uv build --project examples/native-plugin --out-dir dist/examples
uv build --project examples/custom-runtime --out-dir dist/examples
uv run python scripts/run_developer_kit_install.py
uv run python scripts/run_permissions_install.py
uv run python scripts/run_commands_install.py
uv run python scripts/run_resources_install.py
uv run python scripts/run_profile_install.py
uv run python scripts/run_essentials_install.py
uv run python scripts/run_nonebot_runtime_install.py
The architecture overview is documented in docs/architecture/v7.md; accepted
architecture contracts are indexed in docs/adr/README.md; the v6 compatibility
boundary is documented in docs/migration-v6.md.
Release maintainers should follow docs/development/releasing.md.
Plugin and runtime authors should start with the installable examples and their focused guides:
examples/native-pluginanddocs/development/native-plugins.md;examples/custom-runtimeanddocs/development/custom-runtimes.md.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file liteyukibot_v7-7.0.0a4.tar.gz.
File metadata
- Download URL: liteyukibot_v7-7.0.0a4.tar.gz
- Upload date:
- Size: 40.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc18c4e63db3c6af60fc28a8239d00462d40bcb5fb807c966ab781d91548a1c5
|
|
| MD5 |
0af6401686ddf8b8b51186a51a198c66
|
|
| BLAKE2b-256 |
c2a5d06c65e6efcc1a7efddf08cf8bc68be1cb888af2502fde72ff9414d39b76
|
File details
Details for the file liteyukibot_v7-7.0.0a4-py3-none-any.whl.
File metadata
- Download URL: liteyukibot_v7-7.0.0a4-py3-none-any.whl
- Upload date:
- Size: 53.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
533a524092606a73b3d31f99c693d32ba18774ff2b4dddebf02cd16cc5865b88
|
|
| MD5 |
5e008cda9b2d2e28809d8b9a194e8618
|
|
| BLAKE2b-256 |
48d39ef54c90e9580ea51b94ef19bfd7333f7df99ba6e4c41c61e16422c70e70
|