conduct-cli 0.4.25__tar.gz → 0.4.26__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.25
3
+ Version: 0.4.26
4
4
  Summary: CLI for Conduct AI — install agents, manage projects, run tests
5
5
  Author-email: Conduct AI <hello@conductai.ai>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "conduct-cli"
7
- version = "0.4.25"
7
+ version = "0.4.26"
8
8
  description = "CLI for Conduct AI — install agents, manage projects, run tests"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -680,6 +680,18 @@ def _install_claude_hook(hook_path: Path) -> None:
680
680
  if cleaned:
681
681
  changed = True
682
682
 
683
+ # Stop — auto-sync RTK + Booster savings at end of every session
684
+ stop = hooks.setdefault("Stop", [])
685
+ stop_cmd = "conduct guard sync"
686
+ stop_already = any(
687
+ stop_cmd in e.get("command", "")
688
+ for h in stop
689
+ for e in h.get("hooks", [])
690
+ )
691
+ if not stop_already:
692
+ stop.append({"hooks": [{"type": "command", "command": stop_cmd}]})
693
+ changed = True
694
+
683
695
  if changed:
684
696
  claude_settings.parent.mkdir(parents=True, exist_ok=True)
685
697
  claude_settings.write_text(json.dumps(settings, indent=2))
@@ -687,6 +699,8 @@ def _install_claude_hook(hook_path: Path) -> None:
687
699
  print(f" {GREEN}Claude Code PreToolUse hook registered{RESET}")
688
700
  if not post_already or cleaned:
689
701
  print(f" {GREEN}Claude Code PostToolUse hook registered{RESET}")
702
+ if not stop_already:
703
+ print(f" {GREEN}Claude Code Stop hook registered (auto-sync savings){RESET}")
690
704
  else:
691
705
  print(f" {GRAY}Claude Code hooks already registered{RESET}")
692
706
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conduct-cli
3
- Version: 0.4.25
3
+ Version: 0.4.26
4
4
  Summary: CLI for Conduct AI — install agents, manage projects, run tests
5
5
  Author-email: Conduct AI <hello@conductai.ai>
6
6
  License: MIT
File without changes
File without changes
File without changes