cc-continuity 0.3.26__tar.gz → 0.3.27__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.
Files changed (112) hide show
  1. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/PKG-INFO +1 -1
  2. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/README.md +3 -2
  3. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/__init__.py +1 -1
  4. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/blink.py +12 -8
  5. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/config.py +13 -0
  6. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity.egg-info/PKG-INFO +1 -1
  7. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/pyproject.toml +1 -1
  8. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_blink.py +17 -7
  9. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/LICENSE +0 -0
  10. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/__main__.py +0 -0
  11. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/atomic.py +0 -0
  12. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/blink_watch.py +0 -0
  13. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/bootstrap.py +0 -0
  14. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/checkpoint.py +0 -0
  15. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/cli.py +0 -0
  16. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/daemon_supervisor.py +0 -0
  17. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/doctor.py +0 -0
  18. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/gitsnap.py +0 -0
  19. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/__init__.py +0 -0
  20. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/common.py +0 -0
  21. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/pre_compact.py +0 -0
  22. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/pre_tool_use.py +0 -0
  23. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/session_end.py +0 -0
  24. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/session_start.py +0 -0
  25. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/stop.py +0 -0
  26. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/task.py +0 -0
  27. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/tool_use.py +0 -0
  28. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hooks/user_prompt.py +0 -0
  29. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/hosting.py +0 -0
  30. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/install.py +0 -0
  31. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/launch.py +0 -0
  32. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/ledger.py +0 -0
  33. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/lock.py +0 -0
  34. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/managed.py +0 -0
  35. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/naming.py +0 -0
  36. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/notify.py +0 -0
  37. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/paths.py +0 -0
  38. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/power_plug.py +0 -0
  39. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/progress_pane.py +0 -0
  40. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/project.py +0 -0
  41. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/redact.py +0 -0
  42. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/rotator.py +0 -0
  43. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/settings_merge.py +0 -0
  44. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/skills.py +0 -0
  45. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/state.py +0 -0
  46. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/statusline.py +0 -0
  47. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/thresholds.py +0 -0
  48. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/transcript.py +0 -0
  49. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/validate.py +0 -0
  50. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/watchdog.py +0 -0
  51. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/watchdog_digest.py +0 -0
  52. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity/watchdogd.py +0 -0
  53. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity.egg-info/SOURCES.txt +0 -0
  54. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity.egg-info/dependency_links.txt +0 -0
  55. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity.egg-info/entry_points.txt +0 -0
  56. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/cc_continuity.egg-info/top_level.txt +0 -0
  57. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/setup.cfg +0 -0
  58. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_atomic.py +0 -0
  59. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_blink_watch.py +0 -0
  60. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_bootstrap.py +0 -0
  61. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_checkpoint.py +0 -0
  62. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_cli.py +0 -0
  63. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_cli_ledger.py +0 -0
  64. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_config.py +0 -0
  65. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_daemon_supervisor.py +0 -0
  66. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_doctor.py +0 -0
  67. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_gitsnap.py +0 -0
  68. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_common.py +0 -0
  69. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_pre_compact.py +0 -0
  70. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_pre_tool_use.py +0 -0
  71. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_session_end.py +0 -0
  72. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_session_start.py +0 -0
  73. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_stop.py +0 -0
  74. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_task.py +0 -0
  75. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_tool_use.py +0 -0
  76. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hooks_user_prompt.py +0 -0
  77. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hosting.py +0 -0
  78. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_hygiene.py +0 -0
  79. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_install.py +0 -0
  80. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_integration_phase5.py +0 -0
  81. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_integration_phase6.py +0 -0
  82. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_integration_phase7.py +0 -0
  83. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_launch.py +0 -0
  84. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_ledger.py +0 -0
  85. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_lock.py +0 -0
  86. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_managed.py +0 -0
  87. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_naming.py +0 -0
  88. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_notify.py +0 -0
  89. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_notify_integration.py +0 -0
  90. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_paths.py +0 -0
  91. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_power_plug.py +0 -0
  92. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_progress_pane.py +0 -0
  93. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_project.py +0 -0
  94. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_redact.py +0 -0
  95. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_rotator.py +0 -0
  96. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_settings_merge.py +0 -0
  97. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_skills.py +0 -0
  98. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_state.py +0 -0
  99. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_status.py +0 -0
  100. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_statusline.py +0 -0
  101. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_thresholds.py +0 -0
  102. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_tmux_host.py +0 -0
  103. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_transcript.py +0 -0
  104. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_transcript_finalize.py +0 -0
  105. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_uninstall.py +0 -0
  106. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_validate.py +0 -0
  107. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_watchdog.py +0 -0
  108. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_watchdog_digest.py +0 -0
  109. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_watchdog_integration.py +0 -0
  110. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_watchdogd.py +0 -0
  111. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_wsl_doctor.py +0 -0
  112. {cc_continuity-0.3.26 → cc_continuity-0.3.27}/tests/test_wsl_install.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cc-continuity
