@company-semantics/contracts 85.2.0 → 85.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "85.2.0",
3
+ "version": "85.3.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '6572e2e103c5' as const;
3
- export const SPEC_HASH_FULL = '6572e2e103c545b6ff678396dbc2d00a17212b56f4c489b9b76c1b327ccc821e' as const;
2
+ export const SPEC_HASH = '2e58fba933bb' as const;
3
+ export const SPEC_HASH_FULL = '2e58fba933bbbd6356dcac9c8e3f4735c6c7556dd205e4fe9ac6d18be8517395' as const;
@@ -6925,7 +6925,7 @@ export interface components {
6925
6925
  CompanyMdSearchResponse: {
6926
6926
  hits: {
6927
6927
  /** @enum {string} */
6928
- sourceKind: "docs" | "slack" | "meetings";
6928
+ sourceKind: "docs" | "slack" | "meetings" | "org_facts";
6929
6929
  documentId: string;
6930
6930
  recordingId: string | null;
6931
6931
  title: string | null;
@@ -6933,18 +6933,45 @@ export interface components {
6933
6933
  score: number;
6934
6934
  /** @enum {string} */
6935
6935
  matchedVia: "fts" | "vector";
6936
+ /** @description Where the hit came from, projected per reader after admission; [] when none. */
6937
+ citations: ({
6938
+ /** @constant */
6939
+ kind: "company_md_section";
6940
+ docId: string;
6941
+ sectionAnchor: string;
6942
+ versionId: string | null;
6943
+ } | {
6944
+ /** @constant */
6945
+ kind: "landed_source";
6946
+ sourceId: string | null;
6947
+ title: string | null;
6948
+ classLabel: string;
6949
+ /** @enum {string} */
6950
+ use: "attached" | "direction_only";
6951
+ withheld: boolean;
6952
+ sectionAnchor: string;
6953
+ } | {
6954
+ /** @constant */
6955
+ kind: "org_fact";
6956
+ /** @enum {string} */
6957
+ entity: "unit" | "member";
6958
+ entityId: string;
6959
+ /** @enum {string} */
6960
+ authority: "system_of_record" | "human_confirmed" | "ai_inferred";
6961
+ })[];
6936
6962
  }[];
6937
- searchedSources: ("docs" | "slack" | "meetings")[];
6963
+ searchedSources: ("docs" | "slack" | "meetings" | "org_facts")[];
6938
6964
  };
6939
6965
  /** @description A Company.md retrieval query with optional per-source opt-in. */
6940
6966
  CompanyMdSearchRequest: {
6941
6967
  query: string;
6942
6968
  limit?: number;
6943
- /** @description Per-source opt-in. Server defaults: docs/slack ON, meetings OFF (INV-MTG-23) — applied even when this object or the meetings field is omitted. */
6969
+ /** @description Per-source opt-in. Server defaults: docs/slack/org facts ON, meetings OFF (INV-MTG-23) — applied even when this object or the meetings field is omitted. */
6944
6970
  includeSources?: {
6945
6971
  docs?: boolean;
6946
6972
  slack?: boolean;
6947
6973
  meetings?: boolean;
6974
+ orgFacts?: boolean;
6948
6975
  };
6949
6976
  };
6950
6977
  CompanyMdShareResponse: {