@nnepoch/dtc-sdk 3.0.2 → 3.0.3

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.
@@ -92,6 +92,10 @@ interface EngineConfig {
92
92
  initialSettings?: Record<string, unknown>;
93
93
  /** 日志级别,默认值为 info */
94
94
  logger?: EngineLogLevel;
95
+ /** 从指定级别开始附加业务调用栈,默认值为 warn;silent 表示关闭 */
96
+ includeStack?: EngineLogLevel;
97
+ /** Pixel Streaming 依赖日志级别,默认值为 warn */
98
+ pixelStreamingLogger?: EngineLogLevel;
95
99
  }
96
100
  interface ApiRequestEnvelope<T = unknown> {
97
101
  AssemblyName: string;
@@ -130,6 +134,8 @@ interface ResolvedEngineConfig {
130
134
  freeCheckInterval: number;
131
135
  initialSettings: Record<string, unknown>;
132
136
  logger: EngineLogLevel;
137
+ includeStack: EngineLogLevel;
138
+ pixelStreamingLogger: EngineLogLevel;
133
139
  centerHeartbeatIntervalMs: number;
134
140
  centerHeartbeatTimeoutMs: number;
135
141
  }
@@ -2309,6 +2315,104 @@ interface HeatMapConfigRequest {
2309
2315
  heightScale?: number;
2310
2316
  /** 颜色过渡比例,默认 2.5。 */
2311
2317
  lerpScale?: number;
2318
+ /**影响范围 */
2319
+ influenceSize?: number;
2320
+ }
2321
+ /**
2322
+ * Navigation.startMeshNav / getMeshNavDistance 参数。
2323
+ */
2324
+ interface NavigationMeshNavRequest {
2325
+ /** 对象组的父对象,可以为空。 */
2326
+ parentId?: string;
2327
+ /** 对象名称数组集合。 */
2328
+ id: string;
2329
+ /** 路径节点数组集合,与 `targetIds` 二选一。 */
2330
+ nodes?: Vector3Input[];
2331
+ /** 路径节点经过的目标对象名称数组集合,与 `nodes` 二选一;需保证场景中各编号对象唯一存在。 */
2332
+ targetIds?: string[];
2333
+ /** 物体移动的速度,默认 1。 */
2334
+ speed?: number;
2335
+ /** 是否作为导航缓存路径点,默认 `true`;`true` 表示将节点加入缓存路径,下次修改时前置节点仍会经过,`false` 表示按新路径导航。 */
2336
+ isCache?: boolean;
2337
+ /** 导航规划路径颜色。 */
2338
+ planColor?: string;
2339
+ /** 导航已走过的路径颜色。 */
2340
+ passColor?: string;
2341
+ /** 导航规划线的宽度,默认 1。 */
2342
+ lineWidth?: number;
2343
+ /** 是否自动播放,默认 `true`。 */
2344
+ isAutoPlay?: boolean;
2345
+ /** 场景的模型路径,可为空;为空时根据 id 到场景中寻找模型对象。 */
2346
+ assetPath?: string;
2347
+ /** 是否自动清除,默认 `true`。 */
2348
+ isAutoClear?: boolean;
2349
+ offSetZ?: number;
2350
+ }
2351
+ /**
2352
+ * Navigation.pauseMeshNav / resumeMeshNav / stopMeshNav / pauseNavPath / resumeNavPath / stopNavPath 参数。
2353
+ */
2354
+ interface NavigationNodeRequest {
2355
+ /** 对象组的父对象,可以为空。 */
2356
+ parentId?: string;
2357
+ /** 对象名称数组集合。 */
2358
+ id: string;
2359
+ }
2360
+ /**
2361
+ * Navigation.updateMeshNav 参数。
2362
+ */
2363
+ interface NavigationUpdateMeshNavRequest {
2364
+ /** 对象组的父对象,可以为空。 */
2365
+ parentId?: string;
2366
+ /** 对象名称数组集合。 */
2367
+ id: string;
2368
+ /** 物体移动的速度,默认 -1(不改变速度)。 */
2369
+ speed?: number;
2370
+ /** 导航规划路径颜色。 */
2371
+ planColor?: string;
2372
+ /** 导航已走过的路径颜色。 */
2373
+ passColor?: string;
2374
+ }
2375
+ interface NavigationUpdateSpeedRequest {
2376
+ /** 对象组的父对象,可以为空。 */
2377
+ parentId?: string;
2378
+ /** 对象名称数组集合。 */
2379
+ id: string;
2380
+ /** 物体移动的速度,默认 -1(不改变速度)。 */
2381
+ speed?: number;
2382
+ }
2383
+ /**
2384
+ * Navigation.startNavByPath 参数。
2385
+ */
2386
+ interface NavigationNavByPathRequest {
2387
+ /** 对象组的父对象,可以为空。 */
2388
+ parentId?: string;
2389
+ /** 对象名称数组集合。 */
2390
+ id: string[];
2391
+ /** 路径节点数组集合。 */
2392
+ nodes: Vector3Input[];
2393
+ /** 是否作为导航缓存路径点,默认 `true`。 */
2394
+ isCache?: boolean;
2395
+ /** 导航轨迹总时间(秒),默认 10。 */
2396
+ duration?: number;
2397
+ /** 导航规划路径颜色。 */
2398
+ planColor?: string;
2399
+ /** 导航已走过的路径颜色。 */
2400
+ passColor?: string;
2401
+ }
2402
+ /**
2403
+ * Navigation.updateNavPath 参数。
2404
+ */
2405
+ interface NavigationUpdateNavPathRequest {
2406
+ /** 对象组的父对象,可以为空。 */
2407
+ parentId?: string;
2408
+ /** 对象名称数组集合。 */
2409
+ id: string[];
2410
+ /** 导航轨迹总时间(秒),默认 -1(不改变时长)。 */
2411
+ duration?: number;
2412
+ /** 导航规划路径颜色。 */
2413
+ planColor?: string;
2414
+ /** 导航已走过的路径颜色。 */
2415
+ passColor?: string;
2312
2416
  }
2313
2417
  //#endregion
2314
2418
  //#region src/types/response.d.ts
@@ -4029,6 +4133,258 @@ declare class ModelTransform extends BaseApi {
4029
4133
  restoreScale(payload: ModelTransformRestoreRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4030
4134
  }
4031
4135
  //#endregion
4136
+ //#region src/api/Navigation.d.ts
4137
+ /**
4138
+ * 场景对象导航 API,支持两种导航模式:
4139
+ * 1. 在导航网格上寻路,产生导航路径;
4140
+ * 2. 根据设置好的路径节点,进行直线导航。
4141
+ * @agentTitle 对象导航
4142
+ * @agentCapabilities 网格导航寻路, 导航距离查询, 网格导航暂停, 网格导航继续, 网格导航停止, 网格导航属性修改, 路径导航开始, 路径导航暂停, 路径导航继续, 路径导航停止, 路径导航属性修改
4143
+ * @hideconstructor
4144
+ */
4145
+ declare class Navigation extends BaseApi {
4146
+ constructor(bridge: ApiBridge, runtimeOptions?: BaseApiRuntimeOptions);
4147
+ /**
4148
+ * 网格导航寻路:模型对象根据路过的节点进行导航。
4149
+ * `nodes` 与 `targetIds` 两者必须有一个不为空。
4150
+ * 默认值:`isCache=true`、`speed=1`、`frontWidth=1`、`backWidth=1`、`isAutoPlay=true`。
4151
+ * @param payload - 导航参数。
4152
+ * @param callback - 可选回调函数。
4153
+ * @returns Promise 形式的接口响应。
4154
+ * @agentSideEffects write
4155
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4156
+ * @agentRiskLevel low
4157
+ * @agentExample { parentId: 'Players', id: 'Player1' nodes: [{ x: 114.7985155712282, y: 34.842421780635625, z: 2 }, { x: 114.79789723105696, y: 34.84218433379876, z: 1.5 }], isCache: false, planColor: '#00ff00', passColor: '#e1e1e1' }
4158
+ * @example
4159
+ * ```ts
4160
+ dtcEngine.Navigation.startNav({
4161
+ parentId: 'Players',
4162
+ id: 'Player1',
4163
+ nodes: [
4164
+ new dtcEngine.Type.Vector3(114.7985155712282, 34.842421780635625, 2),
4165
+ new dtcEngine.Type.Vector3(114.79789723105696, 34.84218433379876, 1.5),
4166
+ new dtcEngine.Type.Vector3(114.79790138598447, 34.842529820659664, 2),
4167
+ new dtcEngine.Type.Vector3(114.79799880513536, 34.84259530893161, 1.5),
4168
+ new dtcEngine.Type.Vector3(114.79814201498125, 34.842669768891525, 2),
4169
+ new dtcEngine.Type.Vector3(114.79808229900121, 34.842686310921465, 2)
4170
+ ],
4171
+ isCache: false,
4172
+ planColor: '#00ff00',
4173
+ passColor: '#e1e1e1',
4174
+ offSetZ: 0.5,
4175
+ }, (result) => { console.log(result); });
4176
+ * ```
4177
+ */
4178
+ startNav(payload: NavigationMeshNavRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4179
+ /**
4180
+ * 网格导航距离查询:模型对象根据路过的节点进行导航,并返回导航距离信息。
4181
+ * `nodes` 与 `targetIds` 两者必须有一个不为空。
4182
+ * 默认值:`isCache=false`、`speed=1`、`frontWidth=1`、`backWidth=1`、`isAutoPlay=false`。
4183
+ * @param payload - 导航参数。
4184
+ * @param callback - 可选回调函数。
4185
+ * @returns Promise 形式的接口响应。
4186
+ * @agentSideEffects write
4187
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4188
+ * @agentRiskLevel low
4189
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'], nodes: [{ x: 114.7985155712282, y: 34.842421780635625, z: 2 }, { x: 114.79789723105696, y: 34.84218433379876, z: 1.5 }], isCache: false, planColor: '#00ff00', passColor: '#e1e1e1' }
4190
+ * @example
4191
+ * ```ts
4192
+ * dtcEngine.Navigation.getMeshNavDistance({
4193
+ * parentId: 'Players',
4194
+ * id: ['Player1', 'MyRobut'],
4195
+ * nodes: [
4196
+ * new dtcEngine.Type.Vector3(114.7985155712282, 34.842421780635625, 2),
4197
+ * new dtcEngine.Type.Vector3(114.79789723105696, 34.84218433379876, 1.5)
4198
+ * ],
4199
+ * isCache: false,
4200
+ * planColor: '#00ff00',
4201
+ * passColor: '#e1e1e1'
4202
+ * }, (result) => { console.log(result); });
4203
+ * ```
4204
+ */
4205
+ getMeshNavDistance(payload: NavigationMeshNavRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4206
+ /**
4207
+ * 暂停模型对象网格导航。
4208
+ * @param payload - 导航对象参数。
4209
+ * @param callback - 可选回调函数。
4210
+ * @returns Promise 形式的接口响应。
4211
+ * @agentSideEffects write
4212
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4213
+ * @agentRiskLevel low
4214
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'] }
4215
+ * @example
4216
+ * ```ts
4217
+ * dtcEngine.Navigation.pauseNav({ parentId: 'Players', id: 'Player1' }, (result) => { console.log(result); });
4218
+ * ```
4219
+ */
4220
+ pauseNav(payload: NavigationNodeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4221
+ /**
4222
+ * 继续模型对象网格导航。
4223
+ * @param payload - 导航对象参数。
4224
+ * @param callback - 可选回调函数。
4225
+ * @returns Promise 形式的接口响应。
4226
+ * @agentSideEffects write
4227
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4228
+ * @agentRiskLevel low
4229
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'] }
4230
+ * @example
4231
+ * ```ts
4232
+ * dtcEngine.Navigation.resumeNav({ parentId: 'Players', id: ['Player1', 'MyRobut'] }, (result) => { console.log(result); });
4233
+ * ```
4234
+ */
4235
+ resumeNav(payload: NavigationNodeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4236
+ /**
4237
+ * 停止模型对象网格导航。
4238
+ * @param payload - 导航对象参数。
4239
+ * @param callback - 可选回调函数。
4240
+ * @returns Promise 形式的接口响应。
4241
+ * @agentSideEffects write
4242
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4243
+ * @agentRiskLevel low
4244
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'] }
4245
+ * @example
4246
+ * ```ts
4247
+ * dtcEngine.Navigation.stopNav({ parentId: 'Players', id: ['Player1'] }, (result) => { console.log(result); });
4248
+ * ```
4249
+ */
4250
+ stopNav(payload: NavigationNodeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4251
+ /**
4252
+ * 设置网格导航路径属性。
4253
+ * 默认值:`speed=-1`(不改变速度)。
4254
+ * @param payload - 导航属性参数。
4255
+ * @param callback - 可选回调函数。
4256
+ * @returns Promise 形式的接口响应。
4257
+ * @agentSideEffects write
4258
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4259
+ * @agentRiskLevel low
4260
+ * @agentExample { parentId: 'Players', id: 'Player1', planColor: '#00ff00', passColor: '#e1e1e1', speed: 4 }
4261
+ * @example
4262
+ * ```ts
4263
+ * dtcEngine.Navigation.updateNav({
4264
+ * parentId: 'Players',
4265
+ * id: 'Player1',
4266
+ * planColor: '#00ff00',
4267
+ * passColor: '#e1e1e1',
4268
+ * speed: 4
4269
+ * }, (result) => { console.log(result); });
4270
+ * ```
4271
+ */
4272
+ updateNav(payload: NavigationUpdateMeshNavRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4273
+ /**
4274
+ * 设置网格导航路径属性。
4275
+ * 默认值:`speed=-1`(不改变速度)。
4276
+ * @param payload - 导航属性参数。
4277
+ * @param callback - 可选回调函数。
4278
+ * @returns Promise 形式的接口响应。
4279
+ * @agentSideEffects write
4280
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4281
+ * @agentRiskLevel low
4282
+ * @agentExample { parentId: 'Players', id: 'Player1', speed: 4 }
4283
+ * @example
4284
+ * ```ts
4285
+ dtcEngine.Navigation.updateSpeed({
4286
+ parentId: 'Players',
4287
+ id: 'Player1',
4288
+ speed: 4
4289
+ }, (result) => { console.log(result); });
4290
+ * ```
4291
+ */
4292
+ updateSpeed(payload: NavigationUpdateSpeedRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4293
+ /**
4294
+ * 路径导航开始:根据指定的轨迹节点进行直线导航行走。
4295
+ * 默认值:`isCache=true`、`duration=10`。
4296
+ * @param payload - 路径导航参数。
4297
+ * @param callback - 可选回调函数。
4298
+ * @returns Promise 形式的接口响应。
4299
+ * @agentSideEffects write
4300
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4301
+ * @agentRiskLevel low
4302
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'], nodes: [{ x: 114.7985155712282, y: 34.842421780635625, z: 2 }, { x: 114.79789723105696, y: 34.84218433379876, z: 1.5 }], isCache: false, duration: 10 }
4303
+ * @example
4304
+ * ```ts
4305
+ * dtcEngine.Navigation.startNavByPath({
4306
+ * parentId: 'Players',
4307
+ * id: ['Player1', 'MyRobut'],
4308
+ * nodes: [
4309
+ * new dtcEngine.Type.Vector3(114.7985155712282, 34.842421780635625, 2),
4310
+ * new dtcEngine.Type.Vector3(114.79789723105696, 34.84218433379876, 1.5),
4311
+ * new dtcEngine.Type.Vector3(114.79790138598447, 34.842529820659664, 2)
4312
+ * ],
4313
+ * isCache: false,
4314
+ * duration: 10
4315
+ * }, (result) => { console.log(result); });
4316
+ * ```
4317
+ */
4318
+ startNavByPath(payload: NavigationNavByPathRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4319
+ /**
4320
+ * 暂停模型对象路径导航。
4321
+ * @param payload - 导航对象参数。
4322
+ * @param callback - 可选回调函数。
4323
+ * @returns Promise 形式的接口响应。
4324
+ * @agentSideEffects write
4325
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4326
+ * @agentRiskLevel low
4327
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'] }
4328
+ * @example
4329
+ * ```ts
4330
+ * dtcEngine.Navigation.pauseNavPath({ parentId: 'Players', id: ['Player1', 'MyRobut'] }, (result) => { console.log(result); });
4331
+ * ```
4332
+ */
4333
+ pauseNavPath(payload: NavigationNodeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4334
+ /**
4335
+ * 继续模型对象路径导航。
4336
+ * @param payload - 导航对象参数。
4337
+ * @param callback - 可选回调函数。
4338
+ * @returns Promise 形式的接口响应。
4339
+ * @agentSideEffects write
4340
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4341
+ * @agentRiskLevel low
4342
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'] }
4343
+ * @example
4344
+ * ```ts
4345
+ * dtcEngine.Navigation.resumeNavPath({ parentId: 'Players', id: ['Player1', 'MyRobut'] }, (result) => { console.log(result); });
4346
+ * ```
4347
+ */
4348
+ resumeNavPath(payload: NavigationNodeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4349
+ /**
4350
+ * 停止模型对象路径导航。
4351
+ * @param payload - 导航对象参数。
4352
+ * @param callback - 可选回调函数。
4353
+ * @returns Promise 形式的接口响应。
4354
+ * @agentSideEffects write
4355
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4356
+ * @agentRiskLevel low
4357
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'] }
4358
+ * @example
4359
+ * ```ts
4360
+ * dtcEngine.Navigation.stopNavPath({ parentId: 'Players', id: ['Player1'] }, (result) => { console.log(result); });
4361
+ * ```
4362
+ */
4363
+ stopNavPath(payload: NavigationNodeRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4364
+ /**
4365
+ * 设置路径导航属性。
4366
+ * 默认值:`duration=-1`(不改变时长)。
4367
+ * @param payload - 路径导航属性参数。
4368
+ * @param callback - 可选回调函数。
4369
+ * @returns Promise 形式的接口响应。
4370
+ * @agentSideEffects write
4371
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4372
+ * @agentRiskLevel low
4373
+ * @agentExample { parentId: 'Players', id: ['Player1', 'MyRobut'], planColor: '#00ff00', passColor: '#e1e1e1', duration: 5 }
4374
+ * @example
4375
+ * ```ts
4376
+ * dtcEngine.Navigation.updateNavPath({
4377
+ * parentId: 'Players',
4378
+ * id: ['Player1', 'MyRobut'],
4379
+ * planColor: '#00ff00',
4380
+ * passColor: '#e1e1e1',
4381
+ * duration: 5
4382
+ * }, (result) => { console.log(result); });
4383
+ * ```
4384
+ */
4385
+ updateNavPath(payload: NavigationUpdateNavPathRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4386
+ }
4387
+ //#endregion
4032
4388
  //#region src/api/PathPatrol.d.ts
4033
4389
  /**
4034
4390
  * 路径巡逻 API,支持巡逻路线添加、样式修改、时间节点设置与巡逻控制。
@@ -4047,6 +4403,7 @@ declare class PathPatrol extends BaseApi {
4047
4403
  * @agentSideEffects write
4048
4404
  * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4049
4405
  * @agentRiskLevel low
4406
+ * @agentResponseMode stream
4050
4407
  * @agentExample { parentId: 'patrolLayer', id: 'patrolMan', assetPath: 'PatrolMan', scale: { x: 2, y: 2, z: 2 }, showPath: true, passedColor: '#ff0013', lineColor: '#0040ef', lineWidth: 2, nodes: [{ x: 114.79234244388735, y: 34.8353249473732, z: 67.76611328125 }, { x: 114.78552975378634, y: 34.84532722646887, z: 67.76627349853516 }], duration: 10 }
4051
4408
  * @example
4052
4409
  * ```ts
@@ -4264,24 +4621,24 @@ declare class HeatMap extends BaseApi {
4264
4621
  */
4265
4622
  clear(callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4266
4623
  /**
4267
- * 设置热力图参数(透明度/高度缩放/颜色过渡)。
4268
- * `id` 非空时作用于该 id 的热力图,否则作用于最近创建的热力图。
4269
- * 默认值:`opacity=0.7`、`heightScale=2500`、`lerpScale=2.5`。
4270
- * @param payload - 热力图参数。
4271
- * @param callback - 可选回调函数。
4272
- * @returns Promise 形式的接口响应。
4273
- * @agentSideEffects write
4274
- * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4275
- * @agentRiskLevel low
4276
- * @agentExample { id: 'heatMap1', opacity: 0.5, heightScale: 3000, lerpScale: 3 }
4277
- * @example
4278
- * ```ts
4279
- * dtcEngine.HeatMap.setConfig(
4280
- * { id: 'heatMap1', opacity: 0.5, heightScale: 3000, lerpScale: 3 },
4281
- * (result) => { console.log(result); }
4282
- * );
4283
- * ```
4284
- */
4624
+ * 设置热力图参数(透明度/高度缩放/颜色过渡)。
4625
+ * `id` 非空时作用于该 id 的热力图,否则作用于最近创建的热力图。
4626
+ * 默认值:`opacity=0.7`、`heightScale=2500`、`lerpScale=2.5`。
4627
+ * @param payload - 热力图参数。
4628
+ * @param callback - 可选回调函数。
4629
+ * @returns Promise 形式的接口响应。
4630
+ * @agentSideEffects write
4631
+ * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4632
+ * @agentRiskLevel low
4633
+ * @agentExample { id: 'heatMap1', opacity: 0.5, heightScale: 3000, lerpScale: 3 }
4634
+ * @example
4635
+ * ```ts
4636
+ dtcEngine.HeatMap.setConfig(
4637
+ { id: 'heatMap1', opacity: 0.5, heightScale: 3000, lerpScale: 3 },
4638
+ (result) => { console.log(result); }
4639
+ );
4640
+ * ```
4641
+ */
4285
4642
  setConfig(payload: HeatMapConfigRequest, callback?: ApiCallback<ApiResponseEnvelope<unknown>>): Promise<ApiResponseEnvelope<unknown>>;
4286
4643
  }
4287
4644
  //#endregion
@@ -4645,6 +5002,7 @@ declare class TimeLine extends BaseApi {
4645
5002
  * @agentSideEffects write
4646
5003
  * @agentPreconditions DTCEngine 已完成鉴权并建立 WebRTC 连接
4647
5004
  * @agentRiskLevel low
5005
+ * @agentResponseMode stream
4648
5006
  * @agentExample { id: 'Path1', speed: 2 }
4649
5007
  * @example
4650
5008
  * ```ts
@@ -5132,6 +5490,7 @@ interface ApiInstanceMap {
5132
5490
  UIPOI: UIPOI;
5133
5491
  ModelPOI: ModelPOI;
5134
5492
  ModelTransform: ModelTransform;
5493
+ Navigation: Navigation;
5135
5494
  PathPatrol: PathPatrol;
5136
5495
  HeatMap: HeatMap;
5137
5496
  HighlighterEffect: HighLighterEffect;
@@ -5200,11 +5559,11 @@ interface AgentBridgeReconnectOptions {
5200
5559
  interface DTCEngineAgentBridgeOptions {
5201
5560
  /** MCP bridge server 地址;缺省连接本机默认 MCP bridge server。 */
5202
5561
  serverUrl?: string;
5203
- /** 可选的页面运行时名称。 */
5562
+ /** 可选诊断名称,缺省自动使用 EngineConfig.sceneName;项目 Skill 不使用它路由。 */
5204
5563
  runtimeName?: string;
5205
5564
  /** 是否启用 bridge;只有 `true` 会创建连接。 */
5206
5565
  enabled?: boolean;
5207
- /** API 暴露范围,缺省为 `all`。 */
5566
+ /** 高级安全配置;API 暴露范围缺省为 `all`,普通项目接入无需传入。 */
5208
5567
  expose?: AgentBridgeExposeConfig;
5209
5568
  /** 心跳间隔,缺省 5000ms。 */
5210
5569
  heartbeatIntervalMs?: number;
@@ -5212,7 +5571,7 @@ interface DTCEngineAgentBridgeOptions {
5212
5571
  reconnect?: boolean | AgentBridgeReconnectOptions;
5213
5572
  /** 仅用于测试/联调:校验通过后不调用真实 UE API,直接返回 mock 成功。 */
5214
5573
  mockInvoke?: boolean;
5215
- /** 预留的业务元数据。 */
5574
+ /** 兼容性扩展字段;项目 Skill 不依赖该字段路由。 */
5216
5575
  metadata?: Record<string, string>;
5217
5576
  }
5218
5577
  interface AgentBridgeRuntimeEngineSnapshot {
@@ -5240,6 +5599,8 @@ interface AgentBridgeRuntimeSnapshot {
5240
5599
  }
5241
5600
  /** API 方法副作用描述,用于帮助 Agent 判断调用风险。 */
5242
5601
  type AgentBridgeMethodSideEffect = 'read' | 'write' | 'connection' | 'stream';
5602
+ /** API 的响应模式;与副作用风险是两个独立维度。 */
5603
+ type AgentBridgeMethodResponseMode = 'single' | 'stream';
5243
5604
  /**
5244
5605
  * 模块目录项。
5245
5606
  */
@@ -5259,6 +5620,7 @@ interface AgentBridgeMethodCatalogItem {
5259
5620
  description: string;
5260
5621
  sideEffects: AgentBridgeMethodSideEffect[];
5261
5622
  preconditions: string[];
5623
+ responseMode: AgentBridgeMethodResponseMode;
5262
5624
  }
5263
5625
  /** schema 字段类型。 */
5264
5626
  type AgentBridgeSchemaFieldType = 'string' | 'number' | 'boolean' | 'object' | 'array' | 'enum' | 'unknown';
@@ -5288,9 +5650,10 @@ interface AgentBridgeMethodSchemaMetadata {
5288
5650
  payloadKind: 'none' | 'object';
5289
5651
  fields: AgentBridgeSchemaField[];
5290
5652
  examples: unknown[];
5653
+ responseMode: AgentBridgeMethodResponseMode;
5291
5654
  }
5292
5655
  /** bridge 统一错误码。 */
5293
- type AgentBridgeErrorCode = 'API_NOT_FOUND' | 'API_NOT_EXPOSED' | 'METHOD_SCHEMA_NOT_FOUND' | 'SDK_NOT_READY' | 'INVALID_PAYLOAD' | 'API_EXECUTION_FAILED' | 'PROTOCOL_ERROR' | 'BRIDGE_NOT_CONNECTED';
5656
+ type AgentBridgeErrorCode = 'API_NOT_FOUND' | 'API_NOT_EXPOSED' | 'METHOD_SCHEMA_NOT_FOUND' | 'SDK_NOT_READY' | 'INVALID_PAYLOAD' | 'API_EXECUTION_FAILED' | 'API_NOT_STREAMING' | 'STREAM_INVOKE_REQUIRED' | 'PROTOCOL_ERROR' | 'BRIDGE_NOT_CONNECTED';
5294
5657
  /**
5295
5658
  * bridge 结构化错误。
5296
5659
  */
@@ -5321,6 +5684,42 @@ interface AgentBridgeInvokeRequest {
5321
5684
  methodName: string;
5322
5685
  payload?: unknown;
5323
5686
  }
5687
+ /** 启动流式 API 请求。streamId 由 MCP server 创建,用于跨进程关联事件。 */
5688
+ interface AgentBridgeStreamStartRequest extends AgentBridgeInvokeRequest {
5689
+ streamId: string;
5690
+ }
5691
+ /** 主动关闭浏览器侧流监听;这只取消本地回调,不等价于停止 UE 业务。 */
5692
+ interface AgentBridgeStreamCloseRequest {
5693
+ streamId: string;
5694
+ reason?: string;
5695
+ }
5696
+ type AgentBridgeStreamTerminalReason = 'completed' | 'finished' | 'stopped' | 'cancelled' | 'error' | 'bridge-disconnected';
5697
+ interface AgentBridgeStreamEventPayload {
5698
+ streamId: string;
5699
+ requestId: string;
5700
+ moduleName: string;
5701
+ methodName: string;
5702
+ event: {
5703
+ type: StreamRequestEventType;
5704
+ requestId: string;
5705
+ response?: unknown;
5706
+ error?: {
5707
+ name: string;
5708
+ message: string;
5709
+ };
5710
+ };
5711
+ terminal: boolean;
5712
+ terminalReason?: AgentBridgeStreamTerminalReason;
5713
+ }
5714
+ interface AgentBridgeStreamStartResult {
5715
+ streamId: string;
5716
+ requestId: string;
5717
+ }
5718
+ interface AgentBridgeStreamCloseResult {
5719
+ streamId: string;
5720
+ closed: boolean;
5721
+ }
5722
+ type AgentBridgeStreamEventListener = (payload: AgentBridgeStreamEventPayload) => void;
5324
5723
  /**
5325
5724
  * 面向 WebSocket bridge 的运行时适配接口。
5326
5725
  */
@@ -5331,6 +5730,15 @@ interface AgentBridgeRuntimeAdapter {
5331
5730
  listMethods(moduleName: string): AgentBridgeOperationResult<AgentBridgeMethodCatalogItem[]>;
5332
5731
  getMethodSchema(moduleName: string, methodName: string): AgentBridgeOperationResult<AgentBridgeMethodSchemaMetadata>;
5333
5732
  invoke(request: AgentBridgeInvokeRequest): Promise<AgentBridgeOperationResult<unknown>>;
5733
+ startStream(request: AgentBridgeStreamStartRequest, onEvent: AgentBridgeStreamEventListener): Promise<AgentBridgeOperationResult<AgentBridgeStreamStartResult>>;
5734
+ closeStream(request: AgentBridgeStreamCloseRequest): Promise<AgentBridgeOperationResult<AgentBridgeStreamCloseResult>>;
5735
+ closeAllStreams?(reason?: string): void;
5736
+ }
5737
+ /** createBridgeRuntime 内部保存的浏览器流句柄。 */
5738
+ interface AgentBridgeActiveStream {
5739
+ request: AgentBridgeStreamStartRequest;
5740
+ promise: StreamRequestPromise<unknown>;
5741
+ onEvent: AgentBridgeStreamEventListener;
5334
5742
  }
5335
5743
  //#endregion
5336
5744
  //#region src/agentBridge/protocol.d.ts
@@ -5339,7 +5747,7 @@ declare const AGENT_BRIDGE_PROTOCOL_VERSION = "sdk3-agent-bridge/v1";
5339
5747
  /**
5340
5748
  * 浏览器侧 bridge 与 MCP 服务端之间的协议消息类型。
5341
5749
  */
5342
- type AgentBridgeMessageType = 'register' | 'unregister' | 'heartbeat' | 'catalog' | 'schema' | 'invoke' | 'result';
5750
+ type AgentBridgeMessageType = 'register' | 'unregister' | 'heartbeat' | 'catalog' | 'schema' | 'invoke' | 'stream-start' | 'stream-close' | 'stream-event' | 'result';
5343
5751
  /**
5344
5752
  * 所有协议消息的基础信封。
5345
5753
  */
@@ -5358,6 +5766,7 @@ interface AgentBridgeRegisterPayload extends AgentBridgeRuntimeSnapshot {
5358
5766
  catalog: true;
5359
5767
  schema: true;
5360
5768
  invoke: true;
5769
+ stream: true;
5361
5770
  };
5362
5771
  }
5363
5772
  /** 关闭消息携带的原因。 */
@@ -5381,13 +5790,16 @@ interface AgentBridgeSchemaRequestPayload {
5381
5790
  }
5382
5791
  /** invoke 请求。 */
5383
5792
  type AgentBridgeInvokeRequestPayload = AgentBridgeInvokeRequest;
5793
+ /** 流式 invoke 与关闭请求。 */
5794
+ type AgentBridgeStreamStartRequestPayload = AgentBridgeStreamStartRequest;
5795
+ type AgentBridgeStreamCloseRequestPayload = AgentBridgeStreamCloseRequest;
5384
5796
  /** result 消息。 */
5385
5797
  interface AgentBridgeResultPayload<TData = unknown> {
5386
- requestType: 'catalog' | 'schema' | 'invoke';
5798
+ requestType: 'catalog' | 'schema' | 'invoke' | 'stream-start' | 'stream-close';
5387
5799
  result: AgentBridgeOperationResult<TData>;
5388
5800
  }
5389
- type AgentBridgeInboundMessage = AgentBridgeMessageEnvelope<AgentBridgeCatalogRequestPayload> | AgentBridgeMessageEnvelope<AgentBridgeSchemaRequestPayload> | AgentBridgeMessageEnvelope<AgentBridgeInvokeRequestPayload>;
5390
- type AgentBridgeOutboundMessage = AgentBridgeMessageEnvelope<AgentBridgeRegisterPayload> | AgentBridgeMessageEnvelope<AgentBridgeUnregisterPayload> | AgentBridgeMessageEnvelope<AgentBridgeHeartbeatPayload> | AgentBridgeMessageEnvelope<AgentBridgeResultPayload>;
5801
+ type AgentBridgeInboundMessage = AgentBridgeMessageEnvelope<AgentBridgeCatalogRequestPayload> | AgentBridgeMessageEnvelope<AgentBridgeSchemaRequestPayload> | AgentBridgeMessageEnvelope<AgentBridgeInvokeRequestPayload> | AgentBridgeMessageEnvelope<AgentBridgeStreamStartRequestPayload> | AgentBridgeMessageEnvelope<AgentBridgeStreamCloseRequestPayload>;
5802
+ type AgentBridgeOutboundMessage = AgentBridgeMessageEnvelope<AgentBridgeRegisterPayload> | AgentBridgeMessageEnvelope<AgentBridgeUnregisterPayload> | AgentBridgeMessageEnvelope<AgentBridgeHeartbeatPayload> | AgentBridgeMessageEnvelope<AgentBridgeStreamEventPayload> | AgentBridgeMessageEnvelope<AgentBridgeResultPayload>;
5391
5803
  //#endregion
5392
5804
  //#region src/agentBridge/AgentRuntimeBridge.d.ts
5393
5805
  interface AgentBridgeSocket {
@@ -5438,6 +5850,7 @@ declare class AgentRuntimeBridge {
5438
5850
  private startHeartbeat;
5439
5851
  private clearHeartbeat;
5440
5852
  private handleMessage;
5853
+ private sendStreamEvent;
5441
5854
  private sendResult;
5442
5855
  private send;
5443
5856
  private clearSocketHandlers;
@@ -5872,4 +6285,4 @@ declare class SDKValidationError extends Error {
5872
6285
  toJSON(): Record<string, unknown>;
5873
6286
  }
5874
6287
  //#endregion
5875
- export { AGENT_BRIDGE_API_METADATA, type AGENT_BRIDGE_PROTOCOL_VERSION, API_MODULE_KEYS, type AgentBridgeCatalogRequestPayload, type AgentBridgeErrorCode, type AgentBridgeExposeConfig, type AgentBridgeHeartbeatPayload, type AgentBridgeInboundMessage, type AgentBridgeInvokeRequest, type AgentBridgeInvokeRequestPayload, type AgentBridgeMessageEnvelope, type AgentBridgeMessageType, type AgentBridgeMethodCatalogItem, type AgentBridgeMethodSchemaMetadata, type AgentBridgeMethodSideEffect, type AgentBridgeModuleCatalogItem, type AgentBridgeOperationResult, type AgentBridgeOutboundMessage, type AgentBridgeReconnectOptions, type AgentBridgeRegisterPayload, type AgentBridgeResultPayload, type AgentBridgeRuntimeAdapter, type AgentBridgeRuntimeEngineSnapshot, type AgentBridgeRuntimeFactoryOptions, type AgentBridgeRuntimeSnapshot, type AgentBridgeSchemaEnumOption, type AgentBridgeSchemaField, type AgentBridgeSchemaFieldType, type AgentBridgeSchemaRequestPayload, type AgentBridgeSocket, type AgentBridgeSocketFactory, type AgentBridgeStructuredError, type AgentBridgeUnregisterPayload, AgentRuntimeBridge, type AgentRuntimeBridgeDependencies, Animation, type AnimationGetLengthRequest, type AnimationPlayRequest, type AnimationSetSpeedRequest, type AnimationStartLoopRequest, type AnimationStopLoopRequest, type AnimationStopRequest, type ApiCallback, type ApiFacade, type ApiInstanceMap, type ApiModuleFactory, type ApiModuleKey, type ApiRegistry, type ApiRegistryContext, ApiRegistryError, type ApiRequestEnvelope, type ApiResponseEnvelope, type AuthErrorInfo, type AuthSessionSnapshot, type AuthWorkflowState, Camera, type CameraFlyByPathRequest, type CameraFlyToTargetRequest, type CameraLookAtRequest, type CameraObjFollowRequest, type CameraSetFlySpeedRequest, type CameraSetFovRequest, type CameraSetPositionAndRotationRequest, type CenterConnectResult, type CenterEnvelope, type CenterServiceInfo, type CenterTokenAuthorizeResult, Connect, DTCEngine, type DTCEngineAgentBridgeOptions, Dlss, DlssQuality, type DlssSetEnableRequest, type DlssSetQualityRequest, type EngineConfig, type EngineLogLevel, type EngineStatusInfo, type EngineViewMode, type FeatureToggleRequest, FilterMode, type GetWeatherTypeRequest, HeatMap, type HeatMapConfigRequest, type HeatMapCreateRequest, type HeatMapPointRequest, type HeatMapRemoveRequest, HighLighterEffect, type HighLighterEnableRequest, type HighLighterRemoveHighLightModelRequest, type HighLighterSetHighLightModelRequest, Layer, type LayerAddRequest, type LayerChildElementRequest, LayerEnum, type LayerModelAddRequest, type LayerModelRemoveRequest, type LayerPOIAddRequest, type LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, Model, type ModelAddRequest, type ModelBoundsRequest, ModelPOI, type ModelPOIAddRequest, type ModelPOIDeleteByGroupRequest, type ModelPOIDeleteByIdRequest, type ModelPOIGetInfoRequest, type ModelPOIUpdateRequest, type ModelPOIVisibleByGroupRequest, type ModelRemoveRequest, type ModelSelectorRequest, type ModelSetVisibleByAttributeRequest, type ModelSetVisibleByTagsRequest, type ModelSetVisibleRequest, ModelTransform, type ModelTransformNodeRequest, type ModelTransformRestoreRequest, type ModelTransformRotateByTargetRequest, type ModelTransformRotateRequest, type ModelTransformScaleRequest, type ModelTransformStartMoveRequest, ModelTransformType, type NetworkAdaptationActionResult, type NetworkAdaptationActionStep, type NetworkAdaptationActionType, type NetworkAdaptationLevel, type NetworkAdaptationMode, type NetworkAdaptationState, type NetworkDecisionTrace, type NetworkDiagnosticsSnapshot, type NetworkMetricsSnapshot, PathPatrol, type PathPatrolAddRequest, type PathPatrolNodeRequest, type PathPatrolSetTimeNodeRequest, type PathPatrolUpdateRequest, PendingValidationSchemaMap, Popup, type PopupAddRequest, type PopupDelayRequest, type PopupItemRequest, type PopupRemoveRequest, type PopupShowDistanceRequest, type PopupShowRequest, type PopupSyncInfoRequest, type QOS_EVENT_NAMES, type QosEvent, type QosEventName, type QosLevel, type QosReportingPayload, type QosRuntimeContext, type QosSessionContext, type QosStage, type QosStatus, type QosWarnErrorSummary, type ResolvedEngineConfig, SDKValidationError, Scene, type SceneListenCompassRequest, type SceneSwitchRequest, Screen, ScreenRenderBitratePreset, ScreenRenderBitratePresetOptions, type ScreenRenderBitratePresetValueMap, type ScreenSetSceneFPSRequest, type ScreenSetSceneRenderBitrateRequest, type ScreenSetScreenResolutionRequest, type ScreenSetVideoDecodeRequest, Season, type SignallingAllocateResponse, type StandardResponse, TimeLine, type TimeSerialNode, type TimelineNodeRequest, type TimelinePlayRequest, type TimelineSetSpeedRequest, type TimelineStopRequest, UIPOI, type UIPOIAddRequest, type UIPOIDeleteByGroupRequest, type UIPOIDeleteByIdRequest, type UIPOIEnableOverlapRequest, type UIPOIShowDistanceRequest, type UIPOIUpdateRequest, type UIPOIUpdateStateRequest, type Vector2Input, type Vector2JsonInput, type Vector3Input, type Vector3JsonInput, VideoCodeType, type WeatherChangeSeasonRequest, type WeatherOpenCameraFogRequest, type WeatherSetAnimateTimeOfDayRequest, type WeatherSetDayAndNightRequest, type WeatherSetSceneTimeRequest, type WeatherSetTimeSyncRequest, WeatherSystem, type WeatherTypeRequest, WebView, type WebViewUpdateRequest, apiRegistry, createAgentBridgeMetadata, createApiFacade, createBridgeRuntime, getAgentBridgeMethodSchema, isAgentBridgeMethodExposed, isAgentBridgeModuleExposed, isAgentBridgeModuleName, listAgentBridgeMethods, listAgentBridgeModules, resolveAgentBridgeExposeConfig };
6288
+ export { AGENT_BRIDGE_API_METADATA, type AGENT_BRIDGE_PROTOCOL_VERSION, API_MODULE_KEYS, type AgentBridgeActiveStream, type AgentBridgeCatalogRequestPayload, type AgentBridgeErrorCode, type AgentBridgeExposeConfig, type AgentBridgeHeartbeatPayload, type AgentBridgeInboundMessage, type AgentBridgeInvokeRequest, type AgentBridgeInvokeRequestPayload, type AgentBridgeMessageEnvelope, type AgentBridgeMessageType, type AgentBridgeMethodCatalogItem, type AgentBridgeMethodResponseMode, type AgentBridgeMethodSchemaMetadata, type AgentBridgeMethodSideEffect, type AgentBridgeModuleCatalogItem, type AgentBridgeOperationResult, type AgentBridgeOutboundMessage, type AgentBridgeReconnectOptions, type AgentBridgeRegisterPayload, type AgentBridgeResultPayload, type AgentBridgeRuntimeAdapter, type AgentBridgeRuntimeEngineSnapshot, type AgentBridgeRuntimeFactoryOptions, type AgentBridgeRuntimeSnapshot, type AgentBridgeSchemaEnumOption, type AgentBridgeSchemaField, type AgentBridgeSchemaFieldType, type AgentBridgeSchemaRequestPayload, type AgentBridgeSocket, type AgentBridgeSocketFactory, type AgentBridgeStreamCloseRequest, type AgentBridgeStreamCloseRequestPayload, type AgentBridgeStreamCloseResult, type AgentBridgeStreamEventListener, type AgentBridgeStreamEventPayload, type AgentBridgeStreamStartRequest, type AgentBridgeStreamStartRequestPayload, type AgentBridgeStreamStartResult, type AgentBridgeStreamTerminalReason, type AgentBridgeStructuredError, type AgentBridgeUnregisterPayload, AgentRuntimeBridge, type AgentRuntimeBridgeDependencies, Animation, type AnimationGetLengthRequest, type AnimationPlayRequest, type AnimationSetSpeedRequest, type AnimationStartLoopRequest, type AnimationStopLoopRequest, type AnimationStopRequest, type ApiCallback, type ApiFacade, type ApiInstanceMap, type ApiModuleFactory, type ApiModuleKey, type ApiRegistry, type ApiRegistryContext, ApiRegistryError, type ApiRequestEnvelope, type ApiResponseEnvelope, type AuthErrorInfo, type AuthSessionSnapshot, type AuthWorkflowState, Camera, type CameraFlyByPathRequest, type CameraFlyToTargetRequest, type CameraLookAtRequest, type CameraObjFollowRequest, type CameraSetFlySpeedRequest, type CameraSetFovRequest, type CameraSetPositionAndRotationRequest, type CenterConnectResult, type CenterEnvelope, type CenterServiceInfo, type CenterTokenAuthorizeResult, Connect, DTCEngine, type DTCEngineAgentBridgeOptions, Dlss, DlssQuality, type DlssSetEnableRequest, type DlssSetQualityRequest, type EngineConfig, type EngineLogLevel, type EngineStatusInfo, type EngineViewMode, type FeatureToggleRequest, FilterMode, type GetWeatherTypeRequest, HeatMap, type HeatMapConfigRequest, type HeatMapCreateRequest, type HeatMapPointRequest, type HeatMapRemoveRequest, HighLighterEffect, type HighLighterEnableRequest, type HighLighterRemoveHighLightModelRequest, type HighLighterSetHighLightModelRequest, Layer, type LayerAddRequest, type LayerChildElementRequest, LayerEnum, type LayerModelAddRequest, type LayerModelRemoveRequest, type LayerPOIAddRequest, type LayerSelectorRequest, type LayerShowUIPopRequest, type LayerSwitchModelRequest, Model, type ModelAddRequest, type ModelBoundsRequest, ModelPOI, type ModelPOIAddRequest, type ModelPOIDeleteByGroupRequest, type ModelPOIDeleteByIdRequest, type ModelPOIGetInfoRequest, type ModelPOIUpdateRequest, type ModelPOIVisibleByGroupRequest, type ModelRemoveRequest, type ModelSelectorRequest, type ModelSetVisibleByAttributeRequest, type ModelSetVisibleByTagsRequest, type ModelSetVisibleRequest, ModelTransform, type ModelTransformNodeRequest, type ModelTransformRestoreRequest, type ModelTransformRotateByTargetRequest, type ModelTransformRotateRequest, type ModelTransformScaleRequest, type ModelTransformStartMoveRequest, ModelTransformType, Navigation, type NavigationMeshNavRequest, type NavigationNavByPathRequest, type NavigationNodeRequest, type NavigationUpdateMeshNavRequest, type NavigationUpdateNavPathRequest, type NavigationUpdateSpeedRequest, type NetworkAdaptationActionResult, type NetworkAdaptationActionStep, type NetworkAdaptationActionType, type NetworkAdaptationLevel, type NetworkAdaptationMode, type NetworkAdaptationState, type NetworkDecisionTrace, type NetworkDiagnosticsSnapshot, type NetworkMetricsSnapshot, PathPatrol, type PathPatrolAddRequest, type PathPatrolNodeRequest, type PathPatrolSetTimeNodeRequest, type PathPatrolUpdateRequest, PendingValidationSchemaMap, Popup, type PopupAddRequest, type PopupDelayRequest, type PopupItemRequest, type PopupRemoveRequest, type PopupShowDistanceRequest, type PopupShowRequest, type PopupSyncInfoRequest, type QOS_EVENT_NAMES, type QosEvent, type QosEventName, type QosLevel, type QosReportingPayload, type QosRuntimeContext, type QosSessionContext, type QosStage, type QosStatus, type QosWarnErrorSummary, type ResolvedEngineConfig, SDKValidationError, Scene, type SceneListenCompassRequest, type SceneSwitchRequest, Screen, ScreenRenderBitratePreset, ScreenRenderBitratePresetOptions, type ScreenRenderBitratePresetValueMap, type ScreenSetSceneFPSRequest, type ScreenSetSceneRenderBitrateRequest, type ScreenSetScreenResolutionRequest, type ScreenSetVideoDecodeRequest, Season, type SignallingAllocateResponse, type StandardResponse, TimeLine, type TimeSerialNode, type TimelineNodeRequest, type TimelinePlayRequest, type TimelineSetSpeedRequest, type TimelineStopRequest, UIPOI, type UIPOIAddRequest, type UIPOIDeleteByGroupRequest, type UIPOIDeleteByIdRequest, type UIPOIEnableOverlapRequest, type UIPOIShowDistanceRequest, type UIPOIUpdateRequest, type UIPOIUpdateStateRequest, type Vector2Input, type Vector2JsonInput, type Vector3Input, type Vector3JsonInput, VideoCodeType, type WeatherChangeSeasonRequest, type WeatherOpenCameraFogRequest, type WeatherSetAnimateTimeOfDayRequest, type WeatherSetDayAndNightRequest, type WeatherSetSceneTimeRequest, type WeatherSetTimeSyncRequest, WeatherSystem, type WeatherTypeRequest, WebView, type WebViewUpdateRequest, apiRegistry, createAgentBridgeMetadata, createApiFacade, createBridgeRuntime, getAgentBridgeMethodSchema, isAgentBridgeMethodExposed, isAgentBridgeModuleExposed, isAgentBridgeModuleName, listAgentBridgeMethods, listAgentBridgeModules, resolveAgentBridgeExposeConfig };