-
Notifications
You must be signed in to change notification settings - Fork 7
Update Mastra tutorial with working workflow and auth handling #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Consolidate multi-page tutorial into single comprehensive page - Add tool configuration with MCP servers and individual tools - Include output truncation to prevent token overflow - Add email digest workflow example - Update Steps component CSS to not number nested h4-h6 headings - Add callout linking to multi-user auth guide - Update redirects to point old pages to new single page Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add auth error handling with arcade.auth.start() in workflow steps - Pass authRequired/authUrl through workflow steps - Use Slack_WhoAmI to get user's Slack ID - Send digest as DM instead of posting to #general channel - Use defaultUserId from ARCADE_USER_ID env var - Update documentation to explain workflow auth handling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style Review
Found 9 style suggestion(s).
Powered by Vale + Claude
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Changed workflow default userId from empty string to 'default-user' to match agent behavior - Fixed Gmail tool name from 'Gmail.ListEmails' (dot) to 'Gmail_ListEmails' (underscore) to match tool configuration
|
Bugbot Autofix resolved 2 of the 2 bugs found in the latest run.
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is ON. A Cloud Agent has been kicked off to fix the reported issue.
|
Bugbot Autofix resolved the bug found in the latest run.
|
|
nits:
|
Preview: https://docs-git-mastra-tutorial-update-arcade-ai.vercel.app/en/get-started/agent-frameworks/vercelai
Summary
arcade.auth.start()Slack_WhoAmIto dynamically get user's Slack ID for DMauthRequired/authUrlthrough workflow steps to handle OAuth flowsARCADE_USER_IDenvironment variable with sensible defaultsTest plan
🤖 Generated with Claude Code
Note
Consolidates Mastra docs into a single, end‑to‑end tutorial that includes a working agent and workflow with explicit OAuth handling and Slack DM via
Slack_WhoAmI, plus guidance like tool output truncation and Zod conversion.mastra/page.mdxwith agent, workflow, auth flow (arcade.auth.start()), and examples; removes old Mastra pagesnext.config.tsto point legacy Mastra paths to the new consolidated pageagent-frameworks/_meta.tsxlabel to "Vercel AI SDK"public/llms.txtcontent and metadataWritten by Cursor Bugbot for commit 8ebed03. This will update automatically on new commits. Configure here.