Skip to content

Commit ea346bf

Browse files
committed
NEW
1 parent bc8e143 commit ea346bf

25 files changed

Lines changed: 206 additions & 5 deletions

extend/remindai/ARCHITECTURE.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ <h2> 一、系统全景脑图</h2>
136136
QdrantService 向量语义
137137
SQLite 持久备份
138138
ProjectConfig 项目配置
139+
知识库系统
140+
KnowledgeBase 多库配置
141+
KbIndexer 文档分块索引
142+
KbRecallHook 会话级召回
143+
版本工作流
144+
WorktreeManager 隔离实验
145+
Checkpoint 检查点与回退
146+
DiffReview 差异审查
147+
并行理解
148+
toolshell_run_parallel 只读并发
149+
SubReadersOrchestrator 子Agent编排
139150
技能系统
140151
SkillRegistry 注册中心
141152
SkillModel 技能模型
@@ -416,6 +427,17 @@ <h2> 五、ToolShell 工具体系</h2>
416427
toolshell_run_js JS执行
417428
toolshell_memory_store 记忆存储
418429
toolshell_memory_recall 记忆召回
430+
toolshell_run_parallel 并行只读查询
431+
toolshell_worktree_start 开启隔离工作树
432+
toolshell_worktree_checkpoint 创建检查点
433+
toolshell_worktree_revert 回退检查点
434+
toolshell_worktree_diff 审查差异
435+
toolshell_worktree_finish 合并或丢弃
436+
slash命令
437+
sub-readers 并行只读理解
438+
archify-draw 生成自包含图表
439+
skill-temp 创建项目技能
440+
skill-cti 创建全局技能
419441
schedule
420442
schedule_load 加载计划
421443
schedule_add_task 添加任务
@@ -608,7 +630,7 @@ <h2> 九、技术栈总览</h2>
608630
<hr>
609631
<br>
610632
<blockquote>📅 生成日期: 2026年 </blockquote>
611-
<blockquote>📝 使用Remind AI基于 RemindAI v1.0.3 源码分析并且进行了校核 </blockquote>
633+
<blockquote>📝 使用Remind AI基于 RemindAI v1.0.4 源码分析并且进行了校核 </blockquote>
612634
<blockquote>🏗️ 架构持续演进中</blockquote>
613635
<br>
614636
<script>mermaid.initialize({startOnLoad:true,theme:'default',securityLevel:'loose'});</script>

extend/remindai/SCHEDULE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 工作计划
2-
> 最后更新: 2026-06-21 18:03
2+
> 最后更新: 2026-07-13 13:37
33
44
## 🔴 P0 - 紧急
55

@@ -8,3 +8,6 @@
88
## 🟢 P2 - 一般
99

1010
## ✅ 已完成
11+
- [x] 按 CHANGELOG.md 补充 v1.0.4 网页更新内容 `#changelog` `#website` — 依据上游 CHANGELOG.md 新增的四条 v1.0.4 记录,同步首页摘要、版本历史及中英文文案。 — 2026-07-13 完成 (已按项目 CHANGELOG.md 将 v1.0.4 从 7 项补充为完整 11 项,新增可靠版本工作流、知识库、MCP 服务器载入/启动配置优化、Agent 生成文件默认工作目录,并同步 index/changelog 中英文文案;diff 与 i18n 校验通过。)
12+
- [x] 按项目 changelog 校正网页版本更新内容 `#bugfix` `#changelog` — 撤回根据源码推断添加的版本条目,确保首页 v1.0.4 摘要和版本历史只引用项目 changelog 已明确列出的内容。 — 2026-07-13 完成 (已撤回依据源码推断加入 v1.0.4 的知识库、Worktree、并行工具等版本条目;首页更新摘要与版本历史现严格保留 changelog 中的 7 项。功能本身仍放在特性、完成度、配置指南和架构说明中。)
13+
- [x] 获取并理解 AgentShell/RemindAI 项目内容 `#discovery` `#blocked` — 目标项目位于当前 ToolShell 工作目录之外,需先获得可访问副本或由用户切换工作目录。 — 2026-07-13 完成 (已通过同源 GitHub 仓库获取 v1.0.4 源码,并行分析 README、核心模块、知识库、并行子 Agent、Worktree 与 Slash 命令;已更新首页、版本历史、配置指南和架构页,并完成 HTML/i18n 与 git diff 校验。)

