@company-semantics/contracts
v0.33.0
Published
Shared semantic vocabulary across Company Semantics codebases.
Readme
@company-semantics/contracts
Shared semantic vocabulary across Company Semantics codebases.
Scope
This package intentionally contains only minimal shared vocabulary, not full domain models. Structural types live in individual codebases until they are proven stable.
Usage
import type { IntentCategory, InsightConfidence } from '@company-semantics/contracts'What belongs here
- Shared enums / unions (vocabulary)
- Backend-aligned semantic categories
What does NOT belong here
- Structural interfaces (Insight, SemanticFingerprint)
- Frontend-only extensions
- Implementation details
Package Format
This package intentionally exports TypeScript source.
It does not emit .d.ts files. Consumers are expected to compile TS.
Versioning
Follows semver:
- Additive vocabulary → minor bump
- Renaming or removal → major bump
Releasing
Releases are published automatically via GitHub Actions.
Steps:
npm version patchgit push origin main --tags
Publishing locally is not supported.
