cli-usereq 0.75.23__tar.gz → 0.76.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.75.23 → cli_usereq-0.76.0}/PKG-INFO +13 -13
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/README.md +12 -12
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/pyproject.toml +1 -1
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/__init__.py +1 -1
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/cli.py +338 -215
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/analyze.md +1 -1
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/change.md +14 -14
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/check.md +1 -1
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/cover.md +14 -14
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/fix.md +14 -14
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/flowchart.md +9 -9
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/implement.md +12 -12
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/new.md +13 -13
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/readme.md +9 -9
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/recreate.md +10 -10
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/refactor.md +14 -14
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/references.md +9 -9
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/renumber.md +10 -10
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/workflow.md +9 -9
- cli_usereq-0.76.0/src/usereq/resources/prompts-version.txt +1 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/static_check.py +379 -85
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/table_style.py +46 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/uv.lock +1 -1
- cli_usereq-0.75.23/src/usereq/resources/prompts-version.txt +0 -1
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/LICENSE +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/MANIFEST.in +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/setup.cfg +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/setup.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/__main__.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/compress.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/compress_files.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/config_cli.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/config_schema.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/doxygen_parser.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/find_constructs.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/generate_markdown.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/guidelines/Google_C++_Style_Guide.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/guidelines/Google_Python_Style_Guide.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/guidelines/Google_TypeScript_Style_Guide.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/guidelines/RFC2119.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/create.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/orchestrate.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/prompts/write.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/templates/Agentic_Text_Authoring_Guidance.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/templates/Document_Source_Code_in_Doxygen_Style.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/templates/HDT_Test_Authoring_Guide.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/resources/templates/Requirements_Template.md +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/src/usereq/source_analyzer.py +0 -0
- {cli_usereq-0.75.23 → cli_usereq-0.76.0}/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.
|
|
3
|
+
Version: 0.76.0
|
|
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
|
|
@@ -35,7 +35,7 @@ Dynamic: license-file
|
|
|
35
35
|
> * **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.
|
|
36
36
|
> * **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.
|
|
37
37
|
|
|
38
|
-
# useReq / req (0.
|
|
38
|
+
# useReq / req (0.76.0)
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
41
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -204,8 +204,8 @@ req --unset PATH # restore the schema default or remove the addresse
|
|
|
204
204
|
|
|
205
205
|
### Project directories
|
|
206
206
|
|
|
207
|
-
-
|
|
208
|
-
- The same values are readable and writable through `Configuration:docs-dir`, `Configuration:src-dir`, and `Configuration:tests-dir` (
|
|
207
|
+
- The `set-docs-dir DOCS_DIR`, `set-src-dir SRC_DIR [SRC_DIR...]`, and `set-tests-dir TESTS_DIR` subcommands persist project-relative directory values (each requires `--prj-base`; values must resolve under it). Install-time prompt substitution renders `%%DOC_PATH%%`/`%%SRC_PATHS%%`/`%%TEST_PATH%%` from these values, defaulting to `usereq/docs`, `src`, and `tests` when unset.
|
|
208
|
+
- The same values are readable and writable through `Configuration:docs-dir`, `Configuration:src-dir`, and `Configuration:tests-dir` (`set-docs-dir` and `--set Configuration:docs-dir` are equivalent storage operations).
|
|
209
209
|
- Defaults when the configuration stores no value: `usereq/docs` (documentation), `src` (sources), `tests` (tests).
|
|
210
210
|
- `install` never creates project directories; configured paths are resolved only by the commands that consume them.
|
|
211
211
|
|
|
@@ -275,7 +275,7 @@ Pre-flight: before executing any checker, availability is verified — `Dummy` a
|
|
|
275
275
|
|
|
276
276
|
Each stored entry exposes the fields `module`, `cmd`, and `params` as writable config paths (e.g. `Configuration:static-check:Python:0:module`); run `req --info Configuration:static-check` for the complete entry schema and copyable commands.
|
|
277
277
|
|
|
278
|
-
A standalone testbed is available: `req
|
|
278
|
+
A standalone testbed is available: `req test-static-check {dummy,pylance,ruff,command <cmd>} [FILES...]`, where `[FILES]` may be files, directories (direct children only), or glob patterns including `**` recursive expansion.
|
|
279
279
|
|
|
280
280
|
### Static-check installation audit
|
|
281
281
|
|
|
@@ -291,8 +291,8 @@ req audit # audit static-check tool installation; --prj-base is optional
|
|
|
291
291
|
|
|
292
292
|
`req` can be run from any directory. Two path arguments drive location resolution:
|
|
293
293
|
|
|
294
|
-
- `--prj-base <project-folder>` — mandatory for commands that read or write project files (
|
|
295
|
-
- `--git-base <git-repository-folder>` — mandatory for the git
|
|
294
|
+
- `--prj-base <project-folder>` — mandatory for commands that read or write project files (`docs-check`, `set-docs-dir`, `set-src-dir`, `set-tests-dir`, and the project-scan subcommands `tokens`, `references`, `compress`, `find`, `static-check`, `files-static-check`); the `install` subcommand neither requires nor accepts it, while `audit` accepts it as optional context.
|
|
295
|
+
- `--git-base <git-repository-folder>` — mandatory for the git subcommands (`git-check`, `git-wt-name`, `git-wt-create`, `git-wt-delete`); not required by any analysis subcommand.
|
|
296
296
|
- `--prj-base` and `--git-base` are never persisted in `~/.config/usereq/config.json`.
|
|
297
297
|
- The configuration commands `--print`, `--info`, `--print-raw`, `--get`, `--set`, and `--unset` require neither base argument; paths are resolved from the configuration schema, not from a project.
|
|
298
298
|
|
|
@@ -342,13 +342,13 @@ Notes:
|
|
|
342
342
|
- **Zig**: FUNCTION, STRUCT, ENUM, UNION, CONSTANT, VARIABLE, IMPORT
|
|
343
343
|
- **Elixir**: MODULE, FUNCTION, PROTOCOL, IMPL, STRUCT, IMPORT
|
|
344
344
|
|
|
345
|
-
### Git and docs
|
|
345
|
+
### Git and docs subcommands
|
|
346
346
|
|
|
347
|
-
-
|
|
348
|
-
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
351
|
-
-
|
|
347
|
+
- `git-check` — verify clean working tree and valid HEAD in the `--git-base` repository (requires `--git-base`).
|
|
348
|
+
- `docs-check` — verify existence of `REQUIREMENTS.md`, `WORKFLOW.md`, and `REFERENCES.md` in the configured `docs-dir` (requires `--prj-base`).
|
|
349
|
+
- `git-wt-name` — print a standardized worktree name `useReq-<PROJECT>-<BRANCH>-<TIMESTAMP>` (requires `--git-base`).
|
|
350
|
+
- `git-wt-create WT_NAME` — create an isolated git worktree and branch with the given name under the `--git-base` repository; copies `.venv` and `node_modules` from `--prj-base` into the new worktree when they exist (requires both `--git-base` and `--prj-base`).
|
|
351
|
+
- `git-wt-delete WT_NAME` — force-remove the exact target worktree and branch by name (requires `--git-base`).
|
|
352
352
|
|
|
353
353
|
### Other flags
|
|
354
354
|
|
|
@@ -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.76.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+">
|
|
@@ -179,8 +179,8 @@ req --unset PATH # restore the schema default or remove the addresse
|
|
|
179
179
|
|
|
180
180
|
### Project directories
|
|
181
181
|
|
|
182
|
-
-
|
|
183
|
-
- The same values are readable and writable through `Configuration:docs-dir`, `Configuration:src-dir`, and `Configuration:tests-dir` (
|
|
182
|
+
- The `set-docs-dir DOCS_DIR`, `set-src-dir SRC_DIR [SRC_DIR...]`, and `set-tests-dir TESTS_DIR` subcommands persist project-relative directory values (each requires `--prj-base`; values must resolve under it). Install-time prompt substitution renders `%%DOC_PATH%%`/`%%SRC_PATHS%%`/`%%TEST_PATH%%` from these values, defaulting to `usereq/docs`, `src`, and `tests` when unset.
|
|
183
|
+
- The same values are readable and writable through `Configuration:docs-dir`, `Configuration:src-dir`, and `Configuration:tests-dir` (`set-docs-dir` and `--set Configuration:docs-dir` are equivalent storage operations).
|
|
184
184
|
- Defaults when the configuration stores no value: `usereq/docs` (documentation), `src` (sources), `tests` (tests).
|
|
185
185
|
- `install` never creates project directories; configured paths are resolved only by the commands that consume them.
|
|
186
186
|
|
|
@@ -250,7 +250,7 @@ Pre-flight: before executing any checker, availability is verified — `Dummy` a
|
|
|
250
250
|
|
|
251
251
|
Each stored entry exposes the fields `module`, `cmd`, and `params` as writable config paths (e.g. `Configuration:static-check:Python:0:module`); run `req --info Configuration:static-check` for the complete entry schema and copyable commands.
|
|
252
252
|
|
|
253
|
-
A standalone testbed is available: `req
|
|
253
|
+
A standalone testbed is available: `req test-static-check {dummy,pylance,ruff,command <cmd>} [FILES...]`, where `[FILES]` may be files, directories (direct children only), or glob patterns including `**` recursive expansion.
|
|
254
254
|
|
|
255
255
|
### Static-check installation audit
|
|
256
256
|
|
|
@@ -266,8 +266,8 @@ req audit # audit static-check tool installation; --prj-base is optional
|
|
|
266
266
|
|
|
267
267
|
`req` can be run from any directory. Two path arguments drive location resolution:
|
|
268
268
|
|
|
269
|
-
- `--prj-base <project-folder>` — mandatory for commands that read or write project files (
|
|
270
|
-
- `--git-base <git-repository-folder>` — mandatory for the git
|
|
269
|
+
- `--prj-base <project-folder>` — mandatory for commands that read or write project files (`docs-check`, `set-docs-dir`, `set-src-dir`, `set-tests-dir`, and the project-scan subcommands `tokens`, `references`, `compress`, `find`, `static-check`, `files-static-check`); the `install` subcommand neither requires nor accepts it, while `audit` accepts it as optional context.
|
|
270
|
+
- `--git-base <git-repository-folder>` — mandatory for the git subcommands (`git-check`, `git-wt-name`, `git-wt-create`, `git-wt-delete`); not required by any analysis subcommand.
|
|
271
271
|
- `--prj-base` and `--git-base` are never persisted in `~/.config/usereq/config.json`.
|
|
272
272
|
- The configuration commands `--print`, `--info`, `--print-raw`, `--get`, `--set`, and `--unset` require neither base argument; paths are resolved from the configuration schema, not from a project.
|
|
273
273
|
|
|
@@ -317,13 +317,13 @@ Notes:
|
|
|
317
317
|
- **Zig**: FUNCTION, STRUCT, ENUM, UNION, CONSTANT, VARIABLE, IMPORT
|
|
318
318
|
- **Elixir**: MODULE, FUNCTION, PROTOCOL, IMPL, STRUCT, IMPORT
|
|
319
319
|
|
|
320
|
-
### Git and docs
|
|
320
|
+
### Git and docs subcommands
|
|
321
321
|
|
|
322
|
-
-
|
|
323
|
-
-
|
|
324
|
-
-
|
|
325
|
-
-
|
|
326
|
-
-
|
|
322
|
+
- `git-check` — verify clean working tree and valid HEAD in the `--git-base` repository (requires `--git-base`).
|
|
323
|
+
- `docs-check` — verify existence of `REQUIREMENTS.md`, `WORKFLOW.md`, and `REFERENCES.md` in the configured `docs-dir` (requires `--prj-base`).
|
|
324
|
+
- `git-wt-name` — print a standardized worktree name `useReq-<PROJECT>-<BRANCH>-<TIMESTAMP>` (requires `--git-base`).
|
|
325
|
+
- `git-wt-create WT_NAME` — create an isolated git worktree and branch with the given name under the `--git-base` repository; copies `.venv` and `node_modules` from `--prj-base` into the new worktree when they exist (requires both `--git-base` and `--prj-base`).
|
|
326
|
+
- `git-wt-delete WT_NAME` — force-remove the exact target worktree and branch by name (requires `--git-base`).
|
|
327
327
|
|
|
328
328
|
### Other flags
|
|
329
329
|
|
|
@@ -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.76.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"
|
|
@@ -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.76.0"
|
|
22
22
|
"""! @brief Semantic version string of the package."""
|
|
23
23
|
|
|
24
24
|
|