@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.
Files changed (466) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +1 -1
  3. package/build/openapi/openapi.json +1392 -428
  4. package/build/openapi/openapi.yaml +940 -303
  5. package/build/openapi/voice-media-worker.json +1 -1
  6. package/build/openapi/voice-media-worker.yaml +1 -1
  7. package/build/openapi/worker-health.json +1 -1
  8. package/build/openapi/worker-health.yaml +1 -1
  9. package/build/src/config/VoiceMediaConfig.d.ts +1 -0
  10. package/build/src/config/VoiceMediaConfig.d.ts.map +1 -1
  11. package/build/src/config/VoiceMediaConfig.js +5 -0
  12. package/build/src/config/VoiceMediaConfig.js.map +1 -1
  13. package/build/src/config/schema.d.ts +19 -7
  14. package/build/src/config/schema.d.ts.map +1 -1
  15. package/build/src/config/schema.js +23 -7
  16. package/build/src/config/schema.js.map +1 -1
  17. package/build/src/core/application/dtos/messages/responses/MessageDto.d.ts +2 -1
  18. package/build/src/core/application/dtos/messages/responses/MessageDto.d.ts.map +1 -1
  19. package/build/src/core/application/dtos/runs/CreateRunRequestDto.d.ts +2 -0
  20. package/build/src/core/application/dtos/runs/CreateRunRequestDto.d.ts.map +1 -1
  21. package/build/src/core/application/mappers/messages/MessageMapper.d.ts.map +1 -1
  22. package/build/src/core/application/mappers/messages/MessageMapper.js +2 -0
  23. package/build/src/core/application/mappers/messages/MessageMapper.js.map +1 -1
  24. package/build/src/core/application/services/media/DefaultContentMediaService.d.ts +1 -1
  25. package/build/src/core/application/services/media/DefaultContentMediaService.d.ts.map +1 -1
  26. package/build/src/core/application/services/media/DefaultContentMediaService.js +48 -15
  27. package/build/src/core/application/services/media/DefaultContentMediaService.js.map +1 -1
  28. package/build/src/core/application/services/media/ImageAppServiceImpl.js +1 -1
  29. package/build/src/core/application/services/media/ImageAppServiceImpl.js.map +1 -1
  30. package/build/src/core/application/services/media/ImageEditingAppService.d.ts +7 -1
  31. package/build/src/core/application/services/media/ImageEditingAppService.d.ts.map +1 -1
  32. package/build/src/core/application/services/media/ImageEditingAppServiceImpl.d.ts +6 -1
  33. package/build/src/core/application/services/media/ImageEditingAppServiceImpl.d.ts.map +1 -1
  34. package/build/src/core/application/services/media/ImageEditingAppServiceImpl.js +59 -5
  35. package/build/src/core/application/services/media/ImageEditingAppServiceImpl.js.map +1 -1
  36. package/build/src/core/application/services/media/SpeechAppService.d.ts +2 -1
  37. package/build/src/core/application/services/media/SpeechAppService.d.ts.map +1 -1
  38. package/build/src/core/application/services/media/SpeechAppServiceImpl.d.ts +1 -0
  39. package/build/src/core/application/services/media/SpeechAppServiceImpl.d.ts.map +1 -1
  40. package/build/src/core/application/services/media/SpeechAppServiceImpl.js +3 -0
  41. package/build/src/core/application/services/media/SpeechAppServiceImpl.js.map +1 -1
  42. package/build/src/core/application/services/realtime/RealtimeTranscriptSession.d.ts +3 -0
  43. package/build/src/core/application/services/realtime/RealtimeTranscriptSession.d.ts.map +1 -1
  44. package/build/src/core/application/services/realtime/RealtimeTranscriptSession.js +62 -0
  45. package/build/src/core/application/services/realtime/RealtimeTranscriptSession.js.map +1 -1
  46. package/build/src/core/application/services/runs/RunAppServiceImpl.d.ts +7 -3
  47. package/build/src/core/application/services/runs/RunAppServiceImpl.d.ts.map +1 -1
  48. package/build/src/core/application/services/runs/RunAppServiceImpl.js +64 -14
  49. package/build/src/core/application/services/runs/RunAppServiceImpl.js.map +1 -1
  50. package/build/src/core/application/services/runs/RunExecutionSessionFactoryImpl.js +1 -1
  51. package/build/src/core/application/services/runs/RunExecutionSessionFactoryImpl.js.map +1 -1
  52. package/build/src/core/application/services/voice/intake/VoiceTranscriptService.d.ts +1 -1
  53. package/build/src/core/application/services/voice/intake/VoiceTranscriptService.d.ts.map +1 -1
  54. package/build/src/core/application/services/voice/intake/VoiceTranscriptService.js +17 -14
  55. package/build/src/core/application/services/voice/intake/VoiceTranscriptService.js.map +1 -1
  56. package/build/src/core/application/services/voice/review/VoiceReviewInput.d.ts +1 -0
  57. package/build/src/core/application/services/voice/review/VoiceReviewInput.d.ts.map +1 -1
  58. package/build/src/core/application/services/voice/session/ActiveVoiceSession.d.ts +2 -0
  59. package/build/src/core/application/services/voice/session/ActiveVoiceSession.d.ts.map +1 -1
  60. package/build/src/core/application/services/voice/session/ActiveVoiceSession.js +37 -12
  61. package/build/src/core/application/services/voice/session/ActiveVoiceSession.js.map +1 -1
  62. package/build/src/core/application/services/voice/session/VoiceSessionAppService.js +1 -1
  63. package/build/src/core/application/services/voice/session/VoiceSessionAppService.js.map +1 -1
  64. package/build/src/core/domain/factories/speech/SpeechProviderFactory.d.ts +1 -0
  65. package/build/src/core/domain/factories/speech/SpeechProviderFactory.d.ts.map +1 -1
  66. package/build/src/core/domain/factories/speech/SpeechProviderFactory.js +3 -0
  67. package/build/src/core/domain/factories/speech/SpeechProviderFactory.js.map +1 -1
  68. package/build/src/core/domain/models/images/ImageEditing.d.ts +9 -0
  69. package/build/src/core/domain/models/images/ImageEditing.d.ts.map +1 -1
  70. package/build/src/core/domain/models/images/ImageEditing.js +2 -1
  71. package/build/src/core/domain/models/images/ImageEditing.js.map +1 -1
  72. package/build/src/core/domain/models/images/ImageOutputOptions.js +1 -1
  73. package/build/src/core/domain/models/messages/Message.d.ts +8 -0
  74. package/build/src/core/domain/models/messages/Message.d.ts.map +1 -1
  75. package/build/src/core/domain/models/speech/RealtimeTranslationLanguage.d.ts +10 -0
  76. package/build/src/core/domain/models/speech/RealtimeTranslationLanguage.d.ts.map +1 -1
  77. package/build/src/core/domain/models/tools/ToolExecutionContext.d.ts +2 -0
  78. package/build/src/core/domain/models/tools/ToolExecutionContext.d.ts.map +1 -1
  79. package/build/src/core/domain/models/voice/VoiceSession.d.ts +2 -0
  80. package/build/src/core/domain/models/voice/VoiceSession.d.ts.map +1 -1
  81. package/build/src/core/domain/params/chat/LLMExecutionRequest.d.ts +2 -0
  82. package/build/src/core/domain/params/chat/LLMExecutionRequest.d.ts.map +1 -1
  83. package/build/src/core/domain/ports/ai/images/ImageEditingProvider.d.ts +2 -0
  84. package/build/src/core/domain/ports/ai/images/ImageEditingProvider.d.ts.map +1 -1
  85. package/build/src/core/domain/ports/ai/llm/LLMProvider.d.ts +2 -0
  86. package/build/src/core/domain/ports/ai/llm/LLMProvider.d.ts.map +1 -1
  87. package/build/src/core/domain/ports/repositories/voice/VoiceSessionRepository.d.ts +3 -1
  88. package/build/src/core/domain/ports/repositories/voice/VoiceSessionRepository.d.ts.map +1 -1
  89. package/build/src/core/domain/ports/services/assurance/AssuranceEvaluationService.d.ts +1 -1
  90. package/build/src/core/domain/ports/services/assurance/AssuranceEvaluationService.d.ts.map +1 -1
  91. package/build/src/core/domain/ports/services/media/RemoteMediaFetcher.d.ts +1 -0
  92. package/build/src/core/domain/ports/services/media/RemoteMediaFetcher.d.ts.map +1 -1
  93. package/build/src/core/domain/ports/speech/RealtimeTranslationProvider.d.ts +2 -1
  94. package/build/src/core/domain/ports/speech/RealtimeTranslationProvider.d.ts.map +1 -1
  95. package/build/src/core/domain/services/chat/LLMExecutionServiceImpl.d.ts.map +1 -1
  96. package/build/src/core/domain/services/chat/LLMExecutionServiceImpl.js +16 -4
  97. package/build/src/core/domain/services/chat/LLMExecutionServiceImpl.js.map +1 -1
  98. package/build/src/core/domain/services/media/ImageEditPolicy.d.ts +14 -1
  99. package/build/src/core/domain/services/media/ImageEditPolicy.d.ts.map +1 -1
  100. package/build/src/core/domain/services/media/ImageEditPolicy.js +54 -4
  101. package/build/src/core/domain/services/media/ImageEditPolicy.js.map +1 -1
  102. package/build/src/core/domain/services/media/SpeechService.d.ts +2 -1
  103. package/build/src/core/domain/services/media/SpeechService.d.ts.map +1 -1
  104. package/build/src/core/domain/services/media/SpeechServiceImpl.d.ts +1 -0
  105. package/build/src/core/domain/services/media/SpeechServiceImpl.d.ts.map +1 -1
  106. package/build/src/core/domain/services/media/SpeechServiceImpl.js +3 -0
  107. package/build/src/core/domain/services/media/SpeechServiceImpl.js.map +1 -1
  108. package/build/src/core/domain/services/models/ModelServiceImpl.d.ts +1 -0
  109. package/build/src/core/domain/services/models/ModelServiceImpl.d.ts.map +1 -1
  110. package/build/src/core/domain/services/models/ModelServiceImpl.js +31 -32
  111. package/build/src/core/domain/services/models/ModelServiceImpl.js.map +1 -1
  112. package/build/src/core/domain/services/runs/NativeRunEngine.d.ts.map +1 -1
  113. package/build/src/core/domain/services/runs/NativeRunEngine.js +6 -1
  114. package/build/src/core/domain/services/runs/NativeRunEngine.js.map +1 -1
  115. package/build/src/core/domain/services/runs/RunEngine.d.ts +2 -0
  116. package/build/src/core/domain/services/runs/RunEngine.d.ts.map +1 -1
  117. package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.d.ts +2 -0
  118. package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.d.ts.map +1 -1
  119. package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.js +6 -2
  120. package/build/src/core/domain/services/runs/RunToolApprovalProviderCapability.js.map +1 -1
  121. package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.d.ts +1 -0
  122. package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.d.ts.map +1 -1
  123. package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.js +1 -0
  124. package/build/src/core/domain/services/tools/ToolExecutionContextPolicy.js.map +1 -1
  125. package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.d.ts +2 -0
  126. package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.d.ts.map +1 -0
  127. package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.js +5 -0
  128. package/build/src/core/infrastructure/ai/images/AnimatedPngFixture.test-support.js.map +1 -0
  129. package/build/src/core/infrastructure/ai/images/ImageOutputBytes.d.ts +1 -0
  130. package/build/src/core/infrastructure/ai/images/ImageOutputBytes.d.ts.map +1 -1
  131. package/build/src/core/infrastructure/ai/images/ImageOutputBytes.js +9 -3
  132. package/build/src/core/infrastructure/ai/images/ImageOutputBytes.js.map +1 -1
  133. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.d.ts +20 -0
  134. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.d.ts.map +1 -0
  135. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.js +52 -0
  136. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageClient.js.map +1 -0
  137. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.d.ts +13 -0
  138. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.d.ts.map +1 -0
  139. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.js +137 -0
  140. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageEditingProvider.js.map +1 -0
  141. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.d.ts +3 -37
  142. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.d.ts.map +1 -1
  143. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.js +52 -208
  144. package/build/src/core/infrastructure/ai/images/blackforestlabs/BlackForestLabsImageGenerationProvider.js.map +1 -1
  145. package/build/src/core/infrastructure/ai/images/editing/OpenAICompatibleImageEditingProvider.d.ts.map +1 -1
  146. package/build/src/core/infrastructure/ai/images/editing/OpenAICompatibleImageEditingProvider.js +11 -3
  147. package/build/src/core/infrastructure/ai/images/editing/OpenAICompatibleImageEditingProvider.js.map +1 -1
  148. package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.d.ts +12 -0
  149. package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.d.ts.map +1 -0
  150. package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.js +39 -0
  151. package/build/src/core/infrastructure/ai/images/editing/OpenAIImageEditMask.js.map +1 -0
  152. package/build/src/core/infrastructure/ai/images/openai/OpenAIImageModels.d.ts +1 -1
  153. package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.d.ts +32 -0
  154. package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.d.ts.map +1 -0
  155. package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.js +80 -0
  156. package/build/src/core/infrastructure/ai/llm/base/realtime/NativeRealtimeApprovalStore.js.map +1 -0
  157. package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.d.ts +23 -0
  158. package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.d.ts.map +1 -0
  159. package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.js +66 -0
  160. package/build/src/core/infrastructure/ai/llm/base/realtime/RealtimeToolInvocationBuilder.js.map +1 -0
  161. package/build/src/core/infrastructure/ai/llm/providers/azure/services/AzureFoundryService.d.ts +1 -1
  162. package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasConfig.d.ts.map +1 -1
  163. package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasConfig.js +11 -15
  164. package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasConfig.js.map +1 -1
  165. package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasService.d.ts.map +1 -1
  166. package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasService.js +3 -5
  167. package/build/src/core/infrastructure/ai/llm/providers/cerebras/CerebrasService.js.map +1 -1
  168. package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.d.ts +2 -1
  169. package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.d.ts.map +1 -1
  170. package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.js +33 -38
  171. package/build/src/core/infrastructure/ai/llm/providers/foundry-local/FoundryLocalService.js.map +1 -1
  172. package/build/src/core/infrastructure/ai/llm/providers/google/GoogleConfig.d.ts.map +1 -1
  173. package/build/src/core/infrastructure/ai/llm/providers/google/GoogleConfig.js +0 -1
  174. package/build/src/core/infrastructure/ai/llm/providers/google/GoogleConfig.js.map +1 -1
  175. package/build/src/core/infrastructure/ai/llm/providers/google/GoogleStructuredOutputPolicy.js +1 -1
  176. package/build/src/core/infrastructure/ai/llm/providers/google/GoogleStructuredOutputPolicy.js.map +1 -1
  177. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.d.ts +6 -0
  178. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.d.ts.map +1 -0
  179. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.js +16 -0
  180. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleLiveSocket.js.map +1 -0
  181. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.d.ts +9 -1
  182. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.d.ts.map +1 -1
  183. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.js +17 -4
  184. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeConfig.js.map +1 -1
  185. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.d.ts +11 -2
  186. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.d.ts.map +1 -1
  187. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.js +72 -42
  188. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeEventHandlerREgistry.js.map +1 -1
  189. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.d.ts +2 -1
  190. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.d.ts.map +1 -1
  191. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.js +51 -30
  192. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeProvider.js.map +1 -1
  193. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.d.ts +14 -6
  194. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.d.ts.map +1 -1
  195. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.js +74 -28
  196. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeSession.js.map +1 -1
  197. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.d.ts +27 -0
  198. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.d.ts.map +1 -0
  199. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.js +138 -0
  200. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolApprovals.js.map +1 -0
  201. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.d.ts +10 -0
  202. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.d.ts.map +1 -0
  203. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.js +43 -0
  204. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeToolContracts.js.map +1 -0
  205. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.d.ts +38 -0
  206. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.d.ts.map +1 -0
  207. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.js +138 -0
  208. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/GoogleRealtimeTranslationProvider.js.map +1 -0
  209. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.d.ts +9 -2
  210. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.d.ts.map +1 -1
  211. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.js +4 -1
  212. package/build/src/core/infrastructure/ai/llm/providers/google/realtime/types.js.map +1 -1
  213. package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.d.ts +2 -3
  214. package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.d.ts.map +1 -1
  215. package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.js +11 -7
  216. package/build/src/core/infrastructure/ai/llm/providers/local/LocalLLMChatProviderService.js.map +1 -1
  217. package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralConfig.d.ts.map +1 -1
  218. package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralConfig.js +18 -13
  219. package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralConfig.js.map +1 -1
  220. package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralService.d.ts.map +1 -1
  221. package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralService.js +16 -1
  222. package/build/src/core/infrastructure/ai/llm/providers/mistral/MistralService.js.map +1 -1
  223. package/build/src/core/infrastructure/ai/llm/providers/nvidia/NvidiaConfig.d.ts.map +1 -1
  224. package/build/src/core/infrastructure/ai/llm/providers/nvidia/NvidiaConfig.js +12 -132
  225. package/build/src/core/infrastructure/ai/llm/providers/nvidia/NvidiaConfig.js.map +1 -1
  226. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.d.ts +40 -0
  227. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.d.ts.map +1 -0
  228. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.js +296 -0
  229. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaCloudService.js.map +1 -0
  230. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.d.ts +14 -4
  231. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.d.ts.map +1 -1
  232. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.js +35 -5
  233. package/build/src/core/infrastructure/ai/llm/providers/ollama/OllamaLLMProvider.js.map +1 -1
  234. package/build/src/core/infrastructure/ai/llm/providers/openai/chat-completions/OpenAIChatCompletionsService.d.ts +1 -1
  235. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.d.ts +5 -2
  236. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.d.ts.map +1 -1
  237. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.js +25 -1
  238. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveConfig.js.map +1 -1
  239. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveMediaProvider.js +1 -1
  240. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveMediaProvider.js.map +1 -1
  241. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveProvider.d.ts.map +1 -1
  242. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveProvider.js +6 -4
  243. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveProvider.js.map +1 -1
  244. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.d.ts +3 -4
  245. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.d.ts.map +1 -1
  246. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.js +13 -51
  247. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptPlayback.js.map +1 -1
  248. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.d.ts +4 -0
  249. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.d.ts.map +1 -0
  250. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.js +163 -0
  251. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveReceiptSpeech.js.map +1 -0
  252. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.d.ts +9 -2
  253. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.d.ts.map +1 -1
  254. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.js +24 -9
  255. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcConnection.js.map +1 -1
  256. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcEventMapper.d.ts.map +1 -1
  257. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcEventMapper.js +4 -0
  258. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAILiveRtcEventMapper.js.map +1 -1
  259. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAIRealtimeReceiptSpeech.d.ts.map +1 -1
  260. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAIRealtimeReceiptSpeech.js +12 -4
  261. package/build/src/core/infrastructure/ai/llm/providers/openai/live/OpenAIRealtimeReceiptSpeech.js.map +1 -1
  262. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.d.ts +3 -21
  263. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.d.ts.map +1 -1
  264. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.js +2 -64
  265. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeDisplayContentBuilder.js.map +1 -1
  266. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.d.ts +1 -5
  267. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.d.ts.map +1 -1
  268. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.js +12 -87
  269. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeEventHandlerRegistry.js.map +1 -1
  270. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.d.ts +11 -1
  271. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.d.ts.map +1 -1
  272. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.js +73 -73
  273. package/build/src/core/infrastructure/ai/llm/providers/openai/realtime/OpenAIRealtimeTranslationProvider.js.map +1 -1
  274. package/build/src/core/infrastructure/ai/llm/providers/openai/responses/OpenAIResponsesApiService.d.ts +1 -1
  275. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.d.ts +25 -0
  276. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.d.ts.map +1 -0
  277. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.js +152 -0
  278. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeCatalog.js.map +1 -0
  279. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.d.ts +22 -0
  280. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.d.ts.map +1 -0
  281. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.js +54 -0
  282. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeLLMProvider.js.map +1 -0
  283. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.d.ts +31 -0
  284. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.d.ts.map +1 -0
  285. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.js +357 -0
  286. package/build/src/core/infrastructure/ai/llm/providers/opencode/OpenCodeService.js.map +1 -0
  287. package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterConfig.d.ts.map +1 -1
  288. package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterConfig.js +9 -16
  289. package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterConfig.js.map +1 -1
  290. package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterService.js +1 -1
  291. package/build/src/core/infrastructure/ai/llm/providers/openrouter/OpenRouterService.js.map +1 -1
  292. package/build/src/core/infrastructure/ai/tools/executors/FunctionToolExecutor.d.ts.map +1 -1
  293. package/build/src/core/infrastructure/ai/tools/executors/FunctionToolExecutor.js +1 -0
  294. package/build/src/core/infrastructure/ai/tools/executors/FunctionToolExecutor.js.map +1 -1
  295. package/build/src/core/infrastructure/ai/tools/implementations/images/ImageEditingTool.d.ts.map +1 -1
  296. package/build/src/core/infrastructure/ai/tools/implementations/images/ImageEditingTool.js +11 -3
  297. package/build/src/core/infrastructure/ai/tools/implementations/images/ImageEditingTool.js.map +1 -1
  298. package/build/src/core/infrastructure/ai/tools/implementations/images/ImageGenerationToolService.js +1 -1
  299. package/build/src/core/infrastructure/ai/tools/implementations/images/ImageGenerationToolService.js.map +1 -1
  300. package/build/src/core/infrastructure/ai/tools/implementations/images/ImageOutputToolProperties.d.ts +1 -1
  301. package/build/src/core/infrastructure/ai/tools/implementations/images/schemas.d.ts +4 -4
  302. package/build/src/core/infrastructure/ai/tools/implementations/images/schemas.js +3 -3
  303. package/build/src/core/infrastructure/ai/tools/implementations/images/schemas.js.map +1 -1
  304. package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.d.ts +2 -0
  305. package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.d.ts.map +1 -1
  306. package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.js +18 -6
  307. package/build/src/core/infrastructure/api/v1/controllers/media/ImageEditingController.js.map +1 -1
  308. package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.d.ts +1 -0
  309. package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.d.ts.map +1 -1
  310. package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.js +3 -0
  311. package/build/src/core/infrastructure/api/v1/controllers/media/SpeechController.js.map +1 -1
  312. package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.d.ts +32 -12
  313. package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.d.ts.map +1 -1
  314. package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.js +8 -8
  315. package/build/src/core/infrastructure/api/v1/openapi/coreSchemas.js.map +1 -1
  316. package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.d.ts +6 -1
  317. package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.d.ts.map +1 -1
  318. package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.js +8 -1
  319. package/build/src/core/infrastructure/api/v1/requests/images/ImageEditRequestSchema.js.map +1 -1
  320. package/build/src/core/infrastructure/api/v1/requests/images/ImageGenerationRequestSchema.d.ts +1 -1
  321. package/build/src/core/infrastructure/api/v1/requests/images/ImageOutputOptionsSchema.d.ts +1 -1
  322. package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.d.ts +5 -0
  323. package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.d.ts.map +1 -1
  324. package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.js +5 -0
  325. package/build/src/core/infrastructure/api/v1/requests/runs/CreateRunRequestSchema.js.map +1 -1
  326. package/build/src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.d.ts.map +1 -1
  327. package/build/src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.js +4 -1
  328. package/build/src/core/infrastructure/api/v1/routers/conversations/openapi/ConversationsRouter.openapi.js.map +1 -1
  329. package/build/src/core/infrastructure/api/v1/routers/media/audio/SpeechRouter.d.ts.map +1 -1
  330. package/build/src/core/infrastructure/api/v1/routers/media/audio/SpeechRouter.js +1 -0
  331. package/build/src/core/infrastructure/api/v1/routers/media/audio/SpeechRouter.js.map +1 -1
  332. package/build/src/core/infrastructure/api/v1/routers/media/audio/openapi/SpeechRouter.openapi.d.ts.map +1 -1
  333. package/build/src/core/infrastructure/api/v1/routers/media/audio/openapi/SpeechRouter.openapi.js +15 -0
  334. package/build/src/core/infrastructure/api/v1/routers/media/audio/openapi/SpeechRouter.openapi.js.map +1 -1
  335. package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.d.ts.map +1 -1
  336. package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.js +1 -0
  337. package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.js.map +1 -1
  338. package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.openapi.d.ts.map +1 -1
  339. package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.openapi.js +11 -2
  340. package/build/src/core/infrastructure/api/v1/routers/media/images/ImagesRouter.openapi.js.map +1 -1
  341. package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.d.ts +1 -0
  342. package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.d.ts.map +1 -1
  343. package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.js +1 -0
  344. package/build/src/core/infrastructure/api/v1/routers/media/live/openapi/VoiceSessionHttpSchemas.js.map +1 -1
  345. package/build/src/core/infrastructure/api/v1/routers/media/shared/openapi/MediaHttpExamples.d.ts.map +1 -1
  346. package/build/src/core/infrastructure/api/v1/routers/media/shared/openapi/MediaHttpExamples.js +37 -25
  347. package/build/src/core/infrastructure/api/v1/routers/media/shared/openapi/MediaHttpExamples.js.map +1 -1
  348. package/build/src/core/infrastructure/api/v1/routers/runs/openapi/DurableRunSchemas.openapi.d.ts +5 -0
  349. package/build/src/core/infrastructure/api/v1/routers/runs/openapi/DurableRunSchemas.openapi.d.ts.map +1 -1
  350. package/build/src/core/infrastructure/api/v1/routers/runs/openapi/RunsRouter.openapi.d.ts +24 -9
  351. package/build/src/core/infrastructure/api/v1/routers/runs/openapi/RunsRouter.openapi.d.ts.map +1 -1
  352. package/build/src/core/infrastructure/di/builtInLLMProviders.d.ts.map +1 -1
  353. package/build/src/core/infrastructure/di/builtInLLMProviders.js +4 -3
  354. package/build/src/core/infrastructure/di/builtInLLMProviders.js.map +1 -1
  355. package/build/src/core/infrastructure/di/index.d.ts.map +1 -1
  356. package/build/src/core/infrastructure/di/index.js +12 -2
  357. package/build/src/core/infrastructure/di/index.js.map +1 -1
  358. package/build/src/core/infrastructure/di/types.d.ts +3 -1
  359. package/build/src/core/infrastructure/di/types.d.ts.map +1 -1
  360. package/build/src/core/infrastructure/di/types.js +3 -1
  361. package/build/src/core/infrastructure/di/types.js.map +1 -1
  362. package/build/src/core/infrastructure/models/chat/completions/ChatCompletion.d.ts +1 -0
  363. package/build/src/core/infrastructure/models/chat/completions/ChatCompletion.d.ts.map +1 -1
  364. package/build/src/core/infrastructure/models/chat/completions/ChatCompletionMessageCodec.d.ts +1 -0
  365. package/build/src/core/infrastructure/models/chat/completions/ChatCompletionMessageCodec.d.ts.map +1 -1
  366. package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.d.ts +4 -1
  367. package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.d.ts.map +1 -1
  368. package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.js +16 -14
  369. package/build/src/core/infrastructure/models/chat/completions/ChatCompletionResponseValidator.js.map +1 -1
  370. package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.d.ts +2 -1
  371. package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.d.ts.map +1 -1
  372. package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.js +2 -2
  373. package/build/src/core/infrastructure/models/chat/completions/FetchChatCompletionResponse.js.map +1 -1
  374. package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.d.ts +3 -1
  375. package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.d.ts.map +1 -1
  376. package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.js +4 -1
  377. package/build/src/core/infrastructure/models/chat/completions/OpenAICompatibleChatCompletionProtocol.js.map +1 -1
  378. package/build/src/core/infrastructure/persistence/repositories/media/KnexMediaReferenceRecorder.d.ts.map +1 -1
  379. package/build/src/core/infrastructure/persistence/repositories/media/KnexMediaReferenceRecorder.js +13 -0
  380. package/build/src/core/infrastructure/persistence/repositories/media/KnexMediaReferenceRecorder.js.map +1 -1
  381. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceMediaLease.d.ts.map +1 -1
  382. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceMediaLease.js +2 -1
  383. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceMediaLease.js.map +1 -1
  384. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.d.ts +4 -2
  385. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.d.ts.map +1 -1
  386. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.js +28 -11
  387. package/build/src/core/infrastructure/persistence/repositories/voice/KnexVoiceSessionRepository.js.map +1 -1
  388. package/build/src/core/infrastructure/services/chat/ChatCompletionStreamService.d.ts.map +1 -1
  389. package/build/src/core/infrastructure/services/chat/ChatCompletionStreamService.js +2 -0
  390. package/build/src/core/infrastructure/services/chat/ChatCompletionStreamService.js.map +1 -1
  391. package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.d.ts +1 -0
  392. package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.d.ts.map +1 -1
  393. package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.js +44 -0
  394. package/build/src/core/infrastructure/services/media/ImageEditInputServiceImpl.js.map +1 -1
  395. package/build/src/core/infrastructure/services/media/PngAnimation.d.ts +3 -0
  396. package/build/src/core/infrastructure/services/media/PngAnimation.d.ts.map +1 -0
  397. package/build/src/core/infrastructure/services/media/PngAnimation.js +12 -0
  398. package/build/src/core/infrastructure/services/media/PngAnimation.js.map +1 -0
  399. package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.d.ts +2 -0
  400. package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.d.ts.map +1 -1
  401. package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.js +19 -3
  402. package/build/src/core/infrastructure/services/media/SafeHttpRemoteMediaFetcher.js.map +1 -1
  403. package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.d.ts +0 -2
  404. package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.d.ts.map +1 -1
  405. package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.js +19 -26
  406. package/build/src/core/infrastructure/services/runs/approval/DefaultRunApprovalService.js.map +1 -1
  407. package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.d.ts +8 -0
  408. package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.d.ts.map +1 -0
  409. package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.js +18 -0
  410. package/build/src/core/infrastructure/services/runs/approval/resolveToolApprovalPolicy.js.map +1 -0
  411. package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.d.ts +2 -1
  412. package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.d.ts.map +1 -1
  413. package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.js +23 -18
  414. package/build/src/core/infrastructure/services/security/AssuranceEvaluationServiceImpl.js.map +1 -1
  415. package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.d.ts +1 -1
  416. package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.d.ts.map +1 -1
  417. package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.js +2 -1
  418. package/build/src/core/infrastructure/services/voice/media/VoiceMediaWorkerSession.js.map +1 -1
  419. package/build/src/infrastructure/api/openapi/root.openapi.js +1 -1
  420. package/build/src/infrastructure/api/openapi/root.openapi.js.map +1 -1
  421. package/build/src/infrastructure/server/cors.d.ts.map +1 -1
  422. package/build/src/infrastructure/server/cors.js +0 -1
  423. package/build/src/infrastructure/server/cors.js.map +1 -1
  424. package/build/src/infrastructure/websockets/commands/realtime/WebsocketRealtimeTranslationCommand.d.ts.map +1 -1
  425. package/build/src/infrastructure/websockets/commands/realtime/WebsocketRealtimeTranslationCommand.js +18 -7
  426. package/build/src/infrastructure/websockets/commands/realtime/WebsocketRealtimeTranslationCommand.js.map +1 -1
  427. package/build/src/infrastructure/websockets/mediators/WebsocketMediator.d.ts +1 -0
  428. package/build/src/infrastructure/websockets/mediators/WebsocketMediator.d.ts.map +1 -1
  429. package/build/src/infrastructure/websockets/mediators/WebsocketMediator.js +20 -1
  430. package/build/src/infrastructure/websockets/mediators/WebsocketMediator.js.map +1 -1
  431. package/build/src/infrastructure/workers/voice/startVoiceMediaHostFromContainer.d.ts.map +1 -1
  432. package/build/src/infrastructure/workers/voice/startVoiceMediaHostFromContainer.js +4 -1
  433. package/build/src/infrastructure/workers/voice/startVoiceMediaHostFromContainer.js.map +1 -1
  434. package/build/src/modules/admin/infrastructure/api/v1/AdminController.d.ts +2 -0
  435. package/build/src/modules/admin/infrastructure/api/v1/AdminController.d.ts.map +1 -1
  436. package/build/src/modules/admin/infrastructure/api/v1/AdminController.js +18 -3
  437. package/build/src/modules/admin/infrastructure/api/v1/AdminController.js.map +1 -1
  438. package/build/src/modules/admin/infrastructure/api/v1/AdminRouter.d.ts.map +1 -1
  439. package/build/src/modules/admin/infrastructure/api/v1/AdminRouter.js +1 -0
  440. package/build/src/modules/admin/infrastructure/api/v1/AdminRouter.js.map +1 -1
  441. package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminExamples.openapi.d.ts.map +1 -1
  442. package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminExamples.openapi.js +3 -0
  443. package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminExamples.openapi.js.map +1 -1
  444. package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminRouter.openapi.d.ts.map +1 -1
  445. package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminRouter.openapi.js +18 -0
  446. package/build/src/modules/admin/infrastructure/api/v1/openapi/AdminRouter.openapi.js.map +1 -1
  447. package/build/src/modules/code-review/infrastructure/auth/GitHubActionsWorkflowApprovalConfig.d.ts.map +1 -1
  448. package/build/src/modules/code-review/infrastructure/auth/GitHubActionsWorkflowApprovalConfig.js +17 -45
  449. package/build/src/modules/code-review/infrastructure/auth/GitHubActionsWorkflowApprovalConfig.js.map +1 -1
  450. package/build/src/modules/code-review/infrastructure/persistence/repositories/KnexCodeReviewRepository.d.ts.map +1 -1
  451. package/build/src/modules/code-review/infrastructure/persistence/repositories/KnexCodeReviewRepository.js +8 -2
  452. package/build/src/modules/code-review/infrastructure/persistence/repositories/KnexCodeReviewRepository.js.map +1 -1
  453. package/package.json +3 -3
  454. package/resources/prompts/live-conversation.md +1 -0
  455. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.d.ts +0 -3
  456. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.d.ts.map +0 -1
  457. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.js +0 -64
  458. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsConfig.js.map +0 -1
  459. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.d.ts +0 -26
  460. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.d.ts.map +0 -1
  461. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.js +0 -121
  462. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsLLMProvider.js.map +0 -1
  463. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.d.ts +0 -18
  464. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.d.ts.map +0 -1
  465. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.js +0 -73
  466. package/build/src/core/infrastructure/ai/llm/providers/lambdalabs/LambdaLabsService.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.1",
