Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(voice): resolve lint warnings in CharacterDetailEditor (#5381)

[._.]/ Adam Eivy3034d0fe73a2
diff --git a/client/src/components/universe/CharacterDetailEditor.jsx b/client/src/components/universe/CharacterDetailEditor.jsx
index d747ba1aec..8e0a2b89a7 100644
--- a/client/src/components/universe/CharacterDetailEditor.jsx
+++ b/client/src/components/universe/CharacterDetailEditor.jsx
@@ -31,9 +31,6 @@ import {
promoteVoiceProfile,
benchmarkProfileInteractive,
startFineTuningJob,
- getFineTuningJobStatus,
- cancelFineTuningJob,
- promoteFineTunedCheckpoint,
} from '../../services/apiVoice';
import VoicePicker from '../voice/VoicePicker';
import CollapsibleSection from '../ui/CollapsibleSection';
@@ -768,7 +765,7 @@ function VoiceProfileSection({ universeId, entry, disabled }) {
const [profiles, setProfiles] = useState([]);
const [loading, setLoading] = useState(Boolean(universeId));
const [loadError, setLoadError] = useState(null);
- const [engineCapability, setEngineCapability] = useState(null);
+ const [_engineCapability, setEngineCapability] = useState(null);
const [activeTab, setActiveTab] = useState('overview');
// Voice Design form state
@@ -781,7 +778,7 @@ function VoiceProfileSection({ universeId, entry, disabled }) {
const [cloneFileName, setCloneFileName] = useState('');
const [cloneTranscript, setCloneTranscript] = useState('');
const [cloneConsentConfirmed, setCloneConsentConfirmed] = useState(false);
- const [cloneLicensePosture, setCloneLicensePosture] = useState('consented-performance');
+ const [cloneLicensePosture, _setCloneLicensePosture] = useState('consented-performance');
// Fine-tuning state
const [fineTuneEpochs, setFineTuneEpochs] = useState(5);
@@ -922,7 +919,7 @@ function VoiceProfileSection({ universeId, entry, disabled }) {
if (!universeId) return null;
const approved = profile?.approval?.status === 'approved';
- const benchmarkCount = profile?.benchmark?.lines?.length || 0;
+ const _benchmarkCount = profile?.benchmark?.lines?.length || 0;
const profileState = approved ? `approved v${profile.version} (${profile.kind})` : profile?.approval?.status || 'not promoted';
return (
diff --git a/client/src/components/universe/CharacterDetailEditor.test.jsx b/client/src/components/universe/CharacterDetailEditor.test.jsx
index 591df80904..88c497bdac 100644
--- a/client/src/components/universe/CharacterDetailEditor.test.jsx
+++ b/client/src/components/universe/CharacterDetailEditor.test.jsx
@@ -21,11 +21,8 @@ vi.mock('../../services/apiVoice', () => ({
import {
listVoiceEngines,
listVoiceProfiles,
- promotePresetProfile,
promoteVoicePreset,
createVoiceDesignCandidate,
- createClonedVoiceCandidate,
- promoteVoiceProfile,
benchmarkProfileInteractive,
} from '../../services/apiVoice';