@supaku/agentfactory-dashboard 0.7.2 → 0.7.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/package.json
CHANGED
|
@@ -96,12 +96,23 @@ export function SettingsView({ className }: SettingsViewProps) {
|
|
|
96
96
|
<p className="mt-0.5 text-xs font-body text-af-text-tertiary">
|
|
97
97
|
{workers.length > 0
|
|
98
98
|
? `${workers.length} worker${workers.length !== 1 ? 's' : ''} registered`
|
|
99
|
-
:
|
|
99
|
+
: !hasWorkerAuth && (stats?.workersOnline ?? 0) > 0
|
|
100
|
+
? `${stats!.workersOnline} worker${stats!.workersOnline !== 1 ? 's' : ''} online`
|
|
101
|
+
: 'No workers connected'}
|
|
100
102
|
</p>
|
|
101
103
|
</div>
|
|
102
104
|
|
|
103
105
|
<div className="px-6 py-4">
|
|
104
|
-
{
|
|
106
|
+
{!hasWorkerAuth && (stats?.workersOnline ?? 0) > 0 ? (
|
|
107
|
+
<div className="space-y-2">
|
|
108
|
+
<p className="text-sm font-body text-af-text-secondary">
|
|
109
|
+
{stats!.workersOnline} worker{stats!.workersOnline !== 1 ? 's' : ''} connected to the fleet.
|
|
110
|
+
</p>
|
|
111
|
+
<p className="text-xs font-body text-af-text-tertiary">
|
|
112
|
+
Set <code className="font-mono text-2xs px-1 py-0.5 rounded bg-af-surface-border/30">WORKER_API_KEY</code> to view detailed worker information.
|
|
113
|
+
</p>
|
|
114
|
+
</div>
|
|
115
|
+
) : workers.length === 0 ? (
|
|
105
116
|
<p className="text-sm font-body text-af-text-tertiary">
|
|
106
117
|
Workers will appear here once they register with the server.
|
|
107
118
|
</p>
|