lingshu-skill 5.44.0 → 5.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/SKILL-lite.md +1 -1
- package/SKILL-tiny.md +1 -1
- package/SKILL.md +1 -1
- package/package.json +1 -1
- package/scripts/astrbot_plugin_lingshu/CHECKSUMS.json +12 -11
- package/scripts/astrbot_plugin_lingshu/engine/CHANGELOG.md +33 -0
- package/scripts/astrbot_plugin_lingshu/engine/README.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/SKILL-lite.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/SKILL-tiny.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/SKILL.md +1 -1
- package/scripts/astrbot_plugin_lingshu/engine/scripts/cli.py +14 -1
- package/scripts/astrbot_plugin_lingshu/engine/scripts/emotion.py +1669 -1660
- package/scripts/astrbot_plugin_lingshu/engine/scripts/memory.py +22 -0
- package/scripts/astrbot_plugin_lingshu/engine/scripts/panel_server.py +14 -0
- package/scripts/astrbot_plugin_lingshu/engine/scripts/panel_settings.py +211 -209
- package/scripts/astrbot_plugin_lingshu/engine/scripts/persona.py +13 -0
- package/scripts/astrbot_plugin_lingshu/engine/scripts/startup_fast.py +58 -0
- package/scripts/cli.py +14 -1
- package/scripts/emotion.py +1669 -1660
- package/scripts/memory.py +22 -0
- package/scripts/panel_server.py +14 -0
- package/scripts/panel_settings.py +211 -209
- package/scripts/persona.py +13 -0
- package/scripts/startup_fast.py +58 -0
package/scripts/cli.py
CHANGED
|
@@ -1109,7 +1109,20 @@ def cmd_startup(query: str = "", budget: int | None = None,
|
|
|
1109
1109
|
_ab_report = None
|
|
1110
1110
|
# v3.59:--minimal 走"极简注入"——resume 续聊默认用它(历史里已有完整记忆块,
|
|
1111
1111
|
# 再来一份就是同一段上下文出现两遍)。省略技能库/人格自检、预算 ×0.45。
|
|
1112
|
-
|
|
1112
|
+
# SPEED-2(v5.45):面板常驻时优先走 serve 快路径拿注入包——跳过本进程
|
|
1113
|
+
# 的模块装配与冷读盘(实测省 ~150-200ms)。失败/超时/只读一律静默回退本进程。
|
|
1114
|
+
_packet = None
|
|
1115
|
+
if not READONLY:
|
|
1116
|
+
try:
|
|
1117
|
+
import startup_fast as _sf
|
|
1118
|
+
if (load_config().get("startup_use_serve", True)):
|
|
1119
|
+
_packet = _sf.try_serve_startup(query, budget)
|
|
1120
|
+
except Exception:
|
|
1121
|
+
_packet = None
|
|
1122
|
+
if _packet:
|
|
1123
|
+
print(_packet)
|
|
1124
|
+
else:
|
|
1125
|
+
print(build_injection(query, budget, report=_ab_report, minimal=minimal))
|
|
1113
1126
|
# 水位提醒块:与 status 同一实现(memory._water_level),别两套口径。
|
|
1114
1127
|
try:
|
|
1115
1128
|
wl = memory._water_level()
|