Skip to content

Commit 48b492a

Browse files
committed
Audit sweep: bump to 0.2.0, expand test description, polish next-steps
After the rescue feature shipped, ran a full audit pass to align everything: - pyproject.toml: bump version 0.1.0 -> 0.2.0 (major surface change since initial release: Cowork support, subagents, handoff, rescue). Description updated from 'Export Claude Code session history to Markdown' to 'Backup Claude Code & Cowork sessions to Markdown; portable handoff to any other AI agent' so PyPI / 'pip show' / pip search hits reflect what the tool now does. - claude_backup/__init__.py: __version__ -> 0.2.0; module docstring updated to mention the dual scope. - README.md / README.ru.md: the 'Test coverage 91% (106/106) covers ...' enumeration was missing handoff and rescue. Added both, with a one-line description of what each test file specifically guards (Cyrillic/ASCII language detection for handoff, single-source fallback and default-output behaviour for rescue). - QUICKSTART.md: 'Next steps' section was a stale 4-bullet list from the pre-handoff/rescue era. Added two bullets pointing readers at handoff (next time you want to switch agents) and rescue (bookmark for the day Anthropic suspends an account). No code changes; docs and metadata only. 106/106 tests still pass.
1 parent f559f0c commit 48b492a

5 files changed

Lines changed: 11 additions & 6 deletions

File tree

QUICKSTART.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ crontab -e
305305

306306
- Add a calendar reminder to run `claude-backup export-all` once a month — instant rolling backup.
307307
- Open the generated Markdown files in Obsidian, VS Code, or Logseq for full-text search across all your past sessions.
308+
- Try `claude-backup handoff <id>` next time you want to continue a conversation in a different AI agent (Claude.ai, ChatGPT, Cursor, etc.) — it produces a paste-ready prompt.
309+
- Bookmark `claude-backup rescue` for the day Anthropic suspends an account (yours or someone you're helping) — one command produces a portable bundle for any other AI agent.
308310
- Read the full [README.md](./README.md) for behaviour details, development setup, and output format.
309311
- Open an [Issue](https://github.com/parallelclaw/claude-backup/issues) if something breaks.
310312

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ pytest -v --cov=claude_backup
342342

343343
CI runs on Python 3.9, 3.10, 3.11, and 3.12 — see [.github/workflows/test.yml](.github/workflows/test.yml).
344344

345-
**Test coverage: 91%** (106/106 tests passing) — covers the real Claude Code format, the legacy spec format, the Cowork nested hierarchy, subagent discovery and rendering, edge cases (empty/corrupt JSONL, unicode, missing roots), `--mode` selection (both / minimal / full), the FS-aware project-path decoder, and CLI integration across both sources.
345+
**Test coverage: 91%** (106/106 tests passing) — covers the real Claude Code format, the legacy spec format, the Cowork nested hierarchy, subagent discovery and rendering, edge cases (empty/corrupt JSONL, unicode, missing roots), `--mode` selection (both / minimal / full), the FS-aware project-path decoder, the `handoff` paste-prompt generator (with Cyrillic/ASCII language detection), the `rescue` bundle (README/INDEX/HANDOFF_PROMPT generation, single-source fallback, default-output behaviour), and CLI integration across both sources.
346346

347347
### Project layout
348348

README.ru.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ pytest -v --cov=claude_backup
339339

340340
CI запускается на Python 3.9, 3.10, 3.11 и 3.12 — см. [.github/workflows/test.yml](.github/workflows/test.yml).
341341

342-
**Покрытие тестами: 91%** (106/106 тестов проходят) — реальный формат Claude Code, legacy-формат из спеки, вложенная иерархия Cowork, обнаружение и рендеринг subagent'ов, edge-кейсы (пустой/битый JSONL, unicode, отсутствующие root'ы), выбор `--mode` (both / minimal / full), FS-aware декодинг путей, и интеграционные тесты CLI по обоим источникам.
342+
**Покрытие тестами: 91%** (106/106 тестов проходят) — реальный формат Claude Code, legacy-формат из спеки, вложенная иерархия Cowork, обнаружение и рендеринг subagent'ов, edge-кейсы (пустой/битый JSONL, unicode, отсутствующие root'ы), выбор `--mode` (both / minimal / full), FS-aware декодинг путей, генератор `handoff` paste-промптов (с авто-детектом кириллицы/ASCII), `rescue` пакет (генерация README/INDEX/HANDOFF_PROMPT, fallback на один источник, поведение default-output), и интеграционные тесты CLI по обоим источникам.
343343

344344
### Структура проекта
345345

claude_backup/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
"""claude-backup: Export Claude Code session history to Markdown."""
1+
"""claude-backup: Backup Claude Code & Cowork sessions to Markdown.
22
3-
__version__ = "0.1.0"
3+
Includes portable handoff to any other AI agent.
4+
"""
5+
6+
__version__ = "0.2.0"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "claude-backup"
7-
version = "0.1.0"
8-
description = "Export Claude Code session history to Markdown"
7+
version = "0.2.0"
8+
description = "Backup Claude Code & Cowork sessions to Markdown; portable handoff to any other AI agent"
99
readme = "README.md"
1010
requires-python = ">=3.9"
1111
license = {text = "MIT"}

0 commit comments

Comments
 (0)