claude-history 0.6.0__tar.gz → 0.6.1__tar.gz
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.
- {claude_history-0.6.0/src/claude_history.egg-info → claude_history-0.6.1}/PKG-INFO +2 -2
- {claude_history-0.6.0 → claude_history-0.6.1}/pyproject.toml +2 -2
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history/cli.py +5 -9
- {claude_history-0.6.0 → claude_history-0.6.1/src/claude_history.egg-info}/PKG-INFO +2 -2
- {claude_history-0.6.0 → claude_history-0.6.1}/LICENSE +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/README.md +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/setup.cfg +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history/__init__.py +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history/parser.py +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history/skill/SKILL.md +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history.egg-info/SOURCES.txt +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history.egg-info/dependency_links.txt +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history.egg-info/entry_points.txt +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history.egg-info/requires.txt +0 -0
- {claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: claude-history
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: CLI tool to explore and inspect past Claude Code conversations
|
|
5
|
-
Requires-Python: >=3.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
8
|
Requires-Dist: click>=8.3.1
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "claude-history"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.1"
|
|
4
4
|
description = "CLI tool to explore and inspect past Claude Code conversations"
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
7
|
dependencies = [
|
|
8
8
|
"click>=8.3.1",
|
|
9
9
|
"orjson>=3.10.0",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"""CLI for exploring Claude Code conversation history."""
|
|
2
2
|
|
|
3
|
-
import importlib.resources
|
|
4
3
|
import os
|
|
5
4
|
import re
|
|
6
5
|
import shutil
|
|
@@ -513,19 +512,20 @@ def export(session_id: str, output_format: str):
|
|
|
513
512
|
if output_format == "json":
|
|
514
513
|
import json
|
|
515
514
|
|
|
515
|
+
messages: list[dict] = []
|
|
516
516
|
output = {
|
|
517
517
|
"session_id": conv.session_id,
|
|
518
518
|
"title": conv.title,
|
|
519
519
|
"cwd": conv.cwd,
|
|
520
520
|
"git_branch": conv.git_branch,
|
|
521
521
|
"start_time": conv.start_time.isoformat() if conv.start_time else None,
|
|
522
|
-
"messages":
|
|
522
|
+
"messages": messages,
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
for msg in conv.messages:
|
|
526
526
|
if msg.is_meta:
|
|
527
527
|
continue
|
|
528
|
-
|
|
528
|
+
messages.append(
|
|
529
529
|
{
|
|
530
530
|
"role": msg.role,
|
|
531
531
|
"text": msg.text,
|
|
@@ -767,13 +767,9 @@ def install_skill(dest: str | None, force: bool):
|
|
|
767
767
|
return
|
|
768
768
|
|
|
769
769
|
# Get the bundled skill directory
|
|
770
|
-
|
|
771
|
-
skill_source = importlib.resources.files("claude_history") / "skill"
|
|
772
|
-
except (TypeError, AttributeError):
|
|
773
|
-
# Fallback for older Python
|
|
774
|
-
import claude_history
|
|
770
|
+
import claude_history
|
|
775
771
|
|
|
776
|
-
|
|
772
|
+
skill_source = Path(claude_history.__file__).parent / "skill"
|
|
777
773
|
|
|
778
774
|
if not skill_source.is_dir():
|
|
779
775
|
echo(f"Error: Bundled skill not found at {skill_source}")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: claude-history
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: CLI tool to explore and inspect past Claude Code conversations
|
|
5
|
-
Requires-Python: >=3.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
8
|
Requires-Dist: click>=8.3.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{claude_history-0.6.0 → claude_history-0.6.1}/src/claude_history.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|