@nimiplatform/sdk 0.24.0-rc.11 → 0.24.0-rc.13
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 +49 -35
- package/README.md +2 -0
- package/dist/core/ai/capability-configuration-local-intent.d.ts +5 -0
- package/dist/core/ai/capability-configuration-local-intent.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration-local-intent.js +25 -0
- package/dist/core/ai/capability-configuration-local-intent.js.map +1 -1
- package/dist/core/ai/capability-configuration.d.ts +58 -0
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +132 -11
- package/dist/core/ai/capability-configuration.js.map +1 -1
- package/dist/core/ai/config-profile.d.ts +8 -0
- package/dist/core/ai/config-profile.d.ts.map +1 -1
- package/dist/core/ai/config-profile.js +17 -0
- package/dist/core/ai/config-profile.js.map +1 -1
- package/dist/core/ai/embeddings.js +2 -0
- package/dist/core/ai/embeddings.js.map +1 -1
- package/dist/core/ai/index.d.ts +1 -0
- package/dist/core/ai/index.d.ts.map +1 -1
- package/dist/core/ai/index.js +59 -5
- package/dist/core/ai/index.js.map +1 -1
- package/dist/core/ai/local-app-model.d.ts.map +1 -1
- package/dist/core/ai/local-app-model.js +107 -14
- package/dist/core/ai/local-app-model.js.map +1 -1
- package/dist/core/ai/profile-authoring.d.ts +6 -1
- package/dist/core/ai/profile-authoring.d.ts.map +1 -1
- package/dist/core/ai/profile-authoring.js +68 -20
- package/dist/core/ai/profile-authoring.js.map +1 -1
- package/dist/core/ai/runtime-model.d.ts.map +1 -1
- package/dist/core/ai/runtime-model.js +174 -15
- package/dist/core/ai/runtime-model.js.map +1 -1
- package/dist/core/ai/text-runner.d.ts +1 -0
- package/dist/core/ai/text-runner.d.ts.map +1 -1
- package/dist/core/ai/text-runner.js +63 -4
- package/dist/core/ai/text-runner.js.map +1 -1
- package/dist/core/app/desktop-open.d.ts +1 -1
- package/dist/core/app/desktop-open.d.ts.map +1 -1
- package/dist/core/app/desktop-open.js +0 -1
- package/dist/core/app/desktop-open.js.map +1 -1
- package/dist/core/app/host-locale.d.ts +26 -0
- package/dist/core/app/host-locale.d.ts.map +1 -0
- package/dist/core/app/host-locale.js +141 -0
- package/dist/core/app/host-locale.js.map +1 -0
- package/dist/core/app/index.d.ts +4 -0
- package/dist/core/app/index.d.ts.map +1 -1
- package/dist/core/app/index.js +3 -0
- package/dist/core/app/index.js.map +1 -1
- package/dist/core/app/local-app-agent-session.d.ts +32 -0
- package/dist/core/app/local-app-agent-session.d.ts.map +1 -0
- package/dist/core/app/local-app-agent-session.js +134 -0
- package/dist/core/app/local-app-agent-session.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 +102 -7
- 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.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +19 -13
- package/dist/core/app/local-app-runtime-platform-ai.js.map +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 +148 -6
- package/dist/core/app/local-app-runtime-platform-configure.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.d.ts +2 -2
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.js +0 -4
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-realtime-shared.d.ts +1 -1
- package/dist/core/app/local-app-runtime-platform-realm-realtime.d.ts +2 -5
- package/dist/core/app/local-app-runtime-platform-realm-realtime.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-realm-realtime.js +4 -8
- package/dist/core/app/local-app-runtime-platform-realm-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.d.ts +0 -1
- package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.js +0 -51
- package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.d.ts +3 -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 +35 -1
- package/dist/core/app/local-app-runtime-platform-vision.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform.d.ts +5 -0
- package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform.js +36 -2
- package/dist/core/app/local-app-runtime-platform.js.map +1 -1
- package/dist/core/app/local-app-transcription.d.ts +2 -0
- package/dist/core/app/local-app-transcription.d.ts.map +1 -1
- package/dist/core/app/local-app-transcription.js +17 -0
- package/dist/core/app/local-app-transcription.js.map +1 -1
- 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 +2 -9
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js.map +1 -1
- package/dist/core/contracts/primitives.d.ts +3 -0
- package/dist/core/contracts/primitives.d.ts.map +1 -1
- package/dist/core/contracts/primitives.js.map +1 -1
- package/dist/core-generated/realm-client.d.ts.map +1 -1
- package/dist/core-generated/realm-client.js +6 -330
- package/dist/core-generated/realm-client.js.map +1 -1
- package/dist/core-generated/realm-typed-client.d.ts +78 -1035
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +13 -683
- 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 +256 -0
- package/dist/core-generated/runtime-client.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.d.ts +28 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.js +45 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts +28 -0
- 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 +45 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_session.d.ts +2190 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_session.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_session.js +4707 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_session.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +7 -3
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +4 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +141 -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 +298 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +334 -3
- 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 +698 -2
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.d.ts +61 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.js +133 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +29 -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 +28 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/external_executor.d.ts +1016 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/external_executor.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/external_executor.js +1950 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/external_executor.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +84 -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 +171 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts +12 -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 +26 -2
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.d.ts +1 -38
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.js +0 -69
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.js.map +1 -1
- package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-client.js +248 -0
- 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 +31 -0
- package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.d.ts +34 -1
- package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.js +34 -1
- 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 +32 -0
- package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts +45 -7
- package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-typed-client.js +322 -0
- package/dist/core-generated/runtime-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.d.ts +36 -2
- package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.js +36 -2
- package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
- package/dist/features/generation/index.d.ts.map +1 -1
- package/dist/features/generation/index.js +5 -3
- package/dist/features/generation/index.js.map +1 -1
- package/dist/realm/auth.d.ts +2 -8
- package/dist/realm/auth.d.ts.map +1 -1
- package/dist/realm/auth.js +1 -36
- package/dist/realm/auth.js.map +1 -1
- package/dist/realm/index.d.ts +2 -5
- package/dist/realm/index.d.ts.map +1 -1
- package/dist/realm/index.js +1 -12
- package/dist/realm/index.js.map +1 -1
- package/dist/realm/runtime-client.d.ts +1 -1
- package/dist/realm/runtime-client.d.ts.map +1 -1
- package/dist/realm/runtime-client.js +14 -9
- package/dist/realm/runtime-client.js.map +1 -1
- package/dist/realm/social.d.ts.map +1 -1
- package/dist/realm/social.js +1 -2
- package/dist/realm/social.js.map +1 -1
- package/dist/runtime/desktop-first-party-runtime.d.ts +3 -1
- package/dist/runtime/desktop-first-party-runtime.d.ts.map +1 -1
- package/dist/runtime/desktop-first-party-runtime.js +57 -36
- package/dist/runtime/desktop-first-party-runtime.js.map +1 -1
- package/dist/runtime/electron-ipc.d.ts +3 -1
- package/dist/runtime/electron-ipc.d.ts.map +1 -1
- package/dist/runtime/electron-ipc.js +60 -5
- package/dist/runtime/electron-ipc.js.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +107 -3
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js +29 -3
- 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/immediate-execution-outcome.d.ts +51 -0
- package/dist/runtime/immediate-execution-outcome.d.ts.map +1 -0
- package/dist/runtime/immediate-execution-outcome.js +400 -0
- package/dist/runtime/immediate-execution-outcome.js.map +1 -0
- package/dist/runtime/index.d.ts +5 -7
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +17 -11
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/node-grpc-errors.d.ts.map +1 -1
- package/dist/runtime/node-grpc-errors.js +36 -14
- 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 +107 -15
- package/dist/runtime/node-grpc.js.map +1 -1
- package/dist/runtime/reason-messages.d.ts.map +1 -1
- package/dist/runtime/reason-messages.js +7 -3
- package/dist/runtime/reason-messages.js.map +1 -1
- package/dist/runtime/remote-app.d.ts.map +1 -1
- package/dist/runtime/remote-data-channel.d.ts.map +1 -1
- package/dist/runtime/remote-data-channel.js +36 -4
- package/dist/runtime/remote-data-channel.js.map +1 -1
- package/dist/runtime/remote-realm.d.ts.map +1 -1
- package/dist/runtime/remote-realm.js +6 -1
- package/dist/runtime/remote-realm.js.map +1 -1
- package/dist/runtime/remote.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-types.d.ts +2 -0
- package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client.js +2 -0
- package/dist/runtime/runtime-local-environment-client.js.map +1 -1
- package/dist/runtime/runtime-local-recommendation-types.d.ts +1 -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 +2 -0
- package/dist/runtime/runtime-local-recommendation.js.map +1 -1
- package/dist/runtime/runtime-method-modules.d.ts +2 -0
- package/dist/runtime/runtime-method-modules.d.ts.map +1 -1
- package/dist/runtime/runtime-method-modules.js +23 -0
- package/dist/runtime/runtime-method-modules.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 +110 -5
- package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
- package/dist/runtime/wire-types/agent-participation-types.d.ts +2 -0
- package/dist/runtime/wire-types/agent-participation-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts +35 -5
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.js +38 -3
- package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-types.d.ts +6 -4
- package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-enums.d.ts +30 -0
- package/dist/runtime/wire-types/identity-app-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-enums.js +35 -0
- package/dist/runtime/wire-types/identity-app-enums.js.map +1 -1
- package/dist/runtime/wire-types/identity-app-types.d.ts +2 -2
- package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts +8 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.js +7 -0
- package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
- package/dist/types/errors.d.ts +2 -1
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +11 -5
- package/dist/types/errors.js.map +1 -1
- package/package.json +2 -1
- package/dist/runtime/tauri-ipc.d.ts +0 -26
- package/dist/runtime/tauri-ipc.d.ts.map +0 -1
- package/dist/runtime/tauri-ipc.js +0 -475
- package/dist/runtime/tauri-ipc.js.map +0 -1
|
@@ -3,6 +3,8 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
3
3
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
4
4
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
5
5
|
import { Timestamp } from "../../google/protobuf/timestamp.js";
|
|
6
|
+
import { ExternalExecutorLocality } from "./external_executor.js";
|
|
7
|
+
import { ExternalExecutorAdapterKind } from "./external_executor.js";
|
|
6
8
|
import { LocalRecommendationApplicability } from "./local_runtime_recommendation.js";
|
|
7
9
|
import { ModelAssetMarketCandidate } from "./local_runtime_recommendation.js";
|
|
8
10
|
import { ReasonCode } from "./common.js";
|
|
@@ -3189,6 +3191,61 @@ class AIConfigCloudIntent$Type extends MessageType {
|
|
|
3189
3191
|
*/
|
|
3190
3192
|
export const AIConfigCloudIntent = new AIConfigCloudIntent$Type();
|
|
3191
3193
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3194
|
+
class AIConfigExternalIntent$Type extends MessageType {
|
|
3195
|
+
constructor() {
|
|
3196
|
+
super("nimi.runtime.v1.AIConfigExternalIntent", [
|
|
3197
|
+
{ no: 1, name: "executor_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3198
|
+
{ no: 2, name: "target_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3199
|
+
]);
|
|
3200
|
+
}
|
|
3201
|
+
create(value) {
|
|
3202
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
3203
|
+
message.executorRef = "";
|
|
3204
|
+
message.targetRef = "";
|
|
3205
|
+
if (value !== undefined)
|
|
3206
|
+
reflectionMergePartial(this, message, value);
|
|
3207
|
+
return message;
|
|
3208
|
+
}
|
|
3209
|
+
internalBinaryRead(reader, length, options, target) {
|
|
3210
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3211
|
+
while (reader.pos < end) {
|
|
3212
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3213
|
+
switch (fieldNo) {
|
|
3214
|
+
case /* string executor_ref */ 1:
|
|
3215
|
+
message.executorRef = reader.string();
|
|
3216
|
+
break;
|
|
3217
|
+
case /* string target_ref */ 2:
|
|
3218
|
+
message.targetRef = reader.string();
|
|
3219
|
+
break;
|
|
3220
|
+
default:
|
|
3221
|
+
let u = options.readUnknownField;
|
|
3222
|
+
if (u === "throw")
|
|
3223
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3224
|
+
let d = reader.skip(wireType);
|
|
3225
|
+
if (u !== false)
|
|
3226
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
return message;
|
|
3230
|
+
}
|
|
3231
|
+
internalBinaryWrite(message, writer, options) {
|
|
3232
|
+
/* string executor_ref = 1; */
|
|
3233
|
+
if (message.executorRef !== "")
|
|
3234
|
+
writer.tag(1, WireType.LengthDelimited).string(message.executorRef);
|
|
3235
|
+
/* string target_ref = 2; */
|
|
3236
|
+
if (message.targetRef !== "")
|
|
3237
|
+
writer.tag(2, WireType.LengthDelimited).string(message.targetRef);
|
|
3238
|
+
let u = options.writeUnknownFields;
|
|
3239
|
+
if (u !== false)
|
|
3240
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3241
|
+
return writer;
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
/**
|
|
3245
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalIntent
|
|
3246
|
+
*/
|
|
3247
|
+
export const AIConfigExternalIntent = new AIConfigExternalIntent$Type();
|
|
3248
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3192
3249
|
class AIConfigCapabilityIntent$Type extends MessageType {
|
|
3193
3250
|
constructor() {
|
|
3194
3251
|
super("nimi.runtime.v1.AIConfigCapabilityIntent", [
|
|
@@ -3196,7 +3253,8 @@ class AIConfigCapabilityIntent$Type extends MessageType {
|
|
|
3196
3253
|
{ no: 2, name: "required_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
3197
3254
|
{ no: 3, name: "defaults", kind: "message", T: () => Struct },
|
|
3198
3255
|
{ no: 4, name: "local", kind: "message", oneof: "route", T: () => AIConfigLocalIntent },
|
|
3199
|
-
{ no: 5, name: "cloud", kind: "message", oneof: "route", T: () => AIConfigCloudIntent }
|
|
3256
|
+
{ no: 5, name: "cloud", kind: "message", oneof: "route", T: () => AIConfigCloudIntent },
|
|
3257
|
+
{ no: 6, name: "external", kind: "message", oneof: "route", T: () => AIConfigExternalIntent }
|
|
3200
3258
|
]);
|
|
3201
3259
|
}
|
|
3202
3260
|
create(value) {
|
|
@@ -3234,6 +3292,12 @@ class AIConfigCapabilityIntent$Type extends MessageType {
|
|
|
3234
3292
|
cloud: AIConfigCloudIntent.internalBinaryRead(reader, reader.uint32(), options, message.route.cloud)
|
|
3235
3293
|
};
|
|
3236
3294
|
break;
|
|
3295
|
+
case /* nimi.runtime.v1.AIConfigExternalIntent external */ 6:
|
|
3296
|
+
message.route = {
|
|
3297
|
+
oneofKind: "external",
|
|
3298
|
+
external: AIConfigExternalIntent.internalBinaryRead(reader, reader.uint32(), options, message.route.external)
|
|
3299
|
+
};
|
|
3300
|
+
break;
|
|
3237
3301
|
default:
|
|
3238
3302
|
let u = options.readUnknownField;
|
|
3239
3303
|
if (u === "throw")
|
|
@@ -3261,6 +3325,9 @@ class AIConfigCapabilityIntent$Type extends MessageType {
|
|
|
3261
3325
|
/* nimi.runtime.v1.AIConfigCloudIntent cloud = 5; */
|
|
3262
3326
|
if (message.route.oneofKind === "cloud")
|
|
3263
3327
|
AIConfigCloudIntent.internalBinaryWrite(message.route.cloud, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
3328
|
+
/* nimi.runtime.v1.AIConfigExternalIntent external = 6; */
|
|
3329
|
+
if (message.route.oneofKind === "external")
|
|
3330
|
+
AIConfigExternalIntent.internalBinaryWrite(message.route.external, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
3264
3331
|
let u = options.writeUnknownFields;
|
|
3265
3332
|
if (u !== false)
|
|
3266
3333
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4297,6 +4364,295 @@ class AIConfigCloudResourceProjection$Type extends MessageType {
|
|
|
4297
4364
|
*/
|
|
4298
4365
|
export const AIConfigCloudResourceProjection = new AIConfigCloudResourceProjection$Type();
|
|
4299
4366
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4367
|
+
class AIConfigExternalExecutorProjection$Type extends MessageType {
|
|
4368
|
+
constructor() {
|
|
4369
|
+
super("nimi.runtime.v1.AIConfigExternalExecutorProjection", [
|
|
4370
|
+
{ no: 1, name: "executor_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4371
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4372
|
+
{ no: 3, name: "adapter_kind", kind: "enum", T: () => ["nimi.runtime.v1.ExternalExecutorAdapterKind", ExternalExecutorAdapterKind, "EXTERNAL_EXECUTOR_ADAPTER_KIND_"] },
|
|
4373
|
+
{ no: 4, name: "locality", kind: "enum", T: () => ["nimi.runtime.v1.ExternalExecutorLocality", ExternalExecutorLocality, "EXTERNAL_EXECUTOR_LOCALITY_"] },
|
|
4374
|
+
{ no: 5, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
4375
|
+
{ no: 6, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
4376
|
+
]);
|
|
4377
|
+
}
|
|
4378
|
+
create(value) {
|
|
4379
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4380
|
+
message.executorRef = "";
|
|
4381
|
+
message.displayName = "";
|
|
4382
|
+
message.adapterKind = 0;
|
|
4383
|
+
message.locality = 0;
|
|
4384
|
+
message.state = 0;
|
|
4385
|
+
message.reasons = [];
|
|
4386
|
+
if (value !== undefined)
|
|
4387
|
+
reflectionMergePartial(this, message, value);
|
|
4388
|
+
return message;
|
|
4389
|
+
}
|
|
4390
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4391
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4392
|
+
while (reader.pos < end) {
|
|
4393
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4394
|
+
switch (fieldNo) {
|
|
4395
|
+
case /* string executor_ref */ 1:
|
|
4396
|
+
message.executorRef = reader.string();
|
|
4397
|
+
break;
|
|
4398
|
+
case /* string display_name */ 2:
|
|
4399
|
+
message.displayName = reader.string();
|
|
4400
|
+
break;
|
|
4401
|
+
case /* nimi.runtime.v1.ExternalExecutorAdapterKind adapter_kind */ 3:
|
|
4402
|
+
message.adapterKind = reader.int32();
|
|
4403
|
+
break;
|
|
4404
|
+
case /* nimi.runtime.v1.ExternalExecutorLocality locality */ 4:
|
|
4405
|
+
message.locality = reader.int32();
|
|
4406
|
+
break;
|
|
4407
|
+
case /* nimi.runtime.v1.AIConfigEffectiveState state */ 5:
|
|
4408
|
+
message.state = reader.int32();
|
|
4409
|
+
break;
|
|
4410
|
+
case /* repeated string reasons */ 6:
|
|
4411
|
+
message.reasons.push(reader.string());
|
|
4412
|
+
break;
|
|
4413
|
+
default:
|
|
4414
|
+
let u = options.readUnknownField;
|
|
4415
|
+
if (u === "throw")
|
|
4416
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4417
|
+
let d = reader.skip(wireType);
|
|
4418
|
+
if (u !== false)
|
|
4419
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4420
|
+
}
|
|
4421
|
+
}
|
|
4422
|
+
return message;
|
|
4423
|
+
}
|
|
4424
|
+
internalBinaryWrite(message, writer, options) {
|
|
4425
|
+
/* string executor_ref = 1; */
|
|
4426
|
+
if (message.executorRef !== "")
|
|
4427
|
+
writer.tag(1, WireType.LengthDelimited).string(message.executorRef);
|
|
4428
|
+
/* string display_name = 2; */
|
|
4429
|
+
if (message.displayName !== "")
|
|
4430
|
+
writer.tag(2, WireType.LengthDelimited).string(message.displayName);
|
|
4431
|
+
/* nimi.runtime.v1.ExternalExecutorAdapterKind adapter_kind = 3; */
|
|
4432
|
+
if (message.adapterKind !== 0)
|
|
4433
|
+
writer.tag(3, WireType.Varint).int32(message.adapterKind);
|
|
4434
|
+
/* nimi.runtime.v1.ExternalExecutorLocality locality = 4; */
|
|
4435
|
+
if (message.locality !== 0)
|
|
4436
|
+
writer.tag(4, WireType.Varint).int32(message.locality);
|
|
4437
|
+
/* nimi.runtime.v1.AIConfigEffectiveState state = 5; */
|
|
4438
|
+
if (message.state !== 0)
|
|
4439
|
+
writer.tag(5, WireType.Varint).int32(message.state);
|
|
4440
|
+
/* repeated string reasons = 6; */
|
|
4441
|
+
for (let i = 0; i < message.reasons.length; i++)
|
|
4442
|
+
writer.tag(6, WireType.LengthDelimited).string(message.reasons[i]);
|
|
4443
|
+
let u = options.writeUnknownFields;
|
|
4444
|
+
if (u !== false)
|
|
4445
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4446
|
+
return writer;
|
|
4447
|
+
}
|
|
4448
|
+
}
|
|
4449
|
+
/**
|
|
4450
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalExecutorProjection
|
|
4451
|
+
*/
|
|
4452
|
+
export const AIConfigExternalExecutorProjection = new AIConfigExternalExecutorProjection$Type();
|
|
4453
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4454
|
+
class AIConfigExternalTargetProjection$Type extends MessageType {
|
|
4455
|
+
constructor() {
|
|
4456
|
+
super("nimi.runtime.v1.AIConfigExternalTargetProjection", [
|
|
4457
|
+
{ no: 1, name: "executor_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4458
|
+
{ no: 2, name: "target_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4459
|
+
{ no: 3, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4460
|
+
{ no: 4, name: "capability_contract", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4461
|
+
{ no: 5, name: "adapter_kind", kind: "enum", T: () => ["nimi.runtime.v1.ExternalExecutorAdapterKind", ExternalExecutorAdapterKind, "EXTERNAL_EXECUTOR_ADAPTER_KIND_"] },
|
|
4462
|
+
{ no: 6, name: "locality", kind: "enum", T: () => ["nimi.runtime.v1.ExternalExecutorLocality", ExternalExecutorLocality, "EXTERNAL_EXECUTOR_LOCALITY_"] },
|
|
4463
|
+
{ no: 7, name: "supported_features", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4464
|
+
{ no: 8, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
4465
|
+
{ no: 9, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4466
|
+
{ no: 10, name: "content_sha256", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4467
|
+
{ no: 11, name: "model_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4468
|
+
{ no: 12, name: "context_length", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/ },
|
|
4469
|
+
{ no: 13, name: "embedding_dimensions", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
4470
|
+
{ no: 14, name: "text_behaviors", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TextBehaviorCapabilityProjection }
|
|
4471
|
+
]);
|
|
4472
|
+
}
|
|
4473
|
+
create(value) {
|
|
4474
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4475
|
+
message.executorRef = "";
|
|
4476
|
+
message.targetRef = "";
|
|
4477
|
+
message.displayName = "";
|
|
4478
|
+
message.capabilityContract = "";
|
|
4479
|
+
message.adapterKind = 0;
|
|
4480
|
+
message.locality = 0;
|
|
4481
|
+
message.supportedFeatures = [];
|
|
4482
|
+
message.state = 0;
|
|
4483
|
+
message.reasons = [];
|
|
4484
|
+
message.contentSha256 = "";
|
|
4485
|
+
message.modelName = "";
|
|
4486
|
+
message.textBehaviors = [];
|
|
4487
|
+
if (value !== undefined)
|
|
4488
|
+
reflectionMergePartial(this, message, value);
|
|
4489
|
+
return message;
|
|
4490
|
+
}
|
|
4491
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4492
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4493
|
+
while (reader.pos < end) {
|
|
4494
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4495
|
+
switch (fieldNo) {
|
|
4496
|
+
case /* string executor_ref */ 1:
|
|
4497
|
+
message.executorRef = reader.string();
|
|
4498
|
+
break;
|
|
4499
|
+
case /* string target_ref */ 2:
|
|
4500
|
+
message.targetRef = reader.string();
|
|
4501
|
+
break;
|
|
4502
|
+
case /* string display_name */ 3:
|
|
4503
|
+
message.displayName = reader.string();
|
|
4504
|
+
break;
|
|
4505
|
+
case /* string capability_contract */ 4:
|
|
4506
|
+
message.capabilityContract = reader.string();
|
|
4507
|
+
break;
|
|
4508
|
+
case /* nimi.runtime.v1.ExternalExecutorAdapterKind adapter_kind */ 5:
|
|
4509
|
+
message.adapterKind = reader.int32();
|
|
4510
|
+
break;
|
|
4511
|
+
case /* nimi.runtime.v1.ExternalExecutorLocality locality */ 6:
|
|
4512
|
+
message.locality = reader.int32();
|
|
4513
|
+
break;
|
|
4514
|
+
case /* repeated string supported_features */ 7:
|
|
4515
|
+
message.supportedFeatures.push(reader.string());
|
|
4516
|
+
break;
|
|
4517
|
+
case /* nimi.runtime.v1.AIConfigEffectiveState state */ 8:
|
|
4518
|
+
message.state = reader.int32();
|
|
4519
|
+
break;
|
|
4520
|
+
case /* repeated string reasons */ 9:
|
|
4521
|
+
message.reasons.push(reader.string());
|
|
4522
|
+
break;
|
|
4523
|
+
case /* string content_sha256 */ 10:
|
|
4524
|
+
message.contentSha256 = reader.string();
|
|
4525
|
+
break;
|
|
4526
|
+
case /* string model_name */ 11:
|
|
4527
|
+
message.modelName = reader.string();
|
|
4528
|
+
break;
|
|
4529
|
+
case /* optional uint64 context_length */ 12:
|
|
4530
|
+
message.contextLength = reader.uint64().toString();
|
|
4531
|
+
break;
|
|
4532
|
+
case /* optional uint32 embedding_dimensions */ 13:
|
|
4533
|
+
message.embeddingDimensions = reader.uint32();
|
|
4534
|
+
break;
|
|
4535
|
+
case /* repeated nimi.runtime.v1.TextBehaviorCapabilityProjection text_behaviors */ 14:
|
|
4536
|
+
message.textBehaviors.push(TextBehaviorCapabilityProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
4537
|
+
break;
|
|
4538
|
+
default:
|
|
4539
|
+
let u = options.readUnknownField;
|
|
4540
|
+
if (u === "throw")
|
|
4541
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4542
|
+
let d = reader.skip(wireType);
|
|
4543
|
+
if (u !== false)
|
|
4544
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4545
|
+
}
|
|
4546
|
+
}
|
|
4547
|
+
return message;
|
|
4548
|
+
}
|
|
4549
|
+
internalBinaryWrite(message, writer, options) {
|
|
4550
|
+
/* string executor_ref = 1; */
|
|
4551
|
+
if (message.executorRef !== "")
|
|
4552
|
+
writer.tag(1, WireType.LengthDelimited).string(message.executorRef);
|
|
4553
|
+
/* string target_ref = 2; */
|
|
4554
|
+
if (message.targetRef !== "")
|
|
4555
|
+
writer.tag(2, WireType.LengthDelimited).string(message.targetRef);
|
|
4556
|
+
/* string display_name = 3; */
|
|
4557
|
+
if (message.displayName !== "")
|
|
4558
|
+
writer.tag(3, WireType.LengthDelimited).string(message.displayName);
|
|
4559
|
+
/* string capability_contract = 4; */
|
|
4560
|
+
if (message.capabilityContract !== "")
|
|
4561
|
+
writer.tag(4, WireType.LengthDelimited).string(message.capabilityContract);
|
|
4562
|
+
/* nimi.runtime.v1.ExternalExecutorAdapterKind adapter_kind = 5; */
|
|
4563
|
+
if (message.adapterKind !== 0)
|
|
4564
|
+
writer.tag(5, WireType.Varint).int32(message.adapterKind);
|
|
4565
|
+
/* nimi.runtime.v1.ExternalExecutorLocality locality = 6; */
|
|
4566
|
+
if (message.locality !== 0)
|
|
4567
|
+
writer.tag(6, WireType.Varint).int32(message.locality);
|
|
4568
|
+
/* repeated string supported_features = 7; */
|
|
4569
|
+
for (let i = 0; i < message.supportedFeatures.length; i++)
|
|
4570
|
+
writer.tag(7, WireType.LengthDelimited).string(message.supportedFeatures[i]);
|
|
4571
|
+
/* nimi.runtime.v1.AIConfigEffectiveState state = 8; */
|
|
4572
|
+
if (message.state !== 0)
|
|
4573
|
+
writer.tag(8, WireType.Varint).int32(message.state);
|
|
4574
|
+
/* repeated string reasons = 9; */
|
|
4575
|
+
for (let i = 0; i < message.reasons.length; i++)
|
|
4576
|
+
writer.tag(9, WireType.LengthDelimited).string(message.reasons[i]);
|
|
4577
|
+
/* string content_sha256 = 10; */
|
|
4578
|
+
if (message.contentSha256 !== "")
|
|
4579
|
+
writer.tag(10, WireType.LengthDelimited).string(message.contentSha256);
|
|
4580
|
+
/* string model_name = 11; */
|
|
4581
|
+
if (message.modelName !== "")
|
|
4582
|
+
writer.tag(11, WireType.LengthDelimited).string(message.modelName);
|
|
4583
|
+
/* optional uint64 context_length = 12; */
|
|
4584
|
+
if (message.contextLength !== undefined)
|
|
4585
|
+
writer.tag(12, WireType.Varint).uint64(message.contextLength);
|
|
4586
|
+
/* optional uint32 embedding_dimensions = 13; */
|
|
4587
|
+
if (message.embeddingDimensions !== undefined)
|
|
4588
|
+
writer.tag(13, WireType.Varint).uint32(message.embeddingDimensions);
|
|
4589
|
+
/* repeated nimi.runtime.v1.TextBehaviorCapabilityProjection text_behaviors = 14; */
|
|
4590
|
+
for (let i = 0; i < message.textBehaviors.length; i++)
|
|
4591
|
+
TextBehaviorCapabilityProjection.internalBinaryWrite(message.textBehaviors[i], writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
4592
|
+
let u = options.writeUnknownFields;
|
|
4593
|
+
if (u !== false)
|
|
4594
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4595
|
+
return writer;
|
|
4596
|
+
}
|
|
4597
|
+
}
|
|
4598
|
+
/**
|
|
4599
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalTargetProjection
|
|
4600
|
+
*/
|
|
4601
|
+
export const AIConfigExternalTargetProjection = new AIConfigExternalTargetProjection$Type();
|
|
4602
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4603
|
+
class AIConfigExternalResourceProjection$Type extends MessageType {
|
|
4604
|
+
constructor() {
|
|
4605
|
+
super("nimi.runtime.v1.AIConfigExternalResourceProjection", [
|
|
4606
|
+
{ no: 1, name: "executor", kind: "message", T: () => AIConfigExternalExecutorProjection },
|
|
4607
|
+
{ no: 2, name: "target", kind: "message", T: () => AIConfigExternalTargetProjection }
|
|
4608
|
+
]);
|
|
4609
|
+
}
|
|
4610
|
+
create(value) {
|
|
4611
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4612
|
+
if (value !== undefined)
|
|
4613
|
+
reflectionMergePartial(this, message, value);
|
|
4614
|
+
return message;
|
|
4615
|
+
}
|
|
4616
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4617
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4618
|
+
while (reader.pos < end) {
|
|
4619
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4620
|
+
switch (fieldNo) {
|
|
4621
|
+
case /* nimi.runtime.v1.AIConfigExternalExecutorProjection executor */ 1:
|
|
4622
|
+
message.executor = AIConfigExternalExecutorProjection.internalBinaryRead(reader, reader.uint32(), options, message.executor);
|
|
4623
|
+
break;
|
|
4624
|
+
case /* nimi.runtime.v1.AIConfigExternalTargetProjection target */ 2:
|
|
4625
|
+
message.target = AIConfigExternalTargetProjection.internalBinaryRead(reader, reader.uint32(), options, message.target);
|
|
4626
|
+
break;
|
|
4627
|
+
default:
|
|
4628
|
+
let u = options.readUnknownField;
|
|
4629
|
+
if (u === "throw")
|
|
4630
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4631
|
+
let d = reader.skip(wireType);
|
|
4632
|
+
if (u !== false)
|
|
4633
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4634
|
+
}
|
|
4635
|
+
}
|
|
4636
|
+
return message;
|
|
4637
|
+
}
|
|
4638
|
+
internalBinaryWrite(message, writer, options) {
|
|
4639
|
+
/* nimi.runtime.v1.AIConfigExternalExecutorProjection executor = 1; */
|
|
4640
|
+
if (message.executor)
|
|
4641
|
+
AIConfigExternalExecutorProjection.internalBinaryWrite(message.executor, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4642
|
+
/* nimi.runtime.v1.AIConfigExternalTargetProjection target = 2; */
|
|
4643
|
+
if (message.target)
|
|
4644
|
+
AIConfigExternalTargetProjection.internalBinaryWrite(message.target, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4645
|
+
let u = options.writeUnknownFields;
|
|
4646
|
+
if (u !== false)
|
|
4647
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4648
|
+
return writer;
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
/**
|
|
4652
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalResourceProjection
|
|
4653
|
+
*/
|
|
4654
|
+
export const AIConfigExternalResourceProjection = new AIConfigExternalResourceProjection$Type();
|
|
4655
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4300
4656
|
class AIConfigEffectiveSelection$Type extends MessageType {
|
|
4301
4657
|
constructor() {
|
|
4302
4658
|
super("nimi.runtime.v1.AIConfigEffectiveSelection", [
|
|
@@ -4304,12 +4660,14 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
4304
4660
|
{ no: 2, name: "state", kind: "enum", T: () => ["nimi.runtime.v1.AIConfigEffectiveState", AIConfigEffectiveState] },
|
|
4305
4661
|
{ no: 3, name: "local", kind: "message", oneof: "resource", T: () => AIConfigLocalResourceProjection },
|
|
4306
4662
|
{ no: 5, name: "cloud", kind: "message", oneof: "resource", T: () => AIConfigCloudResourceProjection },
|
|
4663
|
+
{ no: 12, name: "external", kind: "message", oneof: "resource", T: () => AIConfigExternalResourceProjection },
|
|
4307
4664
|
{ no: 4, name: "reasons", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4308
4665
|
{ no: 6, name: "text_replay", kind: "message", T: () => TextReplayCompatibility },
|
|
4309
4666
|
{ no: 7, name: "reasoning_input", kind: "message", T: () => ReasoningInputCapabilities },
|
|
4310
4667
|
{ no: 8, name: "context_window_tokens", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/ },
|
|
4311
4668
|
{ no: 9, name: "request_capacity_floor_tokens", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/ },
|
|
4312
|
-
{ no: 10, name: "local_loadout_revision", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4669
|
+
{ no: 10, name: "local_loadout_revision", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
4670
|
+
{ no: 11, name: "structured_output", kind: "message", T: () => StructuredOutputCapabilityProjection }
|
|
4313
4671
|
]);
|
|
4314
4672
|
}
|
|
4315
4673
|
create(value) {
|
|
@@ -4345,6 +4703,12 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
4345
4703
|
cloud: AIConfigCloudResourceProjection.internalBinaryRead(reader, reader.uint32(), options, message.resource.cloud)
|
|
4346
4704
|
};
|
|
4347
4705
|
break;
|
|
4706
|
+
case /* nimi.runtime.v1.AIConfigExternalResourceProjection external */ 12:
|
|
4707
|
+
message.resource = {
|
|
4708
|
+
oneofKind: "external",
|
|
4709
|
+
external: AIConfigExternalResourceProjection.internalBinaryRead(reader, reader.uint32(), options, message.resource.external)
|
|
4710
|
+
};
|
|
4711
|
+
break;
|
|
4348
4712
|
case /* repeated string reasons */ 4:
|
|
4349
4713
|
message.reasons.push(reader.string());
|
|
4350
4714
|
break;
|
|
@@ -4363,6 +4727,9 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
4363
4727
|
case /* optional string local_loadout_revision */ 10:
|
|
4364
4728
|
message.localLoadoutRevision = reader.string();
|
|
4365
4729
|
break;
|
|
4730
|
+
case /* nimi.runtime.v1.StructuredOutputCapabilityProjection structured_output */ 11:
|
|
4731
|
+
message.structuredOutput = StructuredOutputCapabilityProjection.internalBinaryRead(reader, reader.uint32(), options, message.structuredOutput);
|
|
4732
|
+
break;
|
|
4366
4733
|
default:
|
|
4367
4734
|
let u = options.readUnknownField;
|
|
4368
4735
|
if (u === "throw")
|
|
@@ -4405,6 +4772,12 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
4405
4772
|
/* optional string local_loadout_revision = 10; */
|
|
4406
4773
|
if (message.localLoadoutRevision !== undefined)
|
|
4407
4774
|
writer.tag(10, WireType.LengthDelimited).string(message.localLoadoutRevision);
|
|
4775
|
+
/* nimi.runtime.v1.StructuredOutputCapabilityProjection structured_output = 11; */
|
|
4776
|
+
if (message.structuredOutput)
|
|
4777
|
+
StructuredOutputCapabilityProjection.internalBinaryWrite(message.structuredOutput, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
4778
|
+
/* nimi.runtime.v1.AIConfigExternalResourceProjection external = 12; */
|
|
4779
|
+
if (message.resource.oneofKind === "external")
|
|
4780
|
+
AIConfigExternalResourceProjection.internalBinaryWrite(message.resource.external, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
4408
4781
|
let u = options.writeUnknownFields;
|
|
4409
4782
|
if (u !== false)
|
|
4410
4783
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4416,6 +4789,77 @@ class AIConfigEffectiveSelection$Type extends MessageType {
|
|
|
4416
4789
|
*/
|
|
4417
4790
|
export const AIConfigEffectiveSelection = new AIConfigEffectiveSelection$Type();
|
|
4418
4791
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4792
|
+
class StructuredOutputCapabilityProjection$Type extends MessageType {
|
|
4793
|
+
constructor() {
|
|
4794
|
+
super("nimi.runtime.v1.StructuredOutputCapabilityProjection", [
|
|
4795
|
+
{ no: 1, name: "json_object_sync", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4796
|
+
{ no: 2, name: "json_object_stream", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4797
|
+
{ no: 3, name: "strict_json_schema_sync", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4798
|
+
{ no: 4, name: "strict_json_schema_stream", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
4799
|
+
]);
|
|
4800
|
+
}
|
|
4801
|
+
create(value) {
|
|
4802
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4803
|
+
message.jsonObjectSync = false;
|
|
4804
|
+
message.jsonObjectStream = false;
|
|
4805
|
+
message.strictJsonSchemaSync = false;
|
|
4806
|
+
message.strictJsonSchemaStream = false;
|
|
4807
|
+
if (value !== undefined)
|
|
4808
|
+
reflectionMergePartial(this, message, value);
|
|
4809
|
+
return message;
|
|
4810
|
+
}
|
|
4811
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4812
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4813
|
+
while (reader.pos < end) {
|
|
4814
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4815
|
+
switch (fieldNo) {
|
|
4816
|
+
case /* bool json_object_sync */ 1:
|
|
4817
|
+
message.jsonObjectSync = reader.bool();
|
|
4818
|
+
break;
|
|
4819
|
+
case /* bool json_object_stream */ 2:
|
|
4820
|
+
message.jsonObjectStream = reader.bool();
|
|
4821
|
+
break;
|
|
4822
|
+
case /* bool strict_json_schema_sync */ 3:
|
|
4823
|
+
message.strictJsonSchemaSync = reader.bool();
|
|
4824
|
+
break;
|
|
4825
|
+
case /* bool strict_json_schema_stream */ 4:
|
|
4826
|
+
message.strictJsonSchemaStream = reader.bool();
|
|
4827
|
+
break;
|
|
4828
|
+
default:
|
|
4829
|
+
let u = options.readUnknownField;
|
|
4830
|
+
if (u === "throw")
|
|
4831
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4832
|
+
let d = reader.skip(wireType);
|
|
4833
|
+
if (u !== false)
|
|
4834
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4835
|
+
}
|
|
4836
|
+
}
|
|
4837
|
+
return message;
|
|
4838
|
+
}
|
|
4839
|
+
internalBinaryWrite(message, writer, options) {
|
|
4840
|
+
/* bool json_object_sync = 1; */
|
|
4841
|
+
if (message.jsonObjectSync !== false)
|
|
4842
|
+
writer.tag(1, WireType.Varint).bool(message.jsonObjectSync);
|
|
4843
|
+
/* bool json_object_stream = 2; */
|
|
4844
|
+
if (message.jsonObjectStream !== false)
|
|
4845
|
+
writer.tag(2, WireType.Varint).bool(message.jsonObjectStream);
|
|
4846
|
+
/* bool strict_json_schema_sync = 3; */
|
|
4847
|
+
if (message.strictJsonSchemaSync !== false)
|
|
4848
|
+
writer.tag(3, WireType.Varint).bool(message.strictJsonSchemaSync);
|
|
4849
|
+
/* bool strict_json_schema_stream = 4; */
|
|
4850
|
+
if (message.strictJsonSchemaStream !== false)
|
|
4851
|
+
writer.tag(4, WireType.Varint).bool(message.strictJsonSchemaStream);
|
|
4852
|
+
let u = options.writeUnknownFields;
|
|
4853
|
+
if (u !== false)
|
|
4854
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4855
|
+
return writer;
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
/**
|
|
4859
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.StructuredOutputCapabilityProjection
|
|
4860
|
+
*/
|
|
4861
|
+
export const StructuredOutputCapabilityProjection = new StructuredOutputCapabilityProjection$Type();
|
|
4862
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4419
4863
|
class ReasoningInputCapabilities$Type extends MessageType {
|
|
4420
4864
|
constructor() {
|
|
4421
4865
|
super("nimi.runtime.v1.ReasoningInputCapabilities", [
|
|
@@ -4943,6 +5387,218 @@ class AIConfigCloudTargetOptions$Type extends MessageType {
|
|
|
4943
5387
|
*/
|
|
4944
5388
|
export const AIConfigCloudTargetOptions = new AIConfigCloudTargetOptions$Type();
|
|
4945
5389
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
5390
|
+
class AIConfigExternalExecutorOptionsQuery$Type extends MessageType {
|
|
5391
|
+
constructor() {
|
|
5392
|
+
super("nimi.runtime.v1.AIConfigExternalExecutorOptionsQuery", [
|
|
5393
|
+
{ no: 1, name: "capability_contract", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5394
|
+
{ no: 2, name: "search", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5395
|
+
]);
|
|
5396
|
+
}
|
|
5397
|
+
create(value) {
|
|
5398
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5399
|
+
message.capabilityContract = "";
|
|
5400
|
+
message.search = "";
|
|
5401
|
+
if (value !== undefined)
|
|
5402
|
+
reflectionMergePartial(this, message, value);
|
|
5403
|
+
return message;
|
|
5404
|
+
}
|
|
5405
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5406
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5407
|
+
while (reader.pos < end) {
|
|
5408
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5409
|
+
switch (fieldNo) {
|
|
5410
|
+
case /* string capability_contract */ 1:
|
|
5411
|
+
message.capabilityContract = reader.string();
|
|
5412
|
+
break;
|
|
5413
|
+
case /* string search */ 2:
|
|
5414
|
+
message.search = reader.string();
|
|
5415
|
+
break;
|
|
5416
|
+
default:
|
|
5417
|
+
let u = options.readUnknownField;
|
|
5418
|
+
if (u === "throw")
|
|
5419
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5420
|
+
let d = reader.skip(wireType);
|
|
5421
|
+
if (u !== false)
|
|
5422
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
return message;
|
|
5426
|
+
}
|
|
5427
|
+
internalBinaryWrite(message, writer, options) {
|
|
5428
|
+
/* string capability_contract = 1; */
|
|
5429
|
+
if (message.capabilityContract !== "")
|
|
5430
|
+
writer.tag(1, WireType.LengthDelimited).string(message.capabilityContract);
|
|
5431
|
+
/* string search = 2; */
|
|
5432
|
+
if (message.search !== "")
|
|
5433
|
+
writer.tag(2, WireType.LengthDelimited).string(message.search);
|
|
5434
|
+
let u = options.writeUnknownFields;
|
|
5435
|
+
if (u !== false)
|
|
5436
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5437
|
+
return writer;
|
|
5438
|
+
}
|
|
5439
|
+
}
|
|
5440
|
+
/**
|
|
5441
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalExecutorOptionsQuery
|
|
5442
|
+
*/
|
|
5443
|
+
export const AIConfigExternalExecutorOptionsQuery = new AIConfigExternalExecutorOptionsQuery$Type();
|
|
5444
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5445
|
+
class AIConfigExternalExecutorOptions$Type extends MessageType {
|
|
5446
|
+
constructor() {
|
|
5447
|
+
super("nimi.runtime.v1.AIConfigExternalExecutorOptions", [
|
|
5448
|
+
{ no: 1, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AIConfigExternalExecutorProjection }
|
|
5449
|
+
]);
|
|
5450
|
+
}
|
|
5451
|
+
create(value) {
|
|
5452
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5453
|
+
message.options = [];
|
|
5454
|
+
if (value !== undefined)
|
|
5455
|
+
reflectionMergePartial(this, message, value);
|
|
5456
|
+
return message;
|
|
5457
|
+
}
|
|
5458
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5459
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5460
|
+
while (reader.pos < end) {
|
|
5461
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5462
|
+
switch (fieldNo) {
|
|
5463
|
+
case /* repeated nimi.runtime.v1.AIConfigExternalExecutorProjection options */ 1:
|
|
5464
|
+
message.options.push(AIConfigExternalExecutorProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
5465
|
+
break;
|
|
5466
|
+
default:
|
|
5467
|
+
let u = options.readUnknownField;
|
|
5468
|
+
if (u === "throw")
|
|
5469
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5470
|
+
let d = reader.skip(wireType);
|
|
5471
|
+
if (u !== false)
|
|
5472
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5473
|
+
}
|
|
5474
|
+
}
|
|
5475
|
+
return message;
|
|
5476
|
+
}
|
|
5477
|
+
internalBinaryWrite(message, writer, options) {
|
|
5478
|
+
/* repeated nimi.runtime.v1.AIConfigExternalExecutorProjection options = 1; */
|
|
5479
|
+
for (let i = 0; i < message.options.length; i++)
|
|
5480
|
+
AIConfigExternalExecutorProjection.internalBinaryWrite(message.options[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
5481
|
+
let u = options.writeUnknownFields;
|
|
5482
|
+
if (u !== false)
|
|
5483
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5484
|
+
return writer;
|
|
5485
|
+
}
|
|
5486
|
+
}
|
|
5487
|
+
/**
|
|
5488
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalExecutorOptions
|
|
5489
|
+
*/
|
|
5490
|
+
export const AIConfigExternalExecutorOptions = new AIConfigExternalExecutorOptions$Type();
|
|
5491
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5492
|
+
class AIConfigExternalTargetOptionsQuery$Type extends MessageType {
|
|
5493
|
+
constructor() {
|
|
5494
|
+
super("nimi.runtime.v1.AIConfigExternalTargetOptionsQuery", [
|
|
5495
|
+
{ no: 1, name: "capability_contract", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5496
|
+
{ no: 2, name: "executor_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5497
|
+
{ no: 3, name: "search", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
5498
|
+
]);
|
|
5499
|
+
}
|
|
5500
|
+
create(value) {
|
|
5501
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5502
|
+
message.capabilityContract = "";
|
|
5503
|
+
message.executorRef = "";
|
|
5504
|
+
message.search = "";
|
|
5505
|
+
if (value !== undefined)
|
|
5506
|
+
reflectionMergePartial(this, message, value);
|
|
5507
|
+
return message;
|
|
5508
|
+
}
|
|
5509
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5510
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5511
|
+
while (reader.pos < end) {
|
|
5512
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5513
|
+
switch (fieldNo) {
|
|
5514
|
+
case /* string capability_contract */ 1:
|
|
5515
|
+
message.capabilityContract = reader.string();
|
|
5516
|
+
break;
|
|
5517
|
+
case /* string executor_ref */ 2:
|
|
5518
|
+
message.executorRef = reader.string();
|
|
5519
|
+
break;
|
|
5520
|
+
case /* string search */ 3:
|
|
5521
|
+
message.search = reader.string();
|
|
5522
|
+
break;
|
|
5523
|
+
default:
|
|
5524
|
+
let u = options.readUnknownField;
|
|
5525
|
+
if (u === "throw")
|
|
5526
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5527
|
+
let d = reader.skip(wireType);
|
|
5528
|
+
if (u !== false)
|
|
5529
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5530
|
+
}
|
|
5531
|
+
}
|
|
5532
|
+
return message;
|
|
5533
|
+
}
|
|
5534
|
+
internalBinaryWrite(message, writer, options) {
|
|
5535
|
+
/* string capability_contract = 1; */
|
|
5536
|
+
if (message.capabilityContract !== "")
|
|
5537
|
+
writer.tag(1, WireType.LengthDelimited).string(message.capabilityContract);
|
|
5538
|
+
/* string executor_ref = 2; */
|
|
5539
|
+
if (message.executorRef !== "")
|
|
5540
|
+
writer.tag(2, WireType.LengthDelimited).string(message.executorRef);
|
|
5541
|
+
/* string search = 3; */
|
|
5542
|
+
if (message.search !== "")
|
|
5543
|
+
writer.tag(3, WireType.LengthDelimited).string(message.search);
|
|
5544
|
+
let u = options.writeUnknownFields;
|
|
5545
|
+
if (u !== false)
|
|
5546
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5547
|
+
return writer;
|
|
5548
|
+
}
|
|
5549
|
+
}
|
|
5550
|
+
/**
|
|
5551
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalTargetOptionsQuery
|
|
5552
|
+
*/
|
|
5553
|
+
export const AIConfigExternalTargetOptionsQuery = new AIConfigExternalTargetOptionsQuery$Type();
|
|
5554
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
5555
|
+
class AIConfigExternalTargetOptions$Type extends MessageType {
|
|
5556
|
+
constructor() {
|
|
5557
|
+
super("nimi.runtime.v1.AIConfigExternalTargetOptions", [
|
|
5558
|
+
{ no: 1, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AIConfigExternalTargetProjection }
|
|
5559
|
+
]);
|
|
5560
|
+
}
|
|
5561
|
+
create(value) {
|
|
5562
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
5563
|
+
message.options = [];
|
|
5564
|
+
if (value !== undefined)
|
|
5565
|
+
reflectionMergePartial(this, message, value);
|
|
5566
|
+
return message;
|
|
5567
|
+
}
|
|
5568
|
+
internalBinaryRead(reader, length, options, target) {
|
|
5569
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
5570
|
+
while (reader.pos < end) {
|
|
5571
|
+
let [fieldNo, wireType] = reader.tag();
|
|
5572
|
+
switch (fieldNo) {
|
|
5573
|
+
case /* repeated nimi.runtime.v1.AIConfigExternalTargetProjection options */ 1:
|
|
5574
|
+
message.options.push(AIConfigExternalTargetProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
5575
|
+
break;
|
|
5576
|
+
default:
|
|
5577
|
+
let u = options.readUnknownField;
|
|
5578
|
+
if (u === "throw")
|
|
5579
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
5580
|
+
let d = reader.skip(wireType);
|
|
5581
|
+
if (u !== false)
|
|
5582
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5585
|
+
return message;
|
|
5586
|
+
}
|
|
5587
|
+
internalBinaryWrite(message, writer, options) {
|
|
5588
|
+
/* repeated nimi.runtime.v1.AIConfigExternalTargetProjection options = 1; */
|
|
5589
|
+
for (let i = 0; i < message.options.length; i++)
|
|
5590
|
+
AIConfigExternalTargetProjection.internalBinaryWrite(message.options[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
5591
|
+
let u = options.writeUnknownFields;
|
|
5592
|
+
if (u !== false)
|
|
5593
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
5594
|
+
return writer;
|
|
5595
|
+
}
|
|
5596
|
+
}
|
|
5597
|
+
/**
|
|
5598
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AIConfigExternalTargetOptions
|
|
5599
|
+
*/
|
|
5600
|
+
export const AIConfigExternalTargetOptions = new AIConfigExternalTargetOptions$Type();
|
|
5601
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4946
5602
|
class AppAIConfigPresetVoiceOptionsQuery$Type extends MessageType {
|
|
4947
5603
|
constructor() {
|
|
4948
5604
|
super("nimi.runtime.v1.AppAIConfigPresetVoiceOptionsQuery", []);
|
|
@@ -5098,6 +5754,8 @@ class ListAppAIConfigOptionsRequest$Type extends MessageType {
|
|
|
5098
5754
|
{ no: 2, name: "cloud_connectors", kind: "message", oneof: "query", T: () => AIConfigCloudConnectorOptionsQuery },
|
|
5099
5755
|
{ no: 3, name: "cloud_targets", kind: "message", oneof: "query", T: () => AIConfigCloudTargetOptionsQuery },
|
|
5100
5756
|
{ no: 5, name: "preset_voices", kind: "message", oneof: "query", T: () => AppAIConfigPresetVoiceOptionsQuery },
|
|
5757
|
+
{ no: 6, name: "external_executors", kind: "message", oneof: "query", T: () => AIConfigExternalExecutorOptionsQuery },
|
|
5758
|
+
{ no: 7, name: "external_targets", kind: "message", oneof: "query", T: () => AIConfigExternalTargetOptionsQuery },
|
|
5101
5759
|
{ no: 4, name: "owner", kind: "message", T: () => AIConfigOwner }
|
|
5102
5760
|
]);
|
|
5103
5761
|
}
|
|
@@ -5137,6 +5795,18 @@ class ListAppAIConfigOptionsRequest$Type extends MessageType {
|
|
|
5137
5795
|
presetVoices: AppAIConfigPresetVoiceOptionsQuery.internalBinaryRead(reader, reader.uint32(), options, message.query.presetVoices)
|
|
5138
5796
|
};
|
|
5139
5797
|
break;
|
|
5798
|
+
case /* nimi.runtime.v1.AIConfigExternalExecutorOptionsQuery external_executors */ 6:
|
|
5799
|
+
message.query = {
|
|
5800
|
+
oneofKind: "externalExecutors",
|
|
5801
|
+
externalExecutors: AIConfigExternalExecutorOptionsQuery.internalBinaryRead(reader, reader.uint32(), options, message.query.externalExecutors)
|
|
5802
|
+
};
|
|
5803
|
+
break;
|
|
5804
|
+
case /* nimi.runtime.v1.AIConfigExternalTargetOptionsQuery external_targets */ 7:
|
|
5805
|
+
message.query = {
|
|
5806
|
+
oneofKind: "externalTargets",
|
|
5807
|
+
externalTargets: AIConfigExternalTargetOptionsQuery.internalBinaryRead(reader, reader.uint32(), options, message.query.externalTargets)
|
|
5808
|
+
};
|
|
5809
|
+
break;
|
|
5140
5810
|
case /* nimi.runtime.v1.AIConfigOwner owner */ 4:
|
|
5141
5811
|
message.owner = AIConfigOwner.internalBinaryRead(reader, reader.uint32(), options, message.owner);
|
|
5142
5812
|
break;
|
|
@@ -5167,6 +5837,12 @@ class ListAppAIConfigOptionsRequest$Type extends MessageType {
|
|
|
5167
5837
|
/* nimi.runtime.v1.AppAIConfigPresetVoiceOptionsQuery preset_voices = 5; */
|
|
5168
5838
|
if (message.query.oneofKind === "presetVoices")
|
|
5169
5839
|
AppAIConfigPresetVoiceOptionsQuery.internalBinaryWrite(message.query.presetVoices, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
5840
|
+
/* nimi.runtime.v1.AIConfigExternalExecutorOptionsQuery external_executors = 6; */
|
|
5841
|
+
if (message.query.oneofKind === "externalExecutors")
|
|
5842
|
+
AIConfigExternalExecutorOptionsQuery.internalBinaryWrite(message.query.externalExecutors, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
5843
|
+
/* nimi.runtime.v1.AIConfigExternalTargetOptionsQuery external_targets = 7; */
|
|
5844
|
+
if (message.query.oneofKind === "externalTargets")
|
|
5845
|
+
AIConfigExternalTargetOptionsQuery.internalBinaryWrite(message.query.externalTargets, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
5170
5846
|
let u = options.writeUnknownFields;
|
|
5171
5847
|
if (u !== false)
|
|
5172
5848
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5185,6 +5861,8 @@ class ListAppAIConfigOptionsResponse$Type extends MessageType {
|
|
|
5185
5861
|
{ no: 3, name: "cloud_connectors", kind: "message", oneof: "result", T: () => AIConfigCloudConnectorOptions },
|
|
5186
5862
|
{ no: 4, name: "cloud_targets", kind: "message", oneof: "result", T: () => AIConfigCloudTargetOptions },
|
|
5187
5863
|
{ no: 5, name: "preset_voices", kind: "message", oneof: "result", T: () => AppAIConfigPresetVoiceOptions },
|
|
5864
|
+
{ no: 6, name: "external_executors", kind: "message", oneof: "result", T: () => AIConfigExternalExecutorOptions },
|
|
5865
|
+
{ no: 7, name: "external_targets", kind: "message", oneof: "result", T: () => AIConfigExternalTargetOptions },
|
|
5188
5866
|
{ no: 2, name: "truncated", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
5189
5867
|
]);
|
|
5190
5868
|
}
|
|
@@ -5225,6 +5903,18 @@ class ListAppAIConfigOptionsResponse$Type extends MessageType {
|
|
|
5225
5903
|
presetVoices: AppAIConfigPresetVoiceOptions.internalBinaryRead(reader, reader.uint32(), options, message.result.presetVoices)
|
|
5226
5904
|
};
|
|
5227
5905
|
break;
|
|
5906
|
+
case /* nimi.runtime.v1.AIConfigExternalExecutorOptions external_executors */ 6:
|
|
5907
|
+
message.result = {
|
|
5908
|
+
oneofKind: "externalExecutors",
|
|
5909
|
+
externalExecutors: AIConfigExternalExecutorOptions.internalBinaryRead(reader, reader.uint32(), options, message.result.externalExecutors)
|
|
5910
|
+
};
|
|
5911
|
+
break;
|
|
5912
|
+
case /* nimi.runtime.v1.AIConfigExternalTargetOptions external_targets */ 7:
|
|
5913
|
+
message.result = {
|
|
5914
|
+
oneofKind: "externalTargets",
|
|
5915
|
+
externalTargets: AIConfigExternalTargetOptions.internalBinaryRead(reader, reader.uint32(), options, message.result.externalTargets)
|
|
5916
|
+
};
|
|
5917
|
+
break;
|
|
5228
5918
|
case /* bool truncated */ 2:
|
|
5229
5919
|
message.truncated = reader.bool();
|
|
5230
5920
|
break;
|
|
@@ -5255,6 +5945,12 @@ class ListAppAIConfigOptionsResponse$Type extends MessageType {
|
|
|
5255
5945
|
/* nimi.runtime.v1.AppAIConfigPresetVoiceOptions preset_voices = 5; */
|
|
5256
5946
|
if (message.result.oneofKind === "presetVoices")
|
|
5257
5947
|
AppAIConfigPresetVoiceOptions.internalBinaryWrite(message.result.presetVoices, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
5948
|
+
/* nimi.runtime.v1.AIConfigExternalExecutorOptions external_executors = 6; */
|
|
5949
|
+
if (message.result.oneofKind === "externalExecutors")
|
|
5950
|
+
AIConfigExternalExecutorOptions.internalBinaryWrite(message.result.externalExecutors, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
5951
|
+
/* nimi.runtime.v1.AIConfigExternalTargetOptions external_targets = 7; */
|
|
5952
|
+
if (message.result.oneofKind === "externalTargets")
|
|
5953
|
+
AIConfigExternalTargetOptions.internalBinaryWrite(message.result.externalTargets, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
5258
5954
|
let u = options.writeUnknownFields;
|
|
5259
5955
|
if (u !== false)
|
|
5260
5956
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|