Repository navigation
Show and hide FMSG-008 edits in list, sent, get, get-data and watch - #19
Merged
Merged
Conversation
list and sent leave out edit messages unless --all and mark edited messages; negative message indices no longer count edit messages; get prints an Edited line and the edited size; get-data --original downloads the data as first sent; watch documents the edit event. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
markmnl
enabled auto-merge (squash)
November 11, 2026 14:58
markmnl
disabled auto-merge
November 11, 2026 15:06
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.
Follow-up to #18: the CLI could send edits but did not understand them when reading.
What changes
list/sent: edit messages are left out (the server already applies each one to the message it edits). Edited messages are marked(edited).--allshows the edit messages, marked(edit of <id>). This applies to--jsonoutput too.fmsg get -1): edit messages are not counted, so-1is the newest messagelistshows rather than possibly an edit message.get: printsEdited: <time> (edit message <id>)and the edited size; says so when an edit could not be applied and the original is shown. An edit message itself printsEdit of: <id>in place ofPID:.get-data --original: downloads the data as first sent (?original=true).watch: theeditevent is documented and accepted by--events; a revert prints(reverted). It already passed through as an unknown type.editandeditedare now onMessageandMessageListItem, so--jsoncarries them.Behaviour to be aware of
list --limit 20can print fewer than 20 rows.Testing
go test ./...passes, with new tests for the list filter, index resolution, row marking, field decoding and theoriginalquery. Not run against a live host.🤖 Generated with Claude Code