nlp2cmd-propact
Bridge ExecutionPlanIR → Propact markdown + HybridPlanExecutor.
Propact blocks
target_kind |
Markdown |
|---|---|
shell |
```propact:shell ` |
rest |
```propact:rest ` |
mcp |
```propact:mcp ` |
ws |
```propact:ws ` |
browser, sql, desktop |
```propact:delegate ` (wykonanie przez nlp2cmd) |
Użycie (Python)
from nlp2cmd_planner import PlanningPipeline
from nlp2cmd_propact import HybridPlanExecutor, plan_to_propact_markdown
plan = PlanningPipeline().run("znajdz pliki *.py w src")
print(plan_to_propact_markdown(plan))
result = HybridPlanExecutor().run(plan, dry_run=False)
print(result.stdout)
CLI
export NLP2CMD_INTEGRATION=1
export LANG=C.UTF-8
nlp2cmd plan "znajdz pliki *.py w src"
nlp2cmd plan "znajdz pliki *.py w src" --explain # execution_route per step
nlp2cmd plan "znajdz pliki *.py w src" --json # + execution_routes
nlp2cmd plan "znajdz pliki *.py w src" --execute # hybrid executor
nlp2cmd plan "znajdz pliki *.py w src" --execute --dry-run
Struktura zapytania (IntentIR): nlp2dsl show "…".
Wykonanie bez Propact
Gdy propact nie jest w PATH, plany shell-only wykonują się przez subprocess (NLP2CMD_PROPACT_FALLBACK=shell, domyślnie). Plany REST/MCP/WS wymagają pip install 'propact[semantic]'.
Instalacja
./scripts/setup-dev.sh # z katalogu nlp2dsl
pip install -e ../nlp2cmd[integration]
Browser/desktop/canvas → delegacja do legacy nlp2cmd (PipelineRunner).
Metadata
Release files for nlp2cmd-propact 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nlp2cmd_propact-0.1.3.tar.gz | 9.4 kB | Without provenance | Details for nlp2cmd_propact-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nlp2cmd_propact-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for nlp2cmd_propact-0.1.3-py3-none-any.whl |
Total release size: 17.1 kB
Release files / nlp2cmd_propact-0.1.3.tar.gz
| Download URL | nlp2cmd_propact-0.1.3.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1120699aec53f7b77501c2d6183f16411fc408b73c809062091be1741243bb0a
|
|
BLAKE2b-256 checksum How to use checksums |
04bd8a09fef5546539e85843ffc724f4fd74aaed28c15d70a411bd5e4874a046
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / nlp2cmd_propact-0.1.3-py3-none-any.whl
| Download URL | nlp2cmd_propact-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70eb814e190f5003ebe01148ce6f864f12703255eb1d5a97106052a913652d07
|
|
BLAKE2b-256 checksum How to use checksums |
1c393e53b1404088dcc96d3aed90b6f6663e261cb386d63e1f387f8c1d41f400
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for nlp2cmd-propact 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.