3
3
  "info": {
4
4
  "title": "GAIA Framework HTTP API",
5
- "version": "6.0.1",
5
+ "version": "7.0.0",
6
6
  "description": "Complete GAIA HTTP contract. Optional operations describe their configuration prerequisites. WebSocket, MQTT and media session protocols are documented separately. Authentication is operation-specific.",
7
7
  "license": {
8
8
  "name": "MIT",
@@ -580,7 +580,7 @@
580
580
  "apple_login": "app_scheme_v1",
581
581
  "android_login": "verified_app_link_v1",
582
582
  "apple_https_redirect_uris": [
583
- "https://chat.gaiaframework.com/oauth/native/ios/callback"
583
+ "https://connect.gaia.example/oauth/native/ios/callback"
584
584
  ],
585
585
  "android_redirect_uris": [
586
586
  "https://connect.gaia.example/oauth/native/android/callback"
@@ -6253,7 +6253,7 @@
6253
6253
  "post": {
6254
6254
  "operationId": "addConversationMessage",
6255
6255
  "summary": "Persist a user message",
6256
- "description": "Persists a message without starting a Run. Content media requires exactly one of url or mediaId for each media item.",
6256
+ "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.",
6257
6257
  "tags": [
6258
6258
  "Conversations"
6259
6259
  ],
@@ -6558,6 +6558,42 @@
6558
6558
  }
6559
6559
  }
6560
6560
  },
6561
+ "422": {
6562
+ "description": "Invalid attachment data or an internal edit mask supplied as a standalone image",
6563
+ "content": {
6564
+ "application/json": {
6565
+ "example": {
6566
+ "error": "Attach the original image and supply its painted selection separately.",
6567
+ "code": "image_edit_invalid_mask",
6568
+ "status": 422
6569
+ },
6570
+ "schema": {
6571
+ "type": "object",
6572
+ "properties": {
6573
+ "error": {
6574
+ "type": "string"
6575
+ },
6576
+ "code": {
6577
+ "type": "string"
6578
+ },
6579
+ "retryable": {
6580
+ "type": "boolean"
6581
+ },
6582
+ "status": {
6583
+ "type": "integer",
6584
+ "minimum": -9007199254740991,
6585
+ "maximum": 9007199254740991
6586
+ },
6587
+ "details": {}
6588
+ },
6589
+ "required": [
6590
+ "error"
6591
+ ],
6592
+ "additionalProperties": false
6593
+ }
6594
+ }
6595
+ }
6596
+ },
6561
6597
  "429": {
6562
6598
  "description": "HTTP 429 error The shared IP rate limiter can reject the request before authentication or controller execution (1,000 requests per minute).",
6563
6599
  "content": {
@@ -20645,6 +20681,31 @@
20645
20681
  "type": "string",
20646
20682
  "minLength": 1
20647
20683
  },
20684
+ "imageEditSelection": {
20685
+ "type": "object",
20686
+ "properties": {
20687
+ "model": {
20688
+ "type": "string",
20689
+ "minLength": 1,
20690
+ "maxLength": 200
20691
+ },
20692
+ "maskMediaId": {
20693
+ "type": "string",
20694
+ "pattern": "^[A-Za-z0-9_-]{1,128}$"
20695
+ },
20696
+ "maskSourceMediaId": {
20697
+ "type": "string",
20698
+ "pattern": "^[A-Za-z0-9_-]{1,128}$"
20699
+ }
20700
+ },
20701
+ "required": [
20702
+ "model",
20703
+ "maskMediaId",
20704
+ "maskSourceMediaId"
20705
+ ],
20706
+ "additionalProperties": false,
20707
+ "description": "Apply a saved painted selection to the first image attachment through the selected editor and tool approval."
20708
+ },
20648
20709
  "content": {
20649
20710
  "minItems": 1,
20650
20711
  "type": "array",
@@ -31251,10 +31312,10 @@
31251
31312
  }
31252
31313
  }
31253
31314
  },
