Repository navigation
Phase 4: nemar admin mail CLI - #1940
Merged
neuromechanist merged 10 commits intoOct 24, 2026
Merged
neuromechanist merged 10 commits into
neuromechanist merged 10 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1940Version: 🤖 Updated on each push. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A failed name lookup partway through show, queues or away no longer leaves a partial render on stdout. --json detection in usage errors ignores arguments after --. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The server answers every repeat of a reply_delivery_unknown key the same way and never sends it, so the CLI no longer tells the caller to retry with it. It says to read the thread and that only a new key sends again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The display escape set now covers Unicode category Cf (soft hyphen, invisible operators, tag characters) and the invisible look-alikes outside it (combining grapheme joiner, Hangul fillers, variation selectors). Astral code points are written as \u{...}.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ReplyResponse.message_id is the stored row id, a number; the contract said string. Adds NoteResponse for the note route. Co-Authored-By: Claude Opus 5.5 <[email protected]>
neuromechanist
merged commit Oct 24, 2026
0b6ba25
into
feature/issue-1893-epic-email-cf
14 checks passed
This was referenced Oct 24, 2026
Merged
This branch was previously deployed
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
nemar admin mail, the command line over the support-ticket admin API from Phase 3 (#1930). It is the one tool human admins and thenemarAdminagent use to work tickets; nothing in it distinguishes the two.list,show,reply,note,assign,status,close,escalate,queues(list/set),away(show/set/clear),reprocess.--jsonon every command: the API body on stdout,{error, code}on stderr.Idempotency-Key; one is generated and printed before sending when none is given, and a lost or uncertain send tells the caller to retry with that key. A non-TTY reply without--yesis refused and sends nothing.terminalSafeText, which keeps newlines and tabs and escapes every other control and bidi character.--jsonstays verbatim.me,none, an id, or a username.Closes #1897
Part of epic #1893
Test plan
test/admin-mail-cli.test.ts: 31 tests spawning the real CLI against a local HTTP fixture (filters, paging, hostile-text escaping, idempotency keys, non-TTY refusal, retry guidance, user resolution, exit codes, queue and availability bodies)test/terminal-safe-text.unit.test.ts: 6 testssecurity@hidden from an admin key🤖 Generated with Claude Code