← Plugins

Team Collab

CoDevAI.cc4installs

Multi-developer Git worktree identity isolation, secret credential routing, and per-member usage ledger

$ paseo plugin add codevai-cc/team-collab
Team Collab screenshot 1Team Collab screenshot 2Team Collab screenshot 3Team Collab screenshot 4Team Collab screenshot 5Team Collab screenshot 6

Team Collab turns a shared single-host or multi-host Paseo daemon into a multi-developer workspace with per-member Git credential isolation, unclaimed commit protection, live triage, team handoff boards, cross-host Git workspace handoff, and a local SQLite usage ledger.

What your team gets

  • Workspace ownership & worktree isolation: Attributes every workspace and child agent to a team member (or system-bot), converts shared main-checkout creations into isolated Git worktrees when enforceWorktreeOnCreate is enabled, and writes Git identity/credential config to worktree config only (extensions.worktreeConfig).
  • Unclaimed commit & push protection: Appends guard instructions and blocks git commit, git push, gh pr create, and tea pr create permission requests in unclaimed workspaces or disallowed shared main checkouts (blockUnclaimedGitCommitPush).
  • Team sidebar & saved views: Optional Team Collab sidebar view (Settings → Sidebar → Sidebar view) with grouping (member, host, project, PR status, activity, flat), five-dimensional faceted filters, synced Saved Views, #PR / !MR / #Issue / :port link finder, and risk-checked batch archiving.
  • Live triage, handoff flow board & usage ledger: Multi-host team-usage hub combining per-reader live triage (in-place tool approval/denial, loop/stuck detection, prompt-cache countdowns, daily budget alerts), multi-team workspace handoff (@team:<slug> pools, anchored annotations, .paseo/HANDOFF.md mirroring, and Flow Board), and per-member token/cost rollups with CSV/JSON export.
  • Cross-host Git workspace handoff: Moves committed Git worktrees between connected Paseo hosts via incremental git bundle, binary diffs, and non-ignored untracked archives, with remote/root-commit matching, lineage reuse, and rollback on failure.

Quick setup

  1. Open Settings → Team Collab to review or edit the team member roster, team tags (such as fe, be, qa), and per-member Git tokens or SSH key paths.
  2. Enable the Team Collab sidebar view under Settings → Sidebar → Sidebar view (optional) and choose your default grouping and density.
  3. Configure workspace policies (enforceWorktreeOnCreate, blockUnclaimedGitCommitPush, allowSharedLocalCheckoutCommit, retention days, and optional daily budgets) per host.

Host credential discovery, storage, and data handling

Before installing on a host, note what local files, tokens, network endpoints, and workspace data Team Collab accesses:

  • Host configs read and when:
    • On daemon startup, Team Collab reads local CLI configurations for tea (~/Library/Application Support/tea/config.yml, $XDG_CONFIG_HOME/tea/config.yml, ~/.config/tea/config.yml), gh ($XDG_CONFIG_HOME/gh/hosts.yml, ~/.config/gh/hosts.yml), and glab (~/Library/Application Support/glab-cli/config.yml, $XDG_CONFIG_HOME/glab-cli/config.yml, ~/.config/glab-cli/config.yml), plus the global Git identity (git config --global user.name and user.email).
    • When opening roster/settings or syncing host accounts (roster status and host-sync RPCs), it re-reads those CLI configs and global Git identity, and lists candidate key file names in ~/.ssh (private key contents are not read).
  • Automatic initial seeding and plaintext storage:
    • If the member roster is empty and has not been seeded before, Team Collab automatically creates an initial member from discovered CLI accounts and copies discovered token(s) (and SSH key path if configured) into <PASEO_HOME>/plugin-data/team-collab/secrets.json without user action.
    • secrets.json is plaintext JSON protected by filesystem mode 0600. Generated per-member tea CLI configs are also plaintext YAML protected by mode 0600. Tokens are never written into .git configuration files and outbound RPCs return masked previews only.
  • Outbound network requests:
    • For each discovered tea login with a token and server URL, Team Collab sends GET <tea login URL>/api/v1/user with Authorization: token <tea token> to that login's own Gitea server to resolve the user's username, display name, and email (triggered on daemon startup and roster/sync RPCs).
    • During cross-host handoff, the receiving host runs git clone against the repository's remote URL if the repo does not already exist on that host. Team Collab sends no telemetry and contacts no third-party or author endpoints.
  • Environment variables injected into agents:
    • On agent.open.before, Team Collab injects the effective workspace owner's GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL, GIT_COMMITTER_NAME, GIT_COMMITTER_EMAIL, GIT_SSH_COMMAND (when an SSH key is configured), GH_TOKEN, GITHUB_TOKEN, GITEA_TOKEN, GITLAB_TOKEN, GITLAB_HOST (when a GitLab token is configured), and a per-member tea CLI wrapper directory prepended to PATH.
  • Cross-host handoff files:
    • Cross-host Git workspace handoff packs and sends non-ignored untracked files in the worktree (such as an un-ignored .env file) to the target Paseo host along with unpushed commits and dirty diffs. Files matched by .gitignore and nested .git directories are excluded, and out-of-tree symlinks are rejected.
  • Local SQLite ledger & secret redaction:
    • Turn summaries, read receipts, handoff history, annotations, budget alerts, and audit events are stored in <PASEO_HOME>/plugin-data/team-collab/usage.sqlite (mode 0600). Extracted summaries and .paseo/HANDOFF.md mirrors redact Bearer tokens, sk-*, ghp_*, glpat-*, URL-embedded credentials, and private key blocks.

Requirements and limitations

  • Node.js >=22.13.0 on the Paseo daemon host for built-in node:sqlite.
  • secrets.json and usage.sqlite rely on host filesystem 0600 permissions for multi-developer attribution on a shared trusted host; they do not replace OS-level multi-tenant sandboxing.
  • Direct commits in a shared main Git checkout are blocked by default; enable allowSharedLocalCheckoutCommit explicitly if required.
  • Cross-host handoff requires a Git repository with at least one commit and does not transfer .gitignore-ignored files, member Git credentials, or underlying agent CLI private session state.
  • On upstream Paseo hosts without plugins.invoke, cross-host handoff automatically routes through the App-client chunked relay (app_relay), and per-device owner notification filtering degrades to a read-only notice.

Related plugins

Browse all plugins →