Skip to main content

chp-adapter-process

Governed shell execution as a CHP capability — commands are policy-gated (an allowlist plus optional human approval) and every run is recorded as signed, replayable evidence.

pip install chp-adapter-process

Compose it onto any CHP host, or onto chp-server:

from chp_server import CapabilityServer
from chp_adapter_process import ProcessAdapter, ProcessConfig

app = CapabilityServer("automation")
app.compose(ProcessAdapter(ProcessConfig(
    allowed_commands=["git", "ls", "cat"])))   # scope exactly what may run
app.run(port=8800)

Capability

  • chp.adapters.process.run — run a command constrained to allowed_commands, with working_dir and max_timeout. The pipeline can require human approval before it executes; the command and its outcome are evidenced. Automation you can hand to an agent.

Part of the Capability Host Protocol — one governed implementation of a capability, consumed everywhere. Apache-2.0.

Metadata

Release files for chp-adapter-process 0.53.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chp-adapter-process 0.53.0
File Size Uploaded Provenance
chp_adapter_process-0.53.0.tar.gz 12.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chp-adapter-process 0.53.0
File Interpreter ABI Platform
chp_adapter_process-0.53.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.8 kB

Release files / chp_adapter_process-0.53.0.tar.gz

Download URL chp_adapter_process-0.53.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fcad94563c2f50ea554dd2dbf82eb0b5d4bc1fe0f10ddbc35e9926e08eeef9a7
BLAKE2b-256 checksum
How to use checksums
ebaa9e8456c185f808ab41e367565b97feb1aa80efbd70db9ca82fb481f4bf90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / chp_adapter_process-0.53.0-py3-none-any.whl

Download URL chp_adapter_process-0.53.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fabb2ef8b3e73e686e9062d37e43cb66bef14a2d20e7d7eedefe745ad5fffb3
BLAKE2b-256 checksum
How to use checksums
9f0a4e158f753f7cb49ccd118c37449cc0a22c8305cb64dff62b8d65f1b7bf2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for chp-adapter-process 0.53.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page