crackerjack 0.39.8__py3-none-any.whl → 0.39.10__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/__main__.py +7 -4
- crackerjack/mcp/tools/workflow_executor.py +24 -7
- {crackerjack-0.39.8.dist-info → crackerjack-0.39.10.dist-info}/METADATA +1 -1
- {crackerjack-0.39.8.dist-info → crackerjack-0.39.10.dist-info}/RECORD +7 -7
- {crackerjack-0.39.8.dist-info → crackerjack-0.39.10.dist-info}/WHEEL +0 -0
- {crackerjack-0.39.8.dist-info → crackerjack-0.39.10.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.39.8.dist-info → crackerjack-0.39.10.dist-info}/licenses/LICENSE +0 -0
crackerjack/__main__.py
CHANGED
|
@@ -474,14 +474,15 @@ def _handle_version_analysis(
|
|
|
474
474
|
|
|
475
475
|
|
|
476
476
|
def _setup_debug_and_verbose_flags(
|
|
477
|
-
ai_debug: bool, debug: bool, verbose: bool, options: t.Any
|
|
477
|
+
ai_fix: bool, ai_debug: bool, debug: bool, verbose: bool, options: t.Any
|
|
478
478
|
) -> tuple[bool, bool]:
|
|
479
479
|
"""Configure debug and verbose flags and update options.
|
|
480
480
|
|
|
481
|
+
Preserves the user's ai_fix flag value, but ai_debug can override it to True.
|
|
482
|
+
|
|
481
483
|
Returns tuple of (ai_fix, verbose) flags.
|
|
482
484
|
"""
|
|
483
|
-
ai_fix
|
|
484
|
-
|
|
485
|
+
# Preserve user's ai_fix flag, but ai_debug implies ai_fix
|
|
485
486
|
if ai_debug:
|
|
486
487
|
ai_fix = True
|
|
487
488
|
verbose = True
|
|
@@ -1462,7 +1463,9 @@ def main(
|
|
|
1462
1463
|
options.remove_from_index = remove_from_index
|
|
1463
1464
|
|
|
1464
1465
|
# Setup debug and verbose flags
|
|
1465
|
-
ai_fix, verbose = _setup_debug_and_verbose_flags(
|
|
1466
|
+
ai_fix, verbose = _setup_debug_and_verbose_flags(
|
|
1467
|
+
ai_fix, ai_debug, debug, verbose, options
|
|
1468
|
+
)
|
|
1466
1469
|
setup_ai_agent_env(ai_fix, ai_debug or debug)
|
|
1467
1470
|
|
|
1468
1471
|
# Process all commands - returns True if should continue to main workflow
|
|
@@ -13,16 +13,23 @@ async def execute_crackerjack_workflow(
|
|
|
13
13
|
) -> dict[str, t.Any]:
|
|
14
14
|
job_id = str(uuid.uuid4())[:8]
|
|
15
15
|
|
|
16
|
+
# Get context first
|
|
17
|
+
context = get_context()
|
|
18
|
+
|
|
16
19
|
# Initialize progress immediately
|
|
17
|
-
|
|
20
|
+
_update_progress(
|
|
18
21
|
job_id,
|
|
19
22
|
{"status": "started", "args": args, "timestamp": time.time()},
|
|
23
|
+
context,
|
|
24
|
+
1,
|
|
25
|
+
5,
|
|
26
|
+
0,
|
|
27
|
+
"initialization",
|
|
20
28
|
0,
|
|
21
|
-
|
|
29
|
+
"Crackerjack execution started",
|
|
22
30
|
)
|
|
23
31
|
|
|
24
32
|
# Start execution in background - no timeout!
|
|
25
|
-
context = get_context()
|
|
26
33
|
asyncio.create_task(_execute_crackerjack_background(job_id, args, kwargs, context))
|
|
27
34
|
|
|
28
35
|
# Return job_id immediately for progress monitoring
|
|
@@ -45,7 +52,7 @@ async def _execute_crackerjack_background(
|
|
|
45
52
|
result = await _execute_crackerjack_sync(job_id, args, kwargs, context)
|
|
46
53
|
|
|
47
54
|
# Update final progress with result
|
|
48
|
-
|
|
55
|
+
_update_progress(
|
|
49
56
|
job_id,
|
|
50
57
|
{
|
|
51
58
|
"status": result.get("status", "completed"),
|
|
@@ -53,14 +60,19 @@ async def _execute_crackerjack_background(
|
|
|
53
60
|
"timestamp": time.time(),
|
|
54
61
|
"final": True,
|
|
55
62
|
},
|
|
63
|
+
context,
|
|
64
|
+
1,
|
|
65
|
+
5,
|
|
66
|
+
100,
|
|
67
|
+
"completed",
|
|
56
68
|
100,
|
|
57
|
-
|
|
69
|
+
f"Execution {result.get('status', 'completed')}",
|
|
58
70
|
)
|
|
59
71
|
except Exception as e:
|
|
60
72
|
import traceback
|
|
61
73
|
|
|
62
74
|
# Update progress with error
|
|
63
|
-
|
|
75
|
+
_update_progress(
|
|
64
76
|
job_id,
|
|
65
77
|
{
|
|
66
78
|
"status": "failed",
|
|
@@ -69,8 +81,13 @@ async def _execute_crackerjack_background(
|
|
|
69
81
|
"timestamp": time.time(),
|
|
70
82
|
"final": True,
|
|
71
83
|
},
|
|
84
|
+
context,
|
|
85
|
+
1,
|
|
86
|
+
5,
|
|
87
|
+
-1,
|
|
88
|
+
"failed",
|
|
72
89
|
-1,
|
|
73
|
-
|
|
90
|
+
f"Execution failed: {e}",
|
|
74
91
|
)
|
|
75
92
|
|
|
76
93
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crackerjack
|
|
3
|
-
Version: 0.39.
|
|
3
|
+
Version: 0.39.10
|
|
4
4
|
Summary: Crackerjack Python project management tool
|
|
5
5
|
Project-URL: documentation, https://github.com/lesleslie/crackerjack
|
|
6
6
|
Project-URL: homepage, https://github.com/lesleslie/crackerjack
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
crackerjack/__init__.py,sha256=DajG9zHB8qBdgdiKMumrrssUbKeMXmtIQ3oOaSTb46Y,1426
|
|
2
|
-
crackerjack/__main__.py,sha256=
|
|
2
|
+
crackerjack/__main__.py,sha256=jf-77hiq9_OVWFUN3qaX1eiuFEg-GMDRnszwyujx22I,59085
|
|
3
3
|
crackerjack/api.py,sha256=PyCRaZHvKWdu62_2O4t_HcEfKNBdqyrfPdonS_PNn4c,21495
|
|
4
4
|
crackerjack/code_cleaner.py,sha256=M1zVaq31uW0nOkPneKR8kfR3892gyyVx0VhFgRaxsj4,44338
|
|
5
5
|
crackerjack/dynamic_config.py,sha256=MQpZpTcGeWruPb98XMJrsQWinSgVnZlAh1vPGwcETh8,21757
|
|
@@ -125,7 +125,7 @@ crackerjack/mcp/tools/proactive_tools.py,sha256=EKTCNS8285p6f3p3bd3AdEGN6OWMvAWn
|
|
|
125
125
|
crackerjack/mcp/tools/progress_tools.py,sha256=S4IkENegGaH06EYNotJ3m2Zuky2OMk-iSd3rLs9T9vs,6930
|
|
126
126
|
crackerjack/mcp/tools/semantic_tools.py,sha256=fPH5AAEyttdJibZzmFYTGlUw079ue2gSvTuHC_ihC_g,18512
|
|
127
127
|
crackerjack/mcp/tools/utility_tools.py,sha256=zt4tES5uhyvZfMdgtStlqItWCBA4MWqGCypQ5u_HPds,10367
|
|
128
|
-
crackerjack/mcp/tools/workflow_executor.py,sha256=
|
|
128
|
+
crackerjack/mcp/tools/workflow_executor.py,sha256=yRrbNUvmgMRz4nAYFB6TuBy7OgESHKByUc2y5I7Au28,20369
|
|
129
129
|
crackerjack/mcp/websocket/__init__.py,sha256=lZzyfvYjywHfqyy5X3wWR_jgBkRUxYSpgjdKALBzZcI,345
|
|
130
130
|
crackerjack/mcp/websocket/app.py,sha256=NGZemhdO4TdFBcA8IvRjpRR1_26FTWBGmOsGVyAD2pY,1339
|
|
131
131
|
crackerjack/mcp/websocket/endpoints.py,sha256=SHP6WEm88DMyZvHrc3i3r0o9IDU06Nvce7qPwr43Sv0,16158
|
|
@@ -235,8 +235,8 @@ crackerjack/tools/validate_input_validator_patterns.py,sha256=NN7smYlXWrHLQXTb-8
|
|
|
235
235
|
crackerjack/tools/validate_regex_patterns.py,sha256=J7GG9EP1fASpRIsG8qRPeiCSkdCwmk0sdo29GgoJ6w8,5863
|
|
236
236
|
crackerjack/ui/__init__.py,sha256=eMb1OeTU-dSLICAACn0YdYB4Amdr8wHckjKfn0wOIZE,37
|
|
237
237
|
crackerjack/ui/server_panels.py,sha256=F5IH6SNN06BaZQMsFx_D-OA286aojmaFPJ5kvvSRv_c,4232
|
|
238
|
-
crackerjack-0.39.
|
|
239
|
-
crackerjack-0.39.
|
|
240
|
-
crackerjack-0.39.
|
|
241
|
-
crackerjack-0.39.
|
|
242
|
-
crackerjack-0.39.
|
|
238
|
+
crackerjack-0.39.10.dist-info/METADATA,sha256=70NGIX7SNHgF62CnTiNROshmqVcvT45SG_p9TdVWGqQ,42314
|
|
239
|
+
crackerjack-0.39.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
240
|
+
crackerjack-0.39.10.dist-info/entry_points.txt,sha256=AJKNft0WXm9xoGUJ3Trl-iXHOWxRAYbagQiza3AILr4,57
|
|
241
|
+
crackerjack-0.39.10.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
|
242
|
+
crackerjack-0.39.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|