vibegroup 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -70,7 +70,7 @@ var package_default;
70
70
  var init_package = __esm(() => {
71
71
  package_default = {
72
72
  name: "vibegroup",
73
- version: "0.1.5",
73
+ version: "0.1.6",
74
74
  description: "Talk to your teammates' Claude Code agents — agent-to-agent collaboration for Claude Code over a shared channel.",
75
75
  type: "module",
76
76
  bin: {
@@ -94,11 +94,21 @@ var init_package = __esm(() => {
94
94
  bugs: {
95
95
  url: "https://vibegroup.sh"
96
96
  },
97
- keywords: ["claude", "claude-code", "agents", "collaboration", "cli", "vibegroup"],
97
+ keywords: [
98
+ "claude",
99
+ "claude-code",
100
+ "agents",
101
+ "collaboration",
102
+ "cli",
103
+ "vibegroup"
104
+ ],
98
105
  publishConfig: {
99
106
  access: "public"
100
107
  },
101
- workspaces: ["packages/*", "plugin"],
108
+ workspaces: [
109
+ "packages/*",
110
+ "plugin"
111
+ ],
102
112
  scripts: {
103
113
  "build:relay": "cd packages/relay && bun run build",
104
114
  "build:plugin": "cd plugin && bun run build",
@@ -570,6 +580,9 @@ function createTeam(opts, input) {
570
580
  function listRooms(opts, slug) {
571
581
  return call(opts, "GET", `/teams/${encodeURIComponent(slug)}/rooms`);
572
582
  }
583
+ function createRoom(opts, slug, name) {
584
+ return call(opts, "POST", `/teams/${encodeURIComponent(slug)}/rooms`, { name });
585
+ }
573
586
  function invite(opts, slug, email) {
574
587
  return call(opts, "POST", `/teams/${encodeURIComponent(slug)}/invitations`, { email });
575
588
  }
@@ -591,6 +604,7 @@ var exports_team = {};
591
604
  __export(exports_team, {
592
605
  teamCommand: () => teamCommand,
593
606
  roomsCommand: () => roomsCommand,
607
+ roomCommand: () => roomCommand,
594
608
  inviteCommand: () => inviteCommand
595
609
  });
596
610
  function client(env) {
@@ -619,6 +633,25 @@ async function teamCommand(rest, flags, env) {
619
633
  return 1;
620
634
  }
621
635
  }
636
+ async function roomCommand(rest, flags, env) {
637
+ const slug = str(flags.team);
638
+ if (rest[0] !== "create" || !rest[1] || !slug) {
639
+ console.error("usage: vibegroup room create <name> --team <slug>");
640
+ return 1;
641
+ }
642
+ const opts = client(env);
643
+ if (!opts)
644
+ return 1;
645
+ try {
646
+ const { room } = await createRoom(opts, slug, rest[1].toLowerCase());
647
+ console.log(`Created room "${room.name}" in ${slug}.`);
648
+ console.log(`Join it (rooms are set at launch, so start a session in it): vibegroup claude --team ${slug} --room ${room.name}`);
649
+ return 0;
650
+ } catch (e) {
651
+ console.error(`could not create room: ${e.message}`);
652
+ return 1;
653
+ }
654
+ }
622
655
  async function roomsCommand(flags, env) {
623
656
  const slug = str(flags.team);
624
657
  if (!slug) {
@@ -830,6 +863,10 @@ async function run(argv, env = process.env) {
830
863
  const { teamCommand: teamCommand2 } = await Promise.resolve().then(() => (init_team(), exports_team));
831
864
  return teamCommand2(rest, flags, env);
832
865
  }
866
+ case "room": {
867
+ const { roomCommand: roomCommand2 } = await Promise.resolve().then(() => (init_team(), exports_team));
868
+ return roomCommand2(rest, flags, env);
869
+ }
833
870
  case "rooms": {
834
871
  const { roomsCommand: roomsCommand2 } = await Promise.resolve().then(() => (init_team(), exports_team));
835
872
  return roomsCommand2(flags, env);
@@ -860,6 +897,7 @@ Commands:
860
897
  logout Clear the cached session
861
898
  status Show your auth + connection status
862
899
  team create <slug> [--name] Create a team (a WorkOS org + a general room)
900
+ room create <name> --team <slug> Add a room to a team
863
901
  invite <email> --team <s> Invite someone to a team
864
902
  rooms --team <slug> List a team's rooms
865
903
  claude --team <slug> [--room <name>] [...]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibegroup",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Talk to your teammates' Claude Code agents — agent-to-agent collaboration for Claude Code over a shared channel.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,11 +24,21 @@
24
24
  "bugs": {
25
25
  "url": "https://vibegroup.sh"
26
26
  },
27
- "keywords": ["claude", "claude-code", "agents", "collaboration", "cli", "vibegroup"],
27
+ "keywords": [
28
+ "claude",
29
+ "claude-code",
30
+ "agents",
31
+ "collaboration",
32
+ "cli",
33
+ "vibegroup"
34
+ ],
28
35
  "publishConfig": {
29
36
  "access": "public"
30
37
  },
31
- "workspaces": ["packages/*", "plugin"],
38
+ "workspaces": [
39
+ "packages/*",
40
+ "plugin"
41
+ ],
32
42
  "scripts": {
33
43
  "build:relay": "cd packages/relay && bun run build",
34
44
  "build:plugin": "cd plugin && bun run build",
@@ -7,8 +7,13 @@ Read the first word of $ARGUMENTS as a subcommand and route:
7
7
  - `init` (or no setup yet) → run the onboarding in **/vibegroup:init** (sign in, create/join a team, launch a channel session).
8
8
  - `status` → run `vibegroup status` and report.
9
9
  - `team` / `rooms` / `invite` / `login` / `logout` → run the matching `vibegroup` CLI command with the remaining arguments, and report the result.
10
+ - **create a room** (e.g. "create a room ai") → that's a room **inside a team**, NOT a new team. Run `vibegroup room create <name> --team <slug>` (use the user's current team; ask if unknown — `vibegroup status`/`vibegroup rooms --team <slug>`). Do **not** run `team create` for a room request.
10
11
  - `ask`, `peers`, or no argument → **collaborate** (below).
11
12
 
13
+ ## A session is bound to one room
14
+
15
+ A Claude session joins **one** `team:room`, fixed at launch by `vibegroup claude --team <slug> --room <name>` (default room: `general`). You **cannot switch or join another room inside a running session** — to work in a different (or newly created) room, the user restarts: `vibegroup claude --team <slug> --room <name>`. After creating a room, tell the user to relaunch into it.
16
+
12
17
  ## Collaborate with peer agents
13
18
 
14
19
  Peer agents in your team's room can ask each other what they're working on. Use the vibegroup MCP tools: