Update index.html

This commit is contained in:
2025-12-07 03:38:52 +08:00
committed by GitHub
parent e034d12b15
commit cb55cd3af1

View File

@@ -64,12 +64,45 @@
</label> </label>
</div> </div>
</fieldset> </fieldset>
<fieldset class="sm-settings-group">
<legend><i class="fas fa-archive"></i> 历史归档配置</legend>
<div class="sm-control-block">
<label>启用自动归档:</label>
<label class="sm-toggle-switch">
<input type="checkbox" id="sm-archive-enabled">
<span class="sm-slider"></span>
</label>
</div>
<div class="sm-control-block">
<label>触发阈值 (行数):</label>
<input type="number" id="sm-archive-threshold" style="background: rgba(0, 0, 0, 0.3); border: 1px solid #444; color: #e0e0e0; padding: 5px; border-radius: 4px;" value="20">
</div>
<div class="sm-control-block">
<label title="每次触发归档时,一次性迁移的行数。">归档批次 (行数):</label>
<input type="number" id="sm-archive-batch-size" style="background: rgba(0, 0, 0, 0.3); border: 1px solid #444; color: #e0e0e0; padding: 5px; border-radius: 4px;" value="10">
</div>
<small style="color: #888; font-size: 0.8em; display: block; margin-top: -5px; margin-bottom: 10px; padding-left: 5px;">
阈值是 20批次是 10。当表格达到 21 行时,会把最早的 10 行向量化,表格与世界书剩下 11 条。
</small>
<div class="sm-control-block">
<label>目标表格名称:</label>
<input type="text" id="sm-archive-target-table" style="background: rgba(0, 0, 0, 0.3); border: 1px solid #444; color: #e0e0e0; padding: 5px; border-radius: 4px;" value="总结表">
</div>
</fieldset>
</div> </div>
<!-- Relation Tab --> <!-- Relation Tab -->
<div id="sm-relation-tab" class="sm-tab-pane"> <div id="sm-relation-tab" class="sm-tab-pane">
<fieldset class="sm-settings-group"> <fieldset class="sm-settings-group">
<legend><i class="fas fa-project-diagram"></i> 关联网络 (The Mesh)</legend> <legend><i class="fas fa-project-diagram"></i> 关联网络 (The Mesh)</legend>
<div class="sm-control-block">
<label>启用角色关联图谱:</label>
<label class="sm-toggle-switch">
<input type="checkbox" id="sm-relationship-graph-enabled">
<span class="sm-slider"></span>
</label>
</div>
<p>关联触发逻辑正在开发中...</p> <p>关联触发逻辑正在开发中...</p>
</fieldset> </fieldset>
</div> </div>