agentdev-webui 1.1.4 → 1.1.5
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/lib/pwa.js +11 -7
- package/package.json +1 -1
- package/public/favicon.svg +4 -3
package/lib/pwa.js
CHANGED
|
@@ -84,18 +84,22 @@ self.addEventListener('message', event => {
|
|
|
84
84
|
|
|
85
85
|
function getIconSvg(size) {
|
|
86
86
|
return `<svg xmlns="http://www.w3.org/2000/svg" width="${size}" height="${size}" viewBox="0 0 100 100">
|
|
87
|
-
<rect width="100" height="100"
|
|
88
|
-
|
|
89
|
-
<
|
|
87
|
+
<rect width="100" height="100" fill="#000"/>
|
|
88
|
+
<!-- 3 cursors with classic terminal proportion (~1:2 width:height) -->
|
|
89
|
+
<rect x="18" y="26" width="14" height="48" fill="#fff" opacity="0.3"/>
|
|
90
|
+
<rect x="43" y="26" width="14" height="48" fill="#fff" opacity="0.6"/>
|
|
91
|
+
<rect x="68" y="26" width="14" height="48" fill="#fff" opacity="1"/>
|
|
90
92
|
</svg>`;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
function getOgImageSvg() {
|
|
94
96
|
return `<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
|
|
95
|
-
<rect width="1200" height="630" fill="#
|
|
96
|
-
|
|
97
|
-
<
|
|
98
|
-
<
|
|
97
|
+
<rect width="1200" height="630" fill="#000"/>
|
|
98
|
+
<!-- 3 cursors scaled for OG image -->
|
|
99
|
+
<rect x="440" y="140" width="56" height="192" fill="#fff" opacity="0.3"/>
|
|
100
|
+
<rect x="540" y="140" width="56" height="192" fill="#fff" opacity="0.6"/>
|
|
101
|
+
<rect x="640" y="140" width="56" height="192" fill="#fff" opacity="1"/>
|
|
102
|
+
<text x="600" y="440" font-family="system-ui,sans-serif" font-size="48" font-weight="bold" fill="#fff" text-anchor="middle">Agent Dev</text>
|
|
99
103
|
</svg>`;
|
|
100
104
|
}
|
|
101
105
|
|
package/package.json
CHANGED
package/public/favicon.svg
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
2
|
-
<rect width="32" height="32"
|
|
3
|
-
<
|
|
4
|
-
<
|
|
2
|
+
<rect width="32" height="32" fill="#000"/>
|
|
3
|
+
<rect x="5.76" y="8.32" width="4.48" height="15.36" fill="#fff" opacity="0.3"/>
|
|
4
|
+
<rect x="13.76" y="8.32" width="4.48" height="15.36" fill="#fff" opacity="0.6"/>
|
|
5
|
+
<rect x="21.76" y="8.32" width="4.48" height="15.36" fill="#fff" opacity="1"/>
|
|
5
6
|
</svg>
|