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 Beta1 identity is liteyukibot-v7==7.0.0b1. Kernel stabilization,
the bounded compatibility phase, and the first-party plugin foundation are
complete. Runtime protocol v5 is a Beta1 contract and remains subject to
normal pre-7.0 compatibility evolution.
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.
- layered resource packs for language catalogs, functions, and future static assets, with workspace packs overriding built-in and enabled-plugin content;
- 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.
Tool Installation
Install the v7 CLI into uv's isolated tool environment:
uv tool install --python 3.14 liteyukibot-v7
liteyuki init
liteyuki run
The commands operate on the current directory by default. Use
liteyuki --workspace PATH ... to select another project. liteyukibot and
ly are equivalent executable aliases. Upgrade only the v7 tool with:
uv tool upgrade --python 3.14 liteyukibot-v7
This does not replace a separately installed v6 liteyukibot distribution.
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 the Python platform-adapter host independently. It contains no platform SDK; protocol and platform adapters are separately published packages:
uv add liteyukibot-v7-runtime-adapter
uv add liteyukibot-v7-adapter-onebot
Install bounded v6 compatibility when legacy plugins are required:
uv add "liteyukibot-v7-runtime-v6"
Install the v6 resource-function executor only when workspace resource packs
contain .lyf, .lyfunction, or .mcfunction files:
uv add "liteyukibot-v7-functions"
It preserves the v6 function language but does not grant resource files shell or adapter API access by itself; callers must explicitly provide those capabilities.
Install the Essentials command layer with:
uv add "liteyukibot-v7-essentials==0.2.0a3"
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.
Create a project-local configuration with uv run liteyuki init; 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
Initialization, encrypted runtime secrets, upgrade recovery, and configuration
provenance are documented in docs/configuration.md.
liteyuki init opens a full-screen setup wizard; use --non-interactive for
automation and --locale auto|zh-CN|en-US to control its language.
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
When /app/liteyuki.toml is absent, the container creates the versioned default
template once. Mount a configuration at that path to control a deployment, and
persist /app/data, /app/cache, and /app/plugins.
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 -m scripts.run_developer_kit_install
uv run python -m scripts.run_permissions_install
uv run python -m scripts.run_commands_install
uv run python -m scripts.run_resources_install
uv run python -m scripts.run_functions_install
uv run python -m scripts.run_profile_install
uv run python -m scripts.run_essentials_install
uv run python -m scripts.run_nonebot_runtime_install
uv run python -m scripts.run_adapter_runtime_install
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.0b1.tar.gz.
File metadata
- Download URL: liteyukibot_v7-7.0.0b1.tar.gz
- Upload date:
- Size: 88.2 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 |
9aae6cde38a25b62e8f761a47458083701000ffc3b8066154220b74ca3b83874
|
|
| MD5 |
bfb89228927ddfbccfcb6a403e824382
|
|
| BLAKE2b-256 |
c87dc99ee957844ca54bc615711ce58c029ba6c252bd40ec648f1b7caaa0b925
|
File details
Details for the file liteyukibot_v7-7.0.0b1-py3-none-any.whl.
File metadata
- Download URL: liteyukibot_v7-7.0.0b1-py3-none-any.whl
- Upload date:
- Size: 111.5 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 |
6c4d1feaf94fdb28d24b8dbd4d5037ca4c7369cf0b20caa4769726fd500d3f18
|
|
| MD5 |
01deced51bb9f916fb3d65423bb34267
|
|
| BLAKE2b-256 |
c9f9e06f059bea98b5b050f1cc3c404c6e936150aa1bf66d7161a03abc02d34a
|