cli-usereq 0.75.7__tar.gz → 0.75.8__tar.gz

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.
Files changed (47) hide show
  1. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/PKG-INFO +4 -4
  2. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/README.md +3 -3
  3. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/pyproject.toml +1 -1
  4. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/__init__.py +1 -1
  5. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/cli.py +12 -6
  6. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/uv.lock +1 -1
  7. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/LICENSE +0 -0
  8. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/MANIFEST.in +0 -0
  9. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/setup.cfg +0 -0
  10. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/setup.py +0 -0
  11. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/__main__.py +0 -0
  12. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/compress.py +0 -0
  13. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/compress_files.py +0 -0
  14. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/config_cli.py +0 -0
  15. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/config_schema.py +0 -0
  16. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/doxygen_parser.py +0 -0
  17. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/find_constructs.py +0 -0
  18. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/generate_markdown.py +0 -0
  19. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/guidelines/Google_C++_Style_Guide.md +0 -0
  20. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/guidelines/Google_Python_Style_Guide.md +0 -0
  21. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/guidelines/Google_TypeScript_Style_Guide.md +0 -0
  22. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/guidelines/RFC2119.md +0 -0
  23. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/analyze.md +0 -0
  24. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/change.md +0 -0
  25. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/check.md +0 -0
  26. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/cover.md +0 -0
  27. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/create.md +0 -0
  28. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/fix.md +0 -0
  29. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/flowchart.md +0 -0
  30. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/implement.md +0 -0
  31. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/new.md +0 -0
  32. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/orchestrate.md +0 -0
  33. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/readme.md +0 -0
  34. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/recreate.md +0 -0
  35. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/refactor.md +0 -0
  36. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/references.md +0 -0
  37. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/renumber.md +0 -0
  38. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/workflow.md +0 -0
  39. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts/write.md +0 -0
  40. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/prompts-version.txt +0 -0
  41. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/templates/Agentic_Text_Authoring_Guidance.md +0 -0
  42. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/templates/Document_Source_Code_in_Doxygen_Style.md +0 -0
  43. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/templates/HDT_Test_Authoring_Guide.md +0 -0
  44. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/resources/templates/Requirements_Template.md +0 -0
  45. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/source_analyzer.py +0 -0
  46. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/static_check.py +0 -0
  47. {cli_usereq-0.75.7 → cli_usereq-0.75.8}/src/usereq/token_counter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cli-usereq
3
- Version: 0.75.7
3
+ Version: 0.75.8
4
4
  Summary: Initialize a project with prompts, agents, and templates from the useReq repository.
5
5
  Author: Ogekuri
6
6
  License-Expression: GPL-3.0-only
@@ -34,7 +34,7 @@ Dynamic: license-file
34
34
  > * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
35
35
  > * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
36
36
 
37
- # useReq / req (0.75.7)
37
+ # useReq / req (0.75.8)
38
38
 
39
39
  <p align="center">
40
40
  <img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
@@ -143,7 +143,7 @@ req --upgrade
143
143
  req --upgrade --force
144
144
  ```
145
145
 
146
- On Linux this executes the standard `uv tool install cli-usereq` command from the PyPI index without any forcing option; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
146
+ On Linux this executes `uv tool install cli-usereq --upgrade` from the PyPI index without any forcing option, so an outdated installation is actually upgraded to the latest published version; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
147
147
 
148
148
  ### Install from GitHub (alternative channel)
149
149
 
@@ -320,7 +320,7 @@ Notes:
320
320
  - `--verbose` / `--debug` — detailed and diagnostic output.
321
321
  - `--ver` / `--version` — print the installed package version and query PyPI and GitHub, printing three aligned lines: `Current Installed : <version>`, `Latest @ PyPI : <version>`, and `Latest @ GitHub : <version>` (`unknown` when a repository cannot be reached).
322
322
  - `--develop` / `--dev` — with `--upgrade`: install the latest tagged GitHub release from `git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, with `<TAG>` resolved through the GitHub releases API regardless of branch, instead of PyPI; `--dev` is an equivalent alias of `--develop`.
323
- - `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the standard install/update process runs without any forcing option.
323
+ - `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the command requests the latest PyPI version through `--upgrade` and runs without any forcing option.
324
324
  - `-h` / `--help` — print command help and exit.
325
325
 
326
326
  A startup release check queries the latest PyPI release (idle-gated to at most once per hour; once per day on API failures) and prints a bright-green stderr notice when a newer version is available.
@@ -10,7 +10,7 @@
10
10
  > * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
11
11
  > * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
12
12
 
13
- # useReq / req (0.75.7)
13
+ # useReq / req (0.75.8)
14
14
 
15
15
  <p align="center">
16
16
  <img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
@@ -119,7 +119,7 @@ req --upgrade
119
119
  req --upgrade --force
