You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: consolidate packs into teams — business logic and frontend
Implements the business logic half of the packs→teams consolidation:
- Add import_team_from_directory() with copy/symlink support, ID
validation, and defense-in-depth re-validation after install
- Add delete_team_with_cascade() that removes directory + personas for
directory-backed teams, preserves personas for JSON-only teams
- Add sync_team_from_dir() to reconcile directory changes with stored
records (add/remove/update personas, update team metadata)
- Update runtime.rs to read persona_team_dir/persona_name_in_team for
ACP env var resolution (env var names unchanged for compatibility)
- Remove import_persona_pack, uninstall_persona_pack, list_installed_packs
and all supporting pack infrastructure from personas.rs
- Remove pack Tauri commands, add team directory commands
(install_team_from_directory, sync_team_directory, pick_team_directory)
- Update all field references across commands, tests, nest, relay_mesh
- Frontend: sourcePack→sourceTeam, 'Managed by pack'→'Managed by team'
- Bump file size limits for teams.rs and migration.rs
Includes Paul's type changes (serde aliases, new TeamRecord fields,
SyncResult/MigrationReport structs, migration function) as the
foundation these business logic changes build on.
0 commit comments