cli-usereq 0.68.2__tar.gz → 0.70.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.68.2/src/cli_usereq.egg-info → cli_usereq-0.70.0}/PKG-INFO +19 -17
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/README.md +18 -16
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/pyproject.toml +4 -2
- {cli_usereq-0.68.2 → cli_usereq-0.70.0/src/cli_usereq.egg-info}/PKG-INFO +19 -17
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/cli_usereq.egg-info/SOURCES.txt +2 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/cli_usereq.egg-info/entry_points.txt +0 -1
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/__init__.py +1 -1
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/cli.py +297 -209
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/analyze.md +10 -10
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/change.md +19 -17
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/check.md +12 -12
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/cover.md +18 -16
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/create.md +1 -1
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/fix.md +18 -16
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/flowchart.md +12 -12
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/implement.md +10 -8
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/new.md +19 -17
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/readme.md +12 -12
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/recreate.md +12 -12
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/refactor.md +19 -17
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/references.md +5 -5
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/renumber.md +3 -3
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/workflow.md +12 -12
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/prompts/write.md +1 -1
- cli_usereq-0.70.0/src/usereq/resources/prompts-version.txt +1 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_cli.py +235 -88
- cli_usereq-0.70.0/tests/test_import_isolation.py +61 -0
- cli_usereq-0.70.0/tests/test_pre_release_check.py +245 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_release_workflow.py +113 -1
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_update_check.py +67 -4
- cli_usereq-0.68.2/src/usereq/resources/prompts-version.txt +0 -1
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/LICENSE +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/setup.cfg +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/cli_usereq.egg-info/dependency_links.txt +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/cli_usereq.egg-info/requires.txt +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/cli_usereq.egg-info/top_level.txt +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/__main__.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/compress.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/compress_files.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/doxygen_parser.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/find_constructs.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/generate_markdown.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/docs/Document_Source_Code_in_Doxygen_Style.md +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/docs/HDT_Test_Authoring_Guide.md +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/resources/docs/Requirements_Template.md +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/source_analyzer.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/static_check.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/src/usereq/token_counter.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_analyzer_cli.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_analyzer_comments.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_analyzer_core.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_analyzer_errors.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_analyzer_format.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_analyzer_helpers.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_compress.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_dependency_manifests.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_doxygen_parser.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_files_commands.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_find_constructs.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_find_constructs_comprehensive.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_generate_markdown.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_helpers.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_source_analyzer.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_static_check.py +0 -0
- {cli_usereq-0.68.2 → cli_usereq-0.70.0}/tests/test_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.70.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.70.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+">
|
|
@@ -721,7 +721,7 @@ Dynamic: license-file
|
|
|
721
721
|
|
|
722
722
|
<p align="center">
|
|
723
723
|
<strong>The `req` CLI provisions requirements-driven development prompts for LLM agents.</strong><br>
|
|
724
|
-
In more detail: useReq packages a catalog of requirements-engineering prompts (write, create, change, implement, check, and more) and installs them as user-level prompts, commands, skills, and agents for the CLIs and agents you already use — exposed as `/req-<name>`, `/req:<name>`, `/skill:req-<name>`,
|
|
724
|
+
In more detail: useReq packages a catalog of requirements-engineering prompts (write, create, change, implement, check, and more) and installs them as user-level prompts, commands, skills, and agents for the CLIs and agents you already use — exposed as `/req-<name>`, `/req:<name>`, `/skill:req-<name>`, or `$req-<name>` depending on the provider. It also ships an embedded source-analysis toolkit (token counting, references, compression, construct extraction, static checks) that operates on your project across 20 programming languages, plus git-worktree helpers for parallel task execution. Everything is driven by one user-global configuration file (`~/.config/usereq/config.json`); nothing is written into your project repository. It runs as a Python package (installed as `req` or `usereq`) or directly via `uvx`.
|
|
725
725
|
</p>
|
|
726
726
|
|
|
727
727
|
<p align="center">
|
|
@@ -807,7 +807,7 @@ uv tool install cli-usereq
|
|
|
807
807
|
|
|
808
808
|
PyPI is the canonical distribution channel (project [`cli-usereq`](https://pypi.org/project/cli-usereq/), published via OIDC trusted publishing by the `release-pypi.yml` workflow for `master` tags). GitHub hosts intermediate and test releases; see [Install from GitHub (alternative channel)](#install-from-github-alternative-channel) below.
|
|
809
809
|
|
|
810
|
-
This exposes the CLI as `req` (also callable as `
|
|
810
|
+
This exposes the CLI as `req` (also callable as `usereq` or `python -m usereq`). After installation, verify with `req --version`.
|
|
811
811
|
|
|
812
812
|
### Tool upgrade and auto-install
|
|
813
813
|
|
|
@@ -815,7 +815,7 @@ This exposes the CLI as `req` (also callable as `use-req` / `usereq` or `python
|
|
|
815
815
|
req --upgrade
|
|
816
816
|
```
|
|
817
817
|
|
|
818
|
-
On Linux this executes `uv tool install cli-usereq --force` from the PyPI index; on other platforms the manual command is printed and `uv` is not executed. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest 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`.
|
|
818
|
+
On Linux this executes `uv tool install cli-usereq --force` from the PyPI index; on other platforms the manual command is printed and `uv` is not executed. 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`.
|
|
819
819
|
|
|
820
820
|
### Install from GitHub (alternative channel)
|
|
821
821
|
|
|
@@ -832,7 +832,7 @@ uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
|
832
832
|
req --upgrade --develop
|
|
833
833
|
```
|
|
834
834
|
|
|
835
|
-
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
835
|
+
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, where `<TAG>` is the latest tagged release resolved through the GitHub releases API regardless of the branch holding it; on other platforms the manual command is printed and `uv` is not executed.
|
|
836
836
|
|
|
837
837
|
### Tool removal
|
|
838
838
|
|
|
@@ -846,7 +846,7 @@ req --uninstall # executes `uv tool uninstall cli-usereq` on Linux and clean
|
|
|
846
846
|
- `req uninstall` — reciprocal of `install`: removes the `req-*` artifacts of the configured providers from the user-level provider directories.
|
|
847
847
|
- `req show` — prints the active configuration as tables: settings (including `auto-install`), provider enablement status, one dedicated per-provider table showing the installation status of the `prompts`, `agents`, and `skills` components detected on disk, and the enabled static-check entries.
|
|
848
848
|
|
|
849
|
-
Artifacts are always installed into **user-level CLI configuration directories under your HOME** (`~/.claude`, `~/.codex`, `~/.
|
|
849
|
+
Artifacts are always installed into **user-level CLI configuration directories under your HOME** (`~/.claude`, `~/.codex`, `~/.gemini/config`, `~/.agents`, `~/.config/opencode`, `~/.pi/agent`); nothing is ever written into the project repository.
|
|
850
850
|
|
|
851
851
|
## Configuration
|
|
852
852
|
|
|
@@ -984,7 +984,7 @@ Notes:
|
|
|
984
984
|
|
|
985
985
|
- `--verbose` / `--debug` — detailed and diagnostic output.
|
|
986
986
|
- `--ver` / `--version` — print the installed package version, query PyPI and GitHub, and print `PyPI latest: <version>` and `GitHub latest: <version>` lines (`unknown` when a repository cannot be reached).
|
|
987
|
-
- `--develop` / `--dev` — with `--upgrade`: install
|
|
987
|
+
- `--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`.
|
|
988
988
|
- `-h` / `--help` — print command help and exit.
|
|
989
989
|
|
|
990
990
|
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.
|
|
@@ -1017,10 +1017,10 @@ A startup release check queries the latest PyPI release (idle-gated to at most o
|
|
|
1017
1017
|
### High-Level Assessment
|
|
1018
1018
|
|
|
1019
1019
|
- 🌟 **pi.dev CLI** 🌟 - Supports user-level prompt templates and Agent Skills from `~/.pi/agent/prompts/` and `~/.pi/agent/skills/`.
|
|
1020
|
-
- 🌟 **Antigravity CLI** 🌟 - Evolution of Gemini CLI; supports user-level
|
|
1020
|
+
- 🌟 **Antigravity CLI** 🌟 - Evolution of Gemini CLI; supports user-level workflows, agents, and skills from `~/.gemini/config/`.
|
|
1021
1021
|
- 👍 **OpenCode** 👍 - Many models available; supports user-level commands, agents, and skills from `~/.config/opencode/`.
|
|
1022
1022
|
- ⚖️ **Claude Code** ⚖️ - Only supports Claude/Anthropic models; supports user-level commands, agents, and skills from `~/.claude/`.
|
|
1023
|
-
- 🆗 **OpenAI Codex** 🆗 - Only supports OpenAI models; supports user-level prompts and skills from `~/.codex/`.
|
|
1023
|
+
- 🆗 **OpenAI Codex** 🆗 - Only supports OpenAI models; supports user-level prompts (deprecated), agents, and skills from `~/.codex/` and `~/.agents/`.
|
|
1024
1024
|
|
|
1025
1025
|
### useReq/req Support
|
|
1026
1026
|
|
|
@@ -1047,12 +1047,12 @@ GitHub Copilot and Kiro CLI are not supported: their prompt/agent/skill configur
|
|
|
1047
1047
|
|
|
1048
1048
|
### CLI Prompt Details
|
|
1049
1049
|
|
|
1050
|
-
- ✅ pi.dev CLI: [`/req-create
|
|
1051
|
-
- useReq generates `~/.pi/agent/prompts/req-create.
|
|
1052
|
-
- pi prompt templates use the filename without `.md` as the command name
|
|
1050
|
+
- ✅ pi.dev CLI: [`/req-create`]
|
|
1051
|
+
- useReq generates `~/.pi/agent/prompts/req-create.md`.
|
|
1052
|
+
- pi prompt templates use the filename without `.md` as the command name.
|
|
1053
1053
|
- Prompt arguments are supported by pi prompt templates (`$1`, `$2`, `$@`, `$ARGUMENTS`).
|
|
1054
|
-
- ✅ Antigravity CLI: [`/req
|
|
1055
|
-
- ✅ OpenAI Codex: [`/prompts:/req-create`]
|
|
1054
|
+
- ✅ Antigravity CLI: [`/req-<name>` workflows under `~/.gemini/config/workflows/`]
|
|
1055
|
+
- ✅ OpenAI Codex: [`/prompts:/req-create`] (deprecated)
|
|
1056
1056
|
- ✅ Claude Code: [`/req:create`]
|
|
1057
1057
|
- ✅ OpenCode: [`/req-create`]
|
|
1058
1058
|
|
|
@@ -1060,8 +1060,10 @@ GitHub Copilot and Kiro CLI are not supported: their prompt/agent/skill configur
|
|
|
1060
1060
|
|
|
1061
1061
|
- ❌ pi.dev CLI
|
|
1062
1062
|
- useReq does not generate agents for provider `pi`; it emits prompts and skills only.
|
|
1063
|
-
-
|
|
1064
|
-
-
|
|
1063
|
+
- ✅ Antigravity CLI
|
|
1064
|
+
- useReq generates `~/.gemini/config/agents/req-<name>/agent.md`.
|
|
1065
|
+
- ✅ OpenAI Codex
|
|
1066
|
+
- useReq generates `~/.codex/agents/req-<name>.toml`.
|
|
1065
1067
|
- ✅ Claude Code: [`@agent-req-create`]
|
|
1066
1068
|
- ✔️ OpenCode: [`<TAB> ➡️ Req.Create ↩️`]
|
|
1067
1069
|
- **Starts a new session** (`/new`) for every prompt.
|
|
@@ -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.70.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+">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<p align="center">
|
|
24
24
|
<strong>The `req` CLI provisions requirements-driven development prompts for LLM agents.</strong><br>
|
|
25
|
-
In more detail: useReq packages a catalog of requirements-engineering prompts (write, create, change, implement, check, and more) and installs them as user-level prompts, commands, skills, and agents for the CLIs and agents you already use — exposed as `/req-<name>`, `/req:<name>`, `/skill:req-<name>`,
|
|
25
|
+
In more detail: useReq packages a catalog of requirements-engineering prompts (write, create, change, implement, check, and more) and installs them as user-level prompts, commands, skills, and agents for the CLIs and agents you already use — exposed as `/req-<name>`, `/req:<name>`, `/skill:req-<name>`, or `$req-<name>` depending on the provider. It also ships an embedded source-analysis toolkit (token counting, references, compression, construct extraction, static checks) that operates on your project across 20 programming languages, plus git-worktree helpers for parallel task execution. Everything is driven by one user-global configuration file (`~/.config/usereq/config.json`); nothing is written into your project repository. It runs as a Python package (installed as `req` or `usereq`) or directly via `uvx`.
|
|
26
26
|
</p>
|
|
27
27
|
|
|
28
28
|
<p align="center">
|
|
@@ -108,7 +108,7 @@ uv tool install cli-usereq
|
|
|
108
108
|
|
|
109
109
|
PyPI is the canonical distribution channel (project [`cli-usereq`](https://pypi.org/project/cli-usereq/), published via OIDC trusted publishing by the `release-pypi.yml` workflow for `master` tags). GitHub hosts intermediate and test releases; see [Install from GitHub (alternative channel)](#install-from-github-alternative-channel) below.
|
|
110
110
|
|
|
111
|
-
This exposes the CLI as `req` (also callable as `
|
|
111
|
+
This exposes the CLI as `req` (also callable as `usereq` or `python -m usereq`). After installation, verify with `req --version`.
|
|
112
112
|
|
|
113
113
|
### Tool upgrade and auto-install
|
|
114
114
|
|
|
@@ -116,7 +116,7 @@ This exposes the CLI as `req` (also callable as `use-req` / `usereq` or `python
|
|
|
116
116
|
req --upgrade
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
On Linux this executes `uv tool install cli-usereq --force` from the PyPI index; on other platforms the manual command is printed and `uv` is not executed. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest 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`.
|
|
119
|
+
On Linux this executes `uv tool install cli-usereq --force` from the PyPI index; on other platforms the manual command is printed and `uv` is not executed. 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`.
|
|
120
120
|
|
|
121
121
|
### Install from GitHub (alternative channel)
|
|
122
122
|
|
|
@@ -133,7 +133,7 @@ uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
|
133
133
|
req --upgrade --develop
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
136
|
+
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, where `<TAG>` is the latest tagged release resolved through the GitHub releases API regardless of the branch holding it; on other platforms the manual command is printed and `uv` is not executed.
|
|
137
137
|
|
|
138
138
|
### Tool removal
|
|
139
139
|
|
|
@@ -147,7 +147,7 @@ req --uninstall # executes `uv tool uninstall cli-usereq` on Linux and clean
|
|
|
147
147
|
- `req uninstall` — reciprocal of `install`: removes the `req-*` artifacts of the configured providers from the user-level provider directories.
|
|
148
148
|
- `req show` — prints the active configuration as tables: settings (including `auto-install`), provider enablement status, one dedicated per-provider table showing the installation status of the `prompts`, `agents`, and `skills` components detected on disk, and the enabled static-check entries.
|
|
149
149
|
|
|
150
|
-
Artifacts are always installed into **user-level CLI configuration directories under your HOME** (`~/.claude`, `~/.codex`, `~/.
|
|
150
|
+
Artifacts are always installed into **user-level CLI configuration directories under your HOME** (`~/.claude`, `~/.codex`, `~/.gemini/config`, `~/.agents`, `~/.config/opencode`, `~/.pi/agent`); nothing is ever written into the project repository.
|
|
151
151
|
|
|
152
152
|
## Configuration
|
|
153
153
|
|
|
@@ -285,7 +285,7 @@ Notes:
|
|
|
285
285
|
|
|
286
286
|
- `--verbose` / `--debug` — detailed and diagnostic output.
|
|
287
287
|
- `--ver` / `--version` — print the installed package version, query PyPI and GitHub, and print `PyPI latest: <version>` and `GitHub latest: <version>` lines (`unknown` when a repository cannot be reached).
|
|
288
|
-
- `--develop` / `--dev` — with `--upgrade`: install
|
|
288
|
+
- `--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`.
|
|
289
289
|
- `-h` / `--help` — print command help and exit.
|
|
290
290
|
|
|
291
291
|
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.
|
|
@@ -318,10 +318,10 @@ A startup release check queries the latest PyPI release (idle-gated to at most o
|
|
|
318
318
|
### High-Level Assessment
|
|
319
319
|
|
|
320
320
|
- 🌟 **pi.dev CLI** 🌟 - Supports user-level prompt templates and Agent Skills from `~/.pi/agent/prompts/` and `~/.pi/agent/skills/`.
|
|
321
|
-
- 🌟 **Antigravity CLI** 🌟 - Evolution of Gemini CLI; supports user-level
|
|
321
|
+
- 🌟 **Antigravity CLI** 🌟 - Evolution of Gemini CLI; supports user-level workflows, agents, and skills from `~/.gemini/config/`.
|
|
322
322
|
- 👍 **OpenCode** 👍 - Many models available; supports user-level commands, agents, and skills from `~/.config/opencode/`.
|
|
323
323
|
- ⚖️ **Claude Code** ⚖️ - Only supports Claude/Anthropic models; supports user-level commands, agents, and skills from `~/.claude/`.
|
|
324
|
-
- 🆗 **OpenAI Codex** 🆗 - Only supports OpenAI models; supports user-level prompts and skills from `~/.codex/`.
|
|
324
|
+
- 🆗 **OpenAI Codex** 🆗 - Only supports OpenAI models; supports user-level prompts (deprecated), agents, and skills from `~/.codex/` and `~/.agents/`.
|
|
325
325
|
|
|
326
326
|
### useReq/req Support
|
|
327
327
|
|
|
@@ -348,12 +348,12 @@ GitHub Copilot and Kiro CLI are not supported: their prompt/agent/skill configur
|
|
|
348
348
|
|
|
349
349
|
### CLI Prompt Details
|
|
350
350
|
|
|
351
|
-
- ✅ pi.dev CLI: [`/req-create
|
|
352
|
-
- useReq generates `~/.pi/agent/prompts/req-create.
|
|
353
|
-
- pi prompt templates use the filename without `.md` as the command name
|
|
351
|
+
- ✅ pi.dev CLI: [`/req-create`]
|
|
352
|
+
- useReq generates `~/.pi/agent/prompts/req-create.md`.
|
|
353
|
+
- pi prompt templates use the filename without `.md` as the command name.
|
|
354
354
|
- Prompt arguments are supported by pi prompt templates (`$1`, `$2`, `$@`, `$ARGUMENTS`).
|
|
355
|
-
- ✅ Antigravity CLI: [`/req
|
|
356
|
-
- ✅ OpenAI Codex: [`/prompts:/req-create`]
|
|
355
|
+
- ✅ Antigravity CLI: [`/req-<name>` workflows under `~/.gemini/config/workflows/`]
|
|
356
|
+
- ✅ OpenAI Codex: [`/prompts:/req-create`] (deprecated)
|
|
357
357
|
- ✅ Claude Code: [`/req:create`]
|
|
358
358
|
- ✅ OpenCode: [`/req-create`]
|
|
359
359
|
|
|
@@ -361,8 +361,10 @@ GitHub Copilot and Kiro CLI are not supported: their prompt/agent/skill configur
|
|
|
361
361
|
|
|
362
362
|
- ❌ pi.dev CLI
|
|
363
363
|
- useReq does not generate agents for provider `pi`; it emits prompts and skills only.
|
|
364
|
-
-
|
|
365
|
-
-
|
|
364
|
+
- ✅ Antigravity CLI
|
|
365
|
+
- useReq generates `~/.gemini/config/agents/req-<name>/agent.md`.
|
|
366
|
+
- ✅ OpenAI Codex
|
|
367
|
+
- useReq generates `~/.codex/agents/req-<name>.toml`.
|
|
366
368
|
- ✅ Claude Code: [`@agent-req-create`]
|
|
367
369
|
- ✔️ OpenCode: [`<TAB> ➡️ Req.Create ↩️`]
|
|
368
370
|
- **Starts a new session** (`/new`) for every prompt.
|
|
@@ -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.70.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"
|
|
@@ -34,7 +34,6 @@ Homepage = "https://github.com/Ogekuri/CLI-useReq"
|
|
|
34
34
|
Repository = "https://github.com/Ogekuri/CLI-useReq"
|
|
35
35
|
|
|
36
36
|
[project.scripts]
|
|
37
|
-
use-req = "usereq.cli:main"
|
|
38
37
|
req = "usereq.cli:main"
|
|
39
38
|
usereq = "usereq.cli:main"
|
|
40
39
|
|
|
@@ -52,3 +51,6 @@ usereq = [
|
|
|
52
51
|
|
|
53
52
|
[tool.pytest.ini_options]
|
|
54
53
|
testpaths = ["tests"]
|
|
54
|
+
# Import the repository package before any PYTHONPATH or user-site shadow so
|
|
55
|
+
# the suite always tests the checked-out source (pre-release unit-tests stage).
|
|
56
|
+
pythonpath = ["src"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cli-usereq
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.70.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.70.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+">
|
|
@@ -721,7 +721,7 @@ Dynamic: license-file
|
|
|
721
721
|
|
|
722
722
|
<p align="center">
|
|
723
723
|
<strong>The `req` CLI provisions requirements-driven development prompts for LLM agents.</strong><br>
|
|
724
|
-
In more detail: useReq packages a catalog of requirements-engineering prompts (write, create, change, implement, check, and more) and installs them as user-level prompts, commands, skills, and agents for the CLIs and agents you already use — exposed as `/req-<name>`, `/req:<name>`, `/skill:req-<name>`,
|
|
724
|
+
In more detail: useReq packages a catalog of requirements-engineering prompts (write, create, change, implement, check, and more) and installs them as user-level prompts, commands, skills, and agents for the CLIs and agents you already use — exposed as `/req-<name>`, `/req:<name>`, `/skill:req-<name>`, or `$req-<name>` depending on the provider. It also ships an embedded source-analysis toolkit (token counting, references, compression, construct extraction, static checks) that operates on your project across 20 programming languages, plus git-worktree helpers for parallel task execution. Everything is driven by one user-global configuration file (`~/.config/usereq/config.json`); nothing is written into your project repository. It runs as a Python package (installed as `req` or `usereq`) or directly via `uvx`.
|
|
725
725
|
</p>
|
|
726
726
|
|
|
727
727
|
<p align="center">
|
|
@@ -807,7 +807,7 @@ uv tool install cli-usereq
|
|
|
807
807
|
|
|
808
808
|
PyPI is the canonical distribution channel (project [`cli-usereq`](https://pypi.org/project/cli-usereq/), published via OIDC trusted publishing by the `release-pypi.yml` workflow for `master` tags). GitHub hosts intermediate and test releases; see [Install from GitHub (alternative channel)](#install-from-github-alternative-channel) below.
|
|
809
809
|
|
|
810
|
-
This exposes the CLI as `req` (also callable as `
|
|
810
|
+
This exposes the CLI as `req` (also callable as `usereq` or `python -m usereq`). After installation, verify with `req --version`.
|
|
811
811
|
|
|
812
812
|
### Tool upgrade and auto-install
|
|
813
813
|
|
|
@@ -815,7 +815,7 @@ This exposes the CLI as `req` (also callable as `use-req` / `usereq` or `python
|
|
|
815
815
|
req --upgrade
|
|
816
816
|
```
|
|
817
817
|
|
|
818
|
-
On Linux this executes `uv tool install cli-usereq --force` from the PyPI index; on other platforms the manual command is printed and `uv` is not executed. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest 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`.
|
|
818
|
+
On Linux this executes `uv tool install cli-usereq --force` from the PyPI index; on other platforms the manual command is printed and `uv` is not executed. 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`.
|
|
819
819
|
|
|
820
820
|
### Install from GitHub (alternative channel)
|
|
821
821
|
|
|
@@ -832,7 +832,7 @@ uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
|
832
832
|
req --upgrade --develop
|
|
833
833
|
```
|
|
834
834
|
|
|
835
|
-
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
835
|
+
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, where `<TAG>` is the latest tagged release resolved through the GitHub releases API regardless of the branch holding it; on other platforms the manual command is printed and `uv` is not executed.
|
|
836
836
|
|
|
837
837
|
### Tool removal
|
|
838
838
|
|
|
@@ -846,7 +846,7 @@ req --uninstall # executes `uv tool uninstall cli-usereq` on Linux and clean
|
|
|
846
846
|
- `req uninstall` — reciprocal of `install`: removes the `req-*` artifacts of the configured providers from the user-level provider directories.
|
|
847
847
|
- `req show` — prints the active configuration as tables: settings (including `auto-install`), provider enablement status, one dedicated per-provider table showing the installation status of the `prompts`, `agents`, and `skills` components detected on disk, and the enabled static-check entries.
|
|
848
848
|
|
|
849
|
-
Artifacts are always installed into **user-level CLI configuration directories under your HOME** (`~/.claude`, `~/.codex`, `~/.
|
|
849
|
+
Artifacts are always installed into **user-level CLI configuration directories under your HOME** (`~/.claude`, `~/.codex`, `~/.gemini/config`, `~/.agents`, `~/.config/opencode`, `~/.pi/agent`); nothing is ever written into the project repository.
|
|
850
850
|
|
|
851
851
|
## Configuration
|
|
852
852
|
|
|
@@ -984,7 +984,7 @@ Notes:
|
|
|
984
984
|
|
|
985
985
|
- `--verbose` / `--debug` — detailed and diagnostic output.
|
|
986
986
|
- `--ver` / `--version` — print the installed package version, query PyPI and GitHub, and print `PyPI latest: <version>` and `GitHub latest: <version>` lines (`unknown` when a repository cannot be reached).
|
|
987
|
-
- `--develop` / `--dev` — with `--upgrade`: install
|
|
987
|
+
- `--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`.
|
|
988
988
|
- `-h` / `--help` — print command help and exit.
|
|
989
989
|
|
|
990
990
|
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.
|
|
@@ -1017,10 +1017,10 @@ A startup release check queries the latest PyPI release (idle-gated to at most o
|
|
|
1017
1017
|
### High-Level Assessment
|
|
1018
1018
|
|
|
1019
1019
|
- 🌟 **pi.dev CLI** 🌟 - Supports user-level prompt templates and Agent Skills from `~/.pi/agent/prompts/` and `~/.pi/agent/skills/`.
|
|
1020
|
-
- 🌟 **Antigravity CLI** 🌟 - Evolution of Gemini CLI; supports user-level
|
|
1020
|
+
- 🌟 **Antigravity CLI** 🌟 - Evolution of Gemini CLI; supports user-level workflows, agents, and skills from `~/.gemini/config/`.
|
|
1021
1021
|
- 👍 **OpenCode** 👍 - Many models available; supports user-level commands, agents, and skills from `~/.config/opencode/`.
|
|
1022
1022
|
- ⚖️ **Claude Code** ⚖️ - Only supports Claude/Anthropic models; supports user-level commands, agents, and skills from `~/.claude/`.
|
|
1023
|
-
- 🆗 **OpenAI Codex** 🆗 - Only supports OpenAI models; supports user-level prompts and skills from `~/.codex/`.
|
|
1023
|
+
- 🆗 **OpenAI Codex** 🆗 - Only supports OpenAI models; supports user-level prompts (deprecated), agents, and skills from `~/.codex/` and `~/.agents/`.
|
|
1024
1024
|
|
|
1025
1025
|
### useReq/req Support
|
|
1026
1026
|
|
|
@@ -1047,12 +1047,12 @@ GitHub Copilot and Kiro CLI are not supported: their prompt/agent/skill configur
|
|
|
1047
1047
|
|
|
1048
1048
|
### CLI Prompt Details
|
|
1049
1049
|
|
|
1050
|
-
- ✅ pi.dev CLI: [`/req-create
|
|
1051
|
-
- useReq generates `~/.pi/agent/prompts/req-create.
|
|
1052
|
-
- pi prompt templates use the filename without `.md` as the command name
|
|
1050
|
+
- ✅ pi.dev CLI: [`/req-create`]
|
|
1051
|
+
- useReq generates `~/.pi/agent/prompts/req-create.md`.
|
|
1052
|
+
- pi prompt templates use the filename without `.md` as the command name.
|
|
1053
1053
|
- Prompt arguments are supported by pi prompt templates (`$1`, `$2`, `$@`, `$ARGUMENTS`).
|
|
1054
|
-
- ✅ Antigravity CLI: [`/req
|
|
1055
|
-
- ✅ OpenAI Codex: [`/prompts:/req-create`]
|
|
1054
|
+
- ✅ Antigravity CLI: [`/req-<name>` workflows under `~/.gemini/config/workflows/`]
|
|
1055
|
+
- ✅ OpenAI Codex: [`/prompts:/req-create`] (deprecated)
|
|
1056
1056
|
- ✅ Claude Code: [`/req:create`]
|
|
1057
1057
|
- ✅ OpenCode: [`/req-create`]
|
|
1058
1058
|
|
|
@@ -1060,8 +1060,10 @@ GitHub Copilot and Kiro CLI are not supported: their prompt/agent/skill configur
|
|
|
1060
1060
|
|
|
1061
1061
|
- ❌ pi.dev CLI
|
|
1062
1062
|
- useReq does not generate agents for provider `pi`; it emits prompts and skills only.
|
|
1063
|
-
-
|
|
1064
|
-
-
|
|
1063
|
+
- ✅ Antigravity CLI
|
|
1064
|
+
- useReq generates `~/.gemini/config/agents/req-<name>/agent.md`.
|
|
1065
|
+
- ✅ OpenAI Codex
|
|
1066
|
+
- useReq generates `~/.codex/agents/req-<name>.toml`.
|
|
1065
1067
|
- ✅ Claude Code: [`@agent-req-create`]
|
|
1066
1068
|
- ✔️ OpenCode: [`<TAB> ➡️ Req.Create ↩️`]
|
|
1067
1069
|
- **Starts a new session** (`/new`) for every prompt.
|
|
@@ -53,6 +53,8 @@ tests/test_find_constructs.py
|
|
|
53
53
|
tests/test_find_constructs_comprehensive.py
|
|
54
54
|
tests/test_generate_markdown.py
|
|
55
55
|
tests/test_helpers.py
|
|
56
|
+
tests/test_import_isolation.py
|
|
57
|
+
tests/test_pre_release_check.py
|
|
56
58
|
tests/test_release_workflow.py
|
|
57
59
|
tests/test_source_analyzer.py
|
|
58
60
|
tests/test_static_check.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.70.0"
|
|
22
22
|
"""! @brief Semantic version string of the package."""
|
|
23
23
|
|
|
24
24
|
|