pdd-cli 0.0.27__py3-none-any.whl → 0.0.29__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 pdd-cli might be problematic. Click here for more details.
- pdd/__init__.py +1 -1
- pdd/cli.py +7 -4
- pdd/{cli_3_0_1_0_20250510_000314.py → cli_3_0_1_0_20250510_005101.py} +3 -3
- pdd/{cli_4_0_1_0_20250510_000314.py → cli_4_0_1_0_20250510_005101.py} +3 -3
- {pdd_cli-0.0.27.dist-info → pdd_cli-0.0.29.dist-info}/METADATA +4 -3
- {pdd_cli-0.0.27.dist-info → pdd_cli-0.0.29.dist-info}/RECORD +12 -12
- /pdd/{cli_1_0_2_0_20250510_000314.py → cli_1_0_1_0_20250510_005101.py} +0 -0
- /pdd/{cli_2_0_1_0_20250510_000314.py → cli_2_0_1_0_20250510_005101.py} +0 -0
- {pdd_cli-0.0.27.dist-info → pdd_cli-0.0.29.dist-info}/WHEEL +0 -0
- {pdd_cli-0.0.27.dist-info → pdd_cli-0.0.29.dist-info}/entry_points.txt +0 -0
- {pdd_cli-0.0.27.dist-info → pdd_cli-0.0.29.dist-info}/licenses/LICENSE +0 -0
- {pdd_cli-0.0.27.dist-info → pdd_cli-0.0.29.dist-info}/top_level.txt +0 -0
pdd/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.29"
|
|
2
2
|
|
|
3
3
|
# Strength parameter used for LLM extraction across the codebase
|
|
4
4
|
# Used in postprocessing, XML tagging, code generation, and other extraction operations. The module should have a large context window and be affordable.
|
pdd/cli.py
CHANGED
|
@@ -26,7 +26,7 @@ from .crash_main import crash_main
|
|
|
26
26
|
from .detect_change_main import detect_change_main
|
|
27
27
|
from .fix_main import fix_main
|
|
28
28
|
from .fix_verification_main import fix_verification_main
|
|
29
|
-
from .install_completion import install_completion
|
|
29
|
+
from .install_completion import install_completion, get_local_pdd_path
|
|
30
30
|
from .preprocess_main import preprocess_main
|
|
31
31
|
from .split_main import split_main
|
|
32
32
|
from .trace_main import trace_main
|
|
@@ -136,6 +136,9 @@ def cli(
|
|
|
136
136
|
Main entry point for the PDD CLI. Handles global options and initializes context.
|
|
137
137
|
Supports multi-command chaining.
|
|
138
138
|
"""
|
|
139
|
+
# Ensure PDD_PATH is set before any commands run
|
|
140
|
+
get_local_pdd_path()
|
|
141
|
+
|
|
139
142
|
ctx.ensure_object(dict)
|
|
140
143
|
ctx.obj["force"] = force
|
|
141
144
|
ctx.obj["strength"] = strength
|
|
@@ -937,7 +940,7 @@ def auto_deps(
|
|
|
937
940
|
quiet = ctx.obj.get("quiet", False)
|
|
938
941
|
command_name = "auto-deps"
|
|
939
942
|
try:
|
|
940
|
-
clean_directory_path = directory_path.strip('"')
|
|
943
|
+
clean_directory_path = directory_path.strip('\"')
|
|
941
944
|
|
|
942
945
|
modified_prompt, total_cost, model_name = auto_deps_main(
|
|
943
946
|
ctx=ctx,
|
|
@@ -1014,8 +1017,8 @@ def verify(
|
|
|
1014
1017
|
output_results=output_results,
|
|
1015
1018
|
output_code=output_code,
|
|
1016
1019
|
output_program=output_program,
|
|
1017
|
-
loop=True,
|
|
1018
|
-
verification_program=program_file,
|
|
1020
|
+
loop=True,
|
|
1021
|
+
verification_program=program_file,
|
|
1019
1022
|
max_attempts=max_attempts,
|
|
1020
1023
|
budget=budget,
|
|
1021
1024
|
)
|
|
@@ -937,7 +937,7 @@ def auto_deps(
|
|
|
937
937
|
quiet = ctx.obj.get("quiet", False)
|
|
938
938
|
command_name = "auto-deps"
|
|
939
939
|
try:
|
|
940
|
-
clean_directory_path = directory_path.strip('"')
|
|
940
|
+
clean_directory_path = directory_path.strip('\"')
|
|
941
941
|
|
|
942
942
|
modified_prompt, total_cost, model_name = auto_deps_main(
|
|
943
943
|
ctx=ctx,
|
|
@@ -1014,8 +1014,8 @@ def verify(
|
|
|
1014
1014
|
output_results=output_results,
|
|
1015
1015
|
output_code=output_code,
|
|
1016
1016
|
output_program=output_program,
|
|
1017
|
-
loop=True,
|
|
1018
|
-
verification_program=program_file,
|
|
1017
|
+
loop=True,
|
|
1018
|
+
verification_program=program_file,
|
|
1019
1019
|
max_attempts=max_attempts,
|
|
1020
1020
|
budget=budget,
|
|
1021
1021
|
)
|
|
@@ -937,7 +937,7 @@ def auto_deps(
|
|
|
937
937
|
quiet = ctx.obj.get("quiet", False)
|
|
938
938
|
command_name = "auto-deps"
|
|
939
939
|
try:
|
|
940
|
-
clean_directory_path = directory_path.strip('"')
|
|
940
|
+
clean_directory_path = directory_path.strip('\"')
|
|
941
941
|
|
|
942
942
|
modified_prompt, total_cost, model_name = auto_deps_main(
|
|
943
943
|
ctx=ctx,
|
|
@@ -1014,8 +1014,8 @@ def verify(
|
|
|
1014
1014
|
output_results=output_results,
|
|
1015
1015
|
output_code=output_code,
|
|
1016
1016
|
output_program=output_program,
|
|
1017
|
-
loop=True,
|
|
1018
|
-
verification_program=program_file,
|
|
1017
|
+
loop=True,
|
|
1018
|
+
verification_program=program_file,
|
|
1019
1019
|
max_attempts=max_attempts,
|
|
1020
1020
|
budget=budget,
|
|
1021
1021
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pdd-cli
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.29
|
|
4
4
|
Summary: PDD (Prompt-Driven Development) Command Line Interface
|
|
5
5
|
Author: Greg Tanaka
|
|
6
6
|
Author-email: glt@alumni.caltech.edu
|
|
@@ -26,6 +26,7 @@ Requires-Dist: click==8.1.7
|
|
|
26
26
|
Requires-Dist: firecrawl-py
|
|
27
27
|
Requires-Dist: firebase_admin==6.6.0
|
|
28
28
|
Requires-Dist: keyring==25.6.0
|
|
29
|
+
Requires-Dist: langchain_core==0.3.56
|
|
29
30
|
Requires-Dist: nest_asyncio==1.6.0
|
|
30
31
|
Requires-Dist: pandas==2.2.3
|
|
31
32
|
Requires-Dist: psutil==5.9.0
|
|
@@ -45,7 +46,7 @@ Requires-Dist: pytest-asyncio; extra == "dev"
|
|
|
45
46
|
Requires-Dist: z3-solver; extra == "dev"
|
|
46
47
|
Dynamic: license-file
|
|
47
48
|
|
|
48
|
-
.. image:: https://img.shields.io/badge/pdd--cli-v0.0.
|
|
49
|
+
.. image:: https://img.shields.io/badge/pdd--cli-v0.0.29-blue
|
|
49
50
|
:alt: PDD-CLI Version
|
|
50
51
|
|
|
51
52
|
PDD (Prompt-Driven Development) Command Line Interface
|
|
@@ -106,7 +107,7 @@ After installation, verify:
|
|
|
106
107
|
|
|
107
108
|
pdd --version
|
|
108
109
|
|
|
109
|
-
You'll see the current PDD version (e.g., 0.0.
|
|
110
|
+
You'll see the current PDD version (e.g., 0.0.29).
|
|
110
111
|
|
|
111
112
|
Advanced Installation Tips
|
|
112
113
|
--------------------------
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pdd/__init__.py,sha256=
|
|
1
|
+
pdd/__init__.py,sha256=IATGkm8evee1Q95OC72gW3GBnfPs9KnYYuTWDIKs-Wc,477
|
|
2
2
|
pdd/auto_deps_main.py,sha256=NVLqL5FHxe2eorViXTuh8z2zH9Sb-b6MNN9aZ1hqevY,3552
|
|
3
3
|
pdd/auto_include.py,sha256=aCa2QXDlOdKbh4vS3uDjWptkHB_Qv3QBNCbZe6mGWoo,6074
|
|
4
4
|
pdd/auto_update.py,sha256=Pfav1hrqQIDjZIPuIvryBeM7k-Rc72feVUTJZPtigaU,2889
|
|
@@ -6,11 +6,11 @@ pdd/bug_main.py,sha256=cSGBnHmFIA8WrkGiohJFVRuM2086v-wlPvTJqTv00WQ,4631
|
|
|
6
6
|
pdd/bug_to_unit_test.py,sha256=oejqoKomLseKknYDFlQKQ04TNT3soqOjMPghxty8Guo,6311
|
|
7
7
|
pdd/change.py,sha256=EKmv7WvXNX24rjLCnrcaoo4xOVkNhCa9HLRbpMAxQSw,5036
|
|
8
8
|
pdd/change_main.py,sha256=5IAFW1_eazYCr3F1DlfO6FDpNDZ4LgkXBWLb6rKW-PQ,25643
|
|
9
|
-
pdd/cli.py,sha256=
|
|
10
|
-
pdd/
|
|
11
|
-
pdd/
|
|
12
|
-
pdd/
|
|
13
|
-
pdd/
|
|
9
|
+
pdd/cli.py,sha256=Z5AE8uVUnzZiuEyZqe9lMu6hUG6pK2_qg9NBwEPNIks,37463
|
|
10
|
+
pdd/cli_1_0_1_0_20250510_005101.py,sha256=oYQJiuc5txvR24YJyCt9jwBJlwr3ufAGhzxVhIjj0oI,37360
|
|
11
|
+
pdd/cli_2_0_1_0_20250510_005101.py,sha256=oYQJiuc5txvR24YJyCt9jwBJlwr3ufAGhzxVhIjj0oI,37360
|
|
12
|
+
pdd/cli_3_0_1_0_20250510_005101.py,sha256=oYQJiuc5txvR24YJyCt9jwBJlwr3ufAGhzxVhIjj0oI,37360
|
|
13
|
+
pdd/cli_4_0_1_0_20250510_005101.py,sha256=oYQJiuc5txvR24YJyCt9jwBJlwr3ufAGhzxVhIjj0oI,37360
|
|
14
14
|
pdd/cmd_test_main.py,sha256=aSCxRnSurg15AvPcJDAPp9xy8p_qqnjU1oV14Hi2R54,5301
|
|
15
15
|
pdd/code_generator.py,sha256=DqQNN6jCNjSJvHi0IFyqkSfak6LeDG-yQHPYnvd4AJQ,4424
|
|
16
16
|
pdd/code_generator_main.py,sha256=G2eRBPXc1cGszkk0PbIPmJZHPaf_dw5d2yZbsvQZA3c,4793
|
|
@@ -102,9 +102,9 @@ pdd/prompts/trim_results_start_LLM.prompt,sha256=OKz8fAf1cYWKWgslFOHEkUpfaUDARh3
|
|
|
102
102
|
pdd/prompts/unfinished_prompt_LLM.prompt,sha256=-JgBpiPTQZdWOAwOG1XpfpD9waynFTAT3Jo84eQ4bTw,1543
|
|
103
103
|
pdd/prompts/update_prompt_LLM.prompt,sha256=prIc8uLp2jqnLTHt6JvWDZGanPZipivhhYeXe0lVaYw,1328
|
|
104
104
|
pdd/prompts/xml_convertor_LLM.prompt,sha256=YGRGXJeg6EhM9690f-SKqQrKqSJjLFD51UrPOlO0Frg,2786
|
|
105
|
-
pdd_cli-0.0.
|
|
106
|
-
pdd_cli-0.0.
|
|
107
|
-
pdd_cli-0.0.
|
|
108
|
-
pdd_cli-0.0.
|
|
109
|
-
pdd_cli-0.0.
|
|
110
|
-
pdd_cli-0.0.
|
|
105
|
+
pdd_cli-0.0.29.dist-info/licenses/LICENSE,sha256=-1bjYH-CEjGEQ8VixtnRYuu37kN6F9NxmZSDkBuUQ9o,1062
|
|
106
|
+
pdd_cli-0.0.29.dist-info/METADATA,sha256=m550bKFJwelf3Zl4FmBjlEsMoccDOiMGlxYe2UhkHg8,6949
|
|
107
|
+
pdd_cli-0.0.29.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
|
108
|
+
pdd_cli-0.0.29.dist-info/entry_points.txt,sha256=Kr8HtNVb8uHZtQJNH4DnF8j7WNgWQbb7_Pw5hECSR-I,36
|
|
109
|
+
pdd_cli-0.0.29.dist-info/top_level.txt,sha256=xjnhIACeMcMeDfVNREgQZl4EbTni2T11QkL5r7E-sbE,4
|
|
110
|
+
pdd_cli-0.0.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|