1// Backend plugin definition for Windows System Tray
2// This is loaded by the backend to register the tray plugin
6 displayName: 'System Tray Icon',
7 description: 'Display agent status icon in Windows system tray with quick access menu',
12 // Plugin is enabled by default for all Windows agents
15 // No configuration needed
18 // Files to deploy to agent
21 source: 'agent/plugins/tray/tray-windows.js',
22 destination: 'plugins/tray-windows.js',
27 // Install/uninstall hooks
28 async install(agent, config) {
29 console.log(`[Plugin:tray] Installing tray icon for agent ${agent.agent_uuid}`);
30 return { success: true };
33 async uninstall(agent) {
34 console.log(`[Plugin:tray] Uninstalling tray icon for agent ${agent.agent_uuid}`);
35 // Plugin will stop when agent restarts
36 return { success: true };
39 async configure(agent, config) {
40 console.log(`[Plugin:tray] Configuring tray icon for agent ${agent.agent_uuid}`);
41 return { success: true };