CooX — Shared team intent + memory for AI-assisted coding
CooX is a lightweight collaboration layer that helps teams keep a shared, privacy-safe summary of what’s happening in a “room” and optionally inject that context into your current file so tools like Copilot have consistent, up-to-date instructions.
What it does
Rooms: create/join a room and see who’s in it.
Intent sharing: broadcast what you’re working on (manually or automatically).
Shared summary: room-level summary that teammates can pull into their editor.
Shared plan: keep a short plan synchronized (clipboard or watched plan file).
Conflict warnings (MVP): heuristics that flag overlaps (same API endpoints/contracts in git diff).
Privacy model (important)
CooX shares summaries/intents by default.
It does not read Copilot Chat prompts (VS Code doesn’t expose them to extensions).
Context injection is opt-in and writes a comment block into your current file.
Quick start
Install the extension.
Configure the backend URL (if your team hosts their own):
Setting: coox.serverUrl
Default: https://coox.ruchitgupta05.workers.dev
Open the CooX view in the Activity Bar and use:
CooX: Sign In (GitHub)
CooX: Create Room (or Join Room)
Commands
CooX: Create Room
CooX: Join Room
CooX: Leave Room
CooX: Sign In (GitHub)
CooX: Logout
CooX: Set Intent
CooX: Toggle Auto Intent
CooX: Inject Team Context
CooX: Toggle Auto Inject Context
CooX: Sync Copilot Instructions
CooX: Set Shared Plan from Clipboard
CooX: Toggle Plan File Watch
Settings
Open VS Code Settings and search for CooX, or run CooX: Open Settings.
Backend
coox.serverUrl: Base URL of the CooX backend.
Context injection
coox.contextInjection.mode: off | comment
coox.contextInjection.auto: off | onSave | onFocus
coox.contextInjection.minIntervalMs: throttle interval for auto-injection
Auto intent
coox.autoIntent.enabled
coox.autoIntent.debounceMs
coox.autoIntent.minIntervalMs
coox.autoIntent.includeGitDiff
Shared plan
coox.planSync.mode: off | watchFile
coox.planSync.path: default PLAN.md
coox.planSync.debounceMs
Conflict detection (MVP)
coox.conflictDetection.enabled
coox.conflictDetection.minIntervalMs
Troubleshooting
I can’t join a room: verify coox.serverUrl points to a reachable backend.
GitHub sign-in fails: make sure VS Code GitHub authentication works in your environment; try signing in from Accounts menu.
Auto inject does nothing: set coox.contextInjection.mode = comment and coox.contextInjection.auto to onSave or onFocus.
How it works (high level)
┌─────────────────────┐
│ VS Code (each dev) │
│ - CooX extension │
└─────────┬───────────┘
│ WebSocket + HTTP
│ (summaries / intents / plan)
v
┌──────────────────────────────┐
│ Cloudflare Worker backend │
│ - Durable Object per room │
│ - D1 persistence (optional) │
└─────────┬────────────────────┘
│ broadcasts
v
┌──────────────────────────────┐
│ Other teammates in the room │
│ - see same shared summary │
└──────────────────────────────┘
Optional local action:
Inject shared summary/plan into the current file as a comment block
so code assistants can see consistent context.
Notes:
The extension can’t read Copilot Chat prompts; it only shares what you explicitly set (or what it infers from editor/workspace activity when Auto Intent is enabled).