crackerjack 0.27.9__py3-none-any.whl → 0.29.0__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 crackerjack might be problematic. Click here for more details.
- crackerjack/.pre-commit-config-ai.yaml +1 -5
- crackerjack/__main__.py +48 -0
- crackerjack/crackerjack.py +1326 -45
- crackerjack/interactive.py +7 -16
- crackerjack/pyproject.toml +3 -1
- {crackerjack-0.27.9.dist-info → crackerjack-0.29.0.dist-info}/METADATA +636 -52
- {crackerjack-0.27.9.dist-info → crackerjack-0.29.0.dist-info}/RECORD +9 -9
- {crackerjack-0.27.9.dist-info → crackerjack-0.29.0.dist-info}/WHEEL +0 -0
- {crackerjack-0.27.9.dist-info → crackerjack-0.29.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -96,7 +96,7 @@ repos:
|
|
|
96
96
|
rev: v3.0.0
|
|
97
97
|
hooks:
|
|
98
98
|
- id: complexipy
|
|
99
|
-
args: ["-d", "low", "--output", "complexipy.json"]
|
|
99
|
+
args: ["-d", "low", "--output-json", "complexipy.json"]
|
|
100
100
|
stages: [pre-commit]
|
|
101
101
|
|
|
102
102
|
- repo: https://github.com/dosisod/refurb
|
|
@@ -116,10 +116,6 @@ repos:
|
|
|
116
116
|
- --aggressive
|
|
117
117
|
- --only-without-imports
|
|
118
118
|
- --guess-common-names
|
|
119
|
-
- --cache-dir=.autotyping-cache
|
|
120
|
-
- --workers=4
|
|
121
|
-
- --max-line-length=88
|
|
122
|
-
- --exclude-name=test_*,conftest
|
|
123
119
|
- crackerjack
|
|
124
120
|
types_or: [ python, pyi ]
|
|
125
121
|
language: python
|
crackerjack/__main__.py
CHANGED
|
@@ -30,6 +30,9 @@ class Options(BaseModel):
|
|
|
30
30
|
bump: BumpOption | None = None
|
|
31
31
|
verbose: bool = False
|
|
32
32
|
update_precommit: bool = False
|
|
33
|
+
update_docs: bool = False
|
|
34
|
+
force_update_docs: bool = False
|
|
35
|
+
compress_docs: bool = False
|
|
33
36
|
clean: bool = False
|
|
34
37
|
test: bool = False
|
|
35
38
|
benchmark: bool = False
|
|
@@ -43,6 +46,9 @@ class Options(BaseModel):
|
|
|
43
46
|
skip_hooks: bool = False
|
|
44
47
|
comprehensive: bool = False
|
|
45
48
|
async_mode: bool = False
|
|
49
|
+
track_progress: bool = False
|
|
50
|
+
resume_from: str | None = None
|
|
51
|
+
progress_file: str | None = None
|
|
46
52
|
|
|
47
53
|
@classmethod
|
|
48
54
|
@field_validator("publish", "bump", mode="before")
|
|
@@ -72,6 +78,21 @@ cli_options = {
|
|
|
72
78
|
"update_precommit": typer.Option(
|
|
73
79
|
False, "-u", "--update-precommit", help="Update pre-commit hooks."
|
|
74
80
|
),
|
|
81
|
+
"update_docs": typer.Option(
|
|
82
|
+
False,
|
|
83
|
+
"--update-docs",
|
|
84
|
+
help="Update CLAUDE.md and RULES.md with latest quality standards.",
|
|
85
|
+
),
|
|
86
|
+
"force_update_docs": typer.Option(
|
|
87
|
+
False,
|
|
88
|
+
"--force-update-docs",
|
|
89
|
+
help="Force update CLAUDE.md and RULES.md even if they exist.",
|
|
90
|
+
),
|
|
91
|
+
"compress_docs": typer.Option(
|
|
92
|
+
False,
|
|
93
|
+
"--compress-docs",
|
|
94
|
+
help="Automatically compress CLAUDE.md to optimize for Claude Code (enabled by default for other projects).",
|
|
95
|
+
),
|
|
75
96
|
"verbose": typer.Option(False, "-v", "--verbose", help="Enable verbose output."),
|
|
76
97
|
"publish": typer.Option(
|
|
77
98
|
None,
|
|
@@ -152,6 +173,21 @@ cli_options = {
|
|
|
152
173
|
help="Enable async mode for faster file operations (experimental).",
|
|
153
174
|
hidden=True,
|
|
154
175
|
),
|
|
176
|
+
"track_progress": typer.Option(
|
|
177
|
+
False,
|
|
178
|
+
"--track-progress",
|
|
179
|
+
help="Enable session progress tracking with detailed markdown output.",
|
|
180
|
+
),
|
|
181
|
+
"resume_from": typer.Option(
|
|
182
|
+
None,
|
|
183
|
+
"--resume-from",
|
|
184
|
+
help="Resume session from existing progress file.",
|
|
185
|
+
),
|
|
186
|
+
"progress_file": typer.Option(
|
|
187
|
+
None,
|
|
188
|
+
"--progress-file",
|
|
189
|
+
help="Custom path for progress file (default: SESSION-PROGRESS-{timestamp}.md).",
|
|
190
|
+
),
|
|
155
191
|
}
|
|
156
192
|
|
|
157
193
|
|
|
@@ -161,6 +197,9 @@ def main(
|
|
|
161
197
|
interactive: bool = cli_options["interactive"],
|
|
162
198
|
no_config_updates: bool = cli_options["no_config_updates"],
|
|
163
199
|
update_precommit: bool = cli_options["update_precommit"],
|
|
200
|
+
update_docs: bool = cli_options["update_docs"],
|
|
201
|
+
force_update_docs: bool = cli_options["force_update_docs"],
|
|
202
|
+
compress_docs: bool = cli_options["compress_docs"],
|
|
164
203
|
verbose: bool = cli_options["verbose"],
|
|
165
204
|
publish: BumpOption | None = cli_options["publish"],
|
|
166
205
|
all: BumpOption | None = cli_options["all"],
|
|
@@ -179,12 +218,18 @@ def main(
|
|
|
179
218
|
ai_agent: bool = cli_options["ai_agent"],
|
|
180
219
|
comprehensive: bool = cli_options["comprehensive"],
|
|
181
220
|
async_mode: bool = cli_options["async_mode"],
|
|
221
|
+
track_progress: bool = cli_options["track_progress"],
|
|
222
|
+
resume_from: str | None = cli_options["resume_from"],
|
|
223
|
+
progress_file: str | None = cli_options["progress_file"],
|
|
182
224
|
) -> None:
|
|
183
225
|
options = Options(
|
|
184
226
|
commit=commit,
|
|
185
227
|
interactive=interactive,
|
|
186
228
|
no_config_updates=no_config_updates,
|
|
187
229
|
update_precommit=update_precommit,
|
|
230
|
+
update_docs=update_docs,
|
|
231
|
+
force_update_docs=force_update_docs,
|
|
232
|
+
compress_docs=compress_docs,
|
|
188
233
|
verbose=verbose,
|
|
189
234
|
publish=publish,
|
|
190
235
|
bump=bump,
|
|
@@ -201,6 +246,9 @@ def main(
|
|
|
201
246
|
comprehensive=comprehensive,
|
|
202
247
|
create_pr=create_pr,
|
|
203
248
|
async_mode=async_mode,
|
|
249
|
+
track_progress=track_progress,
|
|
250
|
+
resume_from=resume_from,
|
|
251
|
+
progress_file=progress_file,
|
|
204
252
|
)
|
|
205
253
|
if ai_agent:
|
|
206
254
|
import os
|