Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Rename Agents surface to Standalone

rcourtmaned1770c4f435
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index a332b53591..27bb40bd13 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -145,13 +145,14 @@ runtime cost control, and shared AI transport surfaces.
the VMware page must not introduce VMware-local AI prompts, a provider
model picker, or a vSphere-specific chat/runtime route just because
networks are now rendered as a first-class API-native table.
- The `Agents` top-level platform page follows the same AI runtime boundary:
- route registration and primary-tab chrome may expose the support-manifest
- `agent` platform, but the page must not add an agent-specific Assistant
- prompt surface, AI launcher, model picker, or browser-owned model context.
- Agent rows may seed Assistant or Patrol only through the shared unified
- resource handoff contracts. Agents also stays behind provider/runtime
- platform pages in the primary shell order; moving Agents after Proxmox,
+ The `Standalone` top-level platform page follows the same AI runtime
+ boundary: route registration and primary-tab chrome may expose the
+ support-manifest `agent` platform plus agentless availability endpoints,
+ but the page must not add an agent-specific Assistant prompt surface, AI
+ launcher, model picker, or browser-owned model context. Standalone rows
+ may seed Assistant or Patrol only through the shared unified resource
+ handoff contracts. Standalone also stays behind provider/runtime platform
+ pages in the primary shell order; moving Standalone after Proxmox,
Containers, Kubernetes, TrueNAS, and vSphere must not change Patrol or
Assistant utility-tab ordering, launcher visibility, or shared keyboard
handling in `frontend-modern/src/AppLayout.tsx`.
@@ -686,8 +687,8 @@ rather than reviving retired Infrastructure or aggregate workspace paths;
adding a platform tab through the same shell files must not fork Assistant or
Patrol shell state or smuggle in AI-owned platform reads.
Post-auth `/` and `/login` resolution follows that same provider-first
-platform order, with Agents only as the agent-only fallback, so the
-assistant-capable shell never treats Agents or legacy Infrastructure as the
+platform order, with Standalone only as the standalone-estate fallback, so the
+assistant-capable shell never treats Standalone or legacy Infrastructure as the
default estate surface when provider evidence exists.
The route-backed Proxmox platform tab is app-shell navigation only. Adding the
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 0bbd1b172b..47c39e0029 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -499,9 +499,10 @@ or other self-hosted uncapped continuity plans.
directly replyable by customers.
`App.tsx` and `AppLayout.tsx` own the governed platform/runtime primary
navigation. `App.tsx` registers one top-level route per supported platform
- or runtime family (Agents for the support-manifest `agent` platform,
- Proxmox, the Docker / Podman container-runtime lens, Kubernetes, TrueNAS,
- vSphere) using the canonical path constants from
+ or runtime family: Standalone for the support-manifest `agent` platform
+ plus agentless availability endpoints, Proxmox, the Docker / Podman
+ container-runtime lens, Kubernetes, TrueNAS, and vSphere, using the
+ canonical path constants from
`frontend-modern/src/routing/resourceLinks.ts`. The `PrimaryTab` list in
`AppLayout.tsx` must enumerate exactly those supported platform/runtime
destinations, but product navigation is support-and-evidence gated:
@@ -525,14 +526,14 @@ or other self-hosted uncapped continuity plans.
bespoke per-family tables, synthetic placeholder data, or reintroduce
Infrastructure as a primary navigation entry without a governed contract
decision recorded here.
- The presence of an `Agents` tab is not a new commercial usage unit:
+ The presence of a `Standalone` tab is not a new commercial usage unit:
hosted and paid surfaces continue to meter the governed monitored-system
grouping result rather than counting primary navigation destinations.
- Agents is also not the paid or hosted estate landing default when concrete
+ Standalone is also not the paid or hosted estate landing default when concrete
provider/runtime platform evidence exists; the authenticated shell order
and post-auth landing fallback must prefer Proxmox, Containers,
- Kubernetes, TrueNAS, and vSphere ahead of Agents, with Agents first only in
- an agent-only estate.
+ Kubernetes, TrueNAS, and vSphere ahead of Standalone, with Standalone first
+ only in a standalone-only estate.
## Forbidden Paths
@@ -1500,7 +1501,7 @@ path. `frontend-modern/src/App.tsx` and
`frontend-modern/src/pages/RuntimeHome.tsx` must send authenticated `/`
through the runtime-home landing contract first: existing operators and
self-hosted sessions land on the first visible provider/runtime platform in
-the canonical shell order, with Agents only for agent-only estates. Hosted
+the canonical shell order, with Standalone only for standalone-only estates. Hosted
workspaces with no connected infrastructure may still fall through to the
single `/settings/infrastructure` ownership path, but the shell must not
regress into a root-only settings redirect, legacy Infrastructure default, or
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 1c001875e8..4bf590fbc7 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -1097,23 +1097,25 @@ not a replacement status card, CTA band, or page-local nested card.
that platform-first set only, so mobile and desktop navigation stay aligned
without reintroducing aggregate Workloads / Storage / Recovery workspace
tabs or the legacy Infrastructure entry.
- The support-manifest `agent` platform may be presented as `Agents` in the
- same shell. Its primary tab, mobile priority, command-palette destination,
- and keyboard shortcut must all route through `buildAgentsPath()` and the
- `PrimaryInfrastructureNavId` evidence gate; they must not create a generic
- Hosts, Nodes, Other, or mixed-systems bucket, and they must not include
- provider-owned platform nodes that are not canonical agent resources. The
- Agents page is a platform page, not a legacy Infrastructure page: it must
+ The support-manifest `agent` platform and agentless availability endpoints
+ are presented as `Standalone` in the same shell. Its primary tab, mobile
+ priority, command-palette destination, and keyboard shortcut must all route
+ through `buildStandalonePath()` and the `PrimaryInfrastructureNavId`
+ `standalone` evidence gate; they must not create a generic Hosts, Nodes,
+ Other, or mixed-systems bucket, and they must not include provider-owned
+ platform nodes that are not canonical standalone resources. The Standalone
+ page is a platform/runtime page, not a legacy Infrastructure page: it must
use the shared platform tab, toolbar, table-card, and kind-aligned column
primitives, and it must not reintroduce the old top-of-page
- InfrastructureSummary chart strip. Agents must also remain secondary in
- the shell hierarchy when provider/runtime platform evidence exists:
+ InfrastructureSummary chart strip. Standalone must also remain secondary
+ in the shell hierarchy when provider/runtime platform evidence exists:
`PRIMARY_INFRASTRUCTURE_NAV_IDS`, desktop primary tabs, mobile primary
priority, app-shell preload order, authenticated landing fallback, and
command-palette ordering must prefer Proxmox, Containers, Kubernetes,
- TrueNAS, and vSphere ahead of Agents. Agents may win those first/default
- positions only when the current estate has standalone Pulse Agent machines
- and no provider/runtime platform evidence.
+ TrueNAS, and vSphere ahead of Standalone. Standalone may win those
+ first/default positions only when the current estate has standalone Pulse
+ Agent machines or agentless availability endpoints and no provider/runtime
+ platform evidence.
## Forbidden Paths
@@ -1408,8 +1410,8 @@ not a replacement status card, CTA band, or page-local nested card.
rules.
`frontend-modern/src/App.tsx` must land authenticated `/` and `/login`
handoffs on the first visible provider/runtime platform in the canonical
- shell order: Proxmox, Containers, Kubernetes, TrueNAS, vSphere, then Agents
- only for agent-only estates. The retired Infrastructure aggregate route and
+ shell order: Proxmox, Containers, Kubernetes, TrueNAS, vSphere, then Standalone
+ only for standalone-only estates. The retired Infrastructure aggregate route and
nested settings infrastructure aliases are not compatibility commitments:
first-time operator setup must enter through the canonical Settings →
Infrastructure workspace and its query-backed add flow, while provider
@@ -2558,7 +2560,7 @@ retired or unknown routes such as `/dashboard` must not be coerced into the
nearest platform tab just because the authenticated shell has a provider-first
landing fallback. Shared desktop and mobile navigation must tolerate a missing
active tab for those paths while still highlighting canonical active routes
-such as Proxmox, Containers, Kubernetes, TrueNAS, vSphere, Agents, Alerts,
+such as Proxmox, Containers, Kubernetes, TrueNAS, vSphere, Standalone, Alerts,
Patrol, and Settings.
The recovery feature shell now also depends on the shared
`frontend-modern/src/components/shared/Subtabs.tsx` primitive for its primary
@@ -3576,7 +3578,7 @@ metric slot, while keeping recent check timing and fuller failure context in
the tooltip or drawer so operators can understand what was measured without
duplicated row chrome.
Operational navigation for those agentless endpoints belongs to the existing
-standalone Agents surface rather than a new primary nav item. The page may
-show availability checks beside standalone Pulse Agent machines and provide a
+Standalone surface rather than a new primary nav item. The page may show
+availability checks beside standalone Pulse Agent machines and provide a
focused availability tab, but Settings remains the add/edit owner and the app
shell must not add a separate top-level Availability destination.
diff --git a/docs/release-control/v6/internal/subsystems/monitoring.md b/docs/release-control/v6/internal/subsystems/monitoring.md
index c989141a83..0c24074f85 100644
--- a/docs/release-control/v6/internal/subsystems/monitoring.md
+++ b/docs/release-control/v6/internal/subsystems/monitoring.md
@@ -292,7 +292,7 @@ and API consumers must receive them through `SourceAvailability` supplemental
records and probe-status projections, not through a mock-only monitoring type.
Frontend monitoring consumers should treat those supplemental records as
day-to-day availability evidence. Settings owns saved target management, while
-the standalone Agents surface may read the same `network-endpoint` projection
+the Standalone surface may read the same `network-endpoint` projection
to show current reachability, latency, check age, and failure state without
creating another monitoring provider or top-level availability route.
Mock-mode Discovery context follows the same fixture-graph rule. Demo service
diff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
index 0af2bbb781..a8d359a975 100644
--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md
@@ -622,7 +622,7 @@ shell clickable behind another overlay.
dashboard hot path.
Platform-first top-level pages must remain in the app-shell route preload
registry. `frontend-modern/src/routing/routePreload.ts` carries a
- `ROUTE_PRELOADERS` entry per supported platform (Agents, Proxmox plus the
+ `ROUTE_PRELOADERS` entry per supported platform (Standalone, Proxmox plus the
Docker, Kubernetes, TrueNAS, and vSphere families) so first-paint
navigation between visible shell tabs stays warm and does not depend on a
cold dynamic import after the user clicks. New supported platform families
@@ -633,9 +633,9 @@ shell clickable behind another overlay.
unfiltered resource fetches, metrics-history fan-out, recovery-history
fan-out, storage scans, or provider scans before the destination page owns
its normal data query. The preload order follows the provider-first shell
- order as a hot-path hint: Proxmox remains ahead of Agents when both
- surfaces are available, while Agents stays in the preload set so
- agent-only estates still get a warm first destination.
+ order as a hot-path hint: Proxmox remains ahead of Standalone when both
+ surfaces are available, while Standalone stays in the preload set so
+ standalone-only estates still get a warm first destination.
The authenticated app shell must not separately prewarm retired
Infrastructure or Workloads chart caches as a generic side effect; those
chart fetches belong to the route that renders the chart surface or to the
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 8ab12930ce..fc5a8e76ec 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -836,8 +836,8 @@ recovery scope, or a storage/recovery-owned secret source.
once login succeeds, `frontend-modern/src/App.tsx` must hand the browser
back to the governed provider-first landing route instead of leaving
storage/recovery-adjacent authenticated shells on a page-local not-found
- route. Agents may only be that landing target in agent-only estates; legacy
- Infrastructure remains route-compatible and must not be restored as the
+ route. Standalone may only be that landing target in standalone-only
+ estates; legacy Infrastructure is retired and must not be restored as the
default storage/recovery-adjacent operational surface.
Authenticated-shell demo organization suppression on `frontend-modern/src/App.tsx`
may hide top-bar org chrome for public demo posture, but it must not leak
@@ -995,7 +995,7 @@ recovery scope, or a storage/recovery-owned secret source.
11d. Letting recovery filter default labels drift between protected inventory and recovery events; both recovery filter surfaces must consume the shared `recoveryTablePresentation` labels (`All item types`, `All platforms`, and `Any item`) instead of hard-coding title-case local variants.
11a. Letting adjacent workload route-state changes in shared `frontend-modern/src/routing/resourceLinks.ts` perturb recovery parse/build semantics; expanding canonical workload platform scoping must not alter the owned recovery `platform` and `itemType` vocabulary, legacy alias rewrites, or recovery drill-down workspace selection
11b. Letting adjacent storage route-state additions in shared `frontend-modern/src/routing/resourceLinks.ts` perturb recovery route semantics; expanding canonical storage deep links for unified resources must not reuse recovery-owned query names or alter the owned recovery parse/build contract while those surfaces continue sharing the same route-helper module
- 11e. Letting adjacent platform-route additions in shared `frontend-modern/src/routing/resourceLinks.ts` perturb storage or recovery route semantics; adding canonical `/agents` paths or other platform paths must not reuse storage/recovery query names, alter storage or recovery parse/build behavior, or convert agent-platform membership into storage/recovery ownership
+ 11e. Letting adjacent platform-route additions in shared `frontend-modern/src/routing/resourceLinks.ts` perturb storage or recovery route semantics; adding canonical `/standalone` paths or other platform paths must not reuse storage/recovery query names, alter storage or recovery parse/build behavior, or convert agent-platform membership into storage/recovery ownership
12. Letting protected-inventory protection posture overload recovery-event outcome filtering; the protected inventory protection-state control must drive the route-backed `state` field and local rollup posture filtering, while the recovery events `status` field remains the canonical outcome filter for points, series, and facets transport filters
13. Letting visible protected-item filters fall out of shared recovery links; protected inventory state such as stale, failed, warning, running, unknown, healthy, and never-succeeded must restore from the canonical recovery URL and rewrite to the owned `state=<value>` route form, with legacy `stale=1` accepted only as compatibility input
14. Reintroducing stacked full-width recovery tables as the primary desktop layout; the governed recovery surface must expose one primary data region at a time with recovery events as the default workspace and protection coverage as an explicit secondary review so Pulse does not collapse back into a single-platform backup screen
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index d6f91c196c..5888bbf448 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -123,10 +123,10 @@ cross-source deduplication.
99. `internal/unifiedresources/clone.go`
100. `frontend-modern/src/components/Infrastructure/resourceDetailDrawerPresentation.ts`
101. `internal/unifiedresources/storage_consumers.go`
-102. `frontend-modern/src/features/agents/agentsPageModel.ts`
-103. `frontend-modern/src/features/agents/AgentsPageSurface.tsx`
-104. `frontend-modern/src/features/agents/AgentsMachinesTable.tsx`
-105. `frontend-modern/src/features/agents/AvailabilityChecksTable.tsx`
+102. `frontend-modern/src/features/standalone/standalonePageModel.ts`
+103. `frontend-modern/src/features/standalone/StandalonePageSurface.tsx`
+104. `frontend-modern/src/features/standalone/AgentsMachinesTable.tsx`
+105. `frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx`
106. `internal/platformsupport/manifest_generated.go`
107. `frontend-modern/src/features/kubernetes/KubernetesControllersTable.tsx`
108. `frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx`
@@ -681,20 +681,21 @@ AI-only summary payloads, or page-local heuristics.
rather than spawning page-local policy summary shells.
16. Keep platform/runtime top-level route paths on the canonical resource-link
helper. `frontend-modern/src/routing/resourceLinks.ts` owns the
- `AGENTS_PATH`, `DOCKER_PATH`, `KUBERNETES_PATH`, `TRUENAS_PATH`,
- `VMWARE_PATH` constants and the `buildAgentsPath`, `buildDockerPath`,
+ `STANDALONE_PATH`, `DOCKER_PATH`, `KUBERNETES_PATH`, `TRUENAS_PATH`,
+ `VMWARE_PATH` constants and the `buildStandalonePath`, `buildDockerPath`,
`buildKubernetesPath`, `buildTrueNASPath`, `buildVmwarePath` builders.
Per-platform surfaces and tab specs must
derive every internal link from those builders so the canonical resource
URL vocabulary stays single-sourced; ad hoc string concatenation of
platform routes inside feature directories is not permitted.
- The `Agents` route is the canonical browser projection of Pulse-managed
- unified-resource agent rows: membership must require
+ The `Standalone` route is the canonical browser projection of Pulse-managed
+ standalone agent rows and agentless availability endpoint rows: agent
+ membership must require
`resource.type === "agent"`, canonical Pulse-agent source evidence from
resource sources or source status, and no stronger provider-owner evidence
from Proxmox, VMware, TrueNAS, or Kubernetes. Source-less legacy snapshots
may fall back to a normalized `platformType === "agent"`, but
- provider-owned nodes must not become Agents-page members through hostname,
+ provider-owned nodes must not become Standalone-page members through hostname,
`agent` platform scope, or agent telemetry alone; those facts surface as
facets on the owning provider page.
The default tab for each platform path must point at a sub-tab whose
@@ -1139,10 +1140,10 @@ or the live-state `platformData.availability` mirror: the System column uses
the probe protocol as the compact identity badge (`ICMP`, `TCP`, or `HTTP`),
while the metric cell shows only the target detail and latest latency or
failure result, such as `6053: 11 ms`, `/status: 503`, `3 ms`, or `timed out`.
-The standalone Agents surface is the operational home for those same
-agentless checks, not a new top-level platform page. `AgentsPageSurface.tsx`
+The Standalone surface is the operational home for those same
+agentless checks, not a new top-level platform page. `StandalonePageSurface.tsx`
must fetch both `agent` and `network-endpoint` resources, keep standalone
-machines and availability checks as separate buckets in `agentsPageModel.ts`,
+machines and availability checks as separate buckets in `standalonePageModel.ts`,
and let `AvailabilityChecksTable.tsx` render saved probe method, target,
latest result, check age, failure count, and cadence from the canonical
availability payload.
@@ -2792,7 +2793,7 @@ redirect. Canonical infrastructure management lives under
`/settings/infrastructure`, while agentless endpoint availability management
lives under `/settings/monitoring/availability`; day-to-day resource
inspection lives on the platform/runtime pages, with standalone agent machines
-and agentless endpoint checks sharing the Agents surface. Future
+and agentless endpoint checks sharing the Standalone surface. Future
infrastructure work must extend those owners rather than recreating
`frontend-modern/src/features/infrastructure/`, a `/infrastructure` route, or
a separate top-level availability route.
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx
index ffb9afd007..70090bb919 100644
--- a/frontend-modern/src/App.tsx
+++ b/frontend-modern/src/App.tsx
@@ -39,17 +39,17 @@ import { aiChatStore } from './stores/aiChat';
import { useKeyboardShortcuts } from './hooks/useKeyboardShortcuts';
import { useKioskMode } from '@/hooks/useKioskMode';
import {
- AGENTS_PATH,
DOCKER_PATH,
KUBERNETES_PATH,
PATROL_PATH,
PROXMOX_PATH,
+ STANDALONE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
- buildAgentsPath,
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildStandalonePath,
buildTrueNASPath,
buildVmwarePath,
} from './routing/resourceLinks';
@@ -84,7 +84,7 @@ const DockerPage = lazy(() => import('./pages/Docker'));
const KubernetesPage = lazy(() => import('./pages/Kubernetes'));
const TrueNASPage = lazy(() => import('./pages/TrueNAS'));
const VmwarePage = lazy(() => import('./pages/Vmware'));
-const AgentsPage = lazy(() => import('./pages/Agents'));
+const StandalonePage = lazy(() => import('./pages/Standalone'));
const AIIntelligencePage = lazy(() =>
import('./pages/AIIntelligence').then((module) => ({ default: module.AIIntelligence })),
);
@@ -103,7 +103,7 @@ const PRIMARY_INFRASTRUCTURE_ROUTE_BY_ID: Record<PrimaryInfrastructureNavId, str
kubernetes: buildKubernetesPath(),
truenas: buildTrueNASPath(),
vmware: buildVmwarePath(),
- agents: buildAgentsPath(),
+ standalone: buildStandalonePath(),
};
function getDefaultWorkspaceRoute(
@@ -535,8 +535,8 @@ function App() {
<Route path={`${TRUENAS_PATH}/*`} component={TrueNASPage} />
<Route path={VMWARE_PATH} component={VmwarePage} />
<Route path={`${VMWARE_PATH}/*`} component={VmwarePage} />
- <Route path={AGENTS_PATH} component={AgentsPage} />
- <Route path={`${AGENTS_PATH}/*`} component={AgentsPage} />
+ <Route path={STANDALONE_PATH} component={StandalonePage} />
+ <Route path={`${STANDALONE_PATH}/*`} component={StandalonePage} />
<Route path="/alerts/*" component={AlertsPage} />
<Route path={`${ROOT_PATROL_PATH}/*`} component={AIIntelligencePage} />
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index 0bf2c304ac..55c2657b2d 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -36,10 +36,10 @@ import { logger } from '@/utils/logger';
import { getActiveTabForPath } from '@/routing/navigation';
import { preloadRouteModule } from '@/routing/routePreload';
import {
- buildAgentsPath,
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildStandalonePath,
buildTrueNASPath,
buildVmwarePath,
} from '@/routing/resourceLinks';
@@ -57,7 +57,7 @@ const ROOT_DOCKER_PATH = buildDockerPath();
const ROOT_KUBERNETES_PATH = buildKubernetesPath();
const ROOT_TRUENAS_PATH = buildTrueNASPath();
const ROOT_VMWARE_PATH = buildVmwarePath();
-const ROOT_AGENTS_PATH = buildAgentsPath();
+const ROOT_STANDALONE_PATH = buildStandalonePath();
const ROOT_INFRASTRUCTURE_SETTINGS_PATH = buildInfrastructureWorkspacePath();
const ROOT_ALERTS_PATH = '/alerts';
const NAV_TAB_ICON_CLASS = 'w-4 h-4 shrink-0';
@@ -213,7 +213,7 @@ export function AppLayout(props: AppLayoutProps) {
kubernetes: 'Kubernetes',
truenas: 'TrueNAS',
vmware: 'vSphere',
- agents: 'Agents',
+ standalone: 'Standalone',
alerts: 'Alerts',
ai: 'Patrol',
settings: 'Settings',
@@ -236,7 +236,7 @@ export function AppLayout(props: AppLayoutProps) {
kubernetes: ROOT_KUBERNETES_PATH,
truenas: ROOT_TRUENAS_PATH,
vmware: ROOT_VMWARE_PATH,
- agents: ROOT_AGENTS_PATH,
+ standalone: ROOT_STANDALONE_PATH,
};
const primaryWorkspacePath = createMemo(() => {
const navId = selectFirstVisiblePrimaryInfrastructureNavigationId(
@@ -386,13 +386,13 @@ export function AppLayout(props: AppLayoutProps) {
alwaysShow: false,
},
{
- id: 'agents',
- label: 'Agents',
- route: ROOT_AGENTS_PATH,
+ id: 'standalone',
+ label: 'Standalone',
+ route: ROOT_STANDALONE_PATH,
settingsRoute: ROOT_INFRASTRUCTURE_SETTINGS_PATH,
- tooltip: 'Standalone Pulse Agent machines, OS telemetry, storage, and command eligibility',
- enabled: isVisible('agents'),
- live: isVisible('agents'),
+ tooltip: 'Standalone Pulse Agent machines and agentless availability checks',
+ enabled: isVisible('standalone'),
+ live: isVisible('standalone'),
icon: ServerIcon,
alwaysShow: false,
},
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 835dd212e6..2b15936fa1 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -67,9 +67,15 @@ describe('App architecture', () => {
expect(appRuntimeStateSource).not.toContain('fetchInfrastructureSummaryAndCache');
expect(appRuntimeStateSource).not.toContain('fetchWorkloadsSummaryAndCache');
expect(appRuntimeStateSource).not.toContain('requestIdleCallback');
- expect(appSource).toContain("const AgentsPage = lazy(() => import('./pages/Agents'));");
- expect(appSource).toContain('<Route path={AGENTS_PATH} component={AgentsPage} />');
- expect(appSource).toContain('<Route path={`${AGENTS_PATH}/*`} component={AgentsPage} />');
+ expect(appSource).toContain(
+ "const StandalonePage = lazy(() => import('./pages/Standalone'));",
+ );
+ expect(appSource).toContain('<Route path={STANDALONE_PATH} component={StandalonePage} />');
+ expect(appSource).toContain(
+ '<Route path={`${STANDALONE_PATH}/*`} component={StandalonePage} />',
+ );
+ expect(appSource).not.toContain("import('./pages/Agents')");
+ expect(appSource).not.toContain('AGENTS_PATH');
expect(appSource).toContain('<Route path={PROXMOX_PATH} component={ProxmoxPage} />');
expect(appSource).toContain('<Route path={`${PROXMOX_PATH}/*`} component={ProxmoxPage} />');
expect(appSource).toContain("const DockerPage = lazy(() => import('./pages/Docker'));");
@@ -80,15 +86,15 @@ describe('App architecture', () => {
expect(appSource).toContain('<Route path={KUBERNETES_PATH} component={KubernetesPage} />');
expect(appSource).toContain('<Route path={TRUENAS_PATH} component={TrueNASPage} />');
expect(appSource).toContain('<Route path={VMWARE_PATH} component={VmwarePage} />');
- expect(routePreloadSource).toContain("id: 'agents',");
+ expect(routePreloadSource).toContain("id: 'standalone',");
expect(routePreloadSource).toContain("id: 'docker',");
expect(routePreloadSource).toContain("id: 'kubernetes',");
expect(routePreloadSource).toContain("id: 'truenas',");
expect(routePreloadSource).toContain("id: 'vmware',");
expect(routePreloadSource.indexOf("id: 'proxmox',")).toBeLessThan(
- routePreloadSource.indexOf("id: 'agents',"),
+ routePreloadSource.indexOf("id: 'standalone',"),
);
- expect(appLayoutSource).toContain("id: 'agents',");
+ expect(appLayoutSource).toContain("id: 'standalone',");
expect(appLayoutSource).toContain("id: 'docker',");
expect(appLayoutSource).toContain("id: 'kubernetes',");
expect(appLayoutSource).toContain("id: 'truenas',");
@@ -97,7 +103,7 @@ describe('App architecture', () => {
"tooltip: 'VMware vSphere hosts, virtual machines, datastores, and networks'",
);
expect(appLayoutSource).toContain(
- "tooltip: 'Standalone Pulse Agent machines, OS telemetry, storage, and command eligibility'",
+ "tooltip: 'Standalone Pulse Agent machines and agentless availability checks'",
);
// Governed shell nav: Infrastructure, Workloads, Storage, and Recovery are
// not standalone shell tabs; platform/runtime pages own those workflows.
@@ -353,13 +359,13 @@ describe('App architecture', () => {
expect(appRuntimeStateSource).not.toContain('function AppLayout(');
expect(routePreloadSource).toContain('const ROUTE_PRELOADERS: readonly RoutePreloader[] = [');
expect(routePreloadSource).toContain('export const APP_SHELL_ROUTE_PRELOAD_PATHS = [');
- expect(routePreloadSource).toContain("id: 'agents',");
+ expect(routePreloadSource).toContain("id: 'standalone',");
expect(routePreloadSource).toContain("id: 'proxmox',");
expect(routePreloadSource).toContain("id: 'patrol',");
expect(routePreloadSource).toContain(
'const routePreloadCache = new Map<string, Promise<void>>();',
);
- expect(routePreloadSource).toContain("import('@/pages/Agents')");
+ expect(routePreloadSource).toContain("import('@/pages/Standalone')");
expect(routePreloadSource).toContain("import('@/pages/Proxmox')");
expect(routePreloadSource).not.toContain("import('@/pages/Infrastructure')");
expect(routePreloadSource).not.toContain("import('@/pages/Workloads')");
diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsx
index 6fa37847d0..336bb0a985 100644
--- a/frontend-modern/src/__tests__/AppLayout.test.tsx
+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx
@@ -131,9 +131,9 @@ describe('AppLayout navigation icons', () => {
within(infrastructureGroup as HTMLElement)
.getAllByRole('tab')
.map((tab) => tab.getAttribute('aria-label')),
- ).toEqual(['Proxmox', 'Containers', 'vSphere', 'Agents']);
+ ).toEqual(['Proxmox', 'Containers', 'vSphere', 'Standalone']);
expect(
- within(infrastructureGroup as HTMLElement).getByRole('tab', { name: 'Agents' }),
+ within(infrastructureGroup as HTMLElement).getByRole('tab', { name: 'Standalone' }),
).toBeTruthy();
expect(
within(infrastructureGroup as HTMLElement).getByRole('tab', { name: 'Proxmox' }),
diff --git a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
index 593c014a1e..6aad1af60d 100644
--- a/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
+++ b/frontend-modern/src/components/shared/KeyboardShortcutsModal.tsx
@@ -19,7 +19,7 @@ interface KeyboardShortcutsModalProps {
const UNIFIED_NAV_SHORTCUTS: ShortcutGroup = {
title: 'Navigation',
items: [
- { keys: 'g then e', description: 'Go to Agents' },
+ { keys: 'g then s', description: 'Go to Standalone' },
{ keys: 'g then p', description: 'Go to Proxmox' },
{ keys: 'g then d', description: 'Go to Containers' },
{ keys: 'g then k', description: 'Go to Kubernetes' },
@@ -32,7 +32,7 @@ const UNIFIED_NAV_SHORTCUTS: ShortcutGroup = {
};
const NAV_PRIMARY_SHORTCUTS: Record<string, keyof InfrastructureNavigationVisibility> = {
- 'g then e': 'agents',
+ 'g then s': 'standalone',
'g then p': 'proxmox',
'g then d': 'docker',
'g then k': 'kubernetes',
diff --git a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
index 07e07f98c2..dacf716b77 100644
--- a/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/CommandPaletteModal.test.tsx
@@ -57,7 +57,7 @@ describe('CommandPaletteModal', () => {
expect(commandPaletteStateSource).toContain('useNavigate');
expect(commandPaletteStateSource).toContain('createSignal');
- expect(commandPaletteStateSource).toContain('buildAgentsPath');
+ expect(commandPaletteStateSource).toContain('buildStandalonePath');
expect(commandPaletteStateSource).toContain('buildProxmoxPath');
expect(commandPaletteStateSource).toContain('export function useCommandPaletteState');
@@ -71,7 +71,7 @@ describe('CommandPaletteModal', () => {
expect(commandPaletteModelSource).toContain('buildCommandPaletteCommands');
expect(commandPaletteModelSource).toContain('normalizeCommandPaletteQuery');
expect(commandPaletteModelSource).toContain('filterCommandPaletteCommands');
- expect(commandPaletteModelSource).toContain("id: 'nav-agents'");
+ expect(commandPaletteModelSource).toContain("id: 'nav-standalone'");
expect(commandPaletteModelSource).toContain("id: 'nav-proxmox'");
expect(commandPaletteModelSource).toContain("id: 'nav-docker'");
expect(commandPaletteModelSource).toContain("id: 'nav-kubernetes'");
@@ -94,7 +94,8 @@ describe('CommandPaletteModal', () => {
/>
));
- expect(screen.getByText('Go to Agents')).toBeInTheDocument();
+ expect(screen.getByText('Go to Standalone')).toBeInTheDocument();
+ expect(screen.getByText('/standalone/overview')).toBeInTheDocument();
expect(screen.getByText('Go to Proxmox')).toBeInTheDocument();
expect(screen.getByText('Go to Containers')).toBeInTheDocument();
expect(screen.getByText('Go to Kubernetes Workloads')).toBeInTheDocument();
@@ -111,7 +112,7 @@ describe('CommandPaletteModal', () => {
const commandLabels = screen.getAllByRole('button').map((button) => button.textContent ?? '');
expect(commandLabels.findIndex((label) => label.includes('Go to Proxmox'))).toBeLessThan(
- commandLabels.findIndex((label) => label.includes('Go to Agents')),
+ commandLabels.findIndex((label) => label.includes('Go to Standalone')),
);
});
@@ -182,7 +183,7 @@ describe('CommandPaletteModal', () => {
expect(screen.queryByText('Go to Workloads')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Storage')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Recovery')).not.toBeInTheDocument();
- expect(screen.queryByText('Go to Agents')).not.toBeInTheDocument();
+ expect(screen.queryByText('Go to Standalone')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Containers')).not.toBeInTheDocument();
expect(screen.queryByText('Go to Kubernetes')).not.toBeInTheDocument();
expect(screen.queryByText('Go to TrueNAS')).not.toBeInTheDocument();
diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
index 9ffd5db788..f226f5ee9a 100644
--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
@@ -12,7 +12,9 @@ window.requestAnimationFrame = ((callback: FrameRequestCallback) => {
return 1;
}) as typeof window.requestAnimationFrame;
-const AgentsIcon: Component<{ class?: string }> = (props) => <span class={props.class}>AG</span>;
+const StandaloneIcon: Component<{ class?: string }> = (props) => (
+ <span class={props.class}>SA</span>
+);
const ProxmoxIcon: Component<{ class?: string }> = (props) => <span class={props.class}>PX</span>;
const AlertsIcon: Component<{ class?: string }> = (props) => <span class={props.class}>AL</span>;
const SettingsIcon: Component<{ class?: string }> = (props) => <span class={props.class}>SE</span>;
@@ -87,14 +89,14 @@ describe('MobileNavBar', () => {
activeTab={() => null}
primaryTabs={() => [
{
- id: 'agents',
- label: 'Agents',
- route: '/agents/overview',
+ id: 'standalone',
+ label: 'Standalone',
+ route: '/standalone/overview',
settingsRoute: '/settings/infrastructure',
- tooltip: 'Agents',
+ tooltip: 'Standalone',
enabled: true,
live: true,
- icon: AgentsIcon,
+ icon: StandaloneIcon,
alwaysShow: true,
},
]}
@@ -132,14 +134,14 @@ describe('MobileNavBar', () => {
activeTab={() => 'proxmox'}
primaryTabs={() => [
{
- id: 'agents',
- label: 'Agents',
- route: '/agents/overview',
+ id: 'standalone',
+ label: 'Standalone',
+ route: '/standalone/overview',
settingsRoute: '/settings/infrastructure',
- tooltip: 'Agents',
+ tooltip: 'Standalone',
enabled: true,
live: true,
- icon: AgentsIcon,
+ icon: StandaloneIcon,
alwaysShow: true,
},
{
@@ -190,7 +192,7 @@ describe('MobileNavBar', () => {
const buttons = container.querySelectorAll('button[data-tab-id]');
expect(buttons[0]).toHaveAttribute('data-tab-id', 'proxmox');
- expect(buttons[1]).toHaveAttribute('data-tab-id', 'agents');
+ expect(buttons[1]).toHaveAttribute('data-tab-id', 'standalone');
expect(buttons[2]).toHaveAttribute('data-tab-id', 'alerts');
expect(buttons[3]).toHaveAttribute('data-tab-id', 'settings');
@@ -198,8 +200,8 @@ describe('MobileNavBar', () => {
expect(screen.getByText('3')).toBeInTheDocument();
expect(screen.getByText('Pro')).toBeInTheDocument();
- fireEvent.click(screen.getByTitle('Agents'));
- expect(onPrimaryClick).toHaveBeenCalledWith(expect.objectContaining({ id: 'agents' }));
+ fireEvent.click(screen.getByTitle('Standalone'));
+ expect(onPrimaryClick).toHaveBeenCalledWith(expect.objectContaining({ id: 'standalone' }));
fireEvent.click(screen.getByTitle('Alerts'));
expect(onUtilityClick).toHaveBeenCalledWith(expect.objectContaining({ id: 'alerts' }));
diff --git a/frontend-modern/src/components/shared/commandPaletteModel.ts b/frontend-modern/src/components/shared/commandPaletteModel.ts
index 69b2711072..ae314ba644 100644
--- a/frontend-modern/src/components/shared/commandPaletteModel.ts
+++ b/frontend-modern/src/components/shared/commandPaletteModel.ts
@@ -19,7 +19,7 @@ export type CommandPaletteModalCommand = {
};
export type CommandPaletteCommandPaths = {
- agentsPath: string;
+ standalonePath: string;
proxmoxPath: string;
dockerPath: string;
kubernetesPath: string;
@@ -109,14 +109,28 @@ export function buildCommandPaletteCommands(options: {
);
}
- if (primaryInfrastructureNavigationIsVisible(options.infrastructureVisibility, 'agents')) {
+ if (primaryInfrastructureNavigationIsVisible(options.infrastructureVisibility, 'standalone')) {
commands.push({
- id: 'nav-agents',
- label: 'Go to Agents',
- description: options.paths.agentsPath,
- shortcut: 'g e',
- keywords: ['agents', 'hosts', 'machines', 'linux', 'macos', 'windows', 'unraid'],
- action: () => options.navigate(options.paths.agentsPath),
+ id: 'nav-standalone',
+ label: 'Go to Standalone',
+ description: options.paths.standalonePath,
+ shortcut: 'g s',
+ keywords: [
+ 'standalone',
+ 'agents',
+ 'hosts',
+ 'machines',
+ 'availability',
+ 'endpoints',
+ 'mqtt',
+ 'http',
+ 'ping',
+ 'linux',
+ 'macos',
+ 'windows',
+ 'unraid',
+ ],
+ action: () => options.navigate(options.paths.standalonePath),
});
}
diff --git a/frontend-modern/src/components/shared/mobileNavBarModel.ts b/frontend-modern/src/components/shared/mobileNavBarModel.ts
index 3c3ce167e6..085e79e231 100644
--- a/frontend-modern/src/components/shared/mobileNavBarModel.ts
+++ b/frontend-modern/src/components/shared/mobileNavBarModel.ts
@@ -40,7 +40,7 @@ const MOBILE_NAV_PRIMARY_PRIORITY = [
'kubernetes',
'truenas',
'vmware',
- 'agents',
+ 'standalone',
] as const;
const MOBILE_NAV_UTILITY_PRIORITY = ['alerts', 'ai', 'settings'] as const;
diff --git a/frontend-modern/src/components/shared/useCommandPaletteState.ts b/frontend-modern/src/components/shared/useCommandPaletteState.ts
index 28855c7db9..b907f8e686 100644
--- a/frontend-modern/src/components/shared/useCommandPaletteState.ts
+++ b/frontend-modern/src/components/shared/useCommandPaletteState.ts
@@ -1,10 +1,10 @@
import { useNavigate } from '@solidjs/router';
import { createEffect, createMemo, createSignal } from 'solid-js';
import {
- buildAgentsPath,
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildStandalonePath,
buildTrueNASPath,
buildVmwarePath,
} from '@/routing/resourceLinks';
@@ -25,7 +25,7 @@ export function useCommandPaletteState(props: CommandPaletteModalProps) {
const commands = createMemo(() =>
buildCommandPaletteCommands({
paths: {
- agentsPath: buildAgentsPath(),
+ standalonePath: buildStandalonePath(),
proxmoxPath: buildProxmoxPath(),
dockerPath: buildDockerPath(),
kubernetesPath: buildKubernetesPath(),
diff --git a/frontend-modern/src/features/infrastructureNavigation/__tests__/infrastructureNavigationModel.test.ts b/frontend-modern/src/features/infrastructureNavigation/__tests__/infrastructureNavigationModel.test.ts
index 5cc5e512ea..3c35cffe1e 100644
--- a/frontend-modern/src/features/infrastructureNavigation/__tests__/infrastructureNavigationModel.test.ts
+++ b/frontend-modern/src/features/infrastructureNavigation/__tests__/infrastructureNavigationModel.test.ts
@@ -23,12 +23,12 @@ const resource = (overrides: Partial<Resource>): Resource =>
describe('infrastructureNavigationModel', () => {
it('shows primary infrastructure destinations only when supported or admitted resource evidence is present', () => {
expect(buildPrimaryInfrastructureNavigationVisibility([])).toEqual({
- agents: false,
proxmox: false,
docker: false,
kubernetes: false,
truenas: false,
vmware: false,
+ standalone: false,
});
expect(
@@ -45,12 +45,12 @@ describe('infrastructureNavigationModel', () => {
resource({ id: 'vcenter-1', platformType: 'vmware-vsphere', type: 'vm' }),
]),
).toEqual({
- agents: true,
proxmox: true,
docker: false,
kubernetes: true,
truenas: true,
vmware: true,
+ standalone: true,
});
});
@@ -95,12 +95,12 @@ describe('infrastructureNavigationModel', () => {
}),
]),
).toEqual({
- agents: false,
proxmox: false,
docker: false,
kubernetes: false,
truenas: true,
vmware: false,
+ standalone: false,
});
expect(
@@ -122,16 +122,16 @@ describe('infrastructureNavigationModel', () => {
});
});
- it('does not show Agents for incidental agent platform hints on non-agent resources', () => {
+ it('does not show Standalone for incidental agent platform hints on non-agent resources', () => {
expect(
buildPrimaryInfrastructureNavigationVisibility([
resource({ id: 'pod-1', type: 'pod', platformType: 'agent' }),
resource({ id: 'pve-node-1', type: 'agent', platformType: 'proxmox-pve' }),
- ]).agents,
+ ]).standalone,
).toBe(false);
});
- it('shows Agents for agent-primary machine source evidence', () => {
+ it('shows Standalone for agent-primary machine source evidence', () => {
expect(
buildPrimaryInfrastructureNavigationVisibility([
resource({
@@ -142,11 +142,11 @@ describe('infrastructureNavigationModel', () => {
sources: ['agent'],
platformScopes: ['agent'],
}),
- ]).agents,
+ ]).standalone,
).toBe(true);
});
- it('shows Agents for agentless availability endpoints', () => {
+ it('shows Standalone for agentless availability endpoints', () => {
expect(
buildPrimaryInfrastructureNavigationVisibility([
resource({
@@ -156,11 +156,11 @@ describe('infrastructureNavigationModel', () => {
sourceType: 'api',
sources: ['availability'],
}),
- ]).agents,
+ ]).standalone,
).toBe(true);
});
- it('does not show Agents for provider-owned host rows even when the agent source is present', () => {
+ it('does not show Standalone for provider-owned host rows even when the agent source is present', () => {
expect(
buildPrimaryInfrastructureNavigationVisibility([
resource({
@@ -180,52 +180,52 @@ describe('infrastructureNavigationModel', () => {
platformScopes: ['agent', 'vmware-vsphere'],
agent: { agentId: 'vc-host-101', platform: 'vmware-vsphere' },
}),
- ]).agents,
+ ]).standalone,
).toBe(false);
});
- it('selects provider platforms before Agents using the canonical primary navigation order', () => {
+ it('selects provider platforms before Standalone using the canonical primary navigation order', () => {
expect(
selectFirstVisiblePrimaryInfrastructureNavigationId({
- agents: true,
proxmox: true,
docker: false,
kubernetes: false,
truenas: false,
vmware: false,
+ standalone: true,
}),
).toBe('proxmox');
expect(
selectFirstVisiblePrimaryInfrastructureNavigationId({
- agents: false,
proxmox: false,
docker: false,
kubernetes: true,
truenas: true,
vmware: false,
+ standalone: false,
}),
).toBe('kubernetes');
expect(
selectFirstVisiblePrimaryInfrastructureNavigationId({
- agents: true,
proxmox: false,
docker: false,
kubernetes: false,
truenas: false,
vmware: false,
+ standalone: true,
}),
- ).toBe('agents');
+ ).toBe('standalone');
expect(
selectFirstVisiblePrimaryInfrastructureNavigationId({
- agents: false,
proxmox: false,
docker: false,
kubernetes: false,
truenas: false,
vmware: false,
+ standalone: false,
}),
).toBeNull();
});
diff --git a/frontend-modern/src/features/infrastructureNavigation/infrastructureNavigationModel.ts b/frontend-modern/src/features/infrastructureNavigation/infrastructureNavigationModel.ts
index e8b479c0bf..ad7cbf3a81 100644
--- a/frontend-modern/src/features/infrastructureNavigation/infrastructureNavigationModel.ts
+++ b/frontend-modern/src/features/infrastructureNavigation/infrastructureNavigationModel.ts
@@ -15,7 +15,7 @@ export type PrimaryInfrastructureNavId =
| 'kubernetes'
| 'truenas'
| 'vmware'
- | 'agents';
+ | 'standalone';
export type InfrastructureNavigationVisibility = Record<PrimaryInfrastructureNavId, boolean>;
@@ -30,7 +30,7 @@ export const PRIMARY_INFRASTRUCTURE_NAV_IDS: readonly PrimaryInfrastructureNavId
'kubernetes',
'truenas',
'vmware',
- 'agents',
+ 'standalone',
] as const;
export const PRIMARY_INFRASTRUCTURE_NAV_SCOPE_IDS: Record<
@@ -42,7 +42,7 @@ export const PRIMARY_INFRASTRUCTURE_NAV_SCOPE_IDS: Record<
kubernetes: ['kubernetes'],
truenas: ['truenas'],
vmware: ['vmware-vsphere'],
- agents: ['agent'],
+ standalone: ['agent'],
};
const NAVIGABLE_PLATFORM_ID_SET = new Set<string>([
@@ -182,7 +182,7 @@ export function buildPrimaryInfrastructureNavigationVisibility(
vmware: PRIMARY_INFRASTRUCTURE_NAV_SCOPE_IDS.vmware.some((id) =>
presentNavigableScopes.has(id),
),
- agents: resources.some(isPulseAgentPlatformResource) || hasAvailabilityEndpoints,
+ standalone: resources.some(isPulseAgentPlatformResource) || hasAvailabilityEndpoints,
};
}
@@ -226,7 +226,7 @@ export function createEmptyInfrastructureNavigationVisibility(): InfrastructureN
kubernetes: false,
truenas: false,
vmware: false,
- agents: false,
+ standalone: false,
};
}
diff --git a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
index 66770ef98a..8557a3fec3 100644
--- a/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
+++ b/frontend-modern/src/features/platformPage/__tests__/platformOverviewLayout.guardrails.test.ts
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
-import agentsMachinesTableSource from '@/features/agents/AgentsMachinesTable.tsx?raw';
-import agentsPageModelSource from '@/features/agents/agentsPageModel.ts?raw';
-import agentsPageSurfaceSource from '@/features/agents/AgentsPageSurface.tsx?raw';
+import agentsMachinesTableSource from '@/features/standalone/AgentsMachinesTable.tsx?raw';
+import standalonePageModelSource from '@/features/standalone/standalonePageModel.ts?raw';
+import standalonePageSurfaceSource from '@/features/standalone/StandalonePageSurface.tsx?raw';
import dockerConfigsTableSource from '@/features/docker/DockerConfigsTable.tsx?raw';
import dockerContainersTableSource from '@/features/docker/DockerContainersTable.tsx?raw';
import dockerHostsTableSource from '@/features/docker/DockerHostsTable.tsx?raw';
@@ -116,7 +116,7 @@ const platformToolbarTableSources = [
];
const overviewSurfaceSources = [
- agentsPageSurfaceSource,
+ standalonePageSurfaceSource,
proxmoxPageSurfaceSource,
dockerPageSurfaceSource,
kubernetesPageSurfaceSource,
@@ -282,16 +282,17 @@ describe('platform overview layout guardrails', () => {
expect(vmwarePageSurfaceSource).not.toContain('<StorageSurface');
expect(vmwarePageSurfaceSource).not.toContain('forcedView="pools"');
expect(proxmoxPageSurfaceSource).toContain('suppressNodeFilter');
- expect(agentsPageSurfaceSource).toContain('<AgentsMachinesTable');
- expect(agentsPageSurfaceSource).not.toContain('InfrastructureSummary');
- expect(agentsPageSurfaceSource).not.toContain('StickySummarySection');
- expect(agentsPageSurfaceSource).not.toContain('ChartVisibilityToggleButton');
- expect(agentsPageSurfaceSource).not.toContain('FilterBar');
- expect(agentsPageSurfaceSource).not.toContain('UnifiedResourceTable');
+ expect(standalonePageSurfaceSource).toContain('<AgentsMachinesTable');
+ expect(standalonePageSurfaceSource).not.toContain('InfrastructureSummary');
+ expect(standalonePageSurfaceSource).not.toContain('StickySummarySection');
+ expect(standalonePageSurfaceSource).not.toContain('ChartVisibilityToggleButton');
+ expect(standalonePageSurfaceSource).not.toContain('FilterBar');
+ expect(standalonePageSurfaceSource).not.toContain('UnifiedResourceTable');
expect(agentsMachinesTableSource).toContain('PlatformResourceDetailTableRow');
expect(agentsMachinesTableSource).not.toContain('ResourceDetailDrawer');
- expect(agentsPageModelSource).not.toContain('infrastructureSelectors');
- expect(agentsPageModelSource).not.toContain('buildAgentsPageFilterModel');
+ expect(standalonePageModelSource).not.toContain('infrastructureSelectors');
+ expect(standalonePageModelSource).not.toContain('buildAgentsPageFilterModel');
+ expect(standalonePageModelSource).not.toContain('buildStandalonePageFilterModel');
});
it('keeps TrueNAS overview inventory in tables instead of summary cards', () => {
diff --git a/frontend-modern/src/features/platformPage/__tests__/platformResourceTableDrawers.test.tsx b/frontend-modern/src/features/platformPage/__tests__/platformResourceTableDrawers.test.tsx
index b42f8af172..3b5844d5a8 100644
--- a/frontend-modern/src/features/platformPage/__tests__/platformResourceTableDrawers.test.tsx
+++ b/frontend-modern/src/features/platformPage/__tests__/platformResourceTableDrawers.test.tsx
@@ -2,7 +2,7 @@ import { cleanup, fireEvent, render, screen } from '@solidjs/testing-library';
import { afterEach, describe, expect, it, vi } from 'vitest';
import type { Resource } from '@/types/resource';
-import { AgentsMachinesTable } from '@/features/agents/AgentsMachinesTable';
+import { AgentsMachinesTable } from '@/features/standalone/AgentsMachinesTable';
import { KubernetesClustersTable } from '@/features/kubernetes/KubernetesClustersTable';
import { KubernetesNodesTable } from '@/features/kubernetes/KubernetesNodesTable';
import { TrueNASStorageTopologyTable } from '@/features/truenas/TrueNASStorageTopologyTable';
diff --git a/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.navigation.test.tsx b/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.navigation.test.tsx
index 8e58b0f43b..6e1dd09090 100644
--- a/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.navigation.test.tsx
+++ b/frontend-modern/src/features/platformPage/__tests__/sharedPlatformPage.navigation.test.tsx
@@ -16,16 +16,18 @@ describe('PlatformSectionTabs', () => {
path="/"
component={() => (
<PlatformSectionTabs
- tabs={[{ id: 'overview', label: 'Overview', path: '/agents/overview' }] as const}
+ tabs={
+ [{ id: 'overview', label: 'Overview', path: '/standalone/overview' }] as const
+ }
active="overview"
- ariaLabel="Agents sections"
+ ariaLabel="Standalone sections"
/>
)}
/>
</Router>
));
- expect(screen.queryByRole('navigation', { name: 'Agents sections' })).toBeNull();
+ expect(screen.queryByRole('navigation', { name: 'Standalone sections' })).toBeNull();
expect(screen.queryByRole('link', { name: 'Overview' })).toBeNull();
});
diff --git a/frontend-modern/src/features/agents/AgentsMachinesTable.tsx b/frontend-modern/src/features/standalone/AgentsMachinesTable.tsx
similarity index 100%
rename from frontend-modern/src/features/agents/AgentsMachinesTable.tsx
rename to frontend-modern/src/features/standalone/AgentsMachinesTable.tsx
diff --git a/frontend-modern/src/features/agents/AvailabilityChecksTable.tsx b/frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx
similarity index 100%
rename from frontend-modern/src/features/agents/AvailabilityChecksTable.tsx
rename to frontend-modern/src/features/standalone/AvailabilityChecksTable.tsx
diff --git a/frontend-modern/src/features/agents/AgentsPageSurface.tsx b/frontend-modern/src/features/standalone/StandalonePageSurface.tsx
similarity index 77%
rename from frontend-modern/src/features/agents/AgentsPageSurface.tsx
rename to frontend-modern/src/features/standalone/StandalonePageSurface.tsx
index a1d7e8435c..19703e6c5a 100644
--- a/frontend-modern/src/features/agents/AgentsPageSurface.tsx
+++ b/frontend-modern/src/features/standalone/StandalonePageSurface.tsx
@@ -13,36 +13,39 @@ import {
PlatformTableLoadingState,
} from '@/features/platformPage/sharedPlatformPage';
import { useUnifiedResources } from '@/hooks/useUnifiedResources';
+import { buildStandalonePath } from '@/routing/resourceLinks';
import { AvailabilityChecksTable } from './AvailabilityChecksTable';
import { AgentsMachinesTable } from './AgentsMachinesTable';
-import { buildAgentsPageModel } from './agentsPageModel';
+import { buildStandalonePageModel } from './standalonePageModel';
-const AGENTS_RESOURCE_QUERY = 'type=agent,network-endpoint';
-const AGENTS_TAB_SPECS = [
- { id: 'overview', label: 'Overview', path: '/agents/overview' },
- { id: 'availability', label: 'Availability checks', path: '/agents/availability' },
+const STANDALONE_RESOURCE_QUERY = 'type=agent,network-endpoint';
+const STANDALONE_TAB_SPECS = [
+ { id: 'overview', label: 'Overview', path: buildStandalonePath('overview') },
+ { id: 'availability', label: 'Availability checks', path: buildStandalonePath('availability') },
] as const;
-type AgentsTabId = (typeof AGENTS_TAB_SPECS)[number]['id'];
+type StandaloneTabId = (typeof STANDALONE_TAB_SPECS)[number]['id'];
-const agentsIcon = () => <ServerIcon class="h-6 w-6 text-slate-400" />;
+const machineIcon = () => <ServerIcon class="h-6 w-6 text-slate-400" />;
const availabilityIcon = () => <ActivityIcon class="h-6 w-6 text-slate-400" />;
-const resolveAgentsTab = (pathname: string): AgentsTabId =>
- pathname.replace(/\/+$/, '') === '/agents/availability' ? 'availability' : 'overview';
+const resolveStandaloneTab = (pathname: string): StandaloneTabId =>
+ pathname.replace(/\/+$/, '') === buildStandalonePath('availability')
+ ? 'availability'
+ : 'overview';
-export function AgentsPageSurface() {
+export function StandalonePageSurface() {
const location = useLocation();
const navigate = useNavigate();
const { resources, loading, error, refetch } = useUnifiedResources({
- query: AGENTS_RESOURCE_QUERY,
- cacheKey: 'agents-workspace',
+ query: STANDALONE_RESOURCE_QUERY,
+ cacheKey: 'standalone-workspace',
initialHydration: 'prefer-ws-then-rest',
});
const [initialLoadComplete, setInitialLoadComplete] = createSignal(false);
- const model = createMemo(() => buildAgentsPageModel(resources()));
- const activeTab = createMemo(() => resolveAgentsTab(location.pathname));
+ const model = createMemo(() => buildStandalonePageModel(resources()));
+ const activeTab = createMemo(() => resolveStandaloneTab(location.pathname));
const showLoading = createMemo(
() =>
loading() &&
@@ -65,15 +68,19 @@ export function AgentsPageSurface() {
});
return (
- <div data-testid="agents-page" class="space-y-4">
- <PlatformSectionTabs tabs={AGENTS_TAB_SPECS} active={activeTab()} ariaLabel="Agents sections" />
+ <div data-testid="standalone-page" class="space-y-4">
+ <PlatformSectionTabs
+ tabs={STANDALONE_TAB_SPECS}
+ active={activeTab()}
+ ariaLabel="Standalone sections"
+ />
<Show
when={!showLoading()}
fallback={
<PlatformTableLoadingState
- title="Loading Pulse Agent resources"
- description="Pulse is loading the agent-backed machine snapshot."
+ title="Loading standalone resources"
+ description="Pulse is loading standalone machines and availability checks."
/>
}
>
@@ -81,7 +88,7 @@ export function AgentsPageSurface() {
when={!error()}
fallback={
<PlatformErrorState
- title="Could not load Pulse Agent resources"
+ title="Could not load standalone resources"
description="Refresh the resource snapshot or check the API connection state."
onRefresh={() => void refetch()}
/>
@@ -101,7 +108,7 @@ export function AgentsPageSurface() {
when={!showOverviewEmpty()}
fallback={
<PlatformTableEmptyState
- icon={agentsIcon()}
+ icon={machineIcon()}
title="No standalone monitored endpoints"
description="Install Pulse Agent on standalone machines, or add agentless availability checks for devices and services that only need reachability monitoring."
actions={
@@ -130,7 +137,7 @@ export function AgentsPageSurface() {
<Show when={model().machines.length > 0}>
<AgentsMachinesTable
resources={model().machines}
- emptyIcon={agentsIcon()}
+ emptyIcon={machineIcon()}
emptyTitle="No standalone Pulse Agent machines"
emptyDescription="Install the Pulse Agent on Linux, macOS, Windows, or Unraid systems that are not already represented by a platform integration."
/>
@@ -152,4 +159,4 @@ export function AgentsPageSurface() {
);
}
-export default AgentsPageSurface;
+export default StandalonePageSurface;
diff --git a/frontend-modern/src/features/agents/__tests__/AvailabilityChecksTable.test.tsx b/frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsx
similarity index 100%
rename from frontend-modern/src/features/agents/__tests__/AvailabilityChecksTable.test.tsx
rename to frontend-modern/src/features/standalone/__tests__/AvailabilityChecksTable.test.tsx
diff --git a/frontend-modern/src/features/agents/__tests__/AgentsPageSurface.test.tsx b/frontend-modern/src/features/standalone/__tests__/StandalonePageSurface.test.tsx
similarity index 87%
rename from frontend-modern/src/features/agents/__tests__/AgentsPageSurface.test.tsx
rename to frontend-modern/src/features/standalone/__tests__/StandalonePageSurface.test.tsx
index ba05f2f026..1512541be6 100644
--- a/frontend-modern/src/features/agents/__tests__/AgentsPageSurface.test.tsx
+++ b/frontend-modern/src/features/standalone/__tests__/StandalonePageSurface.test.tsx
@@ -2,10 +2,10 @@ import { cleanup, render, screen } from '@solidjs/testing-library';
import type { JSX } from 'solid-js';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import type { Resource } from '@/types/resource';
-import { AgentsPageSurface } from '../AgentsPageSurface';
+import { StandalonePageSurface } from '../StandalonePageSurface';
const mocks = vi.hoisted(() => ({
- pathname: '/agents/overview',
+ pathname: '/standalone/overview',
useUnifiedResources: vi.fn(),
AgentsMachinesTable: vi.fn((props: { resources: Resource[] }) => (
<div data-testid="agents-machines-table" data-resource-count={props.resources.length} />
@@ -50,7 +50,7 @@ vi.mock('@/features/platformPage/sharedPlatformPage', () => ({
tabs: Array<{ id: string; label: string; path: string }>;
}) => (
<div
- data-testid="agents-section-tabs"
+ data-testid="standalone-section-tabs"
data-active={props.active}
data-tabs={props.tabs.map((tab) => tab.id).join(',')}
/>
@@ -74,7 +74,7 @@ const resource = (overrides: Partial<Resource>): Resource =>
}) as Resource;
beforeEach(() => {
- mocks.pathname = '/agents/overview';
+ mocks.pathname = '/standalone/overview';
mocks.useUnifiedResources.mockReturnValue({
resources: () => [
resource({ id: 'mac-mini', type: 'agent', platformType: 'agent', sources: ['agent'] }),
@@ -96,16 +96,16 @@ afterEach(() => {
vi.clearAllMocks();
});
-describe('AgentsPageSurface', () => {
- it('loads standalone machines and agentless availability checks into the Agents surface', () => {
- render(() => <AgentsPageSurface />);
+describe('StandalonePageSurface', () => {
+ it('loads standalone machines and agentless availability checks into the Standalone surface', () => {
+ render(() => <StandalonePageSurface />);
expect(mocks.useUnifiedResources).toHaveBeenCalledWith(
expect.objectContaining({
query: 'type=agent,network-endpoint',
}),
);
- expect(screen.getByTestId('agents-section-tabs')).toHaveAttribute(
+ expect(screen.getByTestId('standalone-section-tabs')).toHaveAttribute(
'data-tabs',
'overview,availability',
);
@@ -120,11 +120,11 @@ describe('AgentsPageSurface', () => {
});
it('uses the availability tab as a focused check monitor', () => {
- mocks.pathname = '/agents/availability';
+ mocks.pathname = '/standalone/availability';
- render(() => <AgentsPageSurface />);
+ render(() => <StandalonePageSurface />);
- expect(screen.getByTestId('agents-section-tabs')).toHaveAttribute(
+ expect(screen.getByTestId('standalone-section-tabs')).toHaveAttribute(
'data-active',
'availability',
);
diff --git a/frontend-modern/src/features/agents/__tests__/agentsPageModel.test.ts b/frontend-modern/src/features/standalone/__tests__/standalonePageModel.test.ts
similarity index 92%
rename from frontend-modern/src/features/agents/__tests__/agentsPageModel.test.ts
rename to frontend-modern/src/features/standalone/__tests__/standalonePageModel.test.ts
index 1d7803f288..2d499dc363 100644
--- a/frontend-modern/src/features/agents/__tests__/agentsPageModel.test.ts
+++ b/frontend-modern/src/features/standalone/__tests__/standalonePageModel.test.ts
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest';
import type { Resource } from '@/types/resource';
-import { buildAgentsPageModel } from '../agentsPageModel';
+import { buildStandalonePageModel } from '../standalonePageModel';
const resource = (overrides: Partial<Resource>): Resource =>
({
@@ -16,9 +16,9 @@ const resource = (overrides: Partial<Resource>): Resource =>
...overrides,
}) as Resource;
-describe('agentsPageModel', () => {
+describe('standalonePageModel', () => {
it('projects standalone agent machine resources without admitting provider-owned host rows', () => {
- const model = buildAgentsPageModel([
+ const model = buildStandalonePageModel([
resource({ id: 'mac-mini', platformType: 'agent', type: 'agent', sources: ['agent'] }),
resource({
id: 'linux-docker-host',
@@ -57,7 +57,7 @@ describe('agentsPageModel', () => {
});
it('keeps legacy source-less agent platform rows visible', () => {
- const model = buildAgentsPageModel([
+ const model = buildStandalonePageModel([
resource({ id: 'legacy-agent', platformType: 'agent', type: 'agent', sources: undefined }),
]);
@@ -67,7 +67,7 @@ describe('agentsPageModel', () => {
});
it('keeps agentless availability checks beside standalone machines', () => {
- const model = buildAgentsPageModel([
+ const model = buildStandalonePageModel([
resource({ id: 'mac-mini', platformType: 'agent', type: 'agent', sources: ['agent'] }),
resource({
id: 'endpoint-1',
diff --git a/frontend-modern/src/features/agents/agentsPageModel.ts b/frontend-modern/src/features/standalone/standalonePageModel.ts
similarity index 69%
rename from frontend-modern/src/features/agents/agentsPageModel.ts
rename to frontend-modern/src/features/standalone/standalonePageModel.ts
index 7daf589c9e..4df4f4fcd7 100644
--- a/frontend-modern/src/features/agents/agentsPageModel.ts
+++ b/frontend-modern/src/features/standalone/standalonePageModel.ts
@@ -1,13 +1,13 @@
import type { Resource } from '@/types/resource';
import { isPulseAgentPlatformResource } from '@/utils/agentResources';
-export interface AgentsPageModel {
+export interface StandalonePageModel {
machines: Resource[];
availabilityChecks: Resource[];
resources: Resource[];
}
-export const isAgentsPageResource = (resource: Resource): boolean =>
+export const isStandaloneMachineResource = (resource: Resource): boolean =>
isPulseAgentPlatformResource(resource);
export const isAgentlessAvailabilityResource = (resource: Resource): boolean =>
@@ -15,8 +15,8 @@ export const isAgentlessAvailabilityResource = (resource: Resource): boolean =>
resource.platformType === 'availability' ||
resource.sources?.includes('availability') === true;
-export function buildAgentsPageModel(resources: readonly Resource[]): AgentsPageModel {
- const machines = resources.filter(isAgentsPageResource);
+export function buildStandalonePageModel(resources: readonly Resource[]): StandalonePageModel {
+ const machines = resources.filter(isStandaloneMachineResource);
const availabilityChecks = resources.filter(isAgentlessAvailabilityResource);
return {
machines,
diff --git a/frontend-modern/src/hooks/useKeyboardShortcuts.ts b/frontend-modern/src/hooks/useKeyboardShortcuts.ts
index 6dfa210651..d3ae58b833 100644
--- a/frontend-modern/src/hooks/useKeyboardShortcuts.ts
+++ b/frontend-modern/src/hooks/useKeyboardShortcuts.ts
@@ -1,10 +1,10 @@
import { createSignal, onCleanup, type Accessor } from 'solid-js';
import { useNavigate } from '@solidjs/router';
import {
- buildAgentsPath,
buildDockerPath,
buildKubernetesPath,
buildProxmoxPath,
+ buildStandalonePath,
buildTrueNASPath,
buildVmwarePath,
} from '@/routing/resourceLinks';
@@ -92,7 +92,7 @@ export function useKeyboardShortcuts(options: KeyboardShortcutsOptions = {}) {
kubernetes: { key: 'k', route: buildKubernetesPath() },
truenas: { key: 'n', route: buildTrueNASPath() },
vmware: { key: 'v', route: buildVmwarePath() },
- agents: { key: 'e', route: buildAgentsPath() },
+ standalone: { key: 's', route: buildStandalonePath() },
},
infrastructureVisibility,
);
diff --git a/frontend-modern/src/pages/Agents.tsx b/frontend-modern/src/pages/Agents.tsx
deleted file mode 100644
index da588c1c8f..0000000000
--- a/frontend-modern/src/pages/Agents.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import { AgentsPageSurface } from '@/features/agents/AgentsPageSurface';
-
-export function Agents() {
- return <AgentsPageSurface />;
-}
-
-export default Agents;
diff --git a/frontend-modern/src/pages/Standalone.tsx b/frontend-modern/src/pages/Standalone.tsx
new file mode 100644
index 0000000000..9771b35a06
--- /dev/null
+++ b/frontend-modern/src/pages/Standalone.tsx
@@ -0,0 +1,7 @@
+import { StandalonePageSurface } from '@/features/standalone/StandalonePageSurface';
+
+export function Standalone() {
+ return <StandalonePageSurface />;
+}
+
+export default Standalone;
diff --git a/frontend-modern/src/routing/__tests__/navigation.test.ts b/frontend-modern/src/routing/__tests__/navigation.test.ts
index ede44c47b5..82f153c1ce 100644
--- a/frontend-modern/src/routing/__tests__/navigation.test.ts
+++ b/frontend-modern/src/routing/__tests__/navigation.test.ts
@@ -5,8 +5,9 @@ describe('navigation routing helpers', () => {
it('maps paths to the correct primary tab', () => {
expect(getActiveTabForPath('/unknown')).toBeNull();
expect(getActiveTabForPath('/dashboard')).toBeNull();
- expect(getActiveTabForPath('/agents')).toBe('agents');
- expect(getActiveTabForPath('/agents/overview')).toBe('agents');
+ expect(getActiveTabForPath('/standalone')).toBe('standalone');
+ expect(getActiveTabForPath('/standalone/overview')).toBe('standalone');
+ expect(getActiveTabForPath('/agents')).toBeNull();
expect(getActiveTabForPath('/proxmox')).toBe('proxmox');
expect(getActiveTabForPath('/proxmox/storage')).toBe('proxmox');
// Infrastructure, Ceph, and aggregate workspace URLs are not standalone
diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
index 138084b8f7..626f1f4b31 100644
--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
@@ -1,7 +1,5 @@
import { describe, expect, it } from 'vitest';
import {
- AGENTS_PATH,
- AGENTS_DEFAULT_TAB,
DOCKER_PATH,
KUBERNETES_PATH,
PMG_THRESHOLDS_PATH,
@@ -9,13 +7,15 @@ import {
PROXMOX_DEFAULT_TAB,
PROXMOX_PATH,
RECOVERY_QUERY_PARAMS,
+ STANDALONE_DEFAULT_TAB,
+ STANDALONE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
- buildAgentsPath,
buildDockerPath,
buildKubernetesPath,
buildRecoveryRouteSearch,
buildProxmoxPath,
+ buildStandalonePath,
buildStorageRouteSearch,
buildTrueNASPath,
buildVmwarePath,
@@ -40,11 +40,11 @@ describe('resource link routing contract', () => {
expect(buildProxmoxPath('')).toBe('/proxmox');
});
- it('builds canonical Agents, container runtime, Kubernetes, TrueNAS, and vSphere tab paths', () => {
- expect(AGENTS_PATH).toBe('/agents');
- expect(AGENTS_DEFAULT_TAB).toBe('overview');
- expect(buildAgentsPath()).toBe('/agents/overview');
- expect(buildAgentsPath('')).toBe('/agents');
+ it('builds canonical Standalone, container runtime, Kubernetes, TrueNAS, and vSphere tab paths', () => {
+ expect(STANDALONE_PATH).toBe('/standalone');
+ expect(STANDALONE_DEFAULT_TAB).toBe('overview');
+ expect(buildStandalonePath()).toBe('/standalone/overview');
+ expect(buildStandalonePath('')).toBe('/standalone');
expect(DOCKER_PATH).toBe('/docker');
expect(buildDockerPath()).toBe('/docker/overview');
diff --git a/frontend-modern/src/routing/__tests__/routePreload.test.ts b/frontend-modern/src/routing/__tests__/routePreload.test.ts
index 9d036f2c57..b05d7d3f98 100644
--- a/frontend-modern/src/routing/__tests__/routePreload.test.ts
+++ b/frontend-modern/src/routing/__tests__/routePreload.test.ts
@@ -1,7 +1,7 @@
import { describe, expect, it } from 'vitest';
import { APP_SHELL_ROUTE_PRELOAD_PATHS } from '../routePreload';
-import { PATROL_PATH, buildAgentsPath, buildProxmoxPath } from '../resourceLinks';
+import { PATROL_PATH, buildProxmoxPath, buildStandalonePath } from '../resourceLinks';
describe('route preloading', () => {
it('keeps Proxmox in the authenticated app-shell preload set', () => {
@@ -11,7 +11,7 @@ describe('route preloading', () => {
it('keeps the eager authenticated-shell preload set bounded', () => {
expect([...APP_SHELL_ROUTE_PRELOAD_PATHS]).toEqual([
buildProxmoxPath(),
- buildAgentsPath(),
+ buildStandalonePath(),
PATROL_PATH,
'/alerts',
'/settings',
diff --git a/frontend-modern/src/routing/navigation.ts b/frontend-modern/src/routing/navigation.ts
index 16058c34b7..e1fe2a2427 100644
--- a/frontend-modern/src/routing/navigation.ts
+++ b/frontend-modern/src/routing/navigation.ts
@@ -1,15 +1,15 @@
import {
- AGENTS_PATH,
DOCKER_PATH,
KUBERNETES_PATH,
PATROL_PATH,
PROXMOX_PATH,
+ STANDALONE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
} from './resourceLinks';
export type AppTabId =
- | 'agents'
+ | 'standalone'
| 'proxmox'
| 'docker'
| 'kubernetes'
@@ -27,7 +27,7 @@ export function getActiveTabForPath(path: string): ActiveAppTabId {
if (path.startsWith(KUBERNETES_PATH)) return 'kubernetes';
if (path.startsWith(TRUENAS_PATH)) return 'truenas';
if (path.startsWith(VMWARE_PATH)) return 'vmware';
- if (path.startsWith(AGENTS_PATH)) return 'agents';
+ if (path.startsWith(STANDALONE_PATH)) return 'standalone';
if (path.startsWith('/alerts')) return 'alerts';
if (path.startsWith(PATROL_PATH)) return 'ai';
if (path.startsWith('/settings')) return 'settings';
diff --git a/frontend-modern/src/routing/resourceLinks.ts b/frontend-modern/src/routing/resourceLinks.ts
index f45f29b29b..87b0af6da4 100644
--- a/frontend-modern/src/routing/resourceLinks.ts
+++ b/frontend-modern/src/routing/resourceLinks.ts
@@ -15,8 +15,8 @@ export const WORKLOADS_QUERY_PARAMS = {
summaryGroup: 'summaryGroup',
} as const;
-export const AGENTS_PATH = '/agents';
-export const AGENTS_DEFAULT_TAB = 'overview';
+export const STANDALONE_PATH = '/standalone';
+export const STANDALONE_DEFAULT_TAB = 'overview';
export const PROXMOX_PATH = '/proxmox';
export const PROXMOX_DEFAULT_TAB = 'overview';
export const DOCKER_PATH = '/docker';
@@ -177,9 +177,9 @@ export const buildProxmoxPath = (tab: string = PROXMOX_DEFAULT_TAB): string => {
return normalized ? `${PROXMOX_PATH}/${normalized}` : PROXMOX_PATH;
};
-export const buildAgentsPath = (tab: string = AGENTS_DEFAULT_TAB): string => {
+export const buildStandalonePath = (tab: string = STANDALONE_DEFAULT_TAB): string => {
const normalized = tab.trim().replace(/^\/+|\/+$/g, '');
- return normalized ? `${AGENTS_PATH}/${normalized}` : AGENTS_PATH;
+ return normalized ? `${STANDALONE_PATH}/${normalized}` : STANDALONE_PATH;
};
export const buildDockerPath = (tab: string = DOCKER_DEFAULT_TAB): string => {
diff --git a/frontend-modern/src/routing/routePreload.ts b/frontend-modern/src/routing/routePreload.ts
index 3231ab655d..e2bd72df22 100644
--- a/frontend-modern/src/routing/routePreload.ts
+++ b/frontend-modern/src/routing/routePreload.ts
@@ -1,11 +1,11 @@
import {
- AGENTS_PATH,
- buildAgentsPath,
buildProxmoxPath,
+ buildStandalonePath,
DOCKER_PATH,
KUBERNETES_PATH,
PATROL_PATH,
PROXMOX_PATH,
+ STANDALONE_PATH,
TRUENAS_PATH,
VMWARE_PATH,
} from '@/routing/resourceLinks';
@@ -17,14 +17,14 @@ type RoutePreloader = {
};
const ROOT_PROXMOX_PATH = buildProxmoxPath();
-const ROOT_AGENTS_PATH = buildAgentsPath();
+const ROOT_STANDALONE_PATH = buildStandalonePath();
const ALERTS_PATH = '/alerts';
const SETTINGS_PATH = '/settings';
const routePreloadCache = new Map<string, Promise<void>>();
export const APP_SHELL_ROUTE_PRELOAD_PATHS = [
ROOT_PROXMOX_PATH,
- ROOT_AGENTS_PATH,
+ ROOT_STANDALONE_PATH,
PATROL_PATH,
ALERTS_PATH,
SETTINGS_PATH,
@@ -66,9 +66,9 @@ const ROUTE_PRELOADERS: readonly RoutePreloader[] = [
preload: () => import('@/pages/Vmware').then(() => undefined),
},
{
- id: 'agents',
- matches: (route) => route === AGENTS_PATH || route.startsWith(`${AGENTS_PATH}/`),
- preload: () => import('@/pages/Agents').then(() => undefined),
+ id: 'standalone',
+ matches: (route) => route === STANDALONE_PATH || route.startsWith(`${STANDALONE_PATH}/`),
+ preload: () => import('@/pages/Standalone').then(() => undefined),
},
{
id: 'alerts',