methodproof 0.7.26__tar.gz → 0.7.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.
- {methodproof-0.7.26 → methodproof-0.7.27}/CHANGELOG.md +5 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/PKG-INFO +1 -1
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/claude_code.py +23 -1
- {methodproof-0.7.26 → methodproof-0.7.27}/pyproject.toml +1 -1
- {methodproof-0.7.26 → methodproof-0.7.27}/.github/workflows/ci.yml +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/.gitignore +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/LICENSE +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/README.md +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/__init__.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/__main__.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/_daemon.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/agents/__init__.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/agents/base.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/agents/music.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/agents/terminal.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/agents/watcher.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/analysis.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/binding.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/bip39.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/bridge.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/cli.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/config.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/crypto.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/e2e.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/graph.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hook.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/__init__.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/claude_code.sh +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/cline_hook.sh +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/codex_hook.sh +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/gemini_hook.sh +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/install.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/kiro_hook.sh +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/mcp_register.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/openclaw/HOOK.md +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/openclaw/handler.ts +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/openclaw_install.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/opencode_plugin.js +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/hooks/wrappers.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/integrity.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/kdf.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/keychain.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/live.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/lock.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/mcp.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/migrate_db.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/proxy.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/proxy_daemon.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/repos.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/skills/methodproof/SKILL.md +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/store.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/sync.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/__init__.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/consent.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/init.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/log.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/login_success.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/review.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/start.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/status.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/tui/theme.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/viewer.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/methodproof/wordlist.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/test_windows_compat.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/__init__.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/conftest.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_analysis.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_auth.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_config.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_helpers.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_session.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_share.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_start.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_cli_update.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_e2e_integration.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_graph.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_hooks.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_live.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_openclaw_hooks.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_profiles.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_security.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_store.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_sync.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_viewer.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/tests/test_wrappers.py +0 -0
- {methodproof-0.7.26 → methodproof-0.7.27}/uv.lock +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.27] — 2026-04-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **`result_preview` was Python repr for structured tool responses** — `str([{"type": "text", "text": "..."}])` produced unreadable output for Read/Grep/Glob tools. `_extract_result_text` now handles all three shapes Claude Code sends: plain string (Bash/Write/Edit), content block list (Read/Grep/Glob), and dict.
|
|
7
|
+
|
|
3
8
|
## [0.7.26] — 2026-04-12
|
|
4
9
|
|
|
5
10
|
### Fixed
|
|
@@ -16,6 +16,28 @@ except ImportError:
|
|
|
16
16
|
analyze_prompt = lambda _: {}
|
|
17
17
|
compose_summary = lambda _: ""
|
|
18
18
|
|
|
19
|
+
def _extract_result_text(response) -> str:
|
|
20
|
+
"""Extract plain text from tool_response regardless of shape.
|
|
21
|
+
|
|
22
|
+
Claude Code sends:
|
|
23
|
+
- str — Bash, Write, Edit, simple tools
|
|
24
|
+
- list — Read, Grep, Glob: [{"type": "text", "text": "..."}]
|
|
25
|
+
- dict — rare structured responses
|
|
26
|
+
"""
|
|
27
|
+
if isinstance(response, str):
|
|
28
|
+
return response[:500]
|
|
29
|
+
if isinstance(response, list):
|
|
30
|
+
parts = [
|
|
31
|
+
block.get("text", "") if isinstance(block, dict) else str(block)
|
|
32
|
+
for block in response
|
|
33
|
+
if not isinstance(block, dict) or block.get("type") == "text"
|
|
34
|
+
]
|
|
35
|
+
return "\n".join(parts)[:500]
|
|
36
|
+
if isinstance(response, dict):
|
|
37
|
+
return response.get("text") or response.get("content") or json.dumps(response)[:500]
|
|
38
|
+
return str(response)[:500]
|
|
39
|
+
|
|
40
|
+
|
|
19
41
|
def _build_prompt_meta(text: str) -> dict:
|
|
20
42
|
sa = analyze_prompt(text)
|
|
21
43
|
sa["prompt_length"] = len(text)
|
|
@@ -81,7 +103,7 @@ _META_EXTRACTORS = {
|
|
|
81
103
|
},
|
|
82
104
|
"PostToolUse": lambda d: {
|
|
83
105
|
"tool": _TOOL, "tool_name": d.get("tool_name", "unknown"), "success": True,
|
|
84
|
-
"result_preview":
|
|
106
|
+
"result_preview": _extract_result_text(d.get("tool_response")),
|
|
85
107
|
},
|
|
86
108
|
"PostToolUseFailure": lambda d: {
|
|
87
109
|
"tool": _TOOL, "tool_name": d.get("tool_name", "unknown"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "methodproof"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.27"
|
|
4
4
|
description = "See how you code. Capture and visualize your engineering process."
|
|
5
5
|
requires-python = ">=3.11"
|
|
6
6
|
dependencies = ["watchdog>=4.0", "websocket-client>=1.7", "cryptography>=43.0", "keyring>=25.0", "textual>=0.59", "rich>=13.7"]
|
|
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
|