pdd-cli 0.0.26__py3-none-any.whl → 0.0.27__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 CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.0.26"
1
+ __version__ = "0.0.27"
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
@@ -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,
@@ -969,6 +969,12 @@ def auto_deps(
969
969
  default=None,
970
970
  help="Specify where to save the verified code file (file or directory).",
971
971
  )
972
+ @click.option(
973
+ "--output-program",
974
+ type=click.Path(writable=True),
975
+ default=None,
976
+ help="Specify where to save the verified program file (file or directory).",
977
+ )
972
978
  @click.option(
973
979
  "--max-attempts",
974
980
  type=int,
@@ -992,6 +998,7 @@ def verify(
992
998
  program_file: str,
993
999
  output_results: Optional[str],
994
1000
  output_code: Optional[str],
1001
+ output_program: Optional[str],
995
1002
  max_attempts: int,
996
1003
  budget: float,
997
1004
  ) -> Optional[Tuple[Dict[str, Any], float, str]]: # Modified return type
@@ -1006,8 +1013,9 @@ def verify(
1006
1013
  program_file=program_file,
1007
1014
  output_results=output_results,
1008
1015
  output_code=output_code,
1009
- loop=True,
1010
- verification_program=program_file,
1016
+ output_program=output_program,
1017
+ loop=True, # Default for CLI verify command
1018
+ verification_program=program_file, # Default for CLI verify command
1011
1019
  max_attempts=max_attempts,
1012
1020
  budget=budget,
1013
1021
  )
@@ -1015,6 +1023,7 @@ def verify(
1015
1023
  "success": success,
1016
1024
  "attempts": attempts,
1017
1025
  "verified_code_path": output_code,
1026
+ "verified_program_path": output_program,
1018
1027
  "results_log_path": output_results,
1019
1028
  }
1020
1029
  return result_data, cost, model