v1.2.1 - Fix session data loss on switch, add terminal panel for coding/agentic modes
This commit is contained in:
@@ -96,6 +96,18 @@
|
||||
|
||||
<div id="messages" class="messages"></div>
|
||||
|
||||
<div id="terminal-panel" class="terminal-panel">
|
||||
<div class="terminal-header">
|
||||
<span class="terminal-title">■ Terminal</span>
|
||||
<span class="terminal-info" id="terminal-info"></span>
|
||||
</div>
|
||||
<div id="terminal-body" class="terminal-body"></div>
|
||||
</div>
|
||||
<button id="terminal-toggle" class="terminal-toggle-btn" style="display:none">
|
||||
<span class="terminal-icon">▶</span>
|
||||
<span class="terminal-label">Show Terminal</span>
|
||||
</button>
|
||||
|
||||
<div class="chat-input-area">
|
||||
<div id="mode-selector" class="mode-selector">
|
||||
<button class="mode-btn active" data-mode="chat">Chat</button>
|
||||
@@ -185,13 +197,28 @@
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<h3>About</h3>
|
||||
<p class="about-text">Z.AI Chat v1.2.0</p>
|
||||
<p class="about-text">Z.AI Chat v1.2.1</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">v1.2.1</span>
|
||||
<span class="changelog-date">2026-05-19</span>
|
||||
<ul>
|
||||
<li>Fixed: messages lost when switching conversations during streaming</li>
|
||||
<li>Streaming responses now auto-save every 20 tokens to prevent data loss</li>
|
||||
<li>Partial responses preserved when switching sessions mid-generation</li>
|
||||
<li>Added in-app terminal panel for Coding and Agentic modes</li>
|
||||
<li>Terminal parses code blocks, file ops, and tool calls from AI responses</li>
|
||||
<li>Terminal toggle button with collapsible panel</li>
|
||||
<li>Terminal state persists across sessions</li>
|
||||
<li>Conversation list now shows message count</li>
|
||||
<li>Improved conversation switch safety with flush-before-switch</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<span class="changelog-version">v1.2.0</span>
|
||||
<span class="changelog-date">2026-05-19</span>
|
||||
|
||||
Reference in New Issue
Block a user