Repository navigation
Conversation
Co-Authored-By: Claude Opus 4.6 <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e88ac3c4d7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // If --to is provided, try to show the matching guest from the guest list | ||
| if (options.to) { | ||
| try { | ||
| const summary = await getGuests(eventId, {}); |
There was a problem hiding this comment.
Handle missing auth when --to guest lookup is best-effort
This lookup path is documented in-code as optional (// Guest lookup failed, continue anyway), but calling getGuests here can terminate the whole command via loadConfig() (which calls process.exit(1) when auth config is missing), so partiful dm <eventId> --to ... exits before printing the web-UI instructions. This makes --to unexpectedly break the redirect workflow in unauthenticated environments instead of gracefully skipping lookup.
Useful? React with 👍 / 👎.
Code Review Spec — PR #32 (dm)[Important] Simplify to API limitation noticeRemove guest lookup, clipboard references, and [Important] Help text claims clipboard copyCurrently says "copied to clipboard" but no copy actually happens. Moot if we simplify per above, but if any message printing remains, don't claim clipboard behavior. [Suggestion] Silent error swallowingThe |
|
Stale — modifies the old monolith file which was refactored into src/commands/. DM feature was never re-implemented. |
Summary
partiful dm <eventId>command for direct messaging guestsblastcommand) with clipboard-ready messageCloses #12
Test plan
node partiful dm <eventId> --to "Name" --message "Hey!"shows web UI instructions🤖 Generated with Claude Code