v2.1.0: File tree per session, auto-continue for incomplete tasks, task completion protocol
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="header-right">
|
||||
<button id="file-tree-btn" class="icon-btn" title="Project Files" style="display:none">📁</button>
|
||||
<button id="theme-toggle-header" class="theme-toggle-btn" title="Toggle theme">☾</button>
|
||||
<button id="new-chat-btn" class="icon-btn" title="New chat">+</button>
|
||||
<button id="settings-btn" class="icon-btn" title="Settings">⚙</button>
|
||||
@@ -94,6 +95,40 @@
|
||||
</div>
|
||||
<div id="sidebar-overlay" class="sidebar-overlay"></div>
|
||||
|
||||
<div id="file-tree-panel" class="file-tree-panel">
|
||||
<div class="file-tree-header">
|
||||
<h3>Project Files</h3>
|
||||
<button id="file-tree-close" class="icon-btn">×</button>
|
||||
</div>
|
||||
<div id="file-tree-body" class="file-tree-body">
|
||||
<div class="ftree-empty">No files yet.<br>AI-generated files appear here.</div>
|
||||
</div>
|
||||
<div class="file-tree-footer">
|
||||
<span id="file-tree-count">0 files</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="file-tree-overlay" class="file-tree-overlay"></div>
|
||||
|
||||
<div id="file-viewer" class="file-viewer">
|
||||
<div class="file-viewer-header">
|
||||
<div class="file-viewer-title">
|
||||
<span id="file-viewer-name">file</span>
|
||||
<span id="file-viewer-lang" class="fv-lang"></span>
|
||||
</div>
|
||||
<div class="file-viewer-actions">
|
||||
<button id="file-viewer-edit" class="fv-btn">Edit</button>
|
||||
<button id="file-viewer-save" class="fv-btn fv-btn-save" style="display:none">Save</button>
|
||||
<button id="file-viewer-close" class="icon-btn">×</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="file-viewer-body" class="file-viewer-body">
|
||||
<pre id="file-viewer-content"></pre>
|
||||
</div>
|
||||
<div id="file-viewer-editor" class="file-viewer-editor" style="display:none">
|
||||
<textarea id="file-viewer-textarea"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="messages" class="messages"></div>
|
||||
|
||||
<div id="terminal-panel" class="terminal-panel">
|
||||
@@ -261,6 +296,19 @@
|
||||
<input type="range" id="settings-maxretries" min="1" max="30" step="1" value="10">
|
||||
</div>
|
||||
<span class="input-hint">How many times AI will auto-retry after build failures</span>
|
||||
<div class="input-group toggle-group" style="margin-top:12px">
|
||||
<label>Auto-Continue</label>
|
||||
<label class="toggle">
|
||||
<input type="checkbox" id="settings-autocontinue" checked>
|
||||
<span class="toggle-slider"></span>
|
||||
</label>
|
||||
</div>
|
||||
<span class="input-hint">Auto-continues AI if task is incomplete or response cut off</span>
|
||||
<div class="input-group" style="margin-top:12px">
|
||||
<label>Max Auto-Continues: <span id="autocont-value">5</span></label>
|
||||
<input type="range" id="settings-maxautocontinue" min="1" max="20" step="1" value="5">
|
||||
</div>
|
||||
<span class="input-hint">Max times AI will be asked to continue incomplete work</span>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<h3>Appearance</h3>
|
||||
@@ -279,13 +327,24 @@
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<h3>About</h3>
|
||||
<p class="about-text">Z.AI Chat v2.0.1</p>
|
||||
<p class="about-text">Z.AI Chat v2.1.0</p>
|
||||
<p class="about-text">Built with Z.AI SDK & GLM-5.1</p>
|
||||
<p class="about-text">Compatible with Android 15/16</p>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<h3>Changelog</h3>
|
||||
<ul class="changelog-list">
|
||||
<li>
|
||||
<span class="changelog-version">v2.1.0</span>
|
||||
<span class="changelog-date">2026-05-19</span>
|
||||
<ul>
|
||||
<li><strong>File Tree</strong> — per-session file tree shows all AI-generated files, view/edit/save from sidebar</li>
|
||||
<li><strong>Auto-Continue</strong> — if AI stops mid-task, app auto-continues until task is confirmed complete</li>
|
||||
<li><strong>Task Completion Protocol</strong> — AI outputs [TASK_COMPLETE] when done; app detects truncated responses</li>
|
||||
<li>File viewer with edit mode — modify and save files back to device</li>
|
||||
<li>Configurable max auto-continues (1–20, default 5) in Settings</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<span class="changelog-version">v2.0.1</span>
|
||||
<span class="changelog-date">2026-05-19</span>
|
||||
|
||||
Reference in New Issue
Block a user