Sessions are now nested under s/ instead of the root, making it
straightforward to count active sessions and find newly created ones
by offset:
n=$(ls s/ | wc -l)
echo "new agent=foo" > ctl
sid=$(ls s/ | sort | sed -n "$((n+1))p")
Session IDs are now Unix nanosecond timestamps (from ollie's updated
NewSessionID), so ls s/ | sort gives strict creation order. The s/
directory is a stable listing surface; ctl remains at the root for
control operations.
All path parsing updated throughout: pathType, readDir, makeStat,
handleWrite, readChat, readReply, readFile. README updated to match.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>