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.
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/PKG-INFO +1 -1
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/pyproject.toml +1 -1
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/__init__.py +1 -1
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/watch_cmds.py +8 -4
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/PKG-INFO +1 -1
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/README.md +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/auth.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/client.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/cloud_rr.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/__init__.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/account_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/auth_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/branch_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/cloud_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/engine_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/hook_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/model_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/request_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/rules_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/run_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/runtime_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/runtime_proxy_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/setup_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/toolchains_cmds.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commit_queue.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/control_plane.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/credentials.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/dotenv_loader.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/git_scope.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/local_constitution.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/local_engine_runtime.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/local_paths.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/main.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/model_policy.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/refactor_branch_store.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/review_runner.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/runtime_manager.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/settings.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/setup_flow.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/watch_state.py +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/SOURCES.txt +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/dependency_links.txt +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/entry_points.txt +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/requires.txt +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli.egg-info/top_level.txt +0 -0
- {refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/setup.cfg +0 -0
|
@@ -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.
|
|
265
|
-
``
|
|
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"]
|
|
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
|
{refactorai_cli-0.4.9 → refactorai_cli-0.4.10}/refactorai_cli/commands/runtime_proxy_cmds.py
RENAMED
|
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
|