@kittycad/lib 3.2.4 → 3.2.6

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.
@@ -3026,6 +3026,8 @@ export type MbdSymbol =
3026
3026
  'none' | 'arclength' | 'between' | 'degrees' | 'plusminus' | 'angularity' | 'cylindricity' | 'roundness' | 'concentricity' | 'straightness' | 'parallelism' | 'flatness' | 'profileofline' | 'surfaceprofile' | 'symmetry' | 'perpendicularity' | 'runout' | 'totalrunout' | 'position' | 'centerline' | 'partingline' | 'isoenvelope' | 'isoenvelopenony145m' | 'freestate' | 'statisticaltolerance' | 'continuousfeature' | 'independency' | 'depth' | 'start' | 'leastcondition' | 'maxcondition' | 'conicaltaper' | 'projected' | 'slope' | 'micro' | 'tangentplane' | 'unilateral' | 'squarefeature' | 'countersink' | 'spotface' | 'target' | 'diameter' | 'radius' | 'sphericalradius' | 'sphericaldiameter' | 'controlledradius' | 'boxstart' | 'boxbar' | 'boxbarbetween' | 'letterbackwardunderline' | 'punctuationbackwardunderline' | 'modifierbackwardunderline' | 'numericbackwardunderline' | 'boxend' | 'datumup' | 'datumleft' | 'datumright' | 'datumdown' | 'datumtriangle' | 'halfspace' | 'quarterspace' | 'eighthspace' | 'modifierspace';
3027
3027
  export type Method = 'OPTIONS' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'TRACE' | 'CONNECT' | 'PATCH' | 'EXTENSION';
3028
3028
  export type MlCopilotClientMessage = {
3029
+ type: 'ping';
3030
+ } | {
3029
3031
  headers: {
3030
3032
  [key: string]: string;
3031
3033
  };
@@ -3093,6 +3095,8 @@ export interface MlCopilotFile {
3093
3095
  }
3094
3096
  export type MlCopilotMode = 'fast' | 'thoughtful';
3095
3097
  export type MlCopilotServerMessage = {
3098
+ pong: Record<string, unknown>;
3099
+ } | {
3096
3100
  session_data: {
3097
3101
  /** The API call id associated with this websocket session. */
3098
3102
  api_call_id: string;
@@ -6692,6 +6696,23 @@ export interface OrgDatasetResultsPage {
6692
6696
  */
6693
6697
  next_page?: string;
6694
6698
  }
6699
+ export interface OrgDatasetSemanticSearchMatch {
6700
+ /**
6701
+ * {
6702
+ * "format": "int32",
6703
+ * "description": "Zero-based chunk ordinal in the conversion output."
6704
+ * }
6705
+ */
6706
+ chunk_index: number;
6707
+ /** Chunk text used for matching. */
6708
+ content: string;
6709
+ /** Matching conversion id. */
6710
+ conversion_id: Uuid;
6711
+ /** format:double, description:Cosine-similarity score in roughly [-1, 1]. */
6712
+ similarity: number;
6713
+ /** Source path for the conversion. */
6714
+ source_file_path: string;
6715
+ }
6695
6716
  export interface OrgDatasetSnapshotImage {
6696
6717
  /** title:String, format:byte, description:Base64-encoded image bytes. */
6697
6718
  data_base64: string;
@@ -9761,6 +9782,7 @@ export interface Models {
9761
9782
  OrgDatasetFileConversionSummary: OrgDatasetFileConversionSummary;
9762
9783
  OrgDatasetFileConversionSummaryResultsPage: OrgDatasetFileConversionSummaryResultsPage;
9763
9784
  OrgDatasetResultsPage: OrgDatasetResultsPage;
9785
+ OrgDatasetSemanticSearchMatch: OrgDatasetSemanticSearchMatch;
9764
9786
  OrgDatasetSnapshotImage: OrgDatasetSnapshotImage;
9765
9787
  OrgDatasetSource: OrgDatasetSource;
9766
9788
  OrgDatasetStatus: OrgDatasetStatus;