@lamalibre/lamaste-agent-ui 4.0.0 → 4.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lamalibre/lamaste-agent-ui",
3
- "version": "4.0.0",
3
+ "version": "4.2.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",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "repository": {
37
37
  "type": "git",
38
- "url": "https://github.com/AnonVans/lamaste.git",
38
+ "url": "https://github.com/lamalibre/lamaste.git",
39
39
  "directory": "packages/agent/ui"
40
40
  },
41
41
  "license": "SEE LICENSE IN LICENSE.md",
@@ -16,7 +16,7 @@ import {
16
16
  ChevronsUp,
17
17
  X,
18
18
  } from 'lucide-react';
19
- import { Cpu, Terminal, Folder, Shield } from 'lucide-react';
19
+ import { Cpu, Terminal, Folder, Shield, Network } from 'lucide-react';
20
20
  import { useToast } from '../components/Toast.jsx';
21
21
  import { useAgentClient } from '../context/AgentClientContext.jsx';
22
22
  import { errorMessage } from '../lib/errorMessage.js';
@@ -425,6 +425,9 @@ function PluginCard({
425
425
  const updateType = updateInfo?.hasUpdate
426
426
  ? getUpdateType(updateInfo.currentVersion, updateInfo.latestVersion)
427
427
  : null;
428
+ // An agent-hosted plugin runs as its own application; this agent's plugin
429
+ // host never loads it, so it has no panel to open.
430
+ const agentHosted = plugin.hosting === 'agent';
428
431
 
429
432
  return (
430
433
  <div className="rounded-lg bg-zinc-900 border border-zinc-800 p-5">
@@ -444,7 +447,18 @@ function PluginCard({
444
447
  </button>
445
448
  )}
446
449
  </div>
447
- <StatusBadge status={plugin.status} />
450
+ <div className="flex items-center gap-2">
451
+ {agentHosted && (
452
+ <span
453
+ className="flex items-center gap-1 text-xs px-2 py-0.5 rounded-full bg-cyan-500/10 text-cyan-400"
454
+ title="The application runs as its own service. The plugin host never loads its code."
455
+ >
456
+ <Network size={11} />
457
+ Agent-hosted
458
+ </span>
459
+ )}
460
+ <StatusBadge status={plugin.status} />
461
+ </div>
448
462
  </div>
449
463
 
450
464
  {plugin.displayName && <p className="text-zinc-500 text-xs font-mono mb-1">{plugin.name}</p>}
@@ -530,7 +544,7 @@ function PluginCard({
530
544
  <PowerOff size={12} />
531
545
  Disable
532
546
  </button>
533
- {plugin.packages?.server && (
547
+ {plugin.packages?.server && !agentHosted && (
534
548
  <button
535
549
  type="button"
536
550
  onClick={() => onOpen(plugin.name)}