Skip to main content

牛牛做梦

牛牛做梦 pallas-plugin-dream

提供群内梦话漂流、历史梦与醉酒联动能力。

官方插件 控制台插件商店 安装命令 PyPI 版本

安装方式

需已安装 Pallas-Bot ≥ 4.0。

推荐直接在控制台插件商店安装,或在本体项目中执行:

uv run pallas ext install pallas-plugin-dream

也可单独安装本包:

uv pip install pallas-plugin-dream

开发联调:clone 本仓库后 uv pip install -e .。

多进程分片

  • hub 与每个 worker 须安装相同版本;共享 data/ 与 Redis 协调层。
  • 梦话漂流经本体 plugin_coord.dream;未安装扩展时不影响 core。

详见:多进程分片

怎么使用

做梦期间推送梦话:跨群漂流、历史梦、画画归档图、复读已学句;醉酒时更密且可联动夺舍。

用户命令

口令 / 触发 场景 说明
牛牛做梦 群内 进入做梦约 5~15 分钟
牛牛醒梦 / 牛牛别做梦 群内 结束做梦
牛牛醒一醒 群内 醒酒时亦会醒梦(见 plugins-party)

命令权限

命令 ID 默认等级
dream.ban_cleanup 群管或号主

(与复读共用「不可以」清理梦库,权限见帮助详情。)

详细用法、限制条件和可用范围以帮助为主。

配置项

WebUI 插件 → dream,或本仓库 config.py:dream_worker_sleep_*、dream_drift_queue_tick_probability、dream_message_retention_days 等。

排障

现象 处理
无梦话 确认已做梦、冷却未挡;他群无做梦则无漂流
梦库过大 运维可调用库清理逻辑

实现

源码位置:src/pallas_plugin_dream/

实现要点:

  • 做梦后会按配置周期推送梦话,并可跨群漂流。
  • 分片模式下依赖共享 data/ 与协调层保持行为一致。
  • 醉酒等其他玩法会影响梦话频率与联动表现。

相关链接

说明 链接
牛牛做梦 · 用户文档 文档站 · dream
插件开发入门 develop/plugin/getting-started

Metadata

Release files for pallas-plugin-dream 4.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pallas-plugin-dream 4.0.11
File Size Uploaded
pallas_plugin_dream-4.0.11.tar.gz 3.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pallas-plugin-dream 4.0.11
File Interpreter ABI Platform
pallas_plugin_dream-4.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / pallas_plugin_dream-4.0.11.tar.gz

Download URL pallas_plugin_dream-4.0.11.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
401070eb7b8d40487d38fe8ab3bdc3449d32e1d343b8389766ec272fabe64e09
BLAKE2b-256 checksum
How to use checksums
738db710df94fbe2740e94e1da89955897c7786b586c3b31439357ec02d7f0df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.

Transparency log

Release files / pallas_plugin_dream-4.0.11-py3-none-any.whl

Download URL pallas_plugin_dream-4.0.11-py3-none-any.whl
Size 50.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9171b5f55c49397b763ddfbd94ab693c292aa04257c032441958da984a91aa4b
BLAKE2b-256 checksum
How to use checksums
4c211d6ba8913239b4a605eae52b900fbe29973cc90b85a7de3ecb96b787436f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 25, 2026.

Transparency log

Release history Release notifications | RSS feed

4.0.20

2 release files

4.0.19

2 release files

4.0.18

2 release files

4.0.17

2 release files

4.0.16

2 release files

4.0.15

2 release files

4.0.14

2 release files

4.0.13

2 release files

4.0.12

2 release files

This release

4.0.11 This release

2 release files

4.0.10

2 release files

4.0.9

2 release files

4.0.8

2 release files

4.0.7

2 release files

4.0.6

2 release files

4.0.5

2 release files

4.0.4

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page