Skip to main content

chp-adapter-launchd

Govern macOS launchd LaunchAgent services as CHP capabilities. Built so CHP can manage its own long-running infrastructure (e.g. the TEI and vLLM Metal servers) — making them persistent across reboot and controllable through the capability host with a full evidence trail.

Capabilities

Capability Description
chp.adapters.launchd.list List CHP-managed services (scoped to the managed prefix).
chp.adapters.launchd.status Loaded/running state, pid, last exit code, plist presence.
chp.adapters.launchd.start Bootstrap if unloaded, else kickstart -k (restart).
chp.adapters.launchd.stop Bootout a loaded service.
chp.adapters.launchd.install Generate a plist from a spec, write it, and bootstrap.
chp.adapters.launchd.uninstall Bootout and remove the plist.

Safety

The adapter only manages labels matching LaunchdConfig.managed_prefix (default com.chp.) — it will refuse to touch arbitrary system services. launchctl and plist I/O are isolated in _backends.py.

Install a service (example: the TEI server)

{
  "label": "com.chp.tei",
  "program": "/opt/homebrew/bin/text-embeddings-router",
  "args": ["--model-id", "sentence-transformers/all-MiniLM-L6-v2", "--port", "8090"],
  "stdout_path": "/Users/me/.chp/logs/tei.log",
  "stderr_path": "/Users/me/.chp/logs/tei.err",
  "keep_alive": true,
  "run_at_load": true
}

Evidence policy

Emitted: label, operation, pid, returncode, plist path, environment keys, latency. Never emitted: environment variable values (may hold tokens) or plist file contents.

Metadata

Release files for chp-adapter-launchd 0.28.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-launchd 0.28.0
File Size Uploaded Provenance
chp_adapter_launchd-0.28.0.tar.gz 8.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chp-adapter-launchd 0.28.0
File Interpreter ABI Platform
chp_adapter_launchd-0.28.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / chp_adapter_launchd-0.28.0.tar.gz

Download URL chp_adapter_launchd-0.28.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0f71e61a0e6eca6a3438f7b2226c62ce9f6fc9a9a62503bb4653ca4c15e9fbe0
BLAKE2b-256 checksum
How to use checksums
a6654810cf71510431bf22da6c7c418f8cc61c8458af4d120a7eae9f2788a036
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / chp_adapter_launchd-0.28.0-py3-none-any.whl

Download URL chp_adapter_launchd-0.28.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53ad600f8d56cbb7a979757b0793d9b587b74f0c1a8fd03a507b5732d8fb62cb
BLAKE2b-256 checksum
How to use checksums
6c186fec5762c9d346d71ed54463227f0a156909cb17414399789b8cf6d53dbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Security for chp-adapter-launchd 0.28.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