@gaia-framework/backend-core 6.0.1 → 7.0.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/CHANGELOG.md +66 -0
- package/README.md +1 -1
- package/build/openapi/openapi.json +1392 -428
- package/build/openapi/openapi.yaml +940 -303
- package/build/openapi/voice-media-worker.json +1 -1
- package/build/openapi/voice-media-worker.yaml +1 -1
- package/build/openapi/worker-health.json +1 -1
- package/build/openapi/worker-health.yaml +1 -1
- package/build/src/config/VoiceMediaConfig.d.ts +1 -0
- package/build/src/config/VoiceMediaConfig.d.ts.map +1 -1
- package/build/src/config/VoiceMediaConfig.js +5 -0
- package/build/src/config/VoiceMediaConfig.js.map +1 -1
- package/build/src/config/schema.d.ts +19 -7
- package/build/src/config/schema.d.ts.map +1 -1
- package/build/src/config/schema.js +23 -7
- package/build/src/config/schema.js.map +1 -1
- package/build/src/core/application/dtos/messages/responses/MessageDto.d.ts +2 -1
- package/build/src/core/application/dtos/messages/responses/MessageDto.d.ts.map +1 -1
- package/build/src/core/application/dtos/runs/CreateRunRequestDto.d.ts +2 -0
- package/build/src/core/application/dtos/runs/CreateRunRequestDto.d.ts.map +1 -1
- package/build/src/core/application/mappers/messages/MessageMapper.d.ts.map +1 -1
- package/build/src/core/application/mappers/messages/MessageMapper.js +2 -0
- package/build/src/core/application/mappers/messages/MessageMapper.js.map +1 -1
- package/build/src/core/application/services/media/DefaultContentMediaService.d.ts +1 -1
- package/build/src/core/application/services/media/DefaultContentMediaService.d.ts.map +1 -1
- package/build/src/core/application/services/media/DefaultContentMediaService.js +48 -15
- package/build/src/core/application/services/media/DefaultContentMediaService.js.map +1 -1
- package/build/src/core/application/services/media/ImageAppServiceImpl.js +1 -1
- package/build/src/core/application/services/media/ImageAppServiceImpl.js.map +1 -1
- package/build/src/core/application/services/media/ImageEditingAppService.d.ts +7 -1
- package/build/src/core/application/services/media/ImageEditingAppService.d.ts.map +1 -1
- package/build/src/core/application/services/media/ImageEditingAppServiceImpl.d.ts +6 -1
- package/build/src/core/application/services/media/ImageEditingAppServiceImpl.d.ts.map +1 -1
- package/build/src/core/application/services/media/ImageEditingAppServiceImpl.js +59 -5
- package/build/src/core/application/services/media/ImageEditingAppServiceImpl.js.map +1 -1
- package/build/src/core/application/services/media/SpeechAppService.d.ts +2 -1
- package/build/src/core/application/services/media/SpeechAppService.d.ts.map +1 -1
- package/build/src/core/application/services/media/SpeechAppServiceImpl.d.ts +1 -0
- package/build/src/core/application/services/media/SpeechAppServiceImpl.d.ts.map +1 -1
- package/build/src/core/application/services/media/SpeechAppServiceImpl.js +3 -0
- package/build/src/core/application/services/media/SpeechAppServiceImpl.js.map +1 -1
- package/build/src/core/application/services/realtime/RealtimeTranscriptSession.d.ts +3 -0
- package/build/src/core/application/services/realtime/RealtimeTranscriptSession.d.ts.map +1 -1
- package/build/src/core/application/services/realtime/RealtimeTranscriptSession.js +62 -0
- package/build/src/core/application/services/realtime/RealtimeTranscriptSession.js.map +1 -1
- package/build/src/core/application/services/runs/RunAppServiceImpl.d.ts +7 -3
- package/build/src/core/application/services/runs/RunAppServiceImpl.d.ts.map +1 -1
- package/build/src/core/application/services/runs/RunAppServiceImpl.js +64 -14
- package/build/src/core/application/services/runs/RunAppServiceImpl.js.map +1 -1
- package/build/src/core/application/services/runs/RunExecutionSessionFactoryImpl.js +1 -1
- package/build/src/core/application/services/runs/RunExecutionSessionFactoryImpl.js.map +1 -1
- package/build/src/core/application/services/voice/intake/VoiceTranscriptService.d.ts +1 -1
- package/build/src/core/application/services/voice/intake/VoiceTranscriptService.d.ts.map +1 -1
- package/build/src/core/application/services/voice/intake/VoiceTranscriptService.js +17 -14
- package/build/src/core/application/services/voice/intake/VoiceTranscriptService.js.map +1 -1
- package/build/src/core/application/services/voice/review/VoiceReviewInput.d.ts +1 -0
- package/build/src/core/application/services/voice/review/VoiceReviewInput.d.ts.map +1 -1
- package/build/src/core/application/services/voice/session/ActiveVoiceSession.d.ts +2 -0
- package/build/src/core/application/services/voice/session/ActiveVoiceSession.d.ts.map +1 -1
- package/build/src/core/application/services/voice/session/ActiveVoiceSession.js +37 -12
- package/build/src/core/application/services/voice/session/ActiveVoiceSession.js.map +1 -1
- package/build/src/core/application/services/voice/session/VoiceSessionAppService.js +1 -1
- package/build/src/core/application/services/voice/session/VoiceSessionAppService.js.map +1 -1
- package/build/src/core/domain/factories/speech/SpeechProviderFactory.d.ts +1 -0
- package/build/src/core/domain/factories/speech/SpeechProviderFactory.d.ts.map +1 -1
- package/build/src/core/domain/factories/speech/SpeechProviderFactory.js +3 -0
- package/build/src/core/domain/factories/speech/SpeechProviderFactory.js.map +1 -1
- package/build/src/core/domain/models/images/ImageEditing.d.ts +9 -0
- package/build/src/core/domain/models/images/ImageEditing.d.ts.map +1 -1
- package/build/src/core/domain/models/images/ImageEditing.js +2 -1
- package/build/src/core/domain/models/images/ImageEditing.js.map +1 -1
- package/build/src/core/domain/models/images/ImageOutputOptions.js +1 -1
- package/build/src/core/domain/models/messages/Message.d.ts +8 -0
- package/build/src/core/domain/models/messages/Message.d.ts.map +1 -1
- package/build/src/core/domain/models/speech/RealtimeTranslationLanguage.d.ts +10 -0
- package/build/src/core/domain/models/speech/RealtimeTranslationLanguage.d.ts.map +1 -1
- package/build/src/core/domain/models/tools/ToolExecutionContext.d.ts +2 -0
- package/build/src/core/domain/models/tools/ToolExecutionContext.d.ts.map +1 -1
- package/build/src/core/domain/models/voice/VoiceSession.d.ts +2 -0
- package/build/src/core/domain/models/voice/VoiceSession.d.ts.map +1 -1
- package/build/src/core/domain/params/chat/LLMExecutionRequest.d.ts +2 -0
- package/build/src/core/domain/params/chat/LLMExecutionRequest.d.ts.map +1 -1
- package/build/src/core/domain/ports/ai/images/ImageEditingProvider.d.ts +2 -0
- package/build/src/core/domain/ports/ai/images/ImageEditingProvider.d.ts.map +1 -1
- package/build/src/core/domain/ports/ai/llm/LLMProvider.d.ts +2 -0
- package/build/src/core/domain/ports/ai/llm/LLMProvider.d.ts.map +1 -1
- package/build/src/core/domain/ports/repositories/voice/VoiceSessionRepository.d.ts +3 -1
- package/build/src/core/domain/ports/repositories/voice/VoiceSessionRepository.d.ts.map +1 -1
- package/build/src/core/domain/ports/services/assurance/AssuranceEvaluationService.d.ts +1 -1
- package/build/src/core/domain/ports/services/assurance/AssuranceEvaluationService.d.ts.map +1 -1
- package/build/src/core/domain/ports/services/media/RemoteMediaFetcher.d.ts +1 -0
- package/build/src/core/domain/ports/services/media/RemoteMediaFetcher.d.ts.map +1 -1
- package/build/src/core/domain/ports/speech/RealtimeTranslationProvider.d.ts +2 -1
- package/build/src/core/domain/ports/speech/RealtimeTranslationProvider.d.ts.map +1 -1
- package/build/src/core/domain/services/chat/LLMExecutionServiceImpl.d.ts.map +1 -1
- package/build/src/core/domain/services/chat/LLMExecutionServiceImpl.js +16 -4
- package/build/src/core/domain/services/chat/LLMExecutionServiceImpl.js.map +1 -1
- package/build/src/core/domain/services/media/ImageEditPolicy.d.ts +14 -1
- package/build/src/core/domain/services/media/ImageEditPolicy.d.ts.map +1 -1
- package/build/src/core/domain/services/media/ImageEditPolicy.js +54 -4
- package/build/src/core/domain/services/media/ImageEditPolicy.js.map +1 -1
- package/build/src/core/domain/services/media/SpeechService.d.ts +2 -1
- package/build/src/core/domain/services/media/SpeechService.d.ts.map +1 -1
- package/build/src/core/domain/services/media/SpeechServiceImpl.d.ts +1 -0
- package/build/src/core/domain/services/media/SpeechServiceImpl.d.ts.map +1 -1
- package/build/src/core/domain/services/media/SpeechServiceImpl.js +3 -0
- package/build/src/core/domain/services/media/SpeechServiceImpl.js.map +1 -1
- package/build/src/core/domain/services/models/ModelServiceImpl.d.ts +1 -0
- package/build/src/core/domain/services/models/ModelServiceImpl.d.ts.map +1 -1
- package/build/src/core/domain/services/models/ModelServiceImpl.js +31 -32
- package/build/src/core/domain/services/models/ModelServiceImpl.js.map +1 -1
- package/build/src/core/domain/services/runs/NativeRunEngine.d.ts.map +1 -1
- package/build/src/core/domain/services/runs/NativeRunEngine.js +6 -1
- package/build/src/core/domain/services/runs/NativeRunEngine.js.map +1 -1
- package/build/src/core/domain/services/runs/RunEngine.d.ts +2 -0
- package/build/src/core/domain/services/runs/RunEngine.d.ts.map +1 -1
- package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.d.ts +2 -0
- package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.d.ts.map +1 -1
- package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.js +6 -2
- package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.js.map +1 -1
- package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.d.ts +1 -0
- package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.d.ts.map +1 -1
- package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.js +1 -0
- package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.js.map +1 -1
- package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.d.ts +2 -0
- package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.js +5 -0
- package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.js.map +1 -0
- package/build/src/core/infrastructure/ai/images/ImageOutputBytes.d.ts +1 -0
- package/build/src/core/infrastructure/ai/images/ImageOutputBytes.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/images/ImageOutputBytes.js +9 -3
- package/build/src/core/infrastructure/ai/images/ImageOutputBytes.js.map +1 -1
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.d.ts +20 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.js +52 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.js.map +1 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.d.ts +13 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.js +137 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.js.map +1 -0
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.d.ts +3 -37
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.js +52 -208
- package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/images/editing/OpenAICompatibleImageEditingProvider.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/images/editing/OpenAICompatibleImageEditingProvider.js +11 -3
- package/build/src/core/infrastructure/ai/images/editing/OpenAICompatibleImageEditingProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.d.ts +12 -0
- package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.js +39 -0
- package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.js.map +1 -0
- package/build/src/core/infrastructure/ai/images/openai/OpenAIImageModels.d.ts +1 -1
- package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.d.ts +32 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.js +80 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.d.ts +23 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.js +66 -0
- package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/azure/services/AzureFoundryService.d.ts +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasConfig.js +11 -15
- package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasService.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasService.js +3 -5
- package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasService.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.d.ts +2 -1
- package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.js +33 -38
- package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/GoogleConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/GoogleConfig.js +0 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/GoogleConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/GoogleStructuredOutputPolicy.js +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/GoogleStructuredOutputPolicy.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.d.ts +6 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.js +16 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.d.ts +9 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.js +17 -4
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.d.ts +11 -2
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.js +72 -42
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.d.ts +2 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.js +51 -30
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.d.ts +14 -6
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.js +74 -28
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.d.ts +27 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.js +138 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.d.ts +10 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.js +43 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.d.ts +38 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.js +138 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.d.ts +9 -2
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.js +4 -1
- package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.d.ts +2 -3
- package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.js +11 -7
- package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralConfig.js +18 -13
- package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralService.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralService.js +16 -1
- package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralService.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/nvidia/NvidiaConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/nvidia/NvidiaConfig.js +12 -132
- package/build/src/core/infrastructure/ai/llm/providers/nvidia/NvidiaConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.d.ts +40 -0
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.js +296 -0
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.d.ts +14 -4
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.js +35 -5
- package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/chat-completions/OpenAIChatCompletionsService.d.ts +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.d.ts +5 -2
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.js +25 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveMediaProvider.js +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveMediaProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveProvider.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveProvider.js +6 -4
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.d.ts +3 -4
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.js +13 -51
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.d.ts +4 -0
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.js +163 -0
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.d.ts +9 -2
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.js +24 -9
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcEventMapper.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcEventMapper.js +4 -0
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcEventMapper.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAIRealtimeReceiptSpeech.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAIRealtimeReceiptSpeech.js +12 -4
- package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAIRealtimeReceiptSpeech.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.d.ts +3 -21
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.js +2 -64
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.d.ts +1 -5
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.js +12 -87
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.d.ts +11 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.js +73 -73
- package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openai/responses/OpenAIResponsesApiService.d.ts +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.d.ts +25 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.js +152 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.d.ts +22 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.js +54 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.d.ts +31 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.d.ts.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.js +357 -0
- package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.js.map +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterConfig.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterConfig.js +9 -16
- package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterConfig.js.map +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterService.js +1 -1
- package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterService.js.map +1 -1
- package/build/src/core/infrastructure/ai/tools/executors/FunctionToolExecutor.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/tools/executors/FunctionToolExecutor.js +1 -0
- package/build/src/core/infrastructure/ai/tools/executors/FunctionToolExecutor.js.map +1 -1
- package/build/src/core/infrastructure/ai/tools/implementations/images/ImageEditingTool.d.ts.map +1 -1
- package/build/src/core/infrastructure/ai/tools/implementations/images/ImageEditingTool.js +11 -3
- package/build/src/core/infrastructure/ai/tools/implementations/images/ImageEditingTool.js.map +1 -1
- package/build/src/core/infrastructure/ai/tools/implementations/images/ImageGenerationToolService.js +1 -1
- package/build/src/core/infrastructure/ai/tools/implementations/images/ImageGenerationToolService.js.map +1 -1
- package/build/src/core/infrastructure/ai/tools/implementations/images/ImageOutputToolProperties.d.ts +1 -1
- package/build/src/core/infrastructure/ai/tools/implementations/images/schemas.d.ts +4 -4
- package/build/src/core/infrastructure/ai/tools/implementations/images/schemas.js +3 -3
- package/build/src/core/infrastructure/ai/tools/implementations/images/schemas.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.d.ts +2 -0
- package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.js +18 -6
- package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.d.ts +1 -0
- package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.js +3 -0
- package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.d.ts +32 -12
- package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.js +8 -8
- package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.d.ts +6 -1
- package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.js +8 -1
- package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/requests/images/ImageGenerationRequestSchema.d.ts +1 -1
- package/build/src/core/infrastructure/api/v1/requests/images/ImageOutputOptionsSchema.d.ts +1 -1
- package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.d.ts +5 -0
- package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.js +5 -0
- package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.js +4 -1
- package/build/src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/audio/SpeechRouter.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/audio/SpeechRouter.js +1 -0
- package/build/src/core/infrastructure/api/v1/routers/media/audio/SpeechRouter.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/audio/openapi/SpeechRouter.openapi.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/audio/openapi/SpeechRouter.openapi.js +15 -0
- package/build/src/core/infrastructure/api/v1/routers/media/audio/openapi/SpeechRouter.openapi.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.js +1 -0
- package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.openapi.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.openapi.js +11 -2
- package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.openapi.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.d.ts +1 -0
- package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.js +1 -0
- package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/shared/openapi/MediaHttpExamples.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/media/shared/openapi/MediaHttpExamples.js +37 -25
- package/build/src/core/infrastructure/api/v1/routers/media/shared/openapi/MediaHttpExamples.js.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/runs/openapi/DurableRunSchemas.openapi.d.ts +5 -0
- package/build/src/core/infrastructure/api/v1/routers/runs/openapi/DurableRunSchemas.openapi.d.ts.map +1 -1
- package/build/src/core/infrastructure/api/v1/routers/runs/openapi/RunsRouter.openapi.d.ts +24 -9
- package/build/src/core/infrastructure/api/v1/routers/runs/openapi/RunsRouter.openapi.d.ts.map +1 -1
- package/build/src/core/infrastructure/di/builtInLLMProviders.d.ts.map +1 -1
- package/build/src/core/infrastructure/di/builtInLLMProviders.js +4 -3
- package/build/src/core/infrastructure/di/builtInLLMProviders.js.map +1 -1
- package/build/src/core/infrastructure/di/index.d.ts.map +1 -1
- package/build/src/core/infrastructure/di/index.js +12 -2
- package/build/src/core/infrastructure/di/index.js.map +1 -1
- package/build/src/core/infrastructure/di/types.d.ts +3 -1
- package/build/src/core/infrastructure/di/types.d.ts.map +1 -1
- package/build/src/core/infrastructure/di/types.js +3 -1
- package/build/src/core/infrastructure/di/types.js.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletion.d.ts +1 -0
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletion.d.ts.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletionMessageCodec.d.ts +1 -0
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletionMessageCodec.d.ts.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.d.ts +4 -1
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.d.ts.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.js +16 -14
- package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.js.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.d.ts +2 -1
- package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.d.ts.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.js +2 -2
- package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.js.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.d.ts +3 -1
- package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.d.ts.map +1 -1
- package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.js +4 -1
- package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.js.map +1 -1
- package/build/src/core/infrastructure/persistence/repositories/media/KnexMediaReferenceRecorder.d.ts.map +1 -1
- package/build/src/core/infrastructure/persistence/repositories/media/KnexMediaReferenceRecorder.js +13 -0
- package/build/src/core/infrastructure/persistence/repositories/media/KnexMediaReferenceRecorder.js.map +1 -1
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceMediaLease.d.ts.map +1 -1
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceMediaLease.js +2 -1
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceMediaLease.js.map +1 -1
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.d.ts +4 -2
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.d.ts.map +1 -1
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.js +28 -11
- package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.js.map +1 -1
- package/build/src/core/infrastructure/services/chat/ChatCompletionStreamService.d.ts.map +1 -1
- package/build/src/core/infrastructure/services/chat/ChatCompletionStreamService.js +2 -0
- package/build/src/core/infrastructure/services/chat/ChatCompletionStreamService.js.map +1 -1
- package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.d.ts +1 -0
- package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.d.ts.map +1 -1
- package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.js +44 -0
- package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.js.map +1 -1
- package/build/src/core/infrastructure/services/media/PngAnimation.d.ts +3 -0
- package/build/src/core/infrastructure/services/media/PngAnimation.d.ts.map +1 -0
- package/build/src/core/infrastructure/services/media/PngAnimation.js +12 -0
- package/build/src/core/infrastructure/services/media/PngAnimation.js.map +1 -0
- package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.d.ts +2 -0
- package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.d.ts.map +1 -1
- package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.js +19 -3
- package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.js.map +1 -1
- package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.d.ts +0 -2
- package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.d.ts.map +1 -1
- package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.js +19 -26
- package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.js.map +1 -1
- package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.d.ts +8 -0
- package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.d.ts.map +1 -0
- package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.js +18 -0
- package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.js.map +1 -0
- package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.d.ts +2 -1
- package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.d.ts.map +1 -1
- package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.js +23 -18
- package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.js.map +1 -1
- package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.d.ts +1 -1
- package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.d.ts.map +1 -1
- package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.js +2 -1
- package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.js.map +1 -1
- package/build/src/infrastructure/api/openapi/root.openapi.js +1 -1
- package/build/src/infrastructure/api/openapi/root.openapi.js.map +1 -1
- package/build/src/infrastructure/server/cors.d.ts.map +1 -1
- package/build/src/infrastructure/server/cors.js +0 -1
- package/build/src/infrastructure/server/cors.js.map +1 -1
- package/build/src/infrastructure/websockets/commands/realtime/WebsocketRealtimeTranslationCommand.d.ts.map +1 -1
- package/build/src/infrastructure/websockets/commands/realtime/WebsocketRealtimeTranslationCommand.js +18 -7
- package/build/src/infrastructure/websockets/commands/realtime/WebsocketRealtimeTranslationCommand.js.map +1 -1
- package/build/src/infrastructure/websockets/mediators/WebsocketMediator.d.ts +1 -0
- package/build/src/infrastructure/websockets/mediators/WebsocketMediator.d.ts.map +1 -1
- package/build/src/infrastructure/websockets/mediators/WebsocketMediator.js +20 -1
- package/build/src/infrastructure/websockets/mediators/WebsocketMediator.js.map +1 -1
- package/build/src/infrastructure/workers/voice/startVoiceMediaHostFromContainer.d.ts.map +1 -1
- package/build/src/infrastructure/workers/voice/startVoiceMediaHostFromContainer.js +4 -1
- package/build/src/infrastructure/workers/voice/startVoiceMediaHostFromContainer.js.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/AdminController.d.ts +2 -0
- package/build/src/modules/admin/infrastructure/api/v1/AdminController.d.ts.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/AdminController.js +18 -3
- package/build/src/modules/admin/infrastructure/api/v1/AdminController.js.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/AdminRouter.d.ts.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/AdminRouter.js +1 -0
- package/build/src/modules/admin/infrastructure/api/v1/AdminRouter.js.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminExamples.openapi.d.ts.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminExamples.openapi.js +3 -0
- package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminExamples.openapi.js.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminRouter.openapi.d.ts.map +1 -1
- package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminRouter.openapi.js +18 -0
- package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminRouter.openapi.js.map +1 -1
- package/build/src/modules/code-review/infrastructure/auth/GitHubActionsWorkflowApprovalConfig.d.ts.map +1 -1
- package/build/src/modules/code-review/infrastructure/auth/GitHubActionsWorkflowApprovalConfig.js +17 -45
- package/build/src/modules/code-review/infrastructure/auth/GitHubActionsWorkflowApprovalConfig.js.map +1 -1
- package/build/src/modules/code-review/infrastructure/persistence/repositories/KnexCodeReviewRepository.d.ts.map +1 -1
- package/build/src/modules/code-review/infrastructure/persistence/repositories/KnexCodeReviewRepository.js +8 -2
- package/build/src/modules/code-review/infrastructure/persistence/repositories/KnexCodeReviewRepository.js.map +1 -1
- package/package.json +3 -3
- package/resources/prompts/live-conversation.md +1 -0
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.d.ts +0 -3
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.d.ts.map +0 -1
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.js +0 -64
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.js.map +0 -1
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.d.ts +0 -26
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.d.ts.map +0 -1
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.js +0 -121
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.js.map +0 -1
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.d.ts +0 -18
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.d.ts.map +0 -1
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.js +0 -73
- package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const imageGenerationToolSchemas: {
|
|
2
2
|
readonly generate_image: {
|
|
3
3
|
readonly name: "generate_image";
|
|
4
|
-
readonly description: "Generate an image from a prompt";
|
|
4
|
+
readonly description: "Generate an image from a prompt. GAIA displays the result automatically. Omit Markdown image embeds and attachment links for the generated image in your reply.";
|
|
5
5
|
readonly parameters: {
|
|
6
6
|
readonly type: "object";
|
|
7
7
|
readonly properties: {
|
|
8
8
|
readonly model: {
|
|
9
9
|
readonly type: "string";
|
|
10
|
-
readonly description: "Optional provider-qualified image model. OpenAI GPT Image 2.6 Flare/Sunburst support static images and GIF animation; GPT Image 2.5 Flare/Sunburst, GPT Image 2, and Muse Image remain available. Omit to use the configured generation default.";
|
|
10
|
+
readonly description: "Optional provider-qualified image model. Black Forest Labs FLUX 3.1 Image (bfl/flux-3.1-image) generates a single JPEG or PNG. OpenAI GPT Image 2.6 Flare/Sunburst support static images and GIF animation; GPT Image 2.5 Flare/Sunburst, GPT Image 2, and Muse Image remain available. Omit to use the configured generation default.";
|
|
11
11
|
};
|
|
12
12
|
readonly prompt: {
|
|
13
13
|
readonly type: "string";
|
|
@@ -19,7 +19,7 @@ export declare const imageGenerationToolSchemas: {
|
|
|
19
19
|
};
|
|
20
20
|
readonly size: {
|
|
21
21
|
readonly type: "string";
|
|
22
|
-
readonly description: "auto or a supported WIDTHxHEIGHT. GPT Image 2/2.5/2.6 static output allows multiples of 16, edges <=3840, aspect ratio <=3:1, and 655360 to 8294400 pixels. GIF uses auto or a listed preset size. Other models use their preset sizes.";
|
|
22
|
+
readonly description: "auto or a supported WIDTHxHEIGHT. FLUX 3.1 supports 250000 to 16822272 pixels and aspect ratios up to 8:1. GPT Image 2/2.5/2.6 static output allows multiples of 16, edges <=3840, aspect ratio <=3:1, and 655360 to 8294400 pixels. GIF uses auto or a listed preset size. Other models use their preset sizes.";
|
|
23
23
|
};
|
|
24
24
|
readonly quality: {
|
|
25
25
|
type: string;
|
|
@@ -33,7 +33,7 @@ export declare const imageGenerationToolSchemas: {
|
|
|
33
33
|
};
|
|
34
34
|
readonly outputFormat: {
|
|
35
35
|
type: string;
|
|
36
|
-
enum: ("png" | "
|
|
36
|
+
enum: ("png" | "jpeg" | "webp" | "gif")[];
|
|
37
37
|
description: string;
|
|
38
38
|
};
|
|
39
39
|
readonly outputCompression: {
|
|
@@ -3,14 +3,14 @@ import { imageOutputToolProperties } from './ImageOutputToolProperties.js';
|
|
|
3
3
|
export const imageGenerationToolSchemas = defineFunctionToolSchemas({
|
|
4
4
|
generate_image: {
|
|
5
5
|
"name": "generate_image",
|
|
6
|
-
"description": "Generate an image from a prompt",
|
|
6
|
+
"description": "Generate an image from a prompt. GAIA displays the result automatically. Omit Markdown image embeds and attachment links for the generated image in your reply.",
|
|
7
7
|
"parameters": {
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
10
10
|
...imageOutputToolProperties,
|
|
11
11
|
"model": {
|
|
12
12
|
"type": "string",
|
|
13
|
-
"description": "Optional provider-qualified image model. OpenAI GPT Image 2.6 Flare/Sunburst support static images and GIF animation; GPT Image 2.5 Flare/Sunburst, GPT Image 2, and Muse Image remain available. Omit to use the configured generation default."
|
|
13
|
+
"description": "Optional provider-qualified image model. Black Forest Labs FLUX 3.1 Image (bfl/flux-3.1-image) generates a single JPEG or PNG. OpenAI GPT Image 2.6 Flare/Sunburst support static images and GIF animation; GPT Image 2.5 Flare/Sunburst, GPT Image 2, and Muse Image remain available. Omit to use the configured generation default."
|
|
14
14
|
},
|
|
15
15
|
"prompt": {
|
|
16
16
|
"type": "string",
|
|
@@ -22,7 +22,7 @@ export const imageGenerationToolSchemas = defineFunctionToolSchemas({
|
|
|
22
22
|
},
|
|
23
23
|
"size": {
|
|
24
24
|
"type": "string",
|
|
25
|
-
"description": "auto or a supported WIDTHxHEIGHT. GPT Image 2/2.5/2.6 static output allows multiples of 16, edges <=3840, aspect ratio <=3:1, and 655360 to 8294400 pixels. GIF uses auto or a listed preset size. Other models use their preset sizes.",
|
|
25
|
+
"description": "auto or a supported WIDTHxHEIGHT. FLUX 3.1 supports 250000 to 16822272 pixels and aspect ratios up to 8:1. GPT Image 2/2.5/2.6 static output allows multiples of 16, edges <=3840, aspect ratio <=3:1, and 655360 to 8294400 pixels. GIF uses auto or a listed preset size. Other models use their preset sizes.",
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"required": ["prompt"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/ai/tools/implementations/images/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,MAAM,CAAC,MAAM,0BAA0B,GAAG,yBAAyB,CAAC;IAClE,cAAc,EAAE;QACd,MAAM,EAAE,gBAAgB;QACxB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/ai/tools/implementations/images/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,MAAM,CAAC,MAAM,0BAA0B,GAAG,yBAAyB,CAAC;IAClE,cAAc,EAAE;QACd,MAAM,EAAE,gBAAgB;QACxB,aAAa,EAAE,iKAAiK;QAChL,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE;gBACZ,GAAG,yBAAyB;gBAC5B,OAAO,EAAE;oBACP,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,wUAAwU;iBACxV;gBACD,QAAQ,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,uCAAuC;iBACvD;gBACD,gBAAgB,EAAE;oBAChB,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,kCAAkC;iBAClD;gBACD,MAAM,EAAE;oBACN,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,kTAAkT;iBAClU;aACF;YACD,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;KACF;CACF,CAAC,CAAC"}
|
|
@@ -6,5 +6,7 @@ export declare class ImageEditingController {
|
|
|
6
6
|
constructor(editing: ImageEditingAppService);
|
|
7
7
|
capabilities(req: AuthenticatedRequest, res: Response): void;
|
|
8
8
|
edit(req: AuthenticatedRequest, res: Response): Promise<void>;
|
|
9
|
+
uploadMask(req: AuthenticatedRequest, res: Response): Promise<void>;
|
|
10
|
+
private handle;
|
|
9
11
|
}
|
|
10
12
|
//# sourceMappingURL=ImageEditingController.d.ts.map
|
package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageEditingController.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/ImageEditingController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qEAAqE,CAAC;AAIlH,qBACa,sBAAsB;IACqB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,sBAAsB;IAEtG,YAAY,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,EAAE,QAAQ;IAK/C,IAAI,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"ImageEditingController.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/ImageEditingController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qEAAqE,CAAC;AAIlH,qBACa,sBAAsB;IACqB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,sBAAsB;IAEtG,YAAY,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,EAAE,QAAQ;IAK/C,IAAI,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,EAAE,QAAQ;IAQ7C,UAAU,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,EAAE,QAAQ;YAQ3C,MAAM;CAarB"}
|
|
@@ -13,7 +13,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
|
13
13
|
import { inject, injectable } from 'inversify';
|
|
14
14
|
import CoreTypes from '../../../../di/types.js';
|
|
15
15
|
import { ImageEditingError } from '../../../../../domain/models/images/ImageEditing.js';
|
|
16
|
-
import { ImageEditRequestSchema } from '../../requests/images/ImageEditRequestSchema.js';
|
|
16
|
+
import { ImageEditMaskUploadSchema, ImageEditRequestSchema } from '../../requests/images/ImageEditRequestSchema.js';
|
|
17
17
|
let ImageEditingController = class ImageEditingController {
|
|
18
18
|
editing;
|
|
19
19
|
constructor(editing) {
|
|
@@ -27,6 +27,22 @@ let ImageEditingController = class ImageEditingController {
|
|
|
27
27
|
res.json(this.editing.getCapabilities());
|
|
28
28
|
}
|
|
29
29
|
async edit(req, res) {
|
|
30
|
+
return this.handle(req, res, async (userId, signal) => {
|
|
31
|
+
const request = ImageEditRequestSchema.safeParse(req.body);
|
|
32
|
+
if (!request.success)
|
|
33
|
+
throw new ImageEditingError('image_edit_invalid_request', 'Invalid image editing request.', 400);
|
|
34
|
+
return this.editing.edit(userId, request.data, { idempotencyKey: req.get('Idempotency-Key') ?? '', abortSignal: signal });
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
async uploadMask(req, res) {
|
|
38
|
+
return this.handle(req, res, async (userId, signal) => {
|
|
39
|
+
const request = ImageEditMaskUploadSchema.safeParse(req.body);
|
|
40
|
+
if (!request.success)
|
|
41
|
+
throw new ImageEditingError('image_edit_invalid_mask', 'Provide a saved source image ID and a PNG data URL.', 400);
|
|
42
|
+
return this.editing.uploadMask(userId, request.data.maskSourceMediaId, request.data.dataUrl, signal);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
async handle(req, res, action) {
|
|
30
46
|
const controller = new AbortController();
|
|
31
47
|
const closed = () => { if (!res.writableEnded)
|
|
32
48
|
controller.abort(); };
|
|
@@ -34,11 +50,7 @@ let ImageEditingController = class ImageEditingController {
|
|
|
34
50
|
try {
|
|
35
51
|
if (!req.userId)
|
|
36
52
|
throw new ImageEditingError('unauthorized', 'Authentication is required.', 401);
|
|
37
|
-
|
|
38
|
-
if (!request.success)
|
|
39
|
-
throw new ImageEditingError('image_edit_invalid_request', 'Invalid image editing request.', 400);
|
|
40
|
-
const result = await this.editing.edit(req.userId, request.data, { idempotencyKey: req.get('Idempotency-Key') ?? '', abortSignal: controller.signal });
|
|
41
|
-
res.json(result);
|
|
53
|
+
res.json(await action(req.userId, controller.signal));
|
|
42
54
|
}
|
|
43
55
|
catch (error) {
|
|
44
56
|
if (res.destroyed)
|
package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageEditingController.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/ImageEditingController.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAGhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageEditingController.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/ImageEditingController.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAGhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAG7G,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACsC;IAAvE,YAAuE,OAA+B;QAA/B,YAAO,GAAP,OAAO,CAAwB;IAAG,CAAC;IAE1G,YAAY,CAAC,GAAyB,EAAE,GAAa;QACnD,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC;YAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;YAAC,OAAO;QAAC,CAAC;QAC5E,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;IAC3C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AC;QACzC,MAAM,MAAM,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa;YAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACrE,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC1B,IAAI,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM;gBAAE,MAAM,IAAI,iBAAiB,CAAC,cAAc,EAAE,6BAA6B,EAAE,GAAG,CAAC,CAAC;YACjG,GAAG,CAAC,IAAI,CAAC,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACxD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,GAAG,CAAC,SAAS;gBAAE,OAAO;YAC1B,IAAI,KAAK,YAAY,iBAAiB,EAAE,CAAC;gBAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;gBAAC,OAAO;YAAC,CAAC;YAClI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,kEAAkE,EAAE,CAAC,CAAC;QACjI,CAAC;gBAAS,CAAC;YAAC,GAAG,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAAC,CAAC;IACzC,CAAC;CACF,CAAA;AArCY,sBAAsB;IADlC,UAAU,EAAE;IAEE,WAAA,MAAM,CAAC,SAAS,CAAC,sBAAsB,CAAC,CAAA;;GAD1C,sBAAsB,CAqClC"}
|
|
@@ -11,6 +11,7 @@ export declare class SpeechController {
|
|
|
11
11
|
private readonly audioInspector;
|
|
12
12
|
constructor(speechAppService: SpeechAppService, loggerService: LoggerService, transcriptionAppService: TranscriptionAppService, audioInspector: SpeechAudioInspector);
|
|
13
13
|
capabilities(_req: Request, res: Response): void;
|
|
14
|
+
translationCapabilities(_req: Request, res: Response): void;
|
|
14
15
|
synthesize(req: AuthenticatedRequest, res: Response): Promise<void>;
|
|
15
16
|
recognize(req: Request, res: Response): Promise<void>;
|
|
16
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpeechController.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/SpeechController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AAIjG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sEAAsE,CAAC;AAE/G,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAEvG,qBACa,gBAAgB;IAEW,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE/D,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACA,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAJlB,gBAAgB,EAAE,gBAAgB,EACrC,aAAa,EAAE,aAAa,EAE7D,uBAAuB,EAAE,uBAAuB,EACR,cAAc,EAAE,oBAAoB;IAG/F,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"SpeechController.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/SpeechController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AAIjG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAIjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sEAAsE,CAAC;AAE/G,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAEvG,qBACa,gBAAgB;IAEW,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE/D,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACA,OAAO,CAAC,QAAQ,CAAC,cAAc;gBAJlB,gBAAgB,EAAE,gBAAgB,EACrC,aAAa,EAAE,aAAa,EAE7D,uBAAuB,EAAE,uBAAuB,EACR,cAAc,EAAE,oBAAoB;IAG/F,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI;IAIhD,uBAAuB,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,IAAI;IAIrD,UAAU,CAAC,GAAG,EAAE,oBAAoB,EAAE,GAAG,EAAE,QAAQ;IAiEnD,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ;CAiH5C"}
|
|
@@ -32,6 +32,9 @@ let SpeechController = class SpeechController {
|
|
|
32
32
|
capabilities(_req, res) {
|
|
33
33
|
res.json(this.transcriptionAppService.capabilities());
|
|
34
34
|
}
|
|
35
|
+
translationCapabilities(_req, res) {
|
|
36
|
+
res.json({ providers: this.speechAppService.listRealtimeTranslationCapabilities() });
|
|
37
|
+
}
|
|
35
38
|
async synthesize(req, res) {
|
|
36
39
|
const userId = req.userId;
|
|
37
40
|
if (!userId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpeechController.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/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CAAC;CACF,CAAA;
|
|
1
|
+
{"version":3,"file":"SpeechController.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/controllers/media/SpeechController.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAI/B,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,wDAAwD,CAAC;AAGvG,OAAO,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AAErG,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAChG,OAAO,EAAE,uBAAuB,EAAE,MAAM,sEAAsE,CAAC;AAC/G,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AAIrF,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAE4B;IACH;IAEjC;IACwC;IAL3D,YACuD,gBAAkC,EACrC,aAA4B,EAE7D,uBAAgD,EACR,cAAoC;QAJxC,qBAAgB,GAAhB,gBAAgB,CAAkB;QACrC,kBAAa,GAAb,aAAa,CAAe;QAE7D,4BAAuB,GAAvB,uBAAuB,CAAyB;QACR,mBAAc,GAAd,cAAc,CAAsB;IAC5F,CAAC;IAEJ,YAAY,CAAC,IAAa,EAAE,GAAa;QACvC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,YAAY,EAAE,CAAC,CAAC;IACxD,CAAC;IAED,uBAAuB,CAAC,IAAa,EAAE,GAAa;QAClD,GAAG,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,gBAAgB,CAAC,mCAAmC,EAAE,EAAE,CAAC,CAAC;IACvF,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,GAAyB,EAAE,GAAa;QACvD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAC1B,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O,EAAE,OAAO,CAAC,CAAC;QAC3B,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;QAC1D,IAAI,MAAM,CAAC,OAAO;YAAE,OAAO,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAS,cAAc,CAAC,OAA2B,EAAE,KAAa,EAAE,QAAoB;IACtF,MAAM,YAAY,GAAG,OAGpB,CAAC;IACF,IAAI,YAAY,CAAC,GAAG,EAAE,CAAC;QACrB,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAClC,OAAO;IACT,CAAC;IACD,YAAY,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;AACjD,CAAC;AAED,SAAS,gBAAgB,CACvB,KAAyF;IAEzF,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;IACD,OAAO,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -258,18 +258,23 @@ export declare const MessageContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
258
258
|
video: "video";
|
|
259
259
|
document: "document";
|
|
260
260
|
}>;
|
|
261
|
+
editSelection: z.ZodOptional<z.ZodObject<{
|
|
262
|
+
maskMediaId: z.ZodString;
|
|
263
|
+
maskUrl: z.ZodString;
|
|
264
|
+
maskUrlExpiresAt: z.ZodString;
|
|
265
|
+
}, z.core.$strip>>;
|
|
261
266
|
mediaId: z.ZodString;
|
|
262
267
|
url: z.ZodString;
|
|
263
268
|
urlExpiresAt: z.ZodString;
|
|
264
269
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
265
270
|
}, z.core.$strip>, z.ZodObject<{
|
|
266
271
|
type: z.ZodLiteral<"file">;
|
|
267
|
-
mediaId: z.ZodString;
|
|
268
|
-
url: z.ZodString;
|
|
269
|
-
urlExpiresAt: z.ZodString;
|
|
270
272
|
fileName: z.ZodString;
|
|
271
273
|
mimeType: z.ZodString;
|
|
272
274
|
fileSize: z.ZodNumber;
|
|
275
|
+
mediaId: z.ZodString;
|
|
276
|
+
url: z.ZodString;
|
|
277
|
+
urlExpiresAt: z.ZodString;
|
|
273
278
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
274
279
|
}, z.core.$strip>]>;
|
|
275
280
|
export declare const VoiceMetadataSchema: z.ZodObject<{
|
|
@@ -418,18 +423,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
418
423
|
video: "video";
|
|
419
424
|
document: "document";
|
|
420
425
|
}>;
|
|
426
|
+
editSelection: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
maskMediaId: z.ZodString;
|
|
428
|
+
maskUrl: z.ZodString;
|
|
429
|
+
maskUrlExpiresAt: z.ZodString;
|
|
430
|
+
}, z.core.$strip>>;
|
|
421
431
|
mediaId: z.ZodString;
|
|
422
432
|
url: z.ZodString;
|
|
423
433
|
urlExpiresAt: z.ZodString;
|
|
424
434
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
425
435
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
436
|
type: z.ZodLiteral<"file">;
|
|
427
|
-
mediaId: z.ZodString;
|
|
428
|
-
url: z.ZodString;
|
|
429
|
-
urlExpiresAt: z.ZodString;
|
|
430
437
|
fileName: z.ZodString;
|
|
431
438
|
mimeType: z.ZodString;
|
|
432
439
|
fileSize: z.ZodNumber;
|
|
440
|
+
mediaId: z.ZodString;
|
|
441
|
+
url: z.ZodString;
|
|
442
|
+
urlExpiresAt: z.ZodString;
|
|
433
443
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
434
444
|
}, z.core.$strip>]>>;
|
|
435
445
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -622,18 +632,23 @@ export declare const coreSchemaComponents: {
|
|
|
622
632
|
video: "video";
|
|
623
633
|
document: "document";
|
|
624
634
|
}>;
|
|
635
|
+
editSelection: z.ZodOptional<z.ZodObject<{
|
|
636
|
+
maskMediaId: z.ZodString;
|
|
637
|
+
maskUrl: z.ZodString;
|
|
638
|
+
maskUrlExpiresAt: z.ZodString;
|
|
639
|
+
}, z.core.$strip>>;
|
|
625
640
|
mediaId: z.ZodString;
|
|
626
641
|
url: z.ZodString;
|
|
627
642
|
urlExpiresAt: z.ZodString;
|
|
628
643
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
629
644
|
}, z.core.$strip>, z.ZodObject<{
|
|
630
645
|
type: z.ZodLiteral<"file">;
|
|
631
|
-
mediaId: z.ZodString;
|
|
632
|
-
url: z.ZodString;
|
|
633
|
-
urlExpiresAt: z.ZodString;
|
|
634
646
|
fileName: z.ZodString;
|
|
635
647
|
mimeType: z.ZodString;
|
|
636
648
|
fileSize: z.ZodNumber;
|
|
649
|
+
mediaId: z.ZodString;
|
|
650
|
+
url: z.ZodString;
|
|
651
|
+
urlExpiresAt: z.ZodString;
|
|
637
652
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
638
653
|
}, z.core.$strip>]>>;
|
|
639
654
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -803,18 +818,23 @@ export declare const coreSchemaComponents: {
|
|
|
803
818
|
video: "video";
|
|
804
819
|
document: "document";
|
|
805
820
|
}>;
|
|
821
|
+
editSelection: z.ZodOptional<z.ZodObject<{
|
|
822
|
+
maskMediaId: z.ZodString;
|
|
823
|
+
maskUrl: z.ZodString;
|
|
824
|
+
maskUrlExpiresAt: z.ZodString;
|
|
825
|
+
}, z.core.$strip>>;
|
|
806
826
|
mediaId: z.ZodString;
|
|
807
827
|
url: z.ZodString;
|
|
808
828
|
urlExpiresAt: z.ZodString;
|
|
809
829
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
810
830
|
}, z.core.$strip>, z.ZodObject<{
|
|
811
831
|
type: z.ZodLiteral<"file">;
|
|
812
|
-
mediaId: z.ZodString;
|
|
813
|
-
url: z.ZodString;
|
|
814
|
-
urlExpiresAt: z.ZodString;
|
|
815
832
|
fileName: z.ZodString;
|
|
816
833
|
mimeType: z.ZodString;
|
|
817
834
|
fileSize: z.ZodNumber;
|
|
835
|
+
mediaId: z.ZodString;
|
|
836
|
+
url: z.ZodString;
|
|
837
|
+
urlExpiresAt: z.ZodString;
|
|
818
838
|
contentItemId: z.ZodOptional<z.ZodString>;
|
|
819
839
|
}, z.core.$strip>]>;
|
|
820
840
|
CorePendingRunApproval: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coreSchemas.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/api/v1/openapi/coreSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,cAAc,kBAAmC,CAAC;AAE/D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAejC,CAAC;AACH,eAAO,MAAM,qBAAqB;;iBAAoC,CAAC;AACvE,eAAO,MAAM,qBAAqB;;;;;;;;;;;iBAsBhC,CAAC;AACH,eAAO,MAAM,kBAAkB,gDAAmE,CAAC;AACnG,eAAO,MAAM,cAAc;;;;;;iBAGzB,CAAC;AACH,eAAO,MAAM,2BAA2B;;iBAAiC,CAAC;AAC1E,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BI,CAAC;AAgBpC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBO,CAAC;
|
|
1
|
+
{"version":3,"file":"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;;;;;iBA2Ba,CAAC;AAExC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhC,CAAC"}
|
|
@@ -110,6 +110,7 @@ export const PendingApprovalSchema = z
|
|
|
110
110
|
})
|
|
111
111
|
.meta({ id: 'CorePendingRunApproval' });
|
|
112
112
|
const ContentIdentity = { contentItemId: z.string().optional() };
|
|
113
|
+
const DeliveredMedia = { ...ContentIdentity, mediaId: z.string(), url: z.string(), urlExpiresAt: z.string() };
|
|
113
114
|
export const MessageContentSchema = z
|
|
114
115
|
.union([
|
|
115
116
|
z.object({ ...ContentIdentity, type: z.enum(['text', 'reasoning_text', 'intermediate_text']), text: z.string() }),
|
|
@@ -135,18 +136,17 @@ export const MessageContentSchema = z
|
|
|
135
136
|
pendingApproval: PendingApprovalSchema.optional(),
|
|
136
137
|
}),
|
|
137
138
|
z.object({
|
|
138
|
-
...
|
|
139
|
+
...DeliveredMedia,
|
|
139
140
|
type: z.enum(['image', 'audio', 'video', 'document']),
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
editSelection: z.object({
|
|
142
|
+
maskMediaId: z.string().uuid(),
|
|
143
|
+
maskUrl: z.string(),
|
|
144
|
+
maskUrlExpiresAt: z.string().datetime(),
|
|
145
|
+
}).optional().describe('On the original user image of a painted edit, a signed preview of the saved selection.'),
|
|
143
146
|
}),
|
|
144
147
|
z.object({
|
|
145
|
-
...
|
|
148
|
+
...DeliveredMedia,
|
|
146
149
|
type: z.literal('file'),
|
|
147
|
-
mediaId: z.string(),
|
|
148
|
-
url: z.string(),
|
|
149
|
-
urlExpiresAt: z.string(),
|
|
150
150
|
fileName: z.string(),
|
|
151
151
|
mimeType: z.string(),
|
|
152
152
|
fileSize: z.number(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coreSchemas.js","sourceRoot":"","sources":["../../../../../../../src/core/infrastructure/api/v1/openapi/coreSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AAC/D,6FAA6F;AAC7F,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,IAAI,CAAC;IAC3D,EAAE,EAAE,kBAAkB;IACtB,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;QAC3B,KAAK,MAAM,WAAW,IAAI,UAAU,CAAC,KAAK,IAAI,EAAE,EAAE,CAAC;YACjD,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO;gBAAE,SAAS;YAC/C,WAAW,CAAC,KAAK,GAAG;gBAClB;oBACE,QAAQ,EAAE,CAAC,KAAK,CAAC;oBACjB,UAAU,EAAE,EAAE,GAAG,EAAE,EAAE,SAAS,EAAE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AAE,CAAC,QAAQ,EAAE;YACzC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;YAChD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAChD,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,EAAE;IACb,KAAK,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAChD,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,sBAAsB,EAAE,CAAC,CAAC;AAExC,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,oBAAoB,EAAE,aAAa;IACnC,qBAAqB,EAAE,uBAAuB;IAC9C,2BAA2B,EAAE,oBAAoB;IACjD,sBAAsB,EAAE,qBAAqB;IAC7C,mBAAmB,EAAE,qBAAqB;CAC3C,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const ImageEditMaskUploadSchema: z.ZodObject<{
|
|
3
|
+
maskSourceMediaId: z.ZodString;
|
|
4
|
+
dataUrl: z.ZodString;
|
|
5
|
+
}, z.core.$strict>;
|
|
2
6
|
export declare const ImageEditRequestSchema: z.ZodObject<{
|
|
3
7
|
model: z.ZodOptional<z.ZodString>;
|
|
4
8
|
numberOfImages: z.ZodOptional<z.ZodNumber>;
|
|
@@ -18,14 +22,15 @@ export declare const ImageEditRequestSchema: z.ZodObject<{
|
|
|
18
22
|
}>>;
|
|
19
23
|
outputFormat: z.ZodOptional<z.ZodEnum<{
|
|
20
24
|
png: "png";
|
|
25
|
+
jpeg: "jpeg";
|
|
21
26
|
webp: "webp";
|
|
22
27
|
gif: "gif";
|
|
23
|
-
jpeg: "jpeg";
|
|
24
28
|
}>>;
|
|
25
29
|
outputCompression: z.ZodOptional<z.ZodNumber>;
|
|
26
30
|
frameCount: z.ZodOptional<z.ZodNumber>;
|
|
27
31
|
frameDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
28
32
|
inputMediaIds: z.ZodArray<z.ZodString>;
|
|
33
|
+
maskMediaId: z.ZodOptional<z.ZodString>;
|
|
29
34
|
prompt: z.ZodString;
|
|
30
35
|
}, z.core.$strict>;
|
|
31
36
|
//# sourceMappingURL=ImageEditRequestSchema.d.ts.map
|
package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageEditRequestSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ImageEditRequestSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;kBAG3B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAcxB,CAAC"}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { imageEditSizePattern } from '../../../../../domain/models/images/ImageEditing.js';
|
|
2
3
|
import { imageOutputOptionsSchema } from './ImageOutputOptionsSchema.js';
|
|
4
|
+
const mediaId = z.string().regex(/^[a-zA-Z0-9_-]{1,128}$/);
|
|
5
|
+
export const ImageEditMaskUploadSchema = z.object({
|
|
6
|
+
maskSourceMediaId: mediaId,
|
|
7
|
+
dataUrl: z.string().startsWith('data:image/png;base64,').max(22 + 4 * Math.ceil(10 * 1024 * 1024 / 3)),
|
|
8
|
+
}).strict();
|
|
3
9
|
export const ImageEditRequestSchema = z
|
|
4
10
|
.object({
|
|
5
11
|
inputMediaIds: z.array(z.string()).min(1).max(4),
|
|
12
|
+
maskMediaId: mediaId.optional(),
|
|
6
13
|
prompt: z.string().min(1).max(16_000),
|
|
7
14
|
...imageOutputOptionsSchema,
|
|
8
15
|
model: z.string().optional(),
|
|
9
16
|
numberOfImages: z.number().int().min(1).max(4).optional(),
|
|
10
17
|
size: z
|
|
11
18
|
.string()
|
|
12
|
-
.regex(
|
|
19
|
+
.regex(imageEditSizePattern)
|
|
13
20
|
.optional()
|
|
14
21
|
.transform((value) => value),
|
|
15
22
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageEditRequestSchema.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;IACrC,GAAG,wBAAwB;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"ImageEditRequestSchema.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAC3D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,iBAAiB,EAAE,OAAO;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC;CACvG,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAChD,WAAW,EAAE,OAAO,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;IACrC,GAAG,wBAAwB;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAmD,CAAC;CAC7E,CAAC;KACD,MAAM,EAAE,CAAC"}
|
package/build/src/core/infrastructure/api/v1/requests/images/ImageGenerationRequestSchema.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export declare const ImageGenerationRequestSchema: z.ZodObject<{
|
|
|
19
19
|
}>>;
|
|
20
20
|
outputFormat: z.ZodOptional<z.ZodEnum<{
|
|
21
21
|
png: "png";
|
|
22
|
+
jpeg: "jpeg";
|
|
22
23
|
webp: "webp";
|
|
23
24
|
gif: "gif";
|
|
24
|
-
jpeg: "jpeg";
|
|
25
25
|
}>>;
|
|
26
26
|
outputCompression: z.ZodOptional<z.ZodNumber>;
|
|
27
27
|
frameCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -15,9 +15,9 @@ export declare const imageOutputOptionsSchema: {
|
|
|
15
15
|
}>>;
|
|
16
16
|
outputFormat: z.ZodOptional<z.ZodEnum<{
|
|
17
17
|
png: "png";
|
|
18
|
+
jpeg: "jpeg";
|
|
18
19
|
webp: "webp";
|
|
19
20
|
gif: "gif";
|
|
20
|
-
jpeg: "jpeg";
|
|
21
21
|
}>>;
|
|
22
22
|
outputCompression: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
frameCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -27,6 +27,11 @@ export declare const RunExecutionSettingsSchema: z.ZodObject<{
|
|
|
27
27
|
}, z.core.$strict>;
|
|
28
28
|
export declare const CreateRunRequestSchema: z.ZodObject<{
|
|
29
29
|
conversationId: z.ZodString;
|
|
30
|
+
imageEditSelection: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
model: z.ZodString;
|
|
32
|
+
maskMediaId: z.ZodString;
|
|
33
|
+
maskSourceMediaId: z.ZodString;
|
|
34
|
+
}, z.core.$strict>>;
|
|
30
35
|
content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
31
36
|
type: z.ZodEnum<{
|
|
32
37
|
text: "text";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRunRequestSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;kBAc5B,CAAC;AAEZ,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"CreateRunRequestSchema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;kBAc5B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsBxB,CAAC"}
|
|
@@ -21,6 +21,11 @@ export const RunExecutionSettingsSchema = z.object({
|
|
|
21
21
|
}).strict();
|
|
22
22
|
export const CreateRunRequestSchema = z.object({
|
|
23
23
|
conversationId: z.string().min(1),
|
|
24
|
+
imageEditSelection: z.object({
|
|
25
|
+
model: z.string().min(1).max(200),
|
|
26
|
+
maskMediaId: z.string().regex(/^[A-Za-z0-9_-]{1,128}$/),
|
|
27
|
+
maskSourceMediaId: z.string().regex(/^[A-Za-z0-9_-]{1,128}$/),
|
|
28
|
+
}).strict().describe('Apply a saved painted selection to the first image attachment through the selected editor and tool approval.').optional(),
|
|
24
29
|
content: z.array(ContentItemSchema).min(1),
|
|
25
30
|
instructions: z.string().nullable().optional(),
|
|
26
31
|
tools: z.array(ToolReferenceSchema).nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRunRequestSchema.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAC/E,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC;AAErG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,sFAAsF;IACtF,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,iBAAiB,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtD,aAAa,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,sBAAsB,EAAE,UAAU;QACvG,uBAAuB,EAAE,UAAU,EAAE,yBAAyB,EAAE,UAAU,EAAE,CAA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A0B,CAAC,QAAQ,EAAE;IAChD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;SACtD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC,QAAQ,EAAE;IACtG,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACrB,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACvD,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxB,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"CreateRunRequestSchema.js","sourceRoot":"","sources":["../../../../../../../../src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,iB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M,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC;SACtD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAC,QAAQ,EAAE;IACtG,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACrB,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACvD,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxB,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationsRouter.openapi.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AA2BnG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjC,CAAC;AACH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AA0BH,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"ConversationsRouter.openapi.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AA2BnG,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjC,CAAC;AACH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AA0BH,eAAO,MAAM,qBAAqB,EAAE,eAkQnC,CAAC"}
|
|
@@ -274,7 +274,7 @@ export const conversationsContract = {
|
|
|
274
274
|
post: {
|
|
275
275
|
operationId: 'addConversationMessage',
|
|
276
276
|
summary: 'Persist a user message',
|
|
277
|
-
description: 'Persists a message without starting a Run. Content media requires exactly one of url or mediaId for each media item.',
|
|
277
|
+
description: 'Persists a message without starting a Run. Content media requires exactly one of url or mediaId for each media item. For a painted edit, use Run creation with the original image and a separate imageEditSelection.',
|
|
278
278
|
tags: ['Conversations'],
|
|
279
279
|
security: writeSecurity,
|
|
280
280
|
requestBody: jsonBody(AddMessageRequestSchema.extend({ content: z.array(MessageInputHttpSchema) }), {
|
|
@@ -286,6 +286,9 @@ export const conversationsContract = {
|
|
|
286
286
|
...messageErrors,
|
|
287
287
|
404: jsonResponse(z.union([MessageResponseSchema, AppErrorSchema]), 'Conversation absent at the controller check, or inaccessible to the authenticated owner at the application recheck', { message: 'Conversation not found' }),
|
|
288
288
|
409: managedConversationConflict,
|
|
289
|
+
422: jsonResponse(AppErrorSchema, 'Invalid attachment data or an internal edit mask supplied as a standalone image', {
|
|
290
|
+
error: 'Attach the original image and supply its painted selection separately.', code: 'image_edit_invalid_mask', status: 422,
|
|
291
|
+
}),
|
|
289
292
|
},
|
|
290
293
|
},
|
|
291
294
|
},
|