Skip to content

feat: implement session workspace isolation for WebUI file operations#39

Merged
Nanguage merged 2 commits intoaristoteleo:mainfrom
1-CellBio:main
Mar 22, 2026
Merged

feat: implement session workspace isolation for WebUI file operations#39
Nanguage merged 2 commits intoaristoteleo:mainfrom
1-CellBio:main

Conversation

@1-CellBio
Copy link
Contributor

  • Fix asyncio event loop error on Python 3.12+ in unified CLI entry point
  • Fix move_file() FileNotFoundError by creating parent directories before move
  • Fix FileTransferToolSet to use session workdir via _get_root() for isolation
  • Auto-create per-session workspace directories (.pantheon/workspaces/{session_id}/)
  • Add workspace backfill for historical sessions missing workspace_path
  • Sync _current_chat_id in get_chat_messages() for UI state alignment
  • Clean up workspace directories when deleting chat sessions
  1. New Session without file image
  2. Session with files uploaded image

1-CellBio and others added 2 commits March 18, 2026 11:34
- Fix asyncio event loop error on Python 3.12+ in unified CLI entry point
- Fix move_file() FileNotFoundError by creating parent directories before move
- Fix FileTransferToolSet to use session workdir via _get_root() for isolation
- Auto-create per-session workspace directories (.pantheon/workspaces/{session_id}/)
- Add workspace backfill for historical sessions missing workspace_path
- Sync _current_chat_id in get_chat_messages() for UI state alignment
- Clean up workspace directories when deleting chat sessions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zqbake zqbake self-assigned this Mar 19, 2026
@Nanguage Nanguage assigned Nanguage and unassigned zqbake Mar 22, 2026
@Nanguage Nanguage merged commit 16936ff into aristoteleo:main Mar 22, 2026
0 of 5 checks passed
Nanguage pushed a commit that referenced this pull request Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants