cc-continuity 0.3.41__tar.gz → 0.3.42__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.
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/PKG-INFO +1 -1
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/README.md +1 -1
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/__init__.py +1 -1
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity.egg-info/PKG-INFO +1 -1
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity.egg-info/SOURCES.txt +1 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/pyproject.toml +1 -1
- cc_continuity-0.3.42/tests/test_changelog_notes.py +90 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/LICENSE +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/__main__.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/atomic.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/blink.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/blink_watch.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/bootstrap.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/checkpoint.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/cli.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/config.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/daemon_supervisor.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/doctor.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/gitsnap.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/__init__.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/common.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/pre_compact.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/pre_tool_use.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/session_end.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/session_start.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/stop.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/task.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/tool_use.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hooks/user_prompt.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/hosting.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/install.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/launch.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/ledger.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/lock.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/managed.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/naming.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/notify.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/paths.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/power_plug.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/progress_pane.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/project.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/redact.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/rotator.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/settings_merge.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/skills.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/state.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/statusline.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/thresholds.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/transcript.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/validate.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/watchdog.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/watchdog_digest.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity/watchdogd.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity.egg-info/dependency_links.txt +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity.egg-info/entry_points.txt +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/cc_continuity.egg-info/top_level.txt +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/setup.cfg +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_atomic.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_blink.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_blink_watch.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_bootstrap.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_checkpoint.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_cli.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_cli_ledger.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_config.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_daemon_supervisor.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_doctor.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_gitsnap.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_common.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_pre_compact.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_pre_tool_use.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_session_end.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_session_start.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_stop.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_task.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_tool_use.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hooks_user_prompt.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hosting.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_hygiene.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_install.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_integration_phase5.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_integration_phase6.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_integration_phase7.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_launch.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_ledger.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_lock.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_managed.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_naming.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_notify.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_notify_integration.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_paths.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_power_plug.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_progress_pane.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_project.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_redact.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_rotator.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_settings_merge.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_skills.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_state.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_status.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_statusline.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_thresholds.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_tmux_host.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_transcript.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_transcript_finalize.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_uninstall.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_validate.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_watchdog.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_watchdog_digest.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_watchdog_integration.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_watchdogd.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_wsl_doctor.py +0 -0
- {cc_continuity-0.3.41 → cc_continuity-0.3.42}/tests/test_wsl_install.py +0 -0
|
@@ -26,11 +26,11 @@ The five most recent updates, newest first. Each line links to its
|
|
|
26
26
|
commit, so you can see what changed lately without digging through the
|
|
27
27
|
log:
|
|
28
28
|
|
|
29
|
+
- **2026-11-15**: Tags now open their own release. A tag push used to publish to PyPI but the GitHub Release was still opened by hand; the release workflow now extracts the matching section from the changelog with a stdlib-only `tools/changelog_notes.py` helper (a missing or empty section stops the run before any upload, so notes can never ship blank) and creates the release itself, refreshing the notes on re-runs. A public release is now one push ([commit](https://github.com/pqant/claude-continuity/commit/0e31994)).
|
|
29
30
|
- **2026-11-17**: Zombie panes are measured now too. After the 0.3.40 revival, Claude Code still rendered the status line with the abandoned startup session id, so the ratio metric kept landing on the dead id: the pane showed a ratio while the tracked session never moved (measurement without reaction). The hook entry now stamps a pane-scoped binding with the session id it actually runs as, and the status line writes its metric under it whenever that binding is fresh and names a different live session. Non-tmux runs and normal panes behave byte-for-byte exactly as before ([commit](https://github.com/pqant/claude-continuity/commit/361b7b1)).
|
|
30
31
|
- **2026-11-16**: Zombie sessions are gone. Claude Code remembers the last conversation it opened per project (lastSessionId); a plain `claude` could reopen a conversation that died in a rotation and then run forever unmonitored (no ratio movement, no rotation, and the handoff chain silently broken). Now a resumed conversation whose session id is no longer alive is anchored onto the open chain tip under the same index, handed the bootstrap protocol, and taken over by the normal monitoring; live resumes behave exactly as before ([commit](https://github.com/pqant/claude-continuity/commit/dbaea33)).
|
|
31
32
|
- **2026-11-16**: The transcript fold arrows are anchored: both triangles now share one slot at the true screen center of the header (the previous version centered against the controls row, which spans only the left half of the header grid, so the arrow sat off-center over the theme button), they carry a red tint (a deeper red in light theme, a lighter red in dark theme), and folding keeps the reopen arrow in the very same spot so the button never jumps ([commit](https://github.com/pqant/claude-continuity/commit/1ca6ad5), [commit](https://github.com/pqant/claude-continuity/commit/e33874d)).
|
|
32
33
|
- **2026-11-16**: The transcript density view got its polish pass: the two panel toggles are plain filled triangles now (the up-triangle folds the header panel into the slim bar, the down-triangle brings it back, and the words live in the tooltips), the fold eases closed over 180 ms instead of snapping, and the folded bar only spans the left column when the 2-column mode is on, with the fold arrow sitting centered in the controls row in the theme's accent color. The "2-column · 75%" mode opens enabled by default now; unchecking it is still remembered in your browser ([commit](https://github.com/pqant/claude-continuity/commit/3959db9), [commit](https://github.com/pqant/claude-continuity/commit/7feba54)).
|
|
33
|
-
- **2026-11-15**: The transcript header panel gets out of the way: "panel up" folds it into a slim one-line bar carrying the session name, "panel down" brings the full panel back, and a new "2-column · 75%" checkbox in the controls row re-flows the whole conversation into two balanced columns at reduced zoom, so a screen holds roughly twice the conversation. Both choices persist in your browser; search, theme, sessions switcher and the image lightbox behave exactly the same in every state ([commit](https://github.com/pqant/claude-continuity/commit/594820d), [commit](https://github.com/pqant/claude-continuity/commit/2450369)).
|
|
34
34
|
|
|
35
35
|
## How it works
|
|
36
36
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cc-continuity"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.42"
|
|
8
8
|
description = "Zero-touch session rotation for Claude Code (local large-context model)"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
10
|
dependencies = [] # stdlib only at runtime (PRD §0.5)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"""Unit tests for tools/changelog_notes.py (issue #33 release-notes extractor)."""
|
|
2
|
+
|
|
3
|
+
import subprocess
|
|
4
|
+
import sys
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
8
|
+
sys.path.insert(0, str(ROOT / "tools"))
|
|
9
|
+
import changelog_notes as cn # noqa: E402
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
SAMPLE = """\
|
|
13
|
+
# Changelog
|
|
14
|
+
|
|
15
|
+
All notable changes to cc-continuity are documented here.
|
|
16
|
+
|
|
17
|
+
## [Unreleased]
|
|
18
|
+
|
|
19
|
+
## [0.3.42] - 2026-11-15
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- The GitHub Release is created automatically from this section (issue #33).
|
|
24
|
+
|
|
25
|
+
## [0.3.41] - 2026-11-17
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Zombie pane metric lands on the pane-bound session id.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
NOTES_42 = (
|
|
33
|
+
"### Added\n\n"
|
|
34
|
+
"- The GitHub Release is created automatically from this section "
|
|
35
|
+
"(issue #33)."
|
|
36
|
+
)
|
|
37
|
+
NOTES_41 = (
|
|
38
|
+
"### Fixed\n\n"
|
|
39
|
+
"- Zombie pane metric lands on the pane-bound session id."
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def test_extract_returns_only_the_version_section():
|
|
44
|
+
assert cn.extract_notes(SAMPLE, "0.3.42") == NOTES_42
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def test_extract_stops_at_the_next_section_heading():
|
|
48
|
+
assert "Zombie pane metric" not in cn.extract_notes(SAMPLE, "0.3.42")
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def test_extract_requires_the_exact_version_not_a_prefix():
|
|
52
|
+
assert cn.extract_notes(SAMPLE, "0.3.4") is None
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def test_extract_accepts_a_leading_v():
|
|
56
|
+
assert cn.extract_notes(SAMPLE, "v0.3.41") == NOTES_41
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def test_extract_trims_blank_edges():
|
|
60
|
+
notes = cn.extract_notes(SAMPLE, "0.3.42")
|
|
61
|
+
assert notes == notes.strip()
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def test_extract_treats_an_empty_section_as_missing():
|
|
65
|
+
# An [Unreleased] placeholder (or a section whose body was never
|
|
66
|
+
# filled in) must not produce a blank release: None, so the CLI
|
|
67
|
+
# fails and the workflow stops instead of publishing empty notes.
|
|
68
|
+
assert cn.extract_notes(SAMPLE, "Unreleased") is None
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def test_cli_writes_the_notes_to_stdout(tmp_path):
|
|
72
|
+
changelog = tmp_path / "CHANGELOG.md"
|
|
73
|
+
changelog.write_text(SAMPLE, encoding="utf-8")
|
|
74
|
+
proc = subprocess.run(
|
|
75
|
+
[sys.executable, str(ROOT / "tools" / "changelog_notes.py"),
|
|
76
|
+
"0.3.42", str(changelog)],
|
|
77
|
+
capture_output=True, text=True)
|
|
78
|
+
assert proc.returncode == 0
|
|
79
|
+
assert proc.stdout == NOTES_42 + "\n"
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def test_cli_missing_version_exits_1(tmp_path):
|
|
83
|
+
changelog = tmp_path / "CHANGELOG.md"
|
|
84
|
+
changelog.write_text(SAMPLE, encoding="utf-8")
|
|
85
|
+
proc = subprocess.run(
|
|
86
|
+
[sys.executable, str(ROOT / "tools" / "changelog_notes.py"),
|
|
87
|
+
"9.9.9", str(changelog)],
|
|
88
|
+
capture_output=True, text=True)
|
|
89
|
+
assert proc.returncode == 1
|
|
90
|
+
assert proc.stdout == ""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|