claude-dev-cli 0.8.6__py3-none-any.whl → 0.8.8__py3-none-any.whl
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.
Potentially problematic release.
This version of claude-dev-cli might be problematic. Click here for more details.
- claude_dev_cli/__init__.py +1 -1
- claude_dev_cli/config.py +8 -4
- claude_dev_cli/template_manager.py +16 -0
- {claude_dev_cli-0.8.6.dist-info → claude_dev_cli-0.8.8.dist-info}/METADATA +1 -1
- {claude_dev_cli-0.8.6.dist-info → claude_dev_cli-0.8.8.dist-info}/RECORD +9 -9
- {claude_dev_cli-0.8.6.dist-info → claude_dev_cli-0.8.8.dist-info}/WHEEL +0 -0
- {claude_dev_cli-0.8.6.dist-info → claude_dev_cli-0.8.8.dist-info}/entry_points.txt +0 -0
- {claude_dev_cli-0.8.6.dist-info → claude_dev_cli-0.8.8.dist-info}/licenses/LICENSE +0 -0
- {claude_dev_cli-0.8.6.dist-info → claude_dev_cli-0.8.8.dist-info}/top_level.txt +0 -0
claude_dev_cli/__init__.py
CHANGED
claude_dev_cli/config.py
CHANGED
|
@@ -288,10 +288,14 @@ class Config:
|
|
|
288
288
|
current = cwd
|
|
289
289
|
while current != current.parent:
|
|
290
290
|
config_file = current / ".claude-dev-cli"
|
|
291
|
-
if config_file.exists():
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
291
|
+
if config_file.exists() and config_file.is_file():
|
|
292
|
+
try:
|
|
293
|
+
with open(config_file, 'r') as f:
|
|
294
|
+
data = json.load(f)
|
|
295
|
+
return ProjectProfile(**data)
|
|
296
|
+
except (json.JSONDecodeError, IOError):
|
|
297
|
+
# Skip invalid project config files
|
|
298
|
+
pass
|
|
295
299
|
current = current.parent
|
|
296
300
|
|
|
297
301
|
return None
|
|
@@ -208,7 +208,23 @@ Include:
|
|
|
208
208
|
def __init__(self, templates_dir: Path):
|
|
209
209
|
self.templates_dir = templates_dir
|
|
210
210
|
self.templates_file = templates_dir / "templates.json"
|
|
211
|
+
|
|
212
|
+
# Check if templates_dir exists as a file (not directory)
|
|
213
|
+
if self.templates_dir.exists() and not self.templates_dir.is_dir():
|
|
214
|
+
raise RuntimeError(
|
|
215
|
+
f"Templates directory path {self.templates_dir} exists but is not a directory. "
|
|
216
|
+
f"Please remove or rename this file."
|
|
217
|
+
)
|
|
218
|
+
|
|
211
219
|
self.templates_dir.mkdir(parents=True, exist_ok=True)
|
|
220
|
+
|
|
221
|
+
# Check if templates_file is a directory (not file)
|
|
222
|
+
if self.templates_file.exists() and self.templates_file.is_dir():
|
|
223
|
+
raise RuntimeError(
|
|
224
|
+
f"Templates file {self.templates_file} is a directory. "
|
|
225
|
+
f"Please remove this directory."
|
|
226
|
+
)
|
|
227
|
+
|
|
212
228
|
self._load_templates()
|
|
213
229
|
|
|
214
230
|
def _load_templates(self) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: claude-dev-cli
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.8
|
|
4
4
|
Summary: A powerful CLI tool for developers using Claude AI with multi-API routing, test generation, code review, and usage tracking
|
|
5
5
|
Author-email: Julio <thinmanj@users.noreply.github.com>
|
|
6
6
|
License: MIT
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
claude_dev_cli/__init__.py,sha256=
|
|
1
|
+
claude_dev_cli/__init__.py,sha256=iy2CubdKWYoorvI13R_0pCU5d_S-P9ef-WMa4gq0aM8,469
|
|
2
2
|
claude_dev_cli/cli.py,sha256=hy2HjU7oEWgGwNB7apBKFQmzjhYrxhHxTqtJ18iePZE,61164
|
|
3
3
|
claude_dev_cli/commands.py,sha256=RKGx2rv56PM6eErvA2uoQ20hY8babuI5jav8nCUyUOk,3964
|
|
4
|
-
claude_dev_cli/config.py,sha256=
|
|
4
|
+
claude_dev_cli/config.py,sha256=MTZpTtcKjh7gH_Vslx4XxYB8C2XongpFmFmC6R5HTW8,12157
|
|
5
5
|
claude_dev_cli/context.py,sha256=1TlLzpREFZDEIuU7RAtlkjxARKWZpnxHHvK283sUAZE,26714
|
|
6
6
|
claude_dev_cli/core.py,sha256=yaLjEixDvPzvUy4fJ2UB7nMpPPLyKACjR-RuM-1OQBY,4780
|
|
7
7
|
claude_dev_cli/history.py,sha256=26EjNW68JuFQJhUp1j8UdB19S-eYz3eqevkpCOATwP0,10510
|
|
8
8
|
claude_dev_cli/secure_storage.py,sha256=KcZuQMLTbQpMAi2Cyh-_JkNcK9vHzAITOgjTcM9sr98,8161
|
|
9
|
-
claude_dev_cli/template_manager.py,sha256=
|
|
9
|
+
claude_dev_cli/template_manager.py,sha256=wtcrNuxFoJLJIPmIxUzrPKrE8kUvdqEd53EnG3jARhg,9277
|
|
10
10
|
claude_dev_cli/templates.py,sha256=lKxH943ySfUKgyHaWa4W3LVv91SgznKgajRtSRp_4UY,2260
|
|
11
11
|
claude_dev_cli/toon_utils.py,sha256=S3px2UvmNEaltmTa5K-h21n2c0CPvYjZc9mc7kHGqNQ,2828
|
|
12
12
|
claude_dev_cli/usage.py,sha256=32rs0_dUn6ihha3vCfT3rwnvel_-sED7jvLpO7gu-KQ,7446
|
|
@@ -17,9 +17,9 @@ claude_dev_cli/plugins/base.py,sha256=H4HQet1I-a3WLCfE9F06Lp8NuFvVoIlou7sIgyJFK-
|
|
|
17
17
|
claude_dev_cli/plugins/diff_editor/__init__.py,sha256=gqR5S2TyIVuq-sK107fegsutQ7Z-sgAIEbtc71FhXIM,101
|
|
18
18
|
claude_dev_cli/plugins/diff_editor/plugin.py,sha256=M1bUoqpasD3ZNQo36Fu_8g92uySPZyG_ujMbj5UplsU,3073
|
|
19
19
|
claude_dev_cli/plugins/diff_editor/viewer.py,sha256=1IOXIKw_01ppJx5C1dQt9Kr6U1TdAHT8_iUT5r_q0NM,17169
|
|
20
|
-
claude_dev_cli-0.8.
|
|
21
|
-
claude_dev_cli-0.8.
|
|
22
|
-
claude_dev_cli-0.8.
|
|
23
|
-
claude_dev_cli-0.8.
|
|
24
|
-
claude_dev_cli-0.8.
|
|
25
|
-
claude_dev_cli-0.8.
|
|
20
|
+
claude_dev_cli-0.8.8.dist-info/licenses/LICENSE,sha256=DGueuJwMJtMwgLO5mWlS0TaeBrFwQuNpNZ22PU9J2bw,1062
|
|
21
|
+
claude_dev_cli-0.8.8.dist-info/METADATA,sha256=I6TfuKgwxtd1l83e3D6_jHbbJBg_KZdBVNzdU8KjP2E,17356
|
|
22
|
+
claude_dev_cli-0.8.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
23
|
+
claude_dev_cli-0.8.8.dist-info/entry_points.txt,sha256=zymgUIIVpFTARkFmxAuW2A4BQsNITh_L0uU-XunytHg,85
|
|
24
|
+
claude_dev_cli-0.8.8.dist-info/top_level.txt,sha256=m7MF6LOIuTe41IT5Fgt0lc-DK1EgM4gUU_IZwWxK0pg,15
|
|
25
|
+
claude_dev_cli-0.8.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|