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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chp_adapter_launchd-0.24.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chp_adapter_launchd-0.24.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file chp_adapter_launchd-0.24.0.tar.gz.

File metadata

  • Download URL: chp_adapter_launchd-0.24.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for chp_adapter_launchd-0.24.0.tar.gz
Algorithm Hash digest
SHA256 56ec5f498a4732b892a9552fefb82c65c4c5aac084c5bb2cba78f0140873498f
MD5 d4e7dafa90c892efdcc943c0a22239f6
BLAKE2b-256 85e74955dcb4fc987aad06f63f258ba58546fa9d02fa0c56eb6ed850118be35a

See more details on using hashes here.

File details

Details for the file chp_adapter_launchd-0.24.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chp_adapter_launchd-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e21cd45a37d9b321b1dbbf0a6678c7bdb9226fa6030b03f7d79ee4d9013fdd89
MD5 f27cc01ba5907688da8d6f44a9d62d3e
BLAKE2b-256 0082b732a3ec7bd1bb256d567d327e65121588baf97fbcf44a0a8a1d284df5f0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.28.0

2 files

0.27.0

2 files

0.26.0

2 files

0.25.0

2 files

This release

0.24.0 This release

2 files

0.23.0

1 file

0.22.0

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.0

2 files

0.14.0

2 files

0.13.1

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

1 file

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