31254
- "/api/v1/admin/api-keys": {
31315
+ "/api/v1/admin/credential-verification": {
31255
31316
  "get": {
31256
- "operationId": "adminListApiKeys",
31257
- "summary": "List API key metadata",
31317
+ "operationId": "adminGetCredentialVerification",
31318
+ "summary": "Preview credential verification for the current administrator session",
31258
31319
  "tags": [
31259
31320
  "Administration"
31260
31321
  ],
@@ -31262,9 +31323,6 @@
31262
31323
  {
31263
31324
  "bearerAuth": []
31264
31325
  },
31265
- {
31266
- "apiKeyAuth": []
31267
- },
31268
31326
  {
31269
31327
  "browserSession": []
31270
31328
  },
@@ -31272,37 +31330,46 @@
31272
31330
  "browserSessionDevelopment": []
31273
31331
  }
31274
31332
  ],
31275
- "parameters": [],
31276
31333
  "responses": {
31277
31334
  "200": {
31278
- "description": "API keys without secret values",
31279
- "content": {
31280
- "application/json": {
31281
- "example": [
31282
- {
31283
- "id": "00000000-0000-4000-8000-000000000001",
31284
- "userId": "user-example",
31285
- "name": "Automation",
31286
- "createdAt": "2026-10-23T12:00:00.000Z",
31287
- "authorizationMode": "full",
31288
- "capabilities": []
31289
- }
31290
- ],
31291
- "schema": {
31292
- "type": "array",
31293
- "items": {
31294
- "$ref": "#/components/schemas/AccountApiKey"
31295
- }
31296
- }
31297
- }
31298
- }
31299
- },
31300
- "400": {
31301
- "description": "Invalid request fields",
31335
+ "description": "Current verification requirement. A null level means assurance is disabled. Each credential change checks the session again.",
31302
31336
  "content": {
31303
31337
  "application/json": {
31338
+ "example": {
31339
+ "requiredLevel": "phishing_resistant",
31340
+ "satisfied": false,
31341
+ "maxAgeMinutes": 15
31342
+ },
31304
31343
  "schema": {
31305
- "$ref": "#/components/schemas/AccountHttpError"
31344
+ "type": "object",
31345
+ "properties": {
31346
+ "requiredLevel": {
31347
+ "anyOf": [
31348
+ {
31349
+ "type": "string",
31350
+ "enum": [
31351
+ "elevated",
31352
+ "phishing_resistant"
31353
+ ]
31354
+ },
31355
+ {
31356
+ "type": "null"
31357
+ }
31358
+ ]
31359
+ },
31360
+ "satisfied": {
31361
+ "type": "boolean"
31362
+ },
31363
+ "maxAgeMinutes": {
31364
+ "type": "number"
31365
+ }
31366
+ },
31367
+ "required": [
31368
+ "requiredLevel",
31369
+ "satisfied",
31370
+ "maxAgeMinutes"
31371
+ ],
31372
+ "additionalProperties": false
31306
31373
  }
31307
31374
  }
31308
31375
  }
@@ -31318,17 +31385,12 @@
31318
31385
  }
31319
31386
  },
31320
31387
  "403": {
31321
- "description": "Administrator authorization or additional assurance required",
31388
+ "description": "Administrator or owner session required. API keys cannot preview interactive verification.",
31322
31389
  "content": {
31323
31390
  "application/json": {
31324
31391
  "schema": {
31325
31392
  "$ref": "#/components/schemas/AccountHttpError"
31326
31393
  }
31327
- },
31328
- "text/html": {
31329
- "schema": {
31330
- "type": "string"
31331
- }
31332
31394
  }
31333
31395
  }
31334
31396
  },
@@ -31400,10 +31462,12 @@
31400
31462
  }
