npm.io
6.0.0 • Published 4 months ago

@a5c-ai/hooks-adapter-core

Licence
MIT
Version
6.0.0
Deps
1
Size
358 kB
Vulns
0
Weekly
0
Stars
1.9K

@a5c-ai/hooks-adapter-core

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

Install

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

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 and the adapter guide in packages/adapters/hooks/docs/.

License

MIT a5c-ai