Repository navigation
Add a page on using Scheduler with your agent - #48
Merged
Merged
Conversation
New static page /agents ("Use Scheduler with your agent"): what an agent can
do for invitees and organizers, why it needs access to the person's own
calendars (Scheduler never reads one), Adjutant for agents without calendar
access, this server's MCP URL, and the two ways to sign in: OAuth for agents
that can open a browser (Claude, Claude Code, VS Code) and a personal access
token for headless agents such as RockBot.
Linked from the home page (a button), the header, the voting page and the
personal access token section of /account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Invitations, new-times emails and reminders now follow the "ask your
assistant" line with a link to /agents ("How to connect your assistant"),
in both the plain-text and HTML bodies. The approval of a request to
organize links it too.
PlainTextEmailComposer now takes the public base URL and derives both the
MCP URL and the agents page URL from it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block approval of the agent setup guide and its page and email links.
No open issues 🎉
What changed in this PR
Adds a discoverable guide to using Scheduler through an AI agent, explaining calendar access and authentication while connecting the guide to existing pages and email flows.
Changes:
- Adds
/agentswith calendar requirements, OAuth and token setup, client examples, and suggested requests. - Links the guide from navigation, home, voting, account, and relevant plain-text and HTML emails.
- Updates email URL construction, tests, and documentation.
| File | Description |
|---|---|
tests/Scheduler.Web.Tests/OrganizerRequestPageTests.cs |
Checks the guide link in approval emails. |
tests/Scheduler.Web.Tests/OrganizerPageTests.cs |
Checks the guide link in reminder emails. |
tests/Scheduler.Web.Tests/AgentsPageTests.cs |
Covers page content, MCP URL, and home-page link. |
tests/Scheduler.Data.Tests/Harness.cs |
Passes the base URL to email composers. |
tests/Scheduler.Core.Tests/EmailComposerTests.cs |
Tests plain-text guide links and updates constructor calls. |
src/Scheduler.Web/wwwroot/app.css |
Styles guide examples with horizontal code-block scrolling. |
src/Scheduler.Web/SchedulerSetup.cs |
Supplies the public base URL to the composer. |
src/Scheduler.Web/Email/Templates/LinkEmail.razor |
Supports an optional closing link. |
src/Scheduler.Web/Email/Templates/EventEmail.razor |
Renders the assistant setup link. |
src/Scheduler.Web/Email/HtmlEmailComposer.cs |
Supplies guide links to relevant HTML emails. |
src/Scheduler.Web/Components/Pages/Vote.razor |
Adds an agent-guide hint beneath the forms. |
src/Scheduler.Web/Components/Pages/Home.razor |
Introduces agent assistance and links the guide. |
src/Scheduler.Web/Components/Pages/Agents.razor |
Implements the static agent setup guide. |
src/Scheduler.Web/Components/Pages/Account.razor |
Links token guidance to the guide. |
src/Scheduler.Web/Components/Layout/MainLayout.razor |
Adds the guide to header navigation. |
src/Scheduler.Core/Email/PlainTextEmailComposer.cs |
Derives endpoint URLs and adds plain-text guide links. |
README.md |
Points deployed-server users to /agents. |
docs/design.md |
Documents the page and email links. |
Review effort: Balanced
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
People arriving at Scheduler had no way to learn that their agent can do the work for them. This adds a page that explains it, and links to it from where people land.
/agents, "Use Scheduler with your agent":McpResource), then OAuth for agents that can open a browser (Claude custom connector,claude mcp add, VS Codemcp.json) or a personal access token from/accountfor headless agents such as RockBot/account./agents, in plain text and HTML. The approval of a request to organize links it too.PlainTextEmailComposernow takes the public base URL and derives the MCP URL and the agents page URL from it.design.md(Web UI table, Email section) and the README mention the page.Test plan
AgentsPageTests: the home page links to/agents; the page returns 200 with this server's/mcpURL, the calendar, OAuth and token sections, the Adjutant link and the/accountlink/agentsURL; the HTML reminder and approval link itmcp.jsonblock scrolls on its own)🤖 Generated with Claude Code