plugin-check

command
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

Local executable adapter fixture

From the repository root:

go build -o /tmp/agenthealth-host ./cmd/agenthealth
go build -o /tmp/agenthealth-probe ./examples/plugin-check
python3 - <<'PY'
import hashlib, json
from pathlib import Path
binary = Path('/tmp/agenthealth-probe').resolve()
manifest = {'protocol': 'v1', 'command': str(binary),
            'sha256': hashlib.sha256(binary.read_bytes()).hexdigest(),
            'metadata': {'name': 'protocol-fixture', 'version': '1.0.0',
                         'compatibility_version': 'v1', 'target_types': ['custom'],
                         'dimensions': ['configuration', 'reachability'], 'active_checks': []}}
Path('/tmp/agenthealth-adapter.json').write_text(json.dumps(manifest))
PY
/tmp/agenthealth-host check examples/plugin-check/agenthealth.yaml --adapter /tmp/agenthealth-adapter.json --format json

The fixture returns HEALTHY for configuration and UNKNOWN for reachability: it performs no network operation and makes no remote health claim. Expected health exit code is 5. Adapt the output path for your OS; Windows uses an .exe suffix.

The direct/composite names identify agent roles. Dependencies record independently observed health, not verified communication. Add an explicit peer/path target to measure that path. Keep built-in gateway/router, A2A and backend checks separate; see the extension guide. Do not forward arbitrary input, log credentials or return response bodies. Real probes must implement the safety and response-marker rules in the contract.

Documentation

Overview

This executable demonstrates the v1 wire protocol without making network calls. It is a protocol fixture, not evidence of a real remote service's health.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL