Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

Explain that mobile persona changes do not sync back

Davidc2af1f958011
diff --git a/mobile-client/client.js b/mobile-client/client.js
index 28b7c863..eee30477 100644
--- a/mobile-client/client.js
+++ b/mobile-client/client.js
@@ -1261,7 +1261,7 @@ import {
'</label>' +
'<span class="material-symbols-outlined plug-chev">'+svgIcon('expand_more')+'</span>' +
'</div>' +
- (pluginsOpen.persona ? '<div class="plugins-persona-list">'+personas+'</div>' : '') +
+ (pluginsOpen.persona ? '<div class="plugins-persona-list"><p class="persona-sync-note">Persona changes on this device stay here. They do not sync back to the desktop.</p>'+personas+'</div>' : '') +
'</div>';
}
function bindPluginsPicker(overlay){
diff --git a/src/api/__tests__/mobile-persona-sync-notice.test.ts b/src/api/__tests__/mobile-persona-sync-notice.test.ts
new file mode 100644
index 00000000..15d37dc2
--- /dev/null
+++ b/src/api/__tests__/mobile-persona-sync-notice.test.ts
@@ -0,0 +1,25 @@
+// @vitest-environment jsdom
+import { describe, expect, it } from 'vitest'
+import { loadFromClient } from './mobile-client-shell'
+
+describe('mobile persona sync notice', () => {
+ it('shows the one-way limitation when the actual picker is expanded', () => {
+ const state = { caveman: false, persona: true }
+ const { pluginsPickerBodyHtml } = loadFromClient<{ pluginsPickerBodyHtml: () => string }>(
+ ['pluginsPickerBodyHtml'], {
+ getCaveman: () => 'off', getPersonaId: () => 'test', getPersonaEnabled: () => true,
+ PERSONAS: [{ id: 'test', name: 'Test persona' }], H: (s: string) => s,
+ svgIcon: () => '', pluginsOpen: state,
+ },
+ )
+ const host = document.createElement('div')
+ host.innerHTML = pluginsPickerBodyHtml()
+ expect(host.querySelector('.persona-sync-note')?.textContent).toBe(
+ 'Persona changes on this device stay here. They do not sync back to the desktop.',
+ )
+ expect(host.querySelector('[data-persona="test"]')).not.toBeNull()
+ state.persona = false
+ host.innerHTML = pluginsPickerBodyHtml()
+ expect(host.querySelector('.persona-sync-note')).toBeNull()
+ })
+})
diff --git a/src/components/settings/RemoteAccessDocs.tsx b/src/components/settings/RemoteAccessDocs.tsx
index 5155a450..f4986fd4 100644
--- a/src/components/settings/RemoteAccessDocs.tsx
+++ b/src/components/settings/RemoteAccessDocs.tsx
@@ -45,6 +45,12 @@ export function RemoteAccessDocs() {
paired device. Generation still happens locally.
</p>
+ <p className="text-[0.6rem] text-gray-500 leading-relaxed">
+ Persona settings are not bidirectionally synced. A dispatched chat carries its desktop
+ instructions to the phone. Persona changes on the phone stay in that browser and do not
+ update the desktop persona.
+ </p>
+
<div className="space-y-2.5">
<Step n={1} icon={<Plug size={12} className="text-gray-500" />} title="Open the Remote tab">
In the sidebar, switch to the <span className="text-gray-400 font-medium">Remote</span> tab