@nimiplatform/sdk 0.13.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +462 -0
- package/README.md +438 -17
- package/dist/core/ai/capability-configuration.d.ts +18 -0
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +39 -0
- package/dist/core/ai/capability-configuration.js.map +1 -1
- package/dist/core/ai/embeddings.d.ts +5 -0
- package/dist/core/ai/embeddings.d.ts.map +1 -1
- package/dist/core/ai/embeddings.js +30 -4
- package/dist/core/ai/embeddings.js.map +1 -1
- package/dist/core/ai/index.d.ts +4 -0
- package/dist/core/ai/index.d.ts.map +1 -1
- package/dist/core/ai/index.js +3 -0
- package/dist/core/ai/index.js.map +1 -1
- package/dist/core/ai/local-app-model.d.ts +15 -4
- package/dist/core/ai/local-app-model.d.ts.map +1 -1
- package/dist/core/ai/local-app-model.js +58 -18
- package/dist/core/ai/local-app-model.js.map +1 -1
- package/dist/core/ai/music-input-wire.d.ts +4 -0
- package/dist/core/ai/music-input-wire.d.ts.map +1 -0
- package/dist/core/ai/music-input-wire.js +9 -0
- package/dist/core/ai/music-input-wire.js.map +1 -0
- package/dist/core/ai/music-input.d.ts +44 -0
- package/dist/core/ai/music-input.d.ts.map +1 -0
- package/dist/core/ai/music-input.js +69 -0
- package/dist/core/ai/music-input.js.map +1 -0
- package/dist/core/ai/reasoning.d.ts +32 -0
- package/dist/core/ai/reasoning.d.ts.map +1 -0
- package/dist/core/ai/reasoning.js +74 -0
- package/dist/core/ai/reasoning.js.map +1 -0
- package/dist/core/ai/runtime-model.d.ts +2 -19
- package/dist/core/ai/runtime-model.d.ts.map +1 -1
- package/dist/core/ai/runtime-model.js +3 -47
- package/dist/core/ai/runtime-model.js.map +1 -1
- package/dist/core/ai/speech-input.d.ts +9 -0
- package/dist/core/ai/speech-input.d.ts.map +1 -0
- package/dist/core/ai/speech-input.js +16 -0
- package/dist/core/ai/speech-input.js.map +1 -0
- package/dist/core/ai/text-runner.js +11 -4
- package/dist/core/ai/text-runner.js.map +1 -1
- package/dist/core/ai/voice-reference-input.d.ts +9 -0
- package/dist/core/ai/voice-reference-input.d.ts.map +1 -0
- package/dist/core/ai/voice-reference-input.js +17 -0
- package/dist/core/ai/voice-reference-input.js.map +1 -0
- package/dist/core/app/desktop-open.d.ts +4 -1
- package/dist/core/app/desktop-open.d.ts.map +1 -1
- package/dist/core/app/desktop-open.js +5 -1
- package/dist/core/app/desktop-open.js.map +1 -1
- package/dist/core/app/index.d.ts +34 -3
- package/dist/core/app/index.d.ts.map +1 -1
- package/dist/core/app/index.js +21 -0
- package/dist/core/app/index.js.map +1 -1
- package/dist/core/app/local-app-agent-introduction.d.ts +30 -0
- package/dist/core/app/local-app-agent-introduction.d.ts.map +1 -0
- package/dist/core/app/local-app-agent-introduction.js +64 -0
- package/dist/core/app/local-app-agent-introduction.js.map +1 -0
- package/dist/core/app/local-app-agent-work-input.d.ts +24 -0
- package/dist/core/app/local-app-agent-work-input.d.ts.map +1 -0
- package/dist/core/app/local-app-agent-work-input.js +50 -0
- package/dist/core/app/local-app-agent-work-input.js.map +1 -0
- package/dist/core/app/local-app-audio-separation.d.ts +15 -0
- package/dist/core/app/local-app-audio-separation.d.ts.map +1 -0
- package/dist/core/app/local-app-audio-separation.js +92 -0
- package/dist/core/app/local-app-audio-separation.js.map +1 -0
- package/dist/core/app/local-app-bytes.d.ts +10 -0
- package/dist/core/app/local-app-bytes.d.ts.map +1 -0
- package/dist/core/app/local-app-bytes.js +27 -0
- package/dist/core/app/local-app-bytes.js.map +1 -0
- package/dist/core/app/local-app-music-transcription.d.ts +43 -0
- package/dist/core/app/local-app-music-transcription.d.ts.map +1 -0
- package/dist/core/app/local-app-music-transcription.js +94 -0
- package/dist/core/app/local-app-music-transcription.js.map +1 -0
- package/dist/core/app/local-app-music.d.ts +50 -0
- package/dist/core/app/local-app-music.d.ts.map +1 -0
- package/dist/core/app/local-app-music.js +135 -0
- package/dist/core/app/local-app-music.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.d.ts +59 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.js +283 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity.d.ts +219 -0
- package/dist/core/app/local-app-runtime-platform-activity.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity.js +749 -0
- package/dist/core/app/local-app-runtime-platform-activity.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-agent-references.d.ts +4 -0
- package/dist/core/app/local-app-runtime-platform-agent-references.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-agent-references.js +21 -9
- package/dist/core/app/local-app-runtime-platform-agent-references.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-agent-work.d.ts +88 -0
- package/dist/core/app/local-app-runtime-platform-agent-work.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-agent-work.js +165 -0
- package/dist/core/app/local-app-runtime-platform-agent-work.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js +62 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts +172 -34
- package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +805 -112
- package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-assets.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-assets.js +37 -12
- package/dist/core/app/local-app-runtime-platform-assets.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-configure.d.ts +1 -1
- package/dist/core/app/local-app-runtime-platform-configure.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-configure.js +10 -10
- package/dist/core/app/local-app-runtime-platform-configure.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-conversation.d.ts +7 -4
- package/dist/core/app/local-app-runtime-platform-conversation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-conversation.js +15 -10
- package/dist/core/app/local-app-runtime-platform-conversation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts +5 -0
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.js +38 -0
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-direct-conversation.js +6 -6
- package/dist/core/app/local-app-runtime-platform-direct-conversation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-integration.d.ts +128 -0
- package/dist/core/app/local-app-runtime-platform-integration.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-integration.js +263 -0
- package/dist/core/app/local-app-runtime-platform-integration.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-validation.d.ts +2 -0
- package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.js +50 -3
- package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.d.ts +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.js +5 -5
- package/dist/core/app/local-app-runtime-platform-vision.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform.d.ts +19 -15
- package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform.js +17 -6
- package/dist/core/app/local-app-runtime-platform.js.map +1 -1
- package/dist/core/app/local-app-speaker-embedding.d.ts +6 -0
- package/dist/core/app/local-app-speaker-embedding.d.ts.map +1 -0
- package/dist/core/app/local-app-speaker-embedding.js +14 -0
- package/dist/core/app/local-app-speaker-embedding.js.map +1 -0
- package/dist/core/app/local-app-text-annotation.d.ts +24 -0
- package/dist/core/app/local-app-text-annotation.d.ts.map +1 -0
- package/dist/core/app/local-app-text-annotation.js +71 -0
- package/dist/core/app/local-app-text-annotation.js.map +1 -0
- package/dist/core/app/local-app-text-decision.d.ts +114 -0
- package/dist/core/app/local-app-text-decision.d.ts.map +1 -0
- package/dist/core/app/local-app-text-decision.js +444 -0
- package/dist/core/app/local-app-text-decision.js.map +1 -0
- package/dist/core/app/local-app-text.d.ts +7 -1
- package/dist/core/app/local-app-text.d.ts.map +1 -1
- package/dist/core/app/local-app-text.js +16 -15
- package/dist/core/app/local-app-text.js.map +1 -1
- package/dist/core/app/local-app-transcription.d.ts +23 -0
- package/dist/core/app/local-app-transcription.d.ts.map +1 -0
- package/dist/core/app/local-app-transcription.js +48 -0
- package/dist/core/app/local-app-transcription.js.map +1 -0
- package/dist/core/app/local-app-voice-convert.d.ts +61 -0
- package/dist/core/app/local-app-voice-convert.d.ts.map +1 -0
- package/dist/core/app/local-app-voice-convert.js +133 -0
- package/dist/core/app/local-app-voice-convert.js.map +1 -0
- package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts +2 -2
- package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts.map +1 -1
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js +5 -3
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js.map +1 -1
- package/dist/core/text-stream-cleanup.d.ts +3 -0
- package/dist/core/text-stream-cleanup.d.ts.map +1 -0
- package/dist/core/text-stream-cleanup.js +19 -0
- package/dist/core/text-stream-cleanup.js.map +1 -0
- package/dist/core-generated/realm-client.d.ts.map +1 -1
- package/dist/core-generated/realm-client.js +10 -4
- package/dist/core-generated/realm-client.js.map +1 -1
- package/dist/core-generated/realm-typed-client.d.ts +159 -34
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +81 -8
- package/dist/core-generated/realm-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-client.js +312 -0
- package/dist/core-generated/runtime-client.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts +21 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.js +41 -5
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts +158 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js +299 -2
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.d.ts +5 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.js +4 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.d.ts +625 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.js +1369 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +2274 -134
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +5178 -1218
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +168 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +326 -5
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.d.ts +859 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.js +1663 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts +20 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js +38 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +579 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +1056 -12
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +161 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +160 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts +43 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js +88 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.d.ts +53 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.js +118 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts +1293 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js +2898 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +200 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +249 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts +13 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js +17 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts +8 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js +9 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts +69 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js +120 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js.map +1 -1
- package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-client.js +296 -8
- package/dist/core-generated/runtime-public-client.js.map +1 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.js +37 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.d.ts +44 -5
- package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.js +44 -5
- package/dist/core-generated/runtime-public-wire-codecs.js.map +1 -1
- package/dist/core-generated/runtime-rpc-auth-posture.d.ts.map +1 -1
- package/dist/core-generated/runtime-rpc-auth-posture.js +39 -0
- package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts +66 -16
- package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-typed-client.js +398 -3
- package/dist/core-generated/runtime-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.d.ts +47 -5
- package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.js +47 -5
- package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
- package/dist/features/generation/index.d.ts +16 -2
- package/dist/features/generation/index.d.ts.map +1 -1
- package/dist/features/generation/index.js +26 -3
- package/dist/features/generation/index.js.map +1 -1
- package/dist/features/generation/media-params.d.ts +0 -3
- package/dist/features/generation/media-params.d.ts.map +1 -1
- package/dist/features/generation/media-params.js +8 -6
- package/dist/features/generation/media-params.js.map +1 -1
- package/dist/features/generation/runtime-generation-build.d.ts +0 -1
- package/dist/features/generation/runtime-generation-build.d.ts.map +1 -1
- package/dist/features/generation/runtime-generation-build.js +6 -1
- package/dist/features/generation/runtime-generation-build.js.map +1 -1
- package/dist/features/generation/runtime-image-generation.d.ts +5 -1
- package/dist/features/generation/runtime-image-generation.d.ts.map +1 -1
- package/dist/features/generation/runtime-image-generation.js +4 -0
- package/dist/features/generation/runtime-image-generation.js.map +1 -1
- package/dist/features/generation/runtime-job-builders.d.ts +0 -1
- package/dist/features/generation/runtime-job-builders.d.ts.map +1 -1
- package/dist/features/generation/runtime-job-builders.js +8 -10
- package/dist/features/generation/runtime-job-builders.js.map +1 -1
- package/dist/realm/index.d.ts +1 -1
- package/dist/realm/index.d.ts.map +1 -1
- package/dist/realm/index.js +3 -2
- package/dist/realm/index.js.map +1 -1
- package/dist/runtime/chatgpt-plan.d.ts +7 -0
- package/dist/runtime/chatgpt-plan.d.ts.map +1 -0
- package/dist/runtime/chatgpt-plan.js +15 -0
- package/dist/runtime/chatgpt-plan.js.map +1 -0
- package/dist/runtime/config-projections.d.ts +2 -0
- package/dist/runtime/config-projections.d.ts.map +1 -1
- package/dist/runtime/config-projections.js +33 -1
- package/dist/runtime/config-projections.js.map +1 -1
- package/dist/runtime/connector-auth-acquisition-client.d.ts +3 -6
- package/dist/runtime/connector-auth-acquisition-client.d.ts.map +1 -1
- package/dist/runtime/connector-auth-acquisition-client.js +18 -11
- package/dist/runtime/connector-auth-acquisition-client.js.map +1 -1
- package/dist/runtime/connector-auth-acquisition-profiles.generated.d.ts +10 -11
- package/dist/runtime/connector-auth-acquisition-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/connector-auth-acquisition-profiles.generated.js +13 -14
- package/dist/runtime/connector-auth-acquisition-profiles.generated.js.map +1 -1
- package/dist/runtime/connector-auth-acquisition.d.ts +26 -19
- package/dist/runtime/connector-auth-acquisition.d.ts.map +1 -1
- package/dist/runtime/connector-auth-acquisition.js +352 -269
- package/dist/runtime/connector-auth-acquisition.js.map +1 -1
- package/dist/runtime/connector-auth-profiles.generated.d.ts +1 -1
- package/dist/runtime/connector-auth-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/connector-auth-profiles.generated.js +4 -4
- package/dist/runtime/connector-auth-profiles.generated.js.map +1 -1
- package/dist/runtime/connector-inventory.d.ts +11 -2
- package/dist/runtime/connector-inventory.d.ts.map +1 -1
- package/dist/runtime/connector-inventory.js +13 -4
- package/dist/runtime/connector-inventory.js.map +1 -1
- package/dist/runtime/desktop-audit.js +4 -1
- package/dist/runtime/desktop-audit.js.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +130 -2
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js +34 -2
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js.map +1 -1
- package/dist/runtime/generated.d.ts +2 -2
- package/dist/runtime/generated.d.ts.map +1 -1
- package/dist/runtime/generated.js +1 -1
- package/dist/runtime/generated.js.map +1 -1
- package/dist/runtime/host.d.ts +3 -0
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/host.js +4 -0
- package/dist/runtime/host.js.map +1 -1
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/machine-loadouts.d.ts +33 -1
- package/dist/runtime/machine-loadouts.d.ts.map +1 -1
- package/dist/runtime/machine-loadouts.js +39 -2
- package/dist/runtime/machine-loadouts.js.map +1 -1
- package/dist/runtime/node-grpc-errors.js +3 -3
- package/dist/runtime/node-grpc-errors.js.map +1 -1
- package/dist/runtime/node-grpc.d.ts.map +1 -1
- package/dist/runtime/node-grpc.js +35 -4
- package/dist/runtime/node-grpc.js.map +1 -1
- package/dist/runtime/product-control-projection.d.ts.map +1 -1
- package/dist/runtime/product-control-projection.js +11 -2
- package/dist/runtime/product-control-projection.js.map +1 -1
- package/dist/runtime/product-control-types.d.ts +13 -2
- package/dist/runtime/product-control-types.d.ts.map +1 -1
- package/dist/runtime/product-control-types.js.map +1 -1
- package/dist/runtime/reason-messages.d.ts +3 -0
- package/dist/runtime/reason-messages.d.ts.map +1 -1
- package/dist/runtime/reason-messages.js +11 -2
- package/dist/runtime/reason-messages.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-projections.js +21 -17
- package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client-types.d.ts +50 -19
- package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-values.d.ts +3 -1
- package/dist/runtime/runtime-local-environment-client-values.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-values.js +43 -0
- package/dist/runtime/runtime-local-environment-client-values.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client.js +12 -3
- package/dist/runtime/runtime-local-environment-client.js.map +1 -1
- package/dist/runtime/runtime-local-recommendation-types.d.ts +3 -0
- package/dist/runtime/runtime-local-recommendation-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-recommendation.d.ts.map +1 -1
- package/dist/runtime/runtime-local-recommendation.js +1 -0
- package/dist/runtime/runtime-local-recommendation.js.map +1 -1
- package/dist/runtime/scenario-jobs.d.ts +23 -1
- package/dist/runtime/scenario-jobs.d.ts.map +1 -1
- package/dist/runtime/scenario-jobs.js +227 -264
- package/dist/runtime/scenario-jobs.js.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.d.ts.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.js +6 -0
- package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
- package/dist/runtime/wire-types/agent-participation-enums.d.ts +2 -1
- package/dist/runtime/wire-types/agent-participation-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/agent-participation-enums.js +2 -1
- package/dist/runtime/wire-types/agent-participation-enums.js.map +1 -1
- package/dist/runtime/wire-types/agent-participation-types.d.ts +4 -2
- package/dist/runtime/wire-types/agent-participation-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts +119 -3
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.js +136 -0
- package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-types.d.ts +8 -6
- package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-enums.d.ts +47 -0
- package/dist/runtime/wire-types/identity-app-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-enums.js +55 -0
- package/dist/runtime/wire-types/identity-app-enums.js.map +1 -1
- package/dist/runtime/wire-types/identity-app-types.d.ts +6 -4
- package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/local-memory-enums.d.ts +31 -1
- package/dist/runtime/wire-types/local-memory-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/local-memory-enums.js +34 -0
- package/dist/runtime/wire-types/local-memory-enums.js.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts +30 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.js +29 -0
- package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
- package/dist/types/errors.d.ts +1 -1
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +2 -2
- package/dist/types/errors.js.map +1 -1
- package/dist/types/reason-code.d.ts +2 -0
- package/dist/types/reason-code.d.ts.map +1 -1
- package/dist/types/reason-code.js +2 -0
- package/dist/types/reason-code.js.map +1 -1
- package/package.json +5 -5
|
@@ -245,6 +245,24 @@ export var AIConfigEffectiveState;
|
|
|
245
245
|
*/
|
|
246
246
|
AIConfigEffectiveState[AIConfigEffectiveState["AI_CONFIG_EFFECTIVE_STATE_UNAVAILABLE"] = 4] = "AI_CONFIG_EFFECTIVE_STATE_UNAVAILABLE";
|
|
247
247
|
})(AIConfigEffectiveState || (AIConfigEffectiveState = {}));
|
|
248
|
+
/**
|
|
249
|
+
* @generated from protobuf enum nimi.runtime.v1.TextReplayExecutionMode
|
|
250
|
+
*/
|
|
251
|
+
export var TextReplayExecutionMode;
|
|
252
|
+
(function (TextReplayExecutionMode) {
|
|
253
|
+
/**
|
|
254
|
+
* @generated from protobuf enum value: TEXT_REPLAY_EXECUTION_MODE_UNSPECIFIED = 0;
|
|
255
|
+
*/
|
|
256
|
+
TextReplayExecutionMode[TextReplayExecutionMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
257
|
+
/**
|
|
258
|
+
* @generated from protobuf enum value: TEXT_REPLAY_EXECUTION_MODE_SYNC = 1;
|
|
259
|
+
*/
|
|
260
|
+
TextReplayExecutionMode[TextReplayExecutionMode["SYNC"] = 1] = "SYNC";
|
|
261
|
+
/**
|
|
262
|
+
* @generated from protobuf enum value: TEXT_REPLAY_EXECUTION_MODE_STREAM = 2;
|
|
263
|
+
*/
|
|
264
|
+
TextReplayExecutionMode[TextReplayExecutionMode["STREAM"] = 2] = "STREAM";
|
|
265
|
+
})(TextReplayExecutionMode || (TextReplayExecutionMode = {}));
|
|
248
266
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
249
267
|
class CapabilityImplementationIdentity$Type extends MessageType {
|
|
250
268
|
constructor() {
|
|
@@ -919,7 +937,8 @@ class Loadout$Type extends MessageType {
|
|
|
919
937
|
{ no: 15, name: "updated_at", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
920
938
|
{ no: 16, name: "implementation_supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
921
939
|
{ no: 17, name: "configured_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
922
|
-
{ no: 18, name: "text_behaviors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextBehaviorCapabilityProjection }
|
|
940
|
+
{ no: 18, name: "text_behaviors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextBehaviorCapabilityProjection },
|
|
941
|
+
{ no: 19, name: "revision", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
923
942
|
]);
|
|
924
943
|
}
|
|
925
944
|
create(value) {
|
|
@@ -938,6 +957,7 @@ class Loadout$Type extends MessageType {
|
|
|
938
957
|
message.implementationSupportedFeatures = [];
|
|
939
958
|
message.configuredFeatures = [];
|
|
940
959
|
message.textBehaviors = [];
|
|
960
|
+
message.revision = "";
|
|
941
961
|
if (value !== undefined)
|
|
942
962
|
reflectionMergePartial(this, message, value);
|
|
943
963
|
return message;
|
|
@@ -1002,6 +1022,9 @@ class Loadout$Type extends MessageType {
|
|
|
1002
1022
|
case /* repeated nimi.runtime.v1.TextBehaviorCapabilityProjection text_behaviors */ 18:
|
|
1003
1023
|
message.textBehaviors.push(TextBehaviorCapabilityProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
1004
1024
|
break;
|
|
1025
|
+
case /* string revision */ 19:
|
|
1026
|
+
message.revision = reader.string();
|
|
1027
|
+
break;
|
|
1005
1028
|
default:
|
|
1006
1029
|
let u = options.readUnknownField;
|
|
1007
1030
|
if (u === "throw")
|
|
@@ -1069,6 +1092,9 @@ class Loadout$Type extends MessageType {
|
|
|
1069
1092
|
/* repeated nimi.runtime.v1.TextBehaviorCapabilityProjection text_behaviors = 18; */
|
|
1070
1093
|
for (let i = 0; i < message.textBehaviors.length; i++)
|
|
1071
1094
|
TextBehaviorCapabilityProjection.internalBinaryWrite(message.textBehaviors[i], writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
|
1095
|
+
/* string revision = 19; */
|
|
1096
|
+
if (message.revision !== "")
|
|
1097
|
+
writer.tag(19, WireType.LengthDelimited).string(message.revision);
|
|
1072
1098
|
let u = options.writeUnknownFields;
|
|
1073
1099
|
if (u !== false)
|
|
1074
1100
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1146,13 +1172,15 @@ class MachineLoadouts$Type extends MessageType {
|
|
|
1146
1172
|
constructor() {
|
|
1147
1173
|
super("nimi.runtime.v1.MachineLoadouts", [
|
|
1148
1174
|
{ no: 1, name: "loadouts", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Loadout },
|
|
1149
|
-
{ no: 2, name: "selections", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutSelection }
|
|
1175
|
+
{ no: 2, name: "selections", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutSelection },
|
|
1176
|
+
{ no: 3, name: "selection_revisions", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
|
|
1150
1177
|
]);
|
|
1151
1178
|
}
|
|
1152
1179
|
create(value) {
|
|
1153
1180
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
1154
1181
|
message.loadouts = [];
|
|
1155
1182
|
message.selections = [];
|
|
1183
|
+
message.selectionRevisions = {};
|
|
1156
1184
|
if (value !== undefined)
|
|
1157
1185
|
reflectionMergePartial(this, message, value);
|
|
1158
1186
|
return message;
|
|
@@ -1168,6 +1196,9 @@ class MachineLoadouts$Type extends MessageType {
|
|
|
1168
1196
|
case /* repeated nimi.runtime.v1.LoadoutSelection selections */ 2:
|
|
1169
1197
|
message.selections.push(LoadoutSelection.internalBinaryRead(reader, reader.uint32(), options));
|
|
1170
1198
|
break;
|
|
1199
|
+
case /* map<string, string> selection_revisions */ 3:
|
|
1200
|
+
this.binaryReadMap3(message.selectionRevisions, reader, options);
|
|
1201
|
+
break;
|
|
1171
1202
|
default:
|
|
1172
1203
|
let u = options.readUnknownField;
|
|
1173
1204
|
if (u === "throw")
|
|
@@ -1179,6 +1210,22 @@ class MachineLoadouts$Type extends MessageType {
|
|
|
1179
1210
|
}
|
|
1180
1211
|
return message;
|
|
1181
1212
|
}
|
|
1213
|
+
binaryReadMap3(map, reader, options) {
|
|
1214
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
1215
|
+
while (reader.pos < end) {
|
|
1216
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1217
|
+
switch (fieldNo) {
|
|
1218
|
+
case 1:
|
|
1219
|
+
key = reader.string();
|
|
1220
|
+
break;
|
|
1221
|
+
case 2:
|
|
1222
|
+
val = reader.string();
|
|
1223
|
+
break;
|
|
1224
|
+
default: throw new globalThis.Error("unknown map entry field for nimi.runtime.v1.MachineLoadouts.selection_revisions");
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
map[key ?? ""] = val ?? "";
|
|
1228
|
+
}
|
|
1182
1229
|
internalBinaryWrite(message, writer, options) {
|
|
1183
1230
|
/* repeated nimi.runtime.v1.Loadout loadouts = 1; */
|
|
1184
1231
|
for (let i = 0; i < message.loadouts.length; i++)
|
|
@@ -1186,6 +1233,9 @@ class MachineLoadouts$Type extends MessageType {
|
|
|
1186
1233
|
/* repeated nimi.runtime.v1.LoadoutSelection selections = 2; */
|
|
1187
1234
|
for (let i = 0; i < message.selections.length; i++)
|
|
1188
1235
|
LoadoutSelection.internalBinaryWrite(message.selections[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1236
|
+
/* map<string, string> selection_revisions = 3; */
|
|
1237
|
+
for (let k of globalThis.Object.keys(message.selectionRevisions))
|
|
1238
|
+
writer.tag(3, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.selectionRevisions[k]).join();
|
|
1189
1239
|
let u = options.writeUnknownFields;
|
|
1190
1240
|
if (u !== false)
|
|
1191
1241
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1331,13 +1381,76 @@ class LoadoutImpactProjection$Type extends MessageType {
|
|
|
1331
1381
|
*/
|
|
1332
1382
|
export const LoadoutImpactProjection = new LoadoutImpactProjection$Type();
|
|
1333
1383
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1384
|
+
class LoadoutRecipeContextFit$Type extends MessageType {
|
|
1385
|
+
constructor() {
|
|
1386
|
+
super("nimi.runtime.v1.LoadoutRecipeContextFit", [
|
|
1387
|
+
{ no: 1, name: "authored_context_size", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
1388
|
+
{ no: 2, name: "recommended_context_size", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
1389
|
+
{ no: 3, name: "recommended_options", kind: "message", T: () => Struct }
|
|
1390
|
+
]);
|
|
1391
|
+
}
|
|
1392
|
+
create(value) {
|
|
1393
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1394
|
+
message.authoredContextSize = "0";
|
|
1395
|
+
message.recommendedContextSize = "0";
|
|
1396
|
+
if (value !== undefined)
|
|
1397
|
+
reflectionMergePartial(this, message, value);
|
|
1398
|
+
return message;
|
|
1399
|
+
}
|
|
1400
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1401
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1402
|
+
while (reader.pos < end) {
|
|
1403
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1404
|
+
switch (fieldNo) {
|
|
1405
|
+
case /* uint64 authored_context_size */ 1:
|
|
1406
|
+
message.authoredContextSize = reader.uint64().toString();
|
|
1407
|
+
break;
|
|
1408
|
+
case /* uint64 recommended_context_size */ 2:
|
|
1409
|
+
message.recommendedContextSize = reader.uint64().toString();
|
|
1410
|
+
break;
|
|
1411
|
+
case /* google.protobuf.Struct recommended_options */ 3:
|
|
1412
|
+
message.recommendedOptions = Struct.internalBinaryRead(reader, reader.uint32(), options, message.recommendedOptions);
|
|
1413
|
+
break;
|
|
1414
|
+
default:
|
|
1415
|
+
let u = options.readUnknownField;
|
|
1416
|
+
if (u === "throw")
|
|
1417
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1418
|
+
let d = reader.skip(wireType);
|
|
1419
|
+
if (u !== false)
|
|
1420
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
return message;
|
|
1424
|
+
}
|
|
1425
|
+
internalBinaryWrite(message, writer, options) {
|
|
1426
|
+
/* uint64 authored_context_size = 1; */
|
|
1427
|
+
if (message.authoredContextSize !== "0")
|
|
1428
|
+
writer.tag(1, WireType.Varint).uint64(message.authoredContextSize);
|
|
1429
|
+
/* uint64 recommended_context_size = 2; */
|
|
1430
|
+
if (message.recommendedContextSize !== "0")
|
|
1431
|
+
writer.tag(2, WireType.Varint).uint64(message.recommendedContextSize);
|
|
1432
|
+
/* google.protobuf.Struct recommended_options = 3; */
|
|
1433
|
+
if (message.recommendedOptions)
|
|
1434
|
+
Struct.internalBinaryWrite(message.recommendedOptions, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1435
|
+
let u = options.writeUnknownFields;
|
|
1436
|
+
if (u !== false)
|
|
1437
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1438
|
+
return writer;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LoadoutRecipeContextFit
|
|
1443
|
+
*/
|
|
1444
|
+
export const LoadoutRecipeContextFit = new LoadoutRecipeContextFit$Type();
|
|
1445
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1334
1446
|
class LoadoutRecipeOfferDescriptor$Type extends MessageType {
|
|
1335
1447
|
constructor() {
|
|
1336
1448
|
super("nimi.runtime.v1.LoadoutRecipeOfferDescriptor", [
|
|
1337
1449
|
{ no: 1, name: "candidate", kind: "message", T: () => ModelAssetMarketCandidate },
|
|
1338
1450
|
{ no: 2, name: "applicability", kind: "enum", T: () => ["nimi.runtime.v1.LocalRecommendationApplicability", LocalRecommendationApplicability, "LOCAL_RECOMMENDATION_APPLICABILITY_"] },
|
|
1339
1451
|
{ no: 3, name: "reasons", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] },
|
|
1340
|
-
{ no: 5, name: "installed_model_asset_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1452
|
+
{ no: 5, name: "installed_model_asset_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1453
|
+
{ no: 6, name: "context_fit", kind: "message", T: () => LoadoutRecipeContextFit }
|
|
1341
1454
|
]);
|
|
1342
1455
|
}
|
|
1343
1456
|
create(value) {
|
|
@@ -1370,6 +1483,9 @@ class LoadoutRecipeOfferDescriptor$Type extends MessageType {
|
|
|
1370
1483
|
case /* string installed_model_asset_id */ 5:
|
|
1371
1484
|
message.installedModelAssetId = reader.string();
|
|
1372
1485
|
break;
|
|
1486
|
+
case /* nimi.runtime.v1.LoadoutRecipeContextFit context_fit */ 6:
|
|
1487
|
+
message.contextFit = LoadoutRecipeContextFit.internalBinaryRead(reader, reader.uint32(), options, message.contextFit);
|
|
1488
|
+
break;
|
|
1373
1489
|
default:
|
|
1374
1490
|
let u = options.readUnknownField;
|
|
1375
1491
|
if (u === "throw")
|
|
@@ -1398,6 +1514,9 @@ class LoadoutRecipeOfferDescriptor$Type extends MessageType {
|
|
|
1398
1514
|
/* string installed_model_asset_id = 5; */
|
|
1399
1515
|
if (message.installedModelAssetId !== "")
|
|
1400
1516
|
writer.tag(5, WireType.LengthDelimited).string(message.installedModelAssetId);
|
|
1517
|
+
/* nimi.runtime.v1.LoadoutRecipeContextFit context_fit = 6; */
|
|
1518
|
+
if (message.contextFit)
|
|
1519
|
+
LoadoutRecipeContextFit.internalBinaryWrite(message.contextFit, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
1401
1520
|
let u = options.writeUnknownFields;
|
|
1402
1521
|
if (u !== false)
|
|
1403
1522
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1421,7 +1540,8 @@ class LoadoutRecipeSlotDescriptor$Type extends MessageType {
|
|
|
1421
1540
|
{ no: 7, name: "conditional_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1422
1541
|
{ no: 8, name: "offers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutRecipeOfferDescriptor },
|
|
1423
1542
|
{ no: 9, name: "applicability", kind: "enum", T: () => ["nimi.runtime.v1.LocalRecommendationApplicability", LocalRecommendationApplicability, "LOCAL_RECOMMENDATION_APPLICABILITY_"] },
|
|
1424
|
-
{ no: 10, name: "reasons", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] }
|
|
1543
|
+
{ no: 10, name: "reasons", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] },
|
|
1544
|
+
{ no: 11, name: "recommended_context_fit", kind: "message", T: () => LoadoutRecipeContextFit }
|
|
1425
1545
|
]);
|
|
1426
1546
|
}
|
|
1427
1547
|
create(value) {
|
|
@@ -1478,6 +1598,9 @@ class LoadoutRecipeSlotDescriptor$Type extends MessageType {
|
|
|
1478
1598
|
else
|
|
1479
1599
|
message.reasons.push(reader.int32());
|
|
1480
1600
|
break;
|
|
1601
|
+
case /* nimi.runtime.v1.LoadoutRecipeContextFit recommended_context_fit */ 11:
|
|
1602
|
+
message.recommendedContextFit = LoadoutRecipeContextFit.internalBinaryRead(reader, reader.uint32(), options, message.recommendedContextFit);
|
|
1603
|
+
break;
|
|
1481
1604
|
default:
|
|
1482
1605
|
let u = options.readUnknownField;
|
|
1483
1606
|
if (u === "throw")
|
|
@@ -1524,6 +1647,9 @@ class LoadoutRecipeSlotDescriptor$Type extends MessageType {
|
|
|
1524
1647
|
writer.int32(message.reasons[i]);
|
|
1525
1648
|
writer.join();
|
|
1526
1649
|
}
|
|
1650
|
+
/* nimi.runtime.v1.LoadoutRecipeContextFit recommended_context_fit = 11; */
|
|
1651
|
+
if (message.recommendedContextFit)
|
|
1652
|
+
LoadoutRecipeContextFit.internalBinaryWrite(message.recommendedContextFit, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
1527
1653
|
let u = options.writeUnknownFields;
|
|
1528
1654
|
if (u !== false)
|
|
1529
1655
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1548,7 +1674,8 @@ class LoadoutRecipeDescriptor$Type extends MessageType {
|
|
|
1548
1674
|
{ no: 9, name: "custody", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutRecipeCustodyDescriptor },
|
|
1549
1675
|
{ no: 10, name: "implementation_supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1550
1676
|
{ no: 11, name: "applicability", kind: "enum", T: () => ["nimi.runtime.v1.LocalRecommendationApplicability", LocalRecommendationApplicability, "LOCAL_RECOMMENDATION_APPLICABILITY_"] },
|
|
1551
|
-
{ no: 12, name: "reasons", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] }
|
|
1677
|
+
{ no: 12, name: "reasons", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] },
|
|
1678
|
+
{ no: 13, name: "recommended_options", kind: "message", T: () => Struct }
|
|
1552
1679
|
]);
|
|
1553
1680
|
}
|
|
1554
1681
|
create(value) {
|
|
@@ -1608,6 +1735,9 @@ class LoadoutRecipeDescriptor$Type extends MessageType {
|
|
|
1608
1735
|
else
|
|
1609
1736
|
message.reasons.push(reader.int32());
|
|
1610
1737
|
break;
|
|
1738
|
+
case /* google.protobuf.Struct recommended_options */ 13:
|
|
1739
|
+
message.recommendedOptions = Struct.internalBinaryRead(reader, reader.uint32(), options, message.recommendedOptions);
|
|
1740
|
+
break;
|
|
1611
1741
|
default:
|
|
1612
1742
|
let u = options.readUnknownField;
|
|
1613
1743
|
if (u === "throw")
|
|
@@ -1657,6 +1787,9 @@ class LoadoutRecipeDescriptor$Type extends MessageType {
|
|
|
1657
1787
|
writer.int32(message.reasons[i]);
|
|
1658
1788
|
writer.join();
|
|
1659
1789
|
}
|
|
1790
|
+
/* google.protobuf.Struct recommended_options = 13; */
|
|
1791
|
+
if (message.recommendedOptions)
|
|
1792
|
+
Struct.internalBinaryWrite(message.recommendedOptions, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
1660
1793
|
let u = options.writeUnknownFields;
|
|
1661
1794
|
if (u !== false)
|
|
1662
1795
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1948,7 +2081,8 @@ class PrepareLoadoutRequest$Type extends MessageType {
|
|
|
1948
2081
|
{ no: 4, name: "options", kind: "message", T: () => Struct },
|
|
1949
2082
|
{ no: 6, name: "model_axes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutModelAxisInput },
|
|
1950
2083
|
{ no: 7, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1951
|
-
{ no: 8, name: "provenance", kind: "message", T: () => Struct }
|
|
2084
|
+
{ no: 8, name: "provenance", kind: "message", T: () => Struct },
|
|
2085
|
+
{ no: 9, name: "expected_loadout_revision", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1952
2086
|
]);
|
|
1953
2087
|
}
|
|
1954
2088
|
create(value) {
|
|
@@ -1958,6 +2092,7 @@ class PrepareLoadoutRequest$Type extends MessageType {
|
|
|
1958
2092
|
message.recipeId = "";
|
|
1959
2093
|
message.modelAxes = [];
|
|
1960
2094
|
message.displayName = "";
|
|
2095
|
+
message.expectedLoadoutRevision = "";
|
|
1961
2096
|
if (value !== undefined)
|
|
1962
2097
|
reflectionMergePartial(this, message, value);
|
|
1963
2098
|
return message;
|
|
@@ -1988,6 +2123,9 @@ class PrepareLoadoutRequest$Type extends MessageType {
|
|
|
1988
2123
|
case /* google.protobuf.Struct provenance */ 8:
|
|
1989
2124
|
message.provenance = Struct.internalBinaryRead(reader, reader.uint32(), options, message.provenance);
|
|
1990
2125
|
break;
|
|
2126
|
+
case /* string expected_loadout_revision */ 9:
|
|
2127
|
+
message.expectedLoadoutRevision = reader.string();
|
|
2128
|
+
break;
|
|
1991
2129
|
default:
|
|
1992
2130
|
let u = options.readUnknownField;
|
|
1993
2131
|
if (u === "throw")
|
|
@@ -2021,6 +2159,9 @@ class PrepareLoadoutRequest$Type extends MessageType {
|
|
|
2021
2159
|
/* google.protobuf.Struct provenance = 8; */
|
|
2022
2160
|
if (message.provenance)
|
|
2023
2161
|
Struct.internalBinaryWrite(message.provenance, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
2162
|
+
/* string expected_loadout_revision = 9; */
|
|
2163
|
+
if (message.expectedLoadoutRevision !== "")
|
|
2164
|
+
writer.tag(9, WireType.LengthDelimited).string(message.expectedLoadoutRevision);
|
|
2024
2165
|
let u = options.writeUnknownFields;
|
|
2025
2166
|
if (u !== false)
|
|
2026
2167
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2212,7 +2353,8 @@ class UpdateLoadoutRequest$Type extends MessageType {
|
|
|
2212
2353
|
{ no: 6, name: "model_axes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutModelAxisInput },
|
|
2213
2354
|
{ no: 7, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2214
2355
|
{ no: 8, name: "provenance", kind: "message", T: () => Struct },
|
|
2215
|
-
{ no: 9, name: "confirmed_machine_impact", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2356
|
+
{ no: 9, name: "confirmed_machine_impact", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2357
|
+
{ no: 10, name: "expected_loadout_revision", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2216
2358
|
]);
|
|
2217
2359
|
}
|
|
2218
2360
|
create(value) {
|
|
@@ -2223,6 +2365,7 @@ class UpdateLoadoutRequest$Type extends MessageType {
|
|
|
2223
2365
|
message.modelAxes = [];
|
|
2224
2366
|
message.displayName = "";
|
|
2225
2367
|
message.confirmedMachineImpact = false;
|
|
2368
|
+
message.expectedLoadoutRevision = "";
|
|
2226
2369
|
if (value !== undefined)
|
|
2227
2370
|
reflectionMergePartial(this, message, value);
|
|
2228
2371
|
return message;
|
|
@@ -2256,6 +2399,9 @@ class UpdateLoadoutRequest$Type extends MessageType {
|
|
|
2256
2399
|
case /* bool confirmed_machine_impact */ 9:
|
|
2257
2400
|
message.confirmedMachineImpact = reader.bool();
|
|
2258
2401
|
break;
|
|
2402
|
+
case /* string expected_loadout_revision */ 10:
|
|
2403
|
+
message.expectedLoadoutRevision = reader.string();
|
|
2404
|
+
break;
|
|
2259
2405
|
default:
|
|
2260
2406
|
let u = options.readUnknownField;
|
|
2261
2407
|
if (u === "throw")
|
|
@@ -2292,6 +2438,9 @@ class UpdateLoadoutRequest$Type extends MessageType {
|
|
|
2292
2438
|
/* bool confirmed_machine_impact = 9; */
|
|
2293
2439
|
if (message.confirmedMachineImpact !== false)
|
|
2294
2440
|
writer.tag(9, WireType.Varint).bool(message.confirmedMachineImpact);
|
|
2441
|
+
/* string expected_loadout_revision = 10; */
|
|
2442
|
+
if (message.expectedLoadoutRevision !== "")
|
|
2443
|
+
writer.tag(10, WireType.LengthDelimited).string(message.expectedLoadoutRevision);
|
|
2295
2444
|
let u = options.writeUnknownFields;
|
|
2296
2445
|
if (u !== false)
|
|
2297
2446
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2354,7 +2503,10 @@ class SelectLoadoutRequest$Type extends MessageType {
|
|
|
2354
2503
|
super("nimi.runtime.v1.SelectLoadoutRequest", [
|
|
2355
2504
|
{ no: 1, name: "capability_contract", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2356
2505
|
{ no: 2, name: "loadout_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2357
|
-
{ no: 3, name: "confirmed_machine_impact", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2506
|
+
{ no: 3, name: "confirmed_machine_impact", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2507
|
+
{ no: 4, name: "expected_selection_revision", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2508
|
+
{ no: 5, name: "expected_candidate_revision", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2509
|
+
{ no: 6, name: "expect_no_prior_selection", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
2358
2510
|
]);
|
|
2359
2511
|
}
|
|
2360
2512
|
create(value) {
|
|
@@ -2362,6 +2514,9 @@ class SelectLoadoutRequest$Type extends MessageType {
|
|
|
2362
2514
|
message.capabilityContract = "";
|
|
2363
2515
|
message.loadoutId = "";
|
|
2364
2516
|
message.confirmedMachineImpact = false;
|
|
2517
|
+
message.expectedSelectionRevision = "";
|
|
2518
|
+
message.expectedCandidateRevision = "";
|
|
2519
|
+
message.expectNoPriorSelection = false;
|
|
2365
2520
|
if (value !== undefined)
|
|
2366
2521
|
reflectionMergePartial(this, message, value);
|
|
2367
2522
|
return message;
|
|
@@ -2380,6 +2535,15 @@ class SelectLoadoutRequest$Type extends MessageType {
|
|
|
2380
2535
|
case /* bool confirmed_machine_impact */ 3:
|
|
2381
2536
|
message.confirmedMachineImpact = reader.bool();
|
|
2382
2537
|
break;
|
|
2538
|
+
case /* string expected_selection_revision */ 4:
|
|
2539
|
+
message.expectedSelectionRevision = reader.string();
|
|
2540
|
+
break;
|
|
2541
|
+
case /* string expected_candidate_revision */ 5:
|
|
2542
|
+
message.expectedCandidateRevision = reader.string();
|
|
2543
|
+
break;
|
|
2544
|
+
case /* bool expect_no_prior_selection */ 6:
|
|
2545
|
+
message.expectNoPriorSelection = reader.bool();
|
|
2546
|
+
break;
|
|
2383
2547
|
default:
|
|
2384
2548
|
let u = options.readUnknownField;
|
|
2385
2549
|
if (u === "throw")
|
|
@@ -2401,6 +2565,15 @@ class SelectLoadoutRequest$Type extends MessageType {
|
|
|
2401
2565
|
/* bool confirmed_machine_impact = 3; */
|
|
2402
2566
|
if (message.confirmedMachineImpact !== false)
|
|
2403
2567
|
writer.tag(3, WireType.Varint).bool(message.confirmedMachineImpact);
|
|
2568
|
+
/* string expected_selection_revision = 4; */
|
|
2569
|
+
if (message.expectedSelectionRevision !== "")
|
|
2570
|
+
writer.tag(4, WireType.LengthDelimited).string(message.expectedSelectionRevision);
|
|
2571
|
+
/* string expected_candidate_revision = 5; */
|
|
2572
|
+
if (message.expectedCandidateRevision !== "")
|
|
2573
|
+
writer.tag(5, WireType.LengthDelimited).string(message.expectedCandidateRevision);
|
|
2574
|
+
/* bool expect_no_prior_selection = 6; */
|
|
2575
|
+
if (message.expectNoPriorSelection !== false)
|
|
2576
|
+
writer.tag(6, WireType.Varint).bool(message.expectNoPriorSelection);
|
|
2404
2577
|
let u = options.writeUnknownFields;
|
|
2405
2578
|
if (u !== false)
|
|
2406
2579
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2415,11 +2588,17 @@ export const SelectLoadoutRequest = new SelectLoadoutRequest$Type();
|
|
|
2415
2588
|
class SelectLoadoutResponse$Type extends MessageType {
|
|
2416
2589
|
constructor() {
|
|
2417
2590
|
super("nimi.runtime.v1.SelectLoadoutResponse", [
|
|
2418
|
-
{ no: 1, name: "selection", kind: "message", T: () => LoadoutSelection }
|
|
2591
|
+
{ no: 1, name: "selection", kind: "message", T: () => LoadoutSelection },
|
|
2592
|
+
{ no: 2, name: "applied", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2593
|
+
{ no: 3, name: "reason_code", kind: "enum", T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] },
|
|
2594
|
+
{ no: 4, name: "selection_revision", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2419
2595
|
]);
|
|
2420
2596
|
}
|
|
2421
2597
|
create(value) {
|
|
2422
2598
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2599
|
+
message.applied = false;
|
|
2600
|
+
message.reasonCode = 0;
|
|
2601
|
+
message.selectionRevision = "";
|
|
2423
2602
|
if (value !== undefined)
|
|
2424
2603
|
reflectionMergePartial(this, message, value);
|
|
2425
2604
|
return message;
|
|
@@ -2432,6 +2611,15 @@ class SelectLoadoutResponse$Type extends MessageType {
|
|
|
2432
2611
|
case /* nimi.runtime.v1.LoadoutSelection selection */ 1:
|
|
2433
2612
|
message.selection = LoadoutSelection.internalBinaryRead(reader, reader.uint32(), options, message.selection);
|
|
2434
2613
|
break;
|
|
2614
|
+
case /* bool applied */ 2:
|
|
2615
|
+
message.applied = reader.bool();
|
|
2616
|
+
break;
|
|
2617
|
+
case /* nimi.runtime.v1.ReasonCode reason_code */ 3:
|
|
2618
|
+
message.reasonCode = reader.int32();
|
|
2619
|
+
break;
|
|
2620
|
+
case /* string selection_revision */ 4:
|
|
2621
|
+
message.selectionRevision = reader.string();
|
|
2622
|
+
break;
|
|
2435
2623
|
default:
|
|
2436
2624
|
let u = options.readUnknownField;
|
|
2437
2625
|
if (u === "throw")
|
|
@@ -2447,6 +2635,15 @@ class SelectLoadoutResponse$Type extends MessageType {
|
|
|
2447
2635
|
/* nimi.runtime.v1.LoadoutSelection selection = 1; */
|
|
2448
2636
|
if (message.selection)
|
|
2449
2637
|
LoadoutSelection.internalBinaryWrite(message.selection, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2638
|
+
/* bool applied = 2; */
|
|
2639
|
+
if (message.applied !== false)
|
|
2640
|
+
writer.tag(2, WireType.Varint).bool(message.applied);
|
|
2641
|
+
/* nimi.runtime.v1.ReasonCode reason_code = 3; */
|
|
2642
|
+
if (message.reasonCode !== 0)
|
|
2643
|
+
writer.tag(3, WireType.Varint).int32(message.reasonCode);
|
|
2644
|
+
/* string selection_revision = 4; */
|
|
2645
|
+
if (message.selectionRevision !== "")
|
|
2646
|
+
writer.tag(4, WireType.LengthDelimited).string(message.selectionRevision);
|
|
2450
2647
|
let u = options.writeUnknownFields;
|
|
2451
2648
|
if (u !== false)
|
|
2452
2649
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3128,6 +3325,584 @@ class AIConfig$Type extends MessageType {
|
|
|
3128
3325
|
*/
|
|
3129
3326
|
export const AIConfig = new AIConfig$Type();
|
|
3130
3327
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3328
|
+
class VoiceReferenceInputCapabilities$Type extends MessageType {
|
|
3329
|
+
constructor() {
|
|
3330
|
+
super("nimi.runtime.v1.VoiceReferenceInputCapabilities", [
|
|
3331
|
+
{ no: 1, name: "supports_bytes", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3332
|
+
{ no: 2, name: "supports_uri", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3333
|
+
{ no: 3, name: "text_mode", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3334
|
+
{ no: 4, name: "mime_types", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
3335
|
+
]);
|
|
3336
|
+
}
|
|
3337
|
+
create(value) {
|
|
3338
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3339
|
+
message.supportsBytes = false;
|
|
3340
|
+
message.supportsUri = false;
|
|
3341
|
+
message.textMode = "";
|
|
3342
|
+
message.mimeTypes = [];
|
|
3343
|
+
if (value !== undefined)
|
|
3344
|
+
reflectionMergePartial(this, message, value);
|
|
3345
|
+
return message;
|
|
3346
|
+
}
|
|
3347
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3348
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3349
|
+
while (reader.pos < end) {
|
|
3350
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3351
|
+
switch (fieldNo) {
|
|
3352
|
+
case /* bool supports_bytes */ 1:
|
|
3353
|
+
message.supportsBytes = reader.bool();
|
|
3354
|
+
break;
|
|
3355
|
+
case /* bool supports_uri */ 2:
|
|
3356
|
+
message.supportsUri = reader.bool();
|
|
3357
|
+
break;
|
|
3358
|
+
case /* string text_mode */ 3:
|
|
3359
|
+
message.textMode = reader.string();
|
|
3360
|
+
break;
|
|
3361
|
+
case /* repeated string mime_types */ 4:
|
|
3362
|
+
message.mimeTypes.push(reader.string());
|
|
3363
|
+
break;
|
|
3364
|
+
default:
|
|
3365
|
+
let u = options.readUnknownField;
|
|
3366
|
+
if (u === "throw")
|
|
3367
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3368
|
+
let d = reader.skip(wireType);
|
|
3369
|
+
if (u !== false)
|
|
3370
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
return message;
|
|
3374
|
+
}
|
|
3375
|
+
internalBinaryWrite(message, writer, options) {
|
|
3376
|
+
/* bool supports_bytes = 1; */
|
|
3377
|
+
if (message.supportsBytes !== false)
|
|
3378
|
+
writer.tag(1, WireType.Varint).bool(message.supportsBytes);
|
|
3379
|
+
/* bool supports_uri = 2; */
|
|
3380
|
+
if (message.supportsUri !== false)
|
|
3381
|
+
writer.tag(2, WireType.Varint).bool(message.supportsUri);
|
|
3382
|
+
/* string text_mode = 3; */
|
|
3383
|
+
if (message.textMode !== "")
|
|
3384
|
+
writer.tag(3, WireType.LengthDelimited).string(message.textMode);
|
|
3385
|
+
/* repeated string mime_types = 4; */
|
|
3386
|
+
for (let i = 0; i < message.mimeTypes.length; i++)
|
|
3387
|
+
writer.tag(4, WireType.LengthDelimited).string(message.mimeTypes[i]);
|
|
3388
|
+
let u = options.writeUnknownFields;
|
|
3389
|
+
if (u !== false)
|
|
3390
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3391
|
+
return writer;
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
/**
|
|
3395
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.VoiceReferenceInputCapabilities
|
|
3396
|
+
*/
|
|
3397
|
+
export const VoiceReferenceInputCapabilities = new VoiceReferenceInputCapabilities$Type();
|
|
3398
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3399
|
+
class MusicGenerationInputProfile$Type extends MessageType {
|
|
3400
|
+
constructor() {
|
|
3401
|
+
super("nimi.runtime.v1.MusicGenerationInputProfile", [
|
|
3402
|
+
{ no: 1, name: "lyrics_mode", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3403
|
+
{ no: 2, name: "score_mode", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3404
|
+
{ no: 3, name: "score_formats", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3405
|
+
{ no: 4, name: "score_conditioning", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3406
|
+
{ no: 5, name: "supports_instrumental", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3407
|
+
{ no: 6, name: "supports_seed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3408
|
+
{ no: 7, name: "supports_generated_score", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3409
|
+
{ no: 8, name: "supports_audio_reference", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3410
|
+
{ no: 9, name: "max_duration_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3411
|
+
{ no: 10, name: "default_duration_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3412
|
+
{ no: 11, name: "max_prompt_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3413
|
+
{ no: 12, name: "max_lyrics_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3414
|
+
{ no: 13, name: "max_score_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3415
|
+
{ no: 14, name: "max_audio_reference_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3416
|
+
{ no: 15, name: "video_reference_mode", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3417
|
+
{ no: 16, name: "max_video_reference_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
3418
|
+
]);
|
|
3419
|
+
}
|
|
3420
|
+
create(value) {
|
|
3421
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3422
|
+
message.lyricsMode = "";
|
|
3423
|
+
message.scoreMode = "";
|
|
3424
|
+
message.scoreFormats = [];
|
|
3425
|
+
message.scoreConditioning = [];
|
|
3426
|
+
message.supportsInstrumental = false;
|
|
3427
|
+
message.supportsSeed = false;
|
|
3428
|
+
message.supportsGeneratedScore = false;
|
|
3429
|
+
message.supportsAudioReference = false;
|
|
3430
|
+
message.maxDurationSeconds = 0;
|
|
3431
|
+
message.defaultDurationSeconds = 0;
|
|
3432
|
+
message.maxPromptBytes = 0;
|
|
3433
|
+
message.maxLyricsBytes = 0;
|
|
3434
|
+
message.maxScoreBytes = 0;
|
|
3435
|
+
message.maxAudioReferenceBytes = 0;
|
|
3436
|
+
message.videoReferenceMode = "";
|
|
3437
|
+
message.maxVideoReferenceBytes = 0;
|
|
3438
|
+
if (value !== undefined)
|
|
3439
|
+
reflectionMergePartial(this, message, value);
|
|
3440
|
+
return message;
|
|
3441
|
+
}
|
|
3442
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3443
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3444
|
+
while (reader.pos < end) {
|
|
3445
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3446
|
+
switch (fieldNo) {
|
|
3447
|
+
case /* string lyrics_mode */ 1:
|
|
3448
|
+
message.lyricsMode = reader.string();
|
|
3449
|
+
break;
|
|
3450
|
+
case /* string score_mode */ 2:
|
|
3451
|
+
message.scoreMode = reader.string();
|
|
3452
|
+
break;
|
|
3453
|
+
case /* repeated string score_formats */ 3:
|
|
3454
|
+
message.scoreFormats.push(reader.string());
|
|
3455
|
+
break;
|
|
3456
|
+
case /* repeated string score_conditioning */ 4:
|
|
3457
|
+
message.scoreConditioning.push(reader.string());
|
|
3458
|
+
break;
|
|
3459
|
+
case /* bool supports_instrumental */ 5:
|
|
3460
|
+
message.supportsInstrumental = reader.bool();
|
|
3461
|
+
break;
|
|
3462
|
+
case /* bool supports_seed */ 6:
|
|
3463
|
+
message.supportsSeed = reader.bool();
|
|
3464
|
+
break;
|
|
3465
|
+
case /* bool supports_generated_score */ 7:
|
|
3466
|
+
message.supportsGeneratedScore = reader.bool();
|
|
3467
|
+
break;
|
|
3468
|
+
case /* bool supports_audio_reference */ 8:
|
|
3469
|
+
message.supportsAudioReference = reader.bool();
|
|
3470
|
+
break;
|
|
3471
|
+
case /* uint32 max_duration_seconds */ 9:
|
|
3472
|
+
message.maxDurationSeconds = reader.uint32();
|
|
3473
|
+
break;
|
|
3474
|
+
case /* uint32 default_duration_seconds */ 10:
|
|
3475
|
+
message.defaultDurationSeconds = reader.uint32();
|
|
3476
|
+
break;
|
|
3477
|
+
case /* uint32 max_prompt_bytes */ 11:
|
|
3478
|
+
message.maxPromptBytes = reader.uint32();
|
|
3479
|
+
break;
|
|
3480
|
+
case /* uint32 max_lyrics_bytes */ 12:
|
|
3481
|
+
message.maxLyricsBytes = reader.uint32();
|
|
3482
|
+
break;
|
|
3483
|
+
case /* uint32 max_score_bytes */ 13:
|
|
3484
|
+
message.maxScoreBytes = reader.uint32();
|
|
3485
|
+
break;
|
|
3486
|
+
case /* uint32 max_audio_reference_bytes */ 14:
|
|
3487
|
+
message.maxAudioReferenceBytes = reader.uint32();
|
|
3488
|
+
break;
|
|
3489
|
+
case /* string video_reference_mode */ 15:
|
|
3490
|
+
message.videoReferenceMode = reader.string();
|
|
3491
|
+
break;
|
|
3492
|
+
case /* uint32 max_video_reference_bytes */ 16:
|
|
3493
|
+
message.maxVideoReferenceBytes = reader.uint32();
|
|
3494
|
+
break;
|
|
3495
|
+
default:
|
|
3496
|
+
let u = options.readUnknownField;
|
|
3497
|
+
if (u === "throw")
|
|
3498
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3499
|
+
let d = reader.skip(wireType);
|
|
3500
|
+
if (u !== false)
|
|
3501
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
return message;
|
|
3505
|
+
}
|
|
3506
|
+
internalBinaryWrite(message, writer, options) {
|
|
3507
|
+
/* string lyrics_mode = 1; */
|
|
3508
|
+
if (message.lyricsMode !== "")
|
|
3509
|
+
writer.tag(1, WireType.LengthDelimited).string(message.lyricsMode);
|
|
3510
|
+
/* string score_mode = 2; */
|
|
3511
|
+
if (message.scoreMode !== "")
|
|
3512
|
+
writer.tag(2, WireType.LengthDelimited).string(message.scoreMode);
|
|
3513
|
+
/* repeated string score_formats = 3; */
|
|
3514
|
+
for (let i = 0; i < message.scoreFormats.length; i++)
|
|
3515
|
+
writer.tag(3, WireType.LengthDelimited).string(message.scoreFormats[i]);
|
|
3516
|
+
/* repeated string score_conditioning = 4; */
|
|
3517
|
+
for (let i = 0; i < message.scoreConditioning.length; i++)
|
|
3518
|
+
writer.tag(4, WireType.LengthDelimited).string(message.scoreConditioning[i]);
|
|
3519
|
+
/* bool supports_instrumental = 5; */
|
|
3520
|
+
if (message.supportsInstrumental !== false)
|
|
3521
|
+
writer.tag(5, WireType.Varint).bool(message.supportsInstrumental);
|
|
3522
|
+
/* bool supports_seed = 6; */
|
|
3523
|
+
if (message.supportsSeed !== false)
|
|
3524
|
+
writer.tag(6, WireType.Varint).bool(message.supportsSeed);
|
|
3525
|
+
/* bool supports_generated_score = 7; */
|
|
3526
|
+
if (message.supportsGeneratedScore !== false)
|
|
3527
|
+
writer.tag(7, WireType.Varint).bool(message.supportsGeneratedScore);
|
|
3528
|
+
/* bool supports_audio_reference = 8; */
|
|
3529
|
+
if (message.supportsAudioReference !== false)
|
|
3530
|
+
writer.tag(8, WireType.Varint).bool(message.supportsAudioReference);
|
|
3531
|
+
/* uint32 max_duration_seconds = 9; */
|
|
3532
|
+
if (message.maxDurationSeconds !== 0)
|
|
3533
|
+
writer.tag(9, WireType.Varint).uint32(message.maxDurationSeconds);
|
|
3534
|
+
/* uint32 default_duration_seconds = 10; */
|
|
3535
|
+
if (message.defaultDurationSeconds !== 0)
|
|
3536
|
+
writer.tag(10, WireType.Varint).uint32(message.defaultDurationSeconds);
|
|
3537
|
+
/* uint32 max_prompt_bytes = 11; */
|
|
3538
|
+
if (message.maxPromptBytes !== 0)
|
|
3539
|
+
writer.tag(11, WireType.Varint).uint32(message.maxPromptBytes);
|
|
3540
|
+
/* uint32 max_lyrics_bytes = 12; */
|
|
3541
|
+
if (message.maxLyricsBytes !== 0)
|
|
3542
|
+
writer.tag(12, WireType.Varint).uint32(message.maxLyricsBytes);
|
|
3543
|
+
/* uint32 max_score_bytes = 13; */
|
|
3544
|
+
if (message.maxScoreBytes !== 0)
|
|
3545
|
+
writer.tag(13, WireType.Varint).uint32(message.maxScoreBytes);
|
|
3546
|
+
/* uint32 max_audio_reference_bytes = 14; */
|
|
3547
|
+
if (message.maxAudioReferenceBytes !== 0)
|
|
3548
|
+
writer.tag(14, WireType.Varint).uint32(message.maxAudioReferenceBytes);
|
|
3549
|
+
/* string video_reference_mode = 15; */
|
|
3550
|
+
if (message.videoReferenceMode !== "")
|
|
3551
|
+
writer.tag(15, WireType.LengthDelimited).string(message.videoReferenceMode);
|
|
3552
|
+
/* uint32 max_video_reference_bytes = 16; */
|
|
3553
|
+
if (message.maxVideoReferenceBytes !== 0)
|
|
3554
|
+
writer.tag(16, WireType.Varint).uint32(message.maxVideoReferenceBytes);
|
|
3555
|
+
let u = options.writeUnknownFields;
|
|
3556
|
+
if (u !== false)
|
|
3557
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3558
|
+
return writer;
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
/**
|
|
3562
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.MusicGenerationInputProfile
|
|
3563
|
+
*/
|
|
3564
|
+
export const MusicGenerationInputProfile = new MusicGenerationInputProfile$Type();
|
|
3565
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3566
|
+
class SpeechInputCapabilities$Type extends MessageType {
|
|
3567
|
+
constructor() {
|
|
3568
|
+
super("nimi.runtime.v1.SpeechInputCapabilities", [
|
|
3569
|
+
{ no: 1, name: "supports_identity_audio", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3570
|
+
{ no: 2, name: "supports_performance_audio", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3571
|
+
{ no: 3, name: "max_reference_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3572
|
+
{ no: 4, name: "max_reference_duration_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3573
|
+
{ no: 5, name: "max_performance_text_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
3574
|
+
]);
|
|
3575
|
+
}
|
|
3576
|
+
create(value) {
|
|
3577
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3578
|
+
message.supportsIdentityAudio = false;
|
|
3579
|
+
message.supportsPerformanceAudio = false;
|
|
3580
|
+
message.maxReferenceBytes = 0;
|
|
3581
|
+
message.maxReferenceDurationSeconds = 0;
|
|
3582
|
+
message.maxPerformanceTextBytes = 0;
|
|
3583
|
+
if (value !== undefined)
|
|
3584
|
+
reflectionMergePartial(this, message, value);
|
|
3585
|
+
return message;
|
|
3586
|
+
}
|
|
3587
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3588
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3589
|
+
while (reader.pos < end) {
|
|
3590
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3591
|
+
switch (fieldNo) {
|
|
3592
|
+
case /* bool supports_identity_audio */ 1:
|
|
3593
|
+
message.supportsIdentityAudio = reader.bool();
|
|
3594
|
+
break;
|
|
3595
|
+
case /* bool supports_performance_audio */ 2:
|
|
3596
|
+
message.supportsPerformanceAudio = reader.bool();
|
|
3597
|
+
break;
|
|
3598
|
+
case /* uint32 max_reference_bytes */ 3:
|
|
3599
|
+
message.maxReferenceBytes = reader.uint32();
|
|
3600
|
+
break;
|
|
3601
|
+
case /* uint32 max_reference_duration_seconds */ 4:
|
|
3602
|
+
message.maxReferenceDurationSeconds = reader.uint32();
|
|
3603
|
+
break;
|
|
3604
|
+
case /* uint32 max_performance_text_bytes */ 5:
|
|
3605
|
+
message.maxPerformanceTextBytes = reader.uint32();
|
|
3606
|
+
break;
|
|
3607
|
+
default:
|
|
3608
|
+
let u = options.readUnknownField;
|
|
3609
|
+
if (u === "throw")
|
|
3610
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3611
|
+
let d = reader.skip(wireType);
|
|
3612
|
+
if (u !== false)
|
|
3613
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
3616
|
+
return message;
|
|
3617
|
+
}
|
|
3618
|
+
internalBinaryWrite(message, writer, options) {
|
|
3619
|
+
/* bool supports_identity_audio = 1; */
|
|
3620
|
+
if (message.supportsIdentityAudio !== false)
|
|
3621
|
+
writer.tag(1, WireType.Varint).bool(message.supportsIdentityAudio);
|
|
3622
|
+
/* bool supports_performance_audio = 2; */
|
|
3623
|
+
if (message.supportsPerformanceAudio !== false)
|
|
3624
|
+
writer.tag(2, WireType.Varint).bool(message.supportsPerformanceAudio);
|
|
3625
|
+
/* uint32 max_reference_bytes = 3; */
|
|
3626
|
+
if (message.maxReferenceBytes !== 0)
|
|
3627
|
+
writer.tag(3, WireType.Varint).uint32(message.maxReferenceBytes);
|
|
3628
|
+
/* uint32 max_reference_duration_seconds = 4; */
|
|
3629
|
+
if (message.maxReferenceDurationSeconds !== 0)
|
|
3630
|
+
writer.tag(4, WireType.Varint).uint32(message.maxReferenceDurationSeconds);
|
|
3631
|
+
/* uint32 max_performance_text_bytes = 5; */
|
|
3632
|
+
if (message.maxPerformanceTextBytes !== 0)
|
|
3633
|
+
writer.tag(5, WireType.Varint).uint32(message.maxPerformanceTextBytes);
|
|
3634
|
+
let u = options.writeUnknownFields;
|
|
3635
|
+
if (u !== false)
|
|
3636
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3637
|
+
return writer;
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
/**
|
|
3641
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SpeechInputCapabilities
|
|
3642
|
+
*/
|
|
3643
|
+
export const SpeechInputCapabilities = new SpeechInputCapabilities$Type();
|
|
3644
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3645
|
+
class MusicInputCapabilities$Type extends MessageType {
|
|
3646
|
+
constructor() {
|
|
3647
|
+
super("nimi.runtime.v1.MusicInputCapabilities", [
|
|
3648
|
+
{ no: 1, name: "generation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MusicGenerationInputProfile },
|
|
3649
|
+
{ no: 2, name: "transcription", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MusicTranscriptionInputProfile },
|
|
3650
|
+
{ no: 3, name: "voice_convert", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => VoiceConvertInputProfile }
|
|
3651
|
+
]);
|
|
3652
|
+
}
|
|
3653
|
+
create(value) {
|
|
3654
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3655
|
+
message.generation = [];
|
|
3656
|
+
message.transcription = [];
|
|
3657
|
+
message.voiceConvert = [];
|
|
3658
|
+
if (value !== undefined)
|
|
3659
|
+
reflectionMergePartial(this, message, value);
|
|
3660
|
+
return message;
|
|
3661
|
+
}
|
|
3662
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3663
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3664
|
+
while (reader.pos < end) {
|
|
3665
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3666
|
+
switch (fieldNo) {
|
|
3667
|
+
case /* repeated nimi.runtime.v1.MusicGenerationInputProfile generation */ 1:
|
|
3668
|
+
message.generation.push(MusicGenerationInputProfile.internalBinaryRead(reader, reader.uint32(), options));
|
|
3669
|
+
break;
|
|
3670
|
+
case /* repeated nimi.runtime.v1.MusicTranscriptionInputProfile transcription */ 2:
|
|
3671
|
+
message.transcription.push(MusicTranscriptionInputProfile.internalBinaryRead(reader, reader.uint32(), options));
|
|
3672
|
+
break;
|
|
3673
|
+
case /* repeated nimi.runtime.v1.VoiceConvertInputProfile voice_convert */ 3:
|
|
3674
|
+
message.voiceConvert.push(VoiceConvertInputProfile.internalBinaryRead(reader, reader.uint32(), options));
|
|
3675
|
+
break;
|
|
3676
|
+
default:
|
|
3677
|
+
let u = options.readUnknownField;
|
|
3678
|
+
if (u === "throw")
|
|
3679
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3680
|
+
let d = reader.skip(wireType);
|
|
3681
|
+
if (u !== false)
|
|
3682
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3683
|
+
}
|
|
3684
|
+
}
|
|
3685
|
+
return message;
|
|
3686
|
+
}
|
|
3687
|
+
internalBinaryWrite(message, writer, options) {
|
|
3688
|
+
/* repeated nimi.runtime.v1.MusicGenerationInputProfile generation = 1; */
|
|
3689
|
+
for (let i = 0; i < message.generation.length; i++)
|
|
3690
|
+
MusicGenerationInputProfile.internalBinaryWrite(message.generation[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
3691
|
+
/* repeated nimi.runtime.v1.MusicTranscriptionInputProfile transcription = 2; */
|
|
3692
|
+
for (let i = 0; i < message.transcription.length; i++)
|
|
3693
|
+
MusicTranscriptionInputProfile.internalBinaryWrite(message.transcription[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
3694
|
+
/* repeated nimi.runtime.v1.VoiceConvertInputProfile voice_convert = 3; */
|
|
3695
|
+
for (let i = 0; i < message.voiceConvert.length; i++)
|
|
3696
|
+
VoiceConvertInputProfile.internalBinaryWrite(message.voiceConvert[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
3697
|
+
let u = options.writeUnknownFields;
|
|
3698
|
+
if (u !== false)
|
|
3699
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3700
|
+
return writer;
|
|
3701
|
+
}
|
|
3702
|
+
}
|
|
3703
|
+
/**
|
|
3704
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.MusicInputCapabilities
|
|
3705
|
+
*/
|
|
3706
|
+
export const MusicInputCapabilities = new MusicInputCapabilities$Type();
|
|
3707
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3708
|
+
class MusicTranscriptionInputProfile$Type extends MessageType {
|
|
3709
|
+
constructor() {
|
|
3710
|
+
super("nimi.runtime.v1.MusicTranscriptionInputProfile", [
|
|
3711
|
+
{ no: 1, name: "formats", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3712
|
+
{ no: 2, name: "parts", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3713
|
+
{ no: 3, name: "max_duration_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3714
|
+
{ no: 4, name: "max_source_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3715
|
+
{ no: 5, name: "supports_range", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
3716
|
+
]);
|
|
3717
|
+
}
|
|
3718
|
+
create(value) {
|
|
3719
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3720
|
+
message.formats = [];
|
|
3721
|
+
message.parts = [];
|
|
3722
|
+
message.maxDurationSeconds = 0;
|
|
3723
|
+
message.maxSourceBytes = 0;
|
|
3724
|
+
message.supportsRange = false;
|
|
3725
|
+
if (value !== undefined)
|
|
3726
|
+
reflectionMergePartial(this, message, value);
|
|
3727
|
+
return message;
|
|
3728
|
+
}
|
|
3729
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3730
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3731
|
+
while (reader.pos < end) {
|
|
3732
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3733
|
+
switch (fieldNo) {
|
|
3734
|
+
case /* repeated string formats */ 1:
|
|
3735
|
+
message.formats.push(reader.string());
|
|
3736
|
+
break;
|
|
3737
|
+
case /* repeated string parts */ 2:
|
|
3738
|
+
message.parts.push(reader.string());
|
|
3739
|
+
break;
|
|
3740
|
+
case /* uint32 max_duration_seconds */ 3:
|
|
3741
|
+
message.maxDurationSeconds = reader.uint32();
|
|
3742
|
+
break;
|
|
3743
|
+
case /* uint32 max_source_bytes */ 4:
|
|
3744
|
+
message.maxSourceBytes = reader.uint32();
|
|
3745
|
+
break;
|
|
3746
|
+
case /* bool supports_range */ 5:
|
|
3747
|
+
message.supportsRange = reader.bool();
|
|
3748
|
+
break;
|
|
3749
|
+
default:
|
|
3750
|
+
let u = options.readUnknownField;
|
|
3751
|
+
if (u === "throw")
|
|
3752
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3753
|
+
let d = reader.skip(wireType);
|
|
3754
|
+
if (u !== false)
|
|
3755
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3756
|
+
}
|
|
3757
|
+
}
|
|
3758
|
+
return message;
|
|
3759
|
+
}
|
|
3760
|
+
internalBinaryWrite(message, writer, options) {
|
|
3761
|
+
/* repeated string formats = 1; */
|
|
3762
|
+
for (let i = 0; i < message.formats.length; i++)
|
|
3763
|
+
writer.tag(1, WireType.LengthDelimited).string(message.formats[i]);
|
|
3764
|
+
/* repeated string parts = 2; */
|
|
3765
|
+
for (let i = 0; i < message.parts.length; i++)
|
|
3766
|
+
writer.tag(2, WireType.LengthDelimited).string(message.parts[i]);
|
|
3767
|
+
/* uint32 max_duration_seconds = 3; */
|
|
3768
|
+
if (message.maxDurationSeconds !== 0)
|
|
3769
|
+
writer.tag(3, WireType.Varint).uint32(message.maxDurationSeconds);
|
|
3770
|
+
/* uint32 max_source_bytes = 4; */
|
|
3771
|
+
if (message.maxSourceBytes !== 0)
|
|
3772
|
+
writer.tag(4, WireType.Varint).uint32(message.maxSourceBytes);
|
|
3773
|
+
/* bool supports_range = 5; */
|
|
3774
|
+
if (message.supportsRange !== false)
|
|
3775
|
+
writer.tag(5, WireType.Varint).bool(message.supportsRange);
|
|
3776
|
+
let u = options.writeUnknownFields;
|
|
3777
|
+
if (u !== false)
|
|
3778
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3779
|
+
return writer;
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3782
|
+
/**
|
|
3783
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.MusicTranscriptionInputProfile
|
|
3784
|
+
*/
|
|
3785
|
+
export const MusicTranscriptionInputProfile = new MusicTranscriptionInputProfile$Type();
|
|
3786
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3787
|
+
class VoiceConvertInputProfile$Type extends MessageType {
|
|
3788
|
+
constructor() {
|
|
3789
|
+
super("nimi.runtime.v1.VoiceConvertInputProfile", [
|
|
3790
|
+
{ no: 1, name: "source_kinds", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3791
|
+
{ no: 2, name: "target_kinds", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3792
|
+
{ no: 3, name: "max_source_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3793
|
+
{ no: 4, name: "max_target_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3794
|
+
{ no: 5, name: "supports_range", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3795
|
+
{ no: 6, name: "supports_semitone_shift", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3796
|
+
{ no: 7, name: "min_semitone_shift", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
3797
|
+
{ no: 8, name: "max_semitone_shift", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
3798
|
+
{ no: 9, name: "max_source_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
3799
|
+
{ no: 10, name: "max_target_bytes", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
3800
|
+
]);
|
|
3801
|
+
}
|
|
3802
|
+
create(value) {
|
|
3803
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3804
|
+
message.sourceKinds = [];
|
|
3805
|
+
message.targetKinds = [];
|
|
3806
|
+
message.maxSourceSeconds = 0;
|
|
3807
|
+
message.maxTargetSeconds = 0;
|
|
3808
|
+
message.supportsRange = false;
|
|
3809
|
+
message.supportsSemitoneShift = false;
|
|
3810
|
+
message.minSemitoneShift = 0;
|
|
3811
|
+
message.maxSemitoneShift = 0;
|
|
3812
|
+
message.maxSourceBytes = 0;
|
|
3813
|
+
message.maxTargetBytes = 0;
|
|
3814
|
+
if (value !== undefined)
|
|
3815
|
+
reflectionMergePartial(this, message, value);
|
|
3816
|
+
return message;
|
|
3817
|
+
}
|
|
3818
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3819
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3820
|
+
while (reader.pos < end) {
|
|
3821
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3822
|
+
switch (fieldNo) {
|
|
3823
|
+
case /* repeated string source_kinds */ 1:
|
|
3824
|
+
message.sourceKinds.push(reader.string());
|
|
3825
|
+
break;
|
|
3826
|
+
case /* repeated string target_kinds */ 2:
|
|
3827
|
+
message.targetKinds.push(reader.string());
|
|
3828
|
+
break;
|
|
3829
|
+
case /* uint32 max_source_seconds */ 3:
|
|
3830
|
+
message.maxSourceSeconds = reader.uint32();
|
|
3831
|
+
break;
|
|
3832
|
+
case /* uint32 max_target_seconds */ 4:
|
|
3833
|
+
message.maxTargetSeconds = reader.uint32();
|
|
3834
|
+
break;
|
|
3835
|
+
case /* bool supports_range */ 5:
|
|
3836
|
+
message.supportsRange = reader.bool();
|
|
3837
|
+
break;
|
|
3838
|
+
case /* bool supports_semitone_shift */ 6:
|
|
3839
|
+
message.supportsSemitoneShift = reader.bool();
|
|
3840
|
+
break;
|
|
3841
|
+
case /* int32 min_semitone_shift */ 7:
|
|
3842
|
+
message.minSemitoneShift = reader.int32();
|
|
3843
|
+
break;
|
|
3844
|
+
case /* int32 max_semitone_shift */ 8:
|
|
3845
|
+
message.maxSemitoneShift = reader.int32();
|
|
3846
|
+
break;
|
|
3847
|
+
case /* uint32 max_source_bytes */ 9:
|
|
3848
|
+
message.maxSourceBytes = reader.uint32();
|
|
3849
|
+
break;
|
|
3850
|
+
case /* uint32 max_target_bytes */ 10:
|
|
3851
|
+
message.maxTargetBytes = reader.uint32();
|
|
3852
|
+
break;
|
|
3853
|
+
default:
|
|
3854
|
+
let u = options.readUnknownField;
|
|
3855
|
+
if (u === "throw")
|
|
3856
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3857
|
+
let d = reader.skip(wireType);
|
|
3858
|
+
if (u !== false)
|
|
3859
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3860
|
+
}
|
|
3861
|
+
}
|
|
3862
|
+
return message;
|
|
3863
|
+
}
|
|
3864
|
+
internalBinaryWrite(message, writer, options) {
|
|
3865
|
+
/* repeated string source_kinds = 1; */
|
|
3866
|
+
for (let i = 0; i < message.sourceKinds.length; i++)
|
|
3867
|
+
writer.tag(1, WireType.LengthDelimited).string(message.sourceKinds[i]);
|
|
3868
|
+
/* repeated string target_kinds = 2; */
|
|
3869
|
+
for (let i = 0; i < message.targetKinds.length; i++)
|
|
3870
|
+
writer.tag(2, WireType.LengthDelimited).string(message.targetKinds[i]);
|
|
3871
|
+
/* uint32 max_source_seconds = 3; */
|
|
3872
|
+
if (message.maxSourceSeconds !== 0)
|
|
3873
|
+
writer.tag(3, WireType.Varint).uint32(message.maxSourceSeconds);
|
|
3874
|
+
/* uint32 max_target_seconds = 4; */
|
|
3875
|
+
if (message.maxTargetSeconds !== 0)
|
|
3876
|
+
writer.tag(4, WireType.Varint).uint32(message.maxTargetSeconds);
|
|
3877
|
+
/* bool supports_range = 5; */
|
|
3878
|
+
if (message.supportsRange !== false)
|
|
3879
|
+
writer.tag(5, WireType.Varint).bool(message.supportsRange);
|
|
3880
|
+
/* bool supports_semitone_shift = 6; */
|
|
3881
|
+
if (message.supportsSemitoneShift !== false)
|
|
3882
|
+
writer.tag(6, WireType.Varint).bool(message.supportsSemitoneShift);
|
|
3883
|
+
/* int32 min_semitone_shift = 7; */
|
|
3884
|
+
if (message.minSemitoneShift !== 0)
|
|
3885
|
+
writer.tag(7, WireType.Varint).int32(message.minSemitoneShift);
|
|
3886
|
+
/* int32 max_semitone_shift = 8; */
|
|
3887
|
+
if (message.maxSemitoneShift !== 0)
|
|
3888
|
+
writer.tag(8, WireType.Varint).int32(message.maxSemitoneShift);
|
|
3889
|
+
/* uint32 max_source_bytes = 9; */
|
|
3890
|
+
if (message.maxSourceBytes !== 0)
|
|
3891
|
+
writer.tag(9, WireType.Varint).uint32(message.maxSourceBytes);
|
|
3892
|
+
/* uint32 max_target_bytes = 10; */
|
|
3893
|
+
if (message.maxTargetBytes !== 0)
|
|
3894
|
+
writer.tag(10, WireType.Varint).uint32(message.maxTargetBytes);
|
|
3895
|
+
let u = options.writeUnknownFields;
|
|
3896
|
+
if (u !== false)
|
|
3897
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3898
|
+
return writer;
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
/**
|
|
3902
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.VoiceConvertInputProfile
|
|
3903
|
+
*/
|
|
3904
|
+
export const VoiceConvertInputProfile = new VoiceConvertInputProfile$Type();
|
|
3905
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3131
3906
|
class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
3132
3907
|
constructor() {
|
|
3133
3908
|
super("nimi.runtime.v1.AIConfigLocalResourceProjection", [
|
|
@@ -3139,7 +3914,10 @@ class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
|
3139
3914
|
{ no: 7, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3140
3915
|
{ no: 8, name: "implementation_supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3141
3916
|
{ no: 9, name: "configured_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3142
|
-
{ no: 10, name: "text_behaviors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextBehaviorCapabilityProjection }
|
|
3917
|
+
{ no: 10, name: "text_behaviors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextBehaviorCapabilityProjection },
|
|
3918
|
+
{ no: 11, name: "reference_audio_input", kind: "message", T: () => VoiceReferenceInputCapabilities },
|
|
3919
|
+
{ no: 12, name: "music_input", kind: "message", T: () => MusicInputCapabilities },
|
|
3920
|
+
{ no: 13, name: "speech_input", kind: "message", T: () => SpeechInputCapabilities }
|
|
3143
3921
|
]);
|
|
3144
3922
|
}
|
|
3145
3923
|
create(value) {
|
|
@@ -3188,6 +3966,15 @@ class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
|
3188
3966
|
case /* repeated nimi.runtime.v1.TextBehaviorCapabilityProjection text_behaviors */ 10:
|
|
3189
3967
|
message.textBehaviors.push(TextBehaviorCapabilityProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
3190
3968
|
break;
|
|
3969
|
+
case /* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input */ 11:
|
|
3970
|
+
message.referenceAudioInput = VoiceReferenceInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.referenceAudioInput);
|
|
3971
|
+
break;
|
|
3972
|
+
case /* nimi.runtime.v1.MusicInputCapabilities music_input */ 12:
|
|
3973
|
+
message.musicInput = MusicInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.musicInput);
|
|
3974
|
+
break;
|
|
3975
|
+
case /* nimi.runtime.v1.SpeechInputCapabilities speech_input */ 13:
|
|
3976
|
+
message.speechInput = SpeechInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.speechInput);
|
|
3977
|
+
break;
|
|
3191
3978
|
default:
|
|
3192
3979
|
let u = options.readUnknownField;
|
|
3193
3980
|
if (u === "throw")
|
|
@@ -3227,6 +4014,15 @@ class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
|
3227
4014
|
/* repeated nimi.runtime.v1.TextBehaviorCapabilityProjection text_behaviors = 10; */
|
|
3228
4015
|
for (let i = 0; i < message.textBehaviors.length; i++)
|
|
3229
4016
|
TextBehaviorCapabilityProjection.internalBinaryWrite(message.textBehaviors[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
4017
|
+
/* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input = 11; */
|
|
4018
|
+
if (message.referenceAudioInput)
|
|
4019
|
+
VoiceReferenceInputCapabilities.internalBinaryWrite(message.referenceAudioInput, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
4020
|
+
/* nimi.runtime.v1.MusicInputCapabilities music_input = 12; */
|
|
4021
|
+
if (message.musicInput)
|
|
4022
|
+
MusicInputCapabilities.internalBinaryWrite(message.musicInput, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
4023
|
+
/* nimi.runtime.v1.SpeechInputCapabilities speech_input = 13; */
|
|
4024
|
+
if (message.speechInput)
|
|
4025
|
+
SpeechInputCapabilities.internalBinaryWrite(message.speechInput, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
3230
4026
|
let u = options.writeUnknownFields;
|
|
3231
4027
|
if (u !== false)
|
|
3232
4028
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3327,7 +4123,10 @@ class AIConfigCloudTargetProjection$Type extends MessageType {
|
|
|
3327
4123
|
{ no: 5, name: "provider_model_target", kind: "message", T: () => Struct },
|
|
3328
4124
|
{ no: 6, name: "supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3329
4125
|
{ no: 7, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
3330
|
-
{ no: 8, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
4126
|
+
{ no: 8, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4127
|
+
{ no: 9, name: "reference_audio_input", kind: "message", T: () => VoiceReferenceInputCapabilities },
|
|
4128
|
+
{ no: 10, name: "music_input", kind: "message", T: () => MusicInputCapabilities },
|
|
4129
|
+
{ no: 11, name: "speech_input", kind: "message", T: () => SpeechInputCapabilities }
|
|
3331
4130
|
]);
|
|
3332
4131
|
}
|
|
3333
4132
|
create(value) {
|
|
@@ -3371,6 +4170,15 @@ class AIConfigCloudTargetProjection$Type extends MessageType {
|
|
|
3371
4170
|
case /* repeated string reasons */ 8:
|
|
3372
4171
|
message.reasons.push(reader.string());
|
|
3373
4172
|
break;
|
|
4173
|
+
case /* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input */ 9:
|
|
4174
|
+
message.referenceAudioInput = VoiceReferenceInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.referenceAudioInput);
|
|
4175
|
+
break;
|
|
4176
|
+
case /* nimi.runtime.v1.MusicInputCapabilities music_input */ 10:
|
|
4177
|
+
message.musicInput = MusicInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.musicInput);
|
|
4178
|
+
break;
|
|
4179
|
+
case /* nimi.runtime.v1.SpeechInputCapabilities speech_input */ 11:
|
|
4180
|
+
message.speechInput = SpeechInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.speechInput);
|
|
4181
|
+
break;
|
|
3374
4182
|
default:
|
|
3375
4183
|
let u = options.readUnknownField;
|
|
3376
4184
|
if (u === "throw")
|
|
@@ -3407,6 +4215,15 @@ class AIConfigCloudTargetProjection$Type extends MessageType {
|
|
|
3407
4215
|
/* repeated string reasons = 8; */
|
|
3408
4216
|
for (let i = 0; i < message.reasons.length; i++)
|
|
3409
4217
|
writer.tag(8, WireType.LengthDelimited).string(message.reasons[i]);
|
|
4218
|
+
/* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input = 9; */
|
|
4219
|
+
if (message.referenceAudioInput)
|
|
4220
|
+
VoiceReferenceInputCapabilities.internalBinaryWrite(message.referenceAudioInput, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
4221
|
+
/* nimi.runtime.v1.MusicInputCapabilities music_input = 10; */
|
|
4222
|
+
if (message.musicInput)
|
|
4223
|
+
MusicInputCapabilities.internalBinaryWrite(message.musicInput, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
4224
|
+
/* nimi.runtime.v1.SpeechInputCapabilities speech_input = 11; */
|
|
4225
|
+
if (message.speechInput)
|
|
4226
|
+
SpeechInputCapabilities.internalBinaryWrite(message.speechInput, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
3410
4227
|
let u = options.writeUnknownFields;
|
|
3411
4228
|
if (u !== false)
|
|
3412
4229
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3478,7 +4295,9 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3478
4295
|
{ no: 2, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
3479
4296
|
{ no: 3, name: "local", kind: "message", oneof: "resource", T: () => AIConfigLocalResourceProjection },
|
|
3480
4297
|
{ no: 5, name: "cloud", kind: "message", oneof: "resource", T: () => AIConfigCloudResourceProjection },
|
|
3481
|
-
{ no: 4, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
4298
|
+
{ no: 4, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4299
|
+
{ no: 6, name: "text_replay", kind: "message", T: () => TextReplayCompatibility },
|
|
4300
|
+
{ no: 7, name: "reasoning_input", kind: "message", T: () => ReasoningInputCapabilities }
|
|
3482
4301
|
]);
|
|
3483
4302
|
}
|
|
3484
4303
|
create(value) {
|
|
@@ -3517,6 +4336,12 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3517
4336
|
case /* repeated string reasons */ 4:
|
|
3518
4337
|
message.reasons.push(reader.string());
|
|
3519
4338
|
break;
|
|
4339
|
+
case /* nimi.runtime.v1.TextReplayCompatibility text_replay */ 6:
|
|
4340
|
+
message.textReplay = TextReplayCompatibility.internalBinaryRead(reader, reader.uint32(), options, message.textReplay);
|
|
4341
|
+
break;
|
|
4342
|
+
case /* nimi.runtime.v1.ReasoningInputCapabilities reasoning_input */ 7:
|
|
4343
|
+
message.reasoningInput = ReasoningInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.reasoningInput);
|
|
4344
|
+
break;
|
|
3520
4345
|
default:
|
|
3521
4346
|
let u = options.readUnknownField;
|
|
3522
4347
|
if (u === "throw")
|
|
@@ -3544,6 +4369,12 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3544
4369
|
/* nimi.runtime.v1.AIConfigCloudResourceProjection cloud = 5; */
|
|
3545
4370
|
if (message.resource.oneofKind === "cloud")
|
|
3546
4371
|
AIConfigCloudResourceProjection.internalBinaryWrite(message.resource.cloud, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
4372
|
+
/* nimi.runtime.v1.TextReplayCompatibility text_replay = 6; */
|
|
4373
|
+
if (message.textReplay)
|
|
4374
|
+
TextReplayCompatibility.internalBinaryWrite(message.textReplay, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
4375
|
+
/* nimi.runtime.v1.ReasoningInputCapabilities reasoning_input = 7; */
|
|
4376
|
+
if (message.reasoningInput)
|
|
4377
|
+
ReasoningInputCapabilities.internalBinaryWrite(message.reasoningInput, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
3547
4378
|
let u = options.writeUnknownFields;
|
|
3548
4379
|
if (u !== false)
|
|
3549
4380
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3555,6 +4386,219 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3555
4386
|
*/
|
|
3556
4387
|
export const AIConfigEffectiveSelection = new AIConfigEffectiveSelection$Type();
|
|
3557
4388
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4389
|
+
class ReasoningInputCapabilities$Type extends MessageType {
|
|
4390
|
+
constructor() {
|
|
4391
|
+
super("nimi.runtime.v1.ReasoningInputCapabilities", [
|
|
4392
|
+
{ no: 1, name: "follows_model_default", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4393
|
+
{ no: 2, name: "supports_disabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4394
|
+
{ no: 3, name: "supports_required", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4395
|
+
{ no: 4, name: "supports_adaptive", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4396
|
+
{ no: 5, name: "efforts", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4397
|
+
{ no: 6, name: "supports_budget", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4398
|
+
{ no: 7, name: "presentations", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
4399
|
+
]);
|
|
4400
|
+
}
|
|
4401
|
+
create(value) {
|
|
4402
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4403
|
+
message.followsModelDefault = false;
|
|
4404
|
+
message.supportsDisabled = false;
|
|
4405
|
+
message.supportsRequired = false;
|
|
4406
|
+
message.supportsAdaptive = false;
|
|
4407
|
+
message.efforts = [];
|
|
4408
|
+
message.supportsBudget = false;
|
|
4409
|
+
message.presentations = [];
|
|
4410
|
+
if (value !== undefined)
|
|
4411
|
+
reflectionMergePartial(this, message, value);
|
|
4412
|
+
return message;
|
|
4413
|
+
}
|
|
4414
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4415
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4416
|
+
while (reader.pos < end) {
|
|
4417
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4418
|
+
switch (fieldNo) {
|
|
4419
|
+
case /* bool follows_model_default */ 1:
|
|
4420
|
+
message.followsModelDefault = reader.bool();
|
|
4421
|
+
break;
|
|
4422
|
+
case /* bool supports_disabled */ 2:
|
|
4423
|
+
message.supportsDisabled = reader.bool();
|
|
4424
|
+
break;
|
|
4425
|
+
case /* bool supports_required */ 3:
|
|
4426
|
+
message.supportsRequired = reader.bool();
|
|
4427
|
+
break;
|
|
4428
|
+
case /* bool supports_adaptive */ 4:
|
|
4429
|
+
message.supportsAdaptive = reader.bool();
|
|
4430
|
+
break;
|
|
4431
|
+
case /* repeated string efforts */ 5:
|
|
4432
|
+
message.efforts.push(reader.string());
|
|
4433
|
+
break;
|
|
4434
|
+
case /* bool supports_budget */ 6:
|
|
4435
|
+
message.supportsBudget = reader.bool();
|
|
4436
|
+
break;
|
|
4437
|
+
case /* repeated string presentations */ 7:
|
|
4438
|
+
message.presentations.push(reader.string());
|
|
4439
|
+
break;
|
|
4440
|
+
default:
|
|
4441
|
+
let u = options.readUnknownField;
|
|
4442
|
+
if (u === "throw")
|
|
4443
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4444
|
+
let d = reader.skip(wireType);
|
|
4445
|
+
if (u !== false)
|
|
4446
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4447
|
+
}
|
|
4448
|
+
}
|
|
4449
|
+
return message;
|
|
4450
|
+
}
|
|
4451
|
+
internalBinaryWrite(message, writer, options) {
|
|
4452
|
+
/* bool follows_model_default = 1; */
|
|
4453
|
+
if (message.followsModelDefault !== false)
|
|
4454
|
+
writer.tag(1, WireType.Varint).bool(message.followsModelDefault);
|
|
4455
|
+
/* bool supports_disabled = 2; */
|
|
4456
|
+
if (message.supportsDisabled !== false)
|
|
4457
|
+
writer.tag(2, WireType.Varint).bool(message.supportsDisabled);
|
|
4458
|
+
/* bool supports_required = 3; */
|
|
4459
|
+
if (message.supportsRequired !== false)
|
|
4460
|
+
writer.tag(3, WireType.Varint).bool(message.supportsRequired);
|
|
4461
|
+
/* bool supports_adaptive = 4; */
|
|
4462
|
+
if (message.supportsAdaptive !== false)
|
|
4463
|
+
writer.tag(4, WireType.Varint).bool(message.supportsAdaptive);
|
|
4464
|
+
/* repeated string efforts = 5; */
|
|
4465
|
+
for (let i = 0; i < message.efforts.length; i++)
|
|
4466
|
+
writer.tag(5, WireType.LengthDelimited).string(message.efforts[i]);
|
|
4467
|
+
/* bool supports_budget = 6; */
|
|
4468
|
+
if (message.supportsBudget !== false)
|
|
4469
|
+
writer.tag(6, WireType.Varint).bool(message.supportsBudget);
|
|
4470
|
+
/* repeated string presentations = 7; */
|
|
4471
|
+
for (let i = 0; i < message.presentations.length; i++)
|
|
4472
|
+
writer.tag(7, WireType.LengthDelimited).string(message.presentations[i]);
|
|
4473
|
+
let u = options.writeUnknownFields;
|
|
4474
|
+
if (u !== false)
|
|
4475
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4476
|
+
return writer;
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
/**
|
|
4480
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.ReasoningInputCapabilities
|
|
4481
|
+
*/
|
|
4482
|
+
export const ReasoningInputCapabilities = new ReasoningInputCapabilities$Type();
|
|
4483
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4484
|
+
class TextReplayCarrierFormat$Type extends MessageType {
|
|
4485
|
+
constructor() {
|
|
4486
|
+
super("nimi.runtime.v1.TextReplayCarrierFormat", [
|
|
4487
|
+
{ no: 1, name: "kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4488
|
+
{ no: 2, name: "version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
4489
|
+
{ no: 3, name: "execution_modes", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.TextReplayExecutionMode", TextReplayExecutionMode, "TEXT_REPLAY_EXECUTION_MODE_"] }
|
|
4490
|
+
]);
|
|
4491
|
+
}
|
|
4492
|
+
create(value) {
|
|
4493
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4494
|
+
message.kind = "";
|
|
4495
|
+
message.version = 0;
|
|
4496
|
+
message.executionModes = [];
|
|
4497
|
+
if (value !== undefined)
|
|
4498
|
+
reflectionMergePartial(this, message, value);
|
|
4499
|
+
return message;
|
|
4500
|
+
}
|
|
4501
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4502
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4503
|
+
while (reader.pos < end) {
|
|
4504
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4505
|
+
switch (fieldNo) {
|
|
4506
|
+
case /* string kind */ 1:
|
|
4507
|
+
message.kind = reader.string();
|
|
4508
|
+
break;
|
|
4509
|
+
case /* uint32 version */ 2:
|
|
4510
|
+
message.version = reader.uint32();
|
|
4511
|
+
break;
|
|
4512
|
+
case /* repeated nimi.runtime.v1.TextReplayExecutionMode execution_modes */ 3:
|
|
4513
|
+
if (wireType === WireType.LengthDelimited)
|
|
4514
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
4515
|
+
message.executionModes.push(reader.int32());
|
|
4516
|
+
else
|
|
4517
|
+
message.executionModes.push(reader.int32());
|
|
4518
|
+
break;
|
|
4519
|
+
default:
|
|
4520
|
+
let u = options.readUnknownField;
|
|
4521
|
+
if (u === "throw")
|
|
4522
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4523
|
+
let d = reader.skip(wireType);
|
|
4524
|
+
if (u !== false)
|
|
4525
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4526
|
+
}
|
|
4527
|
+
}
|
|
4528
|
+
return message;
|
|
4529
|
+
}
|
|
4530
|
+
internalBinaryWrite(message, writer, options) {
|
|
4531
|
+
/* string kind = 1; */
|
|
4532
|
+
if (message.kind !== "")
|
|
4533
|
+
writer.tag(1, WireType.LengthDelimited).string(message.kind);
|
|
4534
|
+
/* uint32 version = 2; */
|
|
4535
|
+
if (message.version !== 0)
|
|
4536
|
+
writer.tag(2, WireType.Varint).uint32(message.version);
|
|
4537
|
+
/* repeated nimi.runtime.v1.TextReplayExecutionMode execution_modes = 3; */
|
|
4538
|
+
if (message.executionModes.length) {
|
|
4539
|
+
writer.tag(3, WireType.LengthDelimited).fork();
|
|
4540
|
+
for (let i = 0; i < message.executionModes.length; i++)
|
|
4541
|
+
writer.int32(message.executionModes[i]);
|
|
4542
|
+
writer.join();
|
|
4543
|
+
}
|
|
4544
|
+
let u = options.writeUnknownFields;
|
|
4545
|
+
if (u !== false)
|
|
4546
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4547
|
+
return writer;
|
|
4548
|
+
}
|
|
4549
|
+
}
|
|
4550
|
+
/**
|
|
4551
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextReplayCarrierFormat
|
|
4552
|
+
*/
|
|
4553
|
+
export const TextReplayCarrierFormat = new TextReplayCarrierFormat$Type();
|
|
4554
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4555
|
+
class TextReplayCompatibility$Type extends MessageType {
|
|
4556
|
+
constructor() {
|
|
4557
|
+
super("nimi.runtime.v1.TextReplayCompatibility", [
|
|
4558
|
+
{ no: 1, name: "accepted_carriers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextReplayCarrierFormat }
|
|
4559
|
+
]);
|
|
4560
|
+
}
|
|
4561
|
+
create(value) {
|
|
4562
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4563
|
+
message.acceptedCarriers = [];
|
|
4564
|
+
if (value !== undefined)
|
|
4565
|
+
reflectionMergePartial(this, message, value);
|
|
4566
|
+
return message;
|
|
4567
|
+
}
|
|
4568
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4569
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4570
|
+
while (reader.pos < end) {
|
|
4571
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4572
|
+
switch (fieldNo) {
|
|
4573
|
+
case /* repeated nimi.runtime.v1.TextReplayCarrierFormat accepted_carriers */ 1:
|
|
4574
|
+
message.acceptedCarriers.push(TextReplayCarrierFormat.internalBinaryRead(reader, reader.uint32(), options));
|
|
4575
|
+
break;
|
|
4576
|
+
default:
|
|
4577
|
+
let u = options.readUnknownField;
|
|
4578
|
+
if (u === "throw")
|
|
4579
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4580
|
+
let d = reader.skip(wireType);
|
|
4581
|
+
if (u !== false)
|
|
4582
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
return message;
|
|
4586
|
+
}
|
|
4587
|
+
internalBinaryWrite(message, writer, options) {
|
|
4588
|
+
/* repeated nimi.runtime.v1.TextReplayCarrierFormat accepted_carriers = 1; */
|
|
4589
|
+
for (let i = 0; i < message.acceptedCarriers.length; i++)
|
|
4590
|
+
TextReplayCarrierFormat.internalBinaryWrite(message.acceptedCarriers[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4591
|
+
let u = options.writeUnknownFields;
|
|
4592
|
+
if (u !== false)
|
|
4593
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4594
|
+
return writer;
|
|
4595
|
+
}
|
|
4596
|
+
}
|
|
4597
|
+
/**
|
|
4598
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.TextReplayCompatibility
|
|
4599
|
+
*/
|
|
4600
|
+
export const TextReplayCompatibility = new TextReplayCompatibility$Type();
|
|
4601
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3558
4602
|
class AIConfigLocalLoadoutOptionsQuery$Type extends MessageType {
|
|
3559
4603
|
constructor() {
|
|
3560
4604
|
super("nimi.runtime.v1.AIConfigLocalLoadoutOptionsQuery", [
|