Add issue view, edit, close, reopen, delete commands
Implements the remaining issue management subcommands with full
lifecycle support:
- view: displays issue details including state (open/closed), author,
creation date, body; supports numeric (#1) and rkey identifiers
- edit: updates title and/or body via --title/-t, --body/-b, --body-file/-F
- close/reopen: toggle issue state; idempotent by design
- delete: permanently removes an issue; requires confirmation unless
--force is passed; cancel path uses process.exit(0) outside try/catch
to correctly propagate clean exit
Also:
- resolveIssueUri helper: on-demand numeric resolution by sorting issues
by createdAt (oldest = #1), no persistent cache needed
- list command updated to show numbered issues with state badges
- formatIssueState added to src/utils/formatting.ts
- All existing list tests updated for new output format; new test suites
added for all five commands covering auth, context, numeric/rkey
resolution, option validation, and confirmation flow
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>