@mentingo/luma-sdk 0.3.0 → 0.4.1

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.
@@ -34,6 +34,14 @@ declare enum TurnPartKind {
34
34
  Proposal = "proposal",
35
35
  Question = "question"
36
36
  }
37
+ /**
38
+ * TextToSpeechProvider
39
+ * Text-to-speech vendors an API key can choose; no choice means the platform default.
40
+ */
41
+ declare enum TextToSpeechProvider {
42
+ Cartesia = "cartesia",
43
+ Elevenlabs = "elevenlabs"
44
+ }
37
45
  /**
38
46
  * TaskKind
39
47
  * Enumerate graph task kinds persisted in task contracts and dispatch records.
@@ -46,9 +54,16 @@ declare enum TaskKind {
46
54
  Lesson = "lesson",
47
55
  Edit = "edit",
48
56
  Source = "source",
57
+ SourceVision = "source_vision",
49
58
  Asset = "asset",
50
59
  CourseReview = "course_review"
51
60
  }
61
+ /** TTSProvider */
62
+ declare enum TTSProvider {
63
+ Cartesia = "cartesia",
64
+ Elevenlabs = "elevenlabs",
65
+ Fish = "fish"
66
+ }
52
67
  /**
53
68
  * ReasoningEffort
54
69
  * Bound provider reasoning according to the request's actual work.
@@ -104,6 +119,7 @@ declare enum AiModelDomain {
104
119
  AiJudgeConfigurationValidator = "aiJudgeConfigurationValidator",
105
120
  Translations = "translations",
106
121
  CourseGeneration = "courseGeneration",
122
+ CourseGenerationVision = "courseGenerationVision",
107
123
  CourseGenerationVisualAssets = "courseGenerationVisualAssets",
108
124
  CourseGenerationEmbeddings = "courseGenerationEmbeddings",
109
125
  Embeddings = "embeddings",
@@ -117,7 +133,7 @@ declare enum AiMentorConfigurationValidationSeverity {
117
133
  Warning = "warning"
118
134
  }
119
135
  /** AiMentorConfigurationType */
