Skip to content

Pin sessions 0.3.0 so the Teams signup guide offers to invite teammates - #228

Merged
khaliqgant merged 1 commit into
mainfrom
chore/pin-sessions-0.3.0
Oct 15, 2026
Merged

khaliqgant merged 1 commit into
mainfrom
chore/pin-sessions-0.3.0

Conversation

@miyaontherelay

@miyaontherelay miyaontherelay commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Change

Moves the vendored @agent-relay/setting-up-agent-relay-sessions from 0.2.8 to 0.3.0. That's Part 3 of /signup/agent/teams.

0.3.0 adds section 5, "Offer to invite teammates":

  • the agent asks once and confirms the list;
  • it checks it is an org owner through whoami;
  • it sends member invites with POST /api/v1/invites using the Cloud token from Part 1 of this guide;
  • it reports each by emailDelivery and never prints invite links into the shared session.

The backend is live:

  • AgentWorkforce/cloud#5129 lets a person's own device-flow token call the invites API.
  • AgentWorkforce/cloud#5133 fixed invite email (it now sends from the verified mail.agentrelay.com).
  • I tested it in production on 2026-10-15: an agent token invited an address and got 200 with emailDelivery: "sent".

Files:

  • prpm.lock: the Sessions entry, plus the generated timestamp, which CI ignores. The integrity is the sha256 of the registry tarball, the same value relay-agent pins.
  • .claude/skills/setting-up-agent-relay-sessions/SKILL.md: reinstalled with npx prpm@2.1.40 install --frozen-lockfile -y.
  • web/lib/generated/setup-skills.ts: regenerated (npm run skills:generate).
  • web/lib/test/agent-signup.test.ts: the round-trip section is now 6 (the invite step became 5), so the test anchors on ## 6. Prove one live round trip. The assertions are otherwise unchanged; completion is still tied to Part 3's live round trip.

Verification

  • npm run verify:setup-skills: setup skills match prpm.lock (sessions@0.3.0).
  • CI's frozen reinstall leaves .claude/skills and prpm.lock unchanged (apart from generated).
  • npx tsc --noEmit -p web/tsconfig.json: clean.
  • npm test:
    • web: 625 passed, and 2 failed in lib/test/agent-chat-snippet.test.ts ("parses as POSIX sh…", "refuses anything but a conversation URL"). Those 2 fail identically on clean origin/main on this machine, so they're unrelated.
    • router: 102/102.

Companion: AgentWorkforce/relay-agent#79 (same pin for the arelay.to agent).

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Note

Low Risk
Mostly documentation/skill vendoring and a single test string update; invite behavior depends on already-deployed Cloud APIs and does not change app runtime code in this diff.

Overview
Bumps vendored setting-up-agent-relay-sessions from 0.2.8 → 0.3.0 (prpm.lock + reinstalled SKILL.md) so the Teams agent signup guide (Part 3) ships the updated handoff onboarding.

0.3.0 adds §5 Offer to invite teammates: preflight asks for emails; org owners send member invites via Cloud POST /api/v1/invites using the Part 1 device-flow token (signing-in-to-agent-relay-cloud), with ownership checks, rate-limit handling, and no invite acceptUrl in the uploaded session. The live round-trip proof moves to §6 (report §7). The skill also documents Muse MCP install (tools only), multi-IDE routing in preflight, and pulls in the cloud sign-in skill as a dependency.

web/lib/test/agent-signup.test.ts now anchors completion checks on ## 6. Prove one live round trip (unchanged rule: complete only after a proven round trip).

Reviewed by Cursor Bugbot for commit ca46f04. Bugbot is set up for automated code reviews on this repo. Configure here.


Agent Relay sessions

  • claude session aff9aabe · opened via gh pr create · last active 2026-10-15

Sessions 0.3.0 (AgentWorkforce/skills#174) adds section 5: the agent asks
whether to invite teammates and, when the person owns the organization,
sends member invites through POST /api/v1/invites with the Cloud sign-in
token from Part 1, never printing invite links. Cloud accepts that token
(AgentWorkforce/cloud#5129) and invite email delivers (#5133).

Move the lock entry to 0.3.0, reinstall the vendored skill from the frozen
lock and regenerate web/lib/generated/setup-skills.ts. The round-trip
section is now 6, so the signup test anchors on its new heading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ae305f65-b540-4c56-854f-0ef9ce9a2fd5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

Open in Capy

@github-actions

Copy link
Copy Markdown
Contributor

Preview deployed!

Environment URL
Web https://e6c3efb2-agentrelay-web.agent-workforce.workers.dev

This is a Cloudflare Workers preview version of this PR's build.

@khaliqgant
khaliqgant merged commit d3121da into main Oct 15, 2026
5 checks passed
@khaliqgant
khaliqgant deleted the chore/pin-sessions-0.3.0 branch October 15, 2026 19:31
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.

2 participants