Fix issue output to show sequential numbers and add --json to write commands
Addresses issues #8, #13, and #14:
- issue create now shows #N (sequential number) instead of the AT Protocol
TID rkey in human output, and includes `number` in --json output
- issue close, reopen, and delete now show the issue title in success output
- issue close, reopen, and delete now support --json with field filtering,
returning number, title, uri, state (close/reopen), and cid
- New resolveSequentialNumber() helper extracts number from displayId fast
path or falls back to listIssues lookup for rkey inputs
- 16 new tests added (281 total)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
authored by
markbennett.ca
tangled.org
85afb1f0
d432b773