claude-self-reflect 2.5.13 → 2.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,11 +168,13 @@ async def update_indexing_status():
168
168
  if imported_files_path and imported_files_path.exists():
169
169
  with open(imported_files_path, 'r') as f:
170
170
  imported_data = json.load(f)
171
- # The file has nested structure: {stream_position: {file: position}, imported_files: {file: lines}}
172
- # Handle new nested structure
173
- stream_position = imported_data.get("stream_position", {})
174
- imported_files_list = stream_position.get("imported_files", [])
175
- file_metadata = stream_position.get("file_metadata", {})
171
+ # The actual structure has imported_files and file_metadata at the top level
172
+ # NOT nested under stream_position as previously assumed
173
+ imported_files_dict = imported_data.get("imported_files", {})
174
+ file_metadata = imported_data.get("file_metadata", {})
175
+
176
+ # Convert dict keys to list for compatibility with existing logic
177
+ imported_files_list = list(imported_files_dict.keys())
176
178
 
177
179
  # Count files that have been imported
178
180
  for file_path in jsonl_files:
@@ -714,18 +716,15 @@ async def reflect_on_past(
714
716
  # Add upfront summary for immediate visibility (before collapsible XML)
715
717
  upfront_summary = ""
716
718
 
717
- # Show indexing status prominently
718
- if indexing_status["percentage"] < 95.0:
719
- upfront_summary += f"📊 INDEXING: {indexing_status['indexed_conversations']}/{indexing_status['total_conversations']} conversations ({indexing_status['percentage']:.1f}% complete, {indexing_status['backlog_count']} pending)\n"
720
-
721
719
  # Show result summary
722
720
  if all_results:
723
721
  score_info = "high" if all_results[0].score >= 0.85 else "good" if all_results[0].score >= 0.75 else "partial"
724
722
  upfront_summary += f"🎯 RESULTS: {len(all_results)} matches ({score_info} relevance, top score: {all_results[0].score:.3f})\n"
725
723
 
726
- # Show performance
724
+ # Show performance with indexing status inline
727
725
  total_time = time.time() - start_time
728
- upfront_summary += f" PERFORMANCE: {int(total_time * 1000)}ms total ({len(collections_to_search)} collections searched)\n"
726
+ indexing_info = f" | 📊 {indexing_status['indexed_conversations']}/{indexing_status['total_conversations']} indexed" if indexing_status["percentage"] < 100.0 else ""
727
+ upfront_summary += f"⚡ PERFORMANCE: {int(total_time * 1000)}ms ({len(collections_to_search)} collections searched{indexing_info})\n"
729
728
  else:
730
729
  upfront_summary += f"❌ NO RESULTS: No conversations found matching '{query}'\n"
731
730
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-self-reflect",
3
- "version": "2.5.13",
3
+ "version": "2.5.14",
4
4
  "description": "Give Claude perfect memory of all your conversations - Installation wizard for Python MCP server",
5
5
  "keywords": [
6
6
  "claude",