Skip to content

Commit e0fd1c0

Browse files
refactor(honcho): probe /openapi.json instead of /health, add warm-fuzzy summary
Real-world Honcho deployments (3.0.5, observed in production) don't expose a /health endpoint on the API server binary -- the OpenAPI spec shows no health/liveness route besides authenticated queue status. The upstream self-hosting docs reference /health, but it's not in the shipped server. Switch the liveness probe to /openapi.json instead: - Always present (FastAPI default), unauthenticated, cheap - Returns deterministic JSON we can validate (openapi: "3.x") - Bonus: parses info.version so we can show "Honcho 3.0.5" inline Renames in src/health.ts: - checkHonchoHealth -> checkHonchoServer - getHealthUrl -> getServerProbeUrl - HealthCheckResult -> ServerCheckResult (with serverVersion field) Adds gatherSummary(config) -- one shared function that calls queueStatus and peer.conclusions.list in parallel post-auth, returning queue/memory state. setup-runner, status-runner, and health-runner all use it now, eliminating duplicate logic across the three runners. setup-runner now ends with a warm-fuzzies panel: server version + latency, auth latency, workspace, peers, memory state ("empty -- will build as you chat" or "N conclusions stored"), and deriver progress. Gives users concrete proof the full memory pipeline is wired up before they start their next session.
1 parent 87e9fae commit e0fd1c0

16 files changed

Lines changed: 48745 additions & 48689 deletions

plugins/honcho/dist/hooks/post-tool-use.js

Lines changed: 7049 additions & 7062 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/hooks/pre-compact.js

Lines changed: 7049 additions & 7061 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/hooks/session-end.js

Lines changed: 4175 additions & 4187 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/hooks/session-start.js

Lines changed: 7001 additions & 7017 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/hooks/stop.js

Lines changed: 4175 additions & 4188 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/hooks/user-prompt.js

Lines changed: 7049 additions & 7062 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/mcp-server.js

Lines changed: 4508 additions & 4516 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/src/skills/health-runner.js

Lines changed: 7106 additions & 7079 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/src/skills/setup-runner.js

Lines changed: 220 additions & 200 deletions
Large diffs are not rendered by default.

plugins/honcho/dist/src/skills/status-runner.js

Lines changed: 210 additions & 209 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)