Skip to content

feat(desktop): wire directory-backed team UI — install, sync, reveal#912

Merged
wpfleger96 merged 1 commit into
wpfleger/wire-pack-managementfrom
wpfleger/packs-to-teams-frontend
Jun 8, 2026
Merged

feat(desktop): wire directory-backed team UI — install, sync, reveal#912
wpfleger96 merged 1 commit into
wpfleger/wire-pack-managementfrom
wpfleger/packs-to-teams-frontend

Conversation

@wpfleger96

Copy link
Copy Markdown
Collaborator

Adds the frontend UI for directory-backed team management, building on the backend plumbing from PR #852.

Changes

tauriTeams.ts — New Tauri command bindings:

  • installTeamFromDirectory(path) — install a team from a local directory
  • syncTeamDirectory(teamId) — re-sync a directory-backed team with its source
  • pickTeamDirectory() — open native directory picker

types.ts — Extended AgentTeam with directory-backed fields:

  • sourceDir, isSymlink, symlinkTarget, version

TeamsSection.tsx — Enhanced team cards for directory-backed teams:

  • Symlink badge indicator when isSymlink is true
  • Version badge when version is set
  • "Reveal in Finder" menu item (via @tauri-apps/plugin-opener)
  • "Sync" menu item to reconcile directory changes
  • "Install from directory" button in the section header

useTeamActions.ts — New hook composing install/sync mutations with the directory picker flow.

AgentsView.tsx — Wires the install-from-directory action into the teams section.

Stack: #852 → this PR

Connects the new backend team directory commands to the frontend:

- Add sourceDir, isSymlink, symlinkTarget, version to AgentTeam type
  and tauriTeams.ts RawTeam mapping
- Add pickTeamDirectory, installTeamFromDirectory, syncTeamDirectory
  API wrappers in tauriTeams.ts
- TeamsSection: "Install from directory" button, symlink link icon with
  tooltip, version badge, "Sync from directory" and "Reveal in Finder"
  menu items for directory-backed teams
- useTeamActions: handleInstallFromDirectory (pick + install + symlink),
  handleSyncTeam (sync + summary notification), handleRevealInFinder
- AgentsView: pass new callbacks to TeamsSection
@wpfleger96 wpfleger96 requested a review from a team as a code owner June 8, 2026 21:56
@wpfleger96 wpfleger96 marked this pull request as draft June 8, 2026 21:57
@wpfleger96 wpfleger96 marked this pull request as ready for review June 8, 2026 22:03
@wpfleger96 wpfleger96 merged commit dda2d4b into wpfleger/wire-pack-management Jun 8, 2026
13 of 15 checks passed
@wpfleger96 wpfleger96 deleted the wpfleger/packs-to-teams-frontend branch June 8, 2026 22:03
wpfleger96 added a commit that referenced this pull request Jun 8, 2026
…912)

Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co>
wpfleger96 added a commit that referenced this pull request Jun 9, 2026
…912)

Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co>
wpfleger96 added a commit that referenced this pull request Jun 9, 2026
…912)

Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co>
wpfleger96 added a commit that referenced this pull request Jun 9, 2026
…912)

Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co>
wpfleger96 added a commit that referenced this pull request Jun 9, 2026
…912)

Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co>
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