methodproof 0.4.0__tar.gz → 0.4.1__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.0 → methodproof-0.4.1}/PKG-INFO +1 -1
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/__init__.py +1 -1
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/cli.py +28 -1
- {methodproof-0.4.0 → methodproof-0.4.1}/pyproject.toml +1 -1
- {methodproof-0.4.0 → methodproof-0.4.1}/.github/workflows/ci.yml +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/.gitignore +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/CHANGELOG.md +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/LICENSE +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/README.md +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/__main__.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/agents/__init__.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/agents/base.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/agents/music.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/agents/terminal.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/agents/watcher.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/analysis.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/bridge.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/config.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/crypto.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/graph.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hook.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/__init__.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/claude_code.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/claude_code.sh +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/cline_hook.sh +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/codex_hook.sh +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/gemini_hook.sh +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/install.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/kiro_hook.sh +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/mcp_register.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/openclaw/HOOK.md +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/openclaw/handler.ts +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/openclaw_install.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/opencode_plugin.js +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/hooks/wrappers.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/integrity.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/live.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/mcp.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/proxy.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/proxy_daemon.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/repos.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/skills/methodproof/SKILL.md +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/store.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/sync.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/methodproof/viewer.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/test_windows_compat.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/__init__.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_analysis.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_graph.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_hooks.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_live.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_openclaw_hooks.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_store.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/tests/test_wrappers.py +0 -0
- {methodproof-0.4.0 → methodproof-0.4.1}/uv.lock +0 -0
|
@@ -453,6 +453,7 @@ def _print_commands() -> None:
|
|
|
453
453
|
print(f" {_W}ACCOUNT{R}")
|
|
454
454
|
print(f" {_M}mp login{R} Connect to platform (opens browser)")
|
|
455
455
|
print(f" {_M}mp consent{R} Change capture, research, and redaction settings")
|
|
456
|
+
print(f" {_M}mp reset{R} Clear login and consent (keeps sessions)")
|
|
456
457
|
print(f" {_M}mp delete{R} {_D}<id>{R} Delete a session and all its data")
|
|
457
458
|
print(f" {_M}mp update{R} Update to the latest version")
|
|
458
459
|
print(f" {_M}mp uninstall{R} Remove all hooks, data, and config")
|
|
@@ -484,6 +485,7 @@ def _print_commands_plain() -> None:
|
|
|
484
485
|
print(" ACCOUNT")
|
|
485
486
|
print(" mp login Connect to platform (opens browser)")
|
|
486
487
|
print(" mp consent Change capture, research, and redaction settings")
|
|
488
|
+
print(" mp reset Clear login and consent (keeps sessions)")
|
|
487
489
|
print(" mp delete <id> Delete a session and all its data")
|
|
488
490
|
print(" mp update Update to the latest version")
|
|
489
491
|
print(" mp uninstall Remove all hooks, data, and config")
|
|
@@ -569,6 +571,29 @@ def cmd_uninstall(args: argparse.Namespace) -> None:
|
|
|
569
571
|
print(" Restart your shell to clear hooks.\n")
|
|
570
572
|
|
|
571
573
|
|
|
574
|
+
def cmd_reset(args: argparse.Namespace) -> None:
|
|
575
|
+
"""Wipe login credentials and consent config. Sessions and hooks kept."""
|
|
576
|
+
cfg = config.load()
|
|
577
|
+
if not args.force:
|
|
578
|
+
answer = input(" Clear login and consent settings? Sessions and hooks are kept. [y/N]: ").strip().lower()
|
|
579
|
+
if answer not in ("y", "yes"):
|
|
580
|
+
print(" Cancelled.")
|
|
581
|
+
return
|
|
582
|
+
for key in ("token", "refresh_token", "email", "e2e_key"):
|
|
583
|
+
cfg[key] = config._DEFAULTS[key]
|
|
584
|
+
for key in ("capture", "research_consent", "publish_redact", "consent_acknowledged",
|
|
585
|
+
"journal_mode", "journal_credits"):
|
|
586
|
+
cfg[key] = config._DEFAULTS.get(key)
|
|
587
|
+
config.save(cfg)
|
|
588
|
+
cleared = ["login token", "refresh token", "email", "e2e key",
|
|
589
|
+
"capture consent", "research consent", "redaction defaults",
|
|
590
|
+
"journal mode"]
|
|
591
|
+
print(" Cleared:")
|
|
592
|
+
for c in cleared:
|
|
593
|
+
print(f" {c}")
|
|
594
|
+
print("\n Run `mp init` to reconfigure, or `mp login` to reconnect.\n")
|
|
595
|
+
|
|
596
|
+
|
|
572
597
|
def cmd_consent(args: argparse.Namespace) -> None:
|
|
573
598
|
"""Review or change capture, research, and redaction settings."""
|
|
574
599
|
cfg = config.load()
|
|
@@ -1347,6 +1372,8 @@ def main() -> None:
|
|
|
1347
1372
|
rv.add_argument("session_id", nargs="?")
|
|
1348
1373
|
sub.add_parser("consent", help="Change capture, research, and redaction settings")
|
|
1349
1374
|
sub.add_parser("update", help="Update to the latest version from PyPI")
|
|
1375
|
+
rs = sub.add_parser("reset", help="Clear login and consent settings (keeps sessions and hooks)")
|
|
1376
|
+
rs.add_argument("--force", "-f", action="store_true", help="Skip confirmation")
|
|
1350
1377
|
un = sub.add_parser("uninstall", help="Remove all hooks, data, and config")
|
|
1351
1378
|
un.add_argument("--force", "-f", action="store_true", help="Skip confirmation")
|
|
1352
1379
|
ext = sub.add_parser("extension", help="Browser extension pairing and status")
|
|
@@ -1375,7 +1402,7 @@ def main() -> None:
|
|
|
1375
1402
|
"view": cmd_view, "log": cmd_log, "login": cmd_login,
|
|
1376
1403
|
"push": cmd_push, "tag": cmd_tag, "publish": cmd_publish,
|
|
1377
1404
|
"delete": cmd_delete, "review": cmd_review, "consent": cmd_consent,
|
|
1378
|
-
"update": cmd_update, "uninstall": cmd_uninstall,
|
|
1405
|
+
"update": cmd_update, "reset": cmd_reset, "uninstall": cmd_uninstall,
|
|
1379
1406
|
"extension": cmd_extension,
|
|
1380
1407
|
"journal": cmd_journal,
|
|
1381
1408
|
"intro": lambda _: _print_intro(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|