feat: add customer portal and RTC voice diagnostics

This commit is contained in:
Codex Local
2026-08-27 21:02:37 +08:00
parent 5ff1961d79
commit d97bbf7cf5
18 changed files with 4045 additions and 169 deletions
+7 -1
View File
@@ -173,7 +173,13 @@ func Run(ctx context.Context, serviceName string) error {
return fmt.Errorf("create per-device secret resolver: %w", err)
}
} else {
deviceSecretResolver = deviceauth.StaticSecretResolver{"local-dev://simulated-terminal-1": []byte(cfg.DeviceLocalSecret)}
// The local environment provides one already-bound simulator and one
// unbound simulator so the family portal's one-time claim flow can be
// exercised without provisioning production device secrets.
deviceSecretResolver = deviceauth.StaticSecretResolver{
"local-dev://simulated-terminal-1": []byte(cfg.DeviceLocalSecret),
"local-dev://unbound-terminal-2": []byte(cfg.DeviceLocalSecret),
}
}
deviceVerifier, err = deviceauth.NewVerifier(
deviceIdentityRepository,