claude-dev-cli 0.6.0__tar.gz → 0.8.0__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.
Potentially problematic release.
This version of claude-dev-cli might be problematic. Click here for more details.
- {claude_dev_cli-0.6.0/src/claude_dev_cli.egg-info → claude_dev_cli-0.8.0}/PKG-INFO +50 -5
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/README.md +48 -4
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/pyproject.toml +2 -1
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/__init__.py +1 -1
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/cli.py +452 -22
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/config.py +6 -0
- claude_dev_cli-0.8.0/src/claude_dev_cli/context.py +494 -0
- claude_dev_cli-0.8.0/src/claude_dev_cli/warp_integration.py +243 -0
- claude_dev_cli-0.8.0/src/claude_dev_cli/workflows.py +340 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0/src/claude_dev_cli.egg-info}/PKG-INFO +50 -5
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli.egg-info/SOURCES.txt +3 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli.egg-info/requires.txt +1 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/LICENSE +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/MANIFEST.in +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/setup.cfg +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/commands.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/core.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/history.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/plugins/__init__.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/plugins/base.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/plugins/diff_editor/__init__.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/plugins/diff_editor/plugin.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/plugins/diff_editor/viewer.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/secure_storage.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/template_manager.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/templates.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/toon_utils.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli/usage.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli.egg-info/dependency_links.txt +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli.egg-info/entry_points.txt +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/src/claude_dev_cli.egg-info/top_level.txt +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_cli.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_commands.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_config.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_core.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_diff_editor.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_secure_storage.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_template_manager.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_toon_utils.py +0 -0
- {claude_dev_cli-0.6.0 → claude_dev_cli-0.8.0}/tests/test_usage.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: claude-dev-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
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
|
|
@@ -28,6 +28,7 @@ Requires-Dist: rich>=13.0.0
|
|
|
28
28
|
Requires-Dist: pydantic>=2.0.0
|
|
29
29
|
Requires-Dist: keyring>=24.0.0
|
|
30
30
|
Requires-Dist: cryptography>=41.0.0
|
|
31
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
31
32
|
Provides-Extra: toon
|
|
32
33
|
Requires-Dist: toon-format>=0.9.0; extra == "toon"
|
|
33
34
|
Provides-Extra: plugins
|
|
@@ -78,6 +79,13 @@ A powerful command-line tool for developers using Claude AI with multi-API routi
|
|
|
78
79
|
- **Variable Substitution**: Use {{variable}} placeholders for dynamic content
|
|
79
80
|
- **Categories**: Organize templates by category (review, testing, debugging, etc.)
|
|
80
81
|
|
|
82
|
+
### 🧠 Context Intelligence (NEW in v0.8.0)
|
|
83
|
+
- **Auto-Context**: `--auto-context` flag for intelligent context gathering
|
|
84
|
+
- **Git Integration**: Automatically include branch, commits, modified files
|
|
85
|
+
- **Dependency Analysis**: Parse imports and include related files
|
|
86
|
+
- **Error Parsing**: Structured Python traceback parsing
|
|
87
|
+
- **Project Memory**: Remember preferences per project
|
|
88
|
+
|
|
81
89
|
### 🎒 TOON Format Support (Optional)
|
|
82
90
|
- **Token Reduction**: 30-60% fewer tokens than JSON
|
|
83
91
|
- **Cost Savings**: Reduce API costs significantly
|
|
@@ -145,23 +153,60 @@ cdc ask -a client "generate tests for this function"
|
|
|
145
153
|
# Generate tests
|
|
146
154
|
cdc generate tests mymodule.py -o tests/test_mymodule.py
|
|
147
155
|
|
|
156
|
+
# Generate tests with interactive refinement
|
|
157
|
+
cdc generate tests mymodule.py --interactive
|
|
158
|
+
|
|
148
159
|
# Code review
|
|
149
160
|
cdc review mymodule.py
|
|
150
161
|
|
|
151
|
-
#
|
|
152
|
-
|
|
162
|
+
# Code review with auto-context (includes git, dependencies, tests)
|
|
163
|
+
cdc review mymodule.py --auto-context
|
|
164
|
+
|
|
165
|
+
# Code review with interactive follow-up questions
|
|
166
|
+
cdc review mymodule.py --interactive
|
|
167
|
+
|
|
168
|
+
# Debug errors with intelligent error parsing
|
|
169
|
+
python script.py 2>&1 | cdc debug --auto-context
|
|
153
170
|
|
|
154
171
|
# Generate documentation
|
|
155
172
|
cdc generate docs mymodule.py
|
|
156
173
|
|
|
157
|
-
#
|
|
158
|
-
cdc
|
|
174
|
+
# Generate docs with interactive refinement
|
|
175
|
+
cdc generate docs mymodule.py --interactive
|
|
176
|
+
|
|
177
|
+
# Refactor with context (includes related files)
|
|
178
|
+
cdc refactor legacy_code.py --auto-context
|
|
179
|
+
|
|
180
|
+
# Refactor with interactive refinement
|
|
181
|
+
cdc refactor legacy_code.py --interactive
|
|
159
182
|
|
|
160
183
|
# Git commit message
|
|
161
184
|
git add .
|
|
162
185
|
cdc git commit
|
|
163
186
|
```
|
|
164
187
|
|
|
188
|
+
### 4. Context-Aware Operations (NEW in v0.8.0)
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
# Auto-context includes: git info, dependencies, related files
|
|
192
|
+
|
|
193
|
+
# Review with full project context
|
|
194
|
+
cdc review mymodule.py --auto-context
|
|
195
|
+
# ✓ Context gathered (git, dependencies, tests)
|
|
196
|
+
|
|
197
|
+
# Debug with parsed error details
|
|
198
|
+
python broken.py 2>&1 | cdc debug -f broken.py --auto-context
|
|
199
|
+
# ✓ Context gathered (error details, git context)
|
|
200
|
+
|
|
201
|
+
# Ask questions with file context
|
|
202
|
+
cdc ask -f mycode.py --auto-context "how can I improve this?"
|
|
203
|
+
# ✓ Context gathered
|
|
204
|
+
|
|
205
|
+
# Refactor with related files
|
|
206
|
+
cdc refactor app.py --auto-context
|
|
207
|
+
# Automatically includes imported modules and dependencies
|
|
208
|
+
```
|
|
209
|
+
|
|
165
210
|
### 5. Custom Templates
|
|
166
211
|
|
|
167
212
|
```bash
|
|
@@ -35,6 +35,13 @@ A powerful command-line tool for developers using Claude AI with multi-API routi
|
|
|
35
35
|
- **Variable Substitution**: Use {{variable}} placeholders for dynamic content
|
|
36
36
|
- **Categories**: Organize templates by category (review, testing, debugging, etc.)
|
|
37
37
|
|
|
38
|
+
### 🧠 Context Intelligence (NEW in v0.8.0)
|
|
39
|
+
- **Auto-Context**: `--auto-context` flag for intelligent context gathering
|
|
40
|
+
- **Git Integration**: Automatically include branch, commits, modified files
|
|
41
|
+
- **Dependency Analysis**: Parse imports and include related files
|
|
42
|
+
- **Error Parsing**: Structured Python traceback parsing
|
|
43
|
+
- **Project Memory**: Remember preferences per project
|
|
44
|
+
|
|
38
45
|
### 🎒 TOON Format Support (Optional)
|
|
39
46
|
- **Token Reduction**: 30-60% fewer tokens than JSON
|
|
40
47
|
- **Cost Savings**: Reduce API costs significantly
|
|
@@ -102,23 +109,60 @@ cdc ask -a client "generate tests for this function"
|
|
|
102
109
|
# Generate tests
|
|
103
110
|
cdc generate tests mymodule.py -o tests/test_mymodule.py
|
|
104
111
|
|
|
112
|
+
# Generate tests with interactive refinement
|
|
113
|
+
cdc generate tests mymodule.py --interactive
|
|
114
|
+
|
|
105
115
|
# Code review
|
|
106
116
|
cdc review mymodule.py
|
|
107
117
|
|
|
108
|
-
#
|
|
109
|
-
|
|
118
|
+
# Code review with auto-context (includes git, dependencies, tests)
|
|
119
|
+
cdc review mymodule.py --auto-context
|
|
120
|
+
|
|
121
|
+
# Code review with interactive follow-up questions
|
|
122
|
+
cdc review mymodule.py --interactive
|
|
123
|
+
|
|
124
|
+
# Debug errors with intelligent error parsing
|
|
125
|
+
python script.py 2>&1 | cdc debug --auto-context
|
|
110
126
|
|
|
111
127
|
# Generate documentation
|
|
112
128
|
cdc generate docs mymodule.py
|
|
113
129
|
|
|
114
|
-
#
|
|
115
|
-
cdc
|
|
130
|
+
# Generate docs with interactive refinement
|
|
131
|
+
cdc generate docs mymodule.py --interactive
|
|
132
|
+
|
|
133
|
+
# Refactor with context (includes related files)
|
|
134
|
+
cdc refactor legacy_code.py --auto-context
|
|
135
|
+
|
|
136
|
+
# Refactor with interactive refinement
|
|
137
|
+
cdc refactor legacy_code.py --interactive
|
|
116
138
|
|
|
117
139
|
# Git commit message
|
|
118
140
|
git add .
|
|
119
141
|
cdc git commit
|
|
120
142
|
```
|
|
121
143
|
|
|
144
|
+
### 4. Context-Aware Operations (NEW in v0.8.0)
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Auto-context includes: git info, dependencies, related files
|
|
148
|
+
|
|
149
|
+
# Review with full project context
|
|
150
|
+
cdc review mymodule.py --auto-context
|
|
151
|
+
# ✓ Context gathered (git, dependencies, tests)
|
|
152
|
+
|
|
153
|
+
# Debug with parsed error details
|
|
154
|
+
python broken.py 2>&1 | cdc debug -f broken.py --auto-context
|
|
155
|
+
# ✓ Context gathered (error details, git context)
|
|
156
|
+
|
|
157
|
+
# Ask questions with file context
|
|
158
|
+
cdc ask -f mycode.py --auto-context "how can I improve this?"
|
|
159
|
+
# ✓ Context gathered
|
|
160
|
+
|
|
161
|
+
# Refactor with related files
|
|
162
|
+
cdc refactor app.py --auto-context
|
|
163
|
+
# Automatically includes imported modules and dependencies
|
|
164
|
+
```
|
|
165
|
+
|
|
122
166
|
### 5. Custom Templates
|
|
123
167
|
|
|
124
168
|
```bash
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "claude-dev-cli"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.8.0"
|
|
8
8
|
description = "A powerful CLI tool for developers using Claude AI with multi-API routing, test generation, code review, and usage tracking"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -34,6 +34,7 @@ dependencies = [
|
|
|
34
34
|
"pydantic>=2.0.0",
|
|
35
35
|
"keyring>=24.0.0",
|
|
36
36
|
"cryptography>=41.0.0",
|
|
37
|
+
"pyyaml>=6.0.0",
|
|
37
38
|
]
|
|
38
39
|
|
|
39
40
|
[project.optional-dependencies]
|