@nimiplatform/sdk 0.12.0 → 0.15.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 (119) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +391 -0
  3. package/dist/core/ai/capability-configuration.d.ts +3 -0
  4. package/dist/core/ai/capability-configuration.d.ts.map +1 -1
  5. package/dist/core/ai/capability-configuration.js +3 -0
  6. package/dist/core/ai/capability-configuration.js.map +1 -1
  7. package/dist/core/ai/local-app-model.d.ts.map +1 -1
  8. package/dist/core/ai/local-app-model.js +29 -1
  9. package/dist/core/ai/local-app-model.js.map +1 -1
  10. package/dist/core/ai/voice-reference-input.d.ts +9 -0
  11. package/dist/core/ai/voice-reference-input.d.ts.map +1 -0
  12. package/dist/core/ai/voice-reference-input.js +17 -0
  13. package/dist/core/ai/voice-reference-input.js.map +1 -0
  14. package/dist/core/app/index.d.ts +8 -2
  15. package/dist/core/app/index.d.ts.map +1 -1
  16. package/dist/core/app/index.js +4 -1
  17. package/dist/core/app/index.js.map +1 -1
  18. package/dist/core/app/local-app-audio-separation.d.ts +6 -0
  19. package/dist/core/app/local-app-audio-separation.d.ts.map +1 -0
  20. package/dist/core/app/local-app-audio-separation.js +31 -0
  21. package/dist/core/app/local-app-audio-separation.js.map +1 -0
  22. package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
  23. package/dist/core/app/local-app-runtime-platform-ai-config.js +7 -0
  24. package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
  25. package/dist/core/app/local-app-runtime-platform-ai.d.ts +21 -1
  26. package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
  27. package/dist/core/app/local-app-runtime-platform-ai.js +111 -20
  28. package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
  29. package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
  30. package/dist/core/app/local-app-runtime-platform-validation.js +8 -0
  31. package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
  32. package/dist/core/app/local-app-text-annotation.d.ts +24 -0
  33. package/dist/core/app/local-app-text-annotation.d.ts.map +1 -0
  34. package/dist/core/app/local-app-text-annotation.js +71 -0
  35. package/dist/core/app/local-app-text-annotation.js.map +1 -0
  36. package/dist/core/app/local-app-text.d.ts +15 -0
  37. package/dist/core/app/local-app-text.d.ts.map +1 -1
  38. package/dist/core/app/local-app-text.js +47 -1
  39. package/dist/core/app/local-app-text.js.map +1 -1
  40. package/dist/core/app/local-app-transcription.d.ts +12 -0
  41. package/dist/core/app/local-app-transcription.d.ts.map +1 -0
  42. package/dist/core/app/local-app-transcription.js +28 -0
  43. package/dist/core/app/local-app-transcription.js.map +1 -0
  44. package/dist/core-generated/realm-typed-client.d.ts +73 -5
  45. package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
  46. package/dist/core-generated/realm-typed-client.js +64 -2
  47. package/dist/core-generated/realm-typed-client.js.map +1 -1
  48. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +382 -1
  49. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
  50. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +769 -6
  51. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
  52. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +128 -0
  53. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
  54. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +254 -2
  55. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
  56. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +123 -0
  57. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
  58. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +189 -8
  59. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
  60. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +15 -0
  61. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
  62. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +15 -0
  63. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
  64. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +34 -0
  65. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
  66. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +36 -4
  67. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
  68. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts +13 -0
  69. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts.map +1 -1
  70. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js +17 -1
  71. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js.map +1 -1
  72. package/dist/core-generated/runtime-typed-client.d.ts +4 -4
  73. package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
  74. package/dist/core-generated/runtime-typed-client.js +1 -1
  75. package/dist/core-generated/runtime-typed-client.js.map +1 -1
  76. package/dist/features/generation/index.d.ts +2 -0
  77. package/dist/features/generation/index.d.ts.map +1 -1
  78. package/dist/features/generation/index.js +12 -2
  79. package/dist/features/generation/index.js.map +1 -1
  80. package/dist/runtime/config-projections.d.ts.map +1 -1
  81. package/dist/runtime/config-projections.js +30 -1
  82. package/dist/runtime/config-projections.js.map +1 -1
  83. package/dist/runtime/connector-inventory.js +3 -3
  84. package/dist/runtime/connector-inventory.js.map +1 -1
  85. package/dist/runtime/index.d.ts +2 -0
  86. package/dist/runtime/index.d.ts.map +1 -1
  87. package/dist/runtime/index.js +2 -1
  88. package/dist/runtime/index.js.map +1 -1
  89. package/dist/runtime/machine-loadouts.d.ts +15 -1
  90. package/dist/runtime/machine-loadouts.d.ts.map +1 -1
  91. package/dist/runtime/machine-loadouts.js +13 -2
  92. package/dist/runtime/machine-loadouts.js.map +1 -1
  93. package/dist/runtime/node-grpc.d.ts.map +1 -1
  94. package/dist/runtime/node-grpc.js +35 -4
  95. package/dist/runtime/node-grpc.js.map +1 -1
  96. package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
  97. package/dist/runtime/runtime-local-environment-client-projections.js +4 -0
  98. package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
  99. package/dist/runtime/runtime-local-environment-client-types.d.ts +10 -1
  100. package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
  101. package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
  102. package/dist/runtime/runtime-local-environment-client.js +5 -1
  103. package/dist/runtime/runtime-local-environment-client.js.map +1 -1
  104. package/dist/runtime/shared-local-agent-ai-config.d.ts.map +1 -1
  105. package/dist/runtime/shared-local-agent-ai-config.js +3 -0
  106. package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
  107. package/dist/runtime/wire-types/ai-scenario-enums.d.ts +8 -1
  108. package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
  109. package/dist/runtime/wire-types/ai-scenario-enums.js +8 -0
  110. package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
  111. package/dist/runtime/wire-types/ai-scenario-types.d.ts +4 -4
  112. package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
  113. package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
  114. package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
  115. package/dist/runtime/wire-types/reason-code-enums.d.ts +2 -0
  116. package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
  117. package/dist/runtime/wire-types/reason-code-enums.js +2 -0
  118. package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
  119. package/package.json +4 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,72 @@