120
- declare enum AiMentorConfigurationType {
136
+ declare enum AiMentorConfigurationType$1 {
121
137
  Teacher = "teacher",
122
138
  Roleplay = "roleplay"
123
139
  }
@@ -151,6 +167,7 @@ declare enum AiCapabilityMode {
151
167
  /** AiCapability */
152
168
  declare enum AiCapability {
153
169
  CourseGeneration = "courseGeneration",
170
+ CourseGenerationVision = "courseGenerationVision",
154
171
  CourseGenerationVisualAssets = "courseGenerationVisualAssets",
155
172
  CourseGenerationEmbeddings = "courseGenerationEmbeddings",
156
173
  AiMentorChat = "aiMentorChat",
@@ -172,6 +189,7 @@ interface AiCapabilityStatus {
172
189
  mode: AiCapabilityMode;
173
190
  provider: AiCapabilityProvider | null;
174
191
  reason?: AiRuntimeResolutionErrorCode | null;
192
+ vendor?: TTSProvider | null;
175
193
  }
176
194
  /** AiJudgeBlockingErrorValidationTarget */
177
195
  interface AiJudgeBlockingErrorValidationTarget {
@@ -550,6 +568,14 @@ interface ApiKeyCreateResponse {
550
568
  */
551
569
  createdAt: string;
552
570
  }
571
+ /**
572
+ * ApiKeyMetadata
573
+ * Extensible non-secret API key settings; recognized routing values are validated.
574
+ */
575
+ interface ApiKeyMetadata {
576
+ textToSpeechProvider?: TextToSpeechProvider | null;
577
+ [key: string]: any;
578
+ }
553
579
  /** ApiKeyResponse */
554
580
  interface ApiKeyResponse {
555
581
  /**
@@ -575,6 +601,30 @@ interface ApiKeyResponse {
575
601
  lastUsedAt?: string | null;
576
602
  /** Revokedat */
577
603
  revokedAt?: string | null;
604
+ /** Extensible non-secret API key settings; recognized routing values are validated. */
605
+ metadata?: ApiKeyMetadata;
606
+ /** Provider used for voice output: the chosen one, else the platform default. */
607
+ effectiveTextToSpeechProvider?: TTSProvider | null;
608
+ /**
609
+ * Hasembeddingapikey
610
+ * @default false
611
+ */
612
+ hasEmbeddingApiKey?: boolean;
613
+ /**
614
+ * Hasagentapikey
615
+ * @default false
616
+ */
617
+ hasAgentApiKey?: boolean;
618
+ /**
619
+ * Hasspeechtotextapikey
620
+ * @default false
621
+ */
622
+ hasSpeechToTextApiKey?: boolean;
623
+ /**
624
+ * Hastexttospeechapikey
625
+ * @default false
626
+ */
627
+ hasTextToSpeechApiKey?: boolean;
578
628
  }
579
629
  /** ApiKeyUpdateRequest */
580
630
  interface ApiKeyUpdateRequest {
@@ -591,9 +641,11 @@ interface ApiKeyUpdateRequest {
591
641
  speechToTextApiKey?: string | null;
592
642
  /**
593
643
  * Texttospeechapikey
594
- * Text-to-speech provider API key. Currently only Cartesia is supported.
644
+ * API key of the selected text-to-speech provider (Cartesia or ElevenLabs). Write-only.
595
645
  */
596
646
  textToSpeechApiKey?: string | null;
647
+ /** Merge non-secret settings. Null values remove individual metadata entries. */
648
+ metadata?: ApiKeyMetadata | null;
597
649
  }
598
650
  /** ApplicationDeltaProof */
599
651
  interface ApplicationDeltaProof {
@@ -787,7 +839,7 @@ interface AuthoringCommand$1 {
787
839
  /** Actorid */
788
840
  actorId: string;
789
841
  /** Action */
790
- action: "request.create" | "session.pause" | "session.resume" | "session.stop" | "request.stop" | "request.discard" | "task.retry" | "question.answer" | "proposal.accept" | "proposal.reject" | "proposal.review" | "proposal.regenerate" | "proposal.regenerate.batch" | "draft.edit" | "draft.discard" | "sources.select" | "source.refresh" | "asset.retry_submission";
842
+ action: "request.create" | "session.pause" | "session.resume" | "session.stop" | "request.stop" | "request.discard" | "task.retry" | "question.answer" | "proposal.accept" | "proposal.reject" | "proposal.review" | "proposal.regenerate" | "proposal.regenerate.batch" | "draft.edit" | "draft.discard" | "sources.select" | "source.refresh" | "asset.retry_submission" | "autonomous.fail";
791
843
  request?: AuthoringRequest | null;
792
844
  /** Targetid */
793
845
  targetId?: string | null;
@@ -823,6 +875,8 @@ interface AuthoringCommand$1 {
823
875
  } & LessonWriteInput) | ({
824
876
  type: "lesson.delete";
825
877
  } & DeleteOperation) | ({
878
+ type: "lesson.image.insert";
879
+ } & LessonImageInsert) | ({
826
880
  type: "lesson.metadata.update";
827
881
  } & LessonMetadataUpdate) | ({
828
882
  type: "lesson.reorder";
@@ -850,6 +904,11 @@ interface AuthoringRequest {
850
904
  * @default "medium"
851
905
  */
852
906
  reasoningEffort?: ReasoningEffort;
907
+ /**
908
+ * Executionmode
909
+ * @default "review"
910
+ */
911
+ executionMode?: "review" | "autonomous";
853
912
  /** Context */
854
913
  context?: Record<string, JsonValue>;
855
914
  /**
@@ -1342,15 +1401,25 @@ interface DragOption {
1342
1401
  */
1343
1402
  displayOrder: number;
1344
1403
  }
1345
- /** EmbeddingsRequest */
1404
+ /**
1405
+ * EmbeddingsRequest
1406
+ * Embed input text with an optional explicitly requested positive vector size.
1407
+ */
1346
1408
  interface EmbeddingsRequest {
1347
1409
  /** Texts */
1348
1410
  texts: string[];
1411
+ /** Dimensions */
1412
+ dimensions?: number | null;
1349
1413
  }
1350
- /** EmbeddingsResponse */
1414
+ /**
1415
+ * EmbeddingsResponse
1416
+ * Return vectors plus the resolved model sent to the provider for this exact call.
1417
+ */
1351
1418
  interface EmbeddingsResponse {
1352
1419
  /** Embeddings */
1353
1420
  embeddings: number[][];
1421
+ /** Model */
1422
+ model?: string | null;
1354
1423
  }
1355
1424
  /**
1356
1425
  * Event
@@ -1466,6 +1535,8 @@ interface FrozenExport {
1466
1535
  } & LessonWriteOutput) | ({
1467
1536
  type: "lesson.delete";
1468
1537
  } & DeleteOperation) | ({
1538
+ type: "lesson.image.insert";
1539
+ } & LessonImageInsert) | ({
1469
1540
  type: "lesson.metadata.update";
1470
1541
  } & LessonMetadataUpdate) | ({
1471
1542
  type: "lesson.reorder";
@@ -1486,7 +1557,33 @@ interface GenerateAiMentorConfigurationRequest {
1486
1557
  messages: PublicAiMessage[];
1487
1558
  /** Temperature */
1488
1559
  temperature?: number | null;
1489
- configurationType: AiMentorConfigurationType;
1560
+ configurationType: AiMentorConfigurationType$1;
1561
+ }
1562
+ /**
1563
+ * ImageInsertPayload
1564
+ * Choose one image and existing block without accepting replacement lesson prose.
1565
+ */
1566
+ interface ImageInsertPayload {
1567
+ /**
1568
+ * Assetid
1569
+ * @format uuid
1570
+ */
1571
+ assetId: string;
1572
+ /**
1573
+ * Anchorblockid
1574
+ * @format uuid
1575
+ */
1576
+ anchorBlockId: string;
1577
+ /** Position */
1578
+ position: "before" | "after";
1579
+ /** Caption */
1580
+ caption?: string | null;
1581
+ /**
1582
+ * Alttext
1583
+ * @minLength 1
1584
+ * @maxLength 1000
1585
+ */
1586
+ altText: string;
1490
1587
  }
1491
1588
  type JsonValue = any;
1492
1589
  /** JudgeCriterionResult */
@@ -1527,6 +1624,37 @@ interface JudgeTriggeredBlockingError {
1527
1624
  */
1528
1625
  learnerSafeFeedback: string;
1529
1626
  }
1627
+ /**
1628
+ * LessonImageInsert
1629
+ * Insert an image beside a trusted existing block under the whole-lesson baseline.
1630
+ */
1631
+ interface LessonImageInsert {
1632
+ /**
1633
+ * Operationid
1634
+ * @format uuid
1635
+ */
1636
+ operationId: string;
1637
+ /**
1638
+ * Targetid
1639
+ * @format uuid
1640
+ */
1641
+ targetId: string;
1642
+ /** Language */
1643
+ language: "en" | "pl" | "de" | "lt" | "cs" | "es" | "fr";
1644
+ /** Baselinehash */
1645
+ baselineHash?: string | null;
1646
+ /** Dependencies */
1647
+ dependencies?: string[];
1648
+ /** Fieldbaselines */
1649
+ fieldBaselines?: Record<string, string>;
1650
+ /**
1651
+ * Type
1652
+ * @default "lesson.image.insert"
1653
+ */
1654
+ type?: "lesson.image.insert";
1655
+ /** Choose one image and existing block without accepting replacement lesson prose. */
1656
+ payload: ImageInsertPayload;
1657
+ }
1530
1658
  /**
1531
1659
  * LessonMetadataPayload
1532
1660
  * Patch lesson text without rewriting lesson configuration, assessment, or resources.
@@ -1650,7 +1778,10 @@ interface LessonWriteOutput {
1650
1778
  lessonType: "quiz";
1651
1779
  } & QuizLessonOutput);
1652
1780
  }
1653
- /** MentorChatRequest */
1781
+ /**
1782
+ * MentorChatRequest
1783
+ * Opt in to native assistant metadata without changing existing text/voice calls.
1784
+ */
1654
1785
  interface MentorChatRequest {
1655
1786
  /** Messages */
1656
1787
  messages: PublicAiMessage[];
@@ -1658,8 +1789,29 @@ interface MentorChatRequest {
1658
1789
  temperature?: number | null;
1659
1790
  /** Voicesessionid */
1660
1791
  voiceSessionId?: string | null;
1792
+ /**
1793
+ * Streamformat
1794
+ * @default "text"
1795
+ */
1796
+ streamFormat?: "text" | "events";
1797
+ /**
1798
+ * Tools
1799
+ * @maxItems 128
1800
+ */
1801
+ tools?: NativeChatTool[];
1802
+ /** Toolchoice */
1803
+ toolChoice?: "auto" | "none" | "required" | NamedToolChoice | null;
1804
+ /** Maxoutputtokens */
1805
+ maxOutputTokens?: number | null;
1806
+ /** Topp */
1807
+ topP?: number | null;
1808
+ /** Stopsequences */
1809
+ stopSequences?: string[] | null;
1661
1810
  }
1662
- /** MentorChatResponse */
1811
+ /**
1812
+ * MentorChatResponse
1813
+ * Retain the exact legacy message response for text-only callers.
1814
+ */
1663
1815
  interface MentorChatResponse {
1664
1816
  /** Message */
1665
1817
  message: string;
@@ -1777,6 +1929,136 @@ interface MetadataUpdate {
1777
1929
  /** Carry the optional course metadata fields that a metadata patch may change. */
1778
1930
  payload: MetadataPayload;
1779
1931
  }
1932
+ /**
1933
+ * NamedToolChoice
1934
+ * Select one of the tools declared on this invocation.
1935
+ */
1936
+ interface NamedToolChoice {
1937
+ /**
1938
+ * Name
1939
+ * @minLength 1
1940
+ * @maxLength 128
1941
+ */
1942
+ name: string;
1943
+ }
1944
+ /**
1945
+ * NativeChatResult
1946
+ * Return lossless assistant output when a request opts in to native tool chat.
1947
+ */
1948
+ interface NativeChatResult {
1949
+ /** Message */
1950
+ message: string;
1951
+ /** Toolcalls */
1952
+ toolCalls: NativeToolCall[];
1953
+ /** Finishreason */
1954
+ finishReason: "stop" | "length" | "tool-calls" | "content-filter" | "other";
1955
+ usage?: NativeChatUsage | null;
1956
+ }
1957
+ /**
1958
+ * NativeChatTool
1959
+ * Describe a caller-owned function; Luma asks for calls but never executes it.
1960
+ */
1961
+ interface NativeChatTool {
1962
+ /**
1963
+ * Name
1964
+ * @minLength 1
1965
+ * @maxLength 128
1966
+ */
1967
+ name: string;
1968
+ /** Description */
1969
+ description?: string | null;
1970
+ /** Inputschema */
1971
+ inputSchema: Record<string, JsonValue>;
1972
+ }
1973
+ /**
1974
+ * NativeChatUsage
1975
+ * Report provider token counts only when they are available.
1976
+ */
1977
+ interface NativeChatUsage {
1978
+ /**
1979
+ * Inputtokens
1980
+ * @min 0
1981
+ */
1982
+ inputTokens: number;
1983
+ /**
1984
+ * Outputtokens
1985
+ * @min 0
1986
+ */
1987
+ outputTokens: number;
1988
+ }
1989
+ /**
1990
+ * NativeErrorEvent
1991
+ * Signal a sanitized mid-stream failure without leaking upstream payloads.
1992
+ */
1993
+ interface NativeErrorEvent {
1994
+ /** Type */
1995
+ type: "error";
1996
+ /** Code */
1997
+ code: "provider_request_failed";
1998
+ }
1999
+ /**
2000
+ * NativeFinishEvent
2001
+ * Close a successful native stream with a reason and optional usage.
2002
+ */
2003
+ interface NativeFinishEvent {
2004
+ /** Type */
2005
+ type: "finish";
2006
+ /** Finishreason */
2007
+ finishReason: "stop" | "length" | "tool-calls" | "content-filter" | "other";
2008
+ usage?: NativeChatUsage | null;
2009
+ }
2010
+ /**
2011
+ * NativeTextDelta
2012
+ * Stream visible text without provider-specific wire objects.
2013
+ */
2014
+ interface NativeTextDelta {
2015
+ /** Type */
2016
+ type: "text-delta";
2017
+ /** Text */
2018
+ text: string;
2019
+ }
2020
+ /**
2021
+ * NativeToolCall
2022
+ * Carry one complete validated function call with JSON object arguments.
2023
+ */
2024
+ interface NativeToolCall {
2025
+ /**
2026
+ * Id
2027
+ * @minLength 1
2028
+ * @maxLength 256
2029
+ */
2030
+ id: string;
2031
+ /**
2032
+ * Name
2033
+ * @minLength 1
2034
+ * @maxLength 128
2035
+ */
2036
+ name: string;
2037
+ /** Arguments */
2038
+ arguments: Record<string, JsonValue>;
2039
+ }
2040
+ /**
2041
+ * NativeToolCallEvent
2042
+ * Publish only a complete function call after validating its arguments.
2043
+ */
2044
+ interface NativeToolCallEvent {
2045
+ /**
2046
+ * Id
2047
+ * @minLength 1
2048
+ * @maxLength 256
2049
+ */
2050
+ id: string;
2051
+ /**
2052
+ * Name
2053
+ * @minLength 1
2054
+ * @maxLength 128
2055
+ */
2056
+ name: string;
2057
+ /** Arguments */
2058
+ arguments: Record<string, JsonValue>;
2059
+ /** Type */
2060
+ type: "tool-call";
2061
+ }
1780
2062
  /**
1781
2063
  * OpenTextSettings
1782
2064
  * Constrain and guide manually reviewed free-text answers.
@@ -1870,6 +2152,15 @@ interface PrepareExport {
1870
2152
  proposalIds: string[];
1871
2153
  /** Omitoptionalassetids */
1872
2154
  omitOptionalAssetIds?: string[];
2155
+ /**
2156
+ * Manualapply
2157
+ * @default false
2158
+ */
2159
+ manualApply?: boolean;
2160
+ /** Autonomousrequestid */
2161
+ autonomousRequestId?: string | null;
2162
+ /** Autonomouscontrolepoch */
2163
+ autonomousControlEpoch?: number | null;
1873
2164
  }
1874
2165
  /**
1875
2166
  * ProposalRegeneration
@@ -1916,12 +2207,19 @@ interface ProposalReviewDecision {
1916
2207
  */
1917
2208
  acceptQualityConcerns?: boolean;
1918
2209
  }
1919
- /** PublicAiMessage */
2210
+ /**
2211
+ * PublicAiMessage
2212
+ * Preserve native text messages and carry assistant calls and their tool results.
2213
+ */
1920
2214
  interface PublicAiMessage {
1921
2215
  /** Role */
1922
- role: "system" | "user" | "assistant";
2216
+ role: "system" | "user" | "assistant" | "tool";
1923
2217
  /** Content */
1924
2218
  content: string;
2219
+ /** Toolcalls */
2220
+ toolCalls?: NativeToolCall[] | null;
2221
+ /** Toolcallid */
2222
+ toolCallId?: string | null;
1925
2223
  }
1926
2224
  /** PublicConfigurationResponse */
1927
2225
  interface PublicConfigurationResponse {
@@ -2572,6 +2870,20 @@ interface TurnPart {
2572
2870
  tool?: TurnTool | null;
2573
2871
  artifact?: TurnArtifactRef | null;
2574
2872
  }
2873
+ /**
2874
+ * TurnResearchSource
2875
+ * Retain public provenance links in replayable research activity.
2876
+ */
2877
+ interface TurnResearchSource {
2878
+ /**
2879
+ * Url
2880
+ * @minLength 1
2881
+ * @maxLength 2048
2882
+ */
2883
+ url: string;
2884
+ /** Title */
2885
+ title?: string | null;
2886
+ }
2575
2887
  /**
2576
2888
  * TurnTool
2577
2889
  * Describe one stable tool invocation displayed inside an assistant turn.
@@ -2589,9 +2901,15 @@ interface TurnTool {
2589
2901
  }
2590
2902
  /**
2591
2903
  * TurnToolResult
2592
- * Expose bounded counts from a completed tool without forwarding raw provider output.
2904
+ * Retain bounded public research metadata without forwarding extracted page text.
2593
2905
  */
2594
2906
  interface TurnToolResult {
2907
+ /** Query */
2908
+ query?: string | null;
2909
+ /** Queries */
2910
+ queries?: string[] | null;
2911
+ /** Sources */
2912
+ sources?: TurnResearchSource[] | null;
2595
2913
  /** Sourcecount */
2596
2914
  sourceCount?: number | null;
2597
2915
  /** Findingcount */
@@ -2612,6 +2930,9 @@ interface WorkspaceRecord {
2612
2930
  /** Payload */
2613
2931
  payload: Record<string, JsonValue>;
2614
2932
  }
2933
+ type BaseNullTypeMapping<Key, Type> = {
2934
+ type: Key;
2935
+ } & Type;
2615
2936
 
2616
2937
  type QueryParamsType = Record<string | number, any>;
2617
2938
  interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
@@ -2671,7 +2992,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
2671
2992
  */
2672
2993
  getConfigurationStatusApiPublicV1AiConfigurationGet: (params?: RequestParams) => Promise<AxiosResponse<PublicConfigurationResponse, any, {}, any>>;
2673
2994
  /**
2674
- * No description
2995
+ * @description Existing text stream by default; streamFormat=events opts into newline-delimited native text, complete tool-call, finish and sanitized error events. Tools execute in the caller, never in Luma.
2675
2996
  *
2676
2997
  * @tags Public - Require API Key
2677
2998
  * @name MentorChatApiPublicV1AiMentorChatPost
@@ -2679,7 +3000,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
2679
3000
  * @request POST:/api/public/v1/ai/mentor/chat
2680
3001
  * @secure
2681
3002
  */
2682
- mentorChatApiPublicV1AiMentorChatPost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
3003
+ mentorChatApiPublicV1AiMentorChatPost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<string & (BaseNullTypeMapping<"text-delta", NativeTextDelta> | BaseNullTypeMapping<"tool-call", NativeToolCallEvent> | BaseNullTypeMapping<"finish", NativeFinishEvent> | BaseNullTypeMapping<"error", NativeErrorEvent>), any, {}, any>>;
2683
3004
  /**
2684
3005
  * No description
2685
3006
  *
@@ -2689,7 +3010,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
2689
3010
  * @request POST:/api/public/v1/ai/mentor/chat/generate
2690
3011
  * @secure
2691
3012
  */
2692
- generateMentorChatApiPublicV1AiMentorChatGeneratePost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<MentorChatResponse, any, {}, any>>;
3013
+ generateMentorChatApiPublicV1AiMentorChatGeneratePost: (data: MentorChatRequest, params?: RequestParams) => Promise<AxiosResponse<NativeChatResult | MentorChatResponse, any, {}, any>>;
2693
3014
  /**
2694
3015
  * No description
2695
3016
  *
@@ -2751,7 +3072,7 @@ declare class API<SecurityDataType extends unknown> extends HttpClient<SecurityD
2751
3072
  */
2752
3073
  generateTranslationsApiPublicV1AiTranslationsGeneratePost: (data: StructuredGenerationRequest, params?: RequestParams) => Promise<AxiosResponse<TranslationResponse, any, {}, any>>;
2753
3074
  /**
2754
- * No description
3075
+ * @description Embeds texts using the API key's Custom embeddings runtime. Optional dimensions requests a positive vector size. The response model identifies the same resolved runtime used to produce the validated vectors.
2755
3076
  *
2756
3077
  * @tags Public - Require API Key
2757
3078
  * @name CreateEmbeddingsApiPublicV1AiEmbeddingsPost
@@ -3066,6 +3387,7 @@ declare const LUMA_AI_MODEL_DOMAINS: {
3066
3387
  readonly AI_JUDGE_CONFIGURATION_VALIDATOR: AiModelDomain.AiJudgeConfigurationValidator;
3067
3388
  readonly TRANSLATIONS: AiModelDomain.Translations;
3068
3389
  readonly COURSE_GENERATION: AiModelDomain.CourseGeneration;
3390
+ readonly COURSE_GENERATION_VISION: AiModelDomain.CourseGenerationVision;
3069
3391
  readonly COURSE_GENERATION_VISUAL_ASSETS: AiModelDomain.CourseGenerationVisualAssets;
3070
3392
  readonly COURSE_GENERATION_EMBEDDINGS: AiModelDomain.CourseGenerationEmbeddings;
3071
3393
  readonly EMBEDDINGS: AiModelDomain.Embeddings;
@@ -3596,4 +3918,62 @@ interface LumaSocket extends LumaSocketBase {
3596
3918
  onAudioOutputComplete(handler: LumaSocketListenEvents[typeof LUMA_SOCKET_LISTEN_EVENTS.AUDIO_OUTPUT_COMPLETE]): this;
3597
3919
  }
3598
3920
 
3599
- export { type GetAuthoringExportOptions as $, type AiJudgeConfigurationResponseOutput as A, type BodyTranscribeDictationApiPublicV1AiTranscriptionsPost as B, type AuthoringTurnHistoryOptions as C, type AuthoringTurnHistoryPage as D, type EmbeddingsRequest as E, type AuthoringEventsOptions as F, type GenerateAiMentorConfigurationRequest as G, type AuthoringEventPage as H, type SubscribeAuthoringEventsOptions as I, type JudgeResponse as J, type AuthoringSourceUploadReceipt as K, type ListAuthoringSessionsOptions as L, type MentorChatRequest as M, type DownloadAuthoringAssetOptions as N, type DownloadedAuthoringAsset as O, type PublicConfigurationResponse as P, type SendAuthoringCommandOptions as Q, type AuthoringCommandReceipt as R, type StructuredGenerationRequest as S, type TranslationResponse as T, type UploadAuthoringSourceOptions as U, type FulfillAuthoringContextOptions as V, type AuthoringContextFulfillmentReceipt as W, type FailAuthoringContextOptions as X, type AuthoringContextFailureReceipt as Y, type PrepareAuthoringExportOptions as Z, type FrozenAuthoringExport as _, type EmbeddingsResponse as a, type ContextResponse as a$, type RecordAuthoringReceiptOptions as a0, type AuthoringApplicationReceipt as a1, type LumaSocket as a2, AUDIO_PROVIDER_STATES as a3, AUDIO_RECOVERY_STATES as a4, type AiCapabilityStatus as a5, type AiJudgeConfigurationResponseInput as a6, type AiModelAssignmentResponse as a7, type AiModelAssignmentUpdateRequest as a8, AiModelDomain as a9, type AudioStopPayload as aA, type AudioTriggerTTSPayload as aB, type AuthoringCommand as aC, type AuthoringContextFailure as aD, type AuthoringContextResponse as aE, type AuthoringEvent as aF, type AuthoringLessonCreateOperation as aG, type AuthoringLessonUpdateOperation as aH, type AuthoringMentorLessonCreatePayload as aI, type AuthoringOperation as aJ, type AuthoringSessionSummary as aK, AuthoringSubscriptionError as aL, type AuthoringSubscriptionErrorCode as aM, type AuthoringTaskFailure as aN, type AuthoringTaskSummary as aO, type AuthoringTurn as aP, type AuthoringTurnPart as aQ, type AuthoringWorkProgress as aR, type AuthoringWorkProgressChapter as aS, type AuthoringWorkProgressStage as aT, type AuthoringWorkspaceRecord as aU, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as aV, type ClientSpeechBoundaryPayload as aW, type CommandReceipt as aX, type ContextFailure as aY, type ContextFailureReceipt as aZ, type ContextFulfillmentReceipt as a_, AiModelProfileKind as aa, type AiModelProfileResponse as ab, type ApiKeyCreateRequest as ac, type ApiKeyCreateResponse as ad, type ApiKeyResponse as ae, type ApiKeyUpdateRequest as af, type ApplicationReceipt as ag, type AudioBinaryChunk as ah, type AudioChunkPayload as ai, type AudioChunkedPayload as aj, type AudioOutputAlignmentData as ak, type AudioOutputAlignmentPayload as al, type AudioOutputChunkData as am, type AudioOutputChunkPayload as an, type AudioOutputCompleteData as ao, type AudioOutputCompletePayload as ap, type AudioOutputErrorData as aq, type AudioOutputErrorPayload as ar, type AudioOutputInterruptedData as as, type AudioOutputInterruptedPayload as at, type AudioProtocolErrorPayload as au, type AudioProviderState as av, type AudioReconnectPayload as aw, type AudioRecoveryPayload as ax, type AudioRecoveryState as ay, type AudioStartedPayload as az, type AiMentorTeacherConfigurationResponse as b, type CreateSession as b0, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as b1, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as b2, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as b3, EXTERNAL_AUDIO_OPERATION as b4, EXTERNAL_AUDIO_RECOVERY_STATE as b5, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as b6, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as b7, type EventPage as b8, type FrozenExport as b9, type PrepareAuthoringExport as bA, type PrepareExport as bB, type ProposalReviewDecision as bC, type PublicAiMessage as bD, ReasoningEffort as bE, type ServerConnectedPayload as bF, type SessionSnapshot as bG, type SessionSummary as bH, type SessionSummaryPage as bI, type SourceUploadReceipt as bJ, type SpeechAlignmentWord as bK, type StartAudioPayload as bL, TRANSCRIPTION_MODES as bM, type TaskFailure as bN, TaskKind as bO, type TaskSummary as bP, type TranscriptionSessionPlan as bQ, TurnPartKind as bR, TurnPartStatus as bS, TurnStatus as bT, type WorkspaceRecord as bU, LEARNER_TRANSCRIPT_STATUSES as ba, LUMA_AI_MODEL_DOMAINS as bb, LUMA_AI_MODEL_PROFILE_KINDS as bc, LUMA_AUDIO_ACTIONS as bd, LUMA_AUDIO_FORMATS as be, LUMA_CAPTURE_PROFILES as bf, LUMA_MENTOR_STREAM_EVENT_TYPES as bg, LUMA_SOCKET_EMIT_EVENTS as bh, LUMA_SOCKET_LISTEN_EVENTS as bi, LUMA_SOCKET_MESSAGE_TYPES as bj, LUMA_VOICE_TIMING_PRECISION as bk, type LearnerTranscriptStatus as bl, type LearnerTranscriptionData as bm, type LearnerTranscriptionPayload as bn, type LearnerTranscriptionTimingData as bo, type LumaAiModelDomain as bp, type LumaAiModelProfileKind as bq, type LumaCaptureProfile as br, type LumaSocketEmitEvents as bs, type LumaSocketListenEvents as bt, type LumaVoiceTimingPrecision as bu, type MentorStreamEventEnvelope as bv, type MentorTextDeltaPayload as bw, type MentorTextEndPayload as bx, type MentorTextErrorPayload as by, type MentorTranscriptionPayload as bz, type AiMentorRoleplayConfigurationResponse as c, AiCapability as d, AiCapabilityMode as e, AiCapabilityProvider as f, type AiJudgeConfigurationValidationResponse as g, type AiMentorConfigurationValidationResponse as h, type TranscriptionResponse as i, type MentorChatResponse as j, API as k, type AdminOrganizationIdOptions as l, type AdminApiKeyResponse as m, type AdminApiKeyCreateOptions as n, type AdminApiKeyCreateResponse as o, type AdminApiKeyIdentifierOptions as p, type AdminApiKeyUpdateOptions as q, type AdminApiKeyRevokeResponse as r, type AdminConfigurationResponse as s, type AdminModelAssignmentResponse as t, type AdminApiKeyAssignmentUpdateOptions as u, type AdminModelProfileResponse as v, type AuthoringCreateSessionOptions as w, type AuthoringSessionSnapshot as x, type AuthoringSessionPage as y, type AuthoringSessionOptions as z };
3921
+ type AiRuntimeConfiguration = PublicConfigurationResponse;
3922
+ type MentorChatOptions = MentorChatRequest;
3923
+ type MentorStreamRequestOptions = {
3924
+ signal?: AbortSignal;
3925
+ };
3926
+ type MentorGenerateChatResponse = MentorChatResponse | NativeChatResult;
3927
+ /** Native NDJSON records returned by event-mode Mentor chat. */
3928
+ type MentorChatEvent = NativeTextDelta | NativeToolCallEvent | NativeFinishEvent | NativeErrorEvent;
3929
+ type MentorJudgeOptions = StructuredGenerationRequest;
3930
+ type MentorJudgeResponse = JudgeResponse;
3931
+ type GenerateAiJudgeConfigurationOptions = StructuredGenerationRequest;
3932
+ type GenerateAiJudgeConfigurationResponse = AiJudgeConfigurationResponseOutput;
3933
+ declare const AI_MENTOR_CONFIGURATION_TYPES: {
3934
+ readonly TEACHER: "teacher";
3935
+ readonly ROLEPLAY: "roleplay";
3936
+ };
3937
+ type AiMentorConfigurationType = (typeof AI_MENTOR_CONFIGURATION_TYPES)[keyof typeof AI_MENTOR_CONFIGURATION_TYPES];
3938
+ type GenerateAiMentorConfigurationOptions = Omit<GenerateAiMentorConfigurationRequest, "configurationType"> & {
3939
+ configurationType: AiMentorConfigurationType;
3940
+ };
3941
+ type GenerateAiMentorConfigurationResponse = AiMentorTeacherConfigurationResponse | AiMentorRoleplayConfigurationResponse;
3942
+ type ValidateAiJudgeConfigurationOptions = StructuredGenerationRequest;
3943
+ type ValidateAiJudgeConfigurationResponse = AiJudgeConfigurationValidationResponse;
3944
+ type ValidateAiMentorConfigurationOptions = StructuredGenerationRequest;
3945
+ type ValidateAiMentorConfigurationResponse = AiMentorConfigurationValidationResponse;
3946
+ type CreateEmbeddingsOptions = EmbeddingsRequest;
3947
+ type CreateEmbeddingsResponse = EmbeddingsResponse;
3948
+ type GenerateTranslationsOptions = StructuredGenerationRequest;
3949
+ type GenerateTranslationsResponse = TranslationResponse;
3950
+ type TranscribeDictationOptions = BodyTranscribeDictationApiPublicV1AiTranscriptionsPost;
3951
+ type TranscribeDictationResponse = TranscriptionResponse;
3952
+ declare const LUMA_AI_CAPABILITY_MODES: {
3953
+ readonly CORE: AiCapabilityMode.Core;
3954
+ readonly CUSTOM: AiCapabilityMode.Custom;
3955
+ readonly DISABLED: AiCapabilityMode.Disabled;
3956
+ };
3957
+ declare const LUMA_AI_CAPABILITY_PROVIDERS: {
3958
+ readonly LUMA: AiCapabilityProvider.Luma;
3959
+ readonly MENTINGO_CORE: AiCapabilityProvider.MentingoCore;
3960
+ };
3961
+ declare const LUMA_AI_CAPABILITIES: {
3962
+ readonly COURSE_GENERATION: AiCapability.CourseGeneration;
3963
+ readonly COURSE_GENERATION_VISION: AiCapability.CourseGenerationVision;
3964
+ readonly COURSE_GENERATION_VISUAL_ASSETS: AiCapability.CourseGenerationVisualAssets;
3965
+ readonly COURSE_GENERATION_EMBEDDINGS: AiCapability.CourseGenerationEmbeddings;
3966
+ readonly AI_MENTOR_CHAT: AiCapability.AiMentorChat;
3967
+ readonly AI_MENTOR_JUDGE: AiCapability.AiMentorJudge;
3968
+ readonly AI_MENTOR_CONFIGURATION_GENERATOR: AiCapability.AiMentorConfigurationGenerator;
3969
+ readonly AI_JUDGE_CONFIGURATION_GENERATOR: AiCapability.AiJudgeConfigurationGenerator;
3970
+ readonly AI_JUDGE_CONFIGURATION_VALIDATOR: AiCapability.AiJudgeConfigurationValidator;
3971
+ readonly AI_MENTOR_RAG_EMBEDDINGS: AiCapability.AiMentorRagEmbeddings;
3972
+ readonly TRANSLATION_GENERATION: AiCapability.TranslationGeneration;
3973
+ readonly DICTATION_TRANSCRIPTION: AiCapability.DictationTranscription;
3974
+ readonly VOICE_TRANSCRIPTION: AiCapability.VoiceTranscription;
3975
+ readonly VOICE_MENTOR: AiCapability.VoiceMentor;
3976
+ readonly VOICE_TEXT_TO_SPEECH: AiCapability.VoiceTextToSpeech;
3977
+ };
3978
+
3979
+ export { type MentorStreamRequestOptions as $, API as A, type AuthoringTurnHistoryPage as B, type CreateEmbeddingsOptions as C, type AuthoringEventsOptions as D, type AuthoringEventPage as E, type AuthoringSourceUploadReceipt as F, type GenerateAiJudgeConfigurationOptions as G, type DownloadAuthoringAssetOptions as H, type DownloadedAuthoringAsset as I, type SendAuthoringCommandOptions as J, type AuthoringCommandReceipt as K, type ListAuthoringSessionsOptions as L, type FulfillAuthoringContextOptions as M, type AuthoringContextFulfillmentReceipt as N, type FailAuthoringContextOptions as O, type AuthoringContextFailureReceipt as P, type PrepareAuthoringExportOptions as Q, type FrozenAuthoringExport as R, type SubscribeAuthoringEventsOptions as S, type TranscribeDictationOptions as T, type UploadAuthoringSourceOptions as U, type ValidateAiJudgeConfigurationOptions as V, type GetAuthoringExportOptions as W, type RecordAuthoringReceiptOptions as X, type AuthoringApplicationReceipt as Y, type PublicConfigurationResponse as Z, type MentorChatOptions as _, type CreateEmbeddingsResponse as a, type AuthoringWorkProgressChapter as a$, type NativeChatResult as a0, type MentorGenerateChatResponse as a1, type MentorJudgeOptions as a2, type MentorJudgeResponse as a3, type LumaSocket as a4, AI_MENTOR_CONFIGURATION_TYPES as a5, AUDIO_PROVIDER_STATES as a6, AUDIO_RECOVERY_STATES as a7, AiCapability as a8, AiCapabilityMode as a9, type AudioOutputErrorPayload as aA, type AudioOutputInterruptedData as aB, type AudioOutputInterruptedPayload as aC, type AudioProtocolErrorPayload as aD, type AudioProviderState as aE, type AudioReconnectPayload as aF, type AudioRecoveryPayload as aG, type AudioRecoveryState as aH, type AudioStartedPayload as aI, type AudioStopPayload as aJ, type AudioTriggerTTSPayload as aK, type AuthoringCommand as aL, type AuthoringContextFailure as aM, type AuthoringContextResponse as aN, type AuthoringEvent as aO, type AuthoringLessonCreateOperation as aP, type AuthoringLessonUpdateOperation as aQ, type AuthoringMentorLessonCreatePayload as aR, type AuthoringOperation as aS, type AuthoringSessionSummary as aT, AuthoringSubscriptionError as aU, type AuthoringSubscriptionErrorCode as aV, type AuthoringTaskFailure as aW, type AuthoringTaskSummary as aX, type AuthoringTurn as aY, type AuthoringTurnPart as aZ, type AuthoringWorkProgress as a_, AiCapabilityProvider as aa, type AiCapabilityStatus as ab, type AiJudgeConfigurationResponseInput as ac, type AiMentorConfigurationType as ad, type AiModelAssignmentResponse as ae, type AiModelAssignmentUpdateRequest as af, AiModelDomain as ag, AiModelProfileKind as ah, type AiModelProfileResponse as ai, type AiRuntimeConfiguration as aj, type ApiKeyCreateRequest as ak, type ApiKeyCreateResponse as al, type ApiKeyMetadata as am, type ApiKeyResponse as an, type ApiKeyUpdateRequest as ao, type ApplicationReceipt as ap, type AudioBinaryChunk as aq, type AudioChunkPayload as ar, type AudioChunkedPayload as as, type AudioOutputAlignmentData as at, type AudioOutputAlignmentPayload as au, type AudioOutputChunkData as av, type AudioOutputChunkPayload as aw, type AudioOutputCompleteData as ax, type AudioOutputCompletePayload as ay, type AudioOutputErrorData as az, type GenerateAiJudgeConfigurationResponse as b, ReasoningEffort as b$, type AuthoringWorkProgressStage as b0, type AuthoringWorkspaceRecord as b1, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as b2, type ClientSpeechBoundaryPayload as b3, type CommandReceipt as b4, type ContextFailure as b5, type ContextFailureReceipt as b6, type ContextFulfillmentReceipt as b7, type ContextResponse as b8, type CreateSession as b9, type LearnerTranscriptionTimingData as bA, type LumaAiModelDomain as bB, type LumaAiModelProfileKind as bC, type LumaCaptureProfile as bD, type LumaSocketEmitEvents as bE, type LumaSocketListenEvents as bF, type LumaVoiceTimingPrecision as bG, type MentorChatEvent as bH, type MentorChatRequest as bI, type MentorChatResponse as bJ, type MentorStreamEventEnvelope as bK, type MentorTextDeltaPayload as bL, type MentorTextEndPayload as bM, type MentorTextErrorPayload as bN, type MentorTranscriptionPayload as bO, type NamedToolChoice as bP, type NativeChatTool as bQ, type NativeChatUsage as bR, type NativeErrorEvent as bS, type NativeFinishEvent as bT, type NativeTextDelta as bU, type NativeToolCall as bV, type NativeToolCallEvent as bW, type PrepareAuthoringExport as bX, type PrepareExport as bY, type ProposalReviewDecision as bZ, type PublicAiMessage as b_, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as ba, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as bb, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as bc, EXTERNAL_AUDIO_OPERATION as bd, EXTERNAL_AUDIO_RECOVERY_STATE as be, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as bf, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as bg, type EventPage as bh, type FrozenExport as bi, LEARNER_TRANSCRIPT_STATUSES as bj, LUMA_AI_CAPABILITIES as bk, LUMA_AI_CAPABILITY_MODES as bl, LUMA_AI_CAPABILITY_PROVIDERS as bm, LUMA_AI_MODEL_DOMAINS as bn, LUMA_AI_MODEL_PROFILE_KINDS as bo, LUMA_AUDIO_ACTIONS as bp, LUMA_AUDIO_FORMATS as bq, LUMA_CAPTURE_PROFILES as br, LUMA_MENTOR_STREAM_EVENT_TYPES as bs, LUMA_SOCKET_EMIT_EVENTS as bt, LUMA_SOCKET_LISTEN_EVENTS as bu, LUMA_SOCKET_MESSAGE_TYPES as bv, LUMA_VOICE_TIMING_PRECISION as bw, type LearnerTranscriptStatus as bx, type LearnerTranscriptionData as by, type LearnerTranscriptionPayload as bz, type GenerateAiMentorConfigurationOptions as c, type ServerConnectedPayload as c0, type SessionSnapshot as c1, type SessionSummary as c2, type SessionSummaryPage as c3, type SourceUploadReceipt as c4, type SpeechAlignmentWord as c5, type StartAudioPayload as c6, TRANSCRIPTION_MODES as c7, TTSProvider as c8, type TaskFailure as c9, TaskKind as ca, type TaskSummary as cb, TextToSpeechProvider as cc, type TranscriptionSessionPlan as cd, TurnPartKind as ce, TurnPartStatus as cf, TurnStatus as cg, type WorkspaceRecord as ch, type GenerateAiMentorConfigurationResponse as d, type ValidateAiJudgeConfigurationResponse as e, type ValidateAiMentorConfigurationOptions as f, type ValidateAiMentorConfigurationResponse as g, type GenerateTranslationsOptions as h, type GenerateTranslationsResponse as i, type TranscribeDictationResponse as j, type AdminOrganizationIdOptions as k, type AdminApiKeyResponse as l, type AdminApiKeyCreateOptions as m, type AdminApiKeyCreateResponse as n, type AdminApiKeyIdentifierOptions as o, type AdminApiKeyUpdateOptions as p, type AdminApiKeyRevokeResponse as q, type AdminConfigurationResponse as r, type AdminModelAssignmentResponse as s, type AdminApiKeyAssignmentUpdateOptions as t, type AdminModelProfileResponse as u, type AuthoringCreateSessionOptions as v, type AuthoringSessionSnapshot as w, type AuthoringSessionPage as x, type AuthoringSessionOptions as y, type AuthoringTurnHistoryOptions as z };