cli-usereq 0.71.0__tar.gz → 0.73.0__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.
- {cli_usereq-0.71.0/src/cli_usereq.egg-info → cli_usereq-0.73.0}/PKG-INFO +2 -2
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/README.md +1 -1
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/pyproject.toml +4 -3
- {cli_usereq-0.71.0 → cli_usereq-0.73.0/src/cli_usereq.egg-info}/PKG-INFO +2 -2
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/cli_usereq.egg-info/SOURCES.txt +8 -3
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/__init__.py +1 -1
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/cli.py +10 -8
- cli_usereq-0.73.0/src/usereq/resources/guidelines/Google_C++_Style_Guide.md +3711 -0
- cli_usereq-0.73.0/src/usereq/resources/guidelines/Google_Python_Style_Guide.md +3709 -0
- cli_usereq-0.73.0/src/usereq/resources/guidelines/Google_TypeScript_Style_Guide.md +2954 -0
- cli_usereq-0.73.0/src/usereq/resources/guidelines/RFC2119.md +127 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/analyze.md +2 -2
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/change.md +15 -15
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/check.md +2 -2
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/cover.md +15 -15
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/create.md +1 -1
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/fix.md +15 -15
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/flowchart.md +11 -11
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/implement.md +13 -13
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/new.md +14 -14
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/readme.md +11 -11
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/recreate.md +11 -11
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/refactor.md +15 -15
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/references.md +10 -10
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/renumber.md +10 -10
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/workflow.md +11 -11
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/resources/prompts/write.md +1 -1
- cli_usereq-0.73.0/src/usereq/resources/prompts-version.txt +1 -0
- cli_usereq-0.73.0/src/usereq/resources/templates/Agentic_Text_Authoring_Guidance.md +214 -0
- {cli_usereq-0.71.0/src/usereq/resources/docs → cli_usereq-0.73.0/src/usereq/resources/templates}/Document_Source_Code_in_Doxygen_Style.md +19 -0
- {cli_usereq-0.71.0/src/usereq/resources/docs → cli_usereq-0.73.0/src/usereq/resources/templates}/Requirements_Template.md +2 -22
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_cli.py +36 -1
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_dependency_manifests.py +1 -1
- cli_usereq-0.71.0/src/usereq/resources/prompts-version.txt +0 -1
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/LICENSE +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/setup.cfg +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/cli_usereq.egg-info/dependency_links.txt +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/cli_usereq.egg-info/entry_points.txt +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/cli_usereq.egg-info/requires.txt +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/cli_usereq.egg-info/top_level.txt +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/__main__.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/compress.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/compress_files.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/doxygen_parser.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/find_constructs.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/generate_markdown.py +0 -0
- {cli_usereq-0.71.0/src/usereq/resources/docs → cli_usereq-0.73.0/src/usereq/resources/templates}/HDT_Test_Authoring_Guide.md +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/source_analyzer.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/static_check.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/src/usereq/token_counter.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_analyzer_cli.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_analyzer_comments.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_analyzer_core.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_analyzer_errors.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_analyzer_format.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_analyzer_helpers.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_compress.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_doxygen_parser.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_files_commands.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_find_constructs.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_find_constructs_comprehensive.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_generate_markdown.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_helpers.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_import_isolation.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_pre_release_check.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_release_workflow.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_source_analyzer.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_static_check.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_token_counter.py +0 -0
- {cli_usereq-0.71.0 → cli_usereq-0.73.0}/tests/test_update_check.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cli-usereq
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.73.0
|
|
4
4
|
Summary: Initialize a project with prompts, agents, and templates from the useReq repository.
|
|
5
5
|
Author: Ogekuri
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -709,7 +709,7 @@ Dynamic: license-file
|
|
|
709
709
|
> * **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.
|
|
710
710
|
> * **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.
|
|
711
711
|
|
|
712
|
-
# useReq / req (0.
|
|
712
|
+
# useReq / req (0.73.0)
|
|
713
713
|
|
|
714
714
|
<p align="center">
|
|
715
715
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -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.
|
|
13
|
+
# useReq / req (0.73.0)
|
|
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+">
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cli-usereq"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.73.0"
|
|
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"
|
|
@@ -44,8 +44,9 @@ include-package-data = true
|
|
|
44
44
|
|
|
45
45
|
[tool.setuptools.package-data]
|
|
46
46
|
usereq = [
|
|
47
|
-
"resources/
|
|
48
|
-
"resources/
|
|
47
|
+
"resources/guidelines/*",
|
|
48
|
+
"resources/prompts/*",
|
|
49
|
+
"resources/templates/*",
|
|
49
50
|
"resources/prompts-version.txt",
|
|
50
51
|
]
|
|
51
52
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cli-usereq
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.73.0
|
|
4
4
|
Summary: Initialize a project with prompts, agents, and templates from the useReq repository.
|
|
5
5
|
Author: Ogekuri
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -709,7 +709,7 @@ Dynamic: license-file
|
|
|
709
709
|
> * **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.
|
|
710
710
|
> * **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.
|
|
711
711
|
|
|
712
|
-
# useReq / req (0.
|
|
712
|
+
# useReq / req (0.73.0)
|
|
713
713
|
|
|
714
714
|
<p align="center">
|
|
715
715
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -19,9 +19,10 @@ src/usereq/source_analyzer.py
|
|
|
19
19
|
src/usereq/static_check.py
|
|
20
20
|
src/usereq/token_counter.py
|
|
21
21
|
src/usereq/resources/prompts-version.txt
|
|
22
|
-
src/usereq/resources/
|
|
23
|
-
src/usereq/resources/
|
|
24
|
-
src/usereq/resources/
|
|
22
|
+
src/usereq/resources/guidelines/Google_C++_Style_Guide.md
|
|
23
|
+
src/usereq/resources/guidelines/Google_Python_Style_Guide.md
|
|
24
|
+
src/usereq/resources/guidelines/Google_TypeScript_Style_Guide.md
|
|
25
|
+
src/usereq/resources/guidelines/RFC2119.md
|
|
25
26
|
src/usereq/resources/prompts/analyze.md
|
|
26
27
|
src/usereq/resources/prompts/change.md
|
|
27
28
|
src/usereq/resources/prompts/check.md
|
|
@@ -38,6 +39,10 @@ src/usereq/resources/prompts/references.md
|
|
|
38
39
|
src/usereq/resources/prompts/renumber.md
|
|
39
40
|
src/usereq/resources/prompts/workflow.md
|
|
40
41
|
src/usereq/resources/prompts/write.md
|
|
42
|
+
src/usereq/resources/templates/Agentic_Text_Authoring_Guidance.md
|
|
43
|
+
src/usereq/resources/templates/Document_Source_Code_in_Doxygen_Style.md
|
|
44
|
+
src/usereq/resources/templates/HDT_Test_Authoring_Guide.md
|
|
45
|
+
src/usereq/resources/templates/Requirements_Template.md
|
|
41
46
|
tests/test_analyzer_cli.py
|
|
42
47
|
tests/test_analyzer_comments.py
|
|
43
48
|
tests/test_analyzer_core.py
|
|
@@ -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.
|
|
21
|
+
__version__ = "0.73.0"
|
|
22
22
|
"""! @brief Semantic version string of the package."""
|
|
23
23
|
|
|
24
24
|
|
|
@@ -2606,37 +2606,39 @@ def yaml_double_quote_escape(value: str) -> str:
|
|
|
2606
2606
|
|
|
2607
2607
|
def list_docs_templates() -> list[Path]:
|
|
2608
2608
|
"""!
|
|
2609
|
-
@brief Returns non-hidden files available in resources/
|
|
2610
|
-
@return Sorted list of file paths under resources/
|
|
2611
|
-
@throws ReqError If resources/
|
|
2609
|
+
@brief Returns non-hidden files available in resources/templates.
|
|
2610
|
+
@return Sorted list of file paths under resources/templates.
|
|
2611
|
+
@throws ReqError If resources/templates does not exist or has no non-hidden files.
|
|
2612
2612
|
@details Implements the list_docs_templates function behavior with deterministic control flow.
|
|
2613
|
+
@satisfies SRS-495
|
|
2613
2614
|
"""
|
|
2614
|
-
candidate = RESOURCE_ROOT / "
|
|
2615
|
+
candidate = RESOURCE_ROOT / "templates"
|
|
2615
2616
|
if not candidate.is_dir():
|
|
2616
|
-
raise ReqError("Error: no
|
|
2617
|
+
raise ReqError("Error: no templates directory found in resources", 9)
|
|
2617
2618
|
templates = sorted(
|
|
2618
2619
|
path
|
|
2619
2620
|
for path in candidate.iterdir()
|
|
2620
2621
|
if path.is_file() and not path.name.startswith(".")
|
|
2621
2622
|
)
|
|
2622
2623
|
if not templates:
|
|
2623
|
-
raise ReqError("Error: no
|
|
2624
|
+
raise ReqError("Error: no templates found in resources/templates", 9)
|
|
2624
2625
|
return templates
|
|
2625
2626
|
|
|
2626
2627
|
|
|
2627
2628
|
def find_requirements_template(docs_templates: list[Path]) -> Path:
|
|
2628
2629
|
"""!
|
|
2629
2630
|
@brief Returns the packaged Requirements template file.
|
|
2630
|
-
@param docs_templates Runtime
|
|
2631
|
+
@param docs_templates Runtime template file list from resources/templates.
|
|
2631
2632
|
@return Path to `Requirements_Template.md`.
|
|
2632
2633
|
@throws ReqError If `Requirements_Template.md` is not present.
|
|
2633
2634
|
@details Implements the find_requirements_template function behavior with deterministic control flow.
|
|
2635
|
+
@satisfies SRS-495
|
|
2634
2636
|
"""
|
|
2635
2637
|
for template_path in docs_templates:
|
|
2636
2638
|
if template_path.name == REQUIREMENTS_TEMPLATE_NAME:
|
|
2637
2639
|
return template_path
|
|
2638
2640
|
raise ReqError(
|
|
2639
|
-
f"Error: no {REQUIREMENTS_TEMPLATE_NAME} template found in
|
|
2641
|
+
f"Error: no {REQUIREMENTS_TEMPLATE_NAME} template found in templates",
|
|
2640
2642
|
9,
|
|
2641
2643
|
)
|
|
2642
2644
|
|