@nestim/koishi-plugin-qqgm-webui 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
- package/public/index.html +12 -15
package/index.js
CHANGED
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<div id="overview-monitor">
|
|
81
81
|
<div class="page-head">
|
|
82
82
|
<div>
|
|
83
|
-
<h1>总览 <span class="proto-tag"
|
|
83
|
+
<h1>总览 <span class="proto-tag">只读</span></h1>
|
|
84
84
|
<p>今天 12-02 · 数据来自 qqgm-monitor SQLite</p>
|
|
85
85
|
</div>
|
|
86
86
|
<div class="head-actions">
|
|
@@ -468,8 +468,7 @@
|
|
|
468
468
|
<button class="config-plugin" data-config="chat"><span class="plugin-ico orange">S</span><div><b>qqgm-chat-style</b><small>聊天风格 · 已安装</small></div></button>
|
|
469
469
|
<button class="config-plugin" data-config="private"><span class="plugin-ico purple">P</span><div><b>qqgm-private</b><small>私聊 · 已安装</small></div></button>
|
|
470
470
|
<button class="config-plugin" data-config="webui"><span class="plugin-ico slate">W</span><div><b>qqgm-webui</b><small>本插件 · 已安装</small></div></button>
|
|
471
|
-
<
|
|
472
|
-
<button class="config-plugin" data-config="memory"><span class="plugin-ico muted">R</span><div><b>qqgm-memory</b><small>记忆管理 · 未安装</small></div><span class="mini-badge">未安装</span></button>
|
|
471
|
+
<button class="config-plugin" data-config="memory"><span class="plugin-ico muted">R</span><div><b>qqgm-memory</b><small>记忆管理 · 已安装</small></div></button>
|
|
473
472
|
</aside>
|
|
474
473
|
|
|
475
474
|
<div class="card config-form">
|
|
@@ -531,18 +530,16 @@
|
|
|
531
530
|
</div>
|
|
532
531
|
|
|
533
532
|
<div class="side-panel" data-panel="memory">
|
|
534
|
-
<div class="
|
|
535
|
-
|
|
536
|
-
<
|
|
537
|
-
<
|
|
538
|
-
<
|
|
539
|
-
<button class="btn primary" data-toast="一键安装(原型):正式版会调用安装接口">一键安装</button>
|
|
540
|
-
<a class="btn ghost" href="https://github.com/Miseat/koishi-plugin-qqgm-memory" target="_blank" rel="noreferrer">GitHub</a>
|
|
541
|
-
<a class="btn ghost" href="https://www.npmjs.com/package/@nestim/koishi-plugin-qqgm-memory" target="_blank" rel="noreferrer">npm</a>
|
|
542
|
-
</div>
|
|
543
|
-
<code class="install-code">npm i @nestim/koishi-plugin-qqgm-memory</code>
|
|
544
|
-
<p class="hint">主插件不用改;记忆库默认仍是 MD,装完后可自行切换。</p>
|
|
533
|
+
<div class="form-head"><div><h2>qqgm-memory</h2><p>@nestim/koishi-plugin-qqgm-memory · v1.0.0</p></div><span class="status ok">运行中</span></div>
|
|
534
|
+
<div class="form-section"><h3>数据库</h3>
|
|
535
|
+
<label class="field"><span>SQLite 文件</span><input value="data/qqgm-memory.sqlite" /></label>
|
|
536
|
+
<label class="field"><span>主插件记忆后端</span><input value="md(默认)" disabled /></label>
|
|
537
|
+
<p class="hint">主插件当前是 MD。把主插件 <code>memoryBackend</code> 改为 <code>sqlite</code> 后,本插件才接管数据;迁移前先备份 MD。</p>
|
|
545
538
|
</div>
|
|
539
|
+
<div class="form-section"><h3>迁移</h3>
|
|
540
|
+
<p class="hint">切到 SQLite 后执行 <code>memdb migrate</code> 导入 Memory_*.md;改回 md 可回滚。当前库 0 条。</p>
|
|
541
|
+
</div>
|
|
542
|
+
<div class="form-foot"><span>和主插件共用同一个 DB 文件</span><div><button class="btn ghost" data-toast="已还原(原型)">还原</button><button class="btn primary" data-toast="记忆配置已保存(原型)">保存</button></div></div>
|
|
546
543
|
</div>
|
|
547
544
|
</div>
|
|
548
545
|
</div>
|
|
@@ -568,7 +565,7 @@
|
|
|
568
565
|
<span><i class="pulse"></i> 127.0.0.1:5140/qqgm</span>
|
|
569
566
|
<span>SQLite · WAL</span>
|
|
570
567
|
<span>21 calls today</span>
|
|
571
|
-
<span class="right"
|
|
568
|
+
<span class="right">只读数据 · SQLite</span>
|
|
572
569
|
</footer>
|
|
573
570
|
</main>
|
|
574
571
|
</div>
|