@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
|
@@ -14,6 +14,7 @@ export interface NimiRuntimeConnectorProjection {
|
|
|
14
14
|
readonly provider: string;
|
|
15
15
|
readonly authMode: NimiRuntimeConnectorAuthMode;
|
|
16
16
|
readonly providerAuthProfile?: string;
|
|
17
|
+
readonly accountLabel?: string;
|
|
17
18
|
readonly endpoint: string;
|
|
18
19
|
readonly scope: NimiRuntimeConnectorScope;
|
|
19
20
|
readonly hasCredential: boolean;
|
|
@@ -34,6 +35,7 @@ export interface NimiRuntimeConfigConnectorProjectionInput {
|
|
|
34
35
|
readonly provider?: unknown;
|
|
35
36
|
readonly authMode?: unknown;
|
|
36
37
|
readonly providerAuthProfile?: unknown;
|
|
38
|
+
readonly accountLabel?: unknown;
|
|
37
39
|
readonly endpoint?: unknown;
|
|
38
40
|
readonly scope?: unknown;
|
|
39
41
|
readonly hasCredential?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-projections.d.ts","sourceRoot":"","sources":["../../runtime/config-projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAEL,KAAK,mCAAmC,EACzC,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,0CAA0C,KAAK,CAAC;AAC7D,eAAO,MAAM,8CAA8C,KAA6C,CAAC;AAEzG,eAAO,MAAM,uCAAuC,sIAM1C,CAAC;AAEX,MAAM,MAAM,+BAA+B,GAAG,MAAM,GAAG,SAAS,GAAG,aAAa,GAAG,aAAa,GAAG,UAAU,CAAC;AAC9G,MAAM,MAAM,4BAA4B,GAAG,SAAS,GAAG,eAAe,CAAC;AACvE,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AACrF,MAAM,MAAM,iCAAiC,GAAG,CAAC,OAAO,uCAAuC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzG,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,4BAA4B,CAAC;IAChD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"config-projections.d.ts","sourceRoot":"","sources":["../../runtime/config-projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAC3C,O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,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,GAAG,SAAS,CAe/C;AAED,wBAAgB,qCAAqC,CAAC,KAAK,GAAE;IAC3D,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,oCAAoC,CAkB5C;AAED,wBAAgB,6CAA6C,CAC3D,GAAG,EAAE,yCAAyC,GAC7C,oCAAoC,CAsBtC;AAED,wBAAgB,sDAAsD,CACpE,SAAS,EAAE,8BAA8B,GACxC,oCAAoC,CAOtC;AAED,wBAAgB,wDAAwD,CACtE,GAAG,EAAE,OAAO,CAAC,+CAA+C,CAAC,GAC5D,+CAA+C,CAcjD"}
|
|
@@ -50,6 +50,34 @@ export function normalizeNimiRuntimeConfigEndpoint(value, fallback = NIMI_RUNTIM
|
|
|
50
50
|
export function normalizeNimiRuntimeConfigStringList(values) {
|
|
51
51
|
return dedupeProjectionStrings(values);
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Orthography for vendor tokens whose brand spelling is not plain title case.
|
|
55
|
+
* Spelling only: it carries no capability, endpoint or provider semantics,
|
|
56
|
+
* and an unknown token simply falls back to title case.
|
|
57
|
+
*/
|
|
58
|
+
const VENDOR_TOKEN_ORTHOGRAPHY = Object.freeze({
|
|
59
|
+
ai: 'AI',
|
|
60
|
+
api: 'API',
|
|
61
|
+
aws: 'AWS',
|
|
62
|
+
chatgpt: 'ChatGPT',
|
|
63
|
+
dashscope: 'DashScope',
|
|
64
|
+
deepseek: 'DeepSeek',
|
|
65
|
+
elevenlabs: 'ElevenLabs',
|
|
66
|
+
glm: 'GLM',
|
|
67
|
+
llm: 'LLM',
|
|
68
|
+
minimax: 'MiniMax',
|
|
69
|
+
mimo: 'MiMo',
|
|
70
|
+
nimillm: 'NimiLLM',
|
|
71
|
+
openai: 'OpenAI',
|
|
72
|
+
openrouter: 'OpenRouter',
|
|
73
|
+
openspeech: 'OpenSpeech',
|
|
74
|
+
siliconflow: 'SiliconFlow',
|
|
75
|
+
stepfun: 'StepFun',
|
|
76
|
+
tts: 'TTS',
|
|
77
|
+
typesafe: 'TypeSafe',
|
|
78
|
+
worldlabs: 'World Labs',
|
|
79
|
+
xai: 'xAI',
|
|
80
|
+
});
|
|
53
81
|
export function nimiRuntimeConfigConnectorVendorLabel(vendor) {
|
|
54
82
|
const normalized = normalizeText(vendor);
|
|
55
83
|
if (!normalized) {
|
|
@@ -59,7 +87,10 @@ export function nimiRuntimeConfigConnectorVendorLabel(vendor) {
|
|
|
59
87
|
.replace(/[_-]+/g, ' ')
|
|
60
88
|
.replace(/\s+/g, ' ')
|
|
61
89
|
.trim()
|
|
62
|
-
.
|
|
90
|
+
.split(' ')
|
|
91
|
+
.map((token) => (VENDOR_TOKEN_ORTHOGRAPHY[token.toLowerCase()]
|
|
92
|
+
?? token.replace(/^\w/, (segment) => segment.toUpperCase())))
|
|
93
|
+
.join(' ');
|
|
63
94
|
}
|
|
64
95
|
export function normalizeNimiRuntimeConfigConnectorVendor(value) {
|
|
65
96
|
const normalized = normalizeText(value).toLowerCase();
|
|
@@ -126,6 +157,7 @@ export function normalizeNimiRuntimeConfigConnectorProjection(raw) {
|
|
|
126
157
|
provider: normalizeText(raw.provider),
|
|
127
158
|
authMode: normalizeNimiRuntimeConfigConnectorAuthMode(raw.authMode),
|
|
128
159
|
providerAuthProfile: normalizeText(raw.providerAuthProfile) || undefined,
|
|
160
|
+
accountLabel: normalizeText(raw.accountLabel) || undefined,
|
|
129
161
|
endpoint: normalizeNimiRuntimeConfigEndpoint(raw.endpoint, NIMI_RUNTIME_CONFIG_DEFAULT_CONNECTOR_ENDPOINT),
|
|
130
162
|
scope,
|
|
131
163
|
hasCredential: Boolean(raw.hasCredential),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-projections.js","sourceRoot":"","sources":["../../runtime/config-projections.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qCAAqC,GAEtC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,0CAA0C,GAAG,EAAE,CAAC;AAC7D,MAAM,CAAC,MAAM,8CAA8C,GAAG,0CAA0C,CAAC;AAEzG,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,uBAAuB;IACvB,sBAAsB;IACtB,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"config-projections.js","sourceRoot":"","sources":["../../runtime/config-projections.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qCAAqC,GAEtC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,0CAA0C,GAAG,EAAE,CAAC;AAC7D,MAAM,CAAC,MAAM,8CAA8C,GAAG,0CAA0C,CAAC;AAEzG,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,uBAAuB;IACvB,sBAAsB;IACtB,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;CACf,CAAC;AAyEX,SAAS,aAAa,CAAC,KAAc;IACnC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC;AAED,SAAS,6BAA6B,CAAC,MAAc;IACnD,MAAM,gBAAgB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC;IAChH,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC;IAC/C,IAAI,IAAI,EAAE,CAAC;QACT,OAAO,GAAG,gBAAgB,IAAI,IAAI,EAAE,CAAC;IACvC,CAAC;IACD,OAAO,GAAG,gBAAgB,IAAI,IAAI,CAAC,GAAG,EAAE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AA6C,CAAC;QACnD,GAAG,SAAS;QACZ,MAAM,EAAE,MAAM;QACd,aAAa,EAAE,IAAI;QACnB,UAAU,EAAE,EAAE;KACf,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,wDAAwD,CACtE,GAA6D;IAE7D,OAAO;QACL,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,6BAA6B,CAAC,MAAM,CAAC;QAC1E,UAAU,EAAE,6CAA6C,CAAC,GAAG,CAAC,UAAU,CAAC;QACzE,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,SAAS,CAAC;QACvC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE;QACnD,OAAO,EAAE,0CAA0C,CAAC,GAAG,CAAC,OAAO,CAAC;QAChE,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,SAAS;QAChD,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,SAAS;QAC5D,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;QACjC,UAAU,EAAE,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,SAAS;QACtD,UAAU,EAAE,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,SAAS;QACtD,aAAa,EAAE,4CAA4C,CAAC,GAAG,CAAC,aAAa,CAAC;KAC/E,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
export type NimiConnectorAuthAcquisitionPendingState = {
|
|
2
|
-
|
|
3
|
-
verificationUrl: string;
|
|
2
|
+
authorizationUrl: string;
|
|
4
3
|
expiresInSeconds: number;
|
|
5
|
-
pollIntervalSeconds: number;
|
|
6
4
|
};
|
|
7
5
|
export type NimiManagedConnectorCredentialAcquisitionRequest = {
|
|
8
6
|
profileId: string;
|
|
9
7
|
connectorId?: string;
|
|
10
|
-
provider?: string;
|
|
11
|
-
endpoint?: string;
|
|
12
8
|
label?: string;
|
|
13
9
|
};
|
|
14
10
|
export type NimiManagedConnectorCredentialAcquisitionResult = {
|
|
15
11
|
profileId: string;
|
|
16
12
|
providerAuthProfile: string;
|
|
17
13
|
connectorId: string;
|
|
18
|
-
|
|
14
|
+
accountLabel?: string;
|
|
19
15
|
};
|
|
20
16
|
export type NimiManagedConnectorCredentialAcquisitionHostInput = NimiManagedConnectorCredentialAcquisitionRequest & {
|
|
21
17
|
onPending?: (state: NimiConnectorAuthAcquisitionPendingState) => void;
|
|
@@ -27,6 +23,7 @@ export type NimiManagedConnectorCredentialAcquisitionHost = {
|
|
|
27
23
|
export type NimiAcquireManagedConnectorCredentialOptions = NimiManagedConnectorCredentialAcquisitionHostInput & {
|
|
28
24
|
host: NimiManagedConnectorCredentialAcquisitionHost;
|
|
29
25
|
};
|
|
26
|
+
export declare function isNimiBrowserManagedConnectorProfile(providerAuthProfile: string | undefined): boolean;
|
|
30
27
|
export declare function acquireNimiManagedConnectorCredential(options: NimiAcquireManagedConnectorCredentialOptions): Promise<NimiManagedConnectorCredentialAcquisitionResult>;
|
|
31
28
|
export declare function parseNimiConnectorAuthAcquisitionPendingState(value: unknown): NimiConnectorAuthAcquisitionPendingState;
|
|
32
29
|
export declare function parseNimiManagedConnectorCredentialAcquisitionResult(value: unknown): NimiManagedConnectorCredentialAcquisitionResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-auth-acquisition-client.d.ts","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connector-auth-acquisition-client.d.ts","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-client.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,wCAAwC,GAAG;IACrD,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAIF,MAAM,MAAM,gDAAgD,GAAG;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,+CAA+C,GAAG;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kDAAkD,GAC5D,gDAAgD,GAAG;IACjD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,wCAAwC,KAAK,IAAI,CAAC;IACtE,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEJ,MAAM,MAAM,6CAA6C,GAAG;IAC1D,iCAAiC,CAC/B,KAAK,EAAE,kDAAkD,GACxD,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,4CAA4C,GACtD,kDAAkD,GAAG;IACnD,IAAI,EAAE,6CAA6C,CAAC;CACrD,CAAC;AAIJ,wBAAgB,oCAAoC,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAGrG;AAED,wBAAsB,qCAAqC,CACzD,OAAO,EAAE,4CAA4C,GACpD,OAAO,CAAC,+CAA+C,CAAC,CA4B1D;AAED,wBAAgB,6CAA6C,CAC3D,KAAK,EAAE,OAAO,GACb,wCAAwC,CAE1C;AAED,wBAAgB,oDAAoD,CAClE,KAAK,EAAE,OAAO,GACb,+CAA+C,CAEjD"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { CONNECTOR_AUTH_ACQUISITION_PROFILES } from './connector-auth-acquisition-profiles.generated.js';
|
|
2
|
+
// Reports whether a managed OAuth auth profile uses Nimi's browser sign-in.
|
|
3
|
+
// The profile table carries only public acquisition metadata.
|
|
4
|
+
export function isNimiBrowserManagedConnectorProfile(providerAuthProfile) {
|
|
5
|
+
const normalized = String(providerAuthProfile || '').trim().toLowerCase();
|
|
6
|
+
return Boolean(normalized) && Object.hasOwn(CONNECTOR_AUTH_ACQUISITION_PROFILES, normalized);
|
|
7
|
+
}
|
|
1
8
|
export async function acquireNimiManagedConnectorCredential(options) {
|
|
2
|
-
exactRecord(options, new Set(['profileId', 'connectorId', '
|
|
9
|
+
exactRecord(options, new Set(['profileId', 'connectorId', 'label', 'onPending', 'signal', 'host']), 'managed connector credential acquisition options');
|
|
3
10
|
if (!options.host || typeof options.host.acquireManagedConnectorCredential !== 'function') {
|
|
4
11
|
throw new Error('managed connector credential acquisition host is required');
|
|
5
12
|
}
|
|
@@ -15,8 +22,6 @@ export async function acquireNimiManagedConnectorCredential(options) {
|
|
|
15
22
|
profileId: requiredText(options.profileId, 'profileId'),
|
|
16
23
|
};
|
|
17
24
|
copyOptionalText(request, 'connectorId', options.connectorId);
|
|
18
|
-
copyOptionalText(request, 'provider', options.provider);
|
|
19
|
-
copyOptionalText(request, 'endpoint', options.endpoint);
|
|
20
25
|
copyOptionalText(request, 'label', options.label);
|
|
21
26
|
if (options.onPending) {
|
|
22
27
|
request.onPending = (value) => options.onPending?.(parsePendingState(value));
|
|
@@ -32,24 +37,26 @@ export function parseNimiManagedConnectorCredentialAcquisitionResult(value) {
|
|
|
32
37
|
return parseAcquisitionResult(value);
|
|
33
38
|
}
|
|
34
39
|
function parsePendingState(value) {
|
|
35
|
-
const record = exactRecord(value, new Set(['
|
|
40
|
+
const record = exactRecord(value, new Set(['authorizationUrl', 'expiresInSeconds']), 'managed connector credential pending state');
|
|
41
|
+
const authorizationUrl = requiredText(record.authorizationUrl, 'authorizationUrl');
|
|
42
|
+
if (!authorizationUrl.startsWith('https://')) {
|
|
43
|
+
throw new Error('authorizationUrl must be an https URL');
|
|
44
|
+
}
|
|
36
45
|
return {
|
|
37
|
-
|
|
38
|
-
verificationUrl: requiredText(record.verificationUrl, 'verificationUrl'),
|
|
46
|
+
authorizationUrl,
|
|
39
47
|
expiresInSeconds: positiveInteger(record.expiresInSeconds, 'expiresInSeconds'),
|
|
40
|
-
pollIntervalSeconds: positiveInteger(record.pollIntervalSeconds, 'pollIntervalSeconds'),
|
|
41
48
|
};
|
|
42
49
|
}
|
|
43
50
|
function parseAcquisitionResult(value) {
|
|
44
|
-
const record = exactRecord(value, new Set(['profileId', 'providerAuthProfile', 'connectorId', '
|
|
51
|
+
const record = exactRecord(value, new Set(['profileId', 'providerAuthProfile', 'connectorId', 'accountLabel']), 'managed connector credential acquisition result');
|
|
45
52
|
const result = {
|
|
46
53
|
profileId: requiredText(record.profileId, 'profileId'),
|
|
47
54
|
providerAuthProfile: requiredText(record.providerAuthProfile, 'providerAuthProfile'),
|
|
48
55
|
connectorId: requiredText(record.connectorId, 'connectorId'),
|
|
49
56
|
};
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
52
|
-
result.
|
|
57
|
+
const accountLabel = optionalText(record.accountLabel, 'accountLabel');
|
|
58
|
+
if (accountLabel)
|
|
59
|
+
result.accountLabel = accountLabel;
|
|
53
60
|
return result;
|
|
54
61
|
}
|
|
55
62
|
function exactRecord(value, allowedKeys, label) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-auth-acquisition-client.js","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connector-auth-acquisition-client.js","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AAyCzG,4EAA4E;AAC5E,8DAA8D;AAC9D,MAAM,UAAU,oCAAoC,CAAC,mBAAuC;IAC1F,MAAM,UAAU,GAAG,MAAM,CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC1E,OAAO,OAAO,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,mCAAmC,EAAE,UAA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AAK,KAAK,EAAE,CAAC;QACxD,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,8BAA8B,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,gBAAgB,CAAC,MAA+B,EAAE,GAAW,EAAE,KAAc;IACpF,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO;IAChC,MAAM,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,eAAe,CAAC,KAAc,EAAE,KAAa;IACpD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC5E,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,6BAA6B,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -2,17 +2,16 @@ export type ConnectorAuthAcquisitionProfileSpec = {
|
|
|
2
2
|
profileId: string;
|
|
3
3
|
providerAuthProfile: string;
|
|
4
4
|
issuer: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
maxExpiresInSeconds: number;
|
|
5
|
+
initialClientId: string;
|
|
6
|
+
agentNameHint: string;
|
|
7
|
+
authorizationUrl: string;
|
|
8
|
+
tokenUrl: string;
|
|
9
|
+
jwksUrl: string;
|
|
10
|
+
resource: string;
|
|
11
|
+
scopes: readonly string[];
|
|
12
|
+
callbackHost: string;
|
|
13
|
+
callbackPath: string;
|
|
14
|
+
acquisitionTimeoutSeconds: number;
|
|
16
15
|
};
|
|
17
16
|
export declare const CONNECTOR_AUTH_ACQUISITION_PROFILES: Record<string, ConnectorAuthAcquisitionProfileSpec>;
|
|
18
17
|
//# sourceMappingURL=connector-auth-acquisition-profiles.generated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-auth-acquisition-profiles.generated.d.ts","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-profiles.generated.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mCAAmC,GAAG;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"connector-auth-acquisition-profiles.generated.d.ts","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-profiles.generated.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mCAAmC,GAAG;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,yBAAyB,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAgBnG,CAAC"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
// Code generated by scripts/generate-sdk-connector-auth-acquisition-profiles.mjs. DO NOT EDIT.
|
|
2
2
|
export const CONNECTOR_AUTH_ACQUISITION_PROFILES = {
|
|
3
|
-
"
|
|
4
|
-
profileId: "
|
|
5
|
-
providerAuthProfile: "
|
|
3
|
+
"openai_chatgpt_plan": {
|
|
4
|
+
profileId: "openai_chatgpt_plan",
|
|
5
|
+
providerAuthProfile: "openai_chatgpt_plan",
|
|
6
6
|
issuer: "https://auth.openai.com",
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
maxExpiresInSeconds: 900,
|
|
7
|
+
initialClientId: "dynamic_agent_client",
|
|
8
|
+
agentNameHint: "Nimi",
|
|
9
|
+
authorizationUrl: "https://auth.openai.com/api/accounts/authorize",
|
|
10
|
+
tokenUrl: "https://auth.openai.com/api/accounts/oauth/token",
|
|
11
|
+
jwksUrl: "https://auth.openai.com/.well-known/jwks.json",
|
|
12
|
+
resource: "https://api.openai.com/v1",
|
|
13
|
+
scopes: ["openid", "profile", "email", "offline_access", "resource.invoke", "chatgpt.tokens.use.direct"],
|
|
14
|
+
callbackHost: "127.0.0.1",
|
|
15
|
+
callbackPath: "/auth/callback",
|
|
16
|
+
acquisitionTimeoutSeconds: 600,
|
|
18
17
|
},
|
|
19
18
|
};
|
|
20
19
|
//# sourceMappingURL=connector-auth-acquisition-profiles.generated.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-auth-acquisition-profiles.generated.js","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-profiles.generated.ts"],"names":[],"mappings":"AAAA,+FAA+F;
|
|
1
|
+
{"version":3,"file":"connector-auth-acquisition-profiles.generated.js","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition-profiles.generated.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAkB/F,MAAM,CAAC,MAAM,mCAAmC,GAAwD;IACtG,qBAAqB,EAAE;QACrB,SAAS,EAAE,qBAAqB;QAChC,mBAAmB,EAAE,qBAAqB;QAC1C,MAAM,EAAE,yBAAyB;QACjC,eAAe,EAAE,sBAAsB;QACvC,aAAa,EAAE,MAAM;QACrB,gBAAgB,EAAE,gDAAgD;QAClE,QAAQ,EAAE,kDAAkD;QAC5D,OAAO,EAAE,+CAA+C;QACxD,QAAQ,EAAE,2BAA2B;QACrC,MAAM,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,2BAA2B,CAAC;QACxG,YAAY,EAAE,WAAW;QACzB,YAAY,EAAE,gBAAgB;QAC9B,yBAAyB,EAAE,GAAG;KAC/B;CACF,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { CONNECTOR_AUTH_ACQUISITION_PROFILES, type ConnectorAuthAcquisitionProfileSpec } from './connector-auth-acquisition-profiles.generated.js';
|
|
2
2
|
export { CONNECTOR_AUTH_ACQUISITION_PROFILES };
|
|
3
3
|
export type { ConnectorAuthAcquisitionProfileSpec };
|
|
4
|
-
import { type RuntimeTypedCallOptions
|
|
4
|
+
import { type RuntimeTypedCallOptions } from '../core-generated/runtime-typed-client.js';
|
|
5
5
|
import type { JsonObject } from '../types/index.js';
|
|
6
|
+
import type { DesktopAccountProductRuntimeMethods } from './first-party-protected-runtime-profiles.generated.js';
|
|
6
7
|
import type { NimiConnectorAuthAcquisitionPendingState, NimiManagedConnectorCredentialAcquisitionRequest, NimiManagedConnectorCredentialAcquisitionResult } from './connector-auth-acquisition-client.js';
|
|
7
8
|
export type NimiConnectorAuthAcquisitionHttpRequest = {
|
|
8
9
|
profileId: string;
|
|
9
|
-
purpose: '
|
|
10
|
+
purpose: 'authorization_code_exchange' | 'jwks';
|
|
10
11
|
url: string;
|
|
11
|
-
method: 'POST';
|
|
12
|
+
method: 'POST' | 'GET';
|
|
12
13
|
headers: Record<string, string>;
|
|
13
|
-
body
|
|
14
|
+
body?: string;
|
|
14
15
|
};
|
|
15
16
|
export type NimiConnectorAuthAcquisitionHttpResponse = {
|
|
16
17
|
status: number;
|
|
@@ -18,31 +19,32 @@ export type NimiConnectorAuthAcquisitionHttpResponse = {
|
|
|
18
19
|
body: string;
|
|
19
20
|
headers?: Record<string, string>;
|
|
20
21
|
};
|
|
21
|
-
export type
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
export type NimiConnectorAuthAcquisitionCallbackRequest = {
|
|
23
|
+
profileId: string;
|
|
24
|
+
host: string;
|
|
25
|
+
path: string;
|
|
26
|
+
};
|
|
27
|
+
export type NimiConnectorAuthAcquisitionCallback = {
|
|
28
|
+
redirectUri: string;
|
|
29
|
+
waitForCallback(signal: AbortSignal): Promise<Record<string, string>>;
|
|
30
|
+
close(): void | Promise<void>;
|
|
27
31
|
};
|
|
28
|
-
export type
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
tokenType?: string;
|
|
32
|
-
expiresIn?: number;
|
|
33
|
-
scope?: string;
|
|
32
|
+
export type NimiConnectorAuthAcquisitionCrypto = {
|
|
33
|
+
getRandomValues(array: Uint8Array): Uint8Array;
|
|
34
|
+
subtle: SubtleCrypto;
|
|
34
35
|
};
|
|
35
36
|
export type NimiConnectorAuthAcquisitionNativeHost = {
|
|
36
37
|
proxyHttp(request: NimiConnectorAuthAcquisitionHttpRequest, signal?: AbortSignal): Promise<NimiConnectorAuthAcquisitionHttpResponse>;
|
|
37
38
|
openExternalUrl(url: string, signal?: AbortSignal): Promise<{
|
|
38
39
|
opened: boolean;
|
|
39
40
|
}>;
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
startAuthorizationCallback(request: NimiConnectorAuthAcquisitionCallbackRequest, signal?: AbortSignal): Promise<NimiConnectorAuthAcquisitionCallback>;
|
|
42
|
+
hostIdentifier(signal?: AbortSignal): Promise<string>;
|
|
43
|
+
crypto: NimiConnectorAuthAcquisitionCrypto;
|
|
42
44
|
now(): number;
|
|
43
45
|
log?: (level: 'debug' | 'info' | 'warn' | 'error', message: string, details: JsonObject) => void;
|
|
44
46
|
};
|
|
45
|
-
export type NimiManagedConnectorCredentialRuntime = Pick<
|
|
47
|
+
export type NimiManagedConnectorCredentialRuntime = Pick<DesktopAccountProductRuntimeMethods, 'createConnector' | 'updateConnector' | 'listConnectors'>;
|
|
46
48
|
export type NimiAcquireManagedConnectorCredentialInHostOptions = NimiManagedConnectorCredentialAcquisitionRequest & {
|
|
47
49
|
host: NimiConnectorAuthAcquisitionNativeHost;
|
|
48
50
|
runtime: NimiManagedConnectorCredentialRuntime;
|
|
@@ -50,5 +52,10 @@ export type NimiAcquireManagedConnectorCredentialInHostOptions = NimiManagedConn
|
|
|
50
52
|
onPending?: (state: NimiConnectorAuthAcquisitionPendingState) => void;
|
|
51
53
|
signal?: AbortSignal;
|
|
52
54
|
};
|
|
55
|
+
export type NimiConnectorAuthAcquisitionErrorCode = 'AUTHORIZATION_DENIED' | 'PLAN_USAGE_NOT_GRANTED' | 'AUTHORIZATION_INVALID' | 'REGISTRATION_UNAVAILABLE' | 'BROWSER_UNAVAILABLE';
|
|
56
|
+
export declare class NimiConnectorAuthAcquisitionError extends Error {
|
|
57
|
+
readonly code: NimiConnectorAuthAcquisitionErrorCode;
|
|
58
|
+
constructor(code: NimiConnectorAuthAcquisitionErrorCode, message: string);
|
|
59
|
+
}
|
|
53
60
|
export declare function acquireNimiManagedConnectorCredentialInHost(options: NimiAcquireManagedConnectorCredentialInHostOptions): Promise<NimiManagedConnectorCredentialAcquisitionResult>;
|
|
54
61
|
//# sourceMappingURL=connector-auth-acquisition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-auth-acquisition.d.ts","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,KAAK,mCAAmC,EACzC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,mCAAmC,EAAE,CAAC;AAC/C,YAAY,EAAE,mCAAmC,EAAE,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"connector-auth-acquisition.d.ts","sourceRoot":"","sources":["../../runtime/connector-auth-acquisition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC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