Skip to content

Conversation

@vredchenko
Copy link
Collaborator

ref: #16

  • initial smartem-workspace CLI/package boilerplate for scaffolding a new workspace for local dev
  • publish to PyPI
  • test locally
  • document

@vredchenko
Copy link
Collaborator Author

The smartem-workspace CLI tool is now complete. Here's the summary:

Package structure:

  packages/smartem-workspace/                                                                                      
  ├── pyproject.toml              # Package definition with dependencies                                           
  ├── README.md                   # Usage documentation                                                            
  ├── smartem_workspace/                                                                                           
  │   ├── __init__.py             # Version info                                                                   
  │   ├── __main__.py             # python -m entry point                                                          
  │   ├── cli.py                  # Typer commands (init, sync, status, add)                                       
  │   ├── config/                                                                                                  
  │   │   ├── schema.py           # Pydantic models                                                                
  │   │   ├── loader.py           # Network-first + bundled fallback                                               
  │   │   └── repos.json          # Bundled config                                                                 
  │   ├── setup/                                                                                                   
  │   │   ├── bootstrap.py        # Main orchestration                                                             
  │   │   ├── repos.py            # Git clone operations                                                           
  │   │   ├── claude.py           # Claude Code setup                                                              
  │   │   ├── serena.py           # Serena MCP setup                                                               
  │   │   └── workspace.py        # Directory structure                                                            
  │   ├── interactive/                                                                                             
  │   │   └── prompts.py          # Rich-based UI                                                                  
  │   └── utils/                                                                                                   
  │       ├── git.py              # Git utilities                                                                  
  │       └── paths.py            # Path utilities                                                                 
  └── tests/                                                                                                       
      ├── test_config.py          # Config/schema tests                                                            
      └── test_utils.py           # Utility tests                                                                  

Key features:

  • smartem-workspace init - Interactive workspace setup with presets
  • Config loaded from GitHub raw URL first, falls back to bundled JSON
  • 16 passing tests, no deprecation warnings

To run after publishing to PyPI:
uvx smartem-workspace init --path ~/dev/my-workspace

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.

2 participants