31401
31463
  }
31402
31464
  }
31403
- },
31404
- "post": {
31405
- "operationId": "adminCreateApiKey",
31406
- "summary": "Create an administrator-managed API key",
31465
+ }
31466
+ },
31467
+ "/api/v1/admin/api-keys": {
31468
+ "get": {
31469
+ "operationId": "adminListApiKeys",
31470
+ "summary": "List API key metadata",
31407
31471
  "tags": [
31408
31472
  "Administration"
31409
31473
  ],
@@ -31415,102 +31479,43 @@
31415
31479
  "apiKeyAuth": []
31416
31480
  },
31417
31481
  {
31418
- "browserSession": [],
31419
- "csrfToken": []
31482
+ "browserSession": []
31420
31483
  },
31421
31484
  {
31422
- "browserSessionDevelopment": [],
31423
- "csrfToken": []
31424
- }
31425
- ],
31426
- "parameters": [
31427
- {
31428
- "name": "x-passkey-verification-token",
31429
- "in": "header",
31430
- "schema": {
31431
- "type": "string"
31432
- },
31433
- "description": "Optional one-time passkey step-up or CLI operation verification token bound to this action."
31485
+ "browserSessionDevelopment": []
31434
31486
  }
31435
31487
  ],
31436
- "requestBody": {
31437
- "required": true,
31438
- "content": {
31439
- "application/json": {
31440
- "example": {
31441
- "userId": "user-example",
31442
- "name": "Automation"
31443
- },
31444
- "schema": {
31445
- "type": "object",
31446
- "properties": {
31447
- "userId": {
31448
- "type": "string"
31449
- },
31450
- "name": {
31451
- "type": "string"
31452
- }
31453
- },
31454
- "required": [
31455
- "userId",
31456
- "name"
31457
- ]
31458
- }
31459
- }
31460
- }
31461
- },
31488
+ "parameters": [],
31462
31489
  "responses": {
31463
- "201": {
31464
- "description": "API key secret, returned once",
31490
+ "200": {
31491
+ "description": "API keys without secret values",
31465
31492
  "content": {
31466
31493
  "application/json": {
31467
- "example": {
31468
- "apiKey": "synthetic-admin-api-key-returned-once"
31469
- },
31494
+ "example": [
31495
+ {
31496
+ "id": "00000000-0000-4000-8000-000000000001",
31497
+ "userId": "user-example",
31498
+ "name": "Automation",
31499
+ "createdAt": "2026-10-23T12:00:00.000Z",
31500
+ "authorizationMode": "full",
31501
+ "capabilities": []
31502
+ }
31503
+ ],
31470
31504
  "schema": {
31471
- "type": "object",
31472
- "properties": {
31473
- "apiKey": {
31474
- "type": "string"
31475
- }
31476
- },
31477
- "required": [
31478
- "apiKey"
31479
- ],
31480
- "additionalProperties": false
31505
+ "type": "array",
31506
+ "items": {
31507
+ "$ref": "#/components/schemas/AccountApiKey"
31508
+ }
31481
31509
  }
31482
31510
  }
31483
31511
  }
31484
31512
  },
31485
31513
  "400": {
31486
- "description": "Invalid request fields The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
31514
+ "description": "Invalid request fields",
31487
31515
  "content": {
31488
31516
  "application/json": {
31489
31517
  "schema": {
31490
- "anyOf": [
31491
- {
31492
- "$ref": "#/components/schemas/AccountHttpError"
31493
- },
31494
- {
31495
- "type": "object",
31496
- "required": [
31497
- "error"
31498
- ],
31499
- "additionalProperties": false,
31500
- "properties": {
31501
- "error": {
31502
- "type": "string",
31503
- "enum": [
31504
- "Invalid request body",
31505
- "Invalid request parameters"
31506
- ]
31507
- }
31508
- }
31509
- }
31510
- ]
31511
- },
31512
- "example": {
31513
- "error": "Invalid request body"
31518
+ "$ref": "#/components/schemas/AccountHttpError"
31514
31519
  }
31515
31520
  }
31516
31521
  }
@@ -31540,58 +31545,266 @@
31540
31545
  }
31541
31546
  }
31542
31547
  },
