methodproof 0.7.22__tar.gz → 0.7.24__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.22 → methodproof-0.7.24}/CHANGELOG.md +10 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/PKG-INFO +1 -1
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/cli.py +21 -3
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/store.py +21 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/start.py +2 -1
- {methodproof-0.7.22 → methodproof-0.7.24}/pyproject.toml +1 -1
- {methodproof-0.7.22 → methodproof-0.7.24}/.github/workflows/ci.yml +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/.gitignore +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/LICENSE +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/README.md +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/__init__.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/__main__.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/_daemon.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/agents/__init__.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/agents/base.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/agents/music.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/agents/terminal.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/agents/watcher.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/analysis.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/binding.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/bip39.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/bridge.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/config.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/crypto.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/e2e.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/graph.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hook.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/__init__.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/claude_code.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/claude_code.sh +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/cline_hook.sh +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/codex_hook.sh +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/gemini_hook.sh +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/install.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/kiro_hook.sh +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/mcp_register.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/openclaw/HOOK.md +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/openclaw/handler.ts +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/openclaw_install.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/opencode_plugin.js +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/hooks/wrappers.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/integrity.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/kdf.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/keychain.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/live.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/lock.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/mcp.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/migrate_db.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/proxy.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/proxy_daemon.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/repos.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/skills/methodproof/SKILL.md +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/sync.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/__init__.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/consent.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/init.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/log.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/login_success.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/review.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/status.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/tui/theme.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/viewer.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/methodproof/wordlist.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/test_windows_compat.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/__init__.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/conftest.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_analysis.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_auth.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_config.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_helpers.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_session.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_share.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_start.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_cli_update.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_e2e_integration.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_graph.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_hooks.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_live.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_openclaw_hooks.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_profiles.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_security.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_store.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_sync.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_viewer.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/tests/test_wrappers.py +0 -0
- {methodproof-0.7.22 → methodproof-0.7.24}/uv.lock +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.24] — 2026-04-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **TUI event feed was always empty** — `_poll_events` called `store.get_session_events` which did not exist; `except Exception: return` silently swallowed the `AttributeError`. Added `get_session_events(session_id, after_id="")` to store — uses SQLite `rowid` for monotonic pagination so the TUI feed populates in real time. Also surfaced poll errors to the Textual log instead of swallowing them.
|
|
7
|
+
|
|
8
|
+
## [0.7.23] — 2026-04-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **`mp` alias works immediately after `init`** — `_install_alias` now creates a real symlink (`mp → methodproof`) in the same bin directory instead of writing an rc alias. No shell restart or eval needed. Falls back to rc alias if symlinking fails (e.g. read-only bin dir).
|
|
12
|
+
|
|
3
13
|
## [0.7.22] — 2026-04-11
|
|
4
14
|
|
|
5
15
|
### Added
|
|
@@ -131,7 +131,21 @@ _ALIAS_MARKER = "# methodproof-alias"
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
def _install_alias() -> None:
|
|
134
|
-
"""
|
|
134
|
+
"""Install `mp` as an executable symlink next to `methodproof` in PATH.
|
|
135
|
+
Falls back to writing an alias in the shell rc if symlinking fails."""
|
|
136
|
+
import shutil
|
|
137
|
+
mp_exe = shutil.which("mp")
|
|
138
|
+
methodproof_exe = shutil.which("methodproof")
|
|
139
|
+
if mp_exe:
|
|
140
|
+
return # already exists
|
|
141
|
+
if methodproof_exe and sys.platform != "win32":
|
|
142
|
+
mp_path = Path(methodproof_exe).parent / "mp"
|
|
143
|
+
try:
|
|
144
|
+
mp_path.symlink_to(methodproof_exe)
|
|
145
|
+
return
|
|
146
|
+
except OSError:
|
|
147
|
+
pass # fall through to rc alias
|
|
148
|
+
# Fallback: write alias to shell rc (requires shell restart / eval)
|
|
135
149
|
rc, _ = hook.get_shell_rc()
|
|
136
150
|
if rc.exists() and _ALIAS_MARKER in rc.read_text():
|
|
137
151
|
return
|
|
@@ -484,8 +498,12 @@ def cmd_init(args: argparse.Namespace) -> None:
|
|
|
484
498
|
print("Signing key: exists")
|
|
485
499
|
|
|
486
500
|
_print_intro()
|
|
487
|
-
|
|
488
|
-
|
|
501
|
+
import shutil
|
|
502
|
+
if shutil.which("mp"):
|
|
503
|
+
print(" Run `mp start` to begin recording.\n")
|
|
504
|
+
else:
|
|
505
|
+
print(" Restart your shell or run this to activate `mp`:\n")
|
|
506
|
+
print(" eval \"$(methodproof shell-hook)\"\n")
|
|
489
507
|
|
|
490
508
|
|
|
491
509
|
def cmd_shell_hook(_args: argparse.Namespace) -> None:
|
|
@@ -247,6 +247,27 @@ def get_events(session_id: str) -> list[dict[str, Any]]:
|
|
|
247
247
|
return result
|
|
248
248
|
|
|
249
249
|
|
|
250
|
+
def get_session_events(session_id: str, after_id: str = "") -> list[dict[str, Any]]:
|
|
251
|
+
"""Return events for session, optionally after a given event ID (for TUI polling)."""
|
|
252
|
+
db = _db()
|
|
253
|
+
if after_id:
|
|
254
|
+
row = db.execute("SELECT rowid FROM events WHERE id = ?", (after_id,)).fetchone()
|
|
255
|
+
after_rowid = row[0] if row else 0
|
|
256
|
+
else:
|
|
257
|
+
after_rowid = 0
|
|
258
|
+
rows = db.execute(
|
|
259
|
+
"SELECT rowid, * FROM events WHERE session_id = ? AND rowid > ? ORDER BY rowid",
|
|
260
|
+
(session_id, after_rowid),
|
|
261
|
+
).fetchall()
|
|
262
|
+
result = []
|
|
263
|
+
for r in rows:
|
|
264
|
+
d = dict(r)
|
|
265
|
+
d["ts"] = d.pop("timestamp", 0)
|
|
266
|
+
d["metadata"] = _decompress_meta(d["metadata"])
|
|
267
|
+
result.append(d)
|
|
268
|
+
return result
|
|
269
|
+
|
|
270
|
+
|
|
250
271
|
def get_graph(session_id: str) -> dict[str, Any]:
|
|
251
272
|
"""Build GraphResponse-compatible dict from SQLite."""
|
|
252
273
|
events = get_events(session_id)
|
|
@@ -128,7 +128,8 @@ class StartApp(App[None]):
|
|
|
128
128
|
return
|
|
129
129
|
try:
|
|
130
130
|
events = store.get_session_events(self._session_id, after_id=self._last_seen_id)
|
|
131
|
-
except Exception:
|
|
131
|
+
except Exception as exc:
|
|
132
|
+
self.log.warning(f"poll_events failed: {exc}")
|
|
132
133
|
return
|
|
133
134
|
|
|
134
135
|
feed = self.query_one(RichLog)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "methodproof"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.24"
|
|
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
|