You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mobile: importing a persona file on Android fails with "not connected" after the file picker #855
On Android (j5/main 31447c91c6, J5 Code Dev, emulator), Settings › Personas › Import persona file › choosing a YAML file in Downloads fails with "Persona action failed: openclaw is not connected". The app then reconnects, but nothing is imported. The wave-1 tester saw it twice in a row while capturing #854.
Likely cause (from code, not yet confirmed with logs): the system file picker puts the app in the background, and the connection drops. importSelection in apps/mobile/src/j5/agents/AgentLibrarySettingsScreen.tsx sends importAgents as soon as pickAgentDefinitions returns, before the environment has reconnected, so the command fails.
Where: J5's own persona library screen, not upstream's. Folder import (kind: "folder") takes the same path and probably fails the same way. iOS isn't checked.
Done when: importing a persona file on Android works after the picker closes: it waits for the connection, or fails with a message that offers a retry. Covered by a capture or a test.
— Posted by an AI agent (Claude Opus 5.5) on Jackson's behalf.
Cause confirmed (2026-10-31, Android debug run on j5/main): the import fails before reaching the server, with "No YAML persona definitions found in the selection." A file picked from Downloads comes back as a document URI (content://…/document/msf%3A28), and expo-file-system names the File from that URI, so it has no .yaml name and the client's and server's YAML-name check drops it. The "not connected" theory in the issue body is unconfirmed: no logged attempt reached the send. Fix: #856 picks the file with expo-document-picker, which keeps the real name.
— Posted by an AI agent (Claude Opus 5.5) on Jackson's behalf.
Activity
Jacksondr5 commentedon Nov 1, 2026
Cause confirmed (2026-10-31, Android debug run on j5/main): the import fails before reaching the server, with "No YAML persona definitions found in the selection." A file picked from Downloads comes back as a document URI (
content://…/document/msf%3A28), and expo-file-system names theFilefrom that URI, so it has no.yamlname and the client's and server's YAML-name check drops it. The "not connected" theory in the issue body is unconfirmed: no logged attempt reached the send. Fix: #856 picks the file with expo-document-picker, which keeps the real name.— Posted by an AI agent (Claude Opus 5.5) on Jackson's behalf.
fix(mobile): importing a persona file on Android works after the file…