feat: Discord quickstart UX — plugin check, general channel selection, options output#48
Merged
Merged
Conversation
…s output - Add listDiscordChannels() to fetch guild text channels via API - Plugin check: warn if @suzuke/agend-plugin-discord not installed - New Step 5: general channel selection from API list (fallback to manual) - Category name prompt (default: 'AgEnD Agents') - fleet.yaml output includes options.general_channel_id + category_name - Dynamic totalSteps (5 for Discord, 4 for Telegram) - Next steps adapts based on plugin installation status
HsiaoHsuan
pushed a commit
to HsiaoHsuan/AgEnD
that referenced
this pull request
May 28, 2026
Minor bump for PR suzuke#48 (Discord quickstart UX improvements). Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
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.
Problem
Discord users face incomplete setup UX in
agend quickstart:@suzuke/agend-plugin-discordis missing only at runtimeoptions.general_channel_idis never asked, so general dispatcher / approval prompts don't work after setupoptions.category_nameFix
All changes in
src/quickstart.ts(+73/-6):Plugin Check
npm list -g @suzuke/agend-plugin-discord --depth=0General Channel Selection (new Step 5/5)
GET /guilds/{guild_id}/channelsto list text channelstype === 0(GuildText), sorts by name, limits to 20isNaN(parsed) ? 0 : clamp(parsed)Category Name
fleet.yaml Output
Step Numbering
Tests
tests/quickstart.test.ts— 14 new test cases:listDiscordChannels: API success, API error, network failureAll 505 tests pass (60 test files).