Skip to main content

No project description provided

Project description

Codex Hook Command

chc is a small CLI wrapper for Codex hooks. It runs an external command, inspects the hook payload from stdin, and prints a JSON response that Codex can consume.

Usage

chc uv run ruff check --fix

For Stop hooks, the first failure returns a continuation payload using the legacy decision: "block" shape. Success, or failure after the continuation pass, returns continue: false with a systemMessage.

Project details


Download files

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

Source Distribution

codhc-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

codhc-0.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file codhc-0.0.1.tar.gz.

File metadata

  • Download URL: codhc-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for codhc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b1d4646b8dd8365e0129623a641279849175c3462551428ed2bd32c8a8684615
MD5 020e45883a60a21316295ed4ecaf7fac
BLAKE2b-256 fcc28fa8dfc31931c1e4b926e58d45b5fb36c4159de2612db7e7d536bd30914d

See more details on using hashes here.

File details

Details for the file codhc-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: codhc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for codhc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8b78faad7dbcc0da7477f24b195208b7e871190117da2d5e33784dd53f86520
MD5 feb6d05f357c7e5b29a6f13172e48642
BLAKE2b-256 456e262a5b5eb0bee579c899b6325f931d7821334049e43695ac68ba3b7c6679

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page