refactorai-cli 0.4.9__tar.gz → 0.4.10__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 (46) hide show
  1. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/PKG-INFO +1 -1
  2. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/pyproject.toml +1 -1
  3. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/__init__.py +1 -1
  4. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/watch_cmds.py +8 -4
  5. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/PKG-INFO +1 -1
  6. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/README.md +0 -0
  7. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/auth.py +0 -0
  8. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/client.py +0 -0
  9. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/cloud_rr.py +0 -0
  10. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/__init__.py +0 -0
  11. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/account_cmds.py +0 -0
  12. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/auth_cmds.py +0 -0
  13. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/branch_cmds.py +0 -0
  14. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/cloud_cmds.py +0 -0
  15. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/engine_cmds.py +0 -0
  16. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/hook_cmds.py +0 -0
  17. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/model_cmds.py +0 -0
  18. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/request_cmds.py +0 -0
  19. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/rules_cmds.py +0 -0
  20. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/run_cmds.py +0 -0
  21. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/runtime_cmds.py +0 -0
  22. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/runtime_proxy_cmds.py +0 -0
  23. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/setup_cmds.py +0 -0
  24. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/toolchains_cmds.py +0 -0
  25. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commit_queue.py +0 -0
  26. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/control_plane.py +0 -0
  27. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/credentials.py +0 -0
  28. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/dotenv_loader.py +0 -0
  29. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/git_scope.py +0 -0
  30. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/local_constitution.py +0 -0
  31. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/local_engine_runtime.py +0 -0
  32. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/local_paths.py +0 -0
  33. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/main.py +0 -0
  34. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/model_policy.py +0 -0
  35. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/refactor_branch_store.py +0 -0
  36. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/review_runner.py +0 -0
  37. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/runtime_manager.py +0 -0
  38. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/settings.py +0 -0
  39. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/setup_flow.py +0 -0
  40. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/watch_state.py +0 -0
  41. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/SOURCES.txt +0 -0
  42. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/dependency_links.txt +0 -0
  43. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/entry_points.txt +0 -0
  44. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/requires.txt +0 -0
  45. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/top_level.txt +0 -0
  46. {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: refactorai-cli
3
- Version: 0.4.9
3
+ Version: 0.4.10
4
4
  Summary: Local-first CLI for the refactor platform
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "refactorai-cli"
3
- version = "0.4.9"
3
+ version = "0.4.10"
4
4
  description = "Local-first CLI for the refactor platform"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -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.4.9"
8
+ __version__ = "0.4.10"
@@ -261,15 +261,19 @@ def _read_key(timeout: float) -> str:
261
261
  def build_action_command(action: str, sha: str, *, executable: str = "refactor") -> list[str] | None:
262
262
  """Build the argv for a terminal action. Pure + testable (docs/42 Phase 4).
263
263
 
264
- ``code`` reuses pending requests; ``refresh`` regenerates them. ``merge`` /
265
- ``drop`` operate on the refactor branch built by ``code`` (local only).
264
+ ``code`` reuses pending requests; ``refresh`` regenerates them. Both pass
265
+ ``--keep`` so resolving from the terminal only *builds* the refactor branch
266
+ (per-request commits + final test) and never pops its own merge/keep/drop
267
+ prompt — the terminal's ``[m]`` merge / ``[x]`` drop keys are the single,
268
+ explicit place that decision is made. ``merge`` / ``drop`` operate on that
269
+ already-built refactor branch (local only, never pushes).
266
270
  """
267
271
  if action == "code":
268
272
  # Commit-scoped so `[r]` resolves THIS commit's requests (docs/41 Phase 4).
269
- return [executable, "code", "--commit", sha]
273
+ return [executable, "code", "--commit", sha, "--keep"]
270
274
  if action == "refresh":
271
275
  # `[f]` regenerates the requests for this commit before resolving.
272
- return [executable, "code", "--commit", sha, "--refresh-requests"]
276
+ return [executable, "code", "--commit", sha, "--refresh-requests", "--keep"]
273
277
  if action == "diff":
274
278
  # Shows the pending refactor-request patch diffs (not the git diff).
275
279
  return [executable, "diff"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: refactorai-cli
3
- Version: 0.4.9
3
+ Version: 0.4.10
4
4
  Summary: Local-first CLI for the refactor platform
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown