@marinoscar/platform-api 0.1.0-next.21 → 0.1.0-next.23

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 (225) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/ai/features/ai-feature.registry.d.ts +7 -0
  3. package/dist/ai/features/ai-feature.registry.d.ts.map +1 -1
  4. package/dist/ai/features/ai-feature.registry.js +3 -0
  5. package/dist/ai/features/ai-feature.registry.js.map +1 -1
  6. package/dist/ai/keys/ai-key-resolver.service.d.ts +16 -0
  7. package/dist/ai/keys/ai-key-resolver.service.d.ts.map +1 -1
  8. package/dist/ai/keys/ai-key-resolver.service.js +44 -0
  9. package/dist/ai/keys/ai-key-resolver.service.js.map +1 -1
  10. package/dist/ai/keys/usable-models.service.d.ts +13 -1
  11. package/dist/ai/keys/usable-models.service.d.ts.map +1 -1
  12. package/dist/ai/keys/usable-models.service.js +37 -12
  13. package/dist/ai/keys/usable-models.service.js.map +1 -1
  14. package/dist/ai/runtime/ai-limits.service.d.ts +2 -1
  15. package/dist/ai/runtime/ai-limits.service.d.ts.map +1 -1
  16. package/dist/ai/runtime/ai-limits.service.js +7 -2
  17. package/dist/ai/runtime/ai-limits.service.js.map +1 -1
  18. package/dist/ai/runtime/ai-runtime.types.d.ts +46 -1
  19. package/dist/ai/runtime/ai-runtime.types.d.ts.map +1 -1
  20. package/dist/ai/runtime/ai-runtime.types.js.map +1 -1
  21. package/dist/ai/runtime/ai.service.d.ts +142 -5
  22. package/dist/ai/runtime/ai.service.d.ts.map +1 -1
  23. package/dist/ai/runtime/ai.service.js +353 -46
  24. package/dist/ai/runtime/ai.service.js.map +1 -1
  25. package/dist/ai/runtime/index.d.ts +1 -1
  26. package/dist/ai/runtime/index.d.ts.map +1 -1
  27. package/dist/ai/runtime/target-resolver.d.ts +2 -2
  28. package/dist/ai/runtime/target-resolver.d.ts.map +1 -1
  29. package/dist/ai/runtime/target-resolver.js +2 -1
  30. package/dist/ai/runtime/target-resolver.js.map +1 -1
  31. package/dist/ai/testing/conformance/ai-key-policy.suite.d.ts.map +1 -1
  32. package/dist/ai/testing/conformance/ai-key-policy.suite.js +54 -0
  33. package/dist/ai/testing/conformance/ai-key-policy.suite.js.map +1 -1
  34. package/dist/ai/testing/conformance/ai-secret-egress.suite.d.ts.map +1 -1
  35. package/dist/ai/testing/conformance/ai-secret-egress.suite.js +59 -0
  36. package/dist/ai/testing/conformance/ai-secret-egress.suite.js.map +1 -1
  37. package/dist/identity/device-auth/device-auth.service.d.ts +9 -2
  38. package/dist/identity/device-auth/device-auth.service.d.ts.map +1 -1
  39. package/dist/identity/device-auth/device-auth.service.js +44 -4
  40. package/dist/identity/device-auth/device-auth.service.js.map +1 -1
  41. package/dist/identity/device-auth/dto/device-code-request.dto.d.ts +12 -0
  42. package/dist/identity/device-auth/dto/device-code-request.dto.d.ts.map +1 -1
  43. package/dist/identity/identity.options.d.ts +25 -0
  44. package/dist/identity/identity.options.d.ts.map +1 -1
  45. package/dist/identity/identity.options.js +11 -0
  46. package/dist/identity/identity.options.js.map +1 -1
  47. package/dist/identity/index.d.ts +1 -1
  48. package/dist/identity/index.d.ts.map +1 -1
  49. package/dist/nodes/current-node.decorator.d.ts +18 -0
  50. package/dist/nodes/current-node.decorator.d.ts.map +1 -0
  51. package/dist/nodes/current-node.decorator.js +28 -0
  52. package/dist/nodes/current-node.decorator.js.map +1 -0
  53. package/dist/nodes/index.d.ts +8 -0
  54. package/dist/nodes/index.d.ts.map +1 -1
  55. package/dist/nodes/index.js +21 -2
  56. package/dist/nodes/index.js.map +1 -1
  57. package/dist/nodes/node-ownership.d.ts +34 -0
  58. package/dist/nodes/node-ownership.d.ts.map +1 -0
  59. package/dist/nodes/node-ownership.js +92 -0
  60. package/dist/nodes/node-ownership.js.map +1 -0
  61. package/dist/nodes/node-route.decorator.d.ts +31 -0
  62. package/dist/nodes/node-route.decorator.d.ts.map +1 -0
  63. package/dist/nodes/node-route.decorator.js +54 -0
  64. package/dist/nodes/node-route.decorator.js.map +1 -0
  65. package/dist/nodes/node-route.guard.d.ts +22 -0
  66. package/dist/nodes/node-route.guard.d.ts.map +1 -0
  67. package/dist/nodes/node-route.guard.js +74 -0
  68. package/dist/nodes/node-route.guard.js.map +1 -0
  69. package/dist/nodes/node-route.module.d.ts +21 -0
  70. package/dist/nodes/node-route.module.d.ts.map +1 -0
  71. package/dist/nodes/node-route.module.js +99 -0
  72. package/dist/nodes/node-route.module.js.map +1 -0
  73. package/dist/nodes/node-route.options.d.ts +59 -0
  74. package/dist/nodes/node-route.options.d.ts.map +1 -0
  75. package/dist/nodes/node-route.options.js +29 -0
  76. package/dist/nodes/node-route.options.js.map +1 -0
  77. package/dist/nodes/node-route.paths.d.ts +47 -0
  78. package/dist/nodes/node-route.paths.d.ts.map +1 -0
  79. package/dist/nodes/node-route.paths.js +129 -0
  80. package/dist/nodes/node-route.paths.js.map +1 -0
  81. package/dist/nodes/nodes.service.d.ts.map +1 -1
  82. package/dist/nodes/nodes.service.js +3 -15
  83. package/dist/nodes/nodes.service.js.map +1 -1
  84. package/dist/nodes/testing/conformance.d.ts +86 -0
  85. package/dist/nodes/testing/conformance.d.ts.map +1 -0
  86. package/dist/nodes/testing/conformance.js +230 -0
  87. package/dist/nodes/testing/conformance.js.map +1 -0
  88. package/dist/nodes/testing/discover.d.ts +13 -0
  89. package/dist/nodes/testing/discover.d.ts.map +1 -0
  90. package/dist/nodes/testing/discover.js +42 -0
  91. package/dist/nodes/testing/discover.js.map +1 -0
  92. package/dist/nodes/testing/index.d.ts +3 -0
  93. package/dist/nodes/testing/index.d.ts.map +1 -0
  94. package/dist/nodes/testing/index.js +13 -0
  95. package/dist/nodes/testing/index.js.map +1 -0
  96. package/dist/notifications/channels/browser-notification.channel.d.ts +11 -0
  97. package/dist/notifications/channels/browser-notification.channel.d.ts.map +1 -1
  98. package/dist/notifications/channels/browser-notification.channel.js +71 -48
  99. package/dist/notifications/channels/browser-notification.channel.js.map +1 -1
  100. package/dist/notifications/data/notifications-db.d.ts +19 -0
  101. package/dist/notifications/data/notifications-db.d.ts.map +1 -1
  102. package/dist/notifications/dto/notification.dto.d.ts +4 -0
  103. package/dist/notifications/dto/notification.dto.d.ts.map +1 -1
  104. package/dist/notifications/index.d.ts +1 -1
  105. package/dist/notifications/index.d.ts.map +1 -1
  106. package/dist/notifications/index.js.map +1 -1
  107. package/dist/notifications/notification-inbox-writer.d.ts +112 -0
  108. package/dist/notifications/notification-inbox-writer.d.ts.map +1 -0
  109. package/dist/notifications/notification-inbox-writer.js +217 -0
  110. package/dist/notifications/notification-inbox-writer.js.map +1 -0
  111. package/dist/notifications/notification-store.service.d.ts +10 -0
  112. package/dist/notifications/notification-store.service.d.ts.map +1 -1
  113. package/dist/notifications/notification-store.service.js +55 -10
  114. package/dist/notifications/notification-store.service.js.map +1 -1
  115. package/dist/notifications/notification-stream.service.d.ts +8 -0
  116. package/dist/notifications/notification-stream.service.d.ts.map +1 -1
  117. package/dist/notifications/notification-stream.service.js.map +1 -1
  118. package/dist/notifications/notification.types.d.ts +74 -0
  119. package/dist/notifications/notification.types.d.ts.map +1 -1
  120. package/dist/notifications/notification.types.js.map +1 -1
  121. package/dist/notifications/notifications.controller.d.ts +1 -0
  122. package/dist/notifications/notifications.controller.d.ts.map +1 -1
  123. package/dist/notifications/notifications.controller.js +23 -0
  124. package/dist/notifications/notifications.controller.js.map +1 -1
  125. package/dist/notifications/notifications.service.d.ts +56 -1
  126. package/dist/notifications/notifications.service.d.ts.map +1 -1
  127. package/dist/notifications/notifications.service.js +122 -0
  128. package/dist/notifications/notifications.service.js.map +1 -1
  129. package/dist/notifications/registry/event.registry.d.ts +15 -0
  130. package/dist/notifications/registry/event.registry.d.ts.map +1 -1
  131. package/dist/notifications/registry/event.registry.js +3 -0
  132. package/dist/notifications/registry/event.registry.js.map +1 -1
  133. package/dist/notifications/retention/notification-inbox-purge.handler.d.ts.map +1 -1
  134. package/dist/notifications/retention/notification-inbox-purge.handler.js +16 -4
  135. package/dist/notifications/retention/notification-inbox-purge.handler.js.map +1 -1
  136. package/dist/notifications/testing/index.d.ts +2 -0
  137. package/dist/notifications/testing/index.d.ts.map +1 -1
  138. package/dist/notifications/testing/index.js +5 -1
  139. package/dist/notifications/testing/index.js.map +1 -1
  140. package/dist/storage/config/storage-config.service.d.ts +24 -0
  141. package/dist/storage/config/storage-config.service.d.ts.map +1 -1
  142. package/dist/storage/config/storage-config.service.js +31 -5
  143. package/dist/storage/config/storage-config.service.js.map +1 -1
  144. package/dist/storage/handlers/storage-cleanup.handler.d.ts +3 -1
  145. package/dist/storage/handlers/storage-cleanup.handler.d.ts.map +1 -1
  146. package/dist/storage/handlers/storage-cleanup.handler.js +10 -3
  147. package/dist/storage/handlers/storage-cleanup.handler.js.map +1 -1
  148. package/dist/storage/index.d.ts +5 -1
  149. package/dist/storage/index.d.ts.map +1 -1
  150. package/dist/storage/index.js +12 -3
  151. package/dist/storage/index.js.map +1 -1
  152. package/dist/storage/objects/dto/get-part-urls.dto.d.ts +26 -0
  153. package/dist/storage/objects/dto/get-part-urls.dto.d.ts.map +1 -0
  154. package/dist/storage/objects/dto/get-part-urls.dto.js +25 -0
  155. package/dist/storage/objects/dto/get-part-urls.dto.js.map +1 -0
  156. package/dist/storage/objects/dto/init-upload.dto.d.ts +2 -1
  157. package/dist/storage/objects/dto/init-upload.dto.d.ts.map +1 -1
  158. package/dist/storage/objects/objects.controller.d.ts +13 -1
  159. package/dist/storage/objects/objects.controller.d.ts.map +1 -1
  160. package/dist/storage/objects/objects.controller.js +88 -1
  161. package/dist/storage/objects/objects.controller.js.map +1 -1
  162. package/dist/storage/objects/objects.service.d.ts +46 -1
  163. package/dist/storage/objects/objects.service.d.ts.map +1 -1
  164. package/dist/storage/objects/objects.service.js +277 -23
  165. package/dist/storage/objects/objects.service.js.map +1 -1
  166. package/dist/storage/objects/part-body-parser.d.ts +30 -0
  167. package/dist/storage/objects/part-body-parser.d.ts.map +1 -0
  168. package/dist/storage/objects/part-body-parser.js +45 -0
  169. package/dist/storage/objects/part-body-parser.js.map +1 -0
  170. package/dist/storage/objects/part-body.d.ts +23 -0
  171. package/dist/storage/objects/part-body.d.ts.map +1 -0
  172. package/dist/storage/objects/part-body.js +48 -0
  173. package/dist/storage/objects/part-body.js.map +1 -0
  174. package/dist/storage/processing/object-processing.service.d.ts +4 -1
  175. package/dist/storage/processing/object-processing.service.d.ts.map +1 -1
  176. package/dist/storage/processing/object-processing.service.js +11 -3
  177. package/dist/storage/processing/object-processing.service.js.map +1 -1
  178. package/dist/storage/profile-image/avatar.service.d.ts +3 -1
  179. package/dist/storage/profile-image/avatar.service.d.ts.map +1 -1
  180. package/dist/storage/profile-image/avatar.service.js +8 -3
  181. package/dist/storage/profile-image/avatar.service.js.map +1 -1
  182. package/dist/storage/profile-image/profile-image.service.d.ts +4 -1
  183. package/dist/storage/profile-image/profile-image.service.d.ts.map +1 -1
  184. package/dist/storage/profile-image/profile-image.service.js +11 -5
  185. package/dist/storage/profile-image/profile-image.service.js.map +1 -1
  186. package/dist/storage/providers/index.d.ts +3 -1
  187. package/dist/storage/providers/index.d.ts.map +1 -1
  188. package/dist/storage/providers/index.js +8 -1
  189. package/dist/storage/providers/index.js.map +1 -1
  190. package/dist/storage/providers/resolving-storage.provider.d.ts +11 -0
  191. package/dist/storage/providers/resolving-storage.provider.d.ts.map +1 -1
  192. package/dist/storage/providers/resolving-storage.provider.js +13 -0
  193. package/dist/storage/providers/resolving-storage.provider.js.map +1 -1
  194. package/dist/storage/providers/s3/s3-storage.provider.d.ts +9 -1
  195. package/dist/storage/providers/s3/s3-storage.provider.d.ts.map +1 -1
  196. package/dist/storage/providers/s3/s3-storage.provider.js +37 -0
  197. package/dist/storage/providers/s3/s3-storage.provider.js.map +1 -1
  198. package/dist/storage/providers/storage-provider-router.d.ts +64 -0
  199. package/dist/storage/providers/storage-provider-router.d.ts.map +1 -0
  200. package/dist/storage/providers/storage-provider-router.js +161 -0
  201. package/dist/storage/providers/storage-provider-router.js.map +1 -0
  202. package/dist/storage/providers/storage-provider.interface.d.ts +34 -1
  203. package/dist/storage/providers/storage-provider.interface.d.ts.map +1 -1
  204. package/dist/storage/providers/storage-provider.interface.js.map +1 -1
  205. package/dist/storage/providers/storage-provider.types.d.ts +86 -0
  206. package/dist/storage/providers/storage-provider.types.d.ts.map +1 -1
  207. package/dist/storage/providers/storage-provider.types.js +78 -0
  208. package/dist/storage/providers/storage-provider.types.js.map +1 -1
  209. package/dist/storage/providers/storage-providers.module.d.ts.map +1 -1
  210. package/dist/storage/providers/storage-providers.module.js +3 -1
  211. package/dist/storage/providers/storage-providers.module.js.map +1 -1
  212. package/dist/storage/testing/conformance.d.ts +12 -0
  213. package/dist/storage/testing/conformance.d.ts.map +1 -1
  214. package/dist/storage/testing/conformance.js +112 -0
  215. package/dist/storage/testing/conformance.js.map +1 -1
  216. package/dist/storage/testing/driver-conformance.d.ts +13 -1
  217. package/dist/storage/testing/driver-conformance.d.ts.map +1 -1
  218. package/dist/storage/testing/driver-conformance.js +134 -0
  219. package/dist/storage/testing/driver-conformance.js.map +1 -1
  220. package/dist/storage/testing/index.d.ts +1 -1
  221. package/dist/storage/testing/index.d.ts.map +1 -1
  222. package/dist/storage/testing/index.js +2 -1
  223. package/dist/storage/testing/index.js.map +1 -1
  224. package/dist/telemetry/stack/dto/telemetry-stack.dto.d.ts +1 -1
  225. package/package.json +7 -3
@@ -7,7 +7,7 @@ import { type AiOperationHandler, type AiResponsesPort } from '../core/provider-
7
7
  import { type AiOperationDefinition } from '../core/operation-registry';
8
8
  import { type AiFileInputStrategy, type AiStorageInputModality } from '../core/types/file-inputs.types';
9
9
  import { AiProviderRegistry } from '../core/provider-registry';
10
- import { type AiEmbeddingRequest, type AiEmbeddingResult, type AiAudioPort, type AiEmbeddingsPort, type AiImageResult, type AiImagesPort, type AiRealtimePort, type AiRealtimeSessionRequest, type AiSpeechResult, type AiTranscriptionResult } from '../core/types/media.types';
10
+ import { type AiEmbeddingRequest, type AiEmbeddingResult, type AiImageEditRequest, type AiAudioPort, type AiEmbeddingsPort, type AiImageResult, type AiImagesPort, type AiRealtimePort, type AiRealtimeSessionRequest, type AiSpeechResult, type AiTranscriptionRequest, type AiTranscriptionResult } from '../core/types/media.types';
11
11
  import type { AiHostedToolCallItem, AiImageGenerationCallResult, AiResponse, AiResponseRequest, AiStreamEvent } from '../core/types/responses.types';
12
12
  import { AiKeyResolver, type AiKeyTier } from '../keys/ai-key-resolver.service';
13
13
  import type { UsableAiModel } from '../keys/dto/usable-ai-model.dto';
@@ -21,7 +21,7 @@ import { type StoredAiSpeechRunRequest, type StoredAiTranscriptionRunRequest } f
21
21
  import { type AiImageOperation, type StoredAiImageRunRequest } from './ai-image-run-request';
22
22
  import { type AiHostedOutputOwner } from './ai-hosted-outputs';
23
23
  import { AiRunsService } from './ai-runs.service';
24
- import type { AiCallOptions, AiEditImageRequest, AiEmbedRequest, AiGenerateImageRequest, AiRealtimeRequest, AiRealtimeSessionResult, AiRequest, AiRunHandle, AiRunOperationOptions, AiSpeakRequest, AiStructuredRequest, AiTranscribeRequest, AiStructuredResponse, AiToolLoopRequest, AiToolLoopResult } from './ai-runtime.types';
24
+ import type { AiCallOptions, AiEditImageInlineRequest, AiEditImageRequest, AiEmbedRequest, AiGenerateImageRequest, AiRealtimeRequest, AiRealtimeSessionResult, AiRequest, AiRunHandle, AiRunOperationOptions, AiSpeakRequest, AiStructuredRequest, AiSystemScope, AiTranscribeInlineRequest, AiTranscribeRequest, AiStructuredResponse, AiToolLoopRequest, AiToolLoopResult } from './ai-runtime.types';
25
25
  import { AiLimitsService } from './ai-limits.service';
26
26
  import { AiUsageRecorder } from './ai-usage.recorder';
27
27
  /** The facade's span — one per provider round-trip. The adapter's own `ai.provider.call` nests inside it. */
@@ -187,10 +187,64 @@ export interface AiUserClient {
187
187
  * schema (the call is still recorded); every other gate's `AiError`.
188
188
  */
189
189
  run<O = unknown>(operationId: string, input: unknown, opts?: AiRunOperationOptions): Promise<O>;
190
+ /**
191
+ * Edits images SYNCHRONOUSLY, for a caller already inside its own job that
192
+ * holds the source bytes: the same gates, key resolution, rate limits,
193
+ * ONE usage row (`operation: 'images'`, `units: { images: n }`) and span as
194
+ * `editImage`, but no `ai_runs` row, no second job and no storage copy. The
195
+ * result carries the generated images as BYTES and stores nothing; the
196
+ * caller writes them where it needs them. See `AiEditImageInlineRequest` for
197
+ * the input rules (count, size, type) and `providerOptions`.
198
+ *
199
+ * Server-side handlers only: never wire it to a route or hand it to a
200
+ * worker node (a node never holds a key).
201
+ *
202
+ * @throws AiError('AI_INVALID_REQUEST') for an empty prompt, no or too many
203
+ * images, an image over `AI_IMAGE_INPUT_MAX_BYTES` or of a type other
204
+ * than PNG/JPEG/WebP, a mask that is not a PNG;
205
+ * AiError('AI_CAPABILITY_UNSUPPORTED') for a model without `image_edit`;
206
+ * AiError('AI_RATE_LIMITED') for a provider 429/529 or a local limit
207
+ * (`toRateLimitError()` defers the job); every other gate's `AiError`.
208
+ */
209
+ editImageInline(req: AiEditImageInlineRequest, opts?: AiCallOptions): Promise<AiImageResult>;
210
+ /**
211
+ * Transcribes a recording SYNCHRONOUSLY, for a caller already inside its
212
+ * own job that holds the audio (an ffmpeg extract, say): the same gates, key
213
+ * resolution, rate limits, ONE usage row (`operation: 'audio.transcribe'`,
214
+ * `units: { audioSeconds }` when reported) and span as `transcribe`, with no
215
+ * run row, job or storage object. The transcript is returned inline. See
216
+ * `AiTranscribeInlineRequest`; an omitted `model` is chosen as for
217
+ * `transcribe`. Server-side handlers only.
218
+ *
219
+ * @throws AiError('AI_INVALID_REQUEST') for a recording that is empty, not
220
+ * audio (or MP4/WebM video) or larger than the provider accepts;
221
+ * AiError('AI_CAPABILITY_UNSUPPORTED') for a model without
222
+ * `audio_transcription`; AiError('AI_RATE_LIMITED') as for
223
+ * `editImageInline`; every other gate's `AiError`.
224
+ */
225
+ transcribeInline(req: AiTranscribeInlineRequest, opts?: AiCallOptions): Promise<AiTranscriptionResult>;
190
226
  }