120
120
  ```
121
121
 
122
- On Linux this executes the standard `uv tool install cli-usereq` command from the PyPI index without any forcing option; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
122
+ On Linux this executes `uv tool install cli-usereq --upgrade` from the PyPI index without any forcing option, so an outdated installation is actually upgraded to the latest published version; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
123
123
 
124
124
  ### Install from GitHub (alternative channel)
125
125
 
@@ -296,7 +296,7 @@ Notes:
296
296
  - `--verbose` / `--debug` — detailed and diagnostic output.
297
297
  - `--ver` / `--version` — print the installed package version and query PyPI and GitHub, printing three aligned lines: `Current Installed : <version>`, `Latest @ PyPI : <version>`, and `Latest @ GitHub : <version>` (`unknown` when a repository cannot be reached).
298
298
  - `--develop` / `--dev` — with `--upgrade`: install the latest tagged GitHub release from `git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, with `<TAG>` resolved through the GitHub releases API regardless of branch, instead of PyPI; `--dev` is an equivalent alias of `--develop`.
299
- - `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the standard install/update process runs without any forcing option.
299
+ - `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the command requests the latest PyPI version through `--upgrade` and runs without any forcing option.
300
300
  - `-h` / `--help` — print command help and exit.
301
301
 
302
302
  A startup release check queries the latest PyPI release (idle-gated to at most once per hour; once per day on API failures) and prints a bright-green stderr notice when a newer version is available.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cli-usereq"
7
- version = "0.75.7"
7
+ version = "0.75.8"
8
8
  description = "Initialize a project with prompts, agents, and templates from the useReq repository."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -18,7 +18,7 @@ from . import source_analyzer # usereq.source_analyzer submodule
18
18
  from . import token_counter # usereq.token_counter submodule
19
19
  from typing import Any
20
20
 
21
- __version__ = "0.75.7"
21
+ __version__ = "0.75.8"
22
22
  """! @brief Semantic version string of the package."""
23
23
 
24
24
 
@@ -987,12 +987,16 @@ def run_upgrade(use_github: bool = False, force: bool = False) -> None:
987
987
  the package and fully reinstalls it (`--upgrade --force`, SRS-508, SRS-509, SRS-510).
988
988
  @details Builds the standard `uv tool install cli-usereq` command against the PyPI index
989
989
  by default (SRS-343); without `force` no forcing option is passed so the standard
990
- install/update process runs unchanged. When `force` is True the command becomes
991
- `uv tool install cli-usereq --force --reinstall --refresh` (SRS-509). When `use_github`
992
- is True, resolves the latest GitHub release tag through `_resolve_github_upgrade_tag()`
993
- (SRS-451) and appends `--from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`
994
- regardless of the branch holding that tag (SRS-440, SRS-452, SRS-510). Executes the
995
- command only on Linux; on non-Linux platforms prints the manual command and skips uv
990
+ install/update process runs unchanged, and `--upgrade` is appended so uv resolves and
991
+ installs the latest PyPI version instead of reusing the already-installed tool version.
992
+ When `force` is True the command becomes the forced reinstallation form
993
+ `uv tool install cli-usereq --force --reinstall --refresh` (SRS-509).
994
+ When `use_github` is True, resolves the latest GitHub release tag through
995
+ `_resolve_github_upgrade_tag()` (SRS-451) and appends
996
+ `--from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` regardless of the branch
997
+ holding that tag (SRS-440, SRS-452, SRS-510); the git source spec re-resolves the
998
+ requested tag on every invocation, so no additional upgrade option is needed. Executes
999
+ the command only on Linux; on non-Linux platforms prints the manual command and skips uv
996
1000
  execution.
997
1001
  @throws {ReqError} When the SRS-451 GitHub tag resolution fails (exit code 1, SRS-453) or
998
1002
  when the uv process fails.
@@ -1012,6 +1016,8 @@ def run_upgrade(use_github: bool = False, force: bool = False) -> None:
1012
1016
  ]
1013
1017
  if force:
1014
1018
  command += ["--force", "--reinstall", "--refresh"]
1019
+ elif not use_github:
1020
+ command += ["--upgrade"]
1015
1021
  if use_github:
1016
1022
  resolved_tag = _resolve_github_upgrade_tag()
1017
1023
  command += ["--from", f"{GITHUB_UPGRADE_SOURCE}@{resolved_tag}"]
@@ -86,7 +86,7 @@ wheels = [
86
86
 
87
87
  [[package]]
88
88
  name = "cli-usereq"
89
- version = "0.75.7"
89
+ version = "0.75.8"
90
90
  source = { editable = "." }
91
91
  dependencies = [
92
92
  { name = "pyright" },
File without changes
File without changes
File without changes
File without changes