@mentingo/luma-sdk 0.3.0 → 0.4.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/README.md +7 -0
- package/dist/{chunk-IZTPN6A6.js → chunk-W5CQGEDB.js} +13 -0
- package/dist/{contracts-CpJtA8PG.d.cts → contracts-qTi7LQB8.d.cts} +72 -3
- package/dist/{contracts-CpJtA8PG.d.ts → contracts-qTi7LQB8.d.ts} +72 -3
- package/dist/contracts.d.cts +1 -1
- package/dist/contracts.d.ts +1 -1
- package/dist/contracts.js +1 -1
- package/dist/index.cjs +15 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -185,6 +185,13 @@ for the API key. The SDK exports `AiCapability`, `AiCapabilityMode`,
|
|
|
185
185
|
Custom model names should use the backend `provider:model` format, for example
|
|
186
186
|
`openai:gpt-4.1-mini` or `ollama:llama3.1`.
|
|
187
187
|
|
|
188
|
+
Voice TTS capabilities expose an optional `vendor` (`TTSProvider`) for core-mode
|
|
189
|
+
routing. API key settings use extensible non-secret metadata, for example
|
|
190
|
+
`metadata: { textToSpeechProvider: TextToSpeechProvider.Elevenlabs }` in
|
|
191
|
+
`admin.apiKeys.update`. Omitted metadata entries stay unchanged; setting an entry
|
|
192
|
+
to `null` removes it. Credentials remain in the write-only `textToSpeechApiKey`
|
|
193
|
+
field; `hasTextToSpeechApiKey` reports whether one is saved.
|
|
194
|
+
|
|
188
195
|
For voice mentor flows, use `client.mentor.streamChat({ ..., voiceSessionId })` so streamed mentor text can be forwarded to the active socket session without a separate polling or relay step. Use `client.mentor.generateChat(opts)` only for normal one-shot text responses.
|
|
189
196
|
|
|
190
197
|
## Durable Course Authoring
|
|
@@ -24,6 +24,11 @@ var TurnPartKind = /* @__PURE__ */ ((TurnPartKind2) => {
|
|
|
24
24
|
TurnPartKind2["Question"] = "question";
|
|
25
25
|
return TurnPartKind2;
|
|
26
26
|
})(TurnPartKind || {});
|
|
27
|
+
var TextToSpeechProvider = /* @__PURE__ */ ((TextToSpeechProvider2) => {
|
|
28
|
+
TextToSpeechProvider2["Cartesia"] = "cartesia";
|
|
29
|
+
TextToSpeechProvider2["Elevenlabs"] = "elevenlabs";
|
|
30
|
+
return TextToSpeechProvider2;
|
|
31
|
+
})(TextToSpeechProvider || {});
|
|
27
32
|
var TaskKind = /* @__PURE__ */ ((TaskKind2) => {
|
|
28
33
|
TaskKind2["Plan"] = "plan";
|
|
29
34
|
TaskKind2["Route"] = "route";
|
|
@@ -36,6 +41,12 @@ var TaskKind = /* @__PURE__ */ ((TaskKind2) => {
|
|
|
36
41
|
TaskKind2["CourseReview"] = "course_review";
|
|
37
42
|
return TaskKind2;
|
|
38
43
|
})(TaskKind || {});
|
|
44
|
+
var TTSProvider = /* @__PURE__ */ ((TTSProvider2) => {
|
|
45
|
+
TTSProvider2["Cartesia"] = "cartesia";
|
|
46
|
+
TTSProvider2["Elevenlabs"] = "elevenlabs";
|
|
47
|
+
TTSProvider2["Fish"] = "fish";
|
|
48
|
+
return TTSProvider2;
|
|
49
|
+
})(TTSProvider || {});
|
|
39
50
|
var ReasoningEffort = /* @__PURE__ */ ((ReasoningEffort2) => {
|
|
40
51
|
ReasoningEffort2["Low"] = "low";
|
|
41
52
|
ReasoningEffort2["Medium"] = "medium";
|
|
@@ -920,7 +931,9 @@ export {
|
|
|
920
931
|
TurnStatus,
|
|
921
932
|
TurnPartStatus,
|
|
922
933
|
TurnPartKind,
|
|
934
|
+
TextToSpeechProvider,
|
|
923
935
|
TaskKind,
|
|
936
|
+
TTSProvider,
|
|
924
937
|
ReasoningEffort,
|
|
925
938
|
AiModelProfileKind,
|
|
926
939
|
AiModelDomain,
|
|
@@ -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.
|
|
@@ -49,6 +57,12 @@ declare enum TaskKind {
|
|
|
49
57
|
Asset = "asset",
|
|
50
58
|
CourseReview = "course_review"
|
|
51
59
|
}
|
|
60
|
+
/** TTSProvider */
|
|
61
|
+
declare enum TTSProvider {
|
|
62
|
+
Cartesia = "cartesia",
|
|
63
|
+
Elevenlabs = "elevenlabs",
|
|
64
|
+
Fish = "fish"
|
|
65
|
+
}
|
|
52
66
|
/**
|
|
53
67
|
* ReasoningEffort
|
|
54
68
|
* Bound provider reasoning according to the request's actual work.
|
|
@@ -172,6 +186,7 @@ interface AiCapabilityStatus {
|
|
|
172
186
|
mode: AiCapabilityMode;
|
|
173
187
|
provider: AiCapabilityProvider | null;
|
|
174
188
|
reason?: AiRuntimeResolutionErrorCode | null;
|
|
189
|
+
vendor?: TTSProvider | null;
|
|
175
190
|
}
|
|
176
191
|
/** AiJudgeBlockingErrorValidationTarget */
|
|
177
192
|
interface AiJudgeBlockingErrorValidationTarget {
|
|
@@ -550,6 +565,14 @@ interface ApiKeyCreateResponse {
|
|
|
550
565
|
*/
|
|
551
566
|
createdAt: string;
|
|
552
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* ApiKeyMetadata
|
|
570
|
+
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
571
|
+
*/
|
|
572
|
+
interface ApiKeyMetadata {
|
|
573
|
+
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
574
|
+
[key: string]: any;
|
|
575
|
+
}
|
|
553
576
|
/** ApiKeyResponse */
|
|
554
577
|
interface ApiKeyResponse {
|
|
555
578
|
/**
|
|
@@ -575,6 +598,30 @@ interface ApiKeyResponse {
|
|
|
575
598
|
lastUsedAt?: string | null;
|
|
576
599
|
/** Revokedat */
|
|
577
600
|
revokedAt?: string | null;
|
|
601
|
+
/** Extensible non-secret API key settings; recognized routing values are validated. */
|
|
602
|
+
metadata?: ApiKeyMetadata;
|
|
603
|
+
/** Provider used for voice output: the chosen one, else the platform default. */
|
|
604
|
+
effectiveTextToSpeechProvider?: TTSProvider | null;
|
|
605
|
+
/**
|
|
606
|
+
* Hasembeddingapikey
|
|
607
|
+
* @default false
|
|
608
|
+
*/
|
|
609
|
+
hasEmbeddingApiKey?: boolean;
|
|
610
|
+
/**
|
|
611
|
+
* Hasagentapikey
|
|
612
|
+
* @default false
|
|
613
|
+
*/
|
|
614
|
+
hasAgentApiKey?: boolean;
|
|
615
|
+
/**
|
|
616
|
+
* Hasspeechtotextapikey
|
|
617
|
+
* @default false
|
|
618
|
+
*/
|
|
619
|
+
hasSpeechToTextApiKey?: boolean;
|
|
620
|
+
/**
|
|
621
|
+
* Hastexttospeechapikey
|
|
622
|
+
* @default false
|
|
623
|
+
*/
|
|
624
|
+
hasTextToSpeechApiKey?: boolean;
|
|
578
625
|
}
|
|
579
626
|
/** ApiKeyUpdateRequest */
|
|
580
627
|
interface ApiKeyUpdateRequest {
|
|
@@ -591,9 +638,11 @@ interface ApiKeyUpdateRequest {
|
|
|
591
638
|
speechToTextApiKey?: string | null;
|
|
592
639
|
/**
|
|
593
640
|
* Texttospeechapikey
|
|
594
|
-
*
|
|
641
|
+
* API key of the selected text-to-speech provider (Cartesia or ElevenLabs). Write-only.
|
|
595
642
|
*/
|
|
596
643
|
textToSpeechApiKey?: string | null;
|
|
644
|
+
/** Merge non-secret settings. Null values remove individual metadata entries. */
|
|
645
|
+
metadata?: ApiKeyMetadata | null;
|
|
597
646
|
}
|
|
598
647
|
/** ApplicationDeltaProof */
|
|
599
648
|
interface ApplicationDeltaProof {
|
|
@@ -2572,6 +2621,20 @@ interface TurnPart {
|
|
|
2572
2621
|
tool?: TurnTool | null;
|
|
2573
2622
|
artifact?: TurnArtifactRef | null;
|
|
2574
2623
|
}
|
|
2624
|
+
/**
|
|
2625
|
+
* TurnResearchSource
|
|
2626
|
+
* Retain public provenance links in replayable research activity.
|
|
2627
|
+
*/
|
|
2628
|
+
interface TurnResearchSource {
|
|
2629
|
+
/**
|
|
2630
|
+
* Url
|
|
2631
|
+
* @minLength 1
|
|
2632
|
+
* @maxLength 2048
|
|
2633
|
+
*/
|
|
2634
|
+
url: string;
|
|
2635
|
+
/** Title */
|
|
2636
|
+
title?: string | null;
|
|
2637
|
+
}
|
|
2575
2638
|
/**
|
|
2576
2639
|
* TurnTool
|
|
2577
2640
|
* Describe one stable tool invocation displayed inside an assistant turn.
|
|
@@ -2589,9 +2652,15 @@ interface TurnTool {
|
|
|
2589
2652
|
}
|
|
2590
2653
|
/**
|
|
2591
2654
|
* TurnToolResult
|
|
2592
|
-
*
|
|
2655
|
+
* Retain bounded public research metadata without forwarding extracted page text.
|
|
2593
2656
|
*/
|
|
2594
2657
|
interface TurnToolResult {
|
|
2658
|
+
/** Query */
|
|
2659
|
+
query?: string | null;
|
|
2660
|
+
/** Queries */
|
|
2661
|
+
queries?: string[] | null;
|
|
2662
|
+
/** Sources */
|
|
2663
|
+
sources?: TurnResearchSource[] | null;
|
|
2595
2664
|
/** Sourcecount */
|
|
2596
2665
|
sourceCount?: number | null;
|
|
2597
2666
|
/** Findingcount */
|
|
@@ -3596,4 +3665,4 @@ interface LumaSocket extends LumaSocketBase {
|
|
|
3596
3665
|
onAudioOutputComplete(handler: LumaSocketListenEvents[typeof LUMA_SOCKET_LISTEN_EVENTS.AUDIO_OUTPUT_COMPLETE]): this;
|
|
3597
3666
|
}
|
|
3598
3667
|
|
|
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
|
|
3668
|
+
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 ContextFulfillmentReceipt 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 AudioStartedPayload as aA, type AudioStopPayload as aB, type AudioTriggerTTSPayload as aC, type AuthoringCommand as aD, type AuthoringContextFailure as aE, type AuthoringContextResponse as aF, type AuthoringEvent as aG, type AuthoringLessonCreateOperation as aH, type AuthoringLessonUpdateOperation as aI, type AuthoringMentorLessonCreatePayload as aJ, type AuthoringOperation as aK, type AuthoringSessionSummary as aL, AuthoringSubscriptionError as aM, type AuthoringSubscriptionErrorCode as aN, type AuthoringTaskFailure as aO, type AuthoringTaskSummary as aP, type AuthoringTurn as aQ, type AuthoringTurnPart as aR, type AuthoringWorkProgress as aS, type AuthoringWorkProgressChapter as aT, type AuthoringWorkProgressStage as aU, type AuthoringWorkspaceRecord as aV, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as aW, type ClientSpeechBoundaryPayload as aX, type CommandReceipt as aY, type ContextFailure as aZ, type ContextFailureReceipt as a_, AiModelProfileKind as aa, type AiModelProfileResponse as ab, type ApiKeyCreateRequest as ac, type ApiKeyCreateResponse as ad, type ApiKeyMetadata as ae, type ApiKeyResponse as af, type ApiKeyUpdateRequest as ag, type ApplicationReceipt as ah, type AudioBinaryChunk as ai, type AudioChunkPayload as aj, type AudioChunkedPayload as ak, type AudioOutputAlignmentData as al, type AudioOutputAlignmentPayload as am, type AudioOutputChunkData as an, type AudioOutputChunkPayload as ao, type AudioOutputCompleteData as ap, type AudioOutputCompletePayload as aq, type AudioOutputErrorData as ar, type AudioOutputErrorPayload as as, type AudioOutputInterruptedData as at, type AudioOutputInterruptedPayload as au, type AudioProtocolErrorPayload as av, type AudioProviderState as aw, type AudioReconnectPayload as ax, type AudioRecoveryPayload as ay, type AudioRecoveryState as az, type AiMentorTeacherConfigurationResponse as b, type ContextResponse as b0, type CreateSession as b1, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as b2, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as b3, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as b4, EXTERNAL_AUDIO_OPERATION as b5, EXTERNAL_AUDIO_RECOVERY_STATE as b6, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as b7, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as b8, type EventPage as b9, type MentorTranscriptionPayload as bA, type PrepareAuthoringExport as bB, type PrepareExport as bC, type ProposalReviewDecision as bD, type PublicAiMessage as bE, ReasoningEffort as bF, type ServerConnectedPayload as bG, type SessionSnapshot as bH, type SessionSummary as bI, type SessionSummaryPage as bJ, type SourceUploadReceipt as bK, type SpeechAlignmentWord as bL, type StartAudioPayload as bM, TRANSCRIPTION_MODES as bN, TTSProvider as bO, type TaskFailure as bP, TaskKind as bQ, type TaskSummary as bR, TextToSpeechProvider as bS, type TranscriptionSessionPlan as bT, TurnPartKind as bU, TurnPartStatus as bV, TurnStatus as bW, type WorkspaceRecord as bX, type FrozenExport as ba, LEARNER_TRANSCRIPT_STATUSES as bb, LUMA_AI_MODEL_DOMAINS as bc, LUMA_AI_MODEL_PROFILE_KINDS as bd, LUMA_AUDIO_ACTIONS as be, LUMA_AUDIO_FORMATS as bf, LUMA_CAPTURE_PROFILES as bg, LUMA_MENTOR_STREAM_EVENT_TYPES as bh, LUMA_SOCKET_EMIT_EVENTS as bi, LUMA_SOCKET_LISTEN_EVENTS as bj, LUMA_SOCKET_MESSAGE_TYPES as bk, LUMA_VOICE_TIMING_PRECISION as bl, type LearnerTranscriptStatus as bm, type LearnerTranscriptionData as bn, type LearnerTranscriptionPayload as bo, type LearnerTranscriptionTimingData as bp, type LumaAiModelDomain as bq, type LumaAiModelProfileKind as br, type LumaCaptureProfile as bs, type LumaSocketEmitEvents as bt, type LumaSocketListenEvents as bu, type LumaVoiceTimingPrecision as bv, type MentorStreamEventEnvelope as bw, type MentorTextDeltaPayload as bx, type MentorTextEndPayload as by, type MentorTextErrorPayload 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 };
|
|
@@ -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.
|
|
@@ -49,6 +57,12 @@ declare enum TaskKind {
|
|
|
49
57
|
Asset = "asset",
|
|
50
58
|
CourseReview = "course_review"
|
|
51
59
|
}
|
|
60
|
+
/** TTSProvider */
|
|
61
|
+
declare enum TTSProvider {
|
|
62
|
+
Cartesia = "cartesia",
|
|
63
|
+
Elevenlabs = "elevenlabs",
|
|
64
|
+
Fish = "fish"
|
|
65
|
+
}
|
|
52
66
|
/**
|
|
53
67
|
* ReasoningEffort
|
|
54
68
|
* Bound provider reasoning according to the request's actual work.
|
|
@@ -172,6 +186,7 @@ interface AiCapabilityStatus {
|
|
|
172
186
|
mode: AiCapabilityMode;
|
|
173
187
|
provider: AiCapabilityProvider | null;
|
|
174
188
|
reason?: AiRuntimeResolutionErrorCode | null;
|
|
189
|
+
vendor?: TTSProvider | null;
|
|
175
190
|
}
|
|
176
191
|
/** AiJudgeBlockingErrorValidationTarget */
|
|
177
192
|
interface AiJudgeBlockingErrorValidationTarget {
|
|
@@ -550,6 +565,14 @@ interface ApiKeyCreateResponse {
|
|
|
550
565
|
*/
|
|
551
566
|
createdAt: string;
|
|
552
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* ApiKeyMetadata
|
|
570
|
+
* Extensible non-secret API key settings; recognized routing values are validated.
|
|
571
|
+
*/
|
|
572
|
+
interface ApiKeyMetadata {
|
|
573
|
+
textToSpeechProvider?: TextToSpeechProvider | null;
|
|
574
|
+
[key: string]: any;
|
|
575
|
+
}
|
|
553
576
|
/** ApiKeyResponse */
|
|
554
577
|
interface ApiKeyResponse {
|
|
555
578
|
/**
|
|
@@ -575,6 +598,30 @@ interface ApiKeyResponse {
|
|
|
575
598
|
lastUsedAt?: string | null;
|
|
576
599
|
/** Revokedat */
|
|
577
600
|
revokedAt?: string | null;
|
|
601
|
+
/** Extensible non-secret API key settings; recognized routing values are validated. */
|
|
602
|
+
metadata?: ApiKeyMetadata;
|
|
603
|
+
/** Provider used for voice output: the chosen one, else the platform default. */
|
|
604
|
+
effectiveTextToSpeechProvider?: TTSProvider | null;
|
|
605
|
+
/**
|
|
606
|
+
* Hasembeddingapikey
|
|
607
|
+
* @default false
|
|
608
|
+
*/
|
|
609
|
+
hasEmbeddingApiKey?: boolean;
|
|
610
|
+
/**
|
|
611
|
+
* Hasagentapikey
|
|
612
|
+
* @default false
|
|
613
|
+
*/
|
|
614
|
+
hasAgentApiKey?: boolean;
|
|
615
|
+
/**
|
|
616
|
+
* Hasspeechtotextapikey
|
|
617
|
+
* @default false
|
|
618
|
+
*/
|
|
619
|
+
hasSpeechToTextApiKey?: boolean;
|
|
620
|
+
/**
|
|
621
|
+
* Hastexttospeechapikey
|
|
622
|
+
* @default false
|
|
623
|
+
*/
|
|
624
|
+
hasTextToSpeechApiKey?: boolean;
|
|
578
625
|
}
|
|
579
626
|
/** ApiKeyUpdateRequest */
|
|
580
627
|
interface ApiKeyUpdateRequest {
|
|
@@ -591,9 +638,11 @@ interface ApiKeyUpdateRequest {
|
|
|
591
638
|
speechToTextApiKey?: string | null;
|
|
592
639
|
/**
|
|
593
640
|
* Texttospeechapikey
|
|
594
|
-
*
|
|
641
|
+
* API key of the selected text-to-speech provider (Cartesia or ElevenLabs). Write-only.
|
|
595
642
|
*/
|
|
596
643
|
textToSpeechApiKey?: string | null;
|
|
644
|
+
/** Merge non-secret settings. Null values remove individual metadata entries. */
|
|
645
|
+
metadata?: ApiKeyMetadata | null;
|
|
597
646
|
}
|
|
598
647
|
/** ApplicationDeltaProof */
|
|
599
648
|
interface ApplicationDeltaProof {
|
|
@@ -2572,6 +2621,20 @@ interface TurnPart {
|
|
|
2572
2621
|
tool?: TurnTool | null;
|
|
2573
2622
|
artifact?: TurnArtifactRef | null;
|
|
2574
2623
|
}
|
|
2624
|
+
/**
|
|
2625
|
+
* TurnResearchSource
|
|
2626
|
+
* Retain public provenance links in replayable research activity.
|
|
2627
|
+
*/
|
|
2628
|
+
interface TurnResearchSource {
|
|
2629
|
+
/**
|
|
2630
|
+
* Url
|
|
2631
|
+
* @minLength 1
|
|
2632
|
+
* @maxLength 2048
|
|
2633
|
+
*/
|
|
2634
|
+
url: string;
|
|
2635
|
+
/** Title */
|
|
2636
|
+
title?: string | null;
|
|
2637
|
+
}
|
|
2575
2638
|
/**
|
|
2576
2639
|
* TurnTool
|
|
2577
2640
|
* Describe one stable tool invocation displayed inside an assistant turn.
|
|
@@ -2589,9 +2652,15 @@ interface TurnTool {
|
|
|
2589
2652
|
}
|
|
2590
2653
|
/**
|
|
2591
2654
|
* TurnToolResult
|
|
2592
|
-
*
|
|
2655
|
+
* Retain bounded public research metadata without forwarding extracted page text.
|
|
2593
2656
|
*/
|
|
2594
2657
|
interface TurnToolResult {
|
|
2658
|
+
/** Query */
|
|
2659
|
+
query?: string | null;
|
|
2660
|
+
/** Queries */
|
|
2661
|
+
queries?: string[] | null;
|
|
2662
|
+
/** Sources */
|
|
2663
|
+
sources?: TurnResearchSource[] | null;
|
|
2595
2664
|
/** Sourcecount */
|
|
2596
2665
|
sourceCount?: number | null;
|
|
2597
2666
|
/** Findingcount */
|
|
@@ -3596,4 +3665,4 @@ interface LumaSocket extends LumaSocketBase {
|
|
|
3596
3665
|
onAudioOutputComplete(handler: LumaSocketListenEvents[typeof LUMA_SOCKET_LISTEN_EVENTS.AUDIO_OUTPUT_COMPLETE]): this;
|
|
3597
3666
|
}
|
|
3598
3667
|
|
|
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
|
|
3668
|
+
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 ContextFulfillmentReceipt 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 AudioStartedPayload as aA, type AudioStopPayload as aB, type AudioTriggerTTSPayload as aC, type AuthoringCommand as aD, type AuthoringContextFailure as aE, type AuthoringContextResponse as aF, type AuthoringEvent as aG, type AuthoringLessonCreateOperation as aH, type AuthoringLessonUpdateOperation as aI, type AuthoringMentorLessonCreatePayload as aJ, type AuthoringOperation as aK, type AuthoringSessionSummary as aL, AuthoringSubscriptionError as aM, type AuthoringSubscriptionErrorCode as aN, type AuthoringTaskFailure as aO, type AuthoringTaskSummary as aP, type AuthoringTurn as aQ, type AuthoringTurnPart as aR, type AuthoringWorkProgress as aS, type AuthoringWorkProgressChapter as aT, type AuthoringWorkProgressStage as aU, type AuthoringWorkspaceRecord as aV, type BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost as aW, type ClientSpeechBoundaryPayload as aX, type CommandReceipt as aY, type ContextFailure as aZ, type ContextFailureReceipt as a_, AiModelProfileKind as aa, type AiModelProfileResponse as ab, type ApiKeyCreateRequest as ac, type ApiKeyCreateResponse as ad, type ApiKeyMetadata as ae, type ApiKeyResponse as af, type ApiKeyUpdateRequest as ag, type ApplicationReceipt as ah, type AudioBinaryChunk as ai, type AudioChunkPayload as aj, type AudioChunkedPayload as ak, type AudioOutputAlignmentData as al, type AudioOutputAlignmentPayload as am, type AudioOutputChunkData as an, type AudioOutputChunkPayload as ao, type AudioOutputCompleteData as ap, type AudioOutputCompletePayload as aq, type AudioOutputErrorData as ar, type AudioOutputErrorPayload as as, type AudioOutputInterruptedData as at, type AudioOutputInterruptedPayload as au, type AudioProtocolErrorPayload as av, type AudioProviderState as aw, type AudioReconnectPayload as ax, type AudioRecoveryPayload as ay, type AudioRecoveryState as az, type AiMentorTeacherConfigurationResponse as b, type ContextResponse as b0, type CreateSession as b1, EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS as b2, EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS as b3, EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS as b4, EXTERNAL_AUDIO_OPERATION as b5, EXTERNAL_AUDIO_RECOVERY_STATE as b6, EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS as b7, EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES as b8, type EventPage as b9, type MentorTranscriptionPayload as bA, type PrepareAuthoringExport as bB, type PrepareExport as bC, type ProposalReviewDecision as bD, type PublicAiMessage as bE, ReasoningEffort as bF, type ServerConnectedPayload as bG, type SessionSnapshot as bH, type SessionSummary as bI, type SessionSummaryPage as bJ, type SourceUploadReceipt as bK, type SpeechAlignmentWord as bL, type StartAudioPayload as bM, TRANSCRIPTION_MODES as bN, TTSProvider as bO, type TaskFailure as bP, TaskKind as bQ, type TaskSummary as bR, TextToSpeechProvider as bS, type TranscriptionSessionPlan as bT, TurnPartKind as bU, TurnPartStatus as bV, TurnStatus as bW, type WorkspaceRecord as bX, type FrozenExport as ba, LEARNER_TRANSCRIPT_STATUSES as bb, LUMA_AI_MODEL_DOMAINS as bc, LUMA_AI_MODEL_PROFILE_KINDS as bd, LUMA_AUDIO_ACTIONS as be, LUMA_AUDIO_FORMATS as bf, LUMA_CAPTURE_PROFILES as bg, LUMA_MENTOR_STREAM_EVENT_TYPES as bh, LUMA_SOCKET_EMIT_EVENTS as bi, LUMA_SOCKET_LISTEN_EVENTS as bj, LUMA_SOCKET_MESSAGE_TYPES as bk, LUMA_VOICE_TIMING_PRECISION as bl, type LearnerTranscriptStatus as bm, type LearnerTranscriptionData as bn, type LearnerTranscriptionPayload as bo, type LearnerTranscriptionTimingData as bp, type LumaAiModelDomain as bq, type LumaAiModelProfileKind as br, type LumaCaptureProfile as bs, type LumaSocketEmitEvents as bt, type LumaSocketListenEvents as bu, type LumaVoiceTimingPrecision as bv, type MentorStreamEventEnvelope as bw, type MentorTextDeltaPayload as bx, type MentorTextEndPayload as by, type MentorTextErrorPayload 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 };
|
package/dist/contracts.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, u as AdminApiKeyAssignmentUpdateOptions, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, m as AdminApiKeyResponse, r as AdminApiKeyRevokeResponse, q as AdminApiKeyUpdateOptions, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, v as AdminModelProfileResponse, l as AdminOrganizationIdOptions, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as
|
|
1
|
+
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, u as AdminApiKeyAssignmentUpdateOptions, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, m as AdminApiKeyResponse, r as AdminApiKeyRevokeResponse, q as AdminApiKeyUpdateOptions, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, v as AdminModelProfileResponse, l as AdminOrganizationIdOptions, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as ApiKeyMetadata, af as ApiKeyResponse, ag as ApiKeyUpdateRequest, ah as ApplicationReceipt, ai as AudioBinaryChunk, aj as AudioChunkPayload, ak as AudioChunkedPayload, al as AudioOutputAlignmentData, am as AudioOutputAlignmentPayload, an as AudioOutputChunkData, ao as AudioOutputChunkPayload, ap as AudioOutputCompleteData, aq as AudioOutputCompletePayload, ar as AudioOutputErrorData, as as AudioOutputErrorPayload, at as AudioOutputInterruptedData, au as AudioOutputInterruptedPayload, av as AudioProtocolErrorPayload, aw as AudioProviderState, ax as AudioReconnectPayload, ay as AudioRecoveryPayload, az as AudioRecoveryState, aA as AudioStartedPayload, aB as AudioStopPayload, aC as AudioTriggerTTSPayload, a1 as AuthoringApplicationReceipt, aD as AuthoringCommand, R as AuthoringCommandReceipt, aE as AuthoringContextFailure, Y as AuthoringContextFailureReceipt, W as AuthoringContextFulfillmentReceipt, aF as AuthoringContextResponse, w as AuthoringCreateSessionOptions, aG as AuthoringEvent, H as AuthoringEventPage, F as AuthoringEventsOptions, aH as AuthoringLessonCreateOperation, aI as AuthoringLessonUpdateOperation, aJ as AuthoringMentorLessonCreatePayload, aK as AuthoringOperation, z as AuthoringSessionOptions, y as AuthoringSessionPage, x as AuthoringSessionSnapshot, aL as AuthoringSessionSummary, K as AuthoringSourceUploadReceipt, aM as AuthoringSubscriptionError, aN as AuthoringSubscriptionErrorCode, aO as AuthoringTaskFailure, aP as AuthoringTaskSummary, aQ as AuthoringTurn, C as AuthoringTurnHistoryOptions, D as AuthoringTurnHistoryPage, aR as AuthoringTurnPart, aS as AuthoringWorkProgress, aT as AuthoringWorkProgressChapter, aU as AuthoringWorkProgressStage, aV as AuthoringWorkspaceRecord, aW as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, aX as ClientSpeechBoundaryPayload, aY as CommandReceipt, aZ as ContextFailure, a_ as ContextFailureReceipt, a$ as ContextFulfillmentReceipt, b0 as ContextResponse, b1 as CreateSession, N as DownloadAuthoringAssetOptions, O as DownloadedAuthoringAsset, b2 as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, b3 as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, b4 as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, b5 as EXTERNAL_AUDIO_OPERATION, b6 as EXTERNAL_AUDIO_RECOVERY_STATE, b7 as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, b8 as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, b9 as EventPage, X as FailAuthoringContextOptions, _ as FrozenAuthoringExport, ba as FrozenExport, V as FulfillAuthoringContextOptions, $ as GetAuthoringExportOptions, bb as LEARNER_TRANSCRIPT_STATUSES, bc as LUMA_AI_MODEL_DOMAINS, bd as LUMA_AI_MODEL_PROFILE_KINDS, be as LUMA_AUDIO_ACTIONS, bf as LUMA_AUDIO_FORMATS, bg as LUMA_CAPTURE_PROFILES, bh as LUMA_MENTOR_STREAM_EVENT_TYPES, bi as LUMA_SOCKET_EMIT_EVENTS, bj as LUMA_SOCKET_LISTEN_EVENTS, bk as LUMA_SOCKET_MESSAGE_TYPES, bl as LUMA_VOICE_TIMING_PRECISION, bm as LearnerTranscriptStatus, bn as LearnerTranscriptionData, bo as LearnerTranscriptionPayload, bp as LearnerTranscriptionTimingData, L as ListAuthoringSessionsOptions, bq as LumaAiModelDomain, br as LumaAiModelProfileKind, bs as LumaCaptureProfile, a2 as LumaSocket, bt as LumaSocketEmitEvents, bu as LumaSocketListenEvents, bv as LumaVoiceTimingPrecision, bw as MentorStreamEventEnvelope, bx as MentorTextDeltaPayload, by as MentorTextEndPayload, bz as MentorTextErrorPayload, bA as MentorTranscriptionPayload, bB as PrepareAuthoringExport, Z as PrepareAuthoringExportOptions, bC as PrepareExport, bD as ProposalReviewDecision, P as PublicConfigurationResponse, a0 as RecordAuthoringReceiptOptions, Q as SendAuthoringCommandOptions, bG as ServerConnectedPayload, bH as SessionSnapshot, bI as SessionSummary, bJ as SessionSummaryPage, bK as SourceUploadReceipt, bL as SpeechAlignmentWord, bM as StartAudioPayload, I as SubscribeAuthoringEventsOptions, bN as TRANSCRIPTION_MODES, bP as TaskFailure, bR as TaskSummary, bT as TranscriptionSessionPlan, bU as TurnPartKind, bV as TurnPartStatus, bW as TurnStatus, U as UploadAuthoringSourceOptions, bX as WorkspaceRecord } from './contracts-qTi7LQB8.cjs';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'socket.io-client';
|
package/dist/contracts.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, u as AdminApiKeyAssignmentUpdateOptions, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, m as AdminApiKeyResponse, r as AdminApiKeyRevokeResponse, q as AdminApiKeyUpdateOptions, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, v as AdminModelProfileResponse, l as AdminOrganizationIdOptions, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as
|
|
1
|
+
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, u as AdminApiKeyAssignmentUpdateOptions, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, m as AdminApiKeyResponse, r as AdminApiKeyRevokeResponse, q as AdminApiKeyUpdateOptions, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, v as AdminModelProfileResponse, l as AdminOrganizationIdOptions, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as ApiKeyMetadata, af as ApiKeyResponse, ag as ApiKeyUpdateRequest, ah as ApplicationReceipt, ai as AudioBinaryChunk, aj as AudioChunkPayload, ak as AudioChunkedPayload, al as AudioOutputAlignmentData, am as AudioOutputAlignmentPayload, an as AudioOutputChunkData, ao as AudioOutputChunkPayload, ap as AudioOutputCompleteData, aq as AudioOutputCompletePayload, ar as AudioOutputErrorData, as as AudioOutputErrorPayload, at as AudioOutputInterruptedData, au as AudioOutputInterruptedPayload, av as AudioProtocolErrorPayload, aw as AudioProviderState, ax as AudioReconnectPayload, ay as AudioRecoveryPayload, az as AudioRecoveryState, aA as AudioStartedPayload, aB as AudioStopPayload, aC as AudioTriggerTTSPayload, a1 as AuthoringApplicationReceipt, aD as AuthoringCommand, R as AuthoringCommandReceipt, aE as AuthoringContextFailure, Y as AuthoringContextFailureReceipt, W as AuthoringContextFulfillmentReceipt, aF as AuthoringContextResponse, w as AuthoringCreateSessionOptions, aG as AuthoringEvent, H as AuthoringEventPage, F as AuthoringEventsOptions, aH as AuthoringLessonCreateOperation, aI as AuthoringLessonUpdateOperation, aJ as AuthoringMentorLessonCreatePayload, aK as AuthoringOperation, z as AuthoringSessionOptions, y as AuthoringSessionPage, x as AuthoringSessionSnapshot, aL as AuthoringSessionSummary, K as AuthoringSourceUploadReceipt, aM as AuthoringSubscriptionError, aN as AuthoringSubscriptionErrorCode, aO as AuthoringTaskFailure, aP as AuthoringTaskSummary, aQ as AuthoringTurn, C as AuthoringTurnHistoryOptions, D as AuthoringTurnHistoryPage, aR as AuthoringTurnPart, aS as AuthoringWorkProgress, aT as AuthoringWorkProgressChapter, aU as AuthoringWorkProgressStage, aV as AuthoringWorkspaceRecord, aW as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, aX as ClientSpeechBoundaryPayload, aY as CommandReceipt, aZ as ContextFailure, a_ as ContextFailureReceipt, a$ as ContextFulfillmentReceipt, b0 as ContextResponse, b1 as CreateSession, N as DownloadAuthoringAssetOptions, O as DownloadedAuthoringAsset, b2 as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, b3 as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, b4 as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, b5 as EXTERNAL_AUDIO_OPERATION, b6 as EXTERNAL_AUDIO_RECOVERY_STATE, b7 as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, b8 as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, b9 as EventPage, X as FailAuthoringContextOptions, _ as FrozenAuthoringExport, ba as FrozenExport, V as FulfillAuthoringContextOptions, $ as GetAuthoringExportOptions, bb as LEARNER_TRANSCRIPT_STATUSES, bc as LUMA_AI_MODEL_DOMAINS, bd as LUMA_AI_MODEL_PROFILE_KINDS, be as LUMA_AUDIO_ACTIONS, bf as LUMA_AUDIO_FORMATS, bg as LUMA_CAPTURE_PROFILES, bh as LUMA_MENTOR_STREAM_EVENT_TYPES, bi as LUMA_SOCKET_EMIT_EVENTS, bj as LUMA_SOCKET_LISTEN_EVENTS, bk as LUMA_SOCKET_MESSAGE_TYPES, bl as LUMA_VOICE_TIMING_PRECISION, bm as LearnerTranscriptStatus, bn as LearnerTranscriptionData, bo as LearnerTranscriptionPayload, bp as LearnerTranscriptionTimingData, L as ListAuthoringSessionsOptions, bq as LumaAiModelDomain, br as LumaAiModelProfileKind, bs as LumaCaptureProfile, a2 as LumaSocket, bt as LumaSocketEmitEvents, bu as LumaSocketListenEvents, bv as LumaVoiceTimingPrecision, bw as MentorStreamEventEnvelope, bx as MentorTextDeltaPayload, by as MentorTextEndPayload, bz as MentorTextErrorPayload, bA as MentorTranscriptionPayload, bB as PrepareAuthoringExport, Z as PrepareAuthoringExportOptions, bC as PrepareExport, bD as ProposalReviewDecision, P as PublicConfigurationResponse, a0 as RecordAuthoringReceiptOptions, Q as SendAuthoringCommandOptions, bG as ServerConnectedPayload, bH as SessionSnapshot, bI as SessionSummary, bJ as SessionSummaryPage, bK as SourceUploadReceipt, bL as SpeechAlignmentWord, bM as StartAudioPayload, I as SubscribeAuthoringEventsOptions, bN as TRANSCRIPTION_MODES, bP as TaskFailure, bR as TaskSummary, bT as TranscriptionSessionPlan, bU as TurnPartKind, bV as TurnPartStatus, bW as TurnStatus, U as UploadAuthoringSourceOptions, bX as WorkspaceRecord } from './contracts-qTi7LQB8.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'socket.io-client';
|
package/dist/contracts.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -70,7 +70,9 @@ __export(index_exports, {
|
|
|
70
70
|
LumaMentorClient: () => LumaMentorClient,
|
|
71
71
|
ReasoningEffort: () => ReasoningEffort,
|
|
72
72
|
TRANSCRIPTION_MODES: () => TRANSCRIPTION_MODES,
|
|
73
|
+
TTSProvider: () => TTSProvider,
|
|
73
74
|
TaskKind: () => TaskKind,
|
|
75
|
+
TextToSpeechProvider: () => TextToSpeechProvider,
|
|
74
76
|
TurnPartKind: () => TurnPartKind,
|
|
75
77
|
TurnPartStatus: () => TurnPartStatus,
|
|
76
78
|
TurnStatus: () => TurnStatus,
|
|
@@ -106,6 +108,11 @@ var TurnPartKind = /* @__PURE__ */ ((TurnPartKind2) => {
|
|
|
106
108
|
TurnPartKind2["Question"] = "question";
|
|
107
109
|
return TurnPartKind2;
|
|
108
110
|
})(TurnPartKind || {});
|
|
111
|
+
var TextToSpeechProvider = /* @__PURE__ */ ((TextToSpeechProvider2) => {
|
|
112
|
+
TextToSpeechProvider2["Cartesia"] = "cartesia";
|
|
113
|
+
TextToSpeechProvider2["Elevenlabs"] = "elevenlabs";
|
|
114
|
+
return TextToSpeechProvider2;
|
|
115
|
+
})(TextToSpeechProvider || {});
|
|
109
116
|
var TaskKind = /* @__PURE__ */ ((TaskKind3) => {
|
|
110
117
|
TaskKind3["Plan"] = "plan";
|
|
111
118
|
TaskKind3["Route"] = "route";
|
|
@@ -118,6 +125,12 @@ var TaskKind = /* @__PURE__ */ ((TaskKind3) => {
|
|
|
118
125
|
TaskKind3["CourseReview"] = "course_review";
|
|
119
126
|
return TaskKind3;
|
|
120
127
|
})(TaskKind || {});
|
|
128
|
+
var TTSProvider = /* @__PURE__ */ ((TTSProvider2) => {
|
|
129
|
+
TTSProvider2["Cartesia"] = "cartesia";
|
|
130
|
+
TTSProvider2["Elevenlabs"] = "elevenlabs";
|
|
131
|
+
TTSProvider2["Fish"] = "fish";
|
|
132
|
+
return TTSProvider2;
|
|
133
|
+
})(TTSProvider || {});
|
|
121
134
|
var ReasoningEffort = /* @__PURE__ */ ((ReasoningEffort3) => {
|
|
122
135
|
ReasoningEffort3["Low"] = "low";
|
|
123
136
|
ReasoningEffort3["Medium"] = "medium";
|
|
@@ -1726,7 +1739,9 @@ var createLumaSocket = (opts) => {
|
|
|
1726
1739
|
LumaMentorClient,
|
|
1727
1740
|
ReasoningEffort,
|
|
1728
1741
|
TRANSCRIPTION_MODES,
|
|
1742
|
+
TTSProvider,
|
|
1729
1743
|
TaskKind,
|
|
1744
|
+
TextToSpeechProvider,
|
|
1730
1745
|
TurnPartKind,
|
|
1731
1746
|
TurnPartStatus,
|
|
1732
1747
|
TurnStatus,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PublicConfigurationResponse, E as EmbeddingsRequest, a as EmbeddingsResponse, S as StructuredGenerationRequest, A as AiJudgeConfigurationResponseOutput, G as GenerateAiMentorConfigurationRequest, b as AiMentorTeacherConfigurationResponse, c as AiMentorRoleplayConfigurationResponse, T as TranslationResponse, d as AiCapability, e as AiCapabilityMode, f as AiCapabilityProvider, g as AiJudgeConfigurationValidationResponse, h as AiMentorConfigurationValidationResponse, B as BodyTranscribeDictationApiPublicV1AiTranscriptionsPost, i as TranscriptionResponse, M as MentorChatRequest, j as MentorChatResponse, J as JudgeResponse, k as API, l as AdminOrganizationIdOptions, m as AdminApiKeyResponse, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, q as AdminApiKeyUpdateOptions, r as AdminApiKeyRevokeResponse, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, u as AdminApiKeyAssignmentUpdateOptions, v as AdminModelProfileResponse, w as AuthoringCreateSessionOptions, x as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, y as AuthoringSessionPage, z as AuthoringSessionOptions, C as AuthoringTurnHistoryOptions, D as AuthoringTurnHistoryPage, F as AuthoringEventsOptions, H as AuthoringEventPage, I as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, K as AuthoringSourceUploadReceipt, N as DownloadAuthoringAssetOptions, O as DownloadedAuthoringAsset, Q as SendAuthoringCommandOptions, R as AuthoringCommandReceipt, V as FulfillAuthoringContextOptions, W as AuthoringContextFulfillmentReceipt, X as FailAuthoringContextOptions, Y as AuthoringContextFailureReceipt, Z as PrepareAuthoringExportOptions, _ as FrozenAuthoringExport, $ as GetAuthoringExportOptions, a0 as RecordAuthoringReceiptOptions, a1 as AuthoringApplicationReceipt, a2 as LumaSocket } from './contracts-
|
|
2
|
-
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, a5 as AiCapabilityStatus, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as
|
|
1
|
+
import { P as PublicConfigurationResponse, E as EmbeddingsRequest, a as EmbeddingsResponse, S as StructuredGenerationRequest, A as AiJudgeConfigurationResponseOutput, G as GenerateAiMentorConfigurationRequest, b as AiMentorTeacherConfigurationResponse, c as AiMentorRoleplayConfigurationResponse, T as TranslationResponse, d as AiCapability, e as AiCapabilityMode, f as AiCapabilityProvider, g as AiJudgeConfigurationValidationResponse, h as AiMentorConfigurationValidationResponse, B as BodyTranscribeDictationApiPublicV1AiTranscriptionsPost, i as TranscriptionResponse, M as MentorChatRequest, j as MentorChatResponse, J as JudgeResponse, k as API, l as AdminOrganizationIdOptions, m as AdminApiKeyResponse, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, q as AdminApiKeyUpdateOptions, r as AdminApiKeyRevokeResponse, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, u as AdminApiKeyAssignmentUpdateOptions, v as AdminModelProfileResponse, w as AuthoringCreateSessionOptions, x as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, y as AuthoringSessionPage, z as AuthoringSessionOptions, C as AuthoringTurnHistoryOptions, D as AuthoringTurnHistoryPage, F as AuthoringEventsOptions, H as AuthoringEventPage, I as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, K as AuthoringSourceUploadReceipt, N as DownloadAuthoringAssetOptions, O as DownloadedAuthoringAsset, Q as SendAuthoringCommandOptions, R as AuthoringCommandReceipt, V as FulfillAuthoringContextOptions, W as AuthoringContextFulfillmentReceipt, X as FailAuthoringContextOptions, Y as AuthoringContextFailureReceipt, Z as PrepareAuthoringExportOptions, _ as FrozenAuthoringExport, $ as GetAuthoringExportOptions, a0 as RecordAuthoringReceiptOptions, a1 as AuthoringApplicationReceipt, a2 as LumaSocket } from './contracts-qTi7LQB8.cjs';
|
|
2
|
+
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, a5 as AiCapabilityStatus, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as ApiKeyMetadata, af as ApiKeyResponse, ag as ApiKeyUpdateRequest, ah as ApplicationReceipt, ai as AudioBinaryChunk, aj as AudioChunkPayload, ak as AudioChunkedPayload, al as AudioOutputAlignmentData, am as AudioOutputAlignmentPayload, an as AudioOutputChunkData, ao as AudioOutputChunkPayload, ap as AudioOutputCompleteData, aq as AudioOutputCompletePayload, ar as AudioOutputErrorData, as as AudioOutputErrorPayload, at as AudioOutputInterruptedData, au as AudioOutputInterruptedPayload, av as AudioProtocolErrorPayload, aw as AudioProviderState, ax as AudioReconnectPayload, ay as AudioRecoveryPayload, az as AudioRecoveryState, aA as AudioStartedPayload, aB as AudioStopPayload, aC as AudioTriggerTTSPayload, aD as AuthoringCommand, aE as AuthoringContextFailure, aF as AuthoringContextResponse, aG as AuthoringEvent, aH as AuthoringLessonCreateOperation, aI as AuthoringLessonUpdateOperation, aJ as AuthoringMentorLessonCreatePayload, aK as AuthoringOperation, aL as AuthoringSessionSummary, aM as AuthoringSubscriptionError, aN as AuthoringSubscriptionErrorCode, aO as AuthoringTaskFailure, aP as AuthoringTaskSummary, aQ as AuthoringTurn, aR as AuthoringTurnPart, aS as AuthoringWorkProgress, aT as AuthoringWorkProgressChapter, aU as AuthoringWorkProgressStage, aV as AuthoringWorkspaceRecord, aW as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, aX as ClientSpeechBoundaryPayload, aY as CommandReceipt, aZ as ContextFailure, a_ as ContextFailureReceipt, a$ as ContextFulfillmentReceipt, b0 as ContextResponse, b1 as CreateSession, b2 as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, b3 as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, b4 as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, b5 as EXTERNAL_AUDIO_OPERATION, b6 as EXTERNAL_AUDIO_RECOVERY_STATE, b7 as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, b8 as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, b9 as EventPage, ba as FrozenExport, bb as LEARNER_TRANSCRIPT_STATUSES, bc as LUMA_AI_MODEL_DOMAINS, bd as LUMA_AI_MODEL_PROFILE_KINDS, be as LUMA_AUDIO_ACTIONS, bf as LUMA_AUDIO_FORMATS, bg as LUMA_CAPTURE_PROFILES, bh as LUMA_MENTOR_STREAM_EVENT_TYPES, bi as LUMA_SOCKET_EMIT_EVENTS, bj as LUMA_SOCKET_LISTEN_EVENTS, bk as LUMA_SOCKET_MESSAGE_TYPES, bl as LUMA_VOICE_TIMING_PRECISION, bm as LearnerTranscriptStatus, bn as LearnerTranscriptionData, bo as LearnerTranscriptionPayload, bp as LearnerTranscriptionTimingData, bq as LumaAiModelDomain, br as LumaAiModelProfileKind, bs as LumaCaptureProfile, bt as LumaSocketEmitEvents, bu as LumaSocketListenEvents, bv as LumaVoiceTimingPrecision, bw as MentorStreamEventEnvelope, bx as MentorTextDeltaPayload, by as MentorTextEndPayload, bz as MentorTextErrorPayload, bA as MentorTranscriptionPayload, bB as PrepareAuthoringExport, bC as PrepareExport, bD as ProposalReviewDecision, bE as PublicAiMessage, bF as ReasoningEffort, bG as ServerConnectedPayload, bH as SessionSnapshot, bI as SessionSummary, bJ as SessionSummaryPage, bK as SourceUploadReceipt, bL as SpeechAlignmentWord, bM as StartAudioPayload, bN as TRANSCRIPTION_MODES, bO as TTSProvider, bP as TaskFailure, bQ as TaskKind, bR as TaskSummary, bS as TextToSpeechProvider, bT as TranscriptionSessionPlan, bU as TurnPartKind, bV as TurnPartStatus, bW as TurnStatus, bX as WorkspaceRecord } from './contracts-qTi7LQB8.cjs';
|
|
3
3
|
import { Agent } from 'node:https';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'socket.io-client';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PublicConfigurationResponse, E as EmbeddingsRequest, a as EmbeddingsResponse, S as StructuredGenerationRequest, A as AiJudgeConfigurationResponseOutput, G as GenerateAiMentorConfigurationRequest, b as AiMentorTeacherConfigurationResponse, c as AiMentorRoleplayConfigurationResponse, T as TranslationResponse, d as AiCapability, e as AiCapabilityMode, f as AiCapabilityProvider, g as AiJudgeConfigurationValidationResponse, h as AiMentorConfigurationValidationResponse, B as BodyTranscribeDictationApiPublicV1AiTranscriptionsPost, i as TranscriptionResponse, M as MentorChatRequest, j as MentorChatResponse, J as JudgeResponse, k as API, l as AdminOrganizationIdOptions, m as AdminApiKeyResponse, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, q as AdminApiKeyUpdateOptions, r as AdminApiKeyRevokeResponse, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, u as AdminApiKeyAssignmentUpdateOptions, v as AdminModelProfileResponse, w as AuthoringCreateSessionOptions, x as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, y as AuthoringSessionPage, z as AuthoringSessionOptions, C as AuthoringTurnHistoryOptions, D as AuthoringTurnHistoryPage, F as AuthoringEventsOptions, H as AuthoringEventPage, I as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, K as AuthoringSourceUploadReceipt, N as DownloadAuthoringAssetOptions, O as DownloadedAuthoringAsset, Q as SendAuthoringCommandOptions, R as AuthoringCommandReceipt, V as FulfillAuthoringContextOptions, W as AuthoringContextFulfillmentReceipt, X as FailAuthoringContextOptions, Y as AuthoringContextFailureReceipt, Z as PrepareAuthoringExportOptions, _ as FrozenAuthoringExport, $ as GetAuthoringExportOptions, a0 as RecordAuthoringReceiptOptions, a1 as AuthoringApplicationReceipt, a2 as LumaSocket } from './contracts-
|
|
2
|
-
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, a5 as AiCapabilityStatus, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as
|
|
1
|
+
import { P as PublicConfigurationResponse, E as EmbeddingsRequest, a as EmbeddingsResponse, S as StructuredGenerationRequest, A as AiJudgeConfigurationResponseOutput, G as GenerateAiMentorConfigurationRequest, b as AiMentorTeacherConfigurationResponse, c as AiMentorRoleplayConfigurationResponse, T as TranslationResponse, d as AiCapability, e as AiCapabilityMode, f as AiCapabilityProvider, g as AiJudgeConfigurationValidationResponse, h as AiMentorConfigurationValidationResponse, B as BodyTranscribeDictationApiPublicV1AiTranscriptionsPost, i as TranscriptionResponse, M as MentorChatRequest, j as MentorChatResponse, J as JudgeResponse, k as API, l as AdminOrganizationIdOptions, m as AdminApiKeyResponse, n as AdminApiKeyCreateOptions, o as AdminApiKeyCreateResponse, p as AdminApiKeyIdentifierOptions, q as AdminApiKeyUpdateOptions, r as AdminApiKeyRevokeResponse, s as AdminConfigurationResponse, t as AdminModelAssignmentResponse, u as AdminApiKeyAssignmentUpdateOptions, v as AdminModelProfileResponse, w as AuthoringCreateSessionOptions, x as AuthoringSessionSnapshot, L as ListAuthoringSessionsOptions, y as AuthoringSessionPage, z as AuthoringSessionOptions, C as AuthoringTurnHistoryOptions, D as AuthoringTurnHistoryPage, F as AuthoringEventsOptions, H as AuthoringEventPage, I as SubscribeAuthoringEventsOptions, U as UploadAuthoringSourceOptions, K as AuthoringSourceUploadReceipt, N as DownloadAuthoringAssetOptions, O as DownloadedAuthoringAsset, Q as SendAuthoringCommandOptions, R as AuthoringCommandReceipt, V as FulfillAuthoringContextOptions, W as AuthoringContextFulfillmentReceipt, X as FailAuthoringContextOptions, Y as AuthoringContextFailureReceipt, Z as PrepareAuthoringExportOptions, _ as FrozenAuthoringExport, $ as GetAuthoringExportOptions, a0 as RecordAuthoringReceiptOptions, a1 as AuthoringApplicationReceipt, a2 as LumaSocket } from './contracts-qTi7LQB8.js';
|
|
2
|
+
export { a3 as AUDIO_PROVIDER_STATES, a4 as AUDIO_RECOVERY_STATES, a5 as AiCapabilityStatus, a6 as AiJudgeConfigurationResponseInput, a7 as AiModelAssignmentResponse, a8 as AiModelAssignmentUpdateRequest, a9 as AiModelDomain, aa as AiModelProfileKind, ab as AiModelProfileResponse, ac as ApiKeyCreateRequest, ad as ApiKeyCreateResponse, ae as ApiKeyMetadata, af as ApiKeyResponse, ag as ApiKeyUpdateRequest, ah as ApplicationReceipt, ai as AudioBinaryChunk, aj as AudioChunkPayload, ak as AudioChunkedPayload, al as AudioOutputAlignmentData, am as AudioOutputAlignmentPayload, an as AudioOutputChunkData, ao as AudioOutputChunkPayload, ap as AudioOutputCompleteData, aq as AudioOutputCompletePayload, ar as AudioOutputErrorData, as as AudioOutputErrorPayload, at as AudioOutputInterruptedData, au as AudioOutputInterruptedPayload, av as AudioProtocolErrorPayload, aw as AudioProviderState, ax as AudioReconnectPayload, ay as AudioRecoveryPayload, az as AudioRecoveryState, aA as AudioStartedPayload, aB as AudioStopPayload, aC as AudioTriggerTTSPayload, aD as AuthoringCommand, aE as AuthoringContextFailure, aF as AuthoringContextResponse, aG as AuthoringEvent, aH as AuthoringLessonCreateOperation, aI as AuthoringLessonUpdateOperation, aJ as AuthoringMentorLessonCreatePayload, aK as AuthoringOperation, aL as AuthoringSessionSummary, aM as AuthoringSubscriptionError, aN as AuthoringSubscriptionErrorCode, aO as AuthoringTaskFailure, aP as AuthoringTaskSummary, aQ as AuthoringTurn, aR as AuthoringTurnPart, aS as AuthoringWorkProgress, aT as AuthoringWorkProgressChapter, aU as AuthoringWorkProgressStage, aV as AuthoringWorkspaceRecord, aW as BodyUploadSourceApiPublicV1AuthoringSessionsSessionIdSourcesPost, aX as ClientSpeechBoundaryPayload, aY as CommandReceipt, aZ as ContextFailure, a_ as ContextFailureReceipt, a$ as ContextFulfillmentReceipt, b0 as ContextResponse, b1 as CreateSession, b2 as EXTERNAL_AUDIO_CLIENT_RECONNECT_GRACE_MS, b3 as EXTERNAL_AUDIO_MAX_BUFFERED_CHUNKS, b4 as EXTERNAL_AUDIO_MAX_RECOVERY_ATTEMPTS, b5 as EXTERNAL_AUDIO_OPERATION, b6 as EXTERNAL_AUDIO_RECOVERY_STATE, b7 as EXTERNAL_AUDIO_RECOVERY_TIMEOUT_MS, b8 as EXTERNAL_AUDIO_TERMINAL_RECOVERY_ERROR_CODES, b9 as EventPage, ba as FrozenExport, bb as LEARNER_TRANSCRIPT_STATUSES, bc as LUMA_AI_MODEL_DOMAINS, bd as LUMA_AI_MODEL_PROFILE_KINDS, be as LUMA_AUDIO_ACTIONS, bf as LUMA_AUDIO_FORMATS, bg as LUMA_CAPTURE_PROFILES, bh as LUMA_MENTOR_STREAM_EVENT_TYPES, bi as LUMA_SOCKET_EMIT_EVENTS, bj as LUMA_SOCKET_LISTEN_EVENTS, bk as LUMA_SOCKET_MESSAGE_TYPES, bl as LUMA_VOICE_TIMING_PRECISION, bm as LearnerTranscriptStatus, bn as LearnerTranscriptionData, bo as LearnerTranscriptionPayload, bp as LearnerTranscriptionTimingData, bq as LumaAiModelDomain, br as LumaAiModelProfileKind, bs as LumaCaptureProfile, bt as LumaSocketEmitEvents, bu as LumaSocketListenEvents, bv as LumaVoiceTimingPrecision, bw as MentorStreamEventEnvelope, bx as MentorTextDeltaPayload, by as MentorTextEndPayload, bz as MentorTextErrorPayload, bA as MentorTranscriptionPayload, bB as PrepareAuthoringExport, bC as PrepareExport, bD as ProposalReviewDecision, bE as PublicAiMessage, bF as ReasoningEffort, bG as ServerConnectedPayload, bH as SessionSnapshot, bI as SessionSummary, bJ as SessionSummaryPage, bK as SourceUploadReceipt, bL as SpeechAlignmentWord, bM as StartAudioPayload, bN as TRANSCRIPTION_MODES, bO as TTSProvider, bP as TaskFailure, bQ as TaskKind, bR as TaskSummary, bS as TextToSpeechProvider, bT as TranscriptionSessionPlan, bU as TurnPartKind, bV as TurnPartStatus, bW as TurnStatus, bX as WorkspaceRecord } from './contracts-qTi7LQB8.js';
|
|
3
3
|
import { Agent } from 'node:https';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'socket.io-client';
|
package/dist/index.js
CHANGED
|
@@ -28,11 +28,13 @@ import {
|
|
|
28
28
|
LUMA_VOICE_TIMING_PRECISION,
|
|
29
29
|
ReasoningEffort,
|
|
30
30
|
TRANSCRIPTION_MODES,
|
|
31
|
+
TTSProvider,
|
|
31
32
|
TaskKind,
|
|
33
|
+
TextToSpeechProvider,
|
|
32
34
|
TurnPartKind,
|
|
33
35
|
TurnPartStatus,
|
|
34
36
|
TurnStatus
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-W5CQGEDB.js";
|
|
36
38
|
|
|
37
39
|
// src/types.ts
|
|
38
40
|
var AI_MENTOR_CONFIGURATION_TYPES = {
|
|
@@ -761,7 +763,9 @@ export {
|
|
|
761
763
|
LumaMentorClient,
|
|
762
764
|
ReasoningEffort,
|
|
763
765
|
TRANSCRIPTION_MODES,
|
|
766
|
+
TTSProvider,
|
|
764
767
|
TaskKind,
|
|
768
|
+
TextToSpeechProvider,
|
|
765
769
|
TurnPartKind,
|
|
766
770
|
TurnPartStatus,
|
|
767
771
|
TurnStatus,
|