methodproof 0.4.3__tar.gz → 0.4.5__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.
- {methodproof-0.4.3 → methodproof-0.4.5}/PKG-INFO +1 -1
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/__init__.py +1 -1
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/cli.py +2 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/install.py +20 -8
- {methodproof-0.4.3 → methodproof-0.4.5}/pyproject.toml +1 -1
- {methodproof-0.4.3 → methodproof-0.4.5}/.github/workflows/ci.yml +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/.gitignore +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/CHANGELOG.md +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/LICENSE +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/README.md +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/__main__.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/agents/__init__.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/agents/base.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/agents/music.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/agents/terminal.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/agents/watcher.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/analysis.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/bridge.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/config.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/crypto.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/graph.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hook.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/__init__.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/claude_code.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/claude_code.sh +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/cline_hook.sh +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/codex_hook.sh +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/gemini_hook.sh +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/kiro_hook.sh +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/mcp_register.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/openclaw/HOOK.md +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/openclaw/handler.ts +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/openclaw_install.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/opencode_plugin.js +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/hooks/wrappers.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/integrity.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/live.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/mcp.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/proxy.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/proxy_daemon.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/repos.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/skills/methodproof/SKILL.md +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/store.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/sync.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/methodproof/viewer.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/test_windows_compat.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/__init__.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_analysis.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_graph.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_hooks.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_live.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_openclaw_hooks.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_store.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/tests/test_wrappers.py +0 -0
- {methodproof-0.4.3 → methodproof-0.4.5}/uv.lock +0 -0
|
@@ -91,15 +91,27 @@ def install() -> str | None:
|
|
|
91
91
|
hooks[event] = [{"matcher": "", "hooks": [entry]}]
|
|
92
92
|
changed = True
|
|
93
93
|
else:
|
|
94
|
-
#
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
94
|
+
# Remove any stale methodproof hooks (different install path)
|
|
95
|
+
cleaned = []
|
|
96
|
+
has_current = False
|
|
97
|
+
for group in hooks[event]:
|
|
98
|
+
group_hooks = []
|
|
99
|
+
for h in group.get("hooks", []):
|
|
100
|
+
cmd = h.get("command", "")
|
|
101
|
+
if "methodproof" in cmd:
|
|
102
|
+
if cmd == script:
|
|
103
|
+
has_current = True
|
|
104
|
+
group_hooks.append(h)
|
|
105
|
+
else:
|
|
106
|
+
changed = True # dropping stale entry
|
|
107
|
+
else:
|
|
108
|
+
group_hooks.append(h)
|
|
109
|
+
if group_hooks:
|
|
110
|
+
cleaned.append({**group, "hooks": group_hooks})
|
|
111
|
+
if not has_current:
|
|
112
|
+
cleaned.append({"matcher": "", "hooks": [entry]})
|
|
102
113
|
changed = True
|
|
114
|
+
hooks[event] = cleaned
|
|
103
115
|
|
|
104
116
|
if changed:
|
|
105
117
|
settings["hooks"] = hooks
|
|
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
|