extend/remindai/changelog.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,22 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
285285
<span class="change-icon change-feat"></span>
286286
<span data-i18n="v104.c7">使用 <a href="https://github.com/tt-a1i/archify" target="_blank" style="color:var(--accent2);text-decoration:none;">archify</a> 对对话进行流程图总结输出</span>
287287
</li>
288+
<li>
289+
<span class="change-icon change-improve"></span>
290+
<span data-i18n="v104.c8">更为可靠的版本工作流</span>
291+
</li>
292+
<li>
293+
<span class="change-icon change-feat"></span>
294+
<span data-i18n="v104.c9">知识库功能</span>
295+
</li>
296+
<li>
297+
<span class="change-icon change-improve"></span>
298+
<span data-i18n="v104.c10">优化了 MCP 服务器的载入和启动配置</span>
299+
</li>
300+
<li>
301+
<span class="change-icon change-improve"></span>
302+
<span data-i18n="v104.c11">优化了 Agent 自主生成文件默认在工作目录下</span>
303+
</li>
288304
</ul>
289305
</div>
290306

@@ -455,6 +471,10 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
455471
'v104.c5': '技能支持批量导入',
456472
'v104.c6': '优化了代码高亮的文本显示',
457473
'v104.c7': '使用 <a href="https://github.com/tt-a1i/archify" target="_blank" style="color:var(--accent2);text-decoration:none;">archify</a> 对对话进行流程图总结输出',
474+
'v104.c8': '更为可靠的版本工作流',
475+
'v104.c9': '知识库功能',
476+
'v104.c10': '优化了 MCP 服务器的载入和启动配置',
477+
'v104.c11': '优化了 Agent 自主生成文件默认在工作目录下',
458478
'v103.date': '2026 年 6 月',
459479
'v103.c1': '提供了在线访问 Agent 的功能',
460480
'v103.c2': '优化了上下文压缩',
@@ -505,6 +525,10 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
505525
'v104.c5': 'Skills now support batch import',
506526
'v104.c6': 'Optimized code highlighting rendering',
507527
'v104.c7': 'Use <a href="https://github.com/tt-a1i/archify" target="_blank" style="color:var(--accent2);text-decoration:none;">archify</a> to summarize conversations as flowcharts',
528+
'v104.c8': 'More reliable version workflows',
529+
'v104.c9': 'Knowledge base functionality',
530+
'v104.c10': 'Optimized MCP server loading and startup configuration',
531+
'v104.c11': 'Optimized the default location of Agent-generated files in the working directory',
508532
'v103.date': 'June 2026',
509533
'v103.c1': 'Provided online access to Agent functionality',
510534
'v103.c2': 'Optimized context compression',

extend/remindai/configure.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@
500500
<a href="#toolshell"><span class="nav-icon">🐚</span><span data-i18n="sidebar.toolshell">ToolShell</span></a>
501501
<a href="#mcp"><span class="nav-icon">🔌</span><span data-i18n="sidebar.mcp">MCP 协议</span></a>
502502
<a href="#memory"><span class="nav-icon">🧠</span><span data-i18n="sidebar.memory">记忆系统</span></a>
503+
<a href="#knowledge"><span class="nav-icon">📚</span><span data-i18n="sidebar.knowledge">知识库</span></a>
504+
<a href="#workflows"><span class="nav-icon">🌿</span><span data-i18n="sidebar.workflows">并行与版本工作流</span></a>
503505
<a href="#skills"><span class="nav-icon">📦</span><span data-i18n="sidebar.skills">技能系统</span></a>
504506
<a href="#search"><span class="nav-icon">🔍</span><span data-i18n="sidebar.search">Web 搜索</span></a>
505507
<a href="#experts"><span class="nav-icon">👤</span><span data-i18n="sidebar.experts">领域专家</span></a>
@@ -906,6 +908,39 @@ <h4>3. <span data-i18n="memory.useTitle">使用记忆</span></h4>
906908
</div>
907909
</section>
908910

