Feature Request
Add --json flag to session list command for machine-readable output, consistent with session search --json.
Current Behavior
ainative-code session list --json
# Error: unknown flag: --json
Expected Behavior
ainative-code session list --json
# [{"id": "abc123", "title": "My Session", "status": "active", ...}]
Use Cases
- Scripting and automation
- Piping to
jq for filtering
- Integration with other tools
- Consistent with
session search --json
Suggested Implementation
Add --json or -j flag that outputs JSON array of sessions.
Environment
- Version: v0.1.8
- Platform: darwin/arm64