dsh-pisces 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +31 -2
- package/assets/adult-fish.soul.json +1539 -0
- package/assets/qq-group.png +0 -0
- package/client.js +1037 -0
- package/cordis.patch.yml +3 -0
- package/index.js +1763 -0
- package/lib/adopt.js +100 -0
- package/lib/affinity.js +169 -0
- package/lib/attach.js +834 -0
- package/lib/attrib.js +70 -0
- package/lib/baidu.js +184 -0
- package/lib/bili.js +217 -0
- package/lib/card.js +833 -0
- package/lib/console.js +1683 -0
- package/lib/db.js +229 -0
- package/lib/derive.js +101 -0
- package/lib/dream.js +369 -0
- package/lib/dual.js +669 -0
- package/lib/export.js +402 -0
- package/lib/guard.js +139 -0
- package/lib/guide.js +156 -0
- package/lib/home.js +298 -0
- package/lib/import.js +306 -0
- package/lib/learn.js +382 -0
- package/lib/lock.js +45 -0
- package/lib/nickname.js +83 -0
- package/lib/nightly.js +225 -0
- package/lib/ollama.js +48 -0
- package/lib/paths.js +76 -0
- package/lib/persona.js +256 -0
- package/lib/personafile.js +104 -0
- package/lib/questions.js +326 -0
- package/lib/reflect.js +66 -0
- package/lib/reveal.js +118 -0
- package/lib/schema.js +39 -0
- package/lib/search.js +118 -0
- package/lib/seed.js +105 -0
- package/lib/settings.js +359 -0
- package/lib/speak.js +57 -0
- package/lib/split.js +181 -0
- package/lib/store.js +435 -0
- package/lib/teach.js +36 -0
- package/lib/tools.js +942 -0
- package/lib/util.js +39 -0
- package/lib/verify.js +210 -0
- package/lib/version.js +2 -0
- package/lib/voice.js +337 -0
- package/lib/world.js +203 -0
- package/package.json +52 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Xiaoclan-hub
|
|
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.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 鱼肥生双(dsh-pisces)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
一只会长大的本地小鱼,DSH 插件。事件流记忆、渐进揭开、好感、新手引导;派希丝是养成目标。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
- 需要 DSH 0.2.x(见 package.json 的 `dsh.compatibility`)。
|
|
8
|
+
- 把发布包放到本地目录,在 DSH 里作为本地插件加载(设置 → 插件 → 添加本地目录),然后重启宿主。
|
|
9
|
+
- 不需要额外服务;数据默认在 `~/.dsh-pisces`,可以用环境变量 `DSH_PISCES_HOME` 换地方。
|
|
10
|
+
- 首次启动会自动建目录和空事件流,不写任何远程服务。
|
|
11
|
+
|
|
12
|
+
## 领养
|
|
13
|
+
|
|
14
|
+
- 打开面板 → 起点,写下她的第一段话;这是她往后回看的那条基线。
|
|
15
|
+
- 也可以在面板里领养成年鱼「派希丝」:她带着 96 条样本、固定的说话方式和一个名字。
|
|
16
|
+
- 领养后,聊天会进她的事件流;她慢慢长出判断、拒绝、疤和自己没想通的问题。
|
|
17
|
+
- 工具面:普通鱼 7 个动作;成年鱼 12 个(自查 / 教人 / 引导 / 体检 / 昵称)。
|
|
18
|
+
- 领养之后需要重启一次,工具面才会多出成年鱼的动作。
|
|
19
|
+
|
|
20
|
+
## 面板
|
|
21
|
+
|
|
22
|
+
- 地址:`http://127.0.0.1:<端口>/dsh-pisces-api/`。
|
|
23
|
+
- 一页看状态:天数、好感、还开着的问题、梦、最近的话、查到的。
|
|
24
|
+
- 面板只给计数和状态,不改她的数值;起点表单和成年鱼入口是仅有的输入控件。
|
|
25
|
+
- 设置页里的开关保存后需要重启宿主才会生效。
|
|
26
|
+
|
|
27
|
+
## 隐私
|
|
28
|
+
|
|
29
|
+
- 所有数据都在本机:事件流(SQLite 或 JSONL)、日记、人设卡、问题、梦、学到的东西。
|
|
30
|
+
- 插件不上传、不收集统计,也没有遥测。
|
|
31
|
+
- 只有你主动触发的联网动作才会出网:B 站公开接口(看热门、说一句)、自学搜索(需要 key)、夜间模型(本地或你自己配的)。
|
|
32
|
+
- 发布版不含开发者钥匙,也没有 `/devkey` 接口;本机路径、Cookie、私聊都不会进发布包。
|