Skip to content

Commit e78f08a

Browse files
committed
NEW
1 parent 6d624f2 commit e78f08a

6 files changed

Lines changed: 217 additions & 131 deletions

File tree

extend/remindai/ARCHITECTURE.html

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,37 @@
66
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.9.0/dist/mermaid.min.js"></script>
77
<style>
88
*,*::before,*::after{box-sizing:border-box}
9-
body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.7;font-size:14px;color:#1f2328;max-width:1040px;margin:0 auto;padding:32px 40px;background:#fff}
10-
h1{font-size:30px;border-bottom:2px solid #8250df;padding-bottom:10px;margin-top:48px}
11-
h2{font-size:22px;margin-top:40px;border-bottom:1px solid #d8dee4;padding-bottom:8px}
12-
h3{font-size:17px;margin-top:28px}
13-
hr{border:none;border-top:1px solid #d8dee4;margin:24px 0}
14-
blockquote{border-left:4px solid #8250df;margin:16px 0;padding:4px 20px;color:#57606a;background:#f6f8fa;border-radius:0 6px 6px 0}
15-
.mw{position:relative;margin:28px 0;background:#f6f8fa;border:1px solid #d0d7de;border-radius:8px;overflow:hidden}
16-
.mw-tb{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f0f1f2;border-bottom:1px solid #d0d7de;user-select:none}
17-
.mw-tb>span:first-child{font-size:11px;color:#57606a;margin-right:auto;font-weight:500}
18-
.mw-tb button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d0d7de;border-radius:5px;background:#fff;cursor:pointer;font-size:14px;color:#24292f;transition:all .12s;line-height:1;padding:0}
19-
.mw-tb button:hover{background:#e8eaed;border-color:#b0b8c1}
20-
.mw-tb button:active{background:#d5d8dc}
9+
body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.7;font-size:14px;color:#e8e8ed;max-width:1040px;margin:0 auto;padding:32px 40px;background:#0a0a0f}
10+
h1{font-size:30px;border-bottom:2px solid #7c5cfc;padding-bottom:10px;margin-top:48px;background:linear-gradient(135deg,#7c5cfc,#00c8ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
11+
h2{font-size:22px;margin-top:40px;border-bottom:1px solid #2a2a3a;padding-bottom:8px;color:#e8e8ed}
12+
h3{font-size:17px;margin-top:28px;color:#e8e8ed}
13+
hr{border:none;border-top:1px solid #2a2a3a;margin:24px 0}
14+
blockquote{border-left:4px solid #7c5cfc;margin:16px 0;padding:4px 20px;color:#8888aa;background:#1a1a24;border-radius:0 6px 6px 0}
15+
.mw{position:relative;margin:28px 0;background:#13131a;border:1px solid #2a2a3a;border-radius:8px;overflow:hidden}
16+
.mw-tb{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#1a1a24;border-bottom:1px solid #2a2a3a;user-select:none}
17+
.mw-tb>span:first-child{font-size:11px;color:#8888aa;margin-right:auto;font-weight:500}
18+
.mw-tb button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #2a2a3a;border-radius:5px;background:#1a1a24;cursor:pointer;font-size:14px;color:#e8e8ed;transition:all .12s;line-height:1;padding:0}
19+
.mw-tb button:hover{background:#2a2a3a;border-color:#7c5cfc}
20+
.mw-tb button:active{background:#3a3a4a}
2121
.mw-tb .btn-reset{width:auto;padding:0 8px;font-size:11px;font-weight:500}
22-
.zb{font-size:10px;color:#57606a;min-width:36px;text-align:center}
22+
.zb{font-size:10px;color:#8888aa;min-width:36px;text-align:center}
2323
.mw-svg{padding:16px;overflow:hidden;cursor:grab;position:relative;min-height:200px;max-height:70vh}
2424
.mw-svg:active{cursor:grabbing}
2525
.mw-svg.dragging{cursor:grabbing}
2626
.mw-svg svg{display:block;max-width:none;transition:transform .04s linear}
27-
pre{background:#f6f8fa;padding:14px 18px;border-radius:6px;overflow-x:auto;font-size:12.5px;border:1px solid #d0d7de}
28-
p{margin:8px 0}
29-
@media print{body{font-size:11px;padding:24px}.mw{break-inside:avoid;border:none;background:none}.mw-tb{display:none}.mw-svg{padding:8px;cursor:default;max-height:none;overflow:visible}.mw-svg svg{max-width:100%!important;transform:none!important}}
27+
pre{background:#13131a;padding:14px 18px;border-radius:6px;overflow-x:auto;font-size:12.5px;border:1px solid #2a2a3a;color:#e8e8ed}
28+
p{margin:8px 0;color:#c4c8cc}
29+
a{color:#7c5cfc;text-decoration:none}
30+
a:hover{color:#00c8ff}
31+
@media print{body{font-size:11px;padding:24px;background:#fff;color:#000}.mw{break-inside:avoid;border:none;background:none}.mw-tb{display:none}.mw-svg{padding:8px;cursor:default;max-height:none;overflow:visible}.mw-svg svg{max-width:100%!important;transform:none!important}}
3032
</style>
3133
</head>
3234
<body>
35+
<nav style="position:fixed;top:0;left:0;right:0;padding:12px 40px;background:rgba(10,10,15,0.9);backdrop-filter:blur(20px);border-bottom:1px solid #2a2a3a;z-index:100;display:flex;align-items:center;gap:16px;">
36+
<a href="index.html" style="color:#8888aa;text-decoration:none;font-size:13px;">← 首页</a>
37+
<span style="color:#e8e8ed;font-size:14px;font-weight:600;">RemindAI 架构全景图</span>
38+
</nav>
39+
<div style="padding-top:50px;">
3340
<h1>🧠 RemindAI 架构全景图</h1>
3441
<br>
3542
<blockquote>开源桌面 AI 助手 — 不只是对话,而是真正的工具外壳 (ToolShell)</blockquote>
@@ -144,9 +151,10 @@ <h2> 一、系统全景脑图</h2>
144151
WorktreeManager 隔离实验
145152
Checkpoint 检查点与回退
146153
DiffReview 差异审查
147-
并行理解
148-
toolshell_run_parallel 只读并发
154+
并行执行
155+
toolshell_run_parallel 智能并发
149156
SubReadersOrchestrator 子Agent编排
157+
ResourceConflictDetector 冲突检测
150158
技能系统
151159
SkillRegistry 注册中心
152160
SkillModel 技能模型
@@ -427,14 +435,14 @@ <h2> 五、ToolShell 工具体系</h2>
427435
toolshell_run_js JS执行
428436
toolshell_memory_store 记忆存储
429437
toolshell_memory_recall 记忆召回
430-
toolshell_run_parallel 并行只读查询
438+
toolshell_run_parallel 并行执行(智能冲突检测)
431439
toolshell_worktree_start 开启隔离工作树
432440
toolshell_worktree_checkpoint 创建检查点
433441
toolshell_worktree_revert 回退检查点
434442
toolshell_worktree_diff 审查差异
435443
toolshell_worktree_finish 合并或丢弃
436444
slash命令
437-
sub-readers 并行只读理解
445+
sub-readers 并行文档理解
438446
archify-draw 生成自包含图表
439447
skill-temp 创建项目技能
440448
skill-cti 创建全局技能
@@ -633,7 +641,8 @@ <h2> 九、技术栈总览</h2>
633641
<blockquote>📝 使用Remind AI基于 RemindAI v1.0.4 源码分析并且进行了校核 </blockquote>
634642
<blockquote>🏗️ 架构持续演进中</blockquote>
635643
<br>
636-
<script>mermaid.initialize({startOnLoad:true,theme:'default',securityLevel:'loose'});</script>
644+
</div>
645+
<script>mermaid.initialize({startOnLoad:true,theme:'dark',securityLevel:'loose'});</script>
637646
<script>
638647
(function(){var sm=new Map();function ipz(svg,tb){var ct=svg.parentElement;var st={s:1,x:0,y:0,p:0,sx:0,sy:0,spx:0,spy:0};sm.set(svg,st);function sf(ss,xx,yy){st.s=ss;st.x=xx;st.y=yy;svg.style.transform="translate("+xx+"px,"+yy+"px) scale("+ss+")";svg.style.transformOrigin="0 0";var b=tb.querySelector(".zb");if(b)b.textContent=Math.round(ss*100)+"%";}ct.addEventListener("wheel",function(e){e.preventDefault();var r=ct.getBoundingClientRect();var mx=e.clientX-r.left,my=e.clientY-r.top;var f=e.deltaY<0?1.12:0.89;var ns=Math.min(5,Math.max(0.15,st.s*f));var nx=mx-(mx-st.x)*(ns/st.s);var ny=my-(my-st.y)*(ns/st.s);sf(ns,nx,ny);},{passive:false});ct.addEventListener("mousedown",function(e){if(e.button!==0)return;st.p=1;st.sx=e.clientX;st.sy=e.clientY;st.spx=st.x;st.spy=st.y;ct.classList.add("dragging");e.preventDefault();});window.addEventListener("mousemove",function(e){if(!st.p)return;sf(st.s,st.spx+e.clientX-st.sx,st.spy+e.clientY-st.sy);});window.addEventListener("mouseup",function(){st.p=0;ct.classList.remove("dragging");});tb.querySelector(".btn-zi").onclick=function(){sf(Math.min(5,st.s*1.25),st.x,st.y);};tb.querySelector(".btn-zo").onclick=function(){sf(Math.max(0.15,st.s*0.8),st.x,st.y);};tb.querySelector(".btn-reset").onclick=function(){sf(1,0,0);};}function ea(){var cs=document.querySelectorAll(".mermaid");var idx=0;cs.forEach(function(el){var svg=el.querySelector("svg");if(!svg)return;idx++;var w=document.createElement("div");w.className="mw";var tb=document.createElement("div");tb.className="mw-tb";tb.innerHTML='<span>Diagram '+idx+'</span><button class="btn-zo" title="Zoom out">&minus;</button><span class="zb">100%</span><button class="btn-zi" title="Zoom in">+</button><button class="btn-reset" title="Reset">Reset</button>';var sc=document.createElement("div");sc.className="mw-svg";sc.appendChild(svg.cloneNode(true));w.appendChild(tb);w.appendChild(sc);el.parentNode.replaceChild(w,el);ipz(sc.querySelector("svg"),tb);});}setTimeout(ea,200);})();
639648
</script>

extend/remindai/changelog.html

Lines changed: 89 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,50 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
249249
<!-- Timeline -->
250250
<div class="timeline">
251251

252-
<!-- V1.0.4 -->
252+
<!-- V1.0.5 -->
253253
<div class="version-entry latest">
254+
<div class="version-header">
255+
<span class="version-tag">v1.0.5</span>
256+
<span class="version-badge badge-latest" data-i18n="v105.badge">最新版</span>
257+
</div>
258+
<div class="version-date" data-i18n="v105.date">2026 年 7 月</div>
259+
<ul class="changes-list">
260+
<li>
261+
<span class="change-icon change-improve"></span>
262+
<span data-i18n="v105.c1">优化流式 UI 中断处理,用户打断不渲染但内容仍保留在上下文</span>
263+
</li>
264+
<li>
265+
<span class="change-icon change-fix">🔧</span>
266+
<span data-i18n="v105.c2">修复超长对话 / 单轮大量 UI 生成时的渲染卡顿</span>
267+
</li>
268+
<li>
269+
<span class="change-icon change-improve"></span>
270+
<span data-i18n="v105.c3">优化对话流式 UI 呈现效果</span>
271+
</li>
272+
<li>
273+
<span class="change-icon change-feat"></span>
274+
<span data-i18n="v105.c4">模型卡片支持配置上下文窗口与最大输出 Token(默认 128K / 12.8K)</span>
275+
</li>
276+
<li>
277+
<span class="change-icon change-improve"></span>
278+
<span data-i18n="v105.c5">增强 Anthropic 协议支持</span>
279+
</li>
280+
<li>
281+
<span class="change-icon change-feat"></span>
282+
<span data-i18n="v105.c6">新增 Linux / macOS WebView H5 渲染(尚未完整验证)</span>
283+
</li>
284+
<li>
285+
<span class="change-icon change-improve"></span>
286+
<span data-i18n="v105.c7">其他若干卡顿修复与 UI 打磨</span>
287+
</li>
288+
</ul>
289+
</div>
290+
291+
<!-- V1.0.4 -->
292+
<div class="version-entry">
254293
<div class="version-header">
255294
<span class="version-tag">v1.0.4</span>
256-
<span class="version-badge badge-latest" data-i18n="v104.badge">最新版</span>
295+
<span class="version-badge badge-stable">stable</span>
257296
</div>
258297
<div class="version-date" data-i18n="v104.date">2026 年 7 月</div>
259298
<ul class="changes-list">
@@ -301,6 +340,26 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
301340
<span class="change-icon change-improve"></span>
302341
<span data-i18n="v104.c11">优化了 Agent 自主生成文件默认在工作目录下</span>
303342
</li>
343+
<li>
344+
<span class="change-icon change-feat"></span>
345+
<span data-i18n="v104.c12">Cache-Aligned 上下文压缩 — 95%+ Prompt Cache 命中率 + Token 预算驱动 + 输出预留防溢出</span>
346+
</li>
347+
<li>
348+
<span class="change-icon change-feat"></span>
349+
<span data-i18n="v104.c13">并行工具执行支持写入/删除不同文件 — 智能资源冲突检测替代全面禁止</span>
350+
</li>
351+
<li>
352+
<span class="change-icon change-fix">🔧</span>
353+
<span data-i18n="v104.c14">修复 tool_calls 配对完整性 — 三层防御避免 HTTP 400 错误</span>
354+
</li>
355+
<li>
356+
<span class="change-icon change-fix">🔧</span>
357+
<span data-i18n="v104.c15">修复压缩标志中断后残留 — 对话开始时主动重置 + 轮次 1 预检</span>
358+
</li>
359+
<li>
360+
<span class="change-icon change-improve"></span>
361+
<span data-i18n="v104.c16">Agent 时间感知 — 系统提示词注入当前日期</span>
362+
</li>
304363
</ul>
305364
</div>
306365

@@ -462,6 +521,15 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
462521
'nav.quickstart': '快速开始',
463522
'nav.releases': '📦 Releases',
464523
'hero.title': '📋 版本历史',
524+
'v105.badge': '最新版',
525+
'v105.date': '2026 年 7 月',
526+
'v105.c1': '优化流式 UI 中断处理,用户打断不渲染但内容仍保留在上下文',
527+
'v105.c2': '修复超长对话 / 单轮大量 UI 生成时的渲染卡顿',
528+
'v105.c3': '优化对话流式 UI 呈现效果',
529+
'v105.c4': '模型卡片支持配置上下文窗口与最大输出 Token(默认 128K / 12.8K)',
530+
'v105.c5': '增强 Anthropic 协议支持',
531+
'v105.c6': '新增 Linux / macOS WebView H5 渲染(尚未完整验证)',
532+
'v105.c7': '其他若干卡顿修复与 UI 打磨',
465533
'v104.badge': '最新版',
466534
'v104.date': '2026 年 7 月',
467535
'v104.c1': '优化了长对话思考时途中可能产生卡顿的问题',
@@ -475,6 +543,11 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
475543
'v104.c9': '知识库功能',
476544
'v104.c10': '优化了 MCP 服务器的载入和启动配置',
477545
'v104.c11': '优化了 Agent 自主生成文件默认在工作目录下',
546+
'v104.c12': 'Cache-Aligned 上下文压缩 — 95%+ Prompt Cache 命中率 + Token 预算驱动 + 输出预留防溢出',
547+
'v104.c13': '并行工具执行支持写入/删除不同文件 — 智能资源冲突检测替代全面禁止',
548+
'v104.c14': '修复 tool_calls 配对完整性 — 三层防御避免 HTTP 400 错误',
549+
'v104.c15': '修复压缩标志中断后残留 — 对话开始时主动重置 + 轮次 1 预检',
550+
'v104.c16': 'Agent 时间感知 — 系统提示词注入当前日期',
478551
'v103.date': '2026 年 6 月',
479552
'v103.c1': '提供了在线访问 Agent 的功能',
480553
'v103.c2': '优化了上下文压缩',
@@ -516,6 +589,15 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
516589
'nav.quickstart': 'Quick Start',
517590
'nav.releases': '📦 Releases',
518591
'hero.title': '📋 Changelog',
592+
'v105.badge': 'Latest',
593+
'v105.date': 'July 2026',
594+
'v105.c1': 'Streaming UI interrupt handling refined — content skips rendering on user interruption but is still preserved in context',
595+
'v105.c2': 'Fixed rendering lag in very long conversations and when a large amount of UI is generated near the end of a turn',
596+
'v105.c3': 'Refined the streaming UI experience during conversations',
597+
'v105.c4': 'Model cards now support configuring context window size and max output tokens (defaults to 128K / 12.8K)',
598+
'v105.c5': 'Enhanced support for the Anthropic protocol',
599+
'v105.c6': 'Added WebView-based H5 rendering for Linux and macOS (not yet fully verified)',
600+
'v105.c7': 'Various other lag fixes and UI polish',
519601
'v104.badge': 'Latest',
520602
'v104.date': 'July 2026',
521603
'v104.c1': 'Optimized the issue of potential stuttering during long conversations',
@@ -529,6 +611,11 @@ <h1 data-i18n="hero.title">📋 版本历史</h1>
529611
'v104.c9': 'Knowledge base functionality',
530612
'v104.c10': 'Optimized MCP server loading and startup configuration',
531613
'v104.c11': 'Optimized the default location of Agent-generated files in the working directory',
614+
'v104.c12': 'Cache-Aligned context compression — 95%+ Prompt Cache hit rate + token budget-driven + output reservation to prevent overflow',
615+
'v104.c13': 'Parallel tool execution now supports writing/deleting different files — intelligent conflict detection replaces blanket blocking',
616+
'v104.c14': 'Fixed tool_calls pairing integrity — three-layer defense prevents HTTP 400 errors',
617+
'v104.c15': 'Fixed compression flag residue after interrupts — proactive reset at conversation start + round 1 pre-check',
618+
'v104.c16': 'Agent time awareness — current date injected into system prompt',
532619
'v103.date': 'June 2026',
533620
'v103.c1': 'Provided online access to Agent functionality',
534621
'v103.c2': 'Optimized context compression',

0 commit comments

Comments
 (0)