# @a5c-ai/hooks-adapter-core

> Canonical schemas, types, session store, and merge engine for the hooks-adapter system

Latest version **6.0.0** (published 2026-06-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @a5c-ai/hooks-adapter-core
pnpm add @a5c-ai/hooks-adapter-core
yarn add @a5c-ai/hooks-adapter-core
bun add @a5c-ai/hooks-adapter-core
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2026-06-30 |
| First published | 2026-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 358.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1925 |
| Maintainers | tmuskal, benihak |

## Links

- npm: https://www.npmjs.com/package/@a5c-ai/hooks-adapter-core
- Repository: https://github.com/a5c-ai/babysitter
- Homepage: https://github.com/a5c-ai/babysitter/tree/main/packages/adapters/hooks/core#readme
- Issues: https://github.com/a5c-ai/babysitter/issues
- npm.io page: https://npm.io/package/@a5c-ai/hooks-adapter-core

## Dependencies (1)

- [@a5c-ai/atlas](https://npm.io/package/@a5c-ai/atlas.md) 6.0.0

## Recent versions

- 6.0.0 (latest) — 2026-06-30
- 6.0.3-staging.f5f113c68e2c (staging) — 2026-08-10
- 6.0.3 — 2026-08-10
- 6.0.3-staging.a92992776c25 — 2026-08-10
- 6.0.3-staging.0d4b52140f73 — 2026-08-06
- 6.0.3-staging.f37319247662 — 2026-08-04
- 6.0.3-staging.38b4f082bccd — 2026-08-03
- 6.0.3-staging.8b3609964d6b — 2026-08-03
- 6.0.3-staging.fe0e313bd8d2 — 2026-08-03
- 6.0.3-staging.bf012dbb7bff — 2026-07-25
- 6.0.3-staging.6db27fbdc426 — 2026-07-24
- 6.0.3-staging.06229323d3e1 — 2026-07-24
- 6.0.3-staging.4b5d366a78a4 — 2026-07-24
- 6.0.3-staging.cc429f39a3c5 — 2026-07-24
- 6.0.3-staging.547d8874062b — 2026-07-24
- … 149 more at https://npm.io/package/@a5c-ai/hooks-adapter-core/versions

## README

# @a5c-ai/hooks-adapter-core

Canonical schemas, types, session store, merge engine, and programmatic runtime for hooks-adapter.

## Install

```bash
npm install @a5c-ai/hooks-adapter-core
```

This package ships the built runtime in `dist/` and this package README for npm publish-surface auditing.

## Usage

```ts
import {
  createHooksEngine,
  createAdapter,
  registerHandler,
  runNormalized,
  type UnifiedHookEvent,
  type UnifiedHookResult,
} from "@a5c-ai/hooks-adapter-core";
```

The public surface includes:

- canonical event, result, adapter, plan, and session types
- normalization, merge, propagation, and diagnostics helpers
- session-store utilities and harness discovery
- the programmatic hooks engine for in-process integrations

See the workspace overview in [`packages/adapters/hooks/README.md`](../README.md) and the adapter guide in `packages/adapters/hooks/docs/`.

## License

MIT © a5c-ai

---
_Source: https://npm.io/package/@a5c-ai/hooks-adapter-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
