About Xinchao Nian
Xinchao Nian is an MCP server published by tianyupaipai-cmd in the Commerce category: 心潮念(Xinchao·Nian)— 会惦记你的AI心智:心潮动态驱力引擎 + Ombre Brain 记忆库深度融合,一键联合部署。非商业(含OB二改约束)。. Conduid read 27 tools from its source: I, anchor, board_post, board_read, breath, dream and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 358 stars and 124 forks, is licensed AGPL-3.0, and its last commit was on 1 Dec 2026. The latest release is v4.3.0 (31 Oct 2026): 驱力提示「攒着」:先攒着,晚点一起说 驱力提示不再只有「现在说」和「不说」:对方在忙(宿主报了正和谁在一起)、正在通话、两条间隔还没到时,能攒的那几股先攒着;等挂了电话、对方离开半小时以上回来、或到了睡前那个点,再合成一条一起说。 放出来之前每条再核一遍:还在涌 / 涨、或还在静息线七成以上才说;已经落下去的(被满足了、气消了)不提,全… It follows v4.2.0 (26 Oct 2026), and the 3 most recent releases go back to v4.0.0 (4 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include ai-companion, docker-compose and memory.
Install
git clone https://github.com/tianyupaipai-cmd/xinchao-nianTools (27)
I记录或读取自我认知条目。content=要记录的自我认知内容(空=进入读取模式)。aspect=维度:nature(本质)/values(看重的)/patterns(规律)/limits(局限)/becoming(变化方向)/uncertainty(不确定的)/stance(立场)(可选)。read=True=读取所有已积累条目。limit=返回条数上限(默认 20)。条目不参与普通 breath/dream,SessionStart 时自动附最近 3 条。| Parameter | Type | Description |
|---|---|---|
| aspect | string | |
| content | string | |
| limit | integer | |
| read | boolean |
anchor把指定桶标记为 anchor(坐标系)。anchor 不主动出现在默认 breath,但 query/domain/emotion 命中时仍返回。硬上限 24,已满时拒绝并提示先 release。| Parameter | Type | Description |
|---|---|---|
| bucket_id * | string |
board_post| Parameter | Type | Description |
|---|---|---|
| content * | string | 要贴上墙的留言正文,200 字以内。 |
board_read| Parameter | Type | Description |
|---|---|---|
| limit | integer | 返回条数,默认 10,最多 50。 |
| query | string | 可选关键词;只想看含某个词的留言时用,留空则看最新的。 |
breath检索并返回记忆桶。不传 query=返回权重最高的未解决记忆;传 query=融合关键词/BM25+语义检索,向量不可用时明确提示并退回关键词检索。命中后逐字返回桶内当前 content,不调用 LLM 摘要/改写;max_tokens 不足时整桶省略,绝不截断正文。catalog=True=目录模式:只返回每桶一行元数据(名称|域|重要度,0 LLM 调用,最省 token),适合开新对话先看目录再 breath(query=...) 精准拉取,可配 domain 过滤。max_tokens=单次返回总 token 上限(默认 config.surfacing.breath_max_tokens,fallback 10000)。domain 逗号分隔,valence/arousal 0~1(-1 忽略)。max_results=返回条数上限(默认 config.surfacing.breath_max_results,fallback 20,最大 50)。importance_min>=1=跳过语义检索,按重要度降序返回最多 20 条高重要度记忆。tags 逗号分隔,AND 过滤;tags=\"feel\" 或 \"__feel__\" 等价于 domain=\"feel\",返回所有 feel 类记忆。| Parameter | Type | Description |
|---|---|---|
| arousal | number | |
| catalog | boolean | |
| domain | string | |
| importance_min | integer | |
| max_results | integer | |
| max_tokens | integer | |
| query | string | |
| tags | string | |
| valence | number |
dream读取最近 window_hours(默认 48h)内有变动的所有记忆桶,用于回顾与消化。| Parameter | Type | Description |
|---|---|---|
| window_hours | integer |
forget按 ID 软删除一条错误记忆。只写 deleted 标记、时间与原因,正文留在本地归档;删除后不再参与 breath、dream、trace 或 feel。工具不读取、返回或记录记忆正文。| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| reason * | string |
grow仅在对话中已明确要求整理并写入长期记忆时调用,不要根据普通聊天自行推断写入意图。默认 auto=False 为人工直通,不进入自动候选区、不要求重复;后台来源必须显式传 auto=True 和 source。整理一段长文本(如一天的记录/一段日记/一篇总结)存入记忆,系统拆分为 2~6 条独立事件桶并各自尝试合并。短内容(<30 字)走 hold 单条快速路径,不强行拆分。| Parameter | Type | Description |
|---|---|---|
| auto | boolean | |
| content | string | |
| items | array | |
| source | string |
hold| Parameter | Type | Description |
|---|---|---|
| arousal | number | |
| auto | boolean | |
| content * | string | |
| feel | boolean | |
| importance | integer | |
| meaning | string | |
| media | array | |
| pinned | boolean | |
| source | string | |
| source_bucket | string | |
| tags | string | |
| valence | number | |
| why_remembered | string |
letter_read检索历史信件。query=语义检索(可选);author 按署名过滤(\"user\"=用户侧,\"ai\"=AI 侧,也可传具体署名字符串);date_from/date_to=ISO 日期范围(可选)。无 query 时按时间倒序返回最近 limit 封。返回完整原文,不压缩。| Parameter | Type | Description |
|---|---|---|
| author | string | |
| date_from | string | |
| date_to | string | |
| limit | integer | |
| query | string |
letter_write写入一封信。author 必填:\"user\"=用户一方写的,\"ai\"(或等于 ai_name)=AI 一方写的,也可直接传任意署名字符串;user_name 可选;ai_name 可选(默认取环境变量 AI_NAME,回退 \"AI\");title/date 可选。信件原文永久保存,不压缩/不合并/不衰减,仅建向量索引;普通 breath 不返回,SessionStart 钩子会带上双方各最新一封。| Parameter | Type | Description |
|---|---|---|
| ai_name | string | |
| author * | string | |
| content * | string | |
| date | string | |
| title | string | |
| user_name | string |
plan登记一个待办/承诺/未闭环事项。status=active(默认)/resolved/abandoned。related_bucket 可选,关联到某个普通记忆桶。weight=承诺重量 0.0-1.0(默认 0.5),与 importance 区分——importance 表示「多重要」、weight 表示「多重」。why_remembered=登记原因(可选、仅展示)。plan 不衰减、不出现在普通 breath,仅在 dream 末尾的 active 段返回;后续 hold/grow 写入新事件时系统自动判断已登记的 plan 是否完成。| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| related_bucket | string | |
| status | string | |
| weight | number | |
| why_remembered | string |
pulse返回记忆系统状态摘要:固化/动态/归档/feel/plan/letter 数量、总占用、衰减引擎运行状态,以及所有桶的摘要列表。include_archive=True 同时返回归档区。| Parameter | Type | Description |
|---|---|---|
| include_archive | boolean |
purge永久删除一条已先经过 forget 的记忆及其托管索引、向量和缓存。confirm_id 必须与 id 完全一致;不可恢复。审计仅保留 ID、时间和原因,不保留正文。| Parameter | Type | Description |
|---|---|---|
| confirm_id * | string | |
| id * | string | |
| reason * | string |
release解除指定桶的 anchor 标记。桶恢复为普通状态,重新参与默认 breath;pinned 状态保留。| Parameter | Type | Description |
|---|---|---|
| bucket_id * | string |
restore按 ID 恢复一条由 forget 软删除的记忆。工具不返回记忆正文。| Parameter | Type | Description |
|---|---|---|
| id * | string |
trace| Parameter | Type | Description |
|---|---|---|
| arousal | number | |
| bucket_id * | string | |
| content | string | |
| delete | boolean | |
| digested | integer | |
| domain | string | |
| dont_surface | integer | |
| importance | integer | |
| meaning_append | string | |
| meaning_replace | array | |
| media_append | array | |
| media_replace | array | |
| name | string | |
| pinned | integer | |
| resolved | integer | |
| status | string | |
| tags | string | |
| valence | number | |
| weight | number | |
| why_remembered | string |
xinchao_anchor_update| Parameter | Type | Description |
|---|---|---|
| action * | string | add 新增/更新(同 key 覆盖),remove 删除。 |
| anchor | object | |
| key | string | remove 时要删的锚点 key(或 label)。 |
xinchao_awareness| Parameter | Type | Description |
|---|---|---|
| action | string | 默认 list。 |
| aspect | string | confirm 时可选:写进 OB 的 I 时用哪个维度。 |
| id | string | confirm / dismiss 时必填,来自 list 或上下文信封。 |
| note | string | 可选补充。 |
| text | string | confirm 时可选:用我自己的话写一句。写了这句才会进 OB;不写只在心潮记一笔确认。 |
xinchao_box| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| expires_hours | number | |
| id | string | |
| kind | string | |
| remind_at | string | 到点提醒(ISO,如 2026-09-13T21:00:00+08:00):到时自动露头,并递一句到你窗口;只提醒一次 |
| surface | boolean | 要不要在新窗口的上下文里露一行标题提醒自己 |
| text | string | |
| title | string | |
| when | string | 这条事本身的日期或时间(ISO,如 2026-09-14) |
xinchao_cabin_inbox读取用户在小屋里明确开锁、允许 AI 查看的人类来信,以及你自己之前用 xinchao_cabin_note 写过的信(对方看过没有也会标出)。上锁的信只告诉你有几封、最近一封是什么时候,不返回正文,也不能绕过锁读取。xinchao_cabin_note给用户的小屋留下一封自由长度的信或便签。只写你主动想留下的内容,不要复制聊天原文、密钥或技术日志。| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| event_id * | string | 本次写入的唯一标识;重试时必须复用。 |
| timestamp | string | 可选 ISO 时间;通常省略并使用服务端当前时间。 |
xinchao_context| Parameter | Type | Description |
|---|---|---|
| force | boolean | 忽略本窗口的一次性交付记录并重新获取。 |
| max_tokens | integer | |
| mode | string | |
| session_id | string | 可选覆盖值。通常省略,由服务端使用当前 MCP 连接的稳定窗口标识。 |
xinchao_event| Parameter | Type | Description |
|---|---|---|
| attention | number | |
| cause | string | 可选,只配合 interaction_type=conflict:她那句让你不痛快的话(≤60 字)。心潮会记着在气什么,和好或气消了自动忘。 |
| closeness | string | 只配合 empathy:那个人离你多近(her=她本人,family=家人和挚友,known=认识的人/笔友/论坛同类,stranger=陌生人/新闻)。 |
| confidence | number | |
| event_id * | string | 本次真实互动的唯一不透明标识;重试必须复用同一个值以避免重复结算。 |
| exchange | string | 可选:这轮对话的一小段(她说的 + 你回的),没填 interaction_type 时服务端据此判类型和氛围。只走这一跳,不落盘。 |
| interaction_type | string | |
| session_id | string | 可选覆盖值。通常省略,由服务端使用当前 MCP 连接的稳定窗口标识。 |
| sub | string | 可选,配合 conflict / loss / slighted / empathy:是哪一种(生气/不满/不甘心;失落/委屈/分别/自责;吃醋/被晾着/被忘;心疼/不平/想帮忙/替人高兴)。不确定就别传,只记大类。 |
| tension | number | |
| tone | string | |
| ttl_minutes | integer | |
| warmth | number | |
| who | string | 只配合 empathy:是谁、什么事(≤20 字),用来给同一件事去重。 |
xinchao_handoff_note| Parameter | Type | Description |
|---|---|---|
| event_id * | string | 本次便签的唯一不透明标识;重试必须复用同一个值。 |
| note * | string | |
| session_id | string | 可选覆盖值。通常省略,由服务端使用当前 MCP 连接的稳定窗口标识。 |
| ttl_hours | integer |
xinchao_personality_reflect| Parameter | Type | Description |
|---|---|---|
| dimensions * | array | |
| month * | string | 评估月份,格式 YYYY-MM。 |
| period_summary | string | 本月关键经历的记忆摘要,用来解释这次为什么这样打分;由你回顾本月后自己写。可选。 |
xinchao_personality_stats| Parameter | Type | Description |
|---|---|---|
| include_reasons | boolean | 是否一并返回每维的私人理由(默认否,属私密文本)。 |
Security checks
- ✓README presentThe repository's README runs to about 675 words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionScanned 233 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 675 words, fetched 13 days ago. The original in the repository is authoritative.
Read full README