31543
- "413": {
31544
- "description": "The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
31545
- "content": {
31546
- "application/json": {
31547
- "schema": {
31548
- "type": "object",
31549
- "required": [
31550
- "error"
31551
- ],
31552
- "additionalProperties": false,
31553
- "properties": {
31554
- "error": {
31555
- "type": "string",
31556
- "enum": [
31557
- "Request body is too large",
31558
- "Too many request parameters"
31559
- ]
31560
- }
31561
- }
31562
- },
31563
- "example": {
31564
- "error": "Request body is too large"
31565
- }
31566
- }
31567
- }
31568
- },
31569
- "415": {
31570
- "description": "The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
31571
- "content": {
31572
- "application/json": {
31573
- "schema": {
31574
- "type": "object",
31575
- "required": [
31576
- "error"
31577
- ],
31578
- "additionalProperties": false,
31579
- "properties": {
31580
- "error": {
31581
- "type": "string",
31582
- "enum": [
31583
- "Unsupported request encoding",
31584
- "Unsupported request charset"
31585
- ]
31586
- }
31587
- }
31588
- },
31589
- "example": {
31590
- "error": "Unsupported request encoding"
31591
- }
31592
- }
31593
- }
31594
- },
31548
+ "429": {
31549
+ "description": "The shared IP rate limiter can reject the request before authentication or controller execution (1,000 requests per minute).",
31550
+ "headers": {
31551
+ "Retry-After": {
31552
+ "description": "Seconds until the rate-limit window resets.",
31553
+ "schema": {
31554
+ "type": "integer",
31555
+ "minimum": 0
31556
+ }
31557
+ },
31558
+ "X-RateLimit-Limit": {
31559
+ "description": "Request limit of the rejecting limiter.",
31560
+ "schema": {
31561
+ "type": "integer",
31562
+ "minimum": 1
31563
+ }
31564
+ },
31565
+ "X-RateLimit-Remaining": {
31566
+ "description": "Remaining requests in the rate-limit window.",
31567
+ "schema": {
31568
+ "type": "integer",
31569
+ "minimum": 0
31570
+ }
31571
+ },
31572
+ "X-RateLimit-Reset": {
31573
+ "description": "Unix time in seconds when the rate-limit window resets.",
31574
+ "schema": {
31575
+ "type": "integer"
31576
+ }
31577
+ }
31578
+ },
31579
+ "content": {
31580
+ "application/json": {
31581
+ "schema": {
31582
+ "type": "object",
31583
+ "required": [
31584
+ "error"
31585
+ ],
31586
+ "additionalProperties": false,
31587
+ "properties": {
31588
+ "error": {
31589
+ "type": "string",
31590
+ "const": "Too many requests from this IP, please try again after some time."
31591
+ }
31592
+ }
31593
+ },
31594
+ "example": {
31595
+ "error": "Too many requests from this IP, please try again after some time."
31596
+ }
31597
+ }
31598
+ }
31599
+ },
31600
+ "500": {
31601
+ "description": "Internal server error",
31602
+ "content": {
31603
+ "text/html": {
31604
+ "schema": {
31605
+ "type": "string"
31606
+ }
31607
+ },
31608
+ "application/json": {
31609
+ "schema": {
31610
+ "$ref": "#/components/schemas/AccountHttpError"
31611
+ }
31612
+ }
31613
+ }
31614
+ }
31615
+ }
31616
+ },
31617
+ "post": {
31618
+ "operationId": "adminCreateApiKey",
31619
+ "summary": "Create an administrator-managed API key",
31620
+ "tags": [
31621
+ "Administration"
31622
+ ],
31623
+ "security": [
31624
+ {
31625
+ "bearerAuth": []
31626
+ },
31627
+ {
31628
+ "apiKeyAuth": []
31629
+ },
31630
+ {
31631
+ "browserSession": [],
31632
+ "csrfToken": []
31633
+ },
31634
+ {
31635
+ "browserSessionDevelopment": [],
31636
+ "csrfToken": []
31637
+ }
31638
+ ],
31639
+ "parameters": [
31640
+ {
31641
+ "name": "x-passkey-verification-token",
31642
+ "in": "header",
31643
+ "schema": {
31644
+ "type": "string"
31645
+ },
31646
+ "description": "Optional one-time passkey step-up or CLI operation verification token bound to this action."
31647
+ }
31648
+ ],
31649
+ "requestBody": {
31650
+ "required": true,
31651
+ "content": {
31652
+ "application/json": {
31653
+ "example": {
31654
+ "userId": "user-example",
31655
+ "name": "Automation"
31656
+ },
31657
+ "schema": {
31658
+ "type": "object",
31659
+ "properties": {
31660
+ "userId": {
31661
+ "type": "string"
31662
+ },
31663
+ "name": {
31664
+ "type": "string"
31665
+ }
31666
+ },
31667
+ "required": [
31668
+ "userId",
31669
+ "name"
31670
+ ]
31671
+ }
31672
+ }
31673
+ }
31674
+ },
31675
+ "responses": {
31676
+ "201": {
31677
+ "description": "API key secret, returned once",
31678
+ "content": {
31679
+ "application/json": {
31680
+ "example": {
31681
+ "apiKey": "synthetic-admin-api-key-returned-once"
31682
+ },
31683
+ "schema": {
31684
+ "type": "object",
31685
+ "properties": {
31686
+ "apiKey": {
31687
+ "type": "string"
31688
+ }
31689
+ },
31690
+ "required": [
31691
+ "apiKey"
31692
+ ],
31693
+ "additionalProperties": false
31694
+ }
31695
+ }
31696
+ }
31697
+ },
31698
+ "400": {
31699
+ "description": "Invalid request fields The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
31700
+ "content": {
31701
+ "application/json": {
31702
+ "schema": {
31703
+ "anyOf": [
31704
+ {
31705
+ "$ref": "#/components/schemas/AccountHttpError"
31706
+ },
31707
+ {
31708
+ "type": "object",
31709
+ "required": [
31710
+ "error"
31711
+ ],
31712
+ "additionalProperties": false,
31713
+ "properties": {
31714
+ "error": {
31715
+ "type": "string",
31716
+ "enum": [
31717
+ "Invalid request body",
31718
+ "Invalid request parameters"
31719
+ ]
31720
+ }
31721
+ }
31722
+ }
31723
+ ]
31724
+ },
31725
+ "example": {
31726
+ "error": "Invalid request body"
31727
+ }
31728
+ }
31729
+ }
31730
+ },
31731
+ "401": {
31732
+ "description": "Authentication required",
31733
+ "content": {
31734
+ "application/json": {
31735
+ "schema": {
31736
+ "$ref": "#/components/schemas/AccountHttpError"
31737
+ }
31738
+ }
31739
+ }
31740
+ },
31741
+ "403": {
31742
+ "description": "Administrator authorization or additional assurance required",
31743
+ "content": {
31744
+ "application/json": {
31745
+ "schema": {
31746
+ "$ref": "#/components/schemas/AccountHttpError"
31747
+ }
31748
+ },
31749
+ "text/html": {
31750
+ "schema": {
31751
+ "type": "string"
31752
+ }
31753
+ }
31754
+ }
31755
+ },
31756
+ "413": {
31757
+ "description": "The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
31758
+ "content": {
31759
+ "application/json": {
31760
+ "schema": {
31761
+ "type": "object",
31762
+ "required": [
31763
+ "error"
31764
+ ],
31765
+ "additionalProperties": false,
31766
+ "properties": {
31767
+ "error": {
31768
+ "type": "string",
31769
+ "enum": [
31770
+ "Request body is too large",
31771
+ "Too many request parameters"
31772
+ ]
31773
+ }
31774
+ }
31775
+ },
31776
+ "example": {
31777
+ "error": "Request body is too large"
31778
+ }
31779
+ }
31780
+ }
31781
+ },
31782
+ "415": {
31783
+ "description": "The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
31784
+ "content": {
31785
+ "application/json": {
31786
+ "schema": {
31787
+ "type": "object",
31788
+ "required": [
31789
+ "error"
31790
+ ],
31791
+ "additionalProperties": false,
31792
+ "properties": {
31793
+ "error": {
31794
+ "type": "string",
31795
+ "enum": [
31796
+ "Unsupported request encoding",
31797
+ "Unsupported request charset"
31798
+ ]
31799
+ }
31800
+ }
31801
+ },
31802
+ "example": {
31803
+ "error": "Unsupported request encoding"
31804
+ }
31805
+ }
31806
+ }
31807
+ },
31595
31808
  "429": {
31596
31809
  "description": "The shared IP rate limiter can reject the request before authentication or controller execution (1,000 requests per minute).",
31597
31810
  "headers": {
@@ -102195,6 +102408,145 @@
102195
102408
  }
102196
102409
  }
102197
102410
  },
102411
+ "/api/v1/audio/speech/translation/capabilities": {
102412
+ "get": {
102413
+ "operationId": "getRealtimeTranslationCapabilitiesAudioAlias",
102414
+ "summary": "Get live translation models and target languages",
102415
+ "tags": [
102416
+ "Speech"
102417
+ ],
102418
+ "security": [
102419
+ {
102420
+ "bearerAuth": []
102421
+ },
102422
+ {
102423
+ "apiKeyAuth": []
102424
+ },
102425
+ {
102426
+ "browserSession": []
102427
+ },
102428
+ {
102429
+ "browserSessionDevelopment": []
102430
+ }
102431
+ ],
102432
+ "description": "Alias under /audio.",
102433
+ "responses": {
102434
+ "200": {
102435
+ "description": "Successful response",
102436
+ "content": {
102437
+ "application/json": {
102438
+ "example": {
102439
+ "providers": [
102440
+ {
102441
+ "id": "google",
102442
+ "configured": true,
102443
+ "models": [
102444
+ {
102445
+ "id": "gemini-4-live-translate",
102446
+ "label": "Gemini 4 Live Translate"
102447
+ }
102448
+ ],
102449
+ "targetLanguages": [
102450
+ {
102451
+ "code": "es",
102452
+ "label": "Spanish"
102453
+ }
102454
+ ],
102455
+ "supportsNoiseReduction": false
102456
+ }
102457
+ ]
102458
+ },
102459
+ "schema": {
102460
+ "$ref": "#/components/schemas/RealtimeTranslationCapabilities"
102461
+ }
102462
+ }
102463
+ }
102464
+ },
102465
+ "401": {
102466
+ "description": "Authentication required",
102467
+ "content": {
102468
+ "application/json": {
102469
+ "schema": {
102470
+ "$ref": "#/components/schemas/MediaHttpError"
102471
+ }
102472
+ }
102473
+ }
102474
+ },
102475
+ "403": {
102476
+ "description": "Access denied",
102477
+ "content": {
102478
+ "application/json": {
102479
+ "schema": {
102480
+ "$ref": "#/components/schemas/MediaHttpError"
102481
+ }
102482
+ }
102483
+ }
102484
+ },
102485
+ "429": {
102486
+ "description": "The shared IP rate limiter can reject the request before authentication or controller execution (1,000 requests per minute).",
102487
+ "headers": {
102488
+ "Retry-After": {
102489
+ "description": "Seconds until the rate-limit window resets.",
102490
+ "schema": {
102491
+ "type": "integer",
102492
+ "minimum": 0
102493
+ }
102494
+ },
102495
+ "X-RateLimit-Limit": {
102496
+ "description": "Request limit of the rejecting limiter.",
102497
+ "schema": {
102498
+ "type": "integer",
102499
+ "minimum": 1
102500
+ }
102501
+ },
102502
+ "X-RateLimit-Remaining": {
102503
+ "description": "Remaining requests in the rate-limit window.",
102504
+ "schema": {
102505
+ "type": "integer",
102506
+ "minimum": 0
102507
+ }
102508
+ },
102509
+ "X-RateLimit-Reset": {
102510
+ "description": "Unix time in seconds when the rate-limit window resets.",
102511
+ "schema": {
102512
+ "type": "integer"
102513
+ }
102514
+ }
102515
+ },
102516
+ "content": {
102517
+ "application/json": {
102518
+ "schema": {
102519
+ "type": "object",
102520
+ "required": [
102521
+ "error"
102522
+ ],
102523
+ "additionalProperties": false,
102524
+ "properties": {
102525
+ "error": {
102526
+ "type": "string",
102527
+ "const": "Too many requests from this IP, please try again after some time."
102528
+ }
102529
+ }
102530
+ },
102531
+ "example": {
102532
+ "error": "Too many requests from this IP, please try again after some time."
102533
+ }
102534
+ }
102535
+ }
102536
+ },
102537
+ "500": {
102538
+ "description": "Internal error",
102539
+ "content": {
102540
+ "application/json": {
102541
+ "schema": {
102542
+ "$ref": "#/components/schemas/MediaHttpError"
102543
+ }
102544
+ }
102545
+ }
102546
+ }
102547
+ }
102548
+ }
102549
+ },
102198
102550
  "/api/v1/audio/speech/stt/capabilities": {
102199
102551
  "get": {
102200
102552
  "operationId": "getTranscriptionCapabilitiesAudioAlias",
@@ -105791,21 +106143,40 @@
105791
106143
  "application/json": {
105792
106144
  "example": {
105793
106145
  "enabled": true,
105794
- "defaultModel": "openai/image",
106146
+ "defaultModel": "bfl/flux-3.1-image",
105795
106147
  "models": [
105796
106148
  {
105797
- "id": "openai/image",
105798
- "provider": "openai",
105799
- "displayName": "Image edit",
106149
+ "id": "bfl/flux-3.1-image",
106150
+ "provider": "bfl",
106151
+ "displayName": "FLUX 3.1 Image",
105800
106152
  "sizes": [
105801
- "1024x1024"
106153
+ "auto",
106154
+ "1024x1024",
106155
+ "1536x1024",
106156
+ "1024x1536"
105802
106157
  ],
105803
106158
  "sizeBehavior": "dimensions",
105804
106159
  "inputFormats": [
105805
- "image/png"
106160
+ "image/jpeg",
106161
+ "image/png",
106162
+ "image/webp"
105806
106163
  ],
105807
106164
  "maxInputImages": 4,
105808
- "maxOutputImages": 4
106165
+ "maxOutputImages": 1,
106166
+ "supportsMask": true,
106167
+ "capabilities": {
106168
+ "outputFormats": [
106169
+ "jpeg",
106170
+ "png"
106171
+ ],
106172
+ "customSize": {
106173
+ "multiple": 1,
106174
+ "maxEdge": 11600,
106175
+ "minPixels": 250000,
106176
+ "maxPixels": 16822272,
106177
+ "maxAspectRatio": 8
106178
+ }
106179
+ }
105809
106180
  }
105810
106181
  ],
105811
106182
  "limits": {
@@ -105813,7 +106184,7 @@
105813
106184
  "maxOutputImages": 4,
105814
106185
  "maxInputBytes": 10485760,
105815
106186
  "maxTotalInputBytes": 26214400,
105816
- "maxInputPixels": 16000000,
106187
+ "maxInputPixels": 16822272,
105817
106188
  "timeoutMs": 180000,
105818
106189
  "concurrency": 2
105819
106190
  }
@@ -105866,6 +106237,9 @@
105866
106237
  "maxOutputImages": {
105867
106238
  "type": "number"
105868
106239
  },
106240
+ "supportsMask": {
106241
+ "type": "boolean"
106242
+ },
105869
106243
  "capabilities": {
105870
106244
  "type": "object",
105871
106245
  "properties": {
@@ -106092,10 +106466,10 @@
106092
106466
  }
106093
106467
  }
106094
106468
  },
106095
- "/api/v1/images/edits": {
106469
+ "/api/v1/images/edits/masks": {
106096
106470
  "post": {
106097
- "operationId": "editImages",
106098
- "summary": "Edit existing media images",
106471
+ "operationId": "uploadImageEditMask",
106472
+ "summary": "Save a painted region for an owned source image",
106099
106473
  "tags": [
106100
106474
  "Images"
106101
106475
  ],
@@ -106115,109 +106489,32 @@
106115
106489
  "csrfToken": []
106116
106490
  }
106117
106491
  ],
106118
- "description": "Mounted only when the image editing controller is registered. Idempotency-Key must contain 1–200 letters, digits, underscores, periods, colons or hyphens. Identical retries reuse the operation; conflicting payloads fail, and removed replay outputs return 410. Configured input/output limits and model-specific options are advertised by capabilities.",
106119
- "parameters": [
106120
- {
106121
- "in": "header",
106122
- "name": "Idempotency-Key",
106123
- "schema": {
106124
- "type": "string",
106125
- "minLength": 1,
106126
- "maxLength": 200,
106127
- "pattern": "^[a-zA-Z0-9_.:-]+$"
106128
- },
106129
- "required": true,
106130
- "description": "Client-generated idempotency key."
106131
- }
106132
- ],
106492
+ "description": "Provide a single-frame opaque grayscale PNG with the displayed dimensions of the source. White selects pixels to change, black protects them, and intermediate gray softens the boundary. The stored selection is private to the user, unlisted in the Library, and bound to the source. The response ID can be reused for retries.",
106133
106493
  "requestBody": {
106134
106494
  "required": true,
106135
106495
  "content": {
106136
106496
  "application/json": {
106137
106497
  "example": {
106138
- "inputMediaIds": [
106139
- "media-image-1"
106140
- ],
106141
- "prompt": "Make the sky blue."
106498
+ "maskSourceMediaId": "media-one-pixel-example",
106499
+ "dataUrl": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAACXBIWXMAAAPoAAAD6AG1e1JrAAAACklEQVQImWP4DwABAQEADeY2wwAAAABJRU5ErkJggg=="
106142
106500
  },
106143
106501
  "schema": {
106144
106502
  "type": "object",
106145
106503
  "properties": {
106146
- "inputMediaIds": {
106147
- "minItems": 1,
106148
- "maxItems": 4,
106149
- "type": "array",
106150
- "items": {
106151
- "type": "string",
106152
- "pattern": "^[a-zA-Z0-9_-]{1,128}$"
106153
- },
106154
- "uniqueItems": true
106155
- },
106156
- "prompt": {
106157
- "type": "string",
106158
- "minLength": 1,
106159
- "maxLength": 16000,
106160
- "pattern": "\\S"
106161
- },
106162
- "quality": {
106504
+ "maskSourceMediaId": {
106163
106505
  "type": "string",
106164
- "enum": [
106165
- "auto",
106166
- "low",
106167
- "medium",
106168
- "high",
106169
- "xhigh",
106170
- "max"
106171
- ]
106506
+ "pattern": "^[a-zA-Z0-9_-]{1,128}$"
106172
106507
  },
106173
- "background": {
106174
- "type": "string",
106175
- "enum": [
106176
- "auto",
106177
- "opaque",
106178
- "transparent"
106179
- ]
106180
- },
106181
- "outputFormat": {
106182
- "type": "string",
106183
- "enum": [
106184
- "png",
106185
- "jpeg",
106186
- "webp",
106187
- "gif"
106188
- ]
106189
- },
106190
- "outputCompression": {
106191
- "type": "integer",
106192
- "minimum": 0,
106193
- "maximum": 100
106194
- },
106195
- "frameCount": {
106196
- "type": "integer",
106197
- "minimum": 2,
106198
- "maximum": 16
106199
- },
106200
- "frameDurationMs": {
106201
- "type": "integer",
106202
- "minimum": 20,
106203
- "maximum": 2000
106204
- },
106205
- "model": {
106206
- "type": "string"
106207
- },
106208
- "numberOfImages": {
106209
- "type": "integer",
106210
- "minimum": 1,
106211
- "maximum": 4
106212
- },
106213
- "size": {
106508
+ "dataUrl": {
106214
106509
  "type": "string",
106215
- "pattern": "^(auto|\\d{1,4}x\\d{1,4})$"
106510
+ "maxLength": 13981038,
106511
+ "format": "starts_with",
106512
+ "pattern": "^data:image\\/png;base64,.*"
106216
106513
  }
106217
106514
  },
106218
106515
  "required": [
106219
- "inputMediaIds",
106220
- "prompt"
106516
+ "maskSourceMediaId",
106517
+ "dataUrl"
106221
106518
  ],
106222
106519
  "additionalProperties": false
106223
106520
  }
@@ -106230,49 +106527,432 @@
106230
106527
  "content": {
106231
106528
  "application/json": {
106232
106529
  "example": {
106233
- "operationId": "image-edit-example",
106234
- "model": "openai/image",
106235
- "images": [
106236
- {
106237
- "type": "image",
106238
- "mediaId": "media-edited-example"
106239
- }
106240
- ]
106530
+ "mediaId": "media-edit-mask-example"
106241
106531
  },
106242
106532
  "schema": {
106243
106533
  "type": "object",
106244
106534
  "properties": {
106245
- "operationId": {
106246
- "type": "string"
106247
- },
106248
- "model": {
106535
+ "mediaId": {
106249
106536
  "type": "string"
106250
- },
106251
- "images": {
106252
- "type": "array",
106253
- "items": {
106254
- "type": "object",
106255
- "properties": {
106256
- "type": {
106257
- "type": "string",
106258
- "const": "image"
106259
- },
106260
- "mediaId": {
106261
- "type": "string"
106262
- }
106263
- },
106264
- "required": [
106265
- "type",
106266
- "mediaId"
106267
- ],
106268
- "additionalProperties": false
106269
- }
106270
106537
  }
106271
106538
  },
106272
106539
  "required": [
106273
- "operationId",
106274
- "model",
106275
- "images"
106540
+ "mediaId"
106541
+ ],
106542
+ "additionalProperties": false
106543
+ }
106544
+ }
106545
+ }
106546
+ },
106547
+ "400": {
106548
+ "description": "Invalid request The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
106549
+ "content": {
106550
+ "application/json": {
106551
+ "schema": {
106552
+ "anyOf": [
106553
+ {
106554
+ "$ref": "#/components/schemas/MediaHttpError"
106555
+ },
106556
+ {
106557
+ "type": "object",
106558
+ "required": [
106559
+ "error"
106560
+ ],
106561
+ "additionalProperties": false,
106562
+ "properties": {
106563
+ "error": {
106564
+ "type": "string",
106565
+ "enum": [
106566
+ "Invalid request body",
106567
+ "Invalid request parameters"
106568
+ ]
106569
+ }
106570
+ }
106571
+ }
106572
+ ]
106573
+ },
106574
+ "example": {
106575
+ "error": "Invalid request body"
106576
+ }
106577
+ }
106578
+ }
106579
+ },
106580
+ "401": {
106581
+ "description": "Authentication required",
106582
+ "content": {
106583
+ "application/json": {
106584
+ "schema": {
106585
+ "$ref": "#/components/schemas/MediaHttpError"
106586
+ }
106587
+ }
106588
+ }
106589
+ },
106590
+ "403": {
106591
+ "description": "Access denied",
106592
+ "content": {
106593
+ "application/json": {
106594
+ "schema": {
106595
+ "$ref": "#/components/schemas/MediaHttpError"
106596
+ }
106597
+ }
106598
+ }
106599
+ },
106600
+ "404": {
106601
+ "description": "Resource not found",
106602
+ "content": {
106603
+ "application/json": {
106604
+ "schema": {
106605
+ "$ref": "#/components/schemas/MediaHttpError"
106606
+ }
106607
+ }
106608
+ }
106609
+ },
106610
+ "413": {
106611
+ "description": "Upload exceeds configured limit The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
106612
+ "content": {
106613
+ "application/json": {
106614
+ "schema": {
106615
+ "anyOf": [
106616
+ {
106617
+ "$ref": "#/components/schemas/MediaHttpError"
106618
+ },
106619
+ {
106620
+ "type": "object",
106621
+ "required": [
106622
+ "error"
106623
+ ],
106624
+ "additionalProperties": false,
106625
+ "properties": {
106626
+ "error": {
106627
+ "type": "string",
106628
+ "enum": [
106629
+ "Request body is too large",
106630
+ "Too many request parameters"
106631
+ ]
106632
+ }
106633
+ }
106634
+ }
106635
+ ]
106636
+ },
106637
+ "example": {
106638
+ "error": "Request body is too large"
106639
+ }
106640
+ }
106641
+ }
106642
+ },
106643
+ "415": {
106644
+ "description": "The shared request parser can reject this body before authentication or controller validation. JSON, URL-encoded and octet-stream bodies have a 25 MiB limit.",
106645
+ "content": {
106646
+ "application/json": {
106647
+ "schema": {
106648
+ "type": "object",
106649
+ "required": [
106650
+ "error"
106651
+ ],
106652
+ "additionalProperties": false,
106653
+ "properties": {
106654
+ "error": {
106655
+ "type": "string",
106656
+ "enum": [
106657
+ "Unsupported request encoding",
106658
+ "Unsupported request charset"
106659
+ ]
106660
+ }
106661
+ }
106662
+ },
106663
+ "example": {
106664
+ "error": "Unsupported request encoding"
106665
+ }
106666
+ }
106667
+ }
106668
+ },
106669
+ "422": {
106670
+ "description": "Request cannot be processed",
106671
+ "content": {
106672
+ "application/json": {
106673
+ "schema": {
106674
+ "$ref": "#/components/schemas/MediaHttpError"
106675
+ }
106676
+ }
106677
+ }
106678
+ },
106679
+ "429": {
106680
+ "description": "Rate limit exceeded The shared IP rate limiter can reject the request before authentication or controller execution (1,000 requests per minute).",
106681
+ "content": {
106682
+ "application/json": {
106683
+ "schema": {
106684
+ "anyOf": [
106685
+ {
106686
+ "$ref": "#/components/schemas/MediaHttpError"
106687
+ },
106688
+ {
106689
+ "type": "object",
106690
+ "required": [
106691
+ "error"
106692
+ ],
106693
+ "additionalProperties": false,
106694
+ "properties": {
106695
+ "error": {
106696
+ "type": "string",
106697
+ "const": "Too many requests from this IP, please try again after some time."
106698
+ }
106699
+ }
106700
+ }
106701
+ ]
106702
+ },
106703
+ "example": {
106704
+ "error": "Too many requests from this IP, please try again after some time."
106705
+ }
106706
+ }
106707
+ },
106708
+ "headers": {
106709
+ "Retry-After": {
106710
+ "description": "Seconds until the rate-limit window resets.",
106711
+ "schema": {
106712
+ "type": "integer",
106713
+ "minimum": 0
106714
+ }
106715
+ },
106716
+ "X-RateLimit-Limit": {
106717
+ "description": "Request limit of the rejecting limiter.",
106718
+ "schema": {
106719
+ "type": "integer",
106720
+ "minimum": 1
106721
+ }
106722
+ },
106723
+ "X-RateLimit-Remaining": {
106724
+ "description": "Remaining requests in the rate-limit window.",
106725
+ "schema": {
106726
+ "type": "integer",
106727
+ "minimum": 0
106728
+ }
106729
+ },
106730
+ "X-RateLimit-Reset": {
106731
+ "description": "Unix time in seconds when the rate-limit window resets.",
106732
+ "schema": {
106733
+ "type": "integer"
106734
+ }
106735
+ }
106736
+ }
106737
+ },
106738
+ "502": {
106739
+ "description": "Provider failed",
106740
+ "content": {
106741
+ "application/json": {
106742
+ "schema": {
106743
+ "$ref": "#/components/schemas/MediaHttpError"
106744
+ }
106745
+ }
106746
+ }
106747
+ },
106748
+ "503": {
106749
+ "description": "Service unavailable",
106750
+ "content": {
106751
+ "application/json": {
106752
+ "schema": {
106753
+ "$ref": "#/components/schemas/MediaHttpError"
106754
+ }
106755
+ }
106756
+ }
106757
+ },
106758
+ "504": {
106759
+ "description": "Provider timed out",
106760
+ "content": {
106761
+ "application/json": {
106762
+ "schema": {
106763
+ "$ref": "#/components/schemas/MediaHttpError"
106764
+ }
106765
+ }
106766
+ }
106767
+ }
106768
+ }
106769
+ }
106770
+ },
106771
+ "/api/v1/images/edits": {
106772
+ "post": {
106773
+ "operationId": "editImages",
106774
+ "summary": "Edit existing media images",
106775
+ "tags": [
106776
+ "Images"
106777
+ ],
106778
+ "security": [
106779
+ {
106780
+ "bearerAuth": []
106781
+ },
106782
+ {
106783
+ "apiKeyAuth": []
106784
+ },
106785
+ {
106786
+ "browserSession": [],
106787
+ "csrfToken": []
106788
+ },
106789
+ {
106790
+ "browserSessionDevelopment": [],
106791
+ "csrfToken": []
106792
+ }
106793
+ ],
106794
+ "description": "Mounted only when the image editing controller is registered. Idempotency-Key must contain 1–200 letters, digits, underscores, periods, colons or hyphens. Identical retries reuse the operation; conflicting payloads fail, and removed replay outputs return 410. For a painted edit, supply maskMediaId from a selection uploaded for the first entry in inputMediaIds, and choose an editor advertising supportsMask with a static output format. Configured input/output limits and model-specific options are advertised by capabilities.",
106795
+ "parameters": [
106796
+ {
106797
+ "in": "header",
106798
+ "name": "Idempotency-Key",
106799
+ "schema": {
106800
+ "type": "string",
106801
+ "minLength": 1,
106802
+ "maxLength": 200,
106803
+ "pattern": "^[a-zA-Z0-9_.:-]+$"
106804
+ },
106805
+ "required": true,
106806
+ "description": "Client-generated idempotency key."
106807
+ }
106808
+ ],
106809
+ "requestBody": {
106810
+ "required": true,
106811
+ "content": {
106812
+ "application/json": {
106813
+ "example": {
106814
+ "inputMediaIds": [
106815
+ "media-image-1"
106816
+ ],
106817
+ "prompt": "Make the sky blue."
106818
+ },
106819
+ "schema": {
106820
+ "type": "object",
106821
+ "properties": {
106822
+ "inputMediaIds": {
106823
+ "minItems": 1,
106824
+ "maxItems": 4,
106825
+ "type": "array",
106826
+ "items": {
106827
+ "type": "string",
106828
+ "pattern": "^[a-zA-Z0-9_-]{1,128}$"
106829
+ },
106830
+ "uniqueItems": true
106831
+ },
106832
+ "maskMediaId": {
106833
+ "type": "string",
106834
+ "pattern": "^[a-zA-Z0-9_-]{1,128}$"
106835
+ },
106836
+ "prompt": {
106837
+ "type": "string",
106838
+ "minLength": 1,
106839
+ "maxLength": 16000,
106840
+ "pattern": "\\S"
106841
+ },
106842
+ "quality": {
106843
+ "type": "string",
106844
+ "enum": [
106845
+ "auto",
106846
+ "low",
106847
+ "medium",
106848
+ "high",
106849
+ "xhigh",
106850
+ "max"
106851
+ ]
106852
+ },
106853
+ "background": {
106854
+ "type": "string",
106855
+ "enum": [
106856
+ "auto",
106857
+ "opaque",
106858
+ "transparent"
106859
+ ]
106860
+ },
106861
+ "outputFormat": {
106862
+ "type": "string",
106863
+ "enum": [
106864
+ "png",
106865
+ "jpeg",
106866
+ "webp",
106867
+ "gif"
106868
+ ]
106869
+ },
106870
+ "outputCompression": {
106871
+ "type": "integer",
106872
+ "minimum": 0,
106873
+ "maximum": 100
106874
+ },
106875
+ "frameCount": {
106876
+ "type": "integer",
106877
+ "minimum": 2,
106878
+ "maximum": 16
106879
+ },
106880
+ "frameDurationMs": {
106881
+ "type": "integer",
106882
+ "minimum": 20,
106883
+ "maximum": 2000
106884
+ },
106885
+ "model": {
106886
+ "type": "string"
106887
+ },
106888
+ "numberOfImages": {
106889
+ "type": "integer",
106890
+ "minimum": 1,
106891
+ "maximum": 4
106892
+ },
106893
+ "size": {
106894
+ "type": "string",
106895
+ "pattern": "^(auto|\\d{1,5}x\\d{1,5})$"
106896
+ }
106897
+ },
106898
+ "required": [
106899
+ "inputMediaIds",
106900
+ "prompt"
106901
+ ],
106902
+ "additionalProperties": false
106903
+ }
106904
+ }
106905
+ }
106906
+ },
106907
+ "responses": {
106908
+ "200": {
106909
+ "description": "Successful response",
106910
+ "content": {
106911
+ "application/json": {
106912
+ "example": {
106913
+ "operationId": "image-edit-example",
106914
+ "model": "bfl/flux-3.1-image",
106915
+ "images": [
106916
+ {
106917
+ "type": "image",
106918
+ "mediaId": "media-edited-example"
106919
+ }
106920
+ ]
106921
+ },
106922
+ "schema": {
106923
+ "type": "object",
106924
+ "properties": {
106925
+ "operationId": {
106926
+ "type": "string"
106927
+ },
106928
+ "model": {
106929
+ "type": "string"
106930
+ },
106931
+ "images": {
106932
+ "type": "array",
106933
+ "items": {
106934
+ "type": "object",
106935
+ "properties": {
106936
+ "type": {
106937
+ "type": "string",
106938
+ "const": "image"
106939
+ },
106940
+ "mediaId": {
106941
+ "type": "string"
106942
+ }
106943
+ },
106944
+ "required": [
106945
+ "type",
106946
+ "mediaId"
106947
+ ],
106948
+ "additionalProperties": false
106949
+ }
106950
+ }
106951
+ },
106952
+ "required": [
106953
+ "operationId",
106954
+ "model",
106955
+ "images"
106276
106956
  ],
106277
106957
  "additionalProperties": false
106278
106958
  }
@@ -108330,6 +109010,144 @@
108330
109010
  }
108331
109011
  }
108332
109012
  },
109013
+ "/api/v1/speech/translation/capabilities": {
109014
+ "get": {
109015
+ "operationId": "getRealtimeTranslationCapabilities",
109016
+ "summary": "Get live translation models and target languages",
109017
+ "tags": [
109018
+ "Speech"
109019
+ ],
109020
+ "security": [
109021
+ {
109022
+ "bearerAuth": []
109023
+ },
109024
+ {
109025
+ "apiKeyAuth": []
109026
+ },
109027
+ {
109028
+ "browserSession": []
109029
+ },
109030
+ {
109031
+ "browserSessionDevelopment": []
109032
+ }
109033
+ ],
109034
+ "responses": {
109035
+ "200": {
109036
+ "description": "Successful response",
109037
+ "content": {
109038
+ "application/json": {
109039
+ "example": {
109040
+ "providers": [
109041
+ {
109042
+ "id": "google",
109043
+ "configured": true,
109044
+ "models": [
109045
+ {
109046
+ "id": "gemini-4-live-translate",
109047
+ "label": "Gemini 4 Live Translate"
109048
+ }
109049
+ ],
109050
+ "targetLanguages": [
109051
+ {
109052
+ "code": "es",
109053
+ "label": "Spanish"
109054
+ }
109055
+ ],
109056
+ "supportsNoiseReduction": false
109057
+ }
109058
+ ]
109059
+ },
109060
+ "schema": {
109061
+ "$ref": "#/components/schemas/RealtimeTranslationCapabilities"
109062
+ }
109063
+ }
109064
+ }
109065
+ },
109066
+ "401": {
109067
+ "description": "Authentication required",
109068
+ "content": {
109069
+ "application/json": {
109070
+ "schema": {
109071
+ "$ref": "#/components/schemas/MediaHttpError"
109072
+ }
109073
+ }
109074
+ }
109075
+ },
109076
+ "403": {
109077
+ "description": "Access denied",
109078
+ "content": {
109079
+ "application/json": {
109080
+ "schema": {
109081
+ "$ref": "#/components/schemas/MediaHttpError"
109082
+ }
109083
+ }
109084
+ }
109085
+ },
109086
+ "429": {
109087
+ "description": "The shared IP rate limiter can reject the request before authentication or controller execution (1,000 requests per minute).",
109088
+ "headers": {
109089
+ "Retry-After": {
109090
+ "description": "Seconds until the rate-limit window resets.",
109091
+ "schema": {
109092
+ "type": "integer",
109093
+ "minimum": 0
109094
+ }
109095
+ },
109096
+ "X-RateLimit-Limit": {
109097
+ "description": "Request limit of the rejecting limiter.",
109098
+ "schema": {
109099
+ "type": "integer",
109100
+ "minimum": 1
109101
+ }
109102
+ },
109103
+ "X-RateLimit-Remaining": {
109104
+ "description": "Remaining requests in the rate-limit window.",
109105
+ "schema": {
109106
+ "type": "integer",
109107
+ "minimum": 0
109108
+ }
109109
+ },
109110
+ "X-RateLimit-Reset": {
109111
+ "description": "Unix time in seconds when the rate-limit window resets.",
109112
+ "schema": {
109113
+ "type": "integer"
109114
+ }
109115
+ }
109116
+ },
109117
+ "content": {
109118
+ "application/json": {
109119
+ "schema": {
109120
+ "type": "object",
109121
+ "required": [
109122
+ "error"
109123
+ ],
109124
+ "additionalProperties": false,
109125
+ "properties": {
109126
+ "error": {
109127
+ "type": "string",
109128
+ "const": "Too many requests from this IP, please try again after some time."
109129
+ }
109130
+ }
109131
+ },
109132
+ "example": {
109133
+ "error": "Too many requests from this IP, please try again after some time."
109134
+ }
109135
+ }
109136
+ }
109137
+ },
109138
+ "500": {
109139
+ "description": "Internal error",
109140
+ "content": {
109141
+ "application/json": {
109142
+ "schema": {
109143
+ "$ref": "#/components/schemas/MediaHttpError"
109144
+ }
109145
+ }
109146
+ }
109147
+ }
109148
+ }
109149
+ }
109150
+ },
108333
109151
  "/api/v1/speech/stt/capabilities": {
108334
109152
  "get": {
108335
109153
  "operationId": "getTranscriptionCapabilities",
@@ -109809,20 +110627,24 @@
109809
110627
  ],
109810
110628
  "models": [
109811
110629
  {
109812
- "id": "openai/realtime",
109813
- "displayName": "Realtime voice",
110630
+ "id": "openai:gpt-live-1.1",
110631
+ "displayName": "GPT-Live-1.1",
109814
110632
  "provider": "openai",
109815
- "providerModel": "realtime",
109816
- "runtime": "realtime",
110633
+ "providerModel": "gpt-live-1.1",
110634
+ "runtime": "live",
109817
110635
  "protocolVersion": 1,
109818
- "websocketRoute": "/realtime",
110636
+ "websocketRoute": "/live",
109819
110637
  "voices": [
109820
110638
  {
109821
- "id": "alloy",
109822
- "displayName": "Alloy"
110639
+ "id": "marin",
110640
+ "displayName": "Marin"
110641
+ },
110642
+ {
110643
+ "id": "compas",
110644
+ "displayName": "Compás"
109823
110645
  }
109824
110646
  ],
109825
- "defaultVoice": "alloy",
110647
+ "defaultVoice": "marin",
109826
110648
  "audio": {
109827
110649
  "encoding": "pcm16le",
109828
110650
  "sampleRate": 24000,
@@ -110449,7 +111271,22 @@
110449
111271
  "usageComplete": false,
110450
111272
  "supportsSubagents": true
110451
111273
  },
110452
- "entries": [],
111274
+ "entries": [
111275
+ {
111276
+ "id": "entry-example",
111277
+ "messageId": "message-example",
111278
+ "messageSequence": 4,
111279
+ "sessionId": "voice-example",
111280
+ "epoch": 1,
111281
+ "speaker": "assistant",
111282
+ "index": 1,
111283
+ "revision": 2,
111284
+ "text": "One taco.",
111285
+ "startMs": 2400,
111286
+ "endMs": 3100,
111287
+ "partial": false
111288
+ }
111289
+ ],
110453
111290
  "recordings": [],
110454
111291
  "tasks": [
110455
111292
  {
@@ -110496,6 +111333,12 @@
110496
111333
  "messageId": {
110497
111334
  "type": "string"
110498
111335
  },
111336
+ "messageSequence": {
111337
+ "description": "Position of the saved message in conversation history, when available.",
111338
+ "type": "integer",
111339
+ "exclusiveMinimum": 0,
111340
+ "maximum": 9007199254740991
111341
+ },
110499
111342
  "sessionId": {
110500
111343
  "type": "string"
110501
111344
  },
@@ -132128,6 +132971,15 @@
132128
132971
  "contentItemId": {
132129
132972
  "type": "string"
132130
132973
  },
132974
+ "mediaId": {
132975
+ "type": "string"
132976
+ },
132977
+ "url": {
132978
+ "type": "string"
132979
+ },
132980
+ "urlExpiresAt": {
132981
+ "type": "string"
132982
+ },
132131
132983
  "type": {
132132
132984
  "type": "string",
132133
132985
  "enum": [
@@ -132137,21 +132989,36 @@
132137
132989
  "document"
132138
132990
  ]
132139
132991
  },
132140
- "mediaId": {
132141
- "type": "string"
132142
- },
132143
- "url": {
132144
- "type": "string"
132145
- },
132146
- "urlExpiresAt": {
132147
- "type": "string"
132992
+ "editSelection": {
132993
+ "description": "On the original user image of a painted edit, a signed preview of the saved selection.",
132994
+ "type": "object",
132995
+ "properties": {
132996
+ "maskMediaId": {
132997
+ "type": "string",
132998
+ "format": "uuid",
132999
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
133000
+ },
133001
+ "maskUrl": {
133002
+ "type": "string"
133003
+ },
133004
+ "maskUrlExpiresAt": {
133005
+ "type": "string",
133006
+ "format": "date-time",
133007
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
133008
+ }
133009
+ },
133010
+ "required": [
133011
+ "maskMediaId",
133012
+ "maskUrl",
133013
+ "maskUrlExpiresAt"
133014
+ ]
132148
133015
  }
132149
133016
  },
132150
133017
  "required": [
132151
- "type",
132152
133018
  "mediaId",
132153
133019
  "url",
132154
- "urlExpiresAt"
133020
+ "urlExpiresAt",
133021
+ "type"
132155
133022
  ]
132156
133023
  },
132157
133024
  {
@@ -132160,10 +133027,6 @@
132160
133027
  "contentItemId": {
132161
133028
  "type": "string"
132162
133029
  },
132163
- "type": {
132164
- "type": "string",
132165
- "const": "file"
132166
- },
132167
133030
  "mediaId": {
132168
133031
  "type": "string"
132169
133032
  },
@@ -132173,6 +133036,10 @@
132173
133036
  "urlExpiresAt": {
132174
133037
  "type": "string"
132175
133038
  },
133039
+ "type": {
133040
+ "type": "string",
133041
+ "const": "file"
133042
+ },
132176
133043
  "fileName": {
132177
133044
  "type": "string"
132178
133045
  },
@@ -132184,10 +133051,10 @@
132184
133051
  }
132185
133052
  },
132186
133053
  "required": [
132187
- "type",
132188
133054
  "mediaId",
132189
133055
  "url",
132190
133056
  "urlExpiresAt",
133057
+ "type",
132191
133058
  "fileName",
132192
133059
  "mimeType",
132193
133060
  "fileSize"
@@ -134009,6 +134876,84 @@
134009
134876
  ],
134010
134877
  "additionalProperties": false
134011
134878
  },
134879
+ "AccountHttpError": {
134880
+ "type": "object",
134881
+ "properties": {
134882
+ "error": {
134883
+ "anyOf": [
134884
+ {
134885
+ "type": "string"
134886
+ },
134887
+ {
134888
+ "type": "object",
134889
+ "properties": {
134890
+ "name": {
134891
+ "type": "string"
134892
+ },
134893
+ "message": {
134894
+ "type": "string"
134895
+ }
134896
+ },
134897
+ "required": [
134898
+ "name",
134899
+ "message"
134900
+ ],
134901
+ "additionalProperties": {}
134902
+ },
134903
+ {
134904
+ "type": "object",
134905
+ "properties": {
134906
+ "formErrors": {
134907
+ "type": "array",
134908
+ "items": {
134909
+ "type": "string"
134910
+ }
134911
+ },
134912
+ "fieldErrors": {
134913
+ "type": "object",
134914
+ "propertyNames": {
134915
+ "type": "string"
134916
+ },
134917
+ "additionalProperties": {
134918
+ "type": "array",
134919
+ "items": {
134920
+ "type": "string"
134921
+ }
134922
+ }
134923
+ }
134924
+ },
134925
+ "required": [
134926
+ "formErrors",
134927
+ "fieldErrors"
134928
+ ],
134929
+ "additionalProperties": false
134930
+ }
134931
+ ]
134932
+ },
134933
+ "message": {
134934
+ "type": "string"
134935
+ },
134936
+ "code": {
134937
+ "type": "string"
134938
+ },
134939
+ "status": {
134940
+ "type": "integer",
134941
+ "minimum": -9007199254740991,
134942
+ "maximum": 9007199254740991
134943
+ },
134944
+ "details": {
134945
+ "type": "object",
134946
+ "propertyNames": {
134947
+ "type": "string"
134948
+ },
134949
+ "additionalProperties": {}
134950
+ }
134951
+ },
134952
+ "required": [
134953
+ "error"
134954
+ ],
134955
+ "additionalProperties": false
134956
+ },
134012
134957
  "AccountApiKey": {
134013
134958
  "type": "object",
134014
134959
  "properties": {
@@ -134119,84 +135064,6 @@
134119
135064
  ],
134120
135065
  "additionalProperties": false
134121
135066
  },
134122
- "AccountHttpError": {
134123
- "type": "object",
134124
- "properties": {
134125
- "error": {
134126
- "anyOf": [
134127
- {
134128
- "type": "string"
134129
- },
134130
- {
134131
- "type": "object",
134132
- "properties": {
134133
- "name": {
134134
- "type": "string"
134135
- },
134136
- "message": {
134137
- "type": "string"
134138
- }
134139
- },
134140
- "required": [
134141
- "name",
134142
- "message"
134143
- ],
134144
- "additionalProperties": {}
134145
- },
134146
- {
134147
- "type": "object",
134148
- "properties": {
134149
- "formErrors": {
134150
- "type": "array",
134151
- "items": {
134152
- "type": "string"
134153
- }
134154
- },
134155
- "fieldErrors": {
134156
- "type": "object",
134157
- "propertyNames": {
134158
- "type": "string"
134159
- },
134160
- "additionalProperties": {
134161
- "type": "array",
134162
- "items": {
134163
- "type": "string"
134164
- }
134165
- }
134166
- }
134167
- },
134168
- "required": [
134169
- "formErrors",
134170
- "fieldErrors"
134171
- ],
134172
- "additionalProperties": false
134173
- }
134174
- ]
134175
- },
134176
- "message": {
134177
- "type": "string"
134178
- },
134179
- "code": {
134180
- "type": "string"
134181
- },
134182
- "status": {
134183
- "type": "integer",
134184
- "minimum": -9007199254740991,
134185
- "maximum": 9007199254740991
134186
- },
134187
- "details": {
134188
- "type": "object",
134189
- "propertyNames": {
134190
- "type": "string"
134191
- },
134192
- "additionalProperties": {}
134193
- }
134194
- },
134195
- "required": [
134196
- "error"
134197
- ],
134198
- "additionalProperties": false
134199
- },
134200
135067
  "AdminUser": {
134201
135068
  "type": "object",
134202
135069
  "properties": {
@@ -137690,6 +138557,78 @@
137690
138557
  },
137691
138558
  "additionalProperties": {}
137692
138559
  },
138560
+ "RealtimeTranslationCapabilities": {
138561
+ "type": "object",
138562
+ "properties": {
138563
+ "providers": {
138564
+ "type": "array",
138565
+ "items": {
138566
+ "type": "object",
138567
+ "properties": {
138568
+ "id": {
138569
+ "type": "string"
138570
+ },
138571
+ "configured": {
138572
+ "type": "boolean"
138573
+ },
138574
+ "models": {
138575
+ "type": "array",
138576
+ "items": {
138577
+ "type": "object",
138578
+ "properties": {
138579
+ "id": {
138580
+ "type": "string"
138581
+ },
138582
+ "label": {
138583
+ "type": "string"
138584
+ }
138585
+ },
138586
+ "required": [
138587
+ "id",
138588
+ "label"
138589
+ ],
138590
+ "additionalProperties": false
138591
+ }
138592
+ },
138593
+ "targetLanguages": {
138594
+ "type": "array",
138595
+ "items": {
138596
+ "type": "object",
138597
+ "properties": {
138598
+ "code": {
138599
+ "type": "string"
138600
+ },
138601
+ "label": {
138602
+ "type": "string"
138603
+ }
138604
+ },
138605
+ "required": [
138606
+ "code",
138607
+ "label"
138608
+ ],
138609
+ "additionalProperties": false
138610
+ }
138611
+ },
138612
+ "supportsNoiseReduction": {
138613
+ "type": "boolean"
138614
+ }
138615
+ },
138616
+ "required": [
138617
+ "id",
138618
+ "configured",
138619
+ "models",
138620
+ "targetLanguages",
138621
+ "supportsNoiseReduction"
138622
+ ],
138623
+ "additionalProperties": false
138624
+ }
138625
+ }
138626
+ },
138627
+ "required": [
138628
+ "providers"
138629
+ ],
138630
+ "additionalProperties": false
138631
+ },
137693
138632
  "TranscriptionCapabilities": {
137694
138633
  "type": "object",
137695
138634
  "properties": {
@@ -143559,6 +144498,15 @@
143559
144498
  "contentItemId": {
143560
144499
  "type": "string"
143561
144500
  },
144501
+ "mediaId": {
144502
+ "type": "string"
144503
+ },
144504
+ "url": {
144505
+ "type": "string"
144506
+ },
144507
+ "urlExpiresAt": {
144508
+ "type": "string"
144509
+ },
143562
144510
  "type": {
143563
144511
  "type": "string",
143564
144512
  "enum": [
@@ -143568,21 +144516,37 @@
143568
144516
  "document"
143569
144517
  ]
143570
144518
  },
143571
- "mediaId": {
143572
- "type": "string"
143573
- },
143574
- "url": {
143575
- "type": "string"
143576
- },
143577
- "urlExpiresAt": {
143578
- "type": "string"
144519
+ "editSelection": {
144520
+ "description": "On the original user image of a painted edit, a signed preview of the saved selection.",
144521
+ "type": "object",
144522
+ "properties": {
144523
+ "maskMediaId": {
144524
+ "type": "string",
144525
+ "format": "uuid",
144526
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
144527
+ },
144528
+ "maskUrl": {
144529
+ "type": "string"
144530
+ },
144531
+ "maskUrlExpiresAt": {
144532
+ "type": "string",
144533
+ "format": "date-time",
144534
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
144535
+ }
144536
+ },
144537
+ "required": [
144538
+ "maskMediaId",
144539
+ "maskUrl",
144540
+ "maskUrlExpiresAt"
144541
+ ],
144542
+ "additionalProperties": false
143579
144543
  }
143580
144544
  },
143581
144545
  "required": [
143582
- "type",
143583
144546
  "mediaId",
143584
144547
  "url",
143585
- "urlExpiresAt"
144548
+ "urlExpiresAt",
144549
+ "type"
143586
144550
  ],
143587
144551
  "additionalProperties": false
143588
144552
  },
@@ -143592,10 +144556,6 @@
143592
144556
  "contentItemId": {
143593
144557
  "type": "string"
143594
144558
  },
143595
- "type": {
143596
- "type": "string",
143597
- "const": "file"
143598
- },
143599
144559
  "mediaId": {
143600
144560
  "type": "string"
143601
144561
  },
@@ -143605,6 +144565,10 @@
143605
144565
  "urlExpiresAt": {
143606
144566
  "type": "string"
143607
144567
  },
144568
+ "type": {
144569
+ "type": "string",
144570
+ "const": "file"
144571
+ },
143608
144572
  "fileName": {
143609
144573
  "type": "string"
143610
144574
  },
@@ -143616,10 +144580,10 @@
143616
144580
  }
143617
144581
  },
143618
144582
  "required": [
143619
- "type",
143620
144583
  "mediaId",
143621
144584
  "url",
143622
144585
  "urlExpiresAt",
144586
+ "type",
143623
144587
  "fileName",
143624
144588
  "mimeType",
143625
144589
  "fileSize"