Repository navigation
ANA 0.4.1 — naming convention, reconnecting chat
One naming rule for every ANA: the folder gives the name, and the name gives the tmux sessions.
Changed
- Folder → ANA name. Every ANA lives in
~/ana/<xxx>-ana(or/ana/<xxx>-ana), and the folder name is the ANA's name.<xxx>may contain hyphens. This repo's sample isbase-ana: install into~/ana/base-ana. A folder that doesn't end in-anafalls back tobase-ana;ANA_NAMEoverrides. - Default tmux session is
<name>-claude(wasana), e.g.base-ana-claude.TMUX_SESSIONstill overrides it, so existing deployments keep their session. - Chat session list shows only this ANA's sessions:
<xxx>-ana-<yyy>, whereyyyis the agent label (claude,codex, or any hyphenated label). The connected and default sessions always stay listed.ANA_TMUX_ALL=1lists every tmux session./api/configand/api/healthnow reportana. - Install scripts.
install.shandinstall-wsl.ps1clone into~/ana/base-ana.run.shandcheck-env.shderive the session from the folder, andrun.shnames its server sessionsrv-<session>so it stays out of the chat list. A server still running as<session>-serveris reused. channel-core.jsexportsanaNameOf,defaultSessionandisAnaSession.- README, the
installskill and theanaskill use the new paths and session names, with a short "Naming convention" section.
Fixed
- Chat header stuck on "Not connected" until a reload while the agent was actually running.
- Cause: after the iPhone screen locks or the tab goes to the background, Safari can leave the connection half-dead. Status, session-list and stream requests then neither failed nor answered. The page had no timeouts, so the header and the session popup (its "Start an agent in tmux…" placeholder) stayed frozen.
- Now: every poll has a timeout. Coming back to the page re-checks at once (
visibilitychange,pageshow,online). A live stream that has been silent for over 40 seconds is reopened (the server pings every 15 seconds). - The header says Reconnecting… while the server can't be reached, and Not connected only when the server reports that the agent isn't running.
한국어: CHANGELOG.ko.md · Existing ANAs: claude plugin update ana@agent-native-agent, then ask the agent to update (ana-update).
Full diff: v0.4.0...v0.4.1