@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
|
@@ -536,6 +536,32 @@ export var ConversationAnchorStatus;
|
|
|
536
536
|
*/
|
|
537
537
|
ConversationAnchorStatus[ConversationAnchorStatus["CLOSED"] = 2] = "CLOSED";
|
|
538
538
|
})(ConversationAnchorStatus || (ConversationAnchorStatus = {}));
|
|
539
|
+
/**
|
|
540
|
+
* @generated from protobuf enum nimi.runtime.v1.LocalAppAgentIntroductionTopicKind
|
|
541
|
+
*/
|
|
542
|
+
export var LocalAppAgentIntroductionTopicKind;
|
|
543
|
+
(function (LocalAppAgentIntroductionTopicKind) {
|
|
544
|
+
/**
|
|
545
|
+
* @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_UNSPECIFIED = 0;
|
|
546
|
+
*/
|
|
547
|
+
LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
548
|
+
/**
|
|
549
|
+
* @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_ROLE = 1;
|
|
550
|
+
*/
|
|
551
|
+
LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["ROLE"] = 1] = "ROLE";
|
|
552
|
+
/**
|
|
553
|
+
* @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_WORK = 2;
|
|
554
|
+
*/
|
|
555
|
+
LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["WORK"] = 2] = "WORK";
|
|
556
|
+
/**
|
|
557
|
+
* @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_RELATIONSHIP = 3;
|
|
558
|
+
*/
|
|
559
|
+
LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["RELATIONSHIP"] = 3] = "RELATIONSHIP";
|
|
560
|
+
/**
|
|
561
|
+
* @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_TOPIC = 4;
|
|
562
|
+
*/
|
|
563
|
+
LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["TOPIC"] = 4] = "TOPIC";
|
|
564
|
+
})(LocalAppAgentIntroductionTopicKind || (LocalAppAgentIntroductionTopicKind = {}));
|
|
539
565
|
/**
|
|
540
566
|
* Product actions are stable Manager semantics, not AppOperationIds or access
|
|
541
567
|
* decisions. The protected session has already admitted the shared
|
|
@@ -663,6 +689,10 @@ export var LocalAppConversationMessageRole;
|
|
|
663
689
|
* @generated from protobuf enum value: LOCAL_APP_CONVERSATION_MESSAGE_ROLE_ASSISTANT = 2;
|
|
664
690
|
*/
|
|
665
691
|
LocalAppConversationMessageRole[LocalAppConversationMessageRole["ASSISTANT"] = 2] = "ASSISTANT";
|
|
692
|
+
/**
|
|
693
|
+
* @generated from protobuf enum value: LOCAL_APP_CONVERSATION_MESSAGE_ROLE_APP = 3;
|
|
694
|
+
*/
|
|
695
|
+
LocalAppConversationMessageRole[LocalAppConversationMessageRole["APP"] = 3] = "APP";
|
|
666
696
|
})(LocalAppConversationMessageRole || (LocalAppConversationMessageRole = {}));
|
|
667
697
|
/**
|
|
668
698
|
* @generated from protobuf enum nimi.runtime.v1.LocalAppConversationMediaKind
|
|
@@ -4986,13 +5016,17 @@ class LocalAppAgentReference$Type extends MessageType {
|
|
|
4986
5016
|
super("nimi.runtime.v1.LocalAppAgentReference", [
|
|
4987
5017
|
{ no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4988
5018
|
{ no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4989
|
-
{ no: 3, name: "avatar_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
5019
|
+
{ no: 3, name: "avatar_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5020
|
+
{ no: 4, name: "agent_binding", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5021
|
+
{ no: 5, name: "activity_agent_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4990
5022
|
]);
|
|
4991
5023
|
}
|
|
4992
5024
|
create(value) {
|
|
4993
5025
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
4994
5026
|
message.agentHandle = "";
|
|
4995
5027
|
message.displayName = "";
|
|
5028
|
+
message.agentBinding = "";
|
|
5029
|
+
message.activityAgentRef = "";
|
|
4996
5030
|
if (value !== undefined)
|
|
4997
5031
|
reflectionMergePartial(this, message, value);
|
|
4998
5032
|
return message;
|
|
@@ -5011,6 +5045,12 @@ class LocalAppAgentReference$Type extends MessageType {
|
|
|
5011
5045
|
case /* optional string avatar_url */ 3:
|
|
5012
5046
|
message.avatarUrl = reader.string();
|
|
5013
5047
|
break;
|
|
5048
|
+
case /* string agent_binding */ 4:
|
|
5049
|
+
message.agentBinding = reader.string();
|
|
5050
|
+
break;
|
|
5051
|
+
case /* string activity_agent_ref */ 5:
|
|
5052
|
+
message.activityAgentRef = reader.string();
|
|
5053
|
+
break;
|
|
5014
5054
|
default:
|
|
5015
5055
|
let u = options.readUnknownField;
|
|
5016
5056
|
if (u === "throw")
|
|
@@ -5032,6 +5072,12 @@ class LocalAppAgentReference$Type extends MessageType {
|
|
|
5032
5072
|
/* optional string avatar_url = 3; */
|
|
5033
5073
|
if (message.avatarUrl !== undefined)
|
|
5034
5074
|
writer.tag(3, WireType.LengthDelimited).string(message.avatarUrl);
|
|
5075
|
+
/* string agent_binding = 4; */
|
|
5076
|
+
if (message.agentBinding !== "")
|
|
5077
|
+
writer.tag(4, WireType.LengthDelimited).string(message.agentBinding);
|
|
5078
|
+
/* string activity_agent_ref = 5; */
|
|
5079
|
+
if (message.activityAgentRef !== "")
|
|
5080
|
+
writer.tag(5, WireType.LengthDelimited).string(message.activityAgentRef);
|
|
5035
5081
|
let u = options.writeUnknownFields;
|
|
5036
5082
|
if (u !== false)
|
|
5037
5083
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5128,6 +5174,250 @@ class ListLocalAppAgentReferencesResponse$Type extends MessageType {
|
|
|
5128
5174
|
*/
|
|
5129
5175
|
export const ListLocalAppAgentReferencesResponse = new ListLocalAppAgentReferencesResponse$Type();
|
|
5130
5176
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
5177
|
+
class GetLocalAppAgentIntroductionRequest$Type extends MessageType {
|
|
5178
|
+
constructor() {
|
|
5179
|
+
super("nimi.runtime.v1.GetLocalAppAgentIntroductionRequest", [
|
|
5180
|
+
{ no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5181
|
+
]);
|
|
5182
|
+
}
|
|
5183
|
+
create(value) {
|
|
5184
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5185
|
+
message.agentHandle = "";
|
|
5186
|
+
if (value !== undefined)
|
|
5187
|
+
reflectionMergePartial(this, message, value);
|
|
5188
|
+
return message;
|
|
5189
|
+
}
|
|
5190
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5191
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5192
|
+
while (reader.pos < end) {
|
|
5193
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5194
|
+
switch (fieldNo) {
|
|
5195
|
+
case /* string agent_handle */ 1:
|
|
5196
|
+
message.agentHandle = reader.string();
|
|
5197
|
+
break;
|
|
5198
|
+
default:
|
|
5199
|
+
let u = options.readUnknownField;
|
|
5200
|
+
if (u === "throw")
|
|
5201
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5202
|
+
let d = reader.skip(wireType);
|
|
5203
|
+
if (u !== false)
|
|
5204
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5205
|
+
}
|
|
5206
|
+
}
|
|
5207
|
+
return message;
|
|
5208
|
+
}
|
|
5209
|
+
internalBinaryWrite(message, writer, options) {
|
|
5210
|
+
/* string agent_handle = 1; */
|
|
5211
|
+
if (message.agentHandle !== "")
|
|
5212
|
+
writer.tag(1, WireType.LengthDelimited).string(message.agentHandle);
|
|
5213
|
+
let u = options.writeUnknownFields;
|
|
5214
|
+
if (u !== false)
|
|
5215
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5216
|
+
return writer;
|
|
5217
|
+
}
|
|
5218
|
+
}
|
|
5219
|
+
/**
|
|
5220
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.GetLocalAppAgentIntroductionRequest
|
|
5221
|
+
*/
|
|
5222
|
+
export const GetLocalAppAgentIntroductionRequest = new GetLocalAppAgentIntroductionRequest$Type();
|
|
5223
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5224
|
+
class GetLocalAppAgentIntroductionResponse$Type extends MessageType {
|
|
5225
|
+
constructor() {
|
|
5226
|
+
super("nimi.runtime.v1.GetLocalAppAgentIntroductionResponse", [
|
|
5227
|
+
{ no: 1, name: "introduction", kind: "message", T: () => LocalAppAgentIntroduction }
|
|
5228
|
+
]);
|
|
5229
|
+
}
|
|
5230
|
+
create(value) {
|
|
5231
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5232
|
+
if (value !== undefined)
|
|
5233
|
+
reflectionMergePartial(this, message, value);
|
|
5234
|
+
return message;
|
|
5235
|
+
}
|
|
5236
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5237
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5238
|
+
while (reader.pos < end) {
|
|
5239
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5240
|
+
switch (fieldNo) {
|
|
5241
|
+
case /* nimi.runtime.v1.LocalAppAgentIntroduction introduction */ 1:
|
|
5242
|
+
message.introduction = LocalAppAgentIntroduction.internalBinaryRead(reader, reader.uint32(), options, message.introduction);
|
|
5243
|
+
break;
|
|
5244
|
+
default:
|
|
5245
|
+
let u = options.readUnknownField;
|
|
5246
|
+
if (u === "throw")
|
|
5247
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5248
|
+
let d = reader.skip(wireType);
|
|
5249
|
+
if (u !== false)
|
|
5250
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5251
|
+
}
|
|
5252
|
+
}
|
|
5253
|
+
return message;
|
|
5254
|
+
}
|
|
5255
|
+
internalBinaryWrite(message, writer, options) {
|
|
5256
|
+
/* nimi.runtime.v1.LocalAppAgentIntroduction introduction = 1; */
|
|
5257
|
+
if (message.introduction)
|
|
5258
|
+
LocalAppAgentIntroduction.internalBinaryWrite(message.introduction, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
5259
|
+
let u = options.writeUnknownFields;
|
|
5260
|
+
if (u !== false)
|
|
5261
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5262
|
+
return writer;
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
/**
|
|
5266
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.GetLocalAppAgentIntroductionResponse
|
|
5267
|
+
*/
|
|
5268
|
+
export const GetLocalAppAgentIntroductionResponse = new GetLocalAppAgentIntroductionResponse$Type();
|
|
5269
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5270
|
+
class LocalAppAgentIntroduction$Type extends MessageType {
|
|
5271
|
+
constructor() {
|
|
5272
|
+
super("nimi.runtime.v1.LocalAppAgentIntroduction", [
|
|
5273
|
+
{ no: 1, name: "world_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5274
|
+
{ no: 2, name: "era", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5275
|
+
{ no: 3, name: "role", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5276
|
+
{ no: 4, name: "greeting", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5277
|
+
{ no: 5, name: "reference_image_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5278
|
+
{ no: 6, name: "voice_sample_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5279
|
+
{ no: 7, name: "voice_sample_duration_sec", kind: "scalar", opt: true, T: 1 /*ScalarType.DOUBLE*/ },
|
|
5280
|
+
{ no: 8, name: "question_topics", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppAgentIntroductionTopic }
|
|
5281
|
+
]);
|
|
5282
|
+
}
|
|
5283
|
+
create(value) {
|
|
5284
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5285
|
+
message.questionTopics = [];
|
|
5286
|
+
if (value !== undefined)
|
|
5287
|
+
reflectionMergePartial(this, message, value);
|
|
5288
|
+
return message;
|
|
5289
|
+
}
|
|
5290
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5291
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5292
|
+
while (reader.pos < end) {
|
|
5293
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5294
|
+
switch (fieldNo) {
|
|
5295
|
+
case /* optional string world_name */ 1:
|
|
5296
|
+
message.worldName = reader.string();
|
|
5297
|
+
break;
|
|
5298
|
+
case /* optional string era */ 2:
|
|
5299
|
+
message.era = reader.string();
|
|
5300
|
+
break;
|
|
5301
|
+
case /* optional string role */ 3:
|
|
5302
|
+
message.role = reader.string();
|
|
5303
|
+
break;
|
|
5304
|
+
case /* optional string greeting */ 4:
|
|
5305
|
+
message.greeting = reader.string();
|
|
5306
|
+
break;
|
|
5307
|
+
case /* optional string reference_image_url */ 5:
|
|
5308
|
+
message.referenceImageUrl = reader.string();
|
|
5309
|
+
break;
|
|
5310
|
+
case /* optional string voice_sample_url */ 6:
|
|
5311
|
+
message.voiceSampleUrl = reader.string();
|
|
5312
|
+
break;
|
|
5313
|
+
case /* optional double voice_sample_duration_sec */ 7:
|
|
5314
|
+
message.voiceSampleDurationSec = reader.double();
|
|
5315
|
+
break;
|
|
5316
|
+
case /* repeated nimi.runtime.v1.LocalAppAgentIntroductionTopic question_topics */ 8:
|
|
5317
|
+
message.questionTopics.push(LocalAppAgentIntroductionTopic.internalBinaryRead(reader, reader.uint32(), options));
|
|
5318
|
+
break;
|
|
5319
|
+
default:
|
|
5320
|
+
let u = options.readUnknownField;
|
|
5321
|
+
if (u === "throw")
|
|
5322
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5323
|
+
let d = reader.skip(wireType);
|
|
5324
|
+
if (u !== false)
|
|
5325
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5326
|
+
}
|
|
5327
|
+
}
|
|
5328
|
+
return message;
|
|
5329
|
+
}
|
|
5330
|
+
internalBinaryWrite(message, writer, options) {
|
|
5331
|
+
/* optional string world_name = 1; */
|
|
5332
|
+
if (message.worldName !== undefined)
|
|
5333
|
+
writer.tag(1, WireType.LengthDelimited).string(message.worldName);
|
|
5334
|
+
/* optional string era = 2; */
|
|
5335
|
+
if (message.era !== undefined)
|
|
5336
|
+
writer.tag(2, WireType.LengthDelimited).string(message.era);
|
|
5337
|
+
/* optional string role = 3; */
|
|
5338
|
+
if (message.role !== undefined)
|
|
5339
|
+
writer.tag(3, WireType.LengthDelimited).string(message.role);
|
|
5340
|
+
/* optional string greeting = 4; */
|
|
5341
|
+
if (message.greeting !== undefined)
|
|
5342
|
+
writer.tag(4, WireType.LengthDelimited).string(message.greeting);
|
|
5343
|
+
/* optional string reference_image_url = 5; */
|
|
5344
|
+
if (message.referenceImageUrl !== undefined)
|
|
5345
|
+
writer.tag(5, WireType.LengthDelimited).string(message.referenceImageUrl);
|
|
5346
|
+
/* optional string voice_sample_url = 6; */
|
|
5347
|
+
if (message.voiceSampleUrl !== undefined)
|
|
5348
|
+
writer.tag(6, WireType.LengthDelimited).string(message.voiceSampleUrl);
|
|
5349
|
+
/* optional double voice_sample_duration_sec = 7; */
|
|
5350
|
+
if (message.voiceSampleDurationSec !== undefined)
|
|
5351
|
+
writer.tag(7, WireType.Bit64).double(message.voiceSampleDurationSec);
|
|
5352
|
+
/* repeated nimi.runtime.v1.LocalAppAgentIntroductionTopic question_topics = 8; */
|
|
5353
|
+
for (let i = 0; i < message.questionTopics.length; i++)
|
|
5354
|
+
LocalAppAgentIntroductionTopic.internalBinaryWrite(message.questionTopics[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
5355
|
+
let u = options.writeUnknownFields;
|
|
5356
|
+
if (u !== false)
|
|
5357
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5358
|
+
return writer;
|
|
5359
|
+
}
|
|
5360
|
+
}
|
|
5361
|
+
/**
|
|
5362
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppAgentIntroduction
|
|
5363
|
+
*/
|
|
5364
|
+
export const LocalAppAgentIntroduction = new LocalAppAgentIntroduction$Type();
|
|
5365
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5366
|
+
class LocalAppAgentIntroductionTopic$Type extends MessageType {
|
|
5367
|
+
constructor() {
|
|
5368
|
+
super("nimi.runtime.v1.LocalAppAgentIntroductionTopic", [
|
|
5369
|
+
{ no: 1, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.LocalAppAgentIntroductionTopicKind", LocalAppAgentIntroductionTopicKind, "LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_"] },
|
|
5370
|
+
{ no: 2, name: "text", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5371
|
+
]);
|
|
5372
|
+
}
|
|
5373
|
+
create(value) {
|
|
5374
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5375
|
+
message.kind = 0;
|
|
5376
|
+
message.text = "";
|
|
5377
|
+
if (value !== undefined)
|
|
5378
|
+
reflectionMergePartial(this, message, value);
|
|
5379
|
+
return message;
|
|
5380
|
+
}
|
|
5381
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5382
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5383
|
+
while (reader.pos < end) {
|
|
5384
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5385
|
+
switch (fieldNo) {
|
|
5386
|
+
case /* nimi.runtime.v1.LocalAppAgentIntroductionTopicKind kind */ 1:
|
|
5387
|
+
message.kind = reader.int32();
|
|
5388
|
+
break;
|
|
5389
|
+
case /* string text */ 2:
|
|
5390
|
+
message.text = reader.string();
|
|
5391
|
+
break;
|
|
5392
|
+
default:
|
|
5393
|
+
let u = options.readUnknownField;
|
|
5394
|
+
if (u === "throw")
|
|
5395
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5396
|
+
let d = reader.skip(wireType);
|
|
5397
|
+
if (u !== false)
|
|
5398
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5399
|
+
}
|
|
5400
|
+
}
|
|
5401
|
+
return message;
|
|
5402
|
+
}
|
|
5403
|
+
internalBinaryWrite(message, writer, options) {
|
|
5404
|
+
/* nimi.runtime.v1.LocalAppAgentIntroductionTopicKind kind = 1; */
|
|
5405
|
+
if (message.kind !== 0)
|
|
5406
|
+
writer.tag(1, WireType.Varint).int32(message.kind);
|
|
5407
|
+
/* string text = 2; */
|
|
5408
|
+
if (message.text !== "")
|
|
5409
|
+
writer.tag(2, WireType.LengthDelimited).string(message.text);
|
|
5410
|
+
let u = options.writeUnknownFields;
|
|
5411
|
+
if (u !== false)
|
|
5412
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5413
|
+
return writer;
|
|
5414
|
+
}
|
|
5415
|
+
}
|
|
5416
|
+
/**
|
|
5417
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppAgentIntroductionTopic
|
|
5418
|
+
*/
|
|
5419
|
+
export const LocalAppAgentIntroductionTopic = new LocalAppAgentIntroductionTopic$Type();
|
|
5420
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5131
5421
|
class ResolveDesktopAgentReferenceRequest$Type extends MessageType {
|
|
5132
5422
|
constructor() {
|
|
5133
5423
|
super("nimi.runtime.v1.ResolveDesktopAgentReferenceRequest", [
|
|
@@ -6789,7 +7079,8 @@ class InterruptLocalAppConversationTurnRequest$Type extends MessageType {
|
|
|
6789
7079
|
constructor() {
|
|
6790
7080
|
super("nimi.runtime.v1.InterruptLocalAppConversationTurnRequest", [
|
|
6791
7081
|
{ no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
6792
|
-
{ no: 2, name: "conversation_anchor_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
7082
|
+
{ no: 2, name: "conversation_anchor_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
7083
|
+
{ no: 3, name: "expected_turn_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
6793
7084
|
]);
|
|
6794
7085
|
}
|
|
6795
7086
|
create(value) {
|
|
@@ -6811,6 +7102,9 @@ class InterruptLocalAppConversationTurnRequest$Type extends MessageType {
|
|
|
6811
7102
|
case /* string conversation_anchor_id */ 2:
|
|
6812
7103
|
message.conversationAnchorId = reader.string();
|
|
6813
7104
|
break;
|
|
7105
|
+
case /* optional string expected_turn_id */ 3:
|
|
7106
|
+
message.expectedTurnId = reader.string();
|
|
7107
|
+
break;
|
|
6814
7108
|
default:
|
|
6815
7109
|
let u = options.readUnknownField;
|
|
6816
7110
|
if (u === "throw")
|
|
@@ -6829,6 +7123,9 @@ class InterruptLocalAppConversationTurnRequest$Type extends MessageType {
|
|
|
6829
7123
|
/* string conversation_anchor_id = 2; */
|
|
6830
7124
|
if (message.conversationAnchorId !== "")
|
|
6831
7125
|
writer.tag(2, WireType.LengthDelimited).string(message.conversationAnchorId);
|
|
7126
|
+
/* optional string expected_turn_id = 3; */
|
|
7127
|
+
if (message.expectedTurnId !== undefined)
|
|
7128
|
+
writer.tag(3, WireType.LengthDelimited).string(message.expectedTurnId);
|
|
6832
7129
|
let u = options.writeUnknownFields;
|
|
6833
7130
|
if (u !== false)
|
|
6834
7131
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|