fix(web): unify API base URL resolution and repair frontend service clients

- Introduce resolveApiBaseUrl() helper for consistent URL construction
- Fix evidence-pack queries to use public /v1/evidence-packs with runId param
- Resolve notify tenant from active context instead of hard-coded override
- Gate console run stream on concrete run ID (remove synthetic 'last' token)
- Remove unnecessary installed-pack probe from dashboard load
- Expand canonical route inventory with investigation and registry surfaces

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
master
2026-03-09 07:53:46 +02:00
parent 0473a5876a
commit 310e9f84fe
12 changed files with 403 additions and 72 deletions

View File

@@ -41,6 +41,9 @@ const canonicalRoutes = [
'/releases/hotfixes/new',
'/releases/environments',
'/releases/deployments',
'/releases/investigation/timeline',
'/releases/investigation/deploy-diff',
'/releases/investigation/change-trace',
'/security',
'/security/posture',
'/security/triage',
@@ -54,6 +57,7 @@ const canonicalRoutes = [
'/evidence',
'/evidence/overview',
'/evidence/capsules',
'/evidence/threads',
'/evidence/verify-replay',
'/evidence/proofs',
'/evidence/exports',
@@ -88,6 +92,7 @@ const canonicalRoutes = [
'/ops/integrations/notifications',
'/ops/integrations/sbom-sources',
'/ops/integrations/activity',
'/ops/integrations/registry-admin',
'/ops/policy',
'/ops/policy/overview',
'/ops/policy/baselines',