pdd-cli 0.0.22__py3-none-any.whl → 0.0.23__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
@@ -0,0 +1 @@
1
+ __version__ = "0.0.23"
pdd/cli.py CHANGED
@@ -12,6 +12,7 @@ from rich.panel import Panel
12
12
 
13
13
  from .install_completion import install_completion as install_completion_main
14
14
  import pdd.install_completion
15
+ from pdd import __version__
15
16
 
16
17
  pdd.install_completion.get_local_pdd_path()
17
18
  # ----------------------------------------------------------------------
@@ -46,7 +47,7 @@ console = Console()
46
47
  @click.option("--review-examples", is_flag=True,
47
48
  help="Review and optionally exclude few-shot examples before command execution.")
48
49
  @click.option('--local', is_flag=True, help='Run commands locally instead of in the cloud.')
49
- @click.version_option(version="0.0.22")
50
+ @click.version_option(version=__version__)
50
51
  @click.pass_context
51
52
  def cli(
52
53
  ctx,
@@ -374,9 +375,9 @@ def crash(
374
375
  @cli.command(name="install_completion")
375
376
  def install_completion():
376
377
  """
377
- Install shell completion for the PDD CLI by detecting the users shell,
378
+ Install shell completion for the PDD CLI by detecting the user's shell,
378
379
  copying the relevant completion script, and appending a source command
379
- to the users shell RC file if not already present.
380
+ to the user's shell RC file if not already present.
380
381
  """
381
382
  return install_completion_main()
382
383
 
pdd/install_completion.py CHANGED
@@ -19,11 +19,11 @@ def get_local_pdd_path() -> str:
19
19
  return os.environ["PDD_PATH"]
20
20
  else:
21
21
  try:
22
- with importlib.resources.path("pdd", "cli.py") as p:
23
- fallback_path = str(p.parent)
24
- # Also set it back into the environment for consistency
25
- os.environ["PDD_PATH"] = fallback_path
26
- return fallback_path
22
+ p = importlib.resources.files("pdd").joinpath("cli.py")
23
+ fallback_path = str(p.parent)
24
+ # Also set it back into the environment for consistency
25
+ os.environ["PDD_PATH"] = fallback_path
26
+ return fallback_path
27
27
  except ImportError:
28
28
  rprint(
29
29
  "[red]Error: Could not determine the path to the 'pdd' package. "
@@ -90,9 +90,9 @@ def get_completion_script_extension(shell: str) -> str:
90
90
 
91
91
  def install_completion():
92
92
  """
93
- Install shell completion for the PDD CLI by detecting the users shell,
93
+ Install shell completion for the PDD CLI by detecting the user's shell,
94
94
  copying the relevant completion script, and appending a source command
95
- to the users shell RC file if not already present.
95
+ to the user's shell RC file if not already present.
96
96
  """
97
97
  shell = get_current_shell()
98
98
  rc_file = get_shell_rc_path(shell)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pdd-cli
3
- Version: 0.0.22
3
+ Version: 0.0.23
4
4
  Summary: PDD (Prompt-Driven Development) Command Line Interface
5
5
  Author: Greg Tanaka
6
6
  Author-email: glt@alumni.caltech.edu
@@ -47,9 +47,13 @@ Requires-Dist: rich==14.0.0
47
47
  Requires-Dist: semver==3.0.2
48
48
  Requires-Dist: setuptools
49
49
  Requires-Dist: python-Levenshtein
50
+ Provides-Extra: dev
51
+ Requires-Dist: commitizen; extra == "dev"
52
+ Requires-Dist: pytest; extra == "dev"
53
+ Requires-Dist: pytest-cov; extra == "dev"
50
54
  Dynamic: license-file
51
55
 
52
- .. image:: https://img.shields.io/badge/pdd--cli-v0.0.22-blue
56
+ .. image:: https://img.shields.io/badge/pdd--cli-v0.0.23-blue
53
57
  :alt: PDD-CLI Version
54
58
 
55
59
  PDD (Prompt-Driven Development) Command Line Interface
@@ -110,7 +114,7 @@ After installation, verify:
110
114
 
111
115
  pdd --version
112
116
 
113
- You'll see the current PDD version (e.g., 0.0.22).
117
+ You'll see the current PDD version (e.g., 0.0.23).
114
118
 
115
119
  Advanced Installation Tips
116
120
  --------------------------
@@ -1,4 +1,4 @@
1
- pdd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1
+ pdd/__init__.py,sha256=CO0VmekjZ_r8LBYVaUXTM3i08rEVwYKhjb9sy0X7vz0,23
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,7 +6,7 @@ pdd/bug_main.py,sha256=myKU9--QWdkV4Wf3mD2PoLPJFNgRjwf4z8s7TC28G_s,3720
6
6
  pdd/bug_to_unit_test.py,sha256=dsJNm6qAwx-m7RvFF5RquFJRzxzZGCWT4IKYnzVCUws,5569
7
7
  pdd/change.py,sha256=iqjWS5DrQ73yMkuUQlwIRIFlofmKdaK6t6-v3zHKL-4,4985
8
8
  pdd/change_main.py,sha256=yL_i1Ws5vt4vAkWiC826csNi2cHP6wKbwe_PfMqbbPY,11407
9
- pdd/cli.py,sha256=LdJtulJ50L1pWUYcGghr7AUoS5fYwK6WY2VTKtWlbPI,16593
9
+ pdd/cli.py,sha256=EvCWObNZwmQgLvCdgEan3-4DNnlTPOVqvNaPLfd-Vcs,16620
10
10
  pdd/cmd_test_main.py,sha256=aSCxRnSurg15AvPcJDAPp9xy8p_qqnjU1oV14Hi2R54,5301
11
11
  pdd/code_generator.py,sha256=n5akrX7VPe71X4RsD6kKqAVvzBLMlciJI4RtJA1PcgA,4375
12
12
  pdd/code_generator_main.py,sha256=G2eRBPXc1cGszkk0PbIPmJZHPaf_dw5d2yZbsvQZA3c,4793
@@ -36,7 +36,7 @@ pdd/get_language.py,sha256=yxyQqVEb5H3ep3Hc6XgAl3vMLTHD5OIs8ZSekB493GA,1438
36
36
  pdd/git_update.py,sha256=Ya7eI7YFtGIpT7FdziFJfnFkiZlj8I9Lh98lqtXfClc,2855
37
37
  pdd/increase_tests.py,sha256=axOvM_F7pLRevWJsYe2W7d24OA7P-FaWShE4cotktNo,3424
38
38
  pdd/insert_includes.py,sha256=UASoq_46UNL6l7VGB7DW2jb4kcWlP6Hbj2EWuh7210Q,5310
39
- pdd/install_completion.py,sha256=joTIKRkx0e6kRrXj9NXtMODnIG-G0Twt7wBmj8TirmE,5102
39
+ pdd/install_completion.py,sha256=H_FIid0eHCn7I6HHIsBqdComAxjLIu7CbD6yfMU48aw,5085
40
40
  pdd/llm_invoke.py,sha256=Yhpoom9Ptgl_hjfWOFA_AhNQE2VFy07J9qWiEuHTP4Y,17343
41
41
  pdd/load_prompt_template.py,sha256=4NH8_t5eon_vcyTznqtemJ_yAPkTJm_hSdTRgzj3qEQ,1907
42
42
  pdd/mcp_config.json,sha256=D3ctWHlShvltbtH37zbYb6smVE0V80_lGjDKDIqsSBE,124
@@ -92,9 +92,9 @@ pdd/prompts/trim_results_start_LLM.prompt,sha256=WwFlOHha4wzMLtRHDMI6GtcNdl2toE8
92
92
  pdd/prompts/unfinished_prompt_LLM.prompt,sha256=-JgBpiPTQZdWOAwOG1XpfpD9waynFTAT3Jo84eQ4bTw,1543
93
93
  pdd/prompts/update_prompt_LLM.prompt,sha256=_lGaxeVP4oF8yGqiN6yj6UE0j79lxfGdjsYr5w5KSYk,1261
94
94
  pdd/prompts/xml_convertor_LLM.prompt,sha256=YGRGXJeg6EhM9690f-SKqQrKqSJjLFD51UrPOlO0Frg,2786
95
- pdd_cli-0.0.22.dist-info/licenses/LICENSE,sha256=-1bjYH-CEjGEQ8VixtnRYuu37kN6F9NxmZSDkBuUQ9o,1062
96
- pdd_cli-0.0.22.dist-info/METADATA,sha256=yCqlXrfcKqJWPmwOBFL52z6U9ICqamhiuLKs625bXQo,7114
97
- pdd_cli-0.0.22.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
98
- pdd_cli-0.0.22.dist-info/entry_points.txt,sha256=Kr8HtNVb8uHZtQJNH4DnF8j7WNgWQbb7_Pw5hECSR-I,36
99
- pdd_cli-0.0.22.dist-info/top_level.txt,sha256=xjnhIACeMcMeDfVNREgQZl4EbTni2T11QkL5r7E-sbE,4
100
- pdd_cli-0.0.22.dist-info/RECORD,,
95
+ pdd_cli-0.0.23.dist-info/licenses/LICENSE,sha256=-1bjYH-CEjGEQ8VixtnRYuu37kN6F9NxmZSDkBuUQ9o,1062
96
+ pdd_cli-0.0.23.dist-info/METADATA,sha256=1JRpguh-jzZ1rhzzb-05CsxwU4kdddAoCBoWhg-5X1Q,7256
97
+ pdd_cli-0.0.23.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
98
+ pdd_cli-0.0.23.dist-info/entry_points.txt,sha256=Kr8HtNVb8uHZtQJNH4DnF8j7WNgWQbb7_Pw5hECSR-I,36
99
+ pdd_cli-0.0.23.dist-info/top_level.txt,sha256=xjnhIACeMcMeDfVNREgQZl4EbTni2T11QkL5r7E-sbE,4
100
+ pdd_cli-0.0.23.dist-info/RECORD,,