911+
<!-- ==================== 知识库 ==================== -->
912+
<section class="doc-section" id="knowledge">
913+
<h2><span class="section-icon">📚</span> <span data-i18n="knowledge.title">知识库</span></h2>
914+
<p class="section-desc" data-i18n="knowledge.desc">知识库用于把本地文档建立为可检索的向量资料集。每个知识库拥有独立的嵌入配置与文档集合,可在对话中按会话接入一个或多个知识库。</p>
915+
<h3 data-i18n="knowledge.flowTitle">使用流程</h3>
916+
<ol>
917+
<li data-i18n="knowledge.flow1">进入「服务 → 知识库」,创建知识库并选择嵌入模型</li>
918+
<li data-i18n="knowledge.flow2">导入文档,RemindAI 会提取文本、分块并批量建立向量索引</li>
919+
<li data-i18n="knowledge.flow3">在对话输入区点击「知识库」,选择当前会话要接入的资料库</li>
920+
<li data-i18n="knowledge.flow4">发送问题后,相关片段会在模型调用前自动召回并注入上下文</li>
921+
</ol>
922+
<div class="callout callout-info"><span class="callout-icon">ℹ️</span><span data-i18n="knowledge.tip">知识库与长期记忆彼此独立:知识库面向成批资料,长期记忆面向跨会话事实、决策和偏好。</span></div>
923+
</section>
924+
925+
<!-- ==================== 并行与版本工作流 ==================== -->
926+
<section class="doc-section" id="workflows">
927+
<h2><span class="section-icon">🌿</span> <span data-i18n="workflows.title">并行理解与版本工作流</span></h2>
928+
<p class="section-desc" data-i18n="workflows.desc">面向大型项目,RemindAI 同时提供只读并行发现与 Git Worktree 隔离修改能力:先快速理解,再安全实验。</p>
929+
<h3 data-i18n="workflows.parallelTitle">并行只读理解</h3>
930+
<ul>
931+
<li data-i18n="workflows.parallel1"><code>toolshell_run_parallel</code> 可并发执行互不依赖的读取、搜索和记忆召回</li>
932+
<li data-i18n="workflows.parallel2"><code>/sub-readers</code> 会先规划 1–6 个不重叠子任务,再由独立只读子 Agent 并行执行,最后由主模型去重汇总</li>
933+
<li data-i18n="workflows.parallel3">子 Agent 不能写入、删除或执行命令,因此可以安全地指向同一个项目目录</li>
934+
</ul>
935+
<h3 data-i18n="workflows.worktreeTitle">Git Worktree 隔离修改</h3>
936+
<ul>
937+
<li data-i18n="workflows.worktree1">实验性重构或依赖升级可在 <code>.toolshell/worktrees/</code> 的独立分支中完成</li>
938+
<li data-i18n="workflows.worktree2">支持创建检查点、列出检查点、硬回退和查看相对主分支的差异</li>
939+
<li data-i18n="workflows.worktree3">验证通过后合并回主分支;不满意可整体丢弃,主工作目录不受影响</li>
940+
</ul>
941+
<div class="callout callout-warn"><span class="callout-icon">⚠️</span><span data-i18n="workflows.tip">Worktree 功能要求当前工作目录是 Git 仓库;是否启用由 AI 根据改动风险判断,不会自动强制开启。</span></div>
942+
</section>
943+
909944
<!-- ==================== 技能系统 ==================== -->
910945
<section class="doc-section" id="skills">
911946
<h2><span class="section-icon">📦</span> <span data-i18n="skills.title">技能系统</span></h2>
@@ -1291,6 +1326,8 @@ <h4 data-i18n="faq.q6">Q: Linux / macOS 如何使用?</h4>
12911326
'sidebar.toolshell': 'ToolShell',
12921327
'sidebar.mcp': 'MCP 协议',
12931328
'sidebar.memory': '记忆系统',
1329+
'sidebar.knowledge': '知识库',
1330+
'sidebar.workflows': '并行与版本工作流',
12941331
'sidebar.skills': '技能系统',
12951332
'sidebar.search': 'Web 搜索',
12961333
'sidebar.experts': '领域专家',
@@ -1451,6 +1488,25 @@ <h4 data-i18n="faq.q6">Q: Linux / macOS 如何使用?</h4>
14511488
'memory.useL3': '你可以在「🧠 记忆」页面查看、搜索和删除记忆条目',
14521489
'memory.writeScreenshot': '记忆存储',
14531490
'memory.writeCaption': 'AI 自动识别并存储重要信息到记忆',
1491+
'knowledge.title': '知识库',
1492+
'knowledge.desc': '知识库用于把本地文档建立为可检索的向量资料集。每个知识库拥有独立的嵌入配置与文档集合,可在对话中按会话接入一个或多个知识库。',
1493+
'knowledge.flowTitle': '使用流程',
1494+
'knowledge.flow1': '进入「服务 → 知识库」,创建知识库并选择嵌入模型',
1495+
'knowledge.flow2': '导入文档,RemindAI 会提取文本、分块并批量建立向量索引',
1496+
'knowledge.flow3': '在对话输入区点击「知识库」,选择当前会话要接入的资料库',
1497+
'knowledge.flow4': '发送问题后,相关片段会在模型调用前自动召回并注入上下文',
1498+
'knowledge.tip': '知识库与长期记忆彼此独立:知识库面向成批资料,长期记忆面向跨会话事实、决策和偏好。',
1499+
'workflows.title': '并行理解与版本工作流',
1500+
'workflows.desc': '面向大型项目,RemindAI 同时提供只读并行发现与 Git Worktree 隔离修改能力:先快速理解,再安全实验。',
1501+
'workflows.parallelTitle': '并行只读理解',
1502+
'workflows.parallel1': '<code>toolshell_run_parallel</code> 可并发执行互不依赖的读取、搜索和记忆召回',
1503+
'workflows.parallel2': '<code>/sub-readers</code> 会先规划 1–6 个不重叠子任务,再由独立只读子 Agent 并行执行,最后由主模型去重汇总',
1504+
'workflows.parallel3': '子 Agent 不能写入、删除或执行命令,因此可以安全地指向同一个项目目录',
1505+
'workflows.worktreeTitle': 'Git Worktree 隔离修改',
1506+
'workflows.worktree1': '实验性重构或依赖升级可在 <code>.toolshell/worktrees/</code> 的独立分支中完成',
1507+
'workflows.worktree2': '支持创建检查点、列出检查点、硬回退和查看相对主分支的差异',
1508+
'workflows.worktree3': '验证通过后合并回主分支;不满意可整体丢弃,主工作目录不受影响',
1509+
'workflows.tip': 'Worktree 功能要求当前工作目录是 Git 仓库;是否启用由 AI 根据改动风险判断,不会自动强制开启。',
14541510
'skills.title': '技能系统',
14551511
'skills.desc': '技能系统允许你为 AI 添加额外的工具和能力。每个技能包含一个 SKILL.md(技能说明)和 tools.json(工具定义),打包为 ZIP 文件导入。',
14561512
'skills.screenshot': '技能系统',
@@ -1650,6 +1706,8 @@ <h4 data-i18n="faq.q6">Q: Linux / macOS 如何使用?</h4>
16501706
'sidebar.toolshell': 'ToolShell',
16511707
'sidebar.mcp': 'MCP Protocol',
16521708
'sidebar.memory': 'Memory System',
1709+
'sidebar.knowledge': 'Knowledge Bases',
1710+
'sidebar.workflows': 'Parallel & Version Workflows',
16531711
'sidebar.skills': 'Skill System',
16541712
'sidebar.search': 'Web Search',
16551713
'sidebar.experts': 'Domain Experts',
@@ -1810,6 +1868,25 @@ <h4 data-i18n="faq.q6">Q: Linux / macOS 如何使用?</h4>
18101868
'memory.useL3': 'You can view, search, and delete memory entries on the "🧠 Memory" page',
18111869
'memory.writeScreenshot': 'Memory Storage',
18121870
'memory.writeCaption': 'AI automatically identifies and stores important information to memory',
1871+
'knowledge.title': 'Knowledge Bases',
1872+
'knowledge.desc': 'Knowledge bases turn local documents into searchable vector collections. Each base has its own embedding configuration and document set, and one or more bases can be attached per chat session.',
1873+
'knowledge.flowTitle': 'Workflow',
1874+
'knowledge.flow1': 'Open Services → Knowledge Base, create a base, and select an embedding model',
1875+
'knowledge.flow2': 'Import documents; RemindAI extracts text, chunks it, and builds vector indexes in batches',
1876+
'knowledge.flow3': 'Click Knowledge Base in the chat composer and choose the collections for the current session',
1877+
'knowledge.flow4': 'Before the model call, relevant passages are automatically recalled and injected into context',
1878+
'knowledge.tip': 'Knowledge bases and long-term memory are separate: bases are for document collections, while memory stores cross-session facts, decisions, and preferences.',
1879+
'workflows.title': 'Parallel Comprehension & Version Workflows',
1880+
'workflows.desc': 'For large projects, RemindAI combines read-only parallel discovery with Git Worktree isolation: understand quickly, then experiment safely.',
1881+
'workflows.parallelTitle': 'Parallel Read-Only Comprehension',
1882+
'workflows.parallel1': '<code>toolshell_run_parallel</code> concurrently runs independent reads, searches, and memory recalls',
1883+
'workflows.parallel2': '<code>/sub-readers</code> plans 1–6 non-overlapping tasks, runs independent read-only sub-agents in parallel, then asks the main model to deduplicate and synthesize the findings',
1884+
'workflows.parallel3': 'Sub-agents cannot write, delete, or execute commands, so they can safely share the same project root',
1885+
'workflows.worktreeTitle': 'Git Worktree Isolation',
1886+
'workflows.worktree1': 'Experimental refactors and dependency upgrades can run on an isolated branch under <code>.toolshell/worktrees/</code>',
1887+
'workflows.worktree2': 'Create and list checkpoints, hard-revert to a checkpoint, and inspect diffs against the main branch',
1888+
'workflows.worktree3': 'Merge verified changes back to main, or discard the entire experiment without touching the main working directory',
1889+
'workflows.tip': 'Worktree support requires the current workspace to be a Git repository. The AI decides when it is useful based on risk; it is never forced automatically.',
18131890
'skills.title': 'Skill System',
18141891
'skills.desc': 'The skill system lets you add additional tools and capabilities to AI. Each skill includes a SKILL.md (skill description) and tools.json (tool definitions), packaged as a ZIP file for import.',
18151892
'skills.screenshot': 'Skill System',

0 commit comments

Comments
 (0)