@nimiplatform/sdk 0.15.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 +430 -1
- package/README.md +125 -18
- package/dist/core/ai/capability-configuration.d.ts +15 -0
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +36 -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 +57 -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/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 +29 -4
- package/dist/core/app/index.d.ts.map +1 -1
- package/dist/core/app/index.js +18 -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 +9 -0
- package/dist/core/app/local-app-audio-separation.d.ts.map +1 -1
- package/dist/core/app/local-app-audio-separation.js +64 -3
- package/dist/core/app/local-app-audio-separation.js.map +1 -1
- 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 +55 -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 +154 -36
- package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +738 -121
- 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 +42 -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-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 +11 -0
- package/dist/core/app/local-app-transcription.d.ts.map +1 -1
- package/dist/core/app/local-app-transcription.js +22 -2
- package/dist/core/app/local-app-transcription.js.map +1 -1
- 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 +86 -29
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +19 -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 +1872 -106
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +4718 -1513
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +40 -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 +72 -3
- 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 +456 -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 +869 -6
- 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 +146 -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 +145 -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 +166 -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 +217 -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_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 +14 -2
- package/dist/features/generation/index.d.ts.map +1 -1
- package/dist/features/generation/index.js +14 -1
- 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 +3 -0
- 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 +10 -1
- 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 +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/machine-loadouts.d.ts +18 -0
- package/dist/runtime/machine-loadouts.d.ts.map +1 -1
- package/dist/runtime/machine-loadouts.js +26 -0
- 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/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 +19 -19
- package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client-types.d.ts +42 -20
- 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 +7 -2
- 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 +3 -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 +112 -3
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.js +128 -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 +28 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.js +27 -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() {
|
|
@@ -1363,13 +1381,76 @@ class LoadoutImpactProjection$Type extends MessageType {
|
|
|
1363
1381
|
*/
|
|
1364
1382
|
export const LoadoutImpactProjection = new LoadoutImpactProjection$Type();
|
|
1365
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
|
|
1366
1446
|
class LoadoutRecipeOfferDescriptor$Type extends MessageType {
|
|
1367
1447
|
constructor() {
|
|
1368
1448
|
super("nimi.runtime.v1.LoadoutRecipeOfferDescriptor", [
|
|
1369
1449
|
{ no: 1, name: "candidate", kind: "message", T: () => ModelAssetMarketCandidate },
|
|
1370
1450
|
{ no: 2, name: "applicability", kind: "enum", T: () => ["nimi.runtime.v1.LocalRecommendationApplicability", LocalRecommendationApplicability, "LOCAL_RECOMMENDATION_APPLICABILITY_"] },
|
|
1371
1451
|
{ no: 3, name: "reasons", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.ReasonCode", ReasonCode] },
|
|
1372
|
-
{ 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 }
|
|
1373
1454
|
]);
|
|
1374
1455
|
}
|
|
1375
1456
|
create(value) {
|
|
@@ -1402,6 +1483,9 @@ class LoadoutRecipeOfferDescriptor$Type extends MessageType {
|
|
|
1402
1483
|
case /* string installed_model_asset_id */ 5:
|
|
1403
1484
|
message.installedModelAssetId = reader.string();
|
|
1404
1485
|
break;
|
|
1486
|
+
case /* nimi.runtime.v1.LoadoutRecipeContextFit context_fit */ 6:
|
|
1487
|
+
message.contextFit = LoadoutRecipeContextFit.internalBinaryRead(reader, reader.uint32(), options, message.contextFit);
|
|
1488
|
+
break;
|
|
1405
1489
|
default:
|
|
1406
1490
|
let u = options.readUnknownField;
|
|
1407
1491
|
if (u === "throw")
|
|
@@ -1430,6 +1514,9 @@ class LoadoutRecipeOfferDescriptor$Type extends MessageType {
|
|
|
1430
1514
|
/* string installed_model_asset_id = 5; */
|
|
1431
1515
|
if (message.installedModelAssetId !== "")
|
|
1432
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();
|
|
1433
1520
|
let u = options.writeUnknownFields;
|
|
1434
1521
|
if (u !== false)
|
|
1435
1522
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1453,7 +1540,8 @@ class LoadoutRecipeSlotDescriptor$Type extends MessageType {
|
|
|
1453
1540
|
{ no: 7, name: "conditional_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1454
1541
|
{ no: 8, name: "offers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutRecipeOfferDescriptor },
|
|
1455
1542
|
{ no: 9, name: "applicability", kind: "enum", T: () => ["nimi.runtime.v1.LocalRecommendationApplicability", LocalRecommendationApplicability, "LOCAL_RECOMMENDATION_APPLICABILITY_"] },
|
|
1456
|
-
{ 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 }
|
|
1457
1545
|
]);
|
|
1458
1546
|
}
|
|
1459
1547
|
create(value) {
|
|
@@ -1510,6 +1598,9 @@ class LoadoutRecipeSlotDescriptor$Type extends MessageType {
|
|
|
1510
1598
|
else
|
|
1511
1599
|
message.reasons.push(reader.int32());
|
|
1512
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;
|
|
1513
1604
|
default:
|
|
1514
1605
|
let u = options.readUnknownField;
|
|
1515
1606
|
if (u === "throw")
|
|
@@ -1556,6 +1647,9 @@ class LoadoutRecipeSlotDescriptor$Type extends MessageType {
|
|
|
1556
1647
|
writer.int32(message.reasons[i]);
|
|
1557
1648
|
writer.join();
|
|
1558
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();
|
|
1559
1653
|
let u = options.writeUnknownFields;
|
|
1560
1654
|
if (u !== false)
|
|
1561
1655
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1580,7 +1674,8 @@ class LoadoutRecipeDescriptor$Type extends MessageType {
|
|
|
1580
1674
|
{ no: 9, name: "custody", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LoadoutRecipeCustodyDescriptor },
|
|
1581
1675
|
{ no: 10, name: "implementation_supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1582
1676
|
{ no: 11, name: "applicability", kind: "enum", T: () => ["nimi.runtime.v1.LocalRecommendationApplicability", LocalRecommendationApplicability, "LOCAL_RECOMMENDATION_APPLICABILITY_"] },
|
|
1583
|
-
{ 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 }
|
|
1584
1679
|
]);
|
|
1585
1680
|
}
|
|
1586
1681
|
create(value) {
|
|
@@ -1640,6 +1735,9 @@ class LoadoutRecipeDescriptor$Type extends MessageType {
|
|
|
1640
1735
|
else
|
|
1641
1736
|
message.reasons.push(reader.int32());
|
|
1642
1737
|
break;
|
|
1738
|
+
case /* google.protobuf.Struct recommended_options */ 13:
|
|
1739
|
+
message.recommendedOptions = Struct.internalBinaryRead(reader, reader.uint32(), options, message.recommendedOptions);
|
|
1740
|
+
break;
|
|
1643
1741
|
default:
|
|
1644
1742
|
let u = options.readUnknownField;
|
|
1645
1743
|
if (u === "throw")
|
|
@@ -1689,6 +1787,9 @@ class LoadoutRecipeDescriptor$Type extends MessageType {
|
|
|
1689
1787
|
writer.int32(message.reasons[i]);
|
|
1690
1788
|
writer.join();
|
|
1691
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();
|
|
1692
1793
|
let u = options.writeUnknownFields;
|
|
1693
1794
|
if (u !== false)
|
|
1694
1795
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3295,6 +3396,513 @@ class VoiceReferenceInputCapabilities$Type extends MessageType {
|
|
|
3295
3396
|
*/
|
|
3296
3397
|
export const VoiceReferenceInputCapabilities = new VoiceReferenceInputCapabilities$Type();
|
|
3297
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
|
|
3298
3906
|
class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
3299
3907
|
constructor() {
|
|
3300
3908
|
super("nimi.runtime.v1.AIConfigLocalResourceProjection", [
|
|
@@ -3307,7 +3915,9 @@ class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
|
3307
3915
|
{ no: 8, name: "implementation_supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3308
3916
|
{ no: 9, name: "configured_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3309
3917
|
{ no: 10, name: "text_behaviors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextBehaviorCapabilityProjection },
|
|
3310
|
-
{ no: 11, name: "reference_audio_input", kind: "message", T: () => VoiceReferenceInputCapabilities }
|
|
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 }
|
|
3311
3921
|
]);
|
|
3312
3922
|
}
|
|
3313
3923
|
create(value) {
|
|
@@ -3359,6 +3969,12 @@ class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
|
3359
3969
|
case /* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input */ 11:
|
|
3360
3970
|
message.referenceAudioInput = VoiceReferenceInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.referenceAudioInput);
|
|
3361
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;
|
|
3362
3978
|
default:
|
|
3363
3979
|
let u = options.readUnknownField;
|
|
3364
3980
|
if (u === "throw")
|
|
@@ -3401,6 +4017,12 @@ class AIConfigLocalResourceProjection$Type extends MessageType {
|
|
|
3401
4017
|
/* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input = 11; */
|
|
3402
4018
|
if (message.referenceAudioInput)
|
|
3403
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();
|
|
3404
4026
|
let u = options.writeUnknownFields;
|
|
3405
4027
|
if (u !== false)
|
|
3406
4028
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3502,7 +4124,9 @@ class AIConfigCloudTargetProjection$Type extends MessageType {
|
|
|
3502
4124
|
{ no: 6, name: "supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3503
4125
|
{ no: 7, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
3504
4126
|
{ no: 8, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3505
|
-
{ no: 9, name: "reference_audio_input", kind: "message", T: () => VoiceReferenceInputCapabilities }
|
|
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 }
|
|
3506
4130
|
]);
|
|
3507
4131
|
}
|
|
3508
4132
|
create(value) {
|
|
@@ -3549,6 +4173,12 @@ class AIConfigCloudTargetProjection$Type extends MessageType {
|
|
|
3549
4173
|
case /* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input */ 9:
|
|
3550
4174
|
message.referenceAudioInput = VoiceReferenceInputCapabilities.internalBinaryRead(reader, reader.uint32(), options, message.referenceAudioInput);
|
|
3551
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;
|
|
3552
4182
|
default:
|
|
3553
4183
|
let u = options.readUnknownField;
|
|
3554
4184
|
if (u === "throw")
|
|
@@ -3588,6 +4218,12 @@ class AIConfigCloudTargetProjection$Type extends MessageType {
|
|
|
3588
4218
|
/* nimi.runtime.v1.VoiceReferenceInputCapabilities reference_audio_input = 9; */
|
|
3589
4219
|
if (message.referenceAudioInput)
|
|
3590
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();
|
|
3591
4227
|
let u = options.writeUnknownFields;
|
|
3592
4228
|
if (u !== false)
|
|
3593
4229
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3659,7 +4295,9 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3659
4295
|
{ no: 2, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
3660
4296
|
{ no: 3, name: "local", kind: "message", oneof: "resource", T: () => AIConfigLocalResourceProjection },
|
|
3661
4297
|
{ no: 5, name: "cloud", kind: "message", oneof: "resource", T: () => AIConfigCloudResourceProjection },
|
|
3662
|
-
{ 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 }
|
|
3663
4301
|
]);
|
|
3664
4302
|
}
|
|
3665
4303
|
create(value) {
|
|
@@ -3698,6 +4336,12 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3698
4336
|
case /* repeated string reasons */ 4:
|
|
3699
4337
|
message.reasons.push(reader.string());
|
|
3700
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;
|
|
3701
4345
|
default:
|
|
3702
4346
|
let u = options.readUnknownField;
|
|
3703
4347
|
if (u === "throw")
|
|
@@ -3725,6 +4369,12 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3725
4369
|
/* nimi.runtime.v1.AIConfigCloudResourceProjection cloud = 5; */
|
|
3726
4370
|
if (message.resource.oneofKind === "cloud")
|
|
3727
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();
|
|
3728
4378
|
let u = options.writeUnknownFields;
|
|
3729
4379
|
if (u !== false)
|
|
3730
4380
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3736,6 +4386,219 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
3736
4386
|
*/
|
|
3737
4387
|
export const AIConfigEffectiveSelection = new AIConfigEffectiveSelection$Type();
|
|
3738
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
|
|
3739
4602
|
class AIConfigLocalLoadoutOptionsQuery$Type extends MessageType {
|
|
3740
4603
|
constructor() {
|
|
3741
4604
|
super("nimi.runtime.v1.AIConfigLocalLoadoutOptionsQuery", [
|