@nimiplatform/app-tools 0.7.5 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -5
- package/bin/nimi-app.mjs +11 -3
- package/lib/app-access-declaration.mjs +1 -0
- package/lib/app-dependency-combinations.mjs +15 -28
- package/lib/app-doctor-update.mjs +66 -7
- package/lib/app-info.mjs +8 -1
- package/lib/app-project-lifecycle.mjs +82 -9
- package/lib/app-scaffold-capabilities.mjs +3 -3
- package/lib/app-scaffold-profiles.mjs +96 -26
- package/lib/app-scaffold.mjs +54 -7
- package/lib/canonical-capability-ids.generated.mjs +4 -0
- package/package.json +26 -25
- package/scripts/dev-shell.mjs +61 -17
- package/skills/nimi-app-lifecycle/references/acceptance.md +1 -1
- package/skills/nimi-app-lifecycle/references/adapt.md +2 -2
- package/skills/nimi-app-lifecycle/references/release.md +1 -1
- package/skills/nimi-app-lifecycle/references/upgrade-platform.md +14 -0
- package/templates/app-source/src/ai-studio-core/ai-config.ts +17 -3
- package/templates/app-source/src/ai-studio-core/ai-studio-core.css +40 -3
- package/templates/app-source/src/ai-studio-core/audio-separation-request.ts +24 -0
- package/templates/app-source/src/ai-studio-core/contexts.tsx +4 -0
- package/templates/app-source/src/ai-studio-core/history-policy.ts +395 -41
- package/templates/app-source/src/ai-studio-core/history.ts +262 -10
- package/templates/app-source/src/ai-studio-core/host-context.tsx +15 -2
- package/templates/app-source/src/ai-studio-core/index.ts +15 -4
- package/templates/app-source/src/ai-studio-core/job-recovery-panel.tsx +105 -0
- package/templates/app-source/src/ai-studio-core/job-recovery.ts +224 -0
- package/templates/app-source/src/ai-studio-core/managed-result-references.ts +79 -0
- package/templates/app-source/src/ai-studio-core/messages/en.json +185 -10
- package/templates/app-source/src/ai-studio-core/messages/zh.json +185 -10
- package/templates/app-source/src/ai-studio-core/module-registration.ts +9 -1
- package/templates/app-source/src/ai-studio-core/non-success-presentation.ts +81 -2
- package/templates/app-source/src/ai-studio-core/parameters.ts +34 -1
- package/templates/app-source/src/ai-studio-core/runtime-types.ts +124 -8
- package/templates/app-source/src/ai-studio-core/runtime.ts +218 -20
- package/templates/app-source/src/ai-studio-core/section-ai-testing-annotation-result.tsx +123 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-artifact-preview.ts +3 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-audio-separation-result.tsx +26 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-composer.tsx +14 -7
- package/templates/app-source/src/ai-studio-core/section-ai-testing-decision-result.tsx +76 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-exchange-result.tsx +71 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-history.tsx +20 -4
- package/templates/app-source/src/ai-studio-core/section-ai-testing-input.ts +29 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-music-result.tsx +45 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-output.tsx +132 -10
- package/templates/app-source/src/ai-studio-core/section-ai-testing-result.tsx +122 -38
- package/templates/app-source/src/ai-studio-core/section-ai-testing-run.ts +4 -3
- package/templates/app-source/src/ai-studio-core/section-ai-testing-session-result.tsx +66 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-studio-result.tsx +100 -22
- package/templates/app-source/src/ai-studio-core/section-ai-testing-surface.tsx +6 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-transcript-result.tsx +45 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-transcription-result.tsx +106 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-vision-result.tsx +23 -4
- package/templates/app-source/src/ai-studio-core/section-ai-testing-voice-asset-actions.tsx +40 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing-voice-conversion-result.tsx +20 -0
- package/templates/app-source/src/ai-studio-core/section-ai-testing.tsx +219 -35
- package/templates/app-source/src/ai-studio-core/text-annotation-document.ts +50 -0
- package/templates/app-source/src/ai-studio-core/text-media-replay.ts +51 -0
- package/templates/app-source/src/ai-studio-core/voice-assets.ts +17 -0
- package/templates/app-source/src/ai-studio-core/workspace.tsx +48 -6
- package/templates/app-source/src/studio-modules/studio-create/descriptors.ts +1 -1
- package/templates/app-source/src/studio-modules/studio-create/messages/en.json +13 -1
- package/templates/app-source/src/studio-modules/studio-create/messages/zh.json +13 -1
- package/templates/app-source/src/studio-modules/studio-create/parameter-panel.tsx +11 -2
- package/templates/app-source/src/studio-modules/studio-create/parameters.ts +2 -2
- package/templates/app-source/src/studio-modules/studio-create/registration.ts +2 -2
- package/templates/app-source/src/studio-modules/studio-create/runtime.ts +121 -3
- package/templates/app-source/src/studio-modules/studio-media/audio-separate-parameters.tsx +72 -0
- package/templates/app-source/src/studio-modules/studio-media/audio-separate-runtime.ts +90 -0
- package/templates/app-source/src/studio-modules/studio-media/descriptors.ts +16 -1
- package/templates/app-source/src/studio-modules/studio-media/index.ts +2 -0
- package/templates/app-source/src/studio-modules/studio-media/messages/en.json +225 -7
- package/templates/app-source/src/studio-modules/studio-media/messages/zh.json +225 -7
- package/templates/app-source/src/studio-modules/studio-media/music-parameters.tsx +85 -0
- package/templates/app-source/src/studio-modules/studio-media/music-transcription-parameters.tsx +85 -0
- package/templates/app-source/src/studio-modules/studio-media/music-transcription-runtime.ts +64 -0
- package/templates/app-source/src/studio-modules/studio-media/parameter-panel.tsx +9 -26
- package/templates/app-source/src/studio-modules/studio-media/parameters.ts +170 -6
- package/templates/app-source/src/studio-modules/studio-media/registration.ts +29 -1
- package/templates/app-source/src/studio-modules/studio-media/runtime.ts +90 -6
- package/templates/app-source/src/studio-modules/studio-media/vision-parameters.tsx +1 -0
- package/templates/app-source/src/studio-modules/studio-media/vision-runtime.ts +23 -5
- package/templates/app-source/src/studio-modules/studio-media/voice-convert-parameters.tsx +132 -0
- package/templates/app-source/src/studio-modules/studio-media/voice-convert-runtime.ts +120 -0
- package/templates/app-source/src/studio-modules/studio-voice/audio-url.ts +25 -0
- package/templates/app-source/src/studio-modules/studio-voice/messages/en.json +4 -4
- package/templates/app-source/src/studio-modules/studio-voice/messages/zh.json +4 -4
- package/templates/app-source/src/studio-modules/studio-voice/parameters.ts +28 -0
- package/templates/app-source/src/studio-modules/studio-voice/runtime.ts +66 -30
- package/templates/app-source/src/workbench-core/index.ts +2 -0
- package/templates/app-source/src/workbench-core/runtime-gate.tsx +102 -6
- package/templates/app-source/src/workbench-core/workbench-core.css +42 -0
- package/templates/app-source/src/workbench-core/workbench-core.tsx +69 -18
- package/templates/app-source.manifest.json +100 -0
- package/templates/default-starter/README.md +2 -1
- package/templates/default-starter/src/shell/workbench-target-adapter.ts +102 -12
- package/templates/default-starter.manifest.json +0 -4
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
"close": "Close",
|
|
5
5
|
"copy": "Copy",
|
|
6
6
|
"copied": "Copied",
|
|
7
|
-
"copyFailed": "Copy failed"
|
|
7
|
+
"copyFailed": "Copy failed",
|
|
8
|
+
"exportFailed": "The file could not be saved. Check that App storage and the host are available, then try again.",
|
|
9
|
+
"exportSaved": "File saved: {{path}}",
|
|
10
|
+
"exportSavedRevealFailed": "The file was saved to {{path}}, but its folder could not be shown. Open it from this path. Exporting again creates another file.",
|
|
11
|
+
"assetRevealed": "File shown in folder.",
|
|
12
|
+
"assetRevealFailed": "The folder could not be shown for {{path}}. The file has not been changed; try again when the host is available."
|
|
8
13
|
},
|
|
9
14
|
"History": {
|
|
10
15
|
"title": "History",
|
|
@@ -102,15 +107,19 @@
|
|
|
102
107
|
"emptyNone": "No runs yet",
|
|
103
108
|
"emptyFiltered": "No runs match these filters",
|
|
104
109
|
"loadFailedTitle": "History failed to load",
|
|
105
|
-
"saveFailedTitle": "History failed to save"
|
|
110
|
+
"saveFailedTitle": "History failed to save",
|
|
111
|
+
"deleteRecordAndDocument": "Delete record and its saved result",
|
|
112
|
+
"stopped": "Stopped"
|
|
106
113
|
},
|
|
107
114
|
"NonSuccess": {
|
|
115
|
+
"openAIConfig": "Open App AI configuration",
|
|
108
116
|
"title": {
|
|
109
117
|
"runtimeUnavailable": "Local AI is unavailable",
|
|
110
118
|
"inputInvalid": "Check your input",
|
|
111
119
|
"sdkMethodUnavailable": "Not supported in this version",
|
|
112
120
|
"principalUnauthorized": "Reconnect this app",
|
|
113
121
|
"operationAborted": "Cancellation pending",
|
|
122
|
+
"stoppedDirectCall": "Stopped",
|
|
114
123
|
"runtimeCanceled": "Task canceled",
|
|
115
124
|
"runtimeTimeout": "Task timed out",
|
|
116
125
|
"streamInterrupted": "Result stream interrupted",
|
|
@@ -118,7 +127,8 @@
|
|
|
118
127
|
},
|
|
119
128
|
"message": {
|
|
120
129
|
"runtimeUnavailable": "Runtime is unavailable for this request.",
|
|
121
|
-
"inputInvalid": "
|
|
130
|
+
"inputInvalid": "One or more inputs or parameters in this request are invalid.",
|
|
131
|
+
"transcriptionInputInvalid": "The recording or transcription settings are invalid.",
|
|
122
132
|
"sdkMethodUnavailable": "This capability is not available in the current app build.",
|
|
123
133
|
"principalUnauthorized": "Runtime rejected the protected owner for this request.",
|
|
124
134
|
"operationAborted": "A cancellation was requested, but Runtime has not confirmed the task's final state yet.",
|
|
@@ -126,11 +136,30 @@
|
|
|
126
136
|
"runtimeTimeout": "This task timed out.",
|
|
127
137
|
"streamInterrupted": "The live result connection ended before Runtime confirmed a final state.",
|
|
128
138
|
"runtimeCallFailed": "This generation could not be completed.",
|
|
129
|
-
"
|
|
139
|
+
"inputLimitExceeded": "The configured model cannot take this whole input. Nothing was shortened or answered in part.",
|
|
140
|
+
"textBehaviorUnsupported": "The selected model cannot run this request as set: its tools, structured output, reasoning or generation settings are not supported. No partial answer was accepted.",
|
|
141
|
+
"mediaOptionUnsupported": "The selected model cannot use one or more media settings in this request.",
|
|
142
|
+
"modalityUnsupported": "The selected configuration does not support one or more inputs or options in this request.",
|
|
143
|
+
"providerRateLimited": "The cloud service refused this request because a rate or usage limit was reached. For a ChatGPT plan connection, this is the plan's usage limit for this app.",
|
|
144
|
+
"mediaCodecUnavailable": "The audio and video tools required by this request were unavailable when it ran.",
|
|
145
|
+
"localLoadFailed": "The current on-device configuration could not run this request.",
|
|
146
|
+
"voiceInputRequired": "The selected speech model needs an explicit compatible voice before it can synthesize audio.",
|
|
147
|
+
"voiceTargetMismatch": "This voice asset was created for a different speech model and cannot be used with the current selection.",
|
|
148
|
+
"voiceUnavailable": "The selected voice is no longer available.",
|
|
149
|
+
"catalogStale": "The cloud model catalog changed after this model was chosen, so the saved choice has to be confirmed again. Nothing was sent to the cloud service.",
|
|
150
|
+
"catalogMismatch": "This cloud embedding model has no verified fixed output size, so it cannot run. Nothing was sent to the cloud service.",
|
|
151
|
+
"connectorDisabled": "The cloud connection this capability uses is turned off. Nothing was sent to the cloud service.",
|
|
152
|
+
"connectorCredentialMissing": "The cloud connection this capability uses has no usable API key or sign-in. Nothing was sent to the cloud service.",
|
|
153
|
+
"connectorNotFound": "The cloud connection this capability uses no longer exists. Nothing was sent to the cloud service.",
|
|
154
|
+
"configInvalid": "This capability's saved AI configuration can't run on the current Runtime, for example because its cloud service is no longer supported.",
|
|
155
|
+
"modelNotFound": "The selected model is not available: its cloud account does not offer it, or no admitted implementation exists for it. Nothing was generated.",
|
|
156
|
+
"fallback": "The generation did not complete.",
|
|
157
|
+
"stoppedDirectCall": "You stopped waiting for this call. A result that arrives later will not be shown."
|
|
130
158
|
},
|
|
131
159
|
"action": {
|
|
132
160
|
"runtimeUnavailable": "Return to Desktop, confirm Local AI is connected, then try again.",
|
|
133
|
-
"inputInvalid": "Review the prompt and
|
|
161
|
+
"inputInvalid": "Review the prompt, required inputs and parameters, correct them, then run it again.",
|
|
162
|
+
"transcriptionInputInvalid": "Choose a readable audio file and check its format and transcription settings before running again.",
|
|
134
163
|
"sdkMethodUnavailable": "Update the app, then try again.",
|
|
135
164
|
"principalUnauthorized": "Return to Desktop, reopen this app, then try again.",
|
|
136
165
|
"operationAborted": "Check the task status before starting another run.",
|
|
@@ -138,7 +167,25 @@
|
|
|
138
167
|
"runtimeTimeout": "Try again later. If it still times out, open Runtime details to find the cause.",
|
|
139
168
|
"streamInterrupted": "Check the task status; retry only after confirming it did not complete.",
|
|
140
169
|
"runtimeCallFailed": "Try again once. If it still fails, open Runtime details to find the cause.",
|
|
141
|
-
"
|
|
170
|
+
"inputLimitExceeded": "Shorten the input, or configure a model that accepts longer input, then run it again.",
|
|
171
|
+
"textBehaviorUnsupported": "Open Parameters and reset the settings this model does not accept, or choose a model that supports this behavior in Desktop AI Capabilities, then run again.",
|
|
172
|
+
"mediaOptionUnsupported": "Open Parameters and reset the unsupported settings, then run again. You can also choose a model that supports those settings in App AI configuration.",
|
|
173
|
+
"modalityUnsupported": "Change the request inputs or reset the unsupported options in Parameters before running again. You can also choose a configuration that supports the request.",
|
|
174
|
+
"providerRateLimited": "Wait and try again later. For a ChatGPT plan connection, review usage at {{usageUrl}}. You can also open App AI configuration and choose another model.",
|
|
175
|
+
"mediaCodecUnavailable": "In Nimi Desktop, open AI Capabilities → Advanced & Diagnostics → Audio and video tools. Install or repair it if needed, wait until the components are installed, then run this request again.",
|
|
176
|
+
"localLoadFailed": "Check that the inputs and parameters match the selected model. In Desktop AI Capabilities, confirm that its model and components are prepared, or repair the setup before running again. Runtime details show the reported failure.",
|
|
177
|
+
"voiceInputRequired": "Open Parameters and choose a supported preset or compatible local voice asset. If this model needs an asset and none is listed, create one under Voice Creation, then return here.",
|
|
178
|
+
"voiceTargetMismatch": "Choose a voice asset compatible with the current speech model, or create one under Voice Creation before retrying.",
|
|
179
|
+
"voiceUnavailable": "Open Parameters and choose an active voice compatible with this speech model. Repeating the deleted or expired voice request cannot restore it.",
|
|
180
|
+
"catalogStale": "Open App AI configuration, choose this capability's model again from the current list, then run it again.",
|
|
181
|
+
"catalogMismatch": "Open App AI configuration and choose an embedding model with a verified output size, then run it again.",
|
|
182
|
+
"connectorDisabled": "Open App AI configuration and choose a model from an available cloud service or this device, then run it again.",
|
|
183
|
+
"connectorCredentialMissing": "In Desktop Cloud Services, add an API key to this connection or sign in to it again, or open App AI configuration and choose another model, then run it again.",
|
|
184
|
+
"connectorNotFound": "Open App AI configuration, choose a model for this capability again, then run it again.",
|
|
185
|
+
"configInvalid": "Open App AI configuration, choose a model for this capability again, then run it again.",
|
|
186
|
+
"modelNotFound": "Open App AI configuration, choose an available model for this capability, then run it again.",
|
|
187
|
+
"fallback": "Try again. If it still fails, open Runtime details to find the cause.",
|
|
188
|
+
"stoppedDirectCall": "Run it again whenever you are ready."
|
|
142
189
|
},
|
|
143
190
|
"hint": {
|
|
144
191
|
"runtimeUnavailable": "Restore the protected Runtime connection, then retry the same request.",
|
|
@@ -174,6 +221,8 @@
|
|
|
174
221
|
"showRequestSettings": "Show request settings",
|
|
175
222
|
"hideRequestSettings": "Hide request settings",
|
|
176
223
|
"legacyRecordHint": "This older persisted run record contains only status metadata. Run it again to persist the typed result snapshot.",
|
|
224
|
+
"historyInputTruncated": "History keeps only the beginning of this long input, so this record cannot be reused as a draft or run again.",
|
|
225
|
+
"historyAdditionalDocumentsNotRetained": "Only the first document can be reused as a draft. Add the other documents again before running.",
|
|
177
226
|
"generationFailed": "Generation could not be completed",
|
|
178
227
|
"generationCanceled": "Generation canceled",
|
|
179
228
|
"cancelGeneration": "Cancel task",
|
|
@@ -190,7 +239,8 @@
|
|
|
190
239
|
"useAsDraft": "Use as draft",
|
|
191
240
|
"intentLabel": "Intent",
|
|
192
241
|
"embeddingSuccess": "Embedding generated successfully.",
|
|
193
|
-
"voiceAssetSuccess": "
|
|
242
|
+
"voiceAssetSuccess": "This run created a voice.",
|
|
243
|
+
"voiceExpiry": "Provider expiry: {{date}}. Active use may extend this time.",
|
|
194
244
|
"mediaSuccess": "Media generated successfully.",
|
|
195
245
|
"mediaPreviewMetadataOnly": "Media generated, but Runtime returned metadata only and no preview bytes are available.",
|
|
196
246
|
"mediaPreviewUnsupported": "Media generated, but this artifact type cannot be previewed here.",
|
|
@@ -200,12 +250,22 @@
|
|
|
200
250
|
"noResultProduced": "No result was produced. Resolve the typed Runtime failure before retrying.",
|
|
201
251
|
"resultAriaLabel": "{{capability}} result",
|
|
202
252
|
"promptLabel": "Prompt",
|
|
253
|
+
"requestLabel": "Request",
|
|
203
254
|
"generationLabel": "Generation",
|
|
204
255
|
"runStatusReady": "runtime ready",
|
|
205
256
|
"runStatusUnavailable": "sdk unavailable",
|
|
206
257
|
"runStatusFailed": "failed",
|
|
207
258
|
"runStatusCanceled": "canceled",
|
|
208
|
-
"runStatusTimedOut": "timed out"
|
|
259
|
+
"runStatusTimedOut": "timed out",
|
|
260
|
+
"voiceDelete": "Delete voice",
|
|
261
|
+
"voiceDeleteTitle": "Delete this voice?",
|
|
262
|
+
"voiceDeleteDescription": "You will no longer be able to synthesize speech with this voice. Saved audio and run history will remain available.",
|
|
263
|
+
"voiceDeleteCancel": "Cancel",
|
|
264
|
+
"voiceDeleted": "This voice has been deleted.",
|
|
265
|
+
"voiceUnavailable": "This voice is currently unavailable.",
|
|
266
|
+
"voiceDeleteFailed": "The voice could not be deleted. It has not been marked as deleted. Try again.",
|
|
267
|
+
"historyInputsUnavailable": "This recorded input cannot be restored. Select the source again to start a new request.",
|
|
268
|
+
"historyInputsChecking": "Checking the saved source…"
|
|
209
269
|
},
|
|
210
270
|
"StudioModelConfig": {
|
|
211
271
|
"drawerTitle": "App AI configuration",
|
|
@@ -272,7 +332,8 @@
|
|
|
272
332
|
"runtimeTimedOut": "Task timed out",
|
|
273
333
|
"runtimeBlocked": "Generation blocked",
|
|
274
334
|
"runtimeResult": "Completed",
|
|
275
|
-
"runtimeWaiting": "Ready to start"
|
|
335
|
+
"runtimeWaiting": "Ready to start",
|
|
336
|
+
"stoppedDirectCall": "Stopped"
|
|
276
337
|
},
|
|
277
338
|
"tokensNotCaptured": "not captured",
|
|
278
339
|
"statStatus": "Status",
|
|
@@ -305,7 +366,121 @@
|
|
|
305
366
|
"runtimeChip": "AI generation",
|
|
306
367
|
"createdFromDescription": "Text description",
|
|
307
368
|
"createdFromAudio": "Reference audio",
|
|
308
|
-
"generationMetrics": "Generation metrics"
|
|
369
|
+
"generationMetrics": "Generation metrics",
|
|
370
|
+
"statStoppedDirect": "Stopped"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"StudioResults": {
|
|
374
|
+
"embedding": {
|
|
375
|
+
"space": "Embedding space: {{spaceId}}. Vectors are comparable only within the same space, even when dimensions match.",
|
|
376
|
+
"spaceNotRecorded": "This older record did not keep its embedding space."
|
|
377
|
+
},
|
|
378
|
+
"job": {
|
|
379
|
+
"known": "Job {{jobId}} was issued before this outcome. Runtime keeps a Job only for its retention period; saved App assets are the long-term record."
|
|
380
|
+
},
|
|
381
|
+
"stats": {
|
|
382
|
+
"documents": "Documents",
|
|
383
|
+
"tokens": "Tokens",
|
|
384
|
+
"sentences": "Sentences",
|
|
385
|
+
"steps": "Steps",
|
|
386
|
+
"questions": "Questions"
|
|
387
|
+
},
|
|
388
|
+
"transcript": {
|
|
389
|
+
"title": "Speech transcription",
|
|
390
|
+
"detectedLanguage": "Detected language: {{language}}",
|
|
391
|
+
"words": "Timed words",
|
|
392
|
+
"wordTimes": "Word timing · {{count}} words",
|
|
393
|
+
"timeHint": "Times are measured in seconds from the start of the input audio.",
|
|
394
|
+
"word": "Word",
|
|
395
|
+
"start": "Start (s)",
|
|
396
|
+
"end": "End (s)",
|
|
397
|
+
"truncatedView": "Showing the first {{shown}} of {{total}} words in this view.",
|
|
398
|
+
"exportComplete": "Export complete transcript (JSON)"
|
|
399
|
+
},
|
|
400
|
+
"annotation": {
|
|
401
|
+
"title": "Text annotation",
|
|
402
|
+
"summary": "{{language}} · {{documents}} document(s) · {{tokens}} tokens · {{sentences}} sentences",
|
|
403
|
+
"offsetHint": "Spans are zero-based Unicode scalar offsets with an exclusive end.",
|
|
404
|
+
"loading": "Reading the saved annotation…",
|
|
405
|
+
"unavailable": "The saved annotation is unavailable or no longer matches this record.",
|
|
406
|
+
"document": "Document {{index}} · {{scalars}} characters · {{tokens}} tokens · {{sentences}} sentences",
|
|
407
|
+
"sentence": "Sentence {{index}}",
|
|
408
|
+
"token": "Token",
|
|
409
|
+
"span": "Span",
|
|
410
|
+
"partOfSpeech": "POS",
|
|
411
|
+
"dependency": "Dependency",
|
|
412
|
+
"head": "Head",
|
|
413
|
+
"punctuation": "punctuation",
|
|
414
|
+
"truncatedView": "Showing {{shown}} of {{total}} tokens. The saved document keeps all of them."
|
|
415
|
+
},
|
|
416
|
+
"exchange": {
|
|
417
|
+
"title": "Model exchange",
|
|
418
|
+
"toolScenario": "Tool call test: the App ran its fixed test tool and returned the result in the next model step.",
|
|
419
|
+
"structuredScenario": "Structured output test: the App parsed the final text and checked the fixed schema fields.",
|
|
420
|
+
"modelStep": "Model step {{index}}",
|
|
421
|
+
"appStep": "App step {{index}}",
|
|
422
|
+
"finishReason": "finish: {{reason}}",
|
|
423
|
+
"text": "Text",
|
|
424
|
+
"continuity": "Reasoning continuity ({{kind}} v{{version}}, {{bytes}} bytes, returned unchanged)",
|
|
425
|
+
"toolCall": "Tool call {{name}} · {{id}}",
|
|
426
|
+
"toolResult": "Tool result {{name}} · {{id}}",
|
|
427
|
+
"toolError": "Tool error {{name}} · {{id}}",
|
|
428
|
+
"structured": "Parsed structured result",
|
|
429
|
+
"finalText": "Final text"
|
|
430
|
+
},
|
|
431
|
+
"decision": {
|
|
432
|
+
"title": "Decisions",
|
|
433
|
+
"summary": "{{count}} question(s) answered, in the order they were asked.",
|
|
434
|
+
"choice": "Choice",
|
|
435
|
+
"boolean": "Yes / no",
|
|
436
|
+
"selected": "Selected: {{candidate}}",
|
|
437
|
+
"trueProbability": "Probability that the true criterion holds: {{probability}}",
|
|
438
|
+
"trueLabel": "True",
|
|
439
|
+
"trueBar": "Probability that the true criterion holds",
|
|
440
|
+
"candidates": "Probability of each candidate",
|
|
441
|
+
"trace": "Trace",
|
|
442
|
+
"summaryOnly": "History kept only this summary; the complete answers were too large to store."
|
|
443
|
+
},
|
|
444
|
+
"session": {
|
|
445
|
+
"title": "Session summary",
|
|
446
|
+
"closed": "The {{contract}} Session was closed ({{reason}}).",
|
|
447
|
+
"terminated": "The {{contract}} Session was ended by its owner ({{reason}}).",
|
|
448
|
+
"started": "Started",
|
|
449
|
+
"duration": "Duration",
|
|
450
|
+
"seconds": "{{seconds}} s",
|
|
451
|
+
"terminalReason": "Terminal reason",
|
|
452
|
+
"nothingObserved": "No results were observed.",
|
|
453
|
+
"notRestorable": "A closed Session cannot be restored. Open a new Session to run it again.",
|
|
454
|
+
"stateClosed": "Closed",
|
|
455
|
+
"stateTerminated": "Terminated"
|
|
456
|
+
},
|
|
457
|
+
"faceSwap": {
|
|
458
|
+
"inputs": "Face replacement inputs",
|
|
459
|
+
"role": {
|
|
460
|
+
"reference-image": "Reference",
|
|
461
|
+
"target-image": "Target image",
|
|
462
|
+
"target-video": "Target video"
|
|
463
|
+
},
|
|
464
|
+
"policy": "Frames without a target face: {{policy}}",
|
|
465
|
+
"policies": {
|
|
466
|
+
"fail": "fail the Job",
|
|
467
|
+
"preserve-frame": "keep the original frame"
|
|
468
|
+
},
|
|
469
|
+
"videoSummary": "{{total}} frames: {{transformed}} replaced, {{preserved}} kept · {{seconds}} s at {{fps}} fps · {{audio}}",
|
|
470
|
+
"audioPreserved": "audio kept",
|
|
471
|
+
"noAudio": "no audio track",
|
|
472
|
+
"rerunHint": "Input files are not saved with the record. Choose them again to rerun."
|
|
473
|
+
},
|
|
474
|
+
"alignment": {
|
|
475
|
+
"title": "Synthesis alignment",
|
|
476
|
+
"exportComplete": "Export complete synthesis timing (JSON)",
|
|
477
|
+
"wordTimes": "Word timing · {{count}} tokens",
|
|
478
|
+
"charTimes": "Character timing · {{count}} tokens",
|
|
479
|
+
"timeHint": "Times refer to the start of this audio, in seconds."
|
|
480
|
+
},
|
|
481
|
+
"speakerEmbedding": {
|
|
482
|
+
"dimensions": "Vector dimensions: {{count}}",
|
|
483
|
+
"boundary": "The full vector and its space are retained. Different spaces cannot be compared. This is not person identification or authentication."
|
|
309
484
|
}
|
|
310
485
|
}
|
|
311
486
|
}
|
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
"close": "关闭",
|
|
5
5
|
"copy": "复制",
|
|
6
6
|
"copied": "已复制",
|
|
7
|
-
"copyFailed": "复制失败"
|
|
7
|
+
"copyFailed": "复制失败",
|
|
8
|
+
"exportFailed": "文件未能保存。请检查 App 存储和宿主是否可用,然后重试。",
|
|
9
|
+
"exportSaved": "文件已保存:{{path}}",
|
|
10
|
+
"exportSavedRevealFailed": "文件已保存到 {{path}},但无法显示所在文件夹。请从此路径打开;再次导出会创建另一份文件。",
|
|
11
|
+
"assetRevealed": "已在文件夹中显示文件。",
|
|
12
|
+
"assetRevealFailed": "无法显示 {{path}} 所在的文件夹。文件未被修改,请在宿主可用后重试。"
|
|
8
13
|
},
|
|
9
14
|
"History": {
|
|
10
15
|
"title": "历史",
|
|
@@ -102,15 +107,19 @@
|
|
|
102
107
|
"emptyNone": "还没有运行记录",
|
|
103
108
|
"emptyFiltered": "没有符合这些筛选条件的运行",
|
|
104
109
|
"loadFailedTitle": "历史加载失败",
|
|
105
|
-
"saveFailedTitle": "历史保存失败"
|
|
110
|
+
"saveFailedTitle": "历史保存失败",
|
|
111
|
+
"deleteRecordAndDocument": "删除记录及其保存的结果",
|
|
112
|
+
"stopped": "已停止"
|
|
106
113
|
},
|
|
107
114
|
"NonSuccess": {
|
|
115
|
+
"openAIConfig": "打开 App AI 配置",
|
|
108
116
|
"title": {
|
|
109
117
|
"runtimeUnavailable": "本地 AI 暂时不可用",
|
|
110
118
|
"inputInvalid": "请检查输入",
|
|
111
119
|
"sdkMethodUnavailable": "当前版本暂不支持",
|
|
112
120
|
"principalUnauthorized": "需要重新连接",
|
|
113
121
|
"operationAborted": "取消结果待确认",
|
|
122
|
+
"stoppedDirectCall": "已停止",
|
|
114
123
|
"runtimeCanceled": "任务已取消",
|
|
115
124
|
"runtimeTimeout": "任务已超时",
|
|
116
125
|
"streamInterrupted": "结果流已中断",
|
|
@@ -118,7 +127,8 @@
|
|
|
118
127
|
},
|
|
119
128
|
"message": {
|
|
120
129
|
"runtimeUnavailable": "本次请求中 Runtime 不可用。",
|
|
121
|
-
"inputInvalid": "
|
|
130
|
+
"inputInvalid": "这次请求的一项或多项输入或参数无效。",
|
|
131
|
+
"transcriptionInputInvalid": "音频或转写参数无效。",
|
|
122
132
|
"sdkMethodUnavailable": "当前 App 构建中此能力不可用。",
|
|
123
133
|
"principalUnauthorized": "Runtime 拒绝了本次请求的受保护所有者。",
|
|
124
134
|
"operationAborted": "已请求取消,但 Runtime 尚未确认任务的最终状态。",
|
|
@@ -126,11 +136,30 @@
|
|
|
126
136
|
"runtimeTimeout": "这次任务已超时。",
|
|
127
137
|
"streamInterrupted": "实时结果连接已结束,但 Runtime 尚未确认最终状态。",
|
|
128
138
|
"runtimeCallFailed": "这次生成未能完成。",
|
|
129
|
-
"
|
|
139
|
+
"inputLimitExceeded": "当前配置的模型无法完整读取这次输入。输入没有被截断,也没有返回部分结果。",
|
|
140
|
+
"textBehaviorUnsupported": "当前模型无法按现有设置运行这次请求:其中的工具调用、结构化输出、推理或生成参数不受支持。未接受部分回答。",
|
|
141
|
+
"mediaOptionUnsupported": "当前模型不支持这次请求中的一项或多项媒体参数。",
|
|
142
|
+
"modalityUnsupported": "当前配置不支持这次请求中的一项或多项输入或参数。",
|
|
143
|
+
"providerRateLimited": "云服务因达到速率或用量上限拒绝了本次请求。对 ChatGPT 计划连接来说,这是该计划在此 App 中的用量上限。",
|
|
144
|
+
"mediaCodecUnavailable": "运行此请求时,所需的 Nimi 音视频工具不可用。",
|
|
145
|
+
"localLoadFailed": "当前本机配置无法按这次请求运行。",
|
|
146
|
+
"voiceInputRequired": "当前语音模型需要明确选择兼容的语音来源,才能合成音频。",
|
|
147
|
+
"voiceTargetMismatch": "这个语音资产由另一语音模型创建,不能用于当前选中的模型。",
|
|
148
|
+
"voiceUnavailable": "选择的音色已不可用。",
|
|
149
|
+
"catalogStale": "选择这个模型之后,云端模型目录已经更新,保存的选择需要重新确认。本次请求没有发送给云服务。",
|
|
150
|
+
"catalogMismatch": "这个云端嵌入模型没有经过验证的固定输出维度,因此无法运行。本次请求没有发送给云服务。",
|
|
151
|
+
"connectorDisabled": "此能力使用的云服务连接已停用。本次请求没有发送给云服务。",
|
|
152
|
+
"connectorCredentialMissing": "此能力使用的云服务连接没有可用的 API 密钥或登录。本次请求没有发送给云服务。",
|
|
153
|
+
"connectorNotFound": "此能力使用的云服务连接已不存在。本次请求没有发送给云服务。",
|
|
154
|
+
"configInvalid": "此能力保存的 AI 配置无法在当前 Runtime 中运行,例如所用的云服务已不再支持。",
|
|
155
|
+
"modelNotFound": "所选模型不可用:其云端账户未提供该模型,或没有可用的已准入实现。本次没有生成内容。",
|
|
156
|
+
"fallback": "本次生成未完成。",
|
|
157
|
+
"stoppedDirectCall": "已停止等待这次调用,之后返回的结果不会显示。"
|
|
130
158
|
},
|
|
131
159
|
"action": {
|
|
132
160
|
"runtimeUnavailable": "返回 Desktop 确认本地 AI 已连接,然后重试。",
|
|
133
|
-
"inputInvalid": "
|
|
161
|
+
"inputInvalid": "请检查提示词、必填输入和参数,修改后重新运行。",
|
|
162
|
+
"transcriptionInputInvalid": "重新选择可读取的音频,并检查音频格式与转写参数后再运行。",
|
|
134
163
|
"sdkMethodUnavailable": "更新 App 后重试。",
|
|
135
164
|
"principalUnauthorized": "返回 Desktop 重新打开此 App,然后重试。",
|
|
136
165
|
"operationAborted": "请先检查任务状态,再决定是否重新运行。",
|
|
@@ -138,7 +167,25 @@
|
|
|
138
167
|
"runtimeTimeout": "稍后重试;如果仍然超时,再展开 Runtime 详情查看原因。",
|
|
139
168
|
"streamInterrupted": "请先检查任务状态;确认任务未完成后再重试。",
|
|
140
169
|
"runtimeCallFailed": "先重试一次;如果仍然失败,再展开 Runtime 详情查看原因。",
|
|
141
|
-
"
|
|
170
|
+
"inputLimitExceeded": "请缩短输入,或配置可接受更长输入的模型,然后重新运行。",
|
|
171
|
+
"textBehaviorUnsupported": "打开参数并重置此模型不接受的设置,或在 Desktop 的 AI 能力中选择支持此行为的模型,再重新运行。",
|
|
172
|
+
"mediaOptionUnsupported": "打开「参数」重置不受支持的设置后重新运行,也可以在 App AI 配置中选择支持这些设置的模型。",
|
|
173
|
+
"modalityUnsupported": "请先修改输入,或在「参数」中重置不受支持的设置后再运行,也可以选择支持这次请求的配置。",
|
|
174
|
+
"providerRateLimited": "请稍后再试。ChatGPT 计划连接可在 {{usageUrl}} 查看用量。也可以打开 App AI 配置改选其他模型。",
|
|
175
|
+
"mediaCodecUnavailable": "在 Nimi Desktop 打开「AI 能力」→「高级与诊断」→「音频与视频组件」;如组件未就绪,选择「安装或修复」,等显示已安装后再运行此请求。",
|
|
176
|
+
"localLoadFailed": "请确认输入和参数与所选模型匹配,并在 Desktop 的 AI 能力中检查模型及组件是否已准备好;如需修复配置,完成后再运行。Runtime 详情保留了本次失败信息。",
|
|
177
|
+
"voiceInputRequired": "打开「参数」选择当前模型支持的预设语音或兼容的本地语音资产;如该模型需要资产而列表为空,先到「创建语音」创建,再返回重试。",
|
|
178
|
+
"voiceTargetMismatch": "选择与当前语音模型兼容的资产,或先在「创建语音」中创建一个,再重试。",
|
|
179
|
+
"voiceUnavailable": "打开「参数」选择当前模型兼容的有效音色;重复使用已删除或过期的音色无法恢复它。",
|
|
180
|
+
"catalogStale": "打开 App AI 配置,从当前列表为此能力重新选择模型,然后重新运行。",
|
|
181
|
+
"catalogMismatch": "打开 App AI 配置,选择已验证输出维度的嵌入模型,然后重新运行。",
|
|
182
|
+
"connectorDisabled": "打开 App AI 配置,改选可用云服务或本机的模型,然后重新运行。",
|
|
183
|
+
"connectorCredentialMissing": "在 Desktop 的「云服务」中为这个连接添加 API 密钥或重新登录,或打开 App AI 配置改选其他模型,然后重新运行。",
|
|
184
|
+
"connectorNotFound": "打开 App AI 配置,为此能力重新选择模型,然后重新运行。",
|
|
185
|
+
"configInvalid": "打开 App AI 配置,为此能力重新选择模型,然后重新运行。",
|
|
186
|
+
"modelNotFound": "打开 App AI 配置,为此能力选择一个可用的模型,然后重新运行。",
|
|
187
|
+
"fallback": "请重试;如果仍然失败,再展开 Runtime 详情查看原因。",
|
|
188
|
+
"stoppedDirectCall": "准备好后可以直接重新运行。"
|
|
142
189
|
},
|
|
143
190
|
"hint": {
|
|
144
191
|
"runtimeUnavailable": "恢复受保护的 Runtime 连接后重试同一请求。",
|
|
@@ -174,6 +221,8 @@
|
|
|
174
221
|
"showRequestSettings": "显示请求设置",
|
|
175
222
|
"hideRequestSettings": "隐藏请求设置",
|
|
176
223
|
"legacyRecordHint": "这条较早的历史记录仅包含状态元数据。重新运行一次即可保存类型化的结果快照。",
|
|
224
|
+
"historyInputTruncated": "历史只保留这段长输入的开头部分,因此这条记录不能用作草稿或重新运行。",
|
|
225
|
+
"historyAdditionalDocumentsNotRetained": "只能将第一篇文档用作草稿。重新运行前请再次添加其他文档。",
|
|
177
226
|
"generationFailed": "生成未能完成",
|
|
178
227
|
"generationCanceled": "生成已取消",
|
|
179
228
|
"cancelGeneration": "取消任务",
|
|
@@ -190,7 +239,8 @@
|
|
|
190
239
|
"useAsDraft": "用作草稿",
|
|
191
240
|
"intentLabel": "意图",
|
|
192
241
|
"embeddingSuccess": "向量嵌入生成成功。",
|
|
193
|
-
"voiceAssetSuccess": "
|
|
242
|
+
"voiceAssetSuccess": "这次运行创建了一个音色。",
|
|
243
|
+
"voiceExpiry": "提供方有效期:{{date}}。实际使用可能延长有效期。",
|
|
194
244
|
"mediaSuccess": "媒体生成成功。",
|
|
195
245
|
"mediaPreviewMetadataOnly": "媒体已生成,但 Runtime 仅返回元数据,没有可用的预览字节。",
|
|
196
246
|
"mediaPreviewUnsupported": "媒体已生成,但此产物类型无法在此处预览。",
|
|
@@ -200,12 +250,22 @@
|
|
|
200
250
|
"noResultProduced": "未产生任何结果。请先解决类型化的 Runtime 失败,再重试。",
|
|
201
251
|
"resultAriaLabel": "{{capability}}结果",
|
|
202
252
|
"promptLabel": "提示词",
|
|
253
|
+
"requestLabel": "请求",
|
|
203
254
|
"generationLabel": "生成结果",
|
|
204
255
|
"runStatusReady": "Runtime 就绪",
|
|
205
256
|
"runStatusUnavailable": "SDK 不可用",
|
|
206
257
|
"runStatusFailed": "失败",
|
|
207
258
|
"runStatusCanceled": "已取消",
|
|
208
|
-
"runStatusTimedOut": "已超时"
|
|
259
|
+
"runStatusTimedOut": "已超时",
|
|
260
|
+
"voiceDelete": "删除音色",
|
|
261
|
+
"voiceDeleteTitle": "删除此音色?",
|
|
262
|
+
"voiceDeleteDescription": "删除后无法再用此音色合成语音。已保存的音频和运行记录会保留。",
|
|
263
|
+
"voiceDeleteCancel": "取消",
|
|
264
|
+
"voiceDeleted": "此音色已删除。",
|
|
265
|
+
"voiceUnavailable": "此音色当前不可用。",
|
|
266
|
+
"voiceDeleteFailed": "未能删除此音色,尚未将其标记为已删除。请重试。",
|
|
267
|
+
"historyInputsUnavailable": "无法恢复这条记录的输入。请重新选择来源,再开始新请求。",
|
|
268
|
+
"historyInputsChecking": "正在检查已保存来源…"
|
|
209
269
|
},
|
|
210
270
|
"StudioModelConfig": {
|
|
211
271
|
"drawerTitle": "App AI 配置",
|
|
@@ -272,7 +332,8 @@
|
|
|
272
332
|
"runtimeTimedOut": "任务已超时",
|
|
273
333
|
"runtimeBlocked": "生成受阻",
|
|
274
334
|
"runtimeResult": "已完成",
|
|
275
|
-
"runtimeWaiting": "等待开始"
|
|
335
|
+
"runtimeWaiting": "等待开始",
|
|
336
|
+
"stoppedDirectCall": "已停止"
|
|
276
337
|
},
|
|
277
338
|
"tokensNotCaptured": "未捕获",
|
|
278
339
|
"statStatus": "状态",
|
|
@@ -305,7 +366,121 @@
|
|
|
305
366
|
"runtimeChip": "AI 生成",
|
|
306
367
|
"createdFromDescription": "文字描述",
|
|
307
368
|
"createdFromAudio": "参考音频",
|
|
308
|
-
"generationMetrics": "生成指标"
|
|
369
|
+
"generationMetrics": "生成指标",
|
|
370
|
+
"statStoppedDirect": "已停止"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"StudioResults": {
|
|
374
|
+
"embedding": {
|
|
375
|
+
"space": "向量空间:{{spaceId}}。只有同一空间的向量可以比较,维度相同并不代表空间相同。",
|
|
376
|
+
"spaceNotRecorded": "这条较早的记录没有保存向量空间。"
|
|
377
|
+
},
|
|
378
|
+
"job": {
|
|
379
|
+
"known": "任务 {{jobId}} 在此结果前已发出。Runtime 只在保留期内保存任务,长期回看以已保存的 App 资产为准。"
|
|
380
|
+
},
|
|
381
|
+
"stats": {
|
|
382
|
+
"documents": "文档",
|
|
383
|
+
"tokens": "词元",
|
|
384
|
+
"sentences": "句子",
|
|
385
|
+
"steps": "步骤",
|
|
386
|
+
"questions": "问题"
|
|
387
|
+
},
|
|
388
|
+
"transcript": {
|
|
389
|
+
"title": "语音转写",
|
|
390
|
+
"detectedLanguage": "识别语言:{{language}}",
|
|
391
|
+
"words": "带时间的词",
|
|
392
|
+
"wordTimes": "词级时间 · {{count}} 个词",
|
|
393
|
+
"timeHint": "时间以输入音频起点为零,单位为秒。",
|
|
394
|
+
"word": "词",
|
|
395
|
+
"start": "开始(秒)",
|
|
396
|
+
"end": "结束(秒)",
|
|
397
|
+
"truncatedView": "此视图显示 {{total}} 个词中的前 {{shown}} 个。",
|
|
398
|
+
"exportComplete": "导出完整转写 JSON"
|
|
399
|
+
},
|
|
400
|
+
"annotation": {
|
|
401
|
+
"title": "文本注释",
|
|
402
|
+
"summary": "{{language}} · {{documents}} 个文档 · {{tokens}} 个词元 · {{sentences}} 个句子",
|
|
403
|
+
"offsetHint": "区间是从 0 开始的 Unicode 标量偏移,结束位置不包含在内。",
|
|
404
|
+
"loading": "正在读取已保存的注释…",
|
|
405
|
+
"unavailable": "已保存的注释不可用,或已与这条记录不一致。",
|
|
406
|
+
"document": "文档 {{index}} · {{scalars}} 个字符 · {{tokens}} 个词元 · {{sentences}} 个句子",
|
|
407
|
+
"sentence": "第 {{index}} 句",
|
|
408
|
+
"token": "词元",
|
|
409
|
+
"span": "区间",
|
|
410
|
+
"partOfSpeech": "词性",
|
|
411
|
+
"dependency": "依存关系",
|
|
412
|
+
"head": "中心词",
|
|
413
|
+
"punctuation": "标点",
|
|
414
|
+
"truncatedView": "显示 {{total}} 个词元中的前 {{shown}} 个,已保存的文档包含全部内容。"
|
|
415
|
+
},
|
|
416
|
+
"exchange": {
|
|
417
|
+
"title": "模型交互",
|
|
418
|
+
"toolScenario": "工具调用测试:App 执行固定测试工具,并在下一步模型调用中返回结果。",
|
|
419
|
+
"structuredScenario": "结构化输出测试:App 解析最终文本并检查固定 schema 字段。",
|
|
420
|
+
"modelStep": "模型第 {{index}} 步",
|
|
421
|
+
"appStep": "App 第 {{index}} 步",
|
|
422
|
+
"finishReason": "结束:{{reason}}",
|
|
423
|
+
"text": "文本",
|
|
424
|
+
"continuity": "推理延续({{kind}} v{{version}},{{bytes}} 字节,原样传回)",
|
|
425
|
+
"toolCall": "工具调用 {{name}} · {{id}}",
|
|
426
|
+
"toolResult": "工具结果 {{name}} · {{id}}",
|
|
427
|
+
"toolError": "工具错误 {{name}} · {{id}}",
|
|
428
|
+
"structured": "解析后的结构化结果",
|
|
429
|
+
"finalText": "最终文本"
|
|
430
|
+
},
|
|
431
|
+
"decision": {
|
|
432
|
+
"title": "判断结果",
|
|
433
|
+
"summary": "已按提问顺序回答 {{count}} 个问题。",
|
|
434
|
+
"choice": "单选",
|
|
435
|
+
"boolean": "是 / 否",
|
|
436
|
+
"selected": "选中:{{candidate}}",
|
|
437
|
+
"trueProbability": "“是”的判断条件成立的概率:{{probability}}",
|
|
438
|
+
"trueLabel": "是",
|
|
439
|
+
"trueBar": "“是”的判断条件成立的概率",
|
|
440
|
+
"candidates": "各候选项的概率",
|
|
441
|
+
"trace": "追踪",
|
|
442
|
+
"summaryOnly": "历史记录只保留了这条摘要;完整答案过大,未能保存。"
|
|
443
|
+
},
|
|
444
|
+
"session": {
|
|
445
|
+
"title": "会话摘要",
|
|
446
|
+
"closed": "{{contract}} 会话已关闭({{reason}})。",
|
|
447
|
+
"terminated": "{{contract}} 会话已被其所有者结束({{reason}})。",
|
|
448
|
+
"started": "开始时间",
|
|
449
|
+
"duration": "时长",
|
|
450
|
+
"seconds": "{{seconds}} 秒",
|
|
451
|
+
"terminalReason": "终止原因",
|
|
452
|
+
"nothingObserved": "未观察到任何结果。",
|
|
453
|
+
"notRestorable": "已关闭的会话无法恢复。如需再次测试,请打开新会话。",
|
|
454
|
+
"stateClosed": "已关闭",
|
|
455
|
+
"stateTerminated": "已终止"
|
|
456
|
+
},
|
|
457
|
+
"faceSwap": {
|
|
458
|
+
"inputs": "换脸输入",
|
|
459
|
+
"role": {
|
|
460
|
+
"reference-image": "参考图",
|
|
461
|
+
"target-image": "目标图片",
|
|
462
|
+
"target-video": "目标视频"
|
|
463
|
+
},
|
|
464
|
+
"policy": "无目标人脸的帧:{{policy}}",
|
|
465
|
+
"policies": {
|
|
466
|
+
"fail": "使任务失败",
|
|
467
|
+
"preserve-frame": "保留原始帧"
|
|
468
|
+
},
|
|
469
|
+
"videoSummary": "共 {{total}} 帧:替换 {{transformed}} 帧,保留 {{preserved}} 帧 · {{seconds}} 秒,{{fps}} fps · {{audio}}",
|
|
470
|
+
"audioPreserved": "已保留音轨",
|
|
471
|
+
"noAudio": "无音轨",
|
|
472
|
+
"rerunHint": "记录不保存输入文件。重新运行时请再次选择。"
|
|
473
|
+
},
|
|
474
|
+
"alignment": {
|
|
475
|
+
"title": "合成语音时间",
|
|
476
|
+
"exportComplete": "导出完整合成时间 JSON",
|
|
477
|
+
"wordTimes": "词级时间 · {{count}} 个词项",
|
|
478
|
+
"charTimes": "字级时间 · {{count}} 个字项",
|
|
479
|
+
"timeHint": "时间以这段音频起点为零,单位为秒。"
|
|
480
|
+
},
|
|
481
|
+
"speakerEmbedding": {
|
|
482
|
+
"dimensions": "向量维数:{{count}}",
|
|
483
|
+
"boundary": "保留完整向量和表示空间;不同空间不能比较。这不是身份识别或身份认证。"
|
|
309
484
|
}
|
|
310
485
|
}
|
|
311
486
|
}
|
|
@@ -2,12 +2,13 @@ import type { ComponentType } from 'react';
|
|
|
2
2
|
import type { LucideIcon } from 'lucide-react';
|
|
3
3
|
import type { StudioParameterContract } from './parameters.js';
|
|
4
4
|
import type { StudioParameterPanelProps } from './parameter-fields.js';
|
|
5
|
+
import type { StudioRunHistoryRecord } from './history.js';
|
|
5
6
|
|
|
6
7
|
// @nimi-authority: rule.nimi.platform.app-ecosystem.p-scaf-019c
|
|
7
8
|
|
|
8
9
|
export type StudioControlId = 'tone' | 'length';
|
|
9
10
|
export type StudioInputKind = 'prompt' | 'url' | 'none';
|
|
10
|
-
export type StudioResultKind = 'text' | 'transcript' | 'embedding' | 'artifacts' | 'voice-asset' | 'voice-catalog' | 'vision-locate';
|
|
11
|
+
export type StudioResultKind = 'text' | 'transcript' | 'speaker-embedding' | 'embedding' | 'artifacts' | 'voice-asset' | 'voice-catalog' | 'vision-locate' | 'text-annotation' | 'text-exchange' | 'text-decision' | 'session';
|
|
11
12
|
|
|
12
13
|
export type CapabilityStudioProfile = {
|
|
13
14
|
readonly studioTag: string;
|
|
@@ -26,6 +27,12 @@ export type CapabilityStudioProfile = {
|
|
|
26
27
|
readonly footnoteKey: string;
|
|
27
28
|
readonly statusLabelKey?: string;
|
|
28
29
|
readonly pendingLabelKey?: string;
|
|
30
|
+
// The capability runs only when its parameter panel supplies the input
|
|
31
|
+
// (for example selected media) rather than the composer prompt.
|
|
32
|
+
readonly requiresParameterInput?: boolean;
|
|
33
|
+
// The composer text is itself the request input; it is sent without
|
|
34
|
+
// directive or context wrapping.
|
|
35
|
+
readonly rawPrompt?: boolean;
|
|
29
36
|
};
|
|
30
37
|
|
|
31
38
|
export type ScenarioPreset = {
|
|
@@ -56,6 +63,7 @@ export type StudioCapabilityRegistration<TCapabilityId extends string = string>
|
|
|
56
63
|
readonly runtimeMethod: string;
|
|
57
64
|
readonly parameters: StudioParameterContract;
|
|
58
65
|
readonly parameterPanel?: ComponentType<StudioParameterPanelProps>;
|
|
66
|
+
readonly historyActions?: ComponentType<{ readonly record: StudioRunHistoryRecord }>;
|
|
59
67
|
};
|
|
60
68
|
|
|
61
69
|
export type AIStudioModuleRegistration<
|