luckytri 1.0.6 → 1.0.8
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/LICENSE +21 -21
- package/README.en.md +7 -3
- package/README.md +7 -3
- package/docs/en/CHANGELOG.md +35 -16
- package/docs/en/chat-style.md +28 -9
- package/docs/en/guide.md +5 -5
- package/docs/en/her-life.md +2 -2
- package/docs/en/webui.md +1 -1
- package/docs/zh/CHANGELOG.md +35 -16
- package/docs/zh/chat-style.md +30 -9
- package/docs/zh/guide.md +5 -5
- package/docs/zh/her-life.md +2 -2
- package/docs/zh/webui.md +1 -1
- package/package.json +1 -1
- package/public/app/assets/{ChatsPage-DCYMkJ91.js → ChatsPage-CshdtTzV.js} +2 -2
- package/public/app/assets/ChatsPage-DfyPCS9N.css +1 -0
- package/public/app/assets/{Empty-CLyZkxR5.js → Empty-C7yzOBzy.js} +1 -1
- package/public/app/assets/{Empty-DIobYG3x.css → Empty-DmUB2-Bk.css} +1 -1
- package/public/app/assets/{Field-BpaRwLI_.js → Field-BjFv4Rfn.js} +1 -1
- package/public/app/assets/HeartPage-Bft9wZp5.css +1 -0
- package/public/app/assets/{HeartPage-BIOMTiwr.js → HeartPage-eqo6ru16.js} +1 -1
- package/public/app/assets/LifePage-BUi5euBF.css +1 -0
- package/public/app/assets/{LifePage-BCgM4JkR.js → LifePage-CN8GE5NK.js} +1 -1
- package/public/app/assets/{MemoryPage-vShvRqMt.js → MemoryPage-CCpMN4Wg.js} +1 -1
- package/public/app/assets/MemoryPage-cZvXfkXb.css +1 -0
- package/public/app/assets/{NaturePage-Cy9ptr4G.js → NaturePage-C0JqdBTR.js} +2 -2
- package/public/app/assets/NaturePage-CHkpb5NK.css +1 -0
- package/public/app/assets/PeoplePage-BTU0H1pM.css +1 -0
- package/public/app/assets/{PeoplePage-CUZekB2E.js → PeoplePage-BXGBbO4u.js} +1 -1
- package/public/app/assets/{PluginsPage-1RM4rmJP.js → PluginsPage-Dksp5AV5.js} +1 -1
- package/public/app/assets/{SystemPage-BI2CB5Ig.css → SystemPage-BenIyTvk.css} +1 -1
- package/public/app/assets/{SystemPage-BeT5TmIV.js → SystemPage-Cd7aa8eE.js} +1 -1
- package/public/app/assets/TimePage-BOms_n4I.css +1 -0
- package/public/app/assets/{TimePage-taTmPMM8.js → TimePage-Bs_zImb4.js} +2 -2
- package/public/app/assets/{index-DY5AM0Hz.css → index-BHZcHUMh.css} +1 -1
- package/public/app/assets/{index-DdYwC5ZU.js → index-CyRtYxP3.js} +3 -3
- package/public/app/assets/{knowledge-DJmfu2KN.js → knowledge-BJOIyuJo.js} +1 -1
- package/public/app/assets/{media-BEtnE0Gv.js → media-Bwtx8blz.js} +1 -1
- package/public/app/assets/{mind-Dtiw0-QK.js → mind-DtTVrW6Z.js} +1 -1
- package/public/app/index.html +5 -6
- package/public/guide.en.html +3 -3
- package/public/guide.html +3 -3
- package/scripts/import-data.js +128 -128
- package/scripts/proxy-config.js +167 -167
- package/scripts/update-instance.js +201 -201
- package/server/channels/adapters.js +27 -27
- package/server/channels/onebot/adapter.js +288 -288
- package/server/channels/qqbot/adapter.js +253 -253
- package/server/channels/qqbot/api.js +199 -199
- package/server/channels/qqbot/credentials.js +11 -11
- package/server/channels/qqbot/gateway.js +274 -274
- package/server/channels/qqbot/index.js +389 -389
- package/server/channels/segments.js +40 -40
- package/server/channels/session-key.js +153 -153
- package/server/channels/state.js +42 -42
- package/server/core/api.js +564 -564
- package/server/core/context-builder.js +288 -288
- package/server/core/context-compactor.js +454 -454
- package/server/core/conversation-cues.js +385 -325
- package/server/core/conversation-grounding.js +304 -0
- package/server/core/conversation-manager.js +87 -87
- package/server/core/dialogue-context.js +244 -0
- package/server/core/dialogue-contract.js +35 -0
- package/server/core/feedback.js +8 -8
- package/server/core/group-style.js +72 -72
- package/server/core/initiative-context.js +68 -66
- package/server/core/input-budget.js +32 -32
- package/server/core/local-demo.js +98 -98
- package/server/core/message-manager.js +118 -118
- package/server/core/message-scheduler.js +78 -78
- package/server/core/model-json.js +190 -190
- package/server/core/model-manager.js +5 -8
- package/server/core/model-presets.js +900 -900
- package/server/core/name-call.js +29 -29
- package/server/core/network.js +157 -157
- package/server/core/person-name.js +22 -22
- package/server/core/persona-manager.js +359 -269
- package/server/core/reader-check.js +62 -0
- package/server/core/reply-delivery.js +537 -404
- package/server/core/reply-target-resolver.js +50 -50
- package/server/core/response-generator.js +92 -50
- package/server/core/response-validator.js +53 -32
- package/server/core/retired-prompts.js +51 -51
- package/server/core/sessions.js +109 -109
- package/server/core/speaker-names.js +92 -92
- package/server/core/topic-tracker.js +65 -65
- package/server/core/turn.js +82 -15
- package/server/http.js +18 -18
- package/server/i18n/decisions.js +209 -209
- package/server/i18n/errors.js +2 -0
- package/server/i18n/index.js +144 -144
- package/server/i18n/labels.js +6 -10
- package/server/i18n/models.js +111 -111
- package/server/knowledge/api.js +342 -342
- package/server/knowledge/embedding-profile.js +114 -114
- package/server/knowledge/index.js +13 -13
- package/server/knowledge/retrieval.js +93 -93
- package/server/knowledge/schema.js +158 -158
- package/server/knowledge/vector-index.js +90 -90
- package/server/mind/affect.js +265 -265
- package/server/mind/attention.js +200 -200
- package/server/mind/bonds.js +565 -565
- package/server/mind/clock.js +83 -83
- package/server/mind/context-selection.js +16 -4
- package/server/mind/continuity.js +562 -562
- package/server/mind/conversation-origin.js +175 -175
- package/server/mind/days.js +210 -210
- package/server/mind/evidence-read.js +45 -45
- package/server/mind/expression-grounding.js +21 -0
- package/server/mind/faces.js +373 -373
- package/server/mind/guard.js +68 -60
- package/server/mind/initiative.js +338 -338
- package/server/mind/life/activities.js +21 -21
- package/server/mind/life/context.js +330 -330
- package/server/mind/life/growth.js +261 -261
- package/server/mind/life/presence.js +305 -305
- package/server/mind/meetings.js +1069 -1069
- package/server/mind/memory-policy.js +48 -48
- package/server/mind/memory.js +888 -888
- package/server/mind/nature.js +358 -358
- package/server/mind/novelty.js +19 -19
- package/server/mind/own-voice.js +35 -0
- package/server/mind/periods.js +118 -118
- package/server/mind/reading.js +132 -120
- package/server/mind/relationship-context.js +71 -71
- package/server/mind/relationships.js +390 -390
- package/server/mind/salience.js +201 -201
- package/server/mind/schema.js +567 -567
- package/server/mind/self.js +496 -484
- package/server/mind/thoughts.js +274 -274
- package/server/mind/time/agenda.js +242 -242
- package/server/mind/time/api.js +200 -200
- package/server/mind/time/attention.js +34 -34
- package/server/mind/time/availability.js +23 -1
- package/server/mind/time/executor.js +4 -2
- package/server/mind/time/games.js +20 -11
- package/server/mind/time/index.js +9 -2
- package/server/mind/time/kinds.js +29 -2
- package/server/mind/time/material-relevance.js +19 -0
- package/server/mind/time/model-material.js +77 -77
- package/server/mind/time/presentation.js +35 -51
- package/server/mind/time/reading-input.js +31 -0
- package/server/mind/time/schedule.js +83 -83
- package/server/mind/time/schema.js +84 -84
- package/server/mind/time/search.js +383 -383
- package/server/mind/time/sharing.js +482 -472
- package/server/mind/time/task-links.js +311 -311
- package/server/mind/time/tasks.js +41 -3
- package/server/mind/time/works.js +527 -432
- package/server/mind/traits.js +191 -191
- package/server/mind/view.js +62 -12
- package/server/runtime/installation.js +116 -116
- package/server/runtime/update-manager.js +140 -140
- package/server/storage/data-package.js +298 -298
- package/server/storage/data-transfer-api.js +50 -50
- package/server/storage/data-transfer-worker.js +18 -18
- package/server/storage/data-transfer.js +416 -416
- package/server/studio/display-names.js +139 -139
- package/server/studio/management.js +102 -102
- package/server/studio/updates.js +144 -144
- package/server/version.js +10 -10
- package/public/app/assets/ChatsPage-CFMVozoG.css +0 -1
- package/public/app/assets/HeartPage-C-2jvgzF.css +0 -1
- package/public/app/assets/LifePage-CG1OHbRK.css +0 -1
- package/public/app/assets/MemoryPage-C_Bu4rfb.css +0 -1
- package/public/app/assets/NaturePage-CPZlImT0.css +0 -1
- package/public/app/assets/PeoplePage-3RRUITDz.css +0 -1
- package/public/app/assets/TimePage-C-guwPk2.css +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 LuckyTri Contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LuckyTri Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<p align="center"><strong>Let the days she lives count.</strong></p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<img alt="version" src="https://img.shields.io/
|
|
10
|
+
<a href="https://www.npmjs.com/package/luckytri"><img alt="npm version" src="https://img.shields.io/npm/v/luckytri?color=ff8fb1"></a>
|
|
11
11
|
<img alt="license" src="https://img.shields.io/badge/license-MIT-7fd6c2">
|
|
12
12
|
<img alt="node" src="https://img.shields.io/badge/node-%E2%89%A5%2024.5-8fb8ff">
|
|
13
13
|
<img alt="channels" src="https://img.shields.io/badge/QQ-OneBot%2011%20%7C%20official%20bot-ffd37f">
|
|
@@ -92,10 +92,14 @@ The full design is in [Her life](docs/en/her-life.md) and [Architecture and exte
|
|
|
92
92
|
|
|
93
93
|
## What she can do
|
|
94
94
|
|
|
95
|
+
Recent work focuses on continuity and clearer conversation. Account-based recognition links public encounters across groups and private chats. Relationships, forms of address, her own views and private promises retain their sources and visibility boundaries. An ordinary greeting need not bring back unfinished tasks or demonstrate how much she remembers.
|
|
96
|
+
|
|
97
|
+
**Conversation fixes in 1.0.8:** Attend to the current speaker, follow-up messages and quotations; explain plainly when someone cannot follow. Another bot's interpretation does not replace the person's confirmation, and a conversation can pause when there is nothing new to add. Reading, writing and game references require the appropriate material: waiting for a manuscript does not become a writing project, and reading notes are not game-client operation. See the [changelog](docs/en/CHANGELOG.md). These changes still need testing in everyday interaction; automated scores are not a guarantee of conversation quality.
|
|
98
|
+
|
|
95
99
|
| Area | What it does today |
|
|
96
100
|
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
97
101
|
| Time and solitude | Lives a day on her own rhythm; in quiet hours sorts her thoughts, reads, writes a diary; reviews every so often, rewrites her story and turns to a new chapter |
|
|
98
|
-
| Doing her own things | Carries out
|
|
102
|
+
| Doing her own things | Carries out her reading, writing and thinking plans; game activities primarily read and record reference material; works are saved under Lifetime and Time |
|
|
99
103
|
| Self and mood | Forms opinions, tastes, concerns and wishes from sourced experiences; changes can be looked back on and undone |
|
|
100
104
|
| Relationships and memory | One memory across groups and private chats; tells "public / private / confidential" apart; private things never surface in another room |
|
|
101
105
|
| Attention and choice | Understands multi-person talk, @-mentions and quotes, and decides to read closely, to speak or to stay silent; can also reach out from her own thoughts |
|
|
@@ -202,7 +206,7 @@ To continue an existing source instance, stop it first, then use `luckytri --hom
|
|
|
202
206
|
| `EMBEDDING_API_KEY` | Optional; a separate key for the knowledge embedding service |
|
|
203
207
|
| `BACKUP_INTERVAL_HOURS` / `BACKUP_KEEP` | Automatic backup interval (24 hours by default, `0` turns it off) and how many to keep (7 by default) |
|
|
204
208
|
|
|
205
|
-
|
|
209
|
+
The database, chat records, model keys and backups live locally in the ignored `data/` directory and are excluded from the repository and npm package. When you use a remote model, the context needed for a response is sent to your configured provider. While running, the server makes one integrity-checked backup a day; backups share a disk with the database, so copy important ones elsewhere. Never commit `.env`, the database or logs. See [Security](.github/SECURITY.md) and [Backup and recovery](docs/en/recovery.md).
|
|
206
210
|
|
|
207
211
|
## Documentation
|
|
208
212
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<p align="center"><strong>让她走过的日子算数。</strong></p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<img alt="version" src="https://img.shields.io/
|
|
10
|
+
<a href="https://www.npmjs.com/package/luckytri"><img alt="npm version" src="https://img.shields.io/npm/v/luckytri?color=ff8fb1"></a>
|
|
11
11
|
<img alt="license" src="https://img.shields.io/badge/license-MIT-7fd6c2">
|
|
12
12
|
<img alt="node" src="https://img.shields.io/badge/node-%E2%89%A5%2024.5-8fb8ff">
|
|
13
13
|
<img alt="channels" src="https://img.shields.io/badge/QQ-OneBot%2011%20%7C%20%E5%AE%98%E6%96%B9%E6%9C%BA%E5%99%A8%E4%BA%BA-ffd37f">
|
|
@@ -92,10 +92,14 @@ flowchart LR
|
|
|
92
92
|
|
|
93
93
|
## 能力一览
|
|
94
94
|
|
|
95
|
+
近期更新集中在让相处更连贯、说话更清楚。她按账号认出同一个人,在不同群与私聊间衔接公开经历;关系、称呼、自己的看法和私人约定分别保留来源与可见范围。普通问候不需要带出旧任务,每次开口也不需要证明自己记住了多少事。
|
|
96
|
+
|
|
97
|
+
**1.0.8 的对话修复:** 优先理解当前说话人的问题、连续补充与引用;对方说没听懂,就换成能直接理解的话。其他机器人的猜测不代替本人确认;没有新内容时可以停下来。阅读、写作与游戏资料各自核对真实材料,等待来稿不会被执行成创作,也不会把阅读笔记说成操作游戏客户端。完整变化见 [版本记录](docs/zh/CHANGELOG.md)。这些修复仍需真实相处检验,项目不把自动评分当作回复质量的保证。
|
|
98
|
+
|
|
95
99
|
| 方面 | 现在能做什么 |
|
|
96
100
|
| ------------ | --------------------------------------------------------------------------------------------------------- |
|
|
97
101
|
| 时间与独处 | 按自己的作息过一天;安静时整理想法、阅读资料、写日记;每隔一段时间回顾,改写自传、翻开新的一章 |
|
|
98
|
-
| 做自己的事 |
|
|
102
|
+
| 做自己的事 | 执行自己的阅读、写作与思考计划;游戏内容以参考资料阅读与记录为主;作品保存在「一生」「时间」中 |
|
|
99
103
|
| 自我与心境 | 从有来源的经历里形成看法、喜好、关注和想做的事;变化可以回看和撤销 |
|
|
100
104
|
| 关系与记忆 | 一份跨群、跨私聊的记忆;区分「公开 / 私下 / 保密」;私下的事不会出现在别的房间 |
|
|
101
105
|
| 注意力与选择 | 理解多人对话、@ 与引用关系,决定细看、开口或沉默;也能从自己的念头出发主动联系 |
|
|
@@ -202,7 +206,7 @@ npm start
|
|
|
202
206
|
| `EMBEDDING_API_KEY` | 可选;独立的知识向量服务密钥 |
|
|
203
207
|
| `BACKUP_INTERVAL_HOURS` / `BACKUP_KEEP` | 自动备份间隔(默认 24 小时,`0` 关闭)与保留份数(默认 7) |
|
|
204
208
|
|
|
205
|
-
|
|
209
|
+
数据库、聊天记录、模型密钥和备份保存在本机被忽略的 `data/` 目录,不随源码或 npm 包发布。使用远程模型时,回复所需的上下文会发送给你配置的模型服务。服务运行时每天自动做一份经过完整性检查的备份;备份和数据库在同一块磁盘上,重要的请自己复制到别处。不要提交 `.env`、数据库或日志。详见 [安全说明](.github/SECURITY.md) 与 [数据备份与恢复](docs/zh/recovery.md)。
|
|
206
210
|
|
|
207
211
|
## 文档
|
|
208
212
|
|
package/docs/en/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
<p align="right"><a href="../zh/CHANGELOG.md">中文</a> · <b>English</b></p>
|
|
2
2
|
|
|
3
|
-
# Changelog
|
|
4
|
-
|
|
5
|
-
## 1.0.
|
|
3
|
+
# Changelog
|
|
4
|
+
|
|
5
|
+
## 1.0.8 — 2026-10-10
|
|
6
|
+
|
|
7
|
+
- Rework dialogue instructions and context around the current question, proposal or feeling. Old activity reports, room shorthand and self-summaries no longer dominate ordinary exchanges. Greeting images retain their immediate context and agreed forms of address remain available.
|
|
8
|
+
- Allow natural recurring affection and greetings without forcing invented counts, elapsed-time reports or lifestyle advice. Complete reactions are no longer mechanically rewritten to fit a twenty-character limit.
|
|
9
|
+
- Preserve the actual addressee and quoted evidence in group conversations. Later laughter does not erase a serious question, and another bot's interpretation is not the person's confirmation. Empty bot reports do not create confirmation chains or relationship growth.
|
|
10
|
+
- Add an independent comprehensibility check for explanation requests; revisions and factual review retain the current question. Validation respects the configured reasoning effort.
|
|
11
|
+
- Recall relevant historical work versions without denying earlier reading because recent records are incomplete or revealing unrelated private text. Exclude unrelated web material from game progress and sharing while retaining the archive.
|
|
12
|
+
- Distinguish someone else's writing from her own reading promise. Waiting for a manuscript does not execute as writing or substitute another or older book. New self-expressions check actions and participants rather than turning wishes into completed experiences.
|
|
13
|
+
- Update both READMEs, capability boundaries and the release badge; expand historical replay, sequential group scenarios and regression coverage. Transcripts and model reports remain local.
|
|
14
|
+
|
|
15
|
+
## 1.0.7 — 2026-10-09
|
|
16
|
+
|
|
17
|
+
- Ground understanding in the current messages, supplements, speakers and quote chains before choosing a response. Corrections address the actual question instead of substituting apologies or abstract monologues.
|
|
18
|
+
- Keep single topical remarks out of the enduring self's core and prevent extracted replies from becoming fixed scripts. Related recollections, cross-conversation continuity and disclosure boundaries remain available.
|
|
19
|
+
- Exclude known bots from human room-style statistics and end empty bot confirmation loops. An explicit addressed stop ends the current turn; a renewed question can still receive a reply.
|
|
20
|
+
- Preserve provenance and uncertainty in game-content presentation. Current activities and work fragments distinguish reference reading and model-generated material from client operation or completion.
|
|
21
|
+
- Rewrite the latest rejected draft, allow requested factual repetition, and keep contradiction repairs confined to relevant questions. Conversation endings no longer receive an unrelated confusion fallback.
|
|
22
|
+
- Add full-corpus review, historical replay and sequential conversation evaluation tools. Paid model checks run explicitly; private transcripts and reports stay local and are excluded from release artifacts.
|
|
23
|
+
|
|
24
|
+
## 1.0.5 — 2026-10-07
|
|
6
25
|
|
|
7
26
|
- Fixed bound relationships being forgotten when the person was absent from the current conversation. Chat, initiative, solitude, diaries and reviews recall the same account-based ledger by name and role.
|
|
8
27
|
- Distinguished current relationship facts from past opinions and personal feelings. Historical denials and jokes remain in history; relationship-related replies are checked against current knowledge while preserving her choices about interaction and address.
|
|
@@ -16,19 +35,19 @@
|
|
|
16
35
|
- Update and restart stages and validates the official release before stopping, saves a verified data restore point, and switches programs. Failed startup attempts restoration of the previous code and data. Source/npm installs and instance configuration remain intact; repeated clicks coalesce and CLI launches retain managed updates.
|
|
17
36
|
- Added privacy, same-name identity, recovery, real installed-package switching and viewport regression checks. Archive checks verify bytes before parsing SQLite, so damaged files do not expose raw schema errors.
|
|
18
37
|
|
|
19
|
-
|
|
20
|
-
## 1.0.3 — 2026-10-06
|
|
21
|
-
|
|
22
|
-
- Group personas become thoughts about each place. She selectively adds, revises or lets go of impressions, wishes, preferences, questions and boundaries from local encounters, retaining reasons, sources and versions. Her overall personality remains shared; copied legacy personas stay only in history.
|
|
23
|
-
- Manual update checks in system runtime settings show the installed and latest npm versions and release notes. Checks cache and coalesce requests and recover from failures; they do not install or restart.
|
|
24
|
-
- Nature edit allowances come from the server. Audited, idempotent local extra opportunities preserve personality history and other instances' default limits.
|
|
25
|
-
- Added source isolation, selective updates, restart persistence, failed update recovery and responsive interface checks.
|
|
26
|
-
|
|
27
|
-
## 1.0.2 — 2026-10-06
|
|
28
|
-
|
|
29
|
-
- Streamed full SQLite data packages with validated import previews, retained recovery points and rollback on failure.
|
|
30
|
-
- Destination management sign-ins and connection settings are retained. Imported auto replies and plugin grants await review; cancelled, expired and interrupted temporary packages are reclaimed.
|
|
31
|
-
|
|
38
|
+
|
|
39
|
+
## 1.0.3 — 2026-10-06
|
|
40
|
+
|
|
41
|
+
- Group personas become thoughts about each place. She selectively adds, revises or lets go of impressions, wishes, preferences, questions and boundaries from local encounters, retaining reasons, sources and versions. Her overall personality remains shared; copied legacy personas stay only in history.
|
|
42
|
+
- Manual update checks in system runtime settings show the installed and latest npm versions and release notes. Checks cache and coalesce requests and recover from failures; they do not install or restart.
|
|
43
|
+
- Nature edit allowances come from the server. Audited, idempotent local extra opportunities preserve personality history and other instances' default limits.
|
|
44
|
+
- Added source isolation, selective updates, restart persistence, failed update recovery and responsive interface checks.
|
|
45
|
+
|
|
46
|
+
## 1.0.2 — 2026-10-06
|
|
47
|
+
|
|
48
|
+
- Streamed full SQLite data packages with validated import previews, retained recovery points and rollback on failure.
|
|
49
|
+
- Destination management sign-ins and connection settings are retained. Imported auto replies and plugin grants await review; cancelled, expired and interrupted temporary packages are reclaimed.
|
|
50
|
+
|
|
32
51
|
## 1.0.1 — 2026-10-05
|
|
33
52
|
|
|
34
53
|
- Global npm installation runs with `luckytri`, including the server, built WebUI, guides and bundled plugin. User data remains outside the package across updates and reinstalls.
|
package/docs/en/chat-style.md
CHANGED
|
@@ -12,18 +12,20 @@ By default she speaks plain, everyday language:
|
|
|
12
12
|
- She reacts to the specific thing, instead of following a fixed "repeat the feeling, comfort, advise, ask a question" routine.
|
|
13
13
|
- Venting is not assumed to want advice; good news does not get a consoling answer; jokes are put away when someone is really hurting.
|
|
14
14
|
- A conversation may simply end; she does not ask "and then?" every turn and does not turn every message into a joke.
|
|
15
|
+
- Ordinary replies name the actual people, events and actions instead of replacing them with accounting or carrying metaphors. Literal accounting, literature and requested metaphors remain valid.
|
|
16
|
+
- When someone says she is abstract or repetitive, she checks her last sentence and explains its actual meaning instead of merely acknowledging the complaint.
|
|
15
17
|
- She uses memory only when it relates to the current topic and does not show off a memory file; when a reference is unclear she asks, and never invents experiences.
|
|
16
18
|
- She does not force slang to seem young. A serious setting beats style.
|
|
17
19
|
|
|
18
20
|
The following are hand-designed directions, not results measured on an external model (the Chinese originals are the intent; here they are rendered loosely):
|
|
19
21
|
|
|
20
|
-
| They say
|
|
21
|
-
|
|
|
22
|
-
| Five minutes to clocking off and the boss dumps more work | Of course it picks right now
|
|
23
|
-
| None of what I revised came up
|
|
24
|
-
| I passed the interview!!
|
|
25
|
-
| Don't advise me, just let me rant
|
|
26
|
-
| I'm going to take a shower
|
|
22
|
+
| They say | Direction we want |
|
|
23
|
+
| --------------------------------------------------------- | ------------------------------------------ |
|
|
24
|
+
| Five minutes to clocking off and the boss dumps more work | Of course it picks right now |
|
|
25
|
+
| None of what I revised came up | Not a single guess landed |
|
|
26
|
+
| I passed the interview!! | Nice!! That calls for a little celebration |
|
|
27
|
+
| Don't advise me, just let me rant | Okay, rant away, I'm listening |
|
|
28
|
+
| I'm going to take a shower | Go ahead |
|
|
27
29
|
|
|
28
30
|
## The rhythm of this place
|
|
29
31
|
|
|
@@ -33,6 +35,10 @@ The statistics reach her only as `inner.room` and are **not her character**: she
|
|
|
33
35
|
|
|
34
36
|
## Feedback
|
|
35
37
|
|
|
38
|
+
Accounts marked as bots in relationship records do not contribute to room style statistics. Their messages and shared experiences remain stored. Uninterrupted bot exchanges stop when they are only confirming or rephrasing the same thing without a new question or concrete event. Identity comes from account records, never nicknames. Questions, corrections and requested creative work can continue. Confirmation loops do not create additional emotional or relationship changes.
|
|
39
|
+
|
|
40
|
+
Her long-term self stays stable across new topics. Related self recollections appear in `inner.relatedSelf`; `inner.onMind` includes relevant notes without filling unused slots with unrelated thoughts. Temporary lines do not become fixed reply habits. Existing records are retained, while fixed scripts stop being offered as expression preferences.
|
|
41
|
+
|
|
36
42
|
Under "Chat" you can give feedback on a reply she sent: natural, too long, too stiff, too many memes, or undo it. Feedback is not a rewrite rule: it reaches her as something she heard, read by herself during solitude and in the next turns of that conversation, and it never rewrites her nature.
|
|
37
43
|
|
|
38
44
|
## Checks before sending
|
|
@@ -41,6 +47,7 @@ Before a reply goes out, local checks look for:
|
|
|
41
47
|
|
|
42
48
|
- a customer-service or consulting tone, list-like report replies, stage actions;
|
|
43
49
|
- unfounded intimate forms of address, excess length, repetition, back-to-back questions;
|
|
50
|
+
- recent replies that mostly repeat earlier wording with a small addition; explicitly requested quotes and factual repeats remain valid;
|
|
44
51
|
- ignoring "no advice needed", joking in a serious setting, piled-up slang;
|
|
45
52
|
- presenting her own earlier words as the other person's ("you just said…" when their record has no such line);
|
|
46
53
|
- claiming to have played or finished something (she has no record of such experience; a liking is not a record of having played);
|
|
@@ -48,9 +55,9 @@ Before a reply goes out, local checks look for:
|
|
|
48
55
|
|
|
49
56
|
When she is asked "how do you know?", the basis is checked first: for something she said unprompted (the other person had been silent for two hours or more), the basis can only be a guess or a real memory, never that she saw a message they sent; if a rewrite still invents a source, a verified correction is sent instead.
|
|
50
57
|
|
|
51
|
-
|
|
58
|
+
Ordinary replies get at most two rewrites; initiative and high budget pressure allow one. Each rewrite receives the actual rejected draft and preserves meaning and facts. If it still fails, an unaddressed turn stays silent; a direct exchange admits that she has not worked it out instead of pretending to understand with a filler word. Answers are never simply truncated. Rejected trailing hh decoration can be removed, followed by all checks again, preserving useful content.
|
|
52
59
|
|
|
53
|
-
|
|
60
|
+
Feelings, corrections, crises, abstract bot exchanges, attribution and capability claims may require review of each draft, increasing latency and cost. Rewrites are bounded. Conservative checks cannot catch every stiff or incorrect expression; naturalness still depends on the model, nature and group context.
|
|
54
61
|
|
|
55
62
|
## How to try it
|
|
56
63
|
|
|
@@ -60,3 +67,15 @@ Besides the turn's own call, the review and the rewrite happen at most once each
|
|
|
60
67
|
- **Audit**: `npm run audit:sent` replays the replies she recently sent against today's checks, read-only and without calling a model. Run it before changing a check to see whether the new rule would hurt. The replies already passed the checks when sent, so the number is for judging a new rule, not a score of how well she talks.
|
|
61
68
|
|
|
62
69
|
For real acceptance, watch 10–20 consecutive turns rather than a single line: does she pick up details, ask questions too often, repeat catchphrases, talk over others, suddenly turn into customer service, or mix up a joke with real sadness. Automated tests cover engineering constraints and hand-made scenario samples; the language quality of a real model still depends on your own observation.
|
|
70
|
+
|
|
71
|
+
In the source checkout, run `node --env-file-if-exists=.env scripts/dev/evaluate-dialogue.js --limit 120` for live-model replay through understanding, validation, review and rewriting, followed by a separate quality review. This uses the configured default model and incurs model costs. It never connects to QQ or changes the running memory. Reports stay in local `data/evaluations/`. Model errors, unresolved issues and fallback replies fail the run. A single model's review has limitations; inspect the actual outputs too.
|
|
72
|
+
|
|
73
|
+
Additional source-checkout checks:
|
|
74
|
+
|
|
75
|
+
- `node --env-file-if-exists=.env scripts/dev/audit-dialogue-corpus.js` reads every live message in overlapping conversation blocks and records coverage. Missing evidence in one block is a lead to investigate, not proof of fabrication.
|
|
76
|
+
- Replay with `--current-nature --rebuild-mind --review-model <profile-id>` to rebuild historical mind selection in an in-memory copy while retaining saved activity progress, and use a separate reviewer. `--model <profile-id>` selects an evaluation model without changing the live instance. This does not reproduce historical external services or images.
|
|
77
|
+
- `node --env-file-if-exists=.env scripts/dev/evaluate-dialogue-sequences.js --review-model <profile-id>` carries generated replies into the next turn and checks corrections, boundaries, affection, factual provenance and consistency over a conversation.
|
|
78
|
+
|
|
79
|
+
These commands incur model costs. Reviewers can miss errors or cite the wrong sentence; inspect their evidence. Combinatorial rule checks are not equivalent to the same number of distinct semantic conversations, and no test establishes perfect future conversation quality.
|
|
80
|
+
|
|
81
|
+
Current dialogue receives a factual `exchange` tail with new messages, quote chains and recent own words. Its short `understanding` summary remains revisable. Single extracted topical views stay retrievable without becoming enduring core traits; a one-off extracted habit does not become a response script. Reference-based game activities and model-generated material retain provenance and uncertainty instead of being presented as client operation. Reply review has an independent evaluator role and does not inherit the character's performance instructions.
|
package/docs/en/guide.md
CHANGED
|
@@ -200,11 +200,11 @@ The server removes the export copy after download. Cancelled, expired and interr
|
|
|
200
200
|
| Too much motion | "Reduce motion" at the bottom left; when the system asks for reduced motion, particles and morphing switch off automatically |
|
|
201
201
|
|
|
202
202
|
Never post API keys, `.env` or private chat text anywhere public.
|
|
203
|
-
|
|
204
|
-
### Thoughts about places and update checks
|
|
205
|
-
|
|
206
|
-
People → Thoughts about this place keeps her own impressions, wishes and questions, selectively updated from real encounters. Details show reasons, sources and history; copied group personas remain history only.
|
|
207
|
-
|
|
203
|
+
|
|
204
|
+
### Thoughts about places and update checks
|
|
205
|
+
|
|
206
|
+
People → Thoughts about this place keeps her own impressions, wishes and questions, selectively updated from real encounters. Details show reasons, sources and history; copied group personas remain history only.
|
|
207
|
+
|
|
208
208
|
People → Relationships binds a person or another robot by account, with reciprocal roles, an optional name and reason, and visibility. The relationship informs conversation, solitude, diaries and action choices. Trust and closeness still come from real encounters; a binding creates no shared history. Changes and removal retain history and memories. Private relationships are used only in private chats with that account. Equal names never merge accounts.
|
|
209
209
|
|
|
210
210
|
An absent person can still be recalled by name or relationship role. Current facts, actual encounters and her own feelings inform that recognition together. Earlier opinions remain history rather than overriding current facts, and relevant replies are checked before delivery. She still chooses how to interact and address people without reciting management fields.
|
package/docs/en/her-life.md
CHANGED
|
@@ -187,5 +187,5 @@ Later upgrades only add tables and columns: existing chapters are kept and the f
|
|
|
187
187
|
- Something she heard in one group may come up in another related group; the only barriers are "known privately" discretion, secrecy requests and credentials.
|
|
188
188
|
- Promises are only extracted during memory tidying: sessions with fewer than 40 piled-up messages are tidied that night, so an afternoon "tomorrow" is usually caught, while something about to happen in a few minutes may not be.
|
|
189
189
|
- What engineering can guarantee is structure: continuous, sourced, correctable, decided by her. Whether she "truly has a heart" cannot be accepted by tests; the tests check whether these behaviors actually happen.
|
|
190
|
-
|
|
191
|
-
Thoughts about each place are independent entries: impressions, wishes, preferences, questions or boundaries. During solitude, diaries or identity reviews she chooses whether to add, revise or let them go, retaining reasons and sources. Revising one leaves other entries intact. Copied legacy group personas remain history and no longer enter conversation; place thoughts do not increase overall personality scores.
|
|
190
|
+
|
|
191
|
+
Thoughts about each place are independent entries: impressions, wishes, preferences, questions or boundaries. During solitude, diaries or identity reviews she chooses whether to add, revise or let them go, retaining reasons and sources. Revising one leaves other entries intact. Copied legacy group personas remain history and no longer enter conversation; place thoughts do not increase overall personality scores.
|
package/docs/en/webui.md
CHANGED
|
@@ -71,7 +71,7 @@ Live messages follow new arrivals while you are at the bottom and keep their pla
|
|
|
71
71
|
- `npm run test:ui`: a separate temporary database and a simulated channel, nothing is sent to real groups; it covers the smoke flow (sessions, simulated messages, memory, models, both ways of connecting QQ, the guide page), the little world (mood themes and night, pinned theme, reduced motion, star-map undo, person details, diary and promises), navigation caching, the time page, performance, and the English interface (Chinese may only appear inside her own content), at widths 1440 / 820 / 390.
|
|
72
72
|
- `node tests/ui/ta.mjs --serve`: opens an example world that has lived three days, handy for looking at the interface directly.
|
|
73
73
|
- Screenshots go only into the ignored `workspace/` folder; real chat screenshots and configuration must never be committed.
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
System → Runtime checks npm manually, with the current version, last successful check and release notes. Results are cached for five minutes; failures retain the last known information. Update and restart explicitly downloads and checks the program, saves a backup and switches instances. Progress survives restart, the page waits for reconnection, and repeated clicks do not launch a second install.
|
|
76
76
|
|
|
77
77
|
People → Relationships binds people or other robots by account, using themed choices for type, reciprocal roles, name and visibility. Person details show change history; ending a relationship does not delete encounters. Summaries load on demand alongside existing chat caching.
|
package/docs/zh/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
<p align="right"><b>中文</b> · <a href="../en/CHANGELOG.md">English</a></p>
|
|
2
2
|
|
|
3
|
-
# 版本记录
|
|
4
|
-
|
|
5
|
-
## 1.0.
|
|
3
|
+
# 版本记录
|
|
4
|
+
|
|
5
|
+
## 1.0.8 — 2026-10-10
|
|
6
|
+
|
|
7
|
+
- 重新整理对话提示与上下文:优先回答眼前的具体问题、提议和感受,不再让旧活动汇报、群内暗号和过去的自我总结主导普通交流。问候附图同样按当前语境处理,约定称呼仍然保留。
|
|
8
|
+
- 修复普通亲近表达被重复检查退回的问题;“我也想你”、晚安等自然回应可以再次使用,无须编出次数、时间间隔或生活建议。完整的一句反应不再因二十字限制被机械改写。
|
|
9
|
+
- 多人对话保留实际回应对象与引用证据,不因后面的笑声漏掉认真提问,也不把另一机器人的猜测当本人确认。没有新内容的机器人报备不再形成确认链或关系增长。
|
|
10
|
+
- 增加独立的可理解性检查:对方要求解释时,答案须让提问者读懂;修订与事实复核保留当前问题,校验阶段遵循配置的推理程度。
|
|
11
|
+
- 作品召回搜索相关历史版本;已有阅读可以核实,不再因近期记录缺失否认过去,也不披露无关私下正文。排除混入游戏资料的无关网页,保留原档案并阻止其成为进度证据或分享内容。
|
|
12
|
+
- 区分别人的写作与自己的阅读约定;等待正文时不执行成写作,不拿无关或旧书替代。新保存的念头核对行动与参与者,避免把愿望写成已完成经历。
|
|
13
|
+
- 更新中英文 README、能力边界与发布版本徽章;扩展历史回放、连续多人对话和回归测试。聊天记录与模型评测报告只留本地。
|
|
14
|
+
|
|
15
|
+
## 1.0.7 — 2026-10-09
|
|
16
|
+
|
|
17
|
+
- 调整理解与表达顺序:先核对本轮原话、连续补充、说话人和引用,再决定回应。被纠正时修正具体问题,不用道歉、内心独白或抽象比喻替代答案。
|
|
18
|
+
- 临时话题观点不再自动占据长期自我的核心位置;一次回复不形成固定话术习惯。相关旧想法仍可召回,跨群连续记忆、来源和私密范围保留。
|
|
19
|
+
- 已知机器人不再参与人类群聊口吻统计;无新内容的机器人确认循环会收住。明确要求停止时不再一边答应闭嘴一边继续建议,新的问题仍能重新回应。
|
|
20
|
+
- 修复游戏内容展示抹去来源与不确定性的错误。当前活动和作品片段带回参考阅读与材料来源,模型整理不再被展示层改写为客户端操作或通关。
|
|
21
|
+
- 重写针对最新被退回的稿子;重复确认事实不会因去重而被吞掉。旧话矛盾的修复只用于相关追问,不插入无关问答。收尾、未理解问题和危机场景分别处理。
|
|
22
|
+
- 增加全量会话分段审阅、历史场景回放与连续对话评测工具。调用模型的检查需显式运行,原始聊天和报告仅留本地,不随发布包分发。
|
|
23
|
+
|
|
24
|
+
## 1.0.5 — 2026-10-07
|
|
6
25
|
|
|
7
26
|
- 修复人际关系已绑定却无法在另一段会话中认出对方的问题。聊天、主动表达、独处、日记和回顾从同一份关系记录按名字、账号与称呼召回,不要求关系对象正在说话。
|
|
8
27
|
- 区分当前关系、过去看法和自己的感受。旧的否认或玩笑保留在历史中,不能替代更新后的事实;关系相关回复发送前再次核对,保持自己的相处与称呼选择。
|
|
@@ -16,19 +35,19 @@
|
|
|
16
35
|
- 检查更新新增「更新并重启」:先安装校验,再保留完整数据恢复点并切换;启动失败尝试恢复旧程序和数据。源码、npm 安装、配置与生活数据保留,重复点击合并,启动命令接续已更新程序。
|
|
17
36
|
- 补充关系权限、同名对象、身份、失败恢复、真实安装切换与不同屏幕回归。校验清单先检查文件哈希,再解析数据库,损坏文件不会返回原始 SQLite 结构错误。
|
|
18
37
|
|
|
19
|
-
|
|
20
|
-
## 1.0.3 — 2026-10-06
|
|
21
|
-
|
|
22
|
-
- 群人格改为「在这里的想法」:她根据各处真实相处选择性新增、修改或放下印象、愿望、偏好、疑问和分寸,保留理由、来源和版本。整体人格仍统一,复制来的旧正文仅留在历史中。
|
|
23
|
-
- 系统运行设置新增手动检查更新,显示当前版本、npm 最新版本及发布说明;有缓存、并发合并和失败重试,不自动安装或重启。
|
|
24
|
-
- 天性修改额度由服务端统一提供,支持有记录、幂等的本地额外机会,不删除原人格版本,不改变其他实例默认限制。
|
|
25
|
-
- 补充跨会话来源、选择性更新、重启持久化、更新失败恢复,以及桌面、平板和手机界面的回归检查。
|
|
26
|
-
|
|
27
|
-
## 1.0.2 — 2026-10-06
|
|
28
|
-
|
|
29
|
-
- 数据导入导出:流式导出完整 SQLite 数据包,导入前校验并预览;替换前保留恢复点,失败可回滚。
|
|
30
|
-
- 保留目标实例的管理登录和连接设置;导入后先关闭自动回复与插件授权,供管理员重新确认。临时包支持取消、过期和重启回收。
|
|
31
|
-
|
|
38
|
+
|
|
39
|
+
## 1.0.3 — 2026-10-06
|
|
40
|
+
|
|
41
|
+
- 群人格改为「在这里的想法」:她根据各处真实相处选择性新增、修改或放下印象、愿望、偏好、疑问和分寸,保留理由、来源和版本。整体人格仍统一,复制来的旧正文仅留在历史中。
|
|
42
|
+
- 系统运行设置新增手动检查更新,显示当前版本、npm 最新版本及发布说明;有缓存、并发合并和失败重试,不自动安装或重启。
|
|
43
|
+
- 天性修改额度由服务端统一提供,支持有记录、幂等的本地额外机会,不删除原人格版本,不改变其他实例默认限制。
|
|
44
|
+
- 补充跨会话来源、选择性更新、重启持久化、更新失败恢复,以及桌面、平板和手机界面的回归检查。
|
|
45
|
+
|
|
46
|
+
## 1.0.2 — 2026-10-06
|
|
47
|
+
|
|
48
|
+
- 数据导入导出:流式导出完整 SQLite 数据包,导入前校验并预览;替换前保留恢复点,失败可回滚。
|
|
49
|
+
- 保留目标实例的管理登录和连接设置;导入后先关闭自动回复与插件授权,供管理员重新确认。临时包支持取消、过期和重启回收。
|
|
50
|
+
|
|
32
51
|
## 1.0.1 — 2026-10-05
|
|
33
52
|
|
|
34
53
|
- 全局 npm 安装后直接运行 `luckytri`,服务端、WebUI、教程和内置插件一并安装;用户数据独立保存,更新和重装继续使用。
|
package/docs/zh/chat-style.md
CHANGED
|
@@ -12,18 +12,20 @@
|
|
|
12
12
|
- 对事情产生具体反应,不固定走「复述情绪、安慰、建议、追问」的流程。
|
|
13
13
|
- 吐槽不默认要建议;分享好消息不套负面安慰;真实难过时收起玩笑。
|
|
14
14
|
- 对话可以结束,不用每轮问「然后呢」,也不把每条消息都改写成段子。
|
|
15
|
+
- 先说清具体的人、事和动作,不把普通聊天改写成「账、落款、拎着」之类的隐喻。真正讨论记账、文学或明确要求比喻时,仍按语境表达。
|
|
16
|
+
- 被指出抽象或复读时,回看自己的上一句,解释实际意思;没有明确意思就承认没说清,不只回「收到」。
|
|
15
17
|
- 记忆与当前话题有关才使用,不主动展示记忆档案;没看懂指代就澄清,不编经历。
|
|
16
18
|
- 不为显得年轻而强行用梗。严肃语境优先于风格。
|
|
17
19
|
|
|
18
20
|
下面是人工设计的方向示例,不是外部模型实测结果:
|
|
19
21
|
|
|
20
|
-
| 对方说
|
|
21
|
-
|
|
|
22
|
-
| 还有五分钟下班,老板又来活了 | 偏偏挑快下班的时候
|
|
23
|
-
| 复习的全没考
|
|
24
|
-
| 面试过了!!
|
|
25
|
-
| 别给建议,让我骂两句
|
|
26
|
-
| 我先去洗澡了
|
|
22
|
+
| 对方说 | 希望的表达方向 |
|
|
23
|
+
| ---------------------------- | ------------------------ |
|
|
24
|
+
| 还有五分钟下班,老板又来活了 | 偏偏挑快下班的时候 |
|
|
25
|
+
| 复习的全没考 | 真就一点没押中 |
|
|
26
|
+
| 面试过了!! | 可以啊!!这不得开心一下 |
|
|
27
|
+
| 别给建议,让我骂两句 | 回应具体烦心事,不再补方案 |
|
|
28
|
+
| 我先去洗澡了 | 去吧 |
|
|
27
29
|
|
|
28
30
|
## 这个地方的说话节奏
|
|
29
31
|
|
|
@@ -33,6 +35,14 @@
|
|
|
33
35
|
|
|
34
36
|
## 反馈
|
|
35
37
|
|
|
38
|
+
关系记录中标为机器人的账号不参与群口吻统计;它们的消息和共同经历仍完整保存。连续机器人交流中,已经互相确认、没有新问题或新内容时会收住。识别依赖账号关系记录,不根据昵称猜身份;新问题、纠正、具体事件和明确的创作请求仍可继续。确认循环不会额外生成情绪变化或关系升温。
|
|
39
|
+
|
|
40
|
+
长期的自我在一轮新话题里保持稳定;当前相关的旧想法放在 `inner.relatedSelf`,手记只在有话题关联时放入 `inner.onMind`,不为填满上下文补无关内容。临时台词不保存成固定回复习惯;已有记录保留,但固定话术不再作为表达倾向交给她。
|
|
41
|
+
|
|
42
|
+
一次聊天提取的观点仍在记录里,但不自动成为每轮必带的核心立场。来自聊天提取的习惯,需要跨日经历支持,才能重新进入表达上下文。`exchange` 在上下文末尾保留当前消息、引用链和近期自己的原话,便于核对指代与补充;`understanding` 只是一句可检查的理解摘要,不是不可更改的结论。
|
|
43
|
+
|
|
44
|
+
游戏活动中的 `reference` 表示阅读游戏内容并产生感受;`model` 材料表示未经独立核验的模型整理。它们都不证明实际操控过游戏客户端。展示层保留来源和不确定性,不要求每句聊天解释技术,也不会把记录改写成没有发生的亲历。
|
|
45
|
+
|
|
36
46
|
在「对话」里可以对她发出的某条回复反馈:挺自然、太长了、太端着、梗太多,也可以撤销。反馈不是改写规则:它作为她听到的话,在独处和这个会话接下来的回合里被她自己读到,不会改写天性。
|
|
37
47
|
|
|
38
48
|
## 发出前的检查
|
|
@@ -41,6 +51,7 @@
|
|
|
41
51
|
|
|
42
52
|
- 客服腔或咨询模板、列表报告式回复、角色动作;
|
|
43
53
|
- 无根据的亲密称呼、超过长度、复读、连续追问;
|
|
54
|
+
- 大部分内容相同、仅换词或加收尾的近期回复;明确要求引用原话或重复事实时保留;
|
|
44
55
|
- 忽略「不用建议」、严肃场合玩梗、网络词堆叠;
|
|
45
56
|
- 把自己先说过的话说成对方说的(「你刚说……」而对方的记录里没有);
|
|
46
57
|
- 说自己玩过、通关过什么(她没有这样的经历记录,喜好不是玩过的记录);
|
|
@@ -48,9 +59,9 @@
|
|
|
48
59
|
|
|
49
60
|
被问「你怎么知道」时,会先核对依据:自己先开口的话(对方在那之前隔了两小时以上没说话),依据只能是推测或真有的记忆,不能说成看到了对方发来的消息;重写后仍编造来源时,改发一句核实过的更正。
|
|
50
61
|
|
|
51
|
-
|
|
62
|
+
发现问题后,普通聊天最多重写两次;主动消息和预算紧张时最多一次。每次重写针对刚被退回的稿子,保留原意与事实。仍不合格时,没被叫到就选择不说;直接对话则坦率说明还没理清楚,避免用「嗯、好、收到」假装理解。不会简单截断长句或删掉不确定性。仅因反复使用 hh 句尾装饰被退回时,可去掉装饰后重新完整校验,保留有用的内容。
|
|
52
63
|
|
|
53
|
-
|
|
64
|
+
倾诉、纠正、危机、抽象的机器人交流、来源归属和实际能力声明等场景,可能对每稿进行复审,因此会增加延迟和费用;重写次数有界。检查是保守规则,不保证覆盖所有生硬或错误的表达;真实的自然程度仍受模型、天性和具体群语境影响。
|
|
54
65
|
|
|
55
66
|
## 怎么试
|
|
56
67
|
|
|
@@ -60,3 +71,13 @@
|
|
|
60
71
|
- **审计**:`npm run audit:sent` 把她最近发出的回复按今天的检查重放一遍,只读、不调用模型。改动检查规则之前先跑一次,能看见新规则会不会误伤。发出的回复当时已经过检查,所以这个数字用来评估新规则,不是她说话质量的评分。
|
|
61
72
|
|
|
62
73
|
实际验收时建议观察连续 10–20 轮,而不是单看一句:是否接住细节、是否频繁问问题、是否重复口头禅、是否抢别人的话、是否突然换成客服腔、是否把玩笑和认真难过混淆。自动化测试覆盖工程约束和人工场景样例,真实模型的语言质量仍要靠你自己的观察。
|
|
74
|
+
|
|
75
|
+
源码仓库还可运行 `node --env-file-if-exists=.env scripts/dev/evaluate-dialogue.js --limit 120`:读取本地真实回合快照,用当前默认模型经过理解、校验、复审和重写链路回放,再单独审查理解、指代、表达、来源与隐私。它会调用模型并产生费用;不会连接 QQ 或写入运行中的记忆。完整报告仅保存到本地 `data/evaluations/`。存在调用错误、未解决的问题或兜底回复时返回失败,不把它们统计成通过。单模型复审仍有判断局限,应结合具体输出检查。
|
|
76
|
+
|
|
77
|
+
更完整的源码验收工具:
|
|
78
|
+
|
|
79
|
+
- `node --env-file-if-exists=.env scripts/dev/audit-dialogue-corpus.js`:读取全部真实消息,按会话分段并保留前文重叠,输出覆盖清单与待核实的问题。某段看不到来源不代表一定编造,需继续查历史证据。
|
|
80
|
+
- 回放加 `--current-nature --rebuild-mind --review-model <模型档案ID>`:在内存副本上按历史时间重新筛选心智,保留当时的进度快照,用指定的另一模型评审。适合验证上下文筛选变化;不等于重现当时的外部服务与图片状态。
|
|
81
|
+
- `node --env-file-if-exists=.env scripts/dev/evaluate-dialogue-sequences.js --review-model <模型档案ID>`:新生成的回复进入下一轮,检查连续追问、纠正、停止、亲近表达、能力和来源是否前后一致。
|
|
82
|
+
|
|
83
|
+
这些命令都会产生模型费用。自动评审可能漏判、误判或引用错句,应查看完整输出;规则矩阵的组合数不能当成同等数量的独立语义场景,也不能据此保证所有未来回复都自然准确。
|
package/docs/zh/guide.md
CHANGED
|
@@ -200,11 +200,11 @@ TA 的一切都存在这一个数据库里,所以服务运行时会自动备
|
|
|
200
200
|
| 界面动得太多 | 左下角「减少动画」;系统开启了减少动态效果时会自动关闭粒子和形变 |
|
|
201
201
|
|
|
202
202
|
不要把 API 密钥、`.env` 或私聊原文发到公开位置。
|
|
203
|
-
|
|
204
|
-
### 群里的独特想法与检查更新
|
|
205
|
-
|
|
206
|
-
「人际 → 在这里的想法」保存她在各处自己想留下的印象、愿望或疑问。由她根据实际相处选择更新,详情显示理由、来源和历史;旧群人格只留在历史里。
|
|
207
|
-
|
|
203
|
+
|
|
204
|
+
### 群里的独特想法与检查更新
|
|
205
|
+
|
|
206
|
+
「人际 → 在这里的想法」保存她在各处自己想留下的印象、愿望或疑问。由她根据实际相处选择更新,详情显示理由、来源和历史;旧群人格只留在历史里。
|
|
207
|
+
|
|
208
208
|
「人际 → 彼此的关系」可按账号绑定人或另一位机器人,设置妹妹、姐姐、朋友等双向称呼、名字、缘由和公开范围。她在交流、独处、日记与行动选择中知道这份关系;信任和亲近仍依据实际相处,绑定不会制造共同经历。修改和解除保留历史及原有记忆。私下关系只在与对方的私聊中使用,不按同名合并账号。
|
|
209
209
|
|
|
210
210
|
对方不在当前会话,也可以因名字或关系称呼被想起。当前关系、实际相处与自己的感受共同参与理解;关系更新前的看法作为历史保留,不再直接代表当前事实。相关回复发送前会再次核对。她仍选择如何相处和称呼,不机械播报关系字段。
|
package/docs/zh/her-life.md
CHANGED
|
@@ -187,5 +187,5 @@ flowchart TD
|
|
|
187
187
|
- 她在一个群听到的事,可能在另一个相关的群里提起;拦着的只有「私下知道」的分寸、保密请求和凭据。
|
|
188
188
|
- 约定只在整理记忆时提取:积压不到 40 条的会话会在当晚整理,所以当天下午说的「明天」通常能赶上,几分钟后就要发生的事可能来不及。
|
|
189
189
|
- 工程能保证的是结构:连续、有来源、可修正、由她自己决定。她是否「真的有心」无法用测试验收;这些测试检验的是这些行为有没有真的发生。
|
|
190
|
-
|
|
191
|
-
各处的想法以独立条目保存,可以是印象、愿望、偏好、疑问或相处分寸。她在独处、日记或身份回看时自己选择是否更新;新增、修改和放下都保留理由及来源,修改一条不替换其他条。复制的旧群人格只保留历史,不再进入交流;各处想法不单独增加整体人格刻度。
|
|
190
|
+
|
|
191
|
+
各处的想法以独立条目保存,可以是印象、愿望、偏好、疑问或相处分寸。她在独处、日记或身份回看时自己选择是否更新;新增、修改和放下都保留理由及来源,修改一条不替换其他条。复制的旧群人格只保留历史,不再进入交流;各处想法不单独增加整体人格刻度。
|
package/docs/zh/webui.md
CHANGED
|
@@ -71,7 +71,7 @@ studio-web/src/
|
|
|
71
71
|
- `npm run test:ui`:独立的临时数据库、模拟通道,不向真实群发送;覆盖冒烟(会话、模拟消息、记忆、模型、连接 QQ 两种方式、教程页)、小世界(心情主题与夜晚、固定主题、减少动画、星图撤销、人物详情、日记与约定)、导航缓存、时间页、性能与英文界面(中文只允许出现在她自己的内容里);宽度覆盖 1440 / 820 / 390。
|
|
72
72
|
- `node tests/ui/ta.mjs --serve`:打开一个过了三天的示例世界,方便直接看界面。
|
|
73
73
|
- 截图只放在被忽略的 `workspace/` 目录,真实聊天截图和配置不得提交。
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
系统 → 运行开关中的「版本与更新」支持手动检查 npm 最新版本,显示当前版本、上次成功检查与发布说明。五分钟内复用结果,断网时保留上次信息并显示失败。点击「更新并重启」才下载校验、留备份并切换实例,页面显示阶段,重启期间等待连接恢复;重复点击不产生第二次安装。
|
|
76
76
|
|
|
77
77
|
人际页的「彼此的关系」按账号绑定人或其他机器人,使用主题下拉框设置对象类型、双向称呼、名字与分寸;人物详情显示关系历史。解除关系不删除相处记录。列表摘要按需读取,正文与原有聊天缓存不受影响。
|