Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
/**
* Public barrel for the gbrain/ingestion subpath.
*
* Skillpack publishers import from here:
*
* import { IngestionSource, IngestionEvent, computeContentHash } from 'gbrain/ingestion';
*
* Treat this surface as a versioned public API. Adding exports is a minor
* release; removing or breaking-changing them is a major. Pinned by
* test/public-exports.test.ts.
*
* The daemon itself is intentionally NOT exported — it's gbrain-internal.
* Publishers run their sources via either:
* - the test harness (gbrain/ingestion/test-harness, for unit tests)
* - the CLI (`gbrain ingest test`, for hot-iteration dry-run)
* - the production daemon (`gbrain ingest`, which composes everything)
*/
export type {
IngestionContentType,
IngestionEvent,
IngestionSource,
IngestionSourceContext,
IngestionSourceHealth,
} from './types.ts';
export {
INGESTION_CONTENT_TYPES,
INGESTION_SOURCE_API_VERSION,
IngestionEventError,
computeContentHash,
validateIngestionEvent,
} from './types.ts';