fix(ui): site-status modal API, honest agent version fallback, Directory default org name

Fresh-install bug report fixes:

- 'Master Site' button error 'app.modal.show is not a function': the
  multi-site status modal used the legacy app.modal.show() signature; the app
  exposes app.modal.open({title, bodyHtml, size}). The site-status request
  itself worked -- only the rendering call was wrong.
- Agents with no discovery yet showed a fake 'v2.0.0' (three hardcoded
  fallbacks). Now 'unknown', so a host whose agent never connected isn't
  presented as an old version.
- The default org name (browser tab title) is set by theta-suite's setup.sh;
  that default is fixed separately there (CFG_ORG -> Theta Directory).
This commit is contained in:
2026-08-09 23:24:54 -07:00
parent f94bb3c14c
commit 96410fd8c4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class ThetaAgentDriver extends BaseDriver {
status: 'online',
driver: this.name,
agentId: agent.id,
agentVersion: agent.version || (telemetry && telemetry.version) || 'v2.0.0',
agentVersion: agent.version || (telemetry && telemetry.version) || 'unknown',
lastSeen: agent.lastSeen,
system: {
cpu: telemetry.cpu || null,