refactorai-cli 0.3.0__tar.gz → 0.3.1__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.3.0 → refactorai_cli-0.3.1}/PKG-INFO +3 -3
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/README.md +1 -1
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/pyproject.toml +2 -2
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/__init__.py +1 -1
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/run_cmds.py +14 -8
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli.egg-info/PKG-INFO +3 -3
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli.egg-info/requires.txt +1 -1
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/auth.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/client.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/__init__.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/auth_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/cloud_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/engine_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/model_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/rules_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/runtime_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/runtime_proxy_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/commands/setup_cmds.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/control_plane.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/credentials.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/local_constitution.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/local_engine_runtime.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/local_paths.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/main.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/model_policy.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/runtime_manager.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/settings.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli/setup_flow.py +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli.egg-info/SOURCES.txt +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli.egg-info/dependency_links.txt +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli.egg-info/entry_points.txt +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/refactorai_cli.egg-info/top_level.txt +0 -0
- {refactorai_cli-0.3.0 → refactorai_cli-0.3.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: refactorai-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
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.0.
|
|
11
|
+
Requires-Dist: refactorai-core>=3.0.1
|
|
12
12
|
|
|
13
13
|
# refactorai-cli
|
|
14
14
|
|
|
@@ -54,7 +54,7 @@ python -m twine upload ./refactorai-cli/dist/*
|
|
|
54
54
|
## Install test (local)
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
python -m pip install ./refactorai-cli/dist/refactorai_cli-0.3.
|
|
57
|
+
python -m pip install ./refactorai-cli/dist/refactorai_cli-0.3.1-py3-none-any.whl
|
|
58
58
|
refactor --version
|
|
59
59
|
```
|
|
60
60
|
|
|
@@ -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.3.
|
|
45
|
+
python -m pip install ./refactorai-cli/dist/refactorai_cli-0.3.1-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.3.
|
|
3
|
+
version = "0.3.1"
|
|
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.0.
|
|
15
|
+
"refactorai-core>=3.0.1",
|
|
16
16
|
]
|
|
17
17
|
|
|
18
18
|
[project.scripts]
|
|
@@ -157,19 +157,25 @@ def _default_config_for_init() -> tuple[str, str]:
|
|
|
157
157
|
if backend == BACKEND_LOCAL_SERVER:
|
|
158
158
|
model_id = _setup_recommended_model_id()
|
|
159
159
|
base_url = _setup_engine_base_url()
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
# local_server stays in `mode: local` but swaps the default heuristic
|
|
161
|
+
# provider block for an Ollama block pointing at the local engine.
|
|
162
|
+
config_text = DEFAULT_CONFIG.replace(
|
|
163
|
+
"# Heuristic (local, no LLM) - default for mode: local\n"
|
|
164
|
+
"provider: heuristic\n"
|
|
162
165
|
"model_id: heuristic-local-v1",
|
|
163
|
-
|
|
166
|
+
"# Ollama (local engine) - configured by `refactor init`\n"
|
|
167
|
+
"provider: ollama\n"
|
|
168
|
+
f"model_id: {model_id}\n"
|
|
169
|
+
f"base_url: {base_url}",
|
|
164
170
|
1,
|
|
165
171
|
)
|
|
166
172
|
return config_text, "local_server"
|
|
167
173
|
if backend == BACKEND_BYOK:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
config_text =
|
|
171
|
-
"
|
|
172
|
-
"
|
|
174
|
+
# BYOK only flips the execution mode. The developer chooses and
|
|
175
|
+
# uncomments a provider block in the Provider selection section.
|
|
176
|
+
config_text = DEFAULT_CONFIG.replace(
|
|
177
|
+
"mode: local\n# mode: cloud_byok",
|
|
178
|
+
"# mode: local\nmode: cloud_byok",
|
|
173
179
|
1,
|
|
174
180
|
)
|
|
175
181
|
return config_text, "byok"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: refactorai-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
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.0.
|
|
11
|
+
Requires-Dist: refactorai-core>=3.0.1
|
|
12
12
|
|
|
13
13
|
# refactorai-cli
|
|
14
14
|
|
|
@@ -54,7 +54,7 @@ python -m twine upload ./refactorai-cli/dist/*
|
|
|
54
54
|
## Install test (local)
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
python -m pip install ./refactorai-cli/dist/refactorai_cli-0.3.
|
|
57
|
+
python -m pip install ./refactorai-cli/dist/refactorai_cli-0.3.1-py3-none-any.whl
|
|
58
58
|
refactor --version
|
|
59
59
|
```
|
|
60
60
|
|
|
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
|
|
File without changes
|