methodproof 0.7.9__tar.gz → 0.7.11__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.
Files changed (77) hide show
  1. {methodproof-0.7.9 → methodproof-0.7.11}/PKG-INFO +1 -1
  2. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/cli.py +17 -2
  3. {methodproof-0.7.9 → methodproof-0.7.11}/pyproject.toml +1 -1
  4. {methodproof-0.7.9 → methodproof-0.7.11}/uv.lock +1 -1
  5. {methodproof-0.7.9 → methodproof-0.7.11}/.github/workflows/ci.yml +0 -0
  6. {methodproof-0.7.9 → methodproof-0.7.11}/.gitignore +0 -0
  7. {methodproof-0.7.9 → methodproof-0.7.11}/CHANGELOG.md +0 -0
  8. {methodproof-0.7.9 → methodproof-0.7.11}/LICENSE +0 -0
  9. {methodproof-0.7.9 → methodproof-0.7.11}/README.md +0 -0
  10. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/__init__.py +0 -0
  11. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/__main__.py +0 -0
  12. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/_daemon.py +0 -0
  13. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/agents/__init__.py +0 -0
  14. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/agents/base.py +0 -0
  15. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/agents/music.py +0 -0
  16. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/agents/terminal.py +0 -0
  17. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/agents/watcher.py +0 -0
  18. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/analysis.py +0 -0
  19. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/binding.py +0 -0
  20. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/bip39.py +0 -0
  21. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/bridge.py +0 -0
  22. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/config.py +0 -0
  23. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/crypto.py +0 -0
  24. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/e2e.py +0 -0
  25. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/graph.py +0 -0
  26. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hook.py +0 -0
  27. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/__init__.py +0 -0
  28. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/claude_code.py +0 -0
  29. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/claude_code.sh +0 -0
  30. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/cline_hook.sh +0 -0
  31. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/codex_hook.sh +0 -0
  32. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/gemini_hook.sh +0 -0
  33. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/install.py +0 -0
  34. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/kiro_hook.sh +0 -0
  35. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/mcp_register.py +0 -0
  36. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/openclaw/HOOK.md +0 -0
  37. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/openclaw/handler.ts +0 -0
  38. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/openclaw_install.py +0 -0
  39. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/opencode_plugin.js +0 -0
  40. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/hooks/wrappers.py +0 -0
  41. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/integrity.py +0 -0
  42. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/kdf.py +0 -0
  43. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/keychain.py +0 -0
  44. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/live.py +0 -0
  45. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/lock.py +0 -0
  46. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/mcp.py +0 -0
  47. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/migrate_db.py +0 -0
  48. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/proxy.py +0 -0
  49. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/proxy_daemon.py +0 -0
  50. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/repos.py +0 -0
  51. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/skills/methodproof/SKILL.md +0 -0
  52. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/store.py +0 -0
  53. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/sync.py +0 -0
  54. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/viewer.py +0 -0
  55. {methodproof-0.7.9 → methodproof-0.7.11}/methodproof/wordlist.py +0 -0
  56. {methodproof-0.7.9 → methodproof-0.7.11}/test_windows_compat.py +0 -0
  57. {methodproof-0.7.9 → methodproof-0.7.11}/tests/__init__.py +0 -0
  58. {methodproof-0.7.9 → methodproof-0.7.11}/tests/conftest.py +0 -0
  59. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_analysis.py +0 -0
  60. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_auth.py +0 -0
  61. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_config.py +0 -0
  62. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_helpers.py +0 -0
  63. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_session.py +0 -0
  64. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_share.py +0 -0
  65. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_start.py +0 -0
  66. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_cli_update.py +0 -0
  67. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_e2e_integration.py +0 -0
  68. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_graph.py +0 -0
  69. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_hooks.py +0 -0
  70. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_live.py +0 -0
  71. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_openclaw_hooks.py +0 -0
  72. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_profiles.py +0 -0
  73. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_security.py +0 -0
  74. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_store.py +0 -0
  75. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_sync.py +0 -0
  76. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_viewer.py +0 -0
  77. {methodproof-0.7.9 → methodproof-0.7.11}/tests/test_wrappers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: methodproof
3
- Version: 0.7.9
3
+ Version: 0.7.11
4
4
  Summary: See how you code. Capture and visualize your engineering process.
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -334,6 +334,11 @@ def _run_consent_detailed(cfg: dict) -> dict:
334
334
  def cmd_init(args: argparse.Namespace) -> None:
335
335
  config.ensure_dirs()
336
336
  cfg = config.load()
337
+ if getattr(args, "force", False):
338
+ for key in ("consent_acknowledged", "auto_update_offered", "alias_offered", "local_ai_ports_offered"):
339
+ cfg.pop(key, None)
340
+ config.save(cfg)
341
+
337
342
  if not cfg.get("consent_acknowledged"):
338
343
  cfg = _run_consent(cfg)
339
344
  config.save(cfg)
@@ -443,7 +448,14 @@ def cmd_init(args: argparse.Namespace) -> None:
443
448
  print("Signing key: exists")
444
449
 
445
450
  _print_intro()
446
- print(" Restart your shell, then run: mp start\n")
451
+ print(" To activate now: eval \"$(methodproof shell-hook)\"")
452
+ print(" Or restart your shell, then run: mp start\n")
453
+
454
+
455
+ def cmd_shell_hook(_args: argparse.Namespace) -> None:
456
+ """Print the shell hook text for the current shell (for eval)."""
457
+ _, hook_text = hook.get_shell_rc()
458
+ print(hook_text.strip())
447
459
 
448
460
 
449
461
  def _print_commands() -> None:
@@ -1952,7 +1964,9 @@ def main() -> None:
1952
1964
  p = argparse.ArgumentParser(prog="methodproof", description=_banner())
1953
1965
  sub = p.add_subparsers(dest="cmd")
1954
1966
 
1955
- sub.add_parser("init", help="Install shell hook")
1967
+ s = sub.add_parser("init", help="Install shell hook")
1968
+ s.add_argument("--force", action="store_true", help="Re-run all setup prompts from scratch")
1969
+ sub.add_parser("shell-hook", help="Print shell hook for eval (activates without restart)")
1956
1970
  s = sub.add_parser("start", help="Start recording")
1957
1971
  s.add_argument("--dir", help="Directory to watch")
1958
1972
  s.add_argument("--repo", help="Git remote URL (overrides auto-detect)")
@@ -2047,6 +2061,7 @@ def main() -> None:
2047
2061
  "e2e": lambda a: __import__("methodproof.e2e", fromlist=["cmd_e2e"]).cmd_e2e(a),
2048
2062
  "intro": lambda _: _print_intro(),
2049
2063
  "help": lambda _: _print_commands(),
2064
+ "shell-hook": cmd_shell_hook,
2050
2065
  "mcp-serve": cmd_mcp_serve,
2051
2066
  "proxy": lambda a: __import__("methodproof.proxy", fromlist=["cmd_proxy"]).cmd_proxy(a),
2052
2067
  }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "methodproof"
3
- version = "0.7.9"
3
+ version = "0.7.11"
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"]
@@ -966,7 +966,7 @@ wheels = [
966
966
 
967
967
  [[package]]
968
968
  name = "methodproof"
969
- version = "0.7.9"
969
+ version = "0.7.11"
970
970
  source = { editable = "." }
971
971
  dependencies = [
972
972
  { name = "cryptography", version = "44.0.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
File without changes
File without changes
File without changes
File without changes