97628bfe0f
- Fixed `newSession()` to properly await session manager operations for full initialization. - Changed session formatting to use XML structure instead of YAML for tools and tool invocations. - Added formatArgsAsXml() helper function to serialize objects as XML parameter elements. - Removed trailing whitespace from task.md prompt file. - Added regression test for AgentSession.newSession() to verify proper session switching and artifact isolation.