methodproof 0.7.25__tar.gz → 0.7.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.
- {methodproof-0.7.25 → methodproof-0.7.26}/CHANGELOG.md +5 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/PKG-INFO +1 -1
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/config.py +4 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/claude_code.py +21 -3
- {methodproof-0.7.25 → methodproof-0.7.26}/pyproject.toml +1 -1
- {methodproof-0.7.25 → methodproof-0.7.26}/.github/workflows/ci.yml +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/.gitignore +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/LICENSE +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/README.md +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/__init__.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/__main__.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/_daemon.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/agents/__init__.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/agents/base.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/agents/music.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/agents/terminal.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/agents/watcher.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/analysis.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/binding.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/bip39.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/bridge.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/cli.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/crypto.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/e2e.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/graph.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hook.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/__init__.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/claude_code.sh +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/cline_hook.sh +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/codex_hook.sh +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/gemini_hook.sh +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/install.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/kiro_hook.sh +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/mcp_register.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/openclaw/HOOK.md +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/openclaw/handler.ts +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/openclaw_install.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/opencode_plugin.js +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/hooks/wrappers.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/integrity.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/kdf.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/keychain.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/live.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/lock.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/mcp.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/migrate_db.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/proxy.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/proxy_daemon.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/repos.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/skills/methodproof/SKILL.md +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/store.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/sync.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/__init__.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/consent.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/init.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/log.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/login_success.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/review.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/start.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/status.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/tui/theme.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/viewer.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/methodproof/wordlist.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/test_windows_compat.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/__init__.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/conftest.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_analysis.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_auth.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_config.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_helpers.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_session.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_share.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_start.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_cli_update.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_e2e_integration.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_graph.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_hooks.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_live.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_openclaw_hooks.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_profiles.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_security.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_store.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_sync.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_viewer.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/tests/test_wrappers.py +0 -0
- {methodproof-0.7.25 → methodproof-0.7.26}/uv.lock +0 -0
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.26] — 2026-04-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Journal mode missing tool and prompt content** — `tool_call`, `tool_result`, and `user_prompt` hook events never captured content even with journal mode on; the extractors never included it. `tool_call` now captures `tool_input_preview` (command/path/query smartly extracted), `tool_result` captures `result_preview` (500 char cap), `user_prompt` captures `prompt_text`. All three fields are added to `JOURNAL_CONTENT_FIELDS` so they're stripped when journal is off.
|
|
7
|
+
|
|
3
8
|
## [0.7.25] — 2026-04-12
|
|
4
9
|
|
|
5
10
|
### Fixed
|
|
@@ -114,6 +114,10 @@ JOURNAL_CONTENT_FIELDS: list[tuple[str, str]] = [
|
|
|
114
114
|
("browser_ai_chat", "url"),
|
|
115
115
|
# Tasks — subject reveals intent
|
|
116
116
|
("task_created", "subject"),
|
|
117
|
+
# Claude Code hooks — tool input/output and raw user prompt
|
|
118
|
+
("user_prompt", "prompt_text"),
|
|
119
|
+
("tool_call", "tool_input_preview"),
|
|
120
|
+
("tool_result", "result_preview"),
|
|
117
121
|
]
|
|
118
122
|
|
|
119
123
|
|
|
@@ -58,13 +58,31 @@ _TYPE_MAP = {
|
|
|
58
58
|
|
|
59
59
|
_TOOL = "claude_code"
|
|
60
60
|
|
|
61
|
+
def _tool_input_preview(d: dict) -> str:
|
|
62
|
+
"""Compact one-line summary of tool input for journal mode."""
|
|
63
|
+
inp = d.get("tool_input") or {}
|
|
64
|
+
# Flatten the most useful field per tool rather than dumping the whole dict
|
|
65
|
+
for key in ("command", "file_path", "path", "query", "url", "description"):
|
|
66
|
+
if key in inp:
|
|
67
|
+
return str(inp[key])[:300]
|
|
68
|
+
return json.dumps(inp)[:300] if inp else ""
|
|
69
|
+
|
|
70
|
+
|
|
61
71
|
_META_EXTRACTORS = {
|
|
62
72
|
"UserPromptSubmit": lambda d: {
|
|
63
|
-
"tool": _TOOL,
|
|
73
|
+
"tool": _TOOL,
|
|
74
|
+
"prompt_text": d.get("prompt") or "",
|
|
75
|
+
"prompt_preview": _build_prompt_meta(d.get("prompt") or "").get("prompt_summary", ""),
|
|
64
76
|
"prompt_length": len(d.get("prompt") or ""),
|
|
65
77
|
},
|
|
66
|
-
"PreToolUse": lambda d: {
|
|
67
|
-
|
|
78
|
+
"PreToolUse": lambda d: {
|
|
79
|
+
"tool": _TOOL, "tool_name": d.get("tool_name", "unknown"),
|
|
80
|
+
"tool_input_preview": _tool_input_preview(d),
|
|
81
|
+
},
|
|
82
|
+
"PostToolUse": lambda d: {
|
|
83
|
+
"tool": _TOOL, "tool_name": d.get("tool_name", "unknown"), "success": True,
|
|
84
|
+
"result_preview": str(d.get("tool_response") or "")[:500],
|
|
85
|
+
},
|
|
68
86
|
"PostToolUseFailure": lambda d: {
|
|
69
87
|
"tool": _TOOL, "tool_name": d.get("tool_name", "unknown"),
|
|
70
88
|
"success": False, "is_interrupt": d.get("is_interrupt", False),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "methodproof"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.26"
|
|
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
|