refactorai-cli 0.5.6__tar.gz → 0.5.7__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 (50) hide show
  1. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/PKG-INFO +2 -2
  2. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/pyproject.toml +2 -2
  3. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/__init__.py +1 -1
  4. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/run_cmds.py +17 -3
  5. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli.egg-info/PKG-INFO +2 -2
  6. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli.egg-info/requires.txt +1 -1
  7. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/README.md +0 -0
  8. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/auth.py +0 -0
  9. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/client.py +0 -0
  10. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/cloud_rr.py +0 -0
  11. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/__init__.py +0 -0
  12. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/account_cmds.py +0 -0
  13. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/auth_cmds.py +0 -0
  14. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/branch_cmds.py +0 -0
  15. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/cloud_cmds.py +0 -0
  16. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/engine_cmds.py +0 -0
  17. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/hook_cmds.py +0 -0
  18. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/model_cmds.py +0 -0
  19. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/pre_push_cmds.py +0 -0
  20. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/request_cmds.py +0 -0
  21. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/rules_cmds.py +0 -0
  22. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/runtime_cmds.py +0 -0
  23. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/runtime_proxy_cmds.py +0 -0
  24. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/setup_cmds.py +0 -0
  25. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/toolchains_cmds.py +0 -0
  26. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commands/watch_cmds.py +0 -0
  27. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commit_queue.py +0 -0
  28. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/commit_telemetry.py +0 -0
  29. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/control_plane.py +0 -0
  30. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/credentials.py +0 -0
  31. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/dotenv_loader.py +0 -0
  32. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/git_scope.py +0 -0
  33. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/local_constitution.py +0 -0
  34. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/local_engine_runtime.py +0 -0
  35. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/local_paths.py +0 -0
  36. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/main.py +0 -0
  37. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/model_policy.py +0 -0
  38. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/pre_push_gate.py +0 -0
  39. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/refactor_branch_store.py +0 -0
  40. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/review_runner.py +0 -0
  41. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/runtime_manager.py +0 -0
  42. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/settings.py +0 -0
  43. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/setup_flow.py +0 -0
  44. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/watch_state.py +0 -0
  45. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli/watch_supervisor.py +0 -0
  46. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli.egg-info/SOURCES.txt +0 -0
  47. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli.egg-info/dependency_links.txt +0 -0
  48. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli.egg-info/entry_points.txt +0 -0
  49. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/refactorai_cli.egg-info/top_level.txt +0 -0
  50. {refactorai_cli-0.5.6 → refactorai_cli-0.5.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: refactorai-cli
3
- Version: 0.5.6
3
+ Version: 0.5.7
4
4
  Summary: Local-first CLI for the refactor platform
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -8,7 +8,7 @@ Requires-Dist: typer>=0.12.0
8
8
  Requires-Dist: httpx>=0.27.0
9
9
  Requires-Dist: rich>=13.7.0
10
10
  Requires-Dist: PyYAML>=6.0.1
11
- Requires-Dist: refactorai-core>=3.2.11
11
+ Requires-Dist: refactorai-core>=3.2.12
12
12
 
13
13
  # refactorai-cli
14
14
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "refactorai-cli"
3
- version = "0.5.6"
3
+ version = "0.5.7"
4
4
  description = "Local-first CLI for the refactor platform"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -12,7 +12,7 @@ dependencies = [
12
12
  "httpx>=0.27.0",
13
13
  "rich>=13.7.0",
14
14
  "PyYAML>=6.0.1",
15
- "refactorai-core>=3.2.11",
15
+ "refactorai-core>=3.2.12",
16
16
  ]
17
17
 
18
18
  [project.scripts]
@@ -5,4 +5,4 @@ the shared `refactor_core` pipeline from a project folder while staying
5
5
  authenticated to the hosted platform via a developer key.
6
6
  """
7
7
 
8
- __version__ = "0.5.6"
8
+ __version__ = "0.5.7"
@@ -1105,7 +1105,9 @@ def init(
1105
1105
  config_target.write_text(config_text, encoding="utf-8")
1106
1106
 
1107
1107
  constitution = load_constitution(consti_target)
1108
- record = register_project(project_root, constitution_hash=constitution.content_hash)
1108
+ record = register_project(
1109
+ project_root, constitution_hash=constitution.content_hash, project_id=project_id
1110
+ )
1109
1111
  console.print(f"[green]Created[/green] {consti_target}")
1110
1112
  console.print(f"[green]Created[/green] {config_target}")
1111
1113
  account_note = f" (account {account_slug})" if account_slug else ""
@@ -2787,7 +2789,13 @@ def review(
2787
2789
  )
2788
2790
  for warning in compliance_resolution.warnings:
2789
2791
  console.print(f"[yellow]review: compliance warning:[/yellow] {warning}")
2790
- register_project(project_root, constitution_hash=constitution.content_hash)
2792
+ from refactorai_cli.commit_telemetry import resolve_project_id
2793
+
2794
+ register_project(
2795
+ project_root,
2796
+ constitution_hash=constitution.content_hash,
2797
+ project_id=resolve_project_id(project_root) or None,
2798
+ )
2791
2799
  _maybe_build_graph(project_root, project_config)
2792
2800
 
2793
2801
  # Commit-scoped review (docs/41 `R28`). Works in every execution mode: local
@@ -3121,7 +3129,13 @@ def code(
3121
3129
  )
3122
3130
  for warning in compliance_resolution.warnings:
3123
3131
  console.print(f"[yellow]code: compliance warning:[/yellow] {warning}")
3124
- register_project(project_root, constitution_hash=constitution.content_hash)
3132
+ from refactorai_cli.commit_telemetry import resolve_project_id
3133
+
3134
+ register_project(
3135
+ project_root,
3136
+ constitution_hash=constitution.content_hash,
3137
+ project_id=resolve_project_id(project_root) or None,
3138
+ )
3125
3139
  _maybe_build_graph(project_root, project_config)
3126
3140
 
3127
3141
  # Commit-scoped resolve (docs/41 `R28`, Phase 4), symmetric to `review` and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: refactorai-cli
3
- Version: 0.5.6
3
+ Version: 0.5.7
4
4
  Summary: Local-first CLI for the refactor platform
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -8,7 +8,7 @@ Requires-Dist: typer>=0.12.0
8
8
  Requires-Dist: httpx>=0.27.0
9
9
  Requires-Dist: rich>=13.7.0
10
10
  Requires-Dist: PyYAML>=6.0.1
11
- Requires-Dist: refactorai-core>=3.2.11
11
+ Requires-Dist: refactorai-core>=3.2.12
12
12
 
13
13
  # refactorai-cli
14
14
 
@@ -2,4 +2,4 @@ typer>=0.12.0
2
2
  httpx>=0.27.0
3
3
  rich>=13.7.0
4
4
  PyYAML>=6.0.1
5
- refactorai-core>=3.2.11
5
+ refactorai-core>=3.2.12
File without changes
File without changes