1
+ # SDK migration notes
2
+
3
+ These package-local notes cover the App-facing changes relevant to the current
4
+ published baseline. They are not a complete reconstruction of older releases.
5
+
6
+ ## 0.14.0 (development)
7
+
8
+ - Preserve multiline transcription text through Local App Job projections,
9
+ including empty pending/no-speech content, without relaxing metadata or NUL
10
+ validation.
11
+
12
+ - Raise annotation capacity to 512 KiB input, 65536 tokens and a 16 MiB result
13
+ without splitting the caller's document. The matching Runtime also admits
14
+ DeepSeek V4 JSON-object generation through the existing App text interface.
15
+
16
+ - Add the Local `text-annotate` Job and immutable `textAnnotation` result:
17
+ batch source documents, Unicode scalar token offsets, POS/dependency labels,
18
+ head indices and sentence spans. Requires the matching Runtime and Kit/native
19
+ candidate; older 0.14.0 development tarballs do not contain this addition.
20
+
21
+ - Add the Local `audio-separate` Job and paired `audioSeparation` artifact
22
+ identities. Large output uses the existing owned artifact adoption and App
23
+ asset streams. The initial Runtime Driver is HTDemucs; read its documented
24
+ duration/input limits before composing long media.
25
+
26
+ - Carry typed speech transcription through Local App jobs, Runtime scenario
27
+ adapters and generation results. Preserve original text, detected language,
28
+ actual alignment units and explicit no-speech results. See the package README
29
+ for resource limits, supported controls and chunk offsets.
30
+ - Requires matching Runtime, Kit/native 0.10.0 and Rust shell crates 0.6.0.
31
+ Custom carriers must preserve the optional `transcription` projection. Empty
32
+ no-speech text is valid only with the explicit typed no-speech result; an
33
+ empty inference response is not success. `transcriptionText` remains derived
34
+ from the same result for existing text-only consumers.
35
+ - These are local development package versions. Publication is a separate step
36
+ after consumer acceptance. Vercel adapter 0.2.0 updates its SDK peer to 0.14.0;
37
+ its text model behavior is unchanged.
38
+
39
+ ## 0.13.0
40
+
41
+ - Local App model turns accept ordered user text and image URL/artifact parts.
42
+ Use `filePart` with HTTP(S) image URLs or upload local image bytes through
43
+ `client.ai.artifacts.upload` and pass an `artifact-ref`. Inline data URLs,
44
+ file paths, non-image media and media in assistant/system messages are not
45
+ admitted by this binding. The narrow text-candidate API is unchanged.
46
+ - This widens the public Local App contract and requires Kit/native 0.9.0,
47
+ Rust shell crates 0.5.0 and the matching Runtime. Custom carriers must retain
48
+ optional user `parts`; older carriers cannot provide image support.
49
+ - The Vercel AI SDK 6 adapter uses the independent
50
+ `@nimiplatform/sdk-adapter-vercel-ai` 0.1.0 package. Its Local App factory
51
+ preserves tool loops and opaque continuity through framework message history.
52
+ - Include the public App integration guide and these migration notes in the
53
+ npm package, so consumers can discover the supported surfaces without a
54
+ Nimi source checkout.
55
+
56
+ ## 0.12.0
57
+
58
+ - Add `createNimiLocalAppTextModel` from `@nimiplatform/sdk/ai` over the protected
59
+ App text client. Requires Kit/native 0.8.0 and the matching Runtime contract.
60
+ - Support function tools, ordered output/ToolCall/ToolResult transcript, tool
61
+ choice and structured response formats for this text-only Local App input.
62
+ - Preserve opaque reasoning continuity through stream events and later turns.
63
+ Custom collectors must retain its order and bytes without exposing it as
64
+ display reasoning; use the standard collector when no custom one is needed.
65
+ - `generateText` collects one cancellable stream. Neither it nor `streamText`
66
+ executes App tools or owns a multi-step workflow. Update exhaustive event
67
+ handling for complete tool calls, continuity and the required item indices.
68
+ - App AIConfig selects an eligible execution configuration. Unsupported input,
69
+ interrupted streams and incomplete output remain explicit failures.
70
+
71
+ See the [0.12.0 source tag](https://github.com/nimiplatform/nimi/tree/sdk/v0.12.0)
72
+ and the installed declaration files for the exact versioned API.
package/README.md ADDED
@@ -0,0 +1,391 @@
1
+ # @nimiplatform/sdk
2
+
3
+ Public TypeScript clients and contracts for Nimi Apps and integrations.
4
+ The package includes runnable JavaScript and TypeScript declarations under
5
+ `dist/`; use the public exports instead of importing Runtime internals.
6
+
7
+ ## Developing a Nimi App
8
+
9
+ Start with the lifecycle guide included in `@nimiplatform/app-tools`.
10
+ `nimi-app --help` prints its location before initialization. Select the matched
11
+ SDK/Kit versions from that package's `nimiScaffoldVersions` and retain the
12
+ project lockfile. See [migration notes](CHANGELOG.md) before upgrading.
13
+
14
+ An installed or development App consumes a `NimiLocalAppClient` from
15
+ `@nimiplatform/sdk/app`, bound to the standard Kit shell in its supervised Host.
16
+ Kit's Electron main/preload and renderer guides describe that construction.
17
+ App-owned Node business work can use the same Host's `bridge.services`.
18
+ The App does not supply Nimi credentials, account identity, a Runtime endpoint,
19
+ or a provider/model override to these protected calls.
20
+
21
+ ```ts
22
+ import type { NimiLocalAppClient } from '@nimiplatform/sdk/app';
23
+ import { createNimiLocalAppTextModel } from '@nimiplatform/sdk/ai';
24
+
25
+ export async function answer(
26
+ client: NimiLocalAppClient,
27
+ question: string,
28
+ signal: AbortSignal,
29
+ ) {
30
+ return createNimiLocalAppTextModel(client.ai).generateText({
31
+ messages: [{ role: 'user', content: [{ type: 'text', text: question }] }],
32
+ signal,
33
+ });
34
+ }
35
+ ```
36
+
37
+ The model executes one step. The App owns tool handlers and subsequent steps,
38
+ preserves ordered `outputItems` as `turnItems`, appends matching tool results,
39
+ and forwards cancellation. Preserve opaque `reasoning-continuity` bytes and
40
+ order without decoding or displaying them. Only complete successful output
41
+ can be treated as a finished result; partial JSON is not a validated object.
42
+
43
+ SDK 0.14.0's Local App binding supports function tools, tool choice,
44
+ structured `responseFormat` and user image parts with Kit/native 0.10.0 and a
45
+ matching Runtime. HTTP(S) image file parts and owned image `artifact-ref` parts
46
+ preserve their order with text. Upload local image bytes through
47
+ `client.ai.artifacts.upload`; do not put file paths or data URLs in model
48
+ requests. SDK 0.12.0 / Kit 0.8.0 retain their text-only binding. Other media
49
+ methods have separate contracts, and each selected execution configuration
50
+ must support the requested modality and controls.
51
+
52
+ ## Local App speech support boundaries
53
+
54
+ SDK 0.14.0 with Kit/native 0.10.0 and the matching Runtime carries a typed
55
+ `job.transcription` on completed `speech-transcribe` jobs. It contains `status`
56
+ (`transcribed` or `no-speech`), original `text`, model-reported `language` and
57
+ ordered `words` with `text`, `startSeconds` and `endSeconds`. Plain transcription
58
+ resources can leave language and words empty. Aligned results also leave
59
+ `language` empty when recognition did not report it; real words and timestamps
60
+ can still be present. Requesting `timestamps: true`
61
+ requires a resource with actual alignment support; unsupported requests fail.
62
+ The request's `language` is an input hint, not a detected-language result.
63
+
64
+ DashScope's `qwen-audio-3.0-asr-flash-streaming` and admitted
65
+ `fun-asr-realtime` models also execute finite `speech-transcribe` Jobs. The
66
+ matching Runtime accepts mono PCM WAV up to 300 seconds and 32 MiB, waits for
67
+ the provider's successful terminal event, and publishes its final text and
68
+ actual word times. Partial hypotheses are not completed results. Detected
69
+ language remains empty because this protocol does not report it; empty output
70
+ is an error, not an inferred `no-speech`. Prompt, response-format and diarization
71
+ controls are unsupported. The provider's WebSocket transport does not turn
72
+ these Jobs into public realtime sessions. Longer audio remains App chunking.
73
+
74
+ For the local Qwen3 aligned recipe, an explicit supported input language can
75
+ guide the aligner when recognition returns text without a language label.
76
+ That hint is never copied into the result's `language`. Without a reported
77
+ language or an explicit supported hint, alignment fails; an unsupported
78
+ reported language is not overridden by the hint. Apps can use their selected
79
+ source language for downstream processing while retaining missing detection
80
+ as unknown.
81
+
82
+ ```ts
83
+ const { job } = await client.ai.scenarioJobs.get(jobId);
84
+ if (job.status === 'completed' && job.scenarioType === 'speech-transcribe') {
85
+ const transcript = job.transcription;
86
+ if (transcript?.status === 'transcribed') {
87
+ for (const word of transcript.words) {
88
+ console.log(word.text, word.startSeconds, word.endSeconds);
89
+ }
90
+ }
91
+ }
92
+ ```
93
+
94
+ `transcriptionText` remains the same original text for text-only consumers.
95
+ Use the typed result rather than decoding artifact JSON. `no-speech` has empty
96
+ text, language and words; it is distinct from invalid input and inference
97
+ failure. The complete result is limited to 1 MiB and 16,384 alignment units.
98
+
99
+ The local Qwen3 Transformers aligned recipe captures both the recognition
100
+ model and its forced aligner in the selected Loadout. It accepts at most 300
101
+ seconds per request and supports zh/en/yue/fr/de/it/ja/ko/pt/ru/es. Times are
102
+ actual model alignment relative to the submitted audio's zero point, with
103
+ pauses retained. The current aligner has 80 ms resolution. Units can be CJK
104
+ characters; they are not guaranteed to be linguistic words. Text retains
105
+ punctuation. For longer media, the App splits input and adds each source chunk
106
+ offset exactly once; Runtime does not own App chunking or subtitle assembly.
107
+ This route does not provide diarization, speaker counts, or a standalone
108
+ alignment operation for caller-supplied transcripts.
109
+
110
+ The local Faster Whisper recipe instead captures a CTranslate2 Whisper model
111
+ and a Silero ONNX voice activity detector. It also accepts up to 300 seconds
112
+ and returns real word times on the original input timeline; it does not offer
113
+ diarization or prompts. A caller-specified language is a hint, not detected
114
+ language, so that result field stays empty when the request fixes the language.
115
+ The recognizer receives the full audio: VAD alone cannot discard weak or
116
+ synthetic speech. No-speech requires both no recognized segments and no speech
117
+ detected by the captured VAD. Empty recognition after detected speech fails.
118
+ Neither recipe guarantees error-free subtitles; retain source timing and use
119
+ the App's proofreading workflow when recognition or alignment is inaccurate.
120
+
121
+ Select the intended Loadout for `audio.transcribe` in Nimi's model configuration first.
122
+ The App's AIConfig Local intent is the route marker `local: {}` and carries no
123
+ Loadout reference; the machine's current selection is captured at new Job
124
+ admission. `listOptions({ kind: 'local-loadouts', capabilityContract:
125
+ 'audio.transcribe' })` exposes that current selection, not every saved Loadout.
126
+
127
+ Local `audio-separate` jobs consume `mimeType` and the same bytes/HTTPS URI
128
+ `audioSource` shape as transcription. Choose the Demucs separation Loadout for
129
+ `audio.separate` in Nimi, then declare that capability's `local: {}` App intent.
130
+ The initial Driver accepts at most 300 seconds and 32 MiB per input. Split longer
131
+ sources in the App while retaining their offsets and complete timeline.
132
+
133
+ A completed Job's `audioSeparation` names `vocalsArtifactId` and
134
+ `backgroundArtifactId`. Both refer to that Job's audio artifacts and preserve
135
+ the input zero point, duration and pauses; background is the model's summed
136
+ non-vocal sources. Read sample rate and channel count from the artifact records.
137
+ The current Driver produces float WAV audio, which can exceed inline limits.
138
+ Receive it through `client.storage.assets.adoptArtifact`. Use the returned
139
+ record's `relativePath` for reads, previews and removal: Runtime normalizes the
140
+ filename extension to the actual artifact media type, so the requested path is
141
+ not necessarily the stored path. For example, requesting `transfers/result`
142
+ for a WAV artifact returns `transfers/result.wav`.
143
+
144
+ ```ts
145
+ const adopted = await client.storage.assets.adoptArtifact({ artifactId, relativePath });
146
+ const received = await client.storage.assets.read({ relativePath: adopted.relativePath });
147
+ ```
148
+
149
+ Consume `received.body` fully before committing the App's result. If the asset
150
+ was a temporary transfer, remove `adopted.relativePath` only after reception.
151
+ Treat the pair as complete in the App only after both outputs have been received.
152
+ Do not infer roles from filenames, replace background with the input mix, or
153
+ count a canceled/failed Job as a partial success.
154
+
155
+ Check required inputs and outputs before migrating a workflow. A missing
156
+ configuration, an implementation defect in an existing contract, and a required
157
+ new capability are different integration outcomes. Report the expected result
158
+ and actual supported interface rather than silently dropping a core feature.
159
+
160
+ ### Interactive dictation with finite transcription jobs
161
+
162
+ An App that already implements windowed dictation can submit its bounded audio
163
+ windows as `speech-transcribe` Jobs. Capture, silence detection, window offsets,
164
+ draft display, utterance commits and document storage remain App-owned. Show
165
+ only actual recognized text as a draft; a later window may revise it. Serialize
166
+ or bound pending work so a slower recognizer cannot create an unbounded queue.
167
+ Pause capture without inventing a transcript, drain the final window on an
168
+ explicit stop, and cancel in-flight Jobs on discard. Ignore late results from a
169
+ discarded capture generation and retain already committed utterances without
170
+ appending them again in the final document.
171
+
172
+ This composition does not make a finite recognizer a native streaming Driver.
173
+ Verify its actual latency and pause/stop/cancel behavior in the App. The separate
174
+ `client.ai.realtime` interface implements `realtime.interact`; its presence does
175
+ not establish a local, transcription-only route. Do not silently substitute a
176
+ Cloud conversation model for local dictation.
177
+
178
+ ### Creating and reusing voices
179
+
180
+ SDK 0.15.0 and Kit/native 0.11.0 expose optional `referenceAudioInput` on
181
+ AIConfig effective Local resources and Cloud targets, also present in their
182
+ options. Read it from the selected `voice.create` resource. It contains
183
+ `supportsBytes`, `supportsUri`, `textMode` (`unsupported`, `optional`, or
184
+ `required`) and `mimeTypes`. Missing metadata means unknown or inapplicable;
185
+ an empty MIME list means formats are not enumerated. Neither means arbitrary
186
+ input support. Runtime still validates the actual request at admission.
187
+
188
+ When `textMode` is `unsupported`, pass `text: ''` in the SDK's reference-audio
189
+ spec and keep any transcript in App storage. When optional, send the actual
190
+ reference transcript if available; when required, request one before creating
191
+ the voice. Do not select these behaviors by provider/model name. Local Qwen3
192
+ reference workflows accept both public URI and bytes with optional text; the
193
+ Runtime captures a URI into private bytes and empty text uses the model's
194
+ reference-only mode. Choosing URI input never uploads an existing local file.
195
+
196
+ Submit `voice-create` through `client.ai.scenarioJobs` with exactly one
197
+ `creationSource`: `reference-audio` (audio bytes or HTTPS URI, MIME type and
198
+ optional reference transcript in `text`) or `text-description` (instruction and
199
+ preview text). Read the completed Job with `get(jobId)` to obtain `asset` and
200
+ `voiceReference`. For synthesis, pass the returned asset identity as
201
+ `voiceRef: { type: 'voice-asset', id: asset.voiceAssetId }` in a
202
+ `speech-synthesize` Job. Creation success is not proof that playable audio was
203
+ generated; the local Qwen3 creation paths return a voice handle and
204
+ requires a synthesis Job to produce the preview audio.
205
+
206
+ Both operations use their own committed capability configuration. The selected
207
+ `voice.create` implementation must support `input.audio` or `input.text` for the
208
+ requested source. Separate local Qwen3 clone and design recipes require their
209
+ respective Loadouts; synthesis also needs a compatible selected Loadout. A source
210
+ field does not switch a model or route. Expose unmet configuration to the user instead
211
+ of retrying through a different engine. Existing engine-specific seed, sampling
212
+ or guidance controls must not be silently mapped to unrelated public fields.
213
+
214
+ For DashScope Qwen-Audio 3.0 voices, select the same current TTS model for
215
+ `voice.create` and `audio.synthesize`. Both Plus and Flash use the provider's
216
+ voice-enrollment and SpeechSynthesizer protocols. Reference-audio creation
217
+ requires a publicly reachable HTTP(S) URI; inline bytes and a local file path
218
+ are not supported by this provider workflow. Nimi does not publish an App's
219
+ private audio to obtain a URL. Preserve the user's reference URI explicitly,
220
+ or select a configuration that accepts bytes. A cloned voice's target model
221
+ must match later synthesis. The current provider accepts 16-bit WAV, MP3 or
222
+ M4A, at least 16 kHz, at most 60 seconds and 10 MB; it recommends 10–20 seconds
223
+ with at least five seconds of continuous clear speech. Stereo uses the first
224
+ channel. The reference transcript is unsupported for this workflow; retain it
225
+ as business metadata rather than submitting it as a model prompt. Check the
226
+ [provider's reference requirements](https://help.aliyun.com/zh/model-studio/voice-cloning-user-guide)
227
+ when preparing a new sample. Voice design accepts an English or Chinese
228
+ description of at most 500 characters and a preview of 15–200 characters in
229
+ the same supported language. Synthesis supports additional languages,
230
+ including Spanish; that does not expand the design preview's language range.
231
+ The App keeps voice metadata and audition/export files in its business storage.
232
+
233
+ The current local Qwen3 synthesis Driver accepts WAV output and no timing mode
234
+ beyond `none`. It rejects supplied `speed`, `pitch`, `volume`, `sampleRateHz` and
235
+ `voiceRenderHints`, including explicit neutral values such as `speed: 1`. Omit
236
+ those fields. When the product's playback speed or delivery format is a
237
+ deterministic media-editing operation, preserve it in the App after generation
238
+ (for example, FFmpeg tempo conversion), using the actual decoded audio format.
239
+ That post-processing is distinct from a model's acoustic generation control.
240
+
241
+ Qwen3 Base reference-voice synthesis does not provide per-utterance style or
242
+ emotion instructions. The CustomVoice preset path maps `emotion` to its own
243
+ natural-language instruction; this does not establish support for Base voice
244
+ assets. A `voice-create` design instruction describes the voice being created,
245
+ not a later utterance's prosody. Other engines' inline expression tokens, such
246
+ as OmniVoice's `[laughter]` or `[question-en]`, have no defined Qwen3 mapping.
247
+ Keep unsupported model-specific controls explicit instead of silently mapping
248
+ them to another field or assuming literal text will produce the intended effect.
249
+
250
+ For a library that mixes cloned and designed voices, select the explicit
251
+ **Qwen3 design and reference voice library** recipe for `voice.create`. Bind its
252
+ Base and VoiceDesign models independently, and select that same Base ModelAsset
253
+ for `audio.synthesize`. The library admits both source features in one captured
254
+ configuration. A `text-description` Job requires nonempty `previewText`, runs
255
+ VoiceDesign to create real reference audio, then returns a Base-compatible voice
256
+ asset containing that reference. Reference-audio creation uses the supplied
257
+ audio. Both kinds of asset subsequently synthesize with Base, so a story or
258
+ batch can mix them without changing the machine selection. Wait for creation to
259
+ complete before requesting audition audio; design creation now includes model
260
+ execution and follows the ordinary Job timeout and cancellation lifecycle.
261
+
262
+ Keep business voice names, descriptions, original reference audio and transcript,
263
+ and saved previews in App storage. A Runtime VoiceAsset is not the App's voice
264
+ library record or a permanent audio backup. Save the `voiceAssetId` actually
265
+ used for an approved take and reuse it to synthesize with that same voice;
266
+ there is no requirement to clone every audition again. Runtime revalidates its
267
+ owner, status and target compatibility. An expired or incompatible asset fails
268
+ explicitly rather than causing hidden recreation, upload or route switching.
269
+ This retains the voice identity, not identical audio or prosody on every take.
270
+
271
+ If the user instead chooses actual sample audio as a new reference, or edits,
272
+ denoises or replaces the reference, invalidate the previous reference/asset
273
+ association and use `reference-audio` creation for that new input. A cached
274
+ source VoiceAsset does not represent edited output audio. Preserve the actual
275
+ chosen audio and transcript in either workflow, distinguish the two actions in
276
+ the product, and apply normal resource eligibility and configuration checks.
277
+
278
+ ## Persisting results and resuming jobs
279
+
280
+ Runtime Job storage is bounded execution state, not the App's project database.
281
+ The current Runtime retains terminal Jobs for up to 30 minutes and applies a
282
+ count limit. Save complete validated results in App-managed storage while the
283
+ Job is available; adopt output artifacts when the project needs to retain them.
284
+ Persisting only a Job ID does not preserve its result or artifact bytes.
285
+
286
+ When resuming a project, reuse complete App-owned results. If a step has only
287
+ an old Job ID, and the normal public Job read explicitly returns `not-found`,
288
+ record that reference as unavailable. An explicit continue/retry action may
289
+ then submit that unfinished step again from its original input and save the new
290
+ ID. Do not poll a missing Job indefinitely, mark it completed, or rerun already
291
+ completed project steps. Permission, session and transport errors are different
292
+ failures and must not trigger the missing-Job recovery path.
293
+
294
+ ## Structured text
295
+
296
+ `createNimiLocalAppTextModel(client.ai)` binds text generation to an installed
297
+ App's protected session. Its name does not restrict execution to a local model:
298
+ the App's committed AI configuration chooses Local or Cloud.
299
+
300
+ Request JSON with `responseFormat: { type: 'json-object' }` and consume it only
301
+ after `generateText` completes. A configured route is not proof that every text
302
+ behavior is available; unsupported behavior fails before dispatch, and malformed
303
+ model output remains a failure. Do not extract a plausible JSON fragment or
304
+ change providers automatically to turn that failure into success.
305
+
306
+ The matching development Runtime admits DeepSeek `deepseek-flash` (currently
307
+ served by V4.1 Flash), `deepseek-v4-flash` and `deepseek-v4-pro`. These provider
308
+ API names are not immutable weight-version pins. Record the exact configured
309
+ target and test date when comparing results; prefer the current `deepseek-flash`
310
+ name for new Flash selections.
311
+
312
+ The exact adapters support JSON-object output or native function-tool calls,
313
+ including streamed completion, complete tool arguments and tool-result turns.
314
+ These are separate admitted combinations: do not combine tools and JSON output.
315
+ Thinking is disabled; requested reasoning, JSON Schema, media input, `topK` and
316
+ `seed` are not admitted by this slice. The App still uses the same model interface
317
+ and AI configuration; it never calls DeepSeek directly or executes a model's
318
+ tool request inside Runtime.
319
+
320
+ ## Language analysis
321
+
322
+ Use the `text.annotate` AI configuration capability and submit an asynchronous
323
+ `text-annotate` Job through the existing scenario Job API:
324
+
325
+ ```ts
326
+ const { job } = await client.ai.scenarioJobs.submit({
327
+ type: 'text-annotate',
328
+ language: 'en',
329
+ texts: ['A sentence to analyze.'],
330
+ });
331
+ // Subscribe or get this Job through the same scenarioJobs service.
332
+ // Read job.textAnnotation only after status === 'completed'.
333
+ ```
334
+
335
+ `texts` is an ordered batch of
336
+ 1–64 strings, including empty strings, totaling at most 512 KiB of UTF-8.
337
+ The completed Job's `textAnnotation.documents` preserves that batch order and
338
+ the exact original text and whitespace. Each document contains:
339
+
340
+ - `text`, `language` and an ordered `tokens` array.
341
+ - Each token's `text`, `start`, `end`, `headIndex`, `partOfSpeech`, `dependency`
342
+ and `isPunctuation`.
343
+ - `sentences`, each with `startToken` and exclusive `endToken`.
344
+
345
+ Token `start`/`end` count **Unicode scalar values**, not UTF-8 bytes or JavaScript
346
+ UTF-16 code units. Python can slice its original string directly; JavaScript can
347
+ use `Array.from(document.text).slice(start, end).join('')`. Token array positions
348
+ are their indices, heads are document-local, and a span's original text extends
349
+ from its first token's start to its last token's end. Sentence spans partition
350
+ the token array. Empty documents have no tokens or sentences.
351
+
352
+ The initial local spaCy implementation uses the original md 3.8.0 pipelines for
353
+ en/de/es/fr/it/ru/zh/ja. The active Nimi model configuration must contain the
354
+ pipeline for the requested language. `language` validates that choice; it does
355
+ not override machine selection. Model installation and dependency preparation
356
+ belong to Nimi, and inference never downloads a model in the App. A batch is
357
+ bounded to 65536 tokens and a 16 MiB normalized result; oversized or failed analysis
358
+ returns failure rather than partial annotations. Keep subtitle splitting rules,
359
+ translation, time matching, project state and repeated analysis in the App.
360
+ These annotations contain no audio timestamps or generated replacement text.
361
+
362
+ This addition requires a matching development Runtime, SDK, Kit and native
363
+ package set. Keep using the documented local tarball workflow during iteration;
364
+ package publication is not a development prerequisite.
365
+
366
+ ## Public entry points
367
+
368
+ | Import | Purpose |
369
+ | --- | --- |
370
+ | `@nimiplatform/sdk/app` | Host-bound App client, standard shell contracts and typed App operations. |
371
+ | `@nimiplatform/sdk/ai` | Model interfaces and the Local App text model binding. |
372
+ | `@nimiplatform/sdk/contracts` | Shared messages, content parts, tool and ordered result values. |
373
+ | `@nimiplatform/sdk/ai-runner` | External-host execution helpers; they do not move App workflow state into Runtime. |
374
+ | `@nimiplatform/sdk/runtime` | Public Runtime clients for their explicitly supported consumer contexts. This is not a Local App authorization bypass. |
375
+ | `@nimiplatform/sdk/realm` | Public Realm clients for their supported contexts; App Realm operations use the App client. |
376
+
377
+ The installed package's `exports` and `.d.ts` files define the exact callable
378
+ surface. Framework adapters are separate packages; do not infer that an
379
+ adapter is publicly available from a source-workspace directory.
380
+
381
+ For Vercel AI SDK 6 Apps, `@nimiplatform/sdk-adapter-vercel-ai` 0.2.0 provides
382
+ `createNimiLocalAppVercelLanguageModel({ ai: client.ai })` for `streamText` and
383
+ the existing UI/tool-loop protocol. Read its package README before mapping
384
+ images or conversation history; preserve text/tool provider metadata for opaque
385
+ continuity. It uses SDK 0.14.0 and the matched Kit/native carrier above.
386
+
387
+ Source and issue reporting: [nimiplatform/nimi](https://github.com/nimiplatform/nimi).
388
+ Include the selected SDK, Kit, App Tools and Runtime versions, the actual App
389
+ operation, expected/observed behavior, and a bounded reproduction.
390
+
391
+ Licensed under [Apache-2.0](LICENSE).
@@ -1,3 +1,4 @@
1
+ import { type NimiVoiceReferenceInputCapabilities } from './voice-reference-input.js';
1
2
  import type { AIConfig, AIConfigCapabilityIntent, AIConfigOwner, GetAppAIConfigRequest, GetAppAIConfigResponse, ListAppAIConfigOptionsRequest, ListAppAIConfigOptionsResponse, OverwriteAppAIConfigRequest, OverwriteAppAIConfigResponse } from '../../core-generated/runtime-protobuf/runtime/v1/capability_configuration.js';
2
3
  import type { RuntimeTypedCallOptions } from '../../core-generated/runtime-typed-client.js';
3
4
  import { type NimiTextBehaviorCapabilityProjection } from '../../runtime/text-behavior-projections.js';
@@ -76,6 +77,7 @@ export type NimiSharedLocalAgentAIConfigOptionsQuery = NimiAIConfigOptionsQuery
76
77
  readonly kind: 'voice-assets';
77
78
  };
78
79
  export type NimiAIConfigLocalLoadoutOption = {
80
+ readonly referenceAudioInput?: NimiVoiceReferenceInputCapabilities;
79
81
  readonly loadoutRef: string;
80
82
  readonly label: string;
81
83
  readonly capabilityContract: string;
@@ -98,6 +100,7 @@ export type NimiAIConfigCloudConnectorOption = {
98
100
  readonly reasons: readonly string[];
99
101
  };
100
102
  export type NimiAIConfigCloudTargetOption = {
103
+ readonly referenceAudioInput?: NimiVoiceReferenceInputCapabilities;
101
104
  readonly connectorRef: string;
102
105
  readonly label: string;
103
106
  readonly capabilityContract: string;
@@ -1 +1 @@
1
- {"version":3,"file":"capability-configuration.d.ts","sourceRoot":"","sources":["../../../core/ai/capability-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EAMxB,aAAa,EAEb,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,2EAA2E,CAAC;AAInF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF,OAAO,EAEL,KAAK,oCAAoC,EAC1C,MAAM,yCAAyC,CAAC;AAE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O,CAAC,oBAAoB,CAAC,CAAC;IACtE,SAAS,CACP,KAAK,EAAE,0BAA0B,EACjC,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC,WAAW,CACT,KAAK,EAAE,wBAAwB,EAC/B,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC;AAED,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAClD,qBAAqB,EACrB,KAAK,GAAG,WAAW,GAAG,aAAa,CACpC,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,CAOvE;AAID;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE;IACnD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,wBAAwB,CAAA;KAAE,GAAG,wBAAwB,CAAC;CACxF,GAAG,qBAAqB,CAKxB;AAED;;;GAGG;AAEH,wBAAgB,uCAAuC,CAAC,OAAO,EAAE;IAC/D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE;QAAE,QAAQ,CAAC,EAAE,EAAE,wBAAwB,CAAA;KAAE,GAAG,wBAAwB,CAAC;CACxF,GAAG,iCAAiC,CAGpC"}
@@ -1,3 +1,4 @@
1
+ import { projectVoiceReferenceInput } from './voice-reference-input.js';
1
2
  import { Struct as RuntimeStruct } from '../../core-generated/runtime-protobuf/google/protobuf/struct.js';
2
3
  import { AIConfigEffectiveState } from '../../core-generated/runtime-protobuf/runtime/v1/capability_configuration.js';
3
4
  import { ReasonCode as RuntimeReasonCode } from '../../core-generated/runtime-protobuf/runtime/v1/common.js';
@@ -192,6 +193,7 @@ function projectCloudTargetResource(value) {
192
193
  }),
193
194
  providerModelTarget: RuntimeStruct.toJson(value.providerModelTarget),
194
195
  supportedFeatures: Object.freeze([...value.supportedFeatures]),
196
+ ...(value.referenceAudioInput ? { referenceAudioInput: projectVoiceReferenceInput(value.referenceAudioInput) } : {}),
195
197
  state: value.state === AIConfigEffectiveState.AI_CONFIG_EFFECTIVE_STATE_READY ? 'ready' : 'blocked',
196
198
  reasons: Object.freeze([...value.reasons]),
197
199
  });
@@ -211,6 +213,7 @@ function projectLocalResource(value) {
211
213
  implementationSupportedFeatures: Object.freeze([...value.implementationSupportedFeatures]),
212
214
  configuredFeatures: Object.freeze([...value.configuredFeatures]),
213
215
  textBehaviors: projectNimiTextBehaviorCapabilities(value.textBehaviors),
216
+ ...(value.referenceAudioInput ? { referenceAudioInput: projectVoiceReferenceInput(value.referenceAudioInput) } : {}),
214
217
  state: value.state === AIConfigEffectiveState.AI_CONFIG_EFFECTIVE_STATE_READY ? 'ready' : 'blocked',
215
218
  reasons: Object.freeze([...value.reasons]),
216
219
  });
@@ -1 +1 @@
1
- {"version":3,"file":"capability-configuration.js","sourceRoot":"","sources":["../../../core/ai/capability-configuration.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,sBAAsB,EAAE,MAAM,2EAA2E,CAAC;AACnH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAE1G,OAAO,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EACL,mCAAmC,GAEpC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAC3C,MAAM,+BAA+B,GAAG,GAAG,CAAC;AAC5C,MAAM,iCAAiC,GAAG,GAAG,CAAC;AAC9C,MAAM,iCAAiC,GAAG,EAAE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AS,oBAAoB,CAAC,OAAe;IAC3C,MAAM,eAAe,CAAC;QACpB,OAAO;QACP,IAAI,EAAE,UAAU,CAAC,oBAAoB;QACrC,UAAU,EAAE,UAAU,CAAC,oBAAoB;QAC3C,UAAU,EAAE,iCAAiC;QAC7C,MAAM,EAAE,KAAK;KACd,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"capability-configuration.js","sourceRoot":"","sources":["../../../core/ai/capability-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAA4C,MAAM,4BAA4B,CAAC;AAkBlH,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,sBAAsB,EAAE,MAAM,2EAA2E,CAAC;AACnH,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAE1G,OAAO,EAAE,kCAAkC,EAAE,MAAM,6BAA6B,CAAC;AACjF,OAAO,EACL,mCAAmC,GAEpC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,MAAM,8BAA8B,GAAG,GAAG,CAAC;AAC3C,MAAM,+BAA+B,GAAG,GAAG,CAAC;AAC5C,MAAM,iCAAiC,GAAG,GAAG,CAAC;AAC9C,MAAM,iCAAiC,GAAG,EAAE,CAAC;AAC7C,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAoMxC,MAAM,UAAU,0BAA0B,CAAC,KAAa;IACtD,OAAO;QACL,KAAK,EAAE;YACL,SAAS,EAAE,KAAK;YAChB,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,KAAK,EAAE,mCAAmC,CAAC,EAAE;SACxE;KACF,CAAC;AACJ,CAAC;AAED,uDAAuD;AACvD,uDAAuD;AACvD;;;;GAIG;AACH,MAAM,UAAU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AS,oBAAoB,CAAC,OAAe;IAC3C,MAAM,eAAe,CAAC;QACpB,OAAO;QACP,IAAI,EAAE,UAAU,CAAC,oBAAoB;QACrC,UAAU,EAAE,UAAU,CAAC,oBAAoB;QAC3C,UAAU,EAAE,iCAAiC;QAC7C,MAAM,EAAE,KAAK;KACd,CAAC,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"local-app-model.d.ts","sourceRoot":"","sources":["../../../core/ai/local-app-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAK5F,OAAO,EAAyB,KAAK,WAAW,EAAgC,MAAM,SAAS,CAAC;AA8ChG;;;GAGG;AAEH,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,IAAI,CAAC,+BAA+B,EAAE,MAAM,CAAC,GAAG,WAAW,CA2C1G"}
1
+ {"version":3,"file":"local-app-model.d.ts","sourceRoot":"","sources":["../../../core/ai/local-app-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAK5F,OAAO,EAAyB,KAAK,WAAW,EAAgC,MAAM,SAAS,CAAC;AAqEhG;;;GAGG;AAEH,wBAAgB,2BAA2B,CAAC,EAAE,EAAE,IAAI,CAAC,+BAA+B,EAAE,MAAM,CAAC,GAAG,WAAW,CA4C1G"}