cc-continuity 0.3.30__tar.gz → 0.3.31__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.30 → cc_continuity-0.3.31}/PKG-INFO +1 -1
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/README.md +2 -1
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/__init__.py +1 -1
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/cli.py +26 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/config.py +5 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity.egg-info/PKG-INFO +1 -1
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/pyproject.toml +1 -1
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_cli.py +78 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/LICENSE +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/__main__.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/atomic.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/blink.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/blink_watch.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/bootstrap.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/checkpoint.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/daemon_supervisor.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/doctor.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/gitsnap.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/__init__.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/common.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/pre_compact.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/pre_tool_use.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/session_end.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/session_start.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/stop.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/task.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/tool_use.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hooks/user_prompt.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/hosting.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/install.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/launch.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/ledger.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/lock.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/managed.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/naming.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/notify.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/paths.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/power_plug.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/progress_pane.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/project.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/redact.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/rotator.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/settings_merge.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/skills.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/state.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/statusline.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/thresholds.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/transcript.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/validate.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/watchdog.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/watchdog_digest.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity/watchdogd.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity.egg-info/SOURCES.txt +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity.egg-info/dependency_links.txt +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity.egg-info/entry_points.txt +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/cc_continuity.egg-info/top_level.txt +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/setup.cfg +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_atomic.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_blink.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_blink_watch.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_bootstrap.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_checkpoint.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_cli_ledger.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_config.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_daemon_supervisor.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_doctor.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_gitsnap.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_common.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_pre_compact.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_pre_tool_use.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_session_end.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_session_start.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_stop.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_task.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_tool_use.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hooks_user_prompt.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hosting.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_hygiene.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_install.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_integration_phase5.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_integration_phase6.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_integration_phase7.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_launch.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_ledger.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_lock.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_managed.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_naming.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_notify.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_notify_integration.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_paths.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_power_plug.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_progress_pane.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_project.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_redact.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_rotator.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_settings_merge.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_skills.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_state.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_status.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_statusline.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_thresholds.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_tmux_host.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_transcript.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_transcript_finalize.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_uninstall.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_validate.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_watchdog.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_watchdog_digest.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_watchdog_integration.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_watchdogd.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_wsl_doctor.py +0 -0
- {cc_continuity-0.3.30 → cc_continuity-0.3.31}/tests/test_wsl_install.py +0 -0
|
@@ -26,11 +26,12 @@ 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-12**: `cc-continuity configure --show` prints the effective config as the code sees it: one sorted `key value` line per setting, defaults filled in where the file omits them, the installer stamp block left out of the noise, and `--json` for scripts. No config file is no longer a dead end: the defaults-only view prints with a one-line note instead of failing, and the command never writes anything ([commit](https://github.com/pqant/claude-continuity/commit/2ae1243)).
|
|
29
30
|
- **2026-11-12**: A `cc-continuity signal needs-human` fired while the session idles now lights up the animated pane too: in progress mode 1 the animator owns the blink but only consulted the rendered status-line text, the reply flag and the pane capture, never `ledger.blocked_reason`, so the push reached the phone while the tab stayed dark. The animator's ~1 s blink poll now reads the ledger and paints the blocked chip with a reason-carrying gate key, mirroring the reply-flag pattern ([commit](https://github.com/pqant/claude-continuity/commit/055c824)).
|
|
30
31
|
- **2026-11-12**: The tab blink and the Dock bounce no longer die behind a backgrounded iTerm2: iTerm2 answers the frontmost-session query even while backgrounded, so the focus watcher kept believing the user was still on the tab and, worse, a selection prompt (AskUserQuestion) vanished from the pane region whenever the input box held a draft, so the wait never even armed. The frontmost-tty probe now checks which app is actually in the foreground first (any other app means "no reader present"), and a live selection footer anchors its own region regardless of the draft below it, so prompts gate again and the bounce survives until the wait is answered or read ([commit](https://github.com/pqant/claude-continuity/commit/97c5227)).
|
|
31
32
|
- **2026-11-12**: The Dock bounce can no longer be swallowed by macOS: a bounce written while the terminal app is frontmost (the system only bounces backgrounded apps) is re-fired the moment iTerm2 goes to the background: the poller and the animator watch the frontmost app on their ~1 s tick and re-write a still-armed bounce exactly once per foreground-to-background transition, never per tick ([commit](https://github.com/pqant/claude-continuity/commit/fe215b4)).
|
|
32
33
|
- **2026-11-12**: The Dock bounce now covers the reply-ready blink too: when a turn finishes and its tab is waiting to be read, the iTerm2 Dock icon bounces just like it does for needs-human waits, so a finished turn catches your eye while you work in another app. Set `"blink_reply_attention": false` in `~/.claude-continuity/config.json` to keep turn-ends tab-blink only ([commit](https://github.com/pqant/claude-continuity/commit/3dc9c0d)).
|
|
33
|
-
|
|
34
|
+
|
|
34
35
|
## How it works
|
|
35
36
|
|
|
36
37
|
The whole flow in one picture: the automatic session loop, the optional
|
|
@@ -171,6 +171,10 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
171
171
|
p_cfg.add_argument("--watchdog-enabled", default=None,
|
|
172
172
|
choices=["true", "false"],
|
|
173
173
|
help="enable/disable the watchdog daemon")
|
|
174
|
+
p_cfg.add_argument("--show", action="store_true",
|
|
175
|
+
help="print the effective config (read-only) and exit")
|
|
176
|
+
p_cfg.add_argument("--json", action="store_true",
|
|
177
|
+
help="with --show: one JSON object for scripts")
|
|
174
178
|
|
|
175
179
|
p_wd = sub.add_parser("watchdog",
|
|
176
180
|
help="LLM watchdog daemon (Phase 10)")
|
|
@@ -1182,6 +1186,28 @@ def cmd_configure(args: argparse.Namespace) -> int:
|
|
|
1182
1186
|
"""P9-D2: post-install config changes — no reinstall needed."""
|
|
1183
1187
|
from . import atomic, install, paths
|
|
1184
1188
|
cfg_path = paths.config_path()
|
|
1189
|
+
if args.show:
|
|
1190
|
+
if (args.ntfy is not None or args.unattended
|
|
1191
|
+
or args.watchdog_health is not None
|
|
1192
|
+
or args.watchdog_enabled is not None):
|
|
1193
|
+
print("cc-continuity configure: --show is read-only (cannot "
|
|
1194
|
+
"combine with change flags)", file=sys.stderr)
|
|
1195
|
+
return 1
|
|
1196
|
+
missing = not cfg_path.is_file()
|
|
1197
|
+
# The installer stamp block is noise when asking "what does this
|
|
1198
|
+
# session actually run on?" (issue #49); never written here.
|
|
1199
|
+
shown = {k: v for k, v in config.load_config().items()
|
|
1200
|
+
if k != "install"}
|
|
1201
|
+
if args.json:
|
|
1202
|
+
print(json.dumps(shown, sort_keys=True))
|
|
1203
|
+
else:
|
|
1204
|
+
for key in sorted(shown):
|
|
1205
|
+
val = shown[key]
|
|
1206
|
+
print(key, val if isinstance(val, str) else json.dumps(val))
|
|
1207
|
+
if missing:
|
|
1208
|
+
print("cc-continuity configure: no config file yet (showing "
|
|
1209
|
+
"the built-in defaults)", file=sys.stderr)
|
|
1210
|
+
return 0
|
|
1185
1211
|
cfg: dict = {}
|
|
1186
1212
|
if cfg_path.is_file():
|
|
1187
1213
|
try:
|
|
@@ -48,6 +48,11 @@ DEFAULTS: dict = {
|
|
|
48
48
|
"notify_enabled": False,
|
|
49
49
|
"unattended": False,
|
|
50
50
|
"statusline_ansi": True,
|
|
51
|
+
# Per-turn timestamp pane switch (issue #43). Listed here so
|
|
52
|
+
# `configure --show` (issue #49) always reports the effective value;
|
|
53
|
+
# turn_clock() has always treated a missing key as False, so this is
|
|
54
|
+
# value-identical for every existing code path.
|
|
55
|
+
"turn_clock": False,
|
|
51
56
|
# Progress display (Phase 12): 0 = statusline shimmer (default, today's
|
|
52
57
|
# look), 1 = separate tmux pane (true 50 ms), 2 = statusline
|
|
53
58
|
# "breathing". Missing/invalid values degrade to 0 via progress_mode().
|
|
@@ -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.31"
|
|
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)
|
|
@@ -686,6 +686,84 @@ def test_configure_without_flags_is_error(cc_home, capsys):
|
|
|
686
686
|
assert "nothing to change" in capsys.readouterr().err
|
|
687
687
|
|
|
688
688
|
|
|
689
|
+
def _show_lines(capsys):
|
|
690
|
+
"""Parse 'key value' lines of configure --show into a dict."""
|
|
691
|
+
return dict(line.split(" ", 1)
|
|
692
|
+
for line in capsys.readouterr().out.splitlines() if line)
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
def test_configure_show_defaults_only(cc_home, capsys):
|
|
696
|
+
# No config file at all: the view is the pure defaults.
|
|
697
|
+
assert cli.main(["configure", "--show"]) == 0
|
|
698
|
+
lines = _show_lines(capsys)
|
|
699
|
+
assert lines["warn_ratio"] == "0.55"
|
|
700
|
+
assert lines["rotate_ratio"] == "0.62"
|
|
701
|
+
assert lines["window_tokens"] == "262144"
|
|
702
|
+
assert lines["progress_type"] == "0"
|
|
703
|
+
assert lines["turn_clock"] == "false"
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
def test_configure_show_file_overlay(cc_home, capsys):
|
|
707
|
+
# File values win; keys the file omits still show their defaults;
|
|
708
|
+
# the installer stamp block never appears.
|
|
709
|
+
(cc_home / "config.json").write_text(json.dumps(
|
|
710
|
+
{"turn_clock": True, "progress_type": 1,
|
|
711
|
+
"install": {"version": "9.9.9", "installed_at": "x",
|
|
712
|
+
"settings_backup": "/tmp/y"}}),
|
|
713
|
+
encoding="utf-8")
|
|
714
|
+
assert cli.main(["configure", "--show"]) == 0
|
|
715
|
+
out = capsys.readouterr().out
|
|
716
|
+
lines = dict(line.split(" ", 1)
|
|
717
|
+
for line in out.splitlines() if line)
|
|
718
|
+
assert lines["turn_clock"] == "true"
|
|
719
|
+
assert lines["progress_type"] == "1"
|
|
720
|
+
assert lines["warn_ratio"] == "0.55" # default still filled in
|
|
721
|
+
assert "install" not in lines
|
|
722
|
+
assert "installed_at" not in out
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
def test_configure_show_json(cc_home, capsys):
|
|
726
|
+
(cc_home / "config.json").write_text(
|
|
727
|
+
json.dumps({"unattended": True, "install": {"version": "9.9.9"}}),
|
|
728
|
+
encoding="utf-8")
|
|
729
|
+
assert cli.main(["configure", "--show", "--json"]) == 0
|
|
730
|
+
data = json.loads(capsys.readouterr().out)
|
|
731
|
+
assert data["unattended"] is True
|
|
732
|
+
assert data["hard_ratio"] == 0.72 # defaulted in
|
|
733
|
+
assert "install" not in data
|
|
734
|
+
assert list(data) == sorted(data) # deterministic key order
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
def test_configure_show_missing_file_note(cc_home, capsys):
|
|
738
|
+
# Missing config file is not an error: defaults print, rc 0, and a
|
|
739
|
+
# one-line note goes to stderr (stdout stays pure data).
|
|
740
|
+
assert cli.main(["configure", "--show"]) == 0
|
|
741
|
+
cap = capsys.readouterr()
|
|
742
|
+
assert "warn_ratio 0.55" in cap.out
|
|
743
|
+
assert "no config file" in cap.err.lower()
|
|
744
|
+
assert not (cc_home / "config.json").exists()
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
def test_configure_show_never_writes(cc_home):
|
|
748
|
+
cfg_path = cc_home / "config.json"
|
|
749
|
+
cfg_path.write_text(json.dumps({"turn_clock": True}), encoding="utf-8")
|
|
750
|
+
before_bytes = cfg_path.read_bytes()
|
|
751
|
+
before_ns = cfg_path.stat().st_mtime_ns
|
|
752
|
+
assert cli.main(["configure", "--show"]) == 0
|
|
753
|
+
assert cfg_path.read_bytes() == before_bytes
|
|
754
|
+
assert cfg_path.stat().st_mtime_ns == before_ns
|
|
755
|
+
assert cli.main(["configure", "--show", "--json"]) == 0
|
|
756
|
+
assert cfg_path.read_bytes() == before_bytes
|
|
757
|
+
assert cfg_path.stat().st_mtime_ns == before_ns
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
def test_configure_show_conflict_with_change_flags(cc_home, capsys):
|
|
761
|
+
assert cli.main(["configure", "--show", "--ntfy",
|
|
762
|
+
"https://ntfy.sh/t"]) == 1
|
|
763
|
+
assert "--show" in capsys.readouterr().err
|
|
764
|
+
assert not (cc_home / "config.json").exists()
|
|
765
|
+
|
|
766
|
+
|
|
689
767
|
def test_signal_needs_human_pushes_and_records(cc_home, tmp_path, monkeypatch):
|
|
690
768
|
from cc_continuity import notify
|
|
691
769
|
repo = make_repo(tmp_path)
|
|
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
|