@lamalibre/lamaste-agent-ui 4.3.0 → 4.4.0

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.
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Lamaste Agent</title>
7
- <script type="module" crossorigin src="/assets/index-CsKRs3m0.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-ja8TcUOi.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="/assets/index-Cl7aUHaU.css">
9
9
  </head>
10
10
  <body style="background-color: #09090b">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lamalibre/lamaste-agent-ui",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "Shared React agent UI for Lamaste — consumed by desktop app and web agent panel",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -12,7 +12,8 @@
12
12
  "./lib/*": "./src/lib/*"
13
13
  },
14
14
  "scripts": {
15
- "build:web": "vite build"
15
+ "prepack": "node ../../../scripts/assert-production-bundle.js dist-web lamaste-agent-ui/dist-web",
16
+ "build": "vite build"
16
17
  },
17
18
  "peerDependencies": {
18
19
  "@tanstack/react-query": "^5.0.0",
@@ -16,6 +16,7 @@ import {
16
16
  import { useAgentClient } from '../context/AgentClientContext.jsx';
17
17
  import { useToast } from '../components/Toast.jsx';
18
18
  import { errorMessage } from '../lib/errorMessage.js';
19
+ import { version } from '../../package.json';
19
20
 
20
21
  export default function SettingsPage({ agentLabel, onUninstalled }) {
21
22
  const client = useAgentClient();
@@ -276,8 +277,16 @@ export default function SettingsPage({ agentLabel, onUninstalled }) {
276
277
  {/* About */}
277
278
  <div className="mt-4 bg-zinc-900 border border-zinc-800 rounded-lg p-5">
278
279
  <h2 className="text-xs font-medium uppercase text-zinc-400 mb-3">About</h2>
279
- <p className="text-sm text-zinc-300">Lamaste Desktop v0.1.0</p>
280
- <p className="text-xs text-zinc-500 mt-1">Cross-platform tunnel agent with system tray</p>
280
+ {window.__TAURI_INTERNALS__ ? (
281
+ <>
282
+ <p className="text-sm text-zinc-300">Lamaste Desktop v{version}</p>
283
+ <p className="text-xs text-zinc-500 mt-1">
284
+ Cross-platform tunnel agent with system tray
285
+ </p>
286
+ </>
287
+ ) : (
288
+ <p className="text-sm text-zinc-300">Lamaste agent panel v{version}</p>
289
+ )}
281
290
  </div>
282
291
 
283
292
  {/* Danger Zone */}