3
- Version: 0.3.26
3
+ Version: 0.3.27
4
4
  Summary: Zero-touch session rotation for Claude Code (local large-context model)
5
5
  Requires-Python: >=3.11
6
6
  License-File: LICENSE
@@ -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**: Needs-human and blocked waits now bounce the iTerm2 Dock icon too, not just the tab: an unconsumed `needs_human` reason (a `signal needs-human` or a watchdog stall), a permission or selection prompt, or the blocked marker arm `RequestAttention=yes` on the client ttys, and the bounce is cancelled with `no` once the wait is answered or the tab has been read (focus dwell); a crashed poller's stranded bounce is healed by the startup sweep. The reply-ready blink deliberately stays tab-only ([commit](https://github.com/pqant/claude-continuity/commit/89d55c2)).
29
+ - **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)).
30
+ - **2026-11-12**: Needs-human and blocked waits now bounce the iTerm2 Dock icon too, not just the tab: an unconsumed `needs_human` reason (a `signal needs-human` or a watchdog stall), a permission or selection prompt, or the blocked marker arm `RequestAttention=yes` on the client ttys, and the bounce is cancelled with `no` once the wait is answered or the tab has been read (focus dwell); a crashed poller's stranded bounce is healed by the startup sweep ([commit](https://github.com/pqant/claude-continuity/commit/89d55c2)).
30
31
  - **2026-11-12**: Dead image chips no longer sit next to the live one: one paste is written as two records, and when the image cache is pruned before the export the record carrying only the `[Image: source: <path>]` line embedded nothing yet still opened its own non-clickable chip. Such an empty chip-only record now folds into the gallery of the block right in front of it; with no adjacent gallery it survives as a plain chip so the trace of the unrecoverable paste remains ([commit](https://github.com/pqant/claude-continuity/commit/fc86a4f)).
31
32
  - **2026-11-12**: Auto-rotation no longer stalls after a verified handoff: the rotator counted its own gate ledger entry (written a few milliseconds after the Stop timestamp) as session activity, so the rotation deferred and waited for a "next Stop" that never comes once the handoff ended the turn. Gate entries are now excluded exactly like state bookkeeping, and the pane rotates instead of sitting idle ([commit](https://github.com/pqant/claude-continuity/commit/e799446)).
32
33
  - **2026-11-12**: The `🖼 image` chip gained a second source: records that keep only the `[Image: source: <path>]` line (no base64 block) now have their file read from disk at export time and embedded, so those chips open in the lightbox too. The read is best-effort (whitelisted extensions, per-image cap), and missing, pruned or oversized files keep the plain chip ([commit](https://github.com/pqant/claude-continuity/commit/26d0144)).
33
- - **2026-11-11**: The `🖼 image` chip became a window: clicking it opens the real pasted image in a lightbox modal right on the transcript page (prev/next + `i / n` counter, Escape or backdrop click closes). Images are embedded as data URIs, so the export stays a single self-contained HTML file; a folded run of chips shares one merged gallery, and over-cap or non-whitelisted images keep the plain chip ([commit](https://github.com/pqant/claude-continuity/commit/369f9a4)).## How it works
34
+ ## How it works
34
35
 
35
36
  The whole flow in one picture: the automatic session loop, the optional
36
37
  watchdog, and the opt-in notifications:
@@ -4,4 +4,4 @@ Spec: docs/PRD.md (v1.0). Platform facts verified in docs/VERIFICATION.md.
4
4
  Standard library only at runtime; pytest is dev-only.
5
5
  """
6
6
 
7
- __version__ = "0.3.26"
7
+ __version__ = "0.3.27"
@@ -298,6 +298,7 @@ class Blinker:
298
298
  self._log = log if log is not None else _debug_line
299
299
  self.enabled = config.blink_enabled(cfg)
300
300
  self._interval = config.blink_interval(cfg)
301
+ self._reply_attention = config.blink_reply_attention(cfg)
301
302
  self._fill = osc6_fill(
302
303
  RED_FILL if config.blink_no_color(cfg) else BLACK_FILL)
303
304
  self._blinking = False
@@ -370,11 +371,11 @@ class Blinker:
370
371
  def _attention(self, waiting: bool) -> None:
371
372
  """Dock bounce for the CURRENT tick (issue #59).
372
373
 
373
- Edge-triggered: bytes only cross when the state flips. Only
374
- needs-human/blocked/selection sources arm it; a reply-only wait
375
- must never bounce the Dock (user ruling 2026-11-12). Cancelling
376
- is harmless when iTerm2 already stopped on its own (the user
377
- clicked the Dock icon): a second "no" is a no-op.
374
+ Edge-triggered: bytes only cross when the state flips.
375
+ Needs-human/blocked/selection sources always arm it; a reply-only
376
+ wait arms too while blink_reply_attention is on (issue #60).
377
+ Cancelling is harmless when iTerm2 already stopped on its own
378
+ (the user clicked the Dock icon): a second "no" is a no-op.
378
379
  """
379
380
  if waiting == self._attention_armed:
380
381
  return
@@ -443,11 +444,14 @@ class Blinker:
443
444
  if pane_ask:
444
445
  count += 1
445
446
  gated = count > 0
446
- # Dock bounce sources (issue #59): the blocked and ask
447
- # families; a reply-only wait stays tab-blink only.
447
+ # Dock bounce sources (issues #59, #60): the blocked and ask
448
+ # families always arm; the reply marker arms too unless
449
+ # blink_reply_attention is off.
448
450
  waiting = bool(pane_ask
449
451
  or (text or "").count(MARKER_BLOCKED)
450
- or (text or "").count(MARKER_ASK))
452
+ or (text or "").count(MARKER_ASK)
453
+ or (self._reply_attention
454
+ and (text or "").count(MARKER_REPLY)))
451
455
  if gated and not self._blinking:
452
456
  self._start(now, waiting)
453
457
  return
@@ -257,6 +257,19 @@ def blink_reply(cfg: dict) -> bool:
257
257
  return v if isinstance(v, bool) else True
258
258
 
259
259
 
260
+ def blink_reply_attention(cfg: dict) -> bool:
261
+ """Whether the reply-ready blink also bounces the iTerm2 Dock (issue #60).
262
+
263
+ ``blink_reply_attention``: explicit false keeps the turn-end blink
264
+ tab-only; needs-human and blocked waits keep bouncing the Dock either
265
+ way. A missing key or any non-bool value degrades to True (user
266
+ ruling 2026-11-12: try it on by default, flip the key if it feels
267
+ noisy).
268
+ """
269
+ v = cfg.get("blink_reply_attention", True)
270
+ return v if isinstance(v, bool) else True
271
+
272
+
260
273
  def blink_reply_settle(cfg: dict) -> float:
261
274
  """Seconds a finished turn stays quiet before the reply blink arms.
262
275
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cc-continuity
3
- Version: 0.3.26
3
+ Version: 0.3.27
4
4
  Summary: Zero-touch session rotation for Claude Code (local large-context model)
5
5
  Requires-Python: >=3.11
6
6
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cc-continuity"
7
- version = "0.3.26"
7
+ version = "0.3.27"
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)
@@ -317,9 +317,9 @@ def test_blinker_never_raises_on_broken_plumbing():
317
317
 
318
318
 
319
319
  # ------------------------------------------------- iTerm2 Dock attention
320
- # (issue #59): while a needs-human/BLOCKED wait is on screen the Dock icon
321
- # bounces via OSC 1337 RequestAttention; reply-only waits must stay silent
322
- # (user ruling 2026-11-12).
320
+ # (issues #59, #60): while a wait is on screen the Dock icon bounces via
321
+ # OSC 1337 RequestAttention; reply-ready waits bounce too unless the user
322
+ # opts out with blink_reply_attention=false (user ruling 2026-11-12).
323
323
 
324
324
 
325
325
  def test_attention_yes_on_blocked_start_and_no_on_restore():
@@ -335,15 +335,24 @@ def test_attention_yes_on_blocked_start_and_no_on_restore():
335
335
 
336
336
 
337
337
  def test_attention_never_fires_for_reply_only_wait():
338
- # A finished turn waiting for the next prompt is NOT a blocked wait.
338
+ # With blink_reply_attention false a finished turn waiting for the
339
+ # next prompt stays tab-blink only, never a Dock bounce (issue #60).
339
340
  r, tty = ScriptRunner(["orig", "/dev/ttys001"]), FakeTTY()
340
- b = _blinker(r, tty)
341
+ b = _blinker(r, tty, cfg={"blink_reply_attention": False})
341
342
  b.on_text(REPLY_TEXT, 0.0)
342
343
  b.on_text(REPLY_TEXT, 0.5)
343
344
  b.on_exit()
344
345
  assert b"RequestAttention" not in tty.bytes_for("/dev/ttys001")
345
346
 
346
347
 
348
+ def test_attention_arms_for_reply_wait_by_default():
349
+ # Reply-ready bounces the Dock out of the box (issue #60).
350
+ r, tty = ScriptRunner(["orig", "/dev/ttys001"]), FakeTTY()
351
+ b = _blinker(r, tty)
352
+ b.on_text(REPLY_TEXT, 0.0)
353
+ assert tty.bytes_for("/dev/ttys001") == blink.OSC1337_ATTENTION_ON
354
+
355
+
347
356
  def test_attention_yes_on_ask_marker():
348
357
  r, tty = ScriptRunner(["orig", "/dev/ttys001"]), FakeTTY()
349
358
  b = _blinker(r, tty)
@@ -360,8 +369,9 @@ def test_attention_yes_on_selection_pane():
360
369
 
361
370
  def test_attention_arms_once_mid_blink_and_disarms_when_source_clears():
362
371
  r, tty = ScriptRunner(["orig", "/dev/ttys001"]), FakeTTY()
363
- b = _blinker(r, tty, cfg={"blink_interval": 0.5})
364
- b.on_text(REPLY_TEXT, 0.0) # reply only: stays silent
372
+ b = _blinker(r, tty,
373
+ cfg={"blink_interval": 0.5, "blink_reply_attention": False})
374
+ b.on_text(REPLY_TEXT, 0.0) # reply opted out: silent
365
375
  b.on_text(REPLY_TEXT + " ⛔ BLOCKED", 0.1) # blocked joins: arm once
366
376
  b.on_text(REPLY_TEXT + " ⛔ BLOCKED", 0.2) # no re-write per tick
367
377
  assert tty.bytes_for("/dev/ttys001") == blink.OSC1337_ATTENTION_ON
File without changes
File without changes