crackerjack 0.39.7__py3-none-any.whl → 0.39.9__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/mcp/tools/workflow_executor.py +24 -7
- {crackerjack-0.39.7.dist-info → crackerjack-0.39.9.dist-info}/METADATA +1 -1
- {crackerjack-0.39.7.dist-info → crackerjack-0.39.9.dist-info}/RECORD +6 -6
- {crackerjack-0.39.7.dist-info → crackerjack-0.39.9.dist-info}/WHEEL +0 -0
- {crackerjack-0.39.7.dist-info → crackerjack-0.39.9.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.39.7.dist-info → crackerjack-0.39.9.dist-info}/licenses/LICENSE +0 -0
|
@@ -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.9
|
|
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
|
|
@@ -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.9.dist-info/METADATA,sha256=3LNLV29-k6if-5195KRHbFfjTFurn7L5uYkUBaEO8ss,42313
|
|
239
|
+
crackerjack-0.39.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
240
|
+
crackerjack-0.39.9.dist-info/entry_points.txt,sha256=AJKNft0WXm9xoGUJ3Trl-iXHOWxRAYbagQiza3AILr4,57
|
|
241
|
+
crackerjack-0.39.9.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
|
242
|
+
crackerjack-0.39.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|