refactorai-cli 0.2.28__tar.gz → 0.2.29__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 (33) hide show
  1. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/PKG-INFO +2 -2
  2. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/README.md +1 -1
  3. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/pyproject.toml +1 -1
  4. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/__init__.py +1 -1
  5. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/runtime_proxy_cmds.py +3 -6
  6. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli.egg-info/PKG-INFO +2 -2
  7. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/auth.py +0 -0
  8. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/client.py +0 -0
  9. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/__init__.py +0 -0
  10. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/auth_cmds.py +0 -0
  11. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/cloud_cmds.py +0 -0
  12. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/engine_cmds.py +0 -0
  13. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/model_cmds.py +0 -0
  14. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/rules_cmds.py +0 -0
  15. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/run_cmds.py +0 -0
  16. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/runtime_cmds.py +0 -0
  17. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/commands/setup_cmds.py +0 -0
  18. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/control_plane.py +0 -0
  19. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/credentials.py +0 -0
  20. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/local_constitution.py +0 -0
  21. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/local_engine_runtime.py +0 -0
  22. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/local_paths.py +0 -0
  23. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/main.py +0 -0
  24. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/model_policy.py +0 -0
  25. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/runtime_manager.py +0 -0
  26. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/settings.py +0 -0
  27. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli/setup_flow.py +0 -0
  28. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli.egg-info/SOURCES.txt +0 -0
  29. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli.egg-info/dependency_links.txt +0 -0
  30. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli.egg-info/entry_points.txt +0 -0
  31. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli.egg-info/requires.txt +0 -0
  32. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/refactorai_cli.egg-info/top_level.txt +0 -0
  33. {refactorai_cli-0.2.28 → refactorai_cli-0.2.29}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: refactorai-cli
3
- Version: 0.2.28
3
+ Version: 0.2.29
4
4
  Summary: Local-first CLI for the refactor platform
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -53,7 +53,7 @@ python -m twine upload ./refactorai-cli/dist/*
53
53
  ## Install test (local)
54
54
 
55
55
  ```bash
56
- python -m pip install ./refactorai-cli/dist/refactorai_cli-0.2.28-py3-none-any.whl
56
+ python -m pip install ./refactorai-cli/dist/refactorai_cli-0.2.29-py3-none-any.whl
57
57
  refactor --version
58
58
  ```
59
59
 
@@ -42,7 +42,7 @@ python -m twine upload ./refactorai-cli/dist/*
42
42
  ## Install test (local)
43
43
 
44
44
  ```bash
45
- python -m pip install ./refactorai-cli/dist/refactorai_cli-0.2.28-py3-none-any.whl
45
+ python -m pip install ./refactorai-cli/dist/refactorai_cli-0.2.29-py3-none-any.whl
46
46
  refactor --version
47
47
  ```
48
48
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "refactorai-cli"
3
- version = "0.2.28"
3
+ version = "0.2.29"
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.2.28"
8
+ __version__ = "0.2.29"
@@ -15,7 +15,6 @@ from __future__ import annotations
15
15
  import subprocess
16
16
  from pathlib import Path
17
17
 
18
- import click
19
18
  import typer
20
19
  from rich.console import Console
21
20
 
@@ -102,11 +101,9 @@ def _delegate_to_run_cmds(command_name: str, passthrough_args: list[str]) -> Non
102
101
  code = exc.code if isinstance(exc.code, int) else 0
103
102
  if code:
104
103
  raise typer.Exit(code=code) from exc
105
- except click.exceptions.Abort as exc:
106
- raise typer.Exit(code=1) from exc
107
- except click.exceptions.ClickException as exc:
108
- exc.show()
109
- raise typer.Exit(code=exc.exit_code) from exc
104
+ except Exception as exc:
105
+ code = getattr(exc, "exit_code", 1) or 1
106
+ raise typer.Exit(code=code) from exc
110
107
 
111
108
 
112
109
  def _dispatch(command_name: str, passthrough_args: list[str]) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: refactorai-cli
3
- Version: 0.2.28
3
+ Version: 0.2.29
4
4
  Summary: Local-first CLI for the refactor platform
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -53,7 +53,7 @@ python -m twine upload ./refactorai-cli/dist/*
53
53
  ## Install test (local)
54
54
 
55
55
  ```bash
56
- python -m pip install ./refactorai-cli/dist/refactorai_cli-0.2.28-py3-none-any.whl
56
+ python -m pip install ./refactorai-cli/dist/refactorai_cli-0.2.29-py3-none-any.whl
57
57
  refactor --version
58
58
  ```
59
59