227
+ /**
228
+ * The client of a SYSTEM call (`AiService.forSystem`): work a server-side job
229
+ * does with no acting user (a per-organization generation job, a digest, an
230
+ * importer's tagging). Everything runs through the same gate pipeline and
231
+ * records one usage row per round-trip, with `userId: null` and the scope's
232
+ * `feature`. The key is the organization's own, else the deployment's, NEVER a
233
+ * user's; only the per-organization limits apply.
234
+ *
235
+ * There are no queued runs (`startRun`, `editImage`, `transcribe`, ...: a run
236
+ * belongs to a user), no `runTools` (a tool's `execute` is scoped to the user
237
+ * it acts for, and a system call has none), and no realtime or custom
238
+ * operations. Hosted tools are refused: their outputs are stored as a user's
239
+ * own objects.
240
+ *
241
+ * @stability experimental
242
+ */
243
+ export type AiSystemClient = Pick<AiUserClient, 'respond' | 'respondStructured' | 'stream' | 'openStream' | 'embed' | 'editImageInline' | 'transcribeInline'>;
191
244
  /** Internal: who a client acts for, and under which job (for usage rows). */
192
245
  export interface AiClientScope {
193
- userId: string;
246
+ /** The acting user; `null` for a system call (`AiService.forSystem`). */
247
+ userId: string | null;
194
248
  /**
195
249
  * The organization the call runs in (issue #725): `principal.activeOrgId` for
196
250
  * an HTTP call, the job payload's `orgId` for a background run. Resolved to
@@ -272,6 +326,21 @@ export interface PreparedAiImageCall extends AiCallTarget {
272
326
  mask?: AiStorageInput;
273
327
  };
274
328
  }
329
+ /** Everything the gate pipeline settled for one inline image edit. */
330
+ export interface PreparedAiImageInlineCall extends AiCallTarget {
331
+ /** The provider's edit method (a provider without one was refused). */
332
+ edit: NonNullable<AiImagesPort['edit']>;
333
+ /** The request the adapter receives — model resolved, named fields only. */
334
+ request: AiImageEditRequest;
335
+ }
336
+ /** Everything the gate pipeline settled for one inline transcription. */
337
+ export interface PreparedAiTranscriptionInlineCall extends AiCallTarget {
338
+ transcribe: NonNullable<AiAudioPort['transcribe']>;
339
+ /** The request the adapter receives — model resolved, the recording size-capped. */
340
+ request: AiTranscriptionRequest;
341
+ /** The cap's verdict for a streamed recording that turned out too large. */
342
+ exceeded(): AiError | undefined;
343
+ }
275
344
  /** Everything the gate pipeline settled for one transcription. */
276
345
  export interface PreparedAiTranscriptionCall extends AiCallTarget {
277
346
  transcribe: NonNullable<AiAudioPort['transcribe']>;
@@ -371,6 +440,35 @@ export declare class AiService {
371
440
  feature?: string;
372
441
  attributedFeature?: string;
373
442
  }): AiUserClient;
443
+ /**
444
+ * The AI client for work with NO acting user: a per-organization job
445
+ * (memory titles, a digest), an importer's tagging. It runs the same gate
446
+ * pipeline as `forUser` and records one usage row per round-trip with
447
+ * `userId: null` and `scope.feature`, but:
448
+ *
449
+ * - the feature must be registered with `systemCalls: true`, else every call
450
+ * is refused with `AI_KEY_REQUIRED` (an app whose rule is "AI keys are per
451
+ * user" registers none, and system calls stay impossible for it);
452
+ * - the key is the organization's own, else the deployment's, NEVER a
453
+ * user's, and `ai.keyPolicy` does not apply (no person is borrowing);
454
+ * - only the per-organization limits (`limits.perOrg`) apply;
455
+ * - the kill switches (`ai.enabled`, the organization's) still apply first.
456
+ *
457
+ * Server-side code only: it is not reachable over HTTP and must never be
458
+ * handed to a worker node. See `AiSystemClient` for what it offers.
459
+ *
460
+ * @example
461
+ * ```ts
462
+ * const titles = await this.ai
463
+ * .forSystem({ orgId, feature: 'example_titles' })
464
+ * .respondStructured({ schema, input });
465
+ * ```
466
+ *
467
+ * @stability experimental
468
+ */
469
+ forSystem(scope: AiSystemScope): AiSystemClient;
470
+ /** The acting user of a call only a user can make (queued runs, realtime, custom operations). */
471
+ private userOf;
374
472
  /**
375
473
  * The organization this call runs in: the scope's own, else (single tenancy)
376
474
  * the default organization, else a `MissingOrgScopeError` (multi tenancy).
@@ -434,6 +532,34 @@ export declare class AiService {
434
532
  * @internal
435
533
  */
436
534
  executeImageRun(userId: string, stored: StoredAiImageRunRequest, opts?: AiImageRunExecutionOptions): Promise<AiImageResult>;
535
+ /**
536
+ * Steps 6-9 of one image round-trip, shared by the queued run
537
+ * (`executeImageRun`) and the inline edit (`editImageInline`): resolve the
538
+ * key, apply the limits, call the port, record ONE usage row (with the image count as its units) and end the span. The error never carries the key.
539
+ */
540
+ private imageRoundTrip;
541
+ private editImageInline;
542
+ private transcribeInline;
543
+ /**
544
+ * The gate pipeline for an inline image edit: kill switch, the system
545
+ * caller's opt-in, request shape (prompt, `n`, the images' count, size and
546
+ * type, the mask), target, provider, model with `image_edit` (model AND port
547
+ * with `edit`). Decrypts nothing; the bytes are already the caller's.
548
+ *
549
+ * @internal
550
+ */
551
+ prepareImageInline(userId: string | null, req: AiEditImageInlineRequest, orgId?: string, featureId?: string): Promise<PreparedAiImageInlineCall>;
552
+ /**
553
+ * The gate pipeline for an inline transcription: kill switch, the system
554
+ * caller's opt-in, request shape, target (an omitted model is the first
555
+ * usable `audio_transcription` model), provider, model with
556
+ * `audio_transcription` (model AND port), then the recording itself: type
557
+ * and the provider's size limit (a stream is counted as it is sent).
558
+ * Decrypts nothing.
559
+ *
560
+ * @internal
561
+ */
562
+ prepareTranscriptionInline(userId: string | null, req: AiTranscribeInlineRequest, orgId?: string, featureId?: string): Promise<PreparedAiTranscriptionInlineCall>;
437
563
  private startTranscriptionRun;
438
564
  /**
439
565
  * Executes one stored transcription run for `userId` — the
@@ -444,6 +570,11 @@ export declare class AiService {
444
570
  * @internal
445
571
  */
446
572
  executeTranscriptionRun(userId: string, stored: StoredAiTranscriptionRunRequest, opts?: AiImageRunExecutionOptions): Promise<AiTranscriptionResult>;
573
+ /**
574
+ * Steps 6-9 of one transcription round-trip, shared by the queued run and
575
+ * the inline call: key, limits, the port, ONE usage row (with the audio seconds as units, when reported) and the span. The error never carries the key.
576
+ */
577
+ private transcriptionRoundTrip;
447
578
  /**
448
579
  * The result with its `extras` checked (PP-14.17, #935): kept when bounded
449
580
  * and well-formed, dropped otherwise. The transcript is never lost to a bad
@@ -479,7 +610,7 @@ export declare class AiService {
479
610
  *
480
611
  * @internal
481
612
  */
482
- prepare(userId: string, req: AiRequest, opts: PrepareOptions): Promise<PreparedAiCall>;
613
+ prepare(userId: string | null, req: AiRequest, opts: PrepareOptions): Promise<PreparedAiCall>;
483
614
  /**
484
615
  * The gate pipeline for `embed`: kill switch, request shape, target,
485
616
  * provider, then model/capability/key/reach with `embeddings` as the one
@@ -487,7 +618,7 @@ export declare class AiService {
487
618
  *
488
619
  * @internal
489
620
  */
490
- prepareEmbedding(userId: string, req: AiEmbedRequest, featureId?: string, orgId?: string): Promise<PreparedAiEmbeddingCall>;
621
+ prepareEmbedding(userId: string | null, req: AiEmbedRequest, featureId?: string, orgId?: string): Promise<PreparedAiEmbeddingCall>;
491
622
  /**
492
623
  * The gate pipeline for an image generation or edit: kill switch, request
493
624
  * shape, target, provider, model with `image_generation`/`image_edit` (model
@@ -573,6 +704,12 @@ export declare class AiService {
573
704
  * and `DefaultAiTargetResolver`). `null` from the resolver is "no model".
574
705
  */
575
706
  private resolveTarget;
707
+ /**
708
+ * A system call (no acting user) must name a registered feature that opted in
709
+ * with `systemCalls: true` (checked right after the kill switch). Refused with
710
+ * `AI_KEY_REQUIRED`: without the opt-in there is no key a system call may use.
711
+ */
712
+ private assertSystemCaller;
576
713
  /** The registered feature a call names, or `undefined`; an unknown id is AI_INVALID_REQUEST. */
577
714
  private featureOf;
578
715
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ai.service.d.ts","sourceRoot":"","sources":["../../../src/ai/runtime/ai.service.ts"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAE,eAAe,EAAwB,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAA0C,KAAK,kBAAkB,EAAE,KAAK,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC3I,OAAO,EAAwC,KAAK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