@hyperdreamer/pi-webui 1.10.0 → 1.10.2
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/dist/client/assets/{CodeViewer-Cm2qJjkP.js → CodeViewer-BdULrLxb.js} +1 -1
- package/dist/client/assets/{UnifiedDiffViewer-XFd_Uipx.js → UnifiedDiffViewer-DDlEJGJ4.js} +1 -1
- package/dist/client/assets/{index-DtFX3SXN.js → index-Bq-PmNe2.js} +529 -406
- package/dist/client/index.html +1 -1
- package/dist/pi-webui-plugins/workspace-memory/memoryPanelElement.js +9 -4
- package/package.json +1 -1
package/dist/client/index.html
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--pi-bg); color: var(--pi-text); }
|
|
54
54
|
body { min-height: 100dvh; }
|
|
55
55
|
</style>
|
|
56
|
-
<script type="module" crossorigin src="./assets/index-
|
|
56
|
+
<script type="module" crossorigin src="./assets/index-Bq-PmNe2.js"></script>
|
|
57
57
|
<link rel="modulepreload" crossorigin href="./assets/vendor-editor-core-vUi74DnD.js">
|
|
58
58
|
<link rel="modulepreload" crossorigin href="./assets/vendor-editor-languages-DoaXUodB.js">
|
|
59
59
|
<link rel="modulepreload" crossorigin href="./assets/vendor-terminal-D8k4UKM2.js">
|
|
@@ -198,8 +198,9 @@ function renderMemoryGroupHtml(options) {
|
|
|
198
198
|
? `<p class="memory-group-message">${escapeHtml(options.emptyMessage)}</p>`
|
|
199
199
|
: options.entries.map((entry) => renderEntryHtml(entry)).join("");
|
|
200
200
|
return `
|
|
201
|
-
<details class="memory-group"
|
|
201
|
+
<details class="memory-group">
|
|
202
202
|
<summary>
|
|
203
|
+
<svg class="memory-group-chevron" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m9 18 6-6-6-6"></path></svg>
|
|
203
204
|
<span class="memory-group-title">${escapeHtml(options.title)}</span>
|
|
204
205
|
<span class="${unavailable ? "memory-group-status unavailable" : "memory-group-count"}">${unavailable ? "Unavailable" : count}</span>
|
|
205
206
|
</summary>
|
|
@@ -216,9 +217,13 @@ function panelStyles() {
|
|
|
216
217
|
.memory-group { border: 1px solid var(--pi-border); border-radius: 8px; margin-bottom: 10px; }
|
|
217
218
|
.memory-group:last-child { margin-bottom: 0; }
|
|
218
219
|
.memory-group[open] { background: var(--pi-surface); }
|
|
219
|
-
.memory-group summary { display: flex; align-items: center;
|
|
220
|
-
.memory-group-
|
|
221
|
-
.memory-group
|
|
220
|
+
.memory-group summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none; }
|
|
221
|
+
.memory-group summary::-webkit-details-marker { display: none; }
|
|
222
|
+
.memory-group summary::marker { content: ""; }
|
|
223
|
+
.memory-group-chevron { flex: 0 0 auto; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--pi-muted); pointer-events: none; transition: transform 0.15s ease; }
|
|
224
|
+
.memory-group[open] .memory-group-chevron { transform: rotate(90deg); }
|
|
225
|
+
.memory-group-title { flex: 1 1 auto; min-width: 0; font-weight: 600; }
|
|
226
|
+
.memory-group-count, .memory-group-status { flex: 0 0 auto; color: var(--pi-muted); font-size: 12px; white-space: nowrap; }
|
|
222
227
|
.memory-group-status.unavailable { color: var(--pi-danger); }
|
|
223
228
|
.memory-group-body { padding: 0 12px 12px; }
|
|
224
229
|
.memory-group-message { margin: 0; color: var(--pi-muted); }
|
package/package.json
CHANGED