Update internal/jupyter/service_manager.go to use centralized PathRegistry: Changes: - Import config package for PathRegistry access - Update stateDir() to use config.FromEnv().JupyterStateDir() - Update workspaceBaseDir() to use config.FromEnv().ActiveDataDir() - Update trashBaseDir() to use config.FromEnv().JupyterStateDir() - Update NewServiceManager() to use PathRegistry for workspace metadata file - Update loadServices() to use PathRegistry for services file path - Update saveServices() to use PathRegistry with EnsureDir() - Rename parameter 'config' to 'svcConfig' to avoid shadowing import Benefits: - Consistent path management across codebase - Centralized directory creation with EnsureDir() - Environment variable override still supported (backward compatible) - Proper error handling for directory creation failures |
||
|---|---|---|
| .. | ||
| config.go | ||
| health_monitor.go | ||
| network_manager.go | ||
| package_manager.go | ||
| security_enhanced.go | ||
| service_manager.go | ||
| startup_blacklist_test.go | ||
| workspace_manager.go | ||
| workspace_metadata.go | ||