Commit Graph

6 Commits

Author SHA1 Message Date
Mathias Beaulieu-Duncan
780ef9378f feat: custom native file picker showing hidden files/folders
Replaced file_picker's Load/Browse with a custom NativePickerRegistrar
Swift plugin that opens NSOpenPanel with showsHiddenFiles = true.
The file_picker package hardcodes this to false, making hidden folders
like ~/.claude invisible in its dialogs.

Changes:
- New NativePickerRegistrar.swift: custom NSOpenPanel with hidden files
- New NativePicker Dart service using method channel
- Browse: only shows folders (canChooseFiles=false), hidden visible
- Load: only shows .jsonl files, hidden folders visible
- Registered via AppDelegate.applicationDidFinishLaunching
- Removed file_picker dependency from home_screen imports
- Fixed all info-level lint issues (super params, null-aware, doc comment)
- Signed, notarized, stapled DMG
2026-04-07 14:32:06 -04:00
Mathias Beaulieu-Duncan
e658c6c9cf fix: add files.user-selected.read-only entitlement for file_picker
The file_picker plugin requires com.apple.security.files.user-selected.read-only
to be present in the app's entitlements. It checks this at runtime via
SecTaskCopyValueForEntitlement and throws ENTITLEMENT_NOT_FOUND without it.
This was lost during a previous entitlements cleanup.

Signed, notarized, stapled DMG
2026-04-07 14:14:18 -04:00
Mathias Beaulieu-Duncan
53ed5a6cd1 fix: disable sandbox for ~/.claude access, add path input field for hidden folders
- Remove App Sandbox from Release entitlements (developer tool needs
  filesystem access to ~/.claude/projects — same as VS Code, iTerm2)
- Explicitly set get-task-allow=false in entitlements for notarization
- Add path input field in header so users can type paths with hidden
  folders (e.g. ~/.claude/projects) — press Enter or click arrow to scan
- Field pre-populated with ~/.claude/projects on launch
- Signed, notarized, stapled DMG
2026-04-07 13:55:24 -04:00
Mathias Beaulieu-Duncan
659dade82d perf: Phase 1 critical performance fixes + production macOS build
Performance:
- Move JSON parsing to background isolate via Isolate.run() (eliminates 2-4s UI freeze)
- Cache filteredEntries with key-based invalidation (eliminates O(n) recomputation)
- Debounce search queries at 300ms (prevents cascade rebuilds on keystroke)
- Flatten timeline from 2-level turn×response Column to single virtualized ListView.builder
- Add RepaintBoundary per timeline item (isolates repaints during scroll)
- Use context.select for granular rebuilds instead of top-level context.watch
- Lazy ExpandableCard: child not built until first expand (replaces AnimatedCrossFade)
- Use IndexedStack in AppShell (preserves screen state across tab switches)

Fixes:
- Collect parse errors instead of silently swallowing them
- Show parse error count in timeline filter bar
- Fix overflow in tokens screen pie chart legend

Build:
- Configure Developer ID signing with hardened runtime for production distribution
- Enable secure timestamps for notarization
- Update app name to Claude Session Viewer
- Signed, notarized, stapled DMG distribution
2026-04-07 13:32:13 -04:00
Mathias Beaulieu-Duncan
aa484f6409 Rename to Claude Session Analysis and prepare for Mac App Store
- Rename package, bundle ID, and all display strings from
  "Claude Session Viewer" to "Claude Session Analysis"
- Bundle ID: com.svrnty.claudeSessionAnalysis
- Add App Store category (developer-tools) to Info.plist
- Add PrivacyInfo.xcprivacy privacy manifest (required by Apple)
- Bump deployment target from macOS 10.15 to 13.0
- Fix App Sandbox: resolve real home directory so ~/.claude/projects
  is accessible in sandboxed release builds
- Make project name parsing dynamic (no hardcoded username)
- Auto-detect Claude Code data directory at ~/.claude/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:57:20 -04:00
364877d376 Initial commit: Claude Code session viewer (Flutter macOS)
A desktop app that parses Claude Code .jsonl session logs and provides
a rich UI for exploring conversations, tool usage, subagents, and token
consumption. Features include project browser with auto-discovery of
~/.claude/projects, conversation timeline with inline subagent expansion,
agents overview, toolbelt chart, and token usage dashboard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 16:17:23 -04:00