mino-lore 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 +30 -2
- package/cordis.patch.yml +5 -0
- package/icon.svg +6 -0
- package/lib/client.js +4512 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +1691 -0
- package/lib/types/client/DiaryTab.d.ts +4 -0
- package/lib/types/client/FeedTab.d.ts +19 -0
- package/lib/types/client/LorePage.d.ts +62 -0
- package/lib/types/client/LorePostRow.d.ts +24 -0
- package/lib/types/client/MemoryTab.d.ts +6 -0
- package/lib/types/client/PanelIcon.d.ts +5 -0
- package/lib/types/client/TasksTab.d.ts +13 -0
- package/lib/types/client/api.d.ts +246 -0
- package/lib/types/client/index.d.ts +15 -0
- package/lib/types/client/locales.d.ts +268 -0
- package/lib/types/client/shared.d.ts +68 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/observe.d.ts +38 -0
- package/lib/types/store.d.ts +132 -0
- package/package.json +88 -4
- package/src/client/DiaryTab.tsx +214 -0
- package/src/client/FeedTab.tsx +1680 -0
- package/src/client/LorePage.tsx +274 -0
- package/src/client/LorePostRow.tsx +89 -0
- package/src/client/MemoryTab.tsx +73 -0
- package/src/client/PanelIcon.tsx +21 -0
- package/src/client/TasksTab.tsx +242 -0
- package/src/client/api.ts +175 -0
- package/src/client/index.tsx +193 -0
- package/src/client/locales.ts +564 -0
- package/src/client/lore.module.css +2566 -0
- package/src/client/shared.tsx +246 -0
- package/src/css-modules.d.ts +4 -0
- package/src/index.ts +840 -0
- package/src/observe.ts +645 -0
- package/src/store.ts +206 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 wuyangji
|
|
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,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# mino-lore
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
侧边栏多一个「小本本」图标:她不断了解你——一天的动态、定时任务、连接状态、记忆和日记都记进一个页面。
|
|
4
|
+
|
|
5
|
+
## 五个标签
|
|
6
|
+
|
|
7
|
+
| 标签 | 内容 | 数据从哪来 |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| **今日** | 问候 + 陪伴统计;日程进展(日历事件);定时任务的下次执行与状态;连接面(MCP 服务器/工作区/技能计数);实时组件追踪;批次分组的动态卡片(做完的事、值得留意的事、随手记) | 定时任务实时读宿主调度服务;事件走日历连接器路由;连接面走宿主 mcpManager/workspaceRegistry/skills(都可选,没装不显示);卡片是本插件自己的存储 |
|
|
10
|
+
| **任务** | 推荐卡 + 活跃会话的后台任务(可停)+ 定时任务列表(可暂停/恢复) | 官方 jobs / sessions 缝 + 宿主调度服务 |
|
|
11
|
+
| **记忆** | 记忆系统入口(运行时记忆、文档、记忆空间)+ 语音笔记计数 | 深链进 dsh-mnemon 的 Memory System 面板(`mnemon:anchor` 事件);语音数走 voice-notes 自己的路由;没装对应插件时整块隐藏 |
|
|
12
|
+
| **日记** | 按月归档的日记,可手补、可删 | 本插件自己的存储(`~/.mino/mino-lore/store.json`) |
|
|
13
|
+
| **语音** | 录音控制 + 笔记列表 + 详情 | `lore.page.voice` 座位由 voice-notes 插件贡献;没装显示占位文案 |
|
|
14
|
+
|
|
15
|
+
## 模型也能往里写
|
|
16
|
+
|
|
17
|
+
对话里自然触发的工具:
|
|
18
|
+
|
|
19
|
+
- `lore_post` —— 做完值得让她看到结果的事,投一张卡片到「小本本」页;
|
|
20
|
+
- `diary_write` —— 往某天日记里写一条;
|
|
21
|
+
- `watch_add` / `watch_list` / `watch_remove` —— 「关注一下 X」式的长期追踪(绑一条每天定时去查的日程,有进展就投卡)。
|
|
22
|
+
|
|
23
|
+
也可以在页面上手动「记一条」动态、「写一条」日记。
|
|
24
|
+
|
|
25
|
+
## 装法
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
dsh plugin --profile <name> add mino-lore
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
或者从 Mino 插件市场安装。存储位置:`$DSH_HOME/mino-lore/store.json`(Mino 下即 `~/.mino/mino-lore/`)。
|
package/cordis.patch.yml
ADDED
package/icon.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
+
<rect width="64" height="64" rx="14" fill="#0d9488"/>
|
|
3
|
+
<rect x="16" y="13" width="32" height="38" rx="4" fill="none" stroke="#fff" stroke-width="3.5"/>
|
|
4
|
+
<path d="M25 13v38" stroke="#fff" stroke-width="3.5"/>
|
|
5
|
+
<path d="M32 25h9M32 32h9M32 39h6" stroke="#fff" stroke-width="3.5" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|