Skip to content

Comments

Add workspace selection and cross-dialect migrations#275

Open
Mng-dev-ai wants to merge 1 commit intomainfrom
feat/workspace-selection
Open

Add workspace selection and cross-dialect migrations#275
Mng-dev-ai wants to merge 1 commit intomainfrom
feat/workspace-selection

Conversation

@Mng-dev-ai
Copy link
Owner

Summary

  • Add workspace selection: users can pick a local folder (desktop file picker) or clone a Git repo before starting a chat
  • workspace_path is optional — users can start chatting immediately without selecting a folder
  • Docker provider mounts the selected workspace as a volume instead of zipping/syncing files
  • Host provider works directly in the selected folder, falling back to sandbox base dir when none is set
  • Landing page UI with workspace selector popover, recent workspaces (localStorage), and Git clone input
  • Cross-dialect Alembic migrations via migration_helpers (uuid_server_default, now_server_default) so migrations run on both PostgreSQL and SQLite
  • Reset Alembic to a single initial migration supporting both dialects
  • Remove _create_sqlite_tables() from app startup — Alembic handles SQLite directly now

Test plan

  • Start app without selecting a workspace — verify chat creation works
  • Select a local folder via file picker (desktop), create chat — verify agent works in that directory
  • Clone a Git repo from landing page — verify it clones and sets workspace
  • Docker provider: verify container gets volume mount when folder is selected
  • Desktop/SQLite: delete claudex.db, relaunch — verify Alembic creates tables from scratch
  • PostgreSQL: drop schema, run alembic upgrade head — verify migration applies cleanly

@Mng-dev-ai Mng-dev-ai force-pushed the feat/workspace-selection branch 4 times, most recently from f0cc277 to 75b10a8 Compare February 23, 2026 03:39
- Allow users to select a local folder or clone a Git repo as workspace
- workspace_path is optional — users can start chatting without one
- Docker provider mounts workspace as volume when provided
- Host provider works directly in the selected folder
- Landing page UI with workspace selector, recent workspaces, and Git clone
- Add migration_helpers (uuid_server_default, now_server_default) for PG/SQLite
- Update env.py render_item to auto-generate cross-dialect migrations
- Reset Alembic to single initial migration supporting both dialects
- Remove _create_sqlite_tables() — Alembic handles SQLite directly
@Mng-dev-ai Mng-dev-ai force-pushed the feat/workspace-selection branch from 75b10a8 to 1c41ef3 Compare February 23, 2026 04:01
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.

1 participant