feiyu-brain 1.1.1 → 1.2.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/README.md CHANGED
@@ -25,6 +25,26 @@ Node ≥ 20。零依赖。
25
25
 
26
26
  ---
27
27
 
28
+ ## 两种用法
29
+
30
+ | | 怎么用 | 给谁 |
31
+ |---|---|---|
32
+ | **库** | `import { createBrain } from 'feiyu-brain'` | 自己写宿主的人 |
33
+ | **DSH 插件** | `dsh plugin add feiyu-brain` | 想直接让模型读写这条鱼的人 |
34
+
35
+ 插件形态注册 4 个工具:
36
+
37
+ | 工具 | 干什么 |
38
+ |---|---|
39
+ | `feiyu_status` | 她现在什么状态(人设 / 自知 / 意识流 / 身体 / 记忆 / 不变量) |
40
+ | `feiyu_wake` | 取"此刻的她",拼进 system prompt |
41
+ | `feiyu_observe` | 记一次经历(权重会动,记忆会进) |
42
+ | `feiyu_tick` | 每日结算(衰减 / 遗忘 / 蜕皮) |
43
+
44
+ 对话仍然由宿主自己的模型完成——插件只负责**她是谁**。
45
+
46
+ ---
47
+
28
48
  ## 两种接法
29
49
 
30
50
  | 你是谁 | 用哪个 | 说明 |
@@ -0,0 +1,19 @@
1
+ # feiyu-brain 自带的挂载声明。
2
+ #
3
+ # entry 的 id 必须与包名一致(feiyu-brain),DSH 靠它把设置命名空间对上。
4
+ #
5
+ # 装法(二选一):
6
+ # A. dsh plugin --profile desktop add feiyu-brain
7
+ # (把包加进 profile 的 dsh.profile.bundles,启动时装配)
8
+ # B. 手工在 profile 的 cordis.patch.yml 里加一条同 id 的 insert(热重载,不用重启)
9
+ # ⚠️ A 和 B 只能选一个,两条都写会出现重复 entry。
10
+
11
+ - insert:
12
+ - id: feiyu-brain
13
+ name: feiyu-brain
14
+ config:
15
+ brainId: default
16
+ # 她的档案放哪(留空 = 包同级的 state/,或环境变量 FEIYU_DATA_DIR)
17
+ dataDir: ""
18
+ # 角色卡目录(里面放 <名字>.md;留空 = 包同级的 roles/,或 FEIYU_ROLE_DIR)
19
+ roleDir: ""
@@ -0,0 +1,253 @@
1
+ /**
2
+ * feiyu-brain —— DSH 插件入口
3
+ * ============================================================================
4
+ * 同一个包有两种用法:
5
+ * ① 库:`import { createBrain } from 'feiyu-brain'`(下面 re-export 了全部)
6
+ * ② 插件:`dsh plugin add feiyu-brain` → 注册 4 个工具,模型可以直接读写这条鱼
7
+ *
8
+ * 工具是**读写大脑**,不是"生成对话"——对话仍然由宿主自己的模型完成。
9
+ *
10
+ * feiyu_status 她现在什么状态(人设/自知/意识流/身体/记忆/不变量)
11
+ * feiyu_wake 取"此刻的她",宿主把它拼进 system prompt
12
+ * feiyu_observe 记一次经历(权重会动、记忆会进)
13
+ * feiyu_tick 每日结算(衰减 / 遗忘 / 蜕皮)
14
+ *
15
+ * 设计约束:
16
+ * - `@deepseek-ai/dsh-tools` 是 optional peer,桌面版可能没有 ⇒ 取不到就降级,
17
+ * 用 identity 透传,**不能让整条插件不激活**。
18
+ * - 工具返回值必须是无损 JSON(宿主会对函数/循环引用报错)。
19
+ * - 找不到角色卡时不是抛异常,而是返回一句话说明怎么配。
20
+ * ============================================================================
21
+ */
22
+ import { loadHostPackage } from './hostdeps.mjs';
23
+ import * as brain from '../index.js';
24
+ import { BODY_KINDS } from '../core/body.js';
25
+
26
+ export * from '../index.js';
27
+
28
+ export const name = 'feiyu-brain';
29
+ // 只声明 tools:没有 webServer 也要能装
30
+ export const inject = ['tools'];
31
+
32
+ let defineTool = null;
33
+ try {
34
+ const dshTools = await loadHostPackage('dsh-tools');
35
+ if (typeof dshTools?.defineTool === 'function') defineTool = dshTools.defineTool;
36
+ } catch { /* 降级 */ }
37
+ if (typeof defineTool !== 'function') defineTool = (options) => options;
38
+
39
+ /** 宿主只吃无损 JSON */
40
+ const safe = (v) => {
41
+ if (v === undefined || v === null || typeof v === 'string' || typeof v === 'number' || typeof v === 'boolean') return v;
42
+ try { return JSON.parse(JSON.stringify(v)); } catch { return String(v); }
43
+ };
44
+
45
+ const textOutput = {
46
+ schema: { type: 'object', properties: {}, additionalProperties: true },
47
+ render: (_args, value) => {
48
+ const text = value && typeof value === 'object' && typeof value.text === 'string'
49
+ ? value.text
50
+ : JSON.stringify(value, null, 2);
51
+ return [{ type: 'text', text }];
52
+ },
53
+ };
54
+
55
+ const pickStr = (v, fallback = '') => (typeof v === 'string' && v.trim() ? v.trim() : fallback);
56
+
57
+ function fail(text, code = 'E_BRAIN') {
58
+ return { ok: false, code, text: `❌ ${text}` };
59
+ }
60
+
61
+ /** 大脑抛错时,翻成人能照着做的话 */
62
+ function explain(error) {
63
+ const msg = String(error?.message ?? error);
64
+ if (/找不到角色卡/.test(msg)) {
65
+ return `${msg}
66
+
67
+ 怎么配(二选一):
68
+ · 把角色卡放到 <dataDir>/../roles/<名字>.md,并在插件设置里填 roleDir
69
+ · 或者把 current-role.json 放进 dataDir:{"role":"辞辞"}
70
+
71
+ 这块的规则见 docs/MIGRATION.md。`;
72
+ }
73
+ return msg;
74
+ }
75
+
76
+ const fmtPct = (n) => `${(Number(n) * 100).toFixed(1)}%`;
77
+
78
+ export function apply(ctx, entryConfig = {}) {
79
+ const conf = {
80
+ brainId: pickStr(entryConfig?.brainId, 'default'),
81
+ dataDir: pickStr(entryConfig?.dataDir, process.env.FEIYU_DATA_DIR || ''),
82
+ roleDir: pickStr(entryConfig?.roleDir, process.env.FEIYU_ROLE_DIR || ''),
83
+ };
84
+
85
+ if (conf.dataDir || conf.roleDir) {
86
+ brain.configure({
87
+ dataDir: conf.dataDir || undefined,
88
+ roleDir: conf.roleDir || undefined,
89
+ });
90
+ }
91
+
92
+ if (!ctx?.tools?.register) {
93
+ return;
94
+ }
95
+
96
+ const tool = (spec) => ctx.tools.register(defineTool({
97
+ ...spec,
98
+ output: spec.output || textOutput,
99
+ async execute(args = {}) {
100
+ try {
101
+ return safe(await spec.execute(args));
102
+ } catch (e) {
103
+ return safe(fail(`工具执行出错:${explain(e)}`, 'E_THROWN'));
104
+ }
105
+ },
106
+ }));
107
+
108
+ const idOf = (args) => pickStr(args?.id, conf.brainId);
109
+
110
+ /* ── 1. 状态 ─────────────────────────────────────────── */
111
+ tool({
112
+ name: 'feiyu_status',
113
+ description:
114
+ '看这条鱼现在的状态:人设卡、自知风格(四种方向的份量)、意识流档位、身体(手机/平板/电脑)、'
115
+ + '命题数量、记忆计数、以及十二条不变量的自检结果。不修改任何东西。',
116
+ parameters: {
117
+ type: 'object',
118
+ properties: {
119
+ id: { type: 'string', description: '鱼的 id,默认 default' },
120
+ },
121
+ additionalProperties: false,
122
+ },
123
+ async execute(args) {
124
+ const id = idOf(args);
125
+ const s = brain.snapshot(id);
126
+ const style = Object.entries(s.style)
127
+ .map(([k, v]) => `${k} ${fmtPct(v)}`)
128
+ .join(' / ');
129
+
130
+ const lines = [
131
+ `🐟 ${s.id} · 人设卡 ${s.roleCard}`,
132
+ `自知 ${s.styleName}(${style})`,
133
+ `意识流 ${s.flow.name}(${s.flow.level})`,
134
+ `身体 ${s.body ? `${s.body.label}(${s.body.screen},${s.body.posture},${s.body.ownership})` : '无'}`,
135
+ `命题 ${s.weights.count} 条(身份 ${s.weights.identity} 条,总权重 ${s.weights.totalWeight})`,
136
+ `记忆 经历 ${s.memory.episodes} / 印象 ${s.memory.impressions} / 幻想 ${s.memory.imagination} / 蜕皮 ${s.memory.formerSelves} / 遗忘 ${s.memory.forgotten}`,
137
+ `观察 ${s.observations} 次`,
138
+ '',
139
+ '权重最高的五条:',
140
+ ...s.weights.top.map((u) => ` ${u.id} ${u.weight} ${u.text}`),
141
+ '',
142
+ s.invariants.length ? `不变量违规 ${s.invariants.length} 条:\n${s.invariants.map((v) => ` ✘ ${v.id}: ${v.msg}`).join('\n')}` : '不变量:全部通过 ✔',
143
+ ];
144
+ return { ok: true, text: lines.join('\n'), snapshot: s };
145
+ },
146
+ });
147
+
148
+ /* ── 2. 唤醒段 ───────────────────────────────────────── */
149
+ tool({
150
+ name: 'feiyu_wake',
151
+ description:
152
+ '取"此刻的她"——一段可直接拼进 system prompt 的定长文本(人设 brief + 手上的东西 + 想到的事)。'
153
+ + '不记录经历。触发者为谁、说了什么,传 sender / text 能让检索更准。',
154
+ parameters: {
155
+ type: 'object',
156
+ properties: {
157
+ id: { type: 'string', description: '鱼的 id,默认 default' },
158
+ sender: { type: 'string', description: '当前说话的人,用于检索对他的记忆' },
159
+ text: { type: 'string', description: '他说的话,用于关键词检索' },
160
+ },
161
+ additionalProperties: false,
162
+ },
163
+ async execute(args) {
164
+ const id = idOf(args);
165
+ const text = brain.wakeLine(id, {
166
+ sender: pickStr(args?.sender),
167
+ text: pickStr(args?.text),
168
+ });
169
+ if (!text.trim()) return fail('大脑没有产出内容,先跑 feiyu_status 看看');
170
+ return { ok: true, text, chars: text.length };
171
+ },
172
+ });
173
+
174
+ /* ── 3. 记一次经历 ───────────────────────────────────── */
175
+ tool({
176
+ name: 'feiyu_observe',
177
+ description:
178
+ '让她"经历"一件事:相关的命题权重 ±0.01,记忆里进一条 episode,印象里的互动次数 +1。'
179
+ + '这是她长大的唯一途径——不调用,人设就永远不变。',
180
+ parameters: {
181
+ type: 'object',
182
+ properties: {
183
+ id: { type: 'string', description: '鱼的 id,默认 default' },
184
+ who: { type: 'string', description: '和谁发生了这件事' },
185
+ text: { type: 'string', description: '发生了什么(她听到/看到的那句话)' },
186
+ feel: { type: 'string', description: '她当时的感受,可留空' },
187
+ },
188
+ required: ['text'],
189
+ additionalProperties: false,
190
+ },
191
+ async execute(args) {
192
+ const id = idOf(args);
193
+ const who = pickStr(args?.who);
194
+ const text = pickStr(args?.text);
195
+ if (!text) return fail('text 不能为空');
196
+
197
+ const r = brain.observe(id, { who, text, what: text.slice(0, 80), feel: pickStr(args?.feel), via: 'dsh' });
198
+ const changed = r.consistent.length + r.conflicting.length;
199
+ return {
200
+ ok: true,
201
+ text: [
202
+ `记下了:${who ? `${who}「${text}」` : `「${text}」`}`,
203
+ `权重 一致 ${r.consistent.length} 条 / 冲突 ${r.conflicting.length} 条${changed ? '' : '(没匹配到命题,人设不动)'}`,
204
+ r.label ? `归因 ${r.label}` : '',
205
+ ].filter(Boolean).join('\n'),
206
+ matched: changed,
207
+ };
208
+ },
209
+ });
210
+
211
+ /* ── 4. 每日结算 ─────────────────────────────────────── */
212
+ tool({
213
+ name: 'feiyu_tick',
214
+ description:
215
+ '跑一次每日结算:命题衰减、记忆 TTL 到期遗忘、权重到底的蜕皮成"我以前……"。幂等,一天跑多次也只结算一次。',
216
+ parameters: {
217
+ type: 'object',
218
+ properties: {
219
+ id: { type: 'string', description: '鱼的 id,默认 default' },
220
+ },
221
+ additionalProperties: false,
222
+ },
223
+ async execute(args) {
224
+ const id = idOf(args);
225
+ const before = brain.snapshot(id);
226
+ const b = brain.settleBrain(id);
227
+ const after = brain.snapshot(id);
228
+ const shed = after.memory.formerSelves - before.memory.formerSelves;
229
+ const forgot = after.memory.forgotten - before.memory.forgotten;
230
+ return {
231
+ ok: true,
232
+ text: [
233
+ '结算完成。',
234
+ `蜕皮 ${shed > 0 ? `+${shed} 条沉进"我以前……"` : '0'}`,
235
+ `遗忘 ${forgot > 0 ? `+${forgot} 条(真的没有了)` : '0'}`,
236
+ `命题 ${after.weights.count} 条,总权重 ${after.weights.totalWeight}`,
237
+ ].join('\n'),
238
+ shed,
239
+ forgot,
240
+ };
241
+ },
242
+ });
243
+
244
+ /* ── 配置检查(不注册工具,只打一行日志)───────────── */
245
+ try {
246
+ const s = brain.snapshot(conf.brainId);
247
+ ctx.logger?.info?.(`[feiyu-brain] ${s.id} · ${s.roleCard} · ${s.weights.count} 条命题 · ${s.styleName}`);
248
+ } catch {
249
+ ctx.logger?.warn?.('[feiyu-brain] 还没有角色卡,工具会提示你配置(见 docs/MIGRATION.md)');
250
+ }
251
+ }
252
+
253
+ export { BODY_KINDS };
@@ -0,0 +1,68 @@
1
+ /**
2
+ * lib/hostdeps.mjs —— 从**宿主那棵树**里取 `@deepseek-ai/*`(取不到就降级)
3
+ *
4
+ * 为什么不能直接 `import '@deepseek-ai/dsh-tools'`:
5
+ * 插件是以 `link:` 装进 profile 的,Node 默认按真实路径解析 ⇒ 从
6
+ * `~/.dsh/plugins/<插件>/lib/` 往上找 node_modules,进不到 profile 的树。
7
+ * 裸 import 会静默失败,工具就一个都注册不上。
8
+ *
9
+ * 顺序:① 直接 import(自己带了依赖)→ ② 宿主 profile 树 → ③ null(降级)
10
+ */
11
+ import { existsSync, readdirSync, readFileSync } from 'node:fs';
12
+ import { homedir } from 'node:os';
13
+ import { join } from 'node:path';
14
+ import { pathToFileURL } from 'node:url';
15
+
16
+ function dshHome() {
17
+ return process.env.DSH_HOME || join(homedir(), '.dsh');
18
+ }
19
+
20
+ /** 可能藏着 @deepseek-ai 的目录,按可能性排序 */
21
+ export function candidateRoots() {
22
+ const roots = [];
23
+ const push = (p) => { if (p && !roots.includes(p)) roots.push(p); };
24
+
25
+ if (process.env.DSH_HOST_MODULES) push(process.env.DSH_HOST_MODULES);
26
+
27
+ try {
28
+ for (const profile of readdirSync(join(dshHome(), 'profiles'))) {
29
+ push(join(dshHome(), 'profiles', profile, 'node_modules', '@deepseek-ai'));
30
+ }
31
+ } catch { /* 没有 profiles 就算了 */ }
32
+
33
+ push(join(dshHome(), 'node_modules', '@deepseek-ai'));
34
+ return roots;
35
+ }
36
+
37
+ function entryUrlFor(root, name) {
38
+ try {
39
+ const dir = join(root, name);
40
+ const pkgFile = join(dir, 'package.json');
41
+ if (!existsSync(pkgFile)) return null;
42
+ const pkg = JSON.parse(readFileSync(pkgFile, 'utf8'));
43
+ const dot = pkg.exports?.['.'];
44
+ const rel = typeof dot === 'string' ? dot : (dot?.import || dot?.default || pkg.module || pkg.main);
45
+ if (!rel) return null;
46
+ const file = join(dir, String(rel).replace(/^\.\//, ''));
47
+ return existsSync(file) ? pathToFileURL(file).href : null;
48
+ } catch { return null; }
49
+ }
50
+
51
+ /**
52
+ * 取一个 @deepseek-ai 包。
53
+ * @param {string} name 例如 'dsh-tools'
54
+ * @returns {Promise<any|null>}
55
+ */
56
+ export async function loadHostPackage(name) {
57
+ try {
58
+ return await import(`@deepseek-ai/${name}`);
59
+ } catch { /* 继续往下找 */ }
60
+
61
+ for (const root of candidateRoots()) {
62
+ const url = entryUrlFor(root, name);
63
+ if (!url) continue;
64
+ try { return await import(url); } catch { /* 换下一个 */ }
65
+ }
66
+
67
+ return null;
68
+ }
@@ -0,0 +1,18 @@
1
+ # DSH 插件市场条目
2
+ #
3
+ # 提交位置:awesome-dsh-plugin/awesome-dsh-plugin
4
+ # data/plugins/fangqiuci__feiyu-brain.yml
5
+ # 文件名是 **双下划线**(<owner>__<repo>.yml),不是单个。
6
+ #
7
+ # 提交前确认三件事(CI 会自动查):
8
+ # ① 仓库 package.json 里有 "dsh": { "bundle": { "patch": "./cordis.patch.yml" } }
9
+ # ② 仓库创建满 1 天(未满也能提,CI 会几小时后自动重跑)
10
+ # ③ 仓库打了 `dsh-plugin` topic
11
+
12
+ url: https://github.com/fangqiuci/feiyu-brain
13
+ name: fangqiuci/feiyu-brain
14
+ category: memory
15
+
16
+ description:
17
+ en: 'Persona-grounded brain kernel with four tools (feiyu_status, feiyu_wake, feiyu_observe, feiyu_tick): weighted traits that erode into memories, a 30-day recall window, PAD emotions, and phone/tablet/desktop bodies.'
18
+ zh: '以人设为根的大脑内核,提供 4 个工具(feiyu_status / feiyu_wake / feiyu_observe / feiyu_tick):带权重的命题随经历涨落、蜕皮成记忆,30 天回忆窗口,PAD 三维情绪,手机/平板/电脑三具身体。'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "feiyu-brain",
3
- "version": "1.1.1",
4
- "description": "大肥鱼的大脑内核:人设是根,情绪/记忆/意识流/归因都是从人设长出来的。平台无关。",
3
+ "version": "1.2.0",
4
+ "description": "大肥鱼的大脑内核:人设是根,情绪/记忆/意识流/归因都是从人设长出来的。DSH 插件 + 平台无关库。",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -15,9 +15,10 @@
15
15
  "engines": {
16
16
  "node": ">=20"
17
17
  },
18
- "main": "./index.js",
18
+ "main": "./lib/dsh-plugin.mjs",
19
19
  "exports": {
20
- ".": "./index.js",
20
+ ".": "./lib/dsh-plugin.mjs",
21
+ "./lib": "./lib/dsh-plugin.mjs",
21
22
  "./adapters": "./adapters/index.js",
22
23
  "./adapters/qq-bridge": "./adapters/qq-bridge.js",
23
24
  "./adapters/tencent-official": "./adapters/tencent-official.js",
@@ -33,14 +34,21 @@
33
34
  "cli.mjs",
34
35
  "demo.mjs",
35
36
  "selftest.mjs",
37
+ "cordis.patch.yml",
36
38
  "core/",
37
39
  "adapters/",
40
+ "lib/",
38
41
  "docs/",
39
42
  "examples/",
40
43
  "market/",
41
44
  "README.md",
42
45
  "LICENSE"
43
46
  ],
47
+ "dsh": {
48
+ "bundle": {
49
+ "patch": "./cordis.patch.yml"
50
+ }
51
+ },
44
52
  "keywords": [
45
53
  "llm",
46
54
  "agent",
@@ -1,94 +0,0 @@
1
- # DSH 插件市场条目
2
- #
3
- # 用法:复制到市场仓库 data/plugins/ 下,文件名
4
- # fangqiuci_feiyu-brain.yml
5
- # 然后按 PR 模板提一个 PR。
6
- #
7
- # 字段名以市场仓库当前 schema 为准。隔壁 dsh-doubao-video 的条目在
8
- # data/plugins/fangqiuci_dsh-doubao-video.yml ,category 必须是 workflow。
9
-
10
- name: feiyu-brain
11
- displayName: 大肥鱼大脑
12
- version: 1.1.1
13
- category: workflow
14
- author: fangqiuci
15
- license: MIT
16
-
17
- description: >-
18
- 平台无关的认知内核:从一张人设卡长出记忆、情绪、意识流和归因。
19
- 不绑定任何平台,老用户接自己的桥接,新用户走腾讯官方开放平台。
20
-
21
- tarball: "https://registry.npmjs.org/feiyu-brain/-/feiyu-brain-1.1.1.tgz"
22
- # 也可以用 GitHub Release 直链:
23
- # tarball: "https://github.com/fangqiuci/feiyu-brain/releases/download/v1.1.1/feiyu-brain-1.1.1.tgz"
24
-
25
- repository: "https://github.com/fangqiuci/feiyu-brain"
26
- homepage: "https://github.com/fangqiuci/feiyu-brain#readme"
27
- bugs: "https://github.com/fangqiuci/feiyu-brain/issues"
28
-
29
- dsh: ">=0.2.0"
30
- node: ">=20"
31
-
32
- keywords:
33
- - 人格
34
- - 记忆
35
- - 情绪
36
- - 插件
37
- - qq-bot
38
-
39
- # 市场审核会看这一栏:它会不会自己联网 / 读文件 / 执行命令
40
- permissions:
41
- network: false
42
- filesystem: data-dir
43
- exec: false
44
-
45
- longDescription: |
46
- ## 它是什么
47
-
48
- 一颗大脑,不是一套规则。
49
-
50
- 给它一张人设卡(`roles/<名字>.md`),它抽出带权重的命题;
51
- 每一次经历让权重动 ±0.01,掉到 0.15 就蜕皮成"我以前……";
52
- 记忆 30 天窗口,被反复提起才升级长期;忘了就是真的没有。
53
-
54
- 唤醒时它只产出定长的一段:
55
-
56
- ```
57
- 【此刻的她】你是 DeepSeek 的鲸鱼形象……
58
- 【手上的东西】自己的手机(竖屏,躺着 / 走着)
59
- 【想到的】
60
- 扶摇说过「你嘴真硬」,我当时有点得意
61
- ```
62
-
63
- 剩下的事(怎么回、回几条、要不要回)由宿主交给自己的模型。
64
-
65
- ## 三具身体
66
-
67
- 手机 / 平板 / 电脑。摸哪具是**人设算出来的**:
68
- 好动摸手机,累了拿平板,爱折腾的开电脑。
69
-
70
- 权限四级:L1 观察 / L2 操作 / L3 破坏 / L4 金钱。
71
- 花钱是两道门:身体要有 L4,这一次还要批准。
72
-
73
- ## 为什么平台无关
74
-
75
- 内核只认一种事件:`{ sender, text, chatId }`。
76
- 换平台 = 换一个适配器,大脑一行不动。
77
-
78
- | 适配器 | 给谁 |
79
- |---|---|
80
- | `qq-bridge` | 老用户,接自己现有的桥接 |
81
- | `tencent-official` | 新用户,腾讯官方机器人开放平台 |
82
- | `universal` | 任意平台,自带传输 |
83
-
84
- ## 不含什么
85
-
86
- - 不含任何 QQ 协议实现
87
- - 不逆向、不伪造签名、不绕过限流
88
- - 不内置桥接,不代替你决定接哪个身体
89
-
90
- ## 安装
91
-
92
- ```bash
93
- npm i feiyu-brain
94
- ```