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: address review: update remaining getSoul call sites in EnrichTab

Adam Eivyde9b8afc53c6
diff --git a/client/src/components/digital-twin/tabs/EnrichTab.jsx b/client/src/components/digital-twin/tabs/EnrichTab.jsx
index 4c5e9d89b5..069d80a374 100644
--- a/client/src/components/digital-twin/tabs/EnrichTab.jsx
+++ b/client/src/components/digital-twin/tabs/EnrichTab.jsx
@@ -45,7 +45,7 @@ export default function EnrichTab({ onRefresh }) {
const loadData = useCallback(async () => {
setLoading(true);
- const progressData = await api.getSoulEnrichProgress().catch(() => null);
+ const progressData = await api.getDigitalTwinEnrichProgress().catch(() => null);
setProgress(progressData);
setLoading(false);
}, []);
@@ -121,7 +121,7 @@ export default function EnrichTab({ onRefresh }) {
content: writingAnalysis.suggestedContent
}).catch(async () => {
// Document might exist, try to update by fetching ID
- const docs = await api.getSoulDocuments();
+ const docs = await api.getDigitalTwinDocuments();
const existing = docs.find(d => d.filename === 'WRITING_STYLE.md');
if (existing) {
return api.updateSoulDocument(existing.id, {
@@ -137,7 +137,7 @@ export default function EnrichTab({ onRefresh }) {
const loadQuestion = useCallback(async (categoryId, skipList = []) => {
setLoadingQuestion(true);
try {
- const question = await api.getSoulEnrichQuestion(categoryId, undefined, undefined, skipList.length ? skipList : undefined);
+ const question = await api.getDigitalTwinEnrichQuestion(categoryId, undefined, undefined, skipList.length ? skipList : undefined);
setCurrentQuestion(question);
setAnswer('');
setScaleValue(null);