@vincentbanana/banana-gui 0.9.0 → 0.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentbanana/banana-gui",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Banana 的图形界面:本地服务 + 浏览器。黑白主题,自绘图标,无第三方 UI 依赖",
5
5
  "type": "module",
6
6
  "engines": {
@@ -71,7 +71,7 @@
71
71
  "electron-builder": "^25.0.0"
72
72
  },
73
73
  "dependencies": {
74
- "@vincentbanana/bananacli": "^0.7.0"
74
+ "@vincentbanana/bananacli": "^0.7.1"
75
75
  },
76
76
  "license": "MIT",
77
77
  "publishConfig": {
package/ui/app.js CHANGED
@@ -3576,7 +3576,12 @@ function bind() {
3576
3576
  $('sendBtn').innerHTML = svg('send');
3577
3577
  $('abortBtn').innerHTML = svg('stop');
3578
3578
  $('closeSettings').innerHTML = svg('x');
3579
- $('toggleSidebar').innerHTML = svg('history');
3579
+ // 左上角保留 Banana 叶子标记;点击/ Ctrl+B 仍然打开历史会话
3580
+ $('toggleSidebar').innerHTML =
3581
+ '<svg class="brand-mark" viewBox="0 0 24 24" aria-hidden="true">' +
3582
+ '<path d="M7 4.6c2.6-.4 4.9.5 6.3 2.6M12.3 7.2c1.4-2.1 3.7-3 6.3-2.6-1.1 1.6-1.2 3.1-.4 4.6.8 1.5.8 3-.1 4.5-1.1 2-3.3 3.5-5.9 4.3-2.3.7-4.7.7-7.1 0" />' +
3583
+ '<path d="M7.2 18c-1.1-2-1.2-4-.4-6 .9-2.3 2.5-3.7 4.7-4.2" />' +
3584
+ '</svg>';
3580
3585
  $('toggleSidebar').title = '历史会话(Ctrl+B)';
3581
3586
  $('attachBtn').innerHTML = svg('attach');
3582
3587
  $('jumpLatest').innerHTML = svg('arrowDown');
package/ui/index.html CHANGED
@@ -5,6 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <meta name="color-scheme" content="light dark" />
7
7
  <title>Banana</title>
8
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='8' fill='%23171717'/%3E%3Cg fill='none' stroke='%23dcde8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21c1.6-7 6-11.4 14-12 0 7.4-3.9 12.9-9.9 15'/%3E%3Cpath d='M9 27c3-6 7-10 13-13'/%3E%3C/g%3E%3C/svg%3E" />
8
9
  <link rel="stylesheet" href="vendor/xterm.css" />
9
10
  <link rel="stylesheet" href="style.css" />
10
11
  </head>