v3.3.0: File Manager, SSH/Remote access, Approval gate

- File Manager: browse device files, open/preview, install APKs
- SSH/Remote: [SSH_EXEC], [SSH_UPLOAD], [SSH_DOWNLOAD], [REMOTE_EXEC], [CURL_EXEC]
- Approval gate: all sensitive actions require user approval
- New FileManagerPlugin native plugin
- Updated agentic system prompt with external access docs
- Cleaned up stale .idsig artifacts from releases/
This commit is contained in:
admin
2026-05-21 17:42:22 +04:00
Unverified
parent d98508dafa
commit 5125725ea7
10 changed files with 565 additions and 66 deletions

View File

@@ -98,7 +98,10 @@
<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" aria-label="Close file tree">&times;</button>
<div style="display:flex;gap:8px;align-items:center;">
<button id="device-files-btn" class="icon-btn" aria-label="Open device files" title="Device files">&#128193;</button>
<button id="file-tree-close" class="icon-btn" aria-label="Close file tree">&times;</button>
</div>
</div>
<div id="file-tree-body" class="file-tree-body">
<div class="ftree-empty">No files yet.<br>AI-generated files appear here.</div>
@@ -231,7 +234,7 @@
</div>
</div>
<div id="settings-screen" class="screen">
<div id="settings-screen" class="screen">
<div class="settings-container">
<div class="settings-header">
<button id="settings-back" class="icon-btn" aria-label="Back to chat">&larr;</button>
@@ -338,13 +341,23 @@
</div>
<div class="settings-section">
<h3>About</h3>
<p class="about-text">Z.AI Chat v3.2.0</p>
<p class="about-text">Z.AI Chat v3.3.0</p>
<p class="about-text">Built with Z.AI SDK &amp; 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">v3.3.0</span>
<span class="changelog-date">2026-05-21</span>
<ul>
<li><strong>File Manager</strong> — browse device files, open/preview any file, install APKs directly</li>
<li><strong>SSH / Remote Access</strong> — AI can SSH into external machines, SCP files, curl URLs (user approves each)</li>
<li><strong>Approval Gate</strong> — all sensitive actions (SSH, SCP, curl, adb, pip, etc.) require your explicit approval</li>
<li><strong>New Action Tags</strong> — [SSH_EXEC], [SSH_UPLOAD], [SSH_DOWNLOAD], [REMOTE_EXEC], [CURL_EXEC]</li>
</ul>
</li>
<li>
<span class="changelog-version">v3.2.0</span>
<span class="changelog-date">2026-05-20</span>
@@ -612,6 +625,21 @@
</div>
</div>
</div>
<div id="approval-modal" class="file-viewer" style="display:none;z-index:3000;">
<div class="file-viewer-header">
<div class="file-viewer-title">
<span id="approval-title">Approval required</span>
</div>
<div class="file-viewer-actions">
<button id="approval-deny" class="fv-btn">Deny</button>
<button id="approval-allow" class="fv-btn fv-btn-save">Approve</button>
</div>
</div>
<div class="file-viewer-body" style="padding:16px;">
<pre id="approval-body" style="white-space:pre-wrap;margin:0;"></pre>
</div>
</div>
</div>
</div>
<script src="js/marked.min.js"></script>