feat: add conversations inspect-invite command#20
Merged
saulmc merged 1 commit intofeature/typing-indicatorsfrom Mar 17, 2026
Merged
feat: add conversations inspect-invite command#20saulmc merged 1 commit intofeature/typing-indicatorsfrom
saulmc merged 1 commit intofeature/typing-indicatorsfrom
Conversation
Decodes and inspects an invite slug or URL without joining the conversation. Displays all embedded metadata including: - Invite tag and creator inbox ID - Conversation name, description, and image URL - Expiration dates (invite and conversation) - Single-use flag - Cryptographic signature validity - Whether the invite or conversation has expired Purely offline — does not create identities, send join requests, or connect to XMTP. Useful for debugging invite issues. Bumps version to 0.5.4.
ApprovabilityVerdict: Approved This PR adds a simple read-only CLI debugging command that parses and displays invite metadata without modifying any state. It reuses existing utility functions and is a low-risk, self-contained addition with clear documentation. You can customize Macroscope's approvability policy. Learn more. |
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
Adds a new command to decode and inspect invite slugs/URLs without joining the conversation.
Usage
Example output
{ "tag": "abc123def0", "creatorInboxId": "a1b2c3d4e5f6...", "name": "My Group", "description": null, "imageUrl": null, "expiresAt": "2026-04-01T00:00:00.000Z", "expiresAfterUse": false, "conversationExpiresAt": null, "signatureValid": true, "inviteExpired": false, "conversationExpired": false, "conversationTokenBytes": 46 }What it shows
What it does NOT do
Purely offline decode + signature verification.
Version
0.5.4. All 226 tests pass.
Note
Add
conversations inspect-inviteCLI commandAdds a new
inspect-invitesubcommand underconversationsthat decodes an invite slug or full URL, verifies its signature, and evaluates expiration status for both the invite and the conversation. The command outputs structured fields includingtag,creatorInboxId,signatureValid, expiration flags, andconversationTokenByteswithout performing any join or state changes. Exits with an error message if the invite cannot be parsed.Macroscope summarized f34c54e.