@nimiplatform/sdk 0.13.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/CHANGELOG.md +462 -0
  2. package/README.md +438 -17
  3. package/dist/core/ai/capability-configuration.d.ts +18 -0
  4. package/dist/core/ai/capability-configuration.d.ts.map +1 -1
  5. package/dist/core/ai/capability-configuration.js +39 -0
  6. package/dist/core/ai/capability-configuration.js.map +1 -1
  7. package/dist/core/ai/embeddings.d.ts +5 -0
  8. package/dist/core/ai/embeddings.d.ts.map +1 -1
  9. package/dist/core/ai/embeddings.js +30 -4
  10. package/dist/core/ai/embeddings.js.map +1 -1
  11. package/dist/core/ai/index.d.ts +4 -0
  12. package/dist/core/ai/index.d.ts.map +1 -1
  13. package/dist/core/ai/index.js +3 -0
  14. package/dist/core/ai/index.js.map +1 -1
  15. package/dist/core/ai/local-app-model.d.ts +15 -4
  16. package/dist/core/ai/local-app-model.d.ts.map +1 -1
  17. package/dist/core/ai/local-app-model.js +58 -18
  18. package/dist/core/ai/local-app-model.js.map +1 -1
  19. package/dist/core/ai/music-input-wire.d.ts +4 -0
  20. package/dist/core/ai/music-input-wire.d.ts.map +1 -0
  21. package/dist/core/ai/music-input-wire.js +9 -0
  22. package/dist/core/ai/music-input-wire.js.map +1 -0
  23. package/dist/core/ai/music-input.d.ts +44 -0
  24. package/dist/core/ai/music-input.d.ts.map +1 -0
  25. package/dist/core/ai/music-input.js +69 -0
  26. package/dist/core/ai/music-input.js.map +1 -0
  27. package/dist/core/ai/reasoning.d.ts +32 -0
  28. package/dist/core/ai/reasoning.d.ts.map +1 -0
  29. package/dist/core/ai/reasoning.js +74 -0
  30. package/dist/core/ai/reasoning.js.map +1 -0
  31. package/dist/core/ai/runtime-model.d.ts +2 -19
  32. package/dist/core/ai/runtime-model.d.ts.map +1 -1
  33. package/dist/core/ai/runtime-model.js +3 -47
  34. package/dist/core/ai/runtime-model.js.map +1 -1
  35. package/dist/core/ai/speech-input.d.ts +9 -0
  36. package/dist/core/ai/speech-input.d.ts.map +1 -0
  37. package/dist/core/ai/speech-input.js +16 -0
  38. package/dist/core/ai/speech-input.js.map +1 -0
  39. package/dist/core/ai/text-runner.js +11 -4
  40. package/dist/core/ai/text-runner.js.map +1 -1
  41. package/dist/core/ai/voice-reference-input.d.ts +9 -0
  42. package/dist/core/ai/voice-reference-input.d.ts.map +1 -0
  43. package/dist/core/ai/voice-reference-input.js +17 -0
  44. package/dist/core/ai/voice-reference-input.js.map +1 -0
  45. package/dist/core/app/desktop-open.d.ts +4 -1
  46. package/dist/core/app/desktop-open.d.ts.map +1 -1
  47. package/dist/core/app/desktop-open.js +5 -1
  48. package/dist/core/app/desktop-open.js.map +1 -1
  49. package/dist/core/app/index.d.ts +34 -3
  50. package/dist/core/app/index.d.ts.map +1 -1
  51. package/dist/core/app/index.js +21 -0
  52. package/dist/core/app/index.js.map +1 -1
  53. package/dist/core/app/local-app-agent-introduction.d.ts +30 -0
  54. package/dist/core/app/local-app-agent-introduction.d.ts.map +1 -0
  55. package/dist/core/app/local-app-agent-introduction.js +64 -0
  56. package/dist/core/app/local-app-agent-introduction.js.map +1 -0
  57. package/dist/core/app/local-app-agent-work-input.d.ts +24 -0
  58. package/dist/core/app/local-app-agent-work-input.d.ts.map +1 -0
  59. package/dist/core/app/local-app-agent-work-input.js +50 -0
  60. package/dist/core/app/local-app-agent-work-input.js.map +1 -0
  61. package/dist/core/app/local-app-audio-separation.d.ts +15 -0
  62. package/dist/core/app/local-app-audio-separation.d.ts.map +1 -0
  63. package/dist/core/app/local-app-audio-separation.js +92 -0
  64. package/dist/core/app/local-app-audio-separation.js.map +1 -0
  65. package/dist/core/app/local-app-bytes.d.ts +10 -0
  66. package/dist/core/app/local-app-bytes.d.ts.map +1 -0
  67. package/dist/core/app/local-app-bytes.js +27 -0
  68. package/dist/core/app/local-app-bytes.js.map +1 -0
  69. package/dist/core/app/local-app-music-transcription.d.ts +43 -0
  70. package/dist/core/app/local-app-music-transcription.d.ts.map +1 -0
  71. package/dist/core/app/local-app-music-transcription.js +94 -0
  72. package/dist/core/app/local-app-music-transcription.js.map +1 -0
  73. package/dist/core/app/local-app-music.d.ts +50 -0
  74. package/dist/core/app/local-app-music.d.ts.map +1 -0
  75. package/dist/core/app/local-app-music.js +135 -0
  76. package/dist/core/app/local-app-music.js.map +1 -0
  77. package/dist/core/app/local-app-runtime-platform-activity-view.d.ts +59 -0
  78. package/dist/core/app/local-app-runtime-platform-activity-view.d.ts.map +1 -0
  79. package/dist/core/app/local-app-runtime-platform-activity-view.js +283 -0
  80. package/dist/core/app/local-app-runtime-platform-activity-view.js.map +1 -0
  81. package/dist/core/app/local-app-runtime-platform-activity.d.ts +219 -0
  82. package/dist/core/app/local-app-runtime-platform-activity.d.ts.map +1 -0
  83. package/dist/core/app/local-app-runtime-platform-activity.js +749 -0
  84. package/dist/core/app/local-app-runtime-platform-activity.js.map +1 -0
  85. package/dist/core/app/local-app-runtime-platform-agent-references.d.ts +4 -0
  86. package/dist/core/app/local-app-runtime-platform-agent-references.d.ts.map +1 -1
  87. package/dist/core/app/local-app-runtime-platform-agent-references.js +21 -9
  88. package/dist/core/app/local-app-runtime-platform-agent-references.js.map +1 -1
  89. package/dist/core/app/local-app-runtime-platform-agent-work.d.ts +88 -0
  90. package/dist/core/app/local-app-runtime-platform-agent-work.d.ts.map +1 -0
  91. package/dist/core/app/local-app-runtime-platform-agent-work.js +165 -0
  92. package/dist/core/app/local-app-runtime-platform-agent-work.js.map +1 -0
  93. package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
  94. package/dist/core/app/local-app-runtime-platform-ai-config.js +62 -1
  95. package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
  96. package/dist/core/app/local-app-runtime-platform-ai.d.ts +172 -34
  97. package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
  98. package/dist/core/app/local-app-runtime-platform-ai.js +805 -112
  99. package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
  100. package/dist/core/app/local-app-runtime-platform-assets.d.ts.map +1 -1
  101. package/dist/core/app/local-app-runtime-platform-assets.js +37 -12
  102. package/dist/core/app/local-app-runtime-platform-assets.js.map +1 -1
  103. package/dist/core/app/local-app-runtime-platform-configure.d.ts +1 -1
  104. package/dist/core/app/local-app-runtime-platform-configure.d.ts.map +1 -1
  105. package/dist/core/app/local-app-runtime-platform-configure.js +10 -10
  106. package/dist/core/app/local-app-runtime-platform-configure.js.map +1 -1
  107. package/dist/core/app/local-app-runtime-platform-conversation.d.ts +7 -4
  108. package/dist/core/app/local-app-runtime-platform-conversation.d.ts.map +1 -1
  109. package/dist/core/app/local-app-runtime-platform-conversation.js +15 -10
  110. package/dist/core/app/local-app-runtime-platform-conversation.js.map +1 -1
  111. package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts +5 -0
  112. package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts.map +1 -0
  113. package/dist/core/app/local-app-runtime-platform-direct-agent-work.js +38 -0
  114. package/dist/core/app/local-app-runtime-platform-direct-agent-work.js.map +1 -0
  115. package/dist/core/app/local-app-runtime-platform-direct-conversation.js +6 -6
  116. package/dist/core/app/local-app-runtime-platform-direct-conversation.js.map +1 -1
  117. package/dist/core/app/local-app-runtime-platform-integration.d.ts +128 -0
  118. package/dist/core/app/local-app-runtime-platform-integration.d.ts.map +1 -0
  119. package/dist/core/app/local-app-runtime-platform-integration.js +263 -0
  120. package/dist/core/app/local-app-runtime-platform-integration.js.map +1 -0
  121. package/dist/core/app/local-app-runtime-platform-validation.d.ts +2 -0
  122. package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
  123. package/dist/core/app/local-app-runtime-platform-validation.js +50 -3
  124. package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
  125. package/dist/core/app/local-app-runtime-platform-vision.d.ts +1 -1
  126. package/dist/core/app/local-app-runtime-platform-vision.d.ts.map +1 -1
  127. package/dist/core/app/local-app-runtime-platform-vision.js +5 -5
  128. package/dist/core/app/local-app-runtime-platform-vision.js.map +1 -1
  129. package/dist/core/app/local-app-runtime-platform.d.ts +19 -15
  130. package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
  131. package/dist/core/app/local-app-runtime-platform.js +17 -6
  132. package/dist/core/app/local-app-runtime-platform.js.map +1 -1
  133. package/dist/core/app/local-app-speaker-embedding.d.ts +6 -0
  134. package/dist/core/app/local-app-speaker-embedding.d.ts.map +1 -0
  135. package/dist/core/app/local-app-speaker-embedding.js +14 -0
  136. package/dist/core/app/local-app-speaker-embedding.js.map +1 -0
  137. package/dist/core/app/local-app-text-annotation.d.ts +24 -0
  138. package/dist/core/app/local-app-text-annotation.d.ts.map +1 -0
  139. package/dist/core/app/local-app-text-annotation.js +71 -0
  140. package/dist/core/app/local-app-text-annotation.js.map +1 -0
  141. package/dist/core/app/local-app-text-decision.d.ts +114 -0
  142. package/dist/core/app/local-app-text-decision.d.ts.map +1 -0
  143. package/dist/core/app/local-app-text-decision.js +444 -0
  144. package/dist/core/app/local-app-text-decision.js.map +1 -0
  145. package/dist/core/app/local-app-text.d.ts +7 -1
  146. package/dist/core/app/local-app-text.d.ts.map +1 -1
  147. package/dist/core/app/local-app-text.js +16 -15
  148. package/dist/core/app/local-app-text.js.map +1 -1
  149. package/dist/core/app/local-app-transcription.d.ts +23 -0
  150. package/dist/core/app/local-app-transcription.d.ts.map +1 -0
  151. package/dist/core/app/local-app-transcription.js +48 -0
  152. package/dist/core/app/local-app-transcription.js.map +1 -0
  153. package/dist/core/app/local-app-voice-convert.d.ts +61 -0
  154. package/dist/core/app/local-app-voice-convert.d.ts.map +1 -0
  155. package/dist/core/app/local-app-voice-convert.js +133 -0
  156. package/dist/core/app/local-app-voice-convert.js.map +1 -0
  157. package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts +2 -2
  158. package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts.map +1 -1
  159. package/dist/core/app/runtime-account-realm-source-readiness.generated.js +5 -3
  160. package/dist/core/app/runtime-account-realm-source-readiness.generated.js.map +1 -1
  161. package/dist/core/text-stream-cleanup.d.ts +3 -0
  162. package/dist/core/text-stream-cleanup.d.ts.map +1 -0
  163. package/dist/core/text-stream-cleanup.js +19 -0
  164. package/dist/core/text-stream-cleanup.js.map +1 -0
  165. package/dist/core-generated/realm-client.d.ts.map +1 -1
  166. package/dist/core-generated/realm-client.js +10 -4
  167. package/dist/core-generated/realm-client.js.map +1 -1
  168. package/dist/core-generated/realm-typed-client.d.ts +159 -34
  169. package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
  170. package/dist/core-generated/realm-typed-client.js +81 -8
  171. package/dist/core-generated/realm-typed-client.js.map +1 -1
  172. package/dist/core-generated/runtime-client.d.ts.map +1 -1
  173. package/dist/core-generated/runtime-client.js +312 -0
  174. package/dist/core-generated/runtime-client.js.map +1 -1
  175. package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts +21 -0
  176. package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts.map +1 -1
  177. package/dist/core-generated/runtime-protobuf/runtime/v1/account.js +41 -5
  178. package/dist/core-generated/runtime-protobuf/runtime/v1/account.js.map +1 -1
  179. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts +158 -1
  180. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts.map +1 -1
  181. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js +299 -2
  182. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js.map +1 -1
  183. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.d.ts +5 -1
  184. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.d.ts.map +1 -1
  185. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.js +4 -0
  186. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.js.map +1 -1
  187. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.d.ts +625 -0
  188. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.d.ts.map +1 -0
  189. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.js +1369 -0
  190. package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.js.map +1 -0
  191. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +2274 -134
  192. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
  193. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +5178 -1218
  194. package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
  195. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +168 -0
  196. package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
  197. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +326 -5
  198. package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
  199. package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.d.ts +859 -0
  200. package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.d.ts.map +1 -0
  201. package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.js +1663 -0
  202. package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.js.map +1 -0
  203. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts +20 -0
  204. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts.map +1 -1
  205. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js +38 -0
  206. package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js.map +1 -1
  207. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +579 -0
  208. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
  209. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +1056 -12
  210. package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
  211. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +161 -1
  212. package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
  213. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +160 -0
  214. package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
  215. package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts +43 -0
  216. package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts.map +1 -1
  217. package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js +88 -4
  218. package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js.map +1 -1
  219. package/dist/core-generated/runtime-protobuf/runtime/v1/development.d.ts +53 -0
  220. package/dist/core-generated/runtime-protobuf/runtime/v1/development.d.ts.map +1 -1
  221. package/dist/core-generated/runtime-protobuf/runtime/v1/development.js +118 -0
  222. package/dist/core-generated/runtime-protobuf/runtime/v1/development.js.map +1 -1
  223. package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts +1293 -0
  224. package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts.map +1 -0
  225. package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js +2898 -0
  226. package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js.map +1 -0
  227. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +200 -0
  228. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
  229. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +249 -4
  230. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
  231. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts +13 -0
  232. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.d.ts.map +1 -1
  233. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js +17 -1
  234. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_device_environment.js.map +1 -1
  235. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts +8 -0
  236. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts.map +1 -1
  237. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js +9 -1
  238. package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js.map +1 -1
  239. package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts +69 -0
  240. package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts.map +1 -1
  241. package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js +120 -0
  242. package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js.map +1 -1
  243. package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
  244. package/dist/core-generated/runtime-public-client.js +296 -8
  245. package/dist/core-generated/runtime-public-client.js.map +1 -1
  246. package/dist/core-generated/runtime-public-rpc-auth-posture.d.ts.map +1 -1
  247. package/dist/core-generated/runtime-public-rpc-auth-posture.js +37 -1
  248. package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
  249. package/dist/core-generated/runtime-public-wire-codecs.d.ts +44 -5
  250. package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
  251. package/dist/core-generated/runtime-public-wire-codecs.js +44 -5
  252. package/dist/core-generated/runtime-public-wire-codecs.js.map +1 -1
  253. package/dist/core-generated/runtime-rpc-auth-posture.d.ts.map +1 -1
  254. package/dist/core-generated/runtime-rpc-auth-posture.js +39 -0
  255. package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
  256. package/dist/core-generated/runtime-typed-client.d.ts +66 -16
  257. package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
  258. package/dist/core-generated/runtime-typed-client.js +398 -3
  259. package/dist/core-generated/runtime-typed-client.js.map +1 -1
  260. package/dist/core-generated/runtime-wire-codecs.d.ts +47 -5
  261. package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
  262. package/dist/core-generated/runtime-wire-codecs.js +47 -5
  263. package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
  264. package/dist/features/generation/index.d.ts +16 -2
  265. package/dist/features/generation/index.d.ts.map +1 -1
  266. package/dist/features/generation/index.js +26 -3
  267. package/dist/features/generation/index.js.map +1 -1
  268. package/dist/features/generation/media-params.d.ts +0 -3
  269. package/dist/features/generation/media-params.d.ts.map +1 -1
  270. package/dist/features/generation/media-params.js +8 -6
  271. package/dist/features/generation/media-params.js.map +1 -1
  272. package/dist/features/generation/runtime-generation-build.d.ts +0 -1
  273. package/dist/features/generation/runtime-generation-build.d.ts.map +1 -1
  274. package/dist/features/generation/runtime-generation-build.js +6 -1
  275. package/dist/features/generation/runtime-generation-build.js.map +1 -1
  276. package/dist/features/generation/runtime-image-generation.d.ts +5 -1
  277. package/dist/features/generation/runtime-image-generation.d.ts.map +1 -1
  278. package/dist/features/generation/runtime-image-generation.js +4 -0
  279. package/dist/features/generation/runtime-image-generation.js.map +1 -1
  280. package/dist/features/generation/runtime-job-builders.d.ts +0 -1
  281. package/dist/features/generation/runtime-job-builders.d.ts.map +1 -1
  282. package/dist/features/generation/runtime-job-builders.js +8 -10
  283. package/dist/features/generation/runtime-job-builders.js.map +1 -1
  284. package/dist/realm/index.d.ts +1 -1
  285. package/dist/realm/index.d.ts.map +1 -1
  286. package/dist/realm/index.js +3 -2
  287. package/dist/realm/index.js.map +1 -1
  288. package/dist/runtime/chatgpt-plan.d.ts +7 -0
  289. package/dist/runtime/chatgpt-plan.d.ts.map +1 -0
  290. package/dist/runtime/chatgpt-plan.js +15 -0
  291. package/dist/runtime/chatgpt-plan.js.map +1 -0
  292. package/dist/runtime/config-projections.d.ts +2 -0
  293. package/dist/runtime/config-projections.d.ts.map +1 -1
  294. package/dist/runtime/config-projections.js +33 -1
  295. package/dist/runtime/config-projections.js.map +1 -1
  296. package/dist/runtime/connector-auth-acquisition-client.d.ts +3 -6
  297. package/dist/runtime/connector-auth-acquisition-client.d.ts.map +1 -1
  298. package/dist/runtime/connector-auth-acquisition-client.js +18 -11
  299. package/dist/runtime/connector-auth-acquisition-client.js.map +1 -1
  300. package/dist/runtime/connector-auth-acquisition-profiles.generated.d.ts +10 -11
  301. package/dist/runtime/connector-auth-acquisition-profiles.generated.d.ts.map +1 -1
  302. package/dist/runtime/connector-auth-acquisition-profiles.generated.js +13 -14
  303. package/dist/runtime/connector-auth-acquisition-profiles.generated.js.map +1 -1
  304. package/dist/runtime/connector-auth-acquisition.d.ts +26 -19
  305. package/dist/runtime/connector-auth-acquisition.d.ts.map +1 -1
  306. package/dist/runtime/connector-auth-acquisition.js +352 -269
  307. package/dist/runtime/connector-auth-acquisition.js.map +1 -1
  308. package/dist/runtime/connector-auth-profiles.generated.d.ts +1 -1
  309. package/dist/runtime/connector-auth-profiles.generated.d.ts.map +1 -1
  310. package/dist/runtime/connector-auth-profiles.generated.js +4 -4
  311. package/dist/runtime/connector-auth-profiles.generated.js.map +1 -1
  312. package/dist/runtime/connector-inventory.d.ts +11 -2
  313. package/dist/runtime/connector-inventory.d.ts.map +1 -1
  314. package/dist/runtime/connector-inventory.js +13 -4
  315. package/dist/runtime/connector-inventory.js.map +1 -1
  316. package/dist/runtime/desktop-audit.js +4 -1
  317. package/dist/runtime/desktop-audit.js.map +1 -1
  318. package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +130 -2
  319. package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts.map +1 -1
  320. package/dist/runtime/first-party-protected-runtime-profiles.generated.js +34 -2
  321. package/dist/runtime/first-party-protected-runtime-profiles.generated.js.map +1 -1
  322. package/dist/runtime/generated.d.ts +2 -2
  323. package/dist/runtime/generated.d.ts.map +1 -1
  324. package/dist/runtime/generated.js +1 -1
  325. package/dist/runtime/generated.js.map +1 -1
  326. package/dist/runtime/host.d.ts +3 -0
  327. package/dist/runtime/host.d.ts.map +1 -1
  328. package/dist/runtime/host.js +4 -0
  329. package/dist/runtime/host.js.map +1 -1
  330. package/dist/runtime/index.d.ts +3 -0
  331. package/dist/runtime/index.d.ts.map +1 -1
  332. package/dist/runtime/index.js +3 -1
  333. package/dist/runtime/index.js.map +1 -1
  334. package/dist/runtime/machine-loadouts.d.ts +33 -1
  335. package/dist/runtime/machine-loadouts.d.ts.map +1 -1
  336. package/dist/runtime/machine-loadouts.js +39 -2
  337. package/dist/runtime/machine-loadouts.js.map +1 -1
  338. package/dist/runtime/node-grpc-errors.js +3 -3
  339. package/dist/runtime/node-grpc-errors.js.map +1 -1
  340. package/dist/runtime/node-grpc.d.ts.map +1 -1
  341. package/dist/runtime/node-grpc.js +35 -4
  342. package/dist/runtime/node-grpc.js.map +1 -1
  343. package/dist/runtime/product-control-projection.d.ts.map +1 -1
  344. package/dist/runtime/product-control-projection.js +11 -2
  345. package/dist/runtime/product-control-projection.js.map +1 -1
  346. package/dist/runtime/product-control-types.d.ts +13 -2
  347. package/dist/runtime/product-control-types.d.ts.map +1 -1
  348. package/dist/runtime/product-control-types.js.map +1 -1
  349. package/dist/runtime/reason-messages.d.ts +3 -0
  350. package/dist/runtime/reason-messages.d.ts.map +1 -1
  351. package/dist/runtime/reason-messages.js +11 -2
  352. package/dist/runtime/reason-messages.js.map +1 -1
  353. package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
  354. package/dist/runtime/runtime-local-environment-client-projections.js +21 -17
  355. package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
  356. package/dist/runtime/runtime-local-environment-client-types.d.ts +50 -19
  357. package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
  358. package/dist/runtime/runtime-local-environment-client-values.d.ts +3 -1
  359. package/dist/runtime/runtime-local-environment-client-values.d.ts.map +1 -1
  360. package/dist/runtime/runtime-local-environment-client-values.js +43 -0
  361. package/dist/runtime/runtime-local-environment-client-values.js.map +1 -1
  362. package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
  363. package/dist/runtime/runtime-local-environment-client.js +12 -3
  364. package/dist/runtime/runtime-local-environment-client.js.map +1 -1
  365. package/dist/runtime/runtime-local-recommendation-types.d.ts +3 -0
  366. package/dist/runtime/runtime-local-recommendation-types.d.ts.map +1 -1
  367. package/dist/runtime/runtime-local-recommendation.d.ts.map +1 -1
  368. package/dist/runtime/runtime-local-recommendation.js +1 -0
  369. package/dist/runtime/runtime-local-recommendation.js.map +1 -1
  370. package/dist/runtime/scenario-jobs.d.ts +23 -1
  371. package/dist/runtime/scenario-jobs.d.ts.map +1 -1
  372. package/dist/runtime/scenario-jobs.js +227 -264
  373. package/dist/runtime/scenario-jobs.js.map +1 -1
  374. package/dist/runtime/shared-local-agent-ai-config.d.ts.map +1 -1
  375. package/dist/runtime/shared-local-agent-ai-config.js +6 -0
  376. package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
  377. package/dist/runtime/wire-types/agent-participation-enums.d.ts +2 -1
  378. package/dist/runtime/wire-types/agent-participation-enums.d.ts.map +1 -1
  379. package/dist/runtime/wire-types/agent-participation-enums.js +2 -1
  380. package/dist/runtime/wire-types/agent-participation-enums.js.map +1 -1
  381. package/dist/runtime/wire-types/agent-participation-types.d.ts +4 -2
  382. package/dist/runtime/wire-types/agent-participation-types.d.ts.map +1 -1
  383. package/dist/runtime/wire-types/ai-scenario-enums.d.ts +119 -3
  384. package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
  385. package/dist/runtime/wire-types/ai-scenario-enums.js +136 -0
  386. package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
  387. package/dist/runtime/wire-types/ai-scenario-types.d.ts +8 -6
  388. package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
  389. package/dist/runtime/wire-types/identity-app-enums.d.ts +47 -0
  390. package/dist/runtime/wire-types/identity-app-enums.d.ts.map +1 -1
  391. package/dist/runtime/wire-types/identity-app-enums.js +55 -0
  392. package/dist/runtime/wire-types/identity-app-enums.js.map +1 -1
  393. package/dist/runtime/wire-types/identity-app-types.d.ts +6 -4
  394. package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
  395. package/dist/runtime/wire-types/local-memory-enums.d.ts +31 -1
  396. package/dist/runtime/wire-types/local-memory-enums.d.ts.map +1 -1
  397. package/dist/runtime/wire-types/local-memory-enums.js +34 -0
  398. package/dist/runtime/wire-types/local-memory-enums.js.map +1 -1
  399. package/dist/runtime/wire-types/reason-code-enums.d.ts +30 -1
  400. package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
  401. package/dist/runtime/wire-types/reason-code-enums.js +29 -0
  402. package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
  403. package/dist/types/errors.d.ts +1 -1
  404. package/dist/types/errors.d.ts.map +1 -1
  405. package/dist/types/errors.js +2 -2
  406. package/dist/types/errors.js.map +1 -1
  407. package/dist/types/reason-code.d.ts +2 -0
  408. package/dist/types/reason-code.d.ts.map +1 -1
  409. package/dist/types/reason-code.js +2 -0
  410. package/dist/types/reason-code.js.map +1 -1
  411. package/package.json +5 -5
@@ -536,6 +536,32 @@ export var ConversationAnchorStatus;
536
536
  */
537
537
  ConversationAnchorStatus[ConversationAnchorStatus["CLOSED"] = 2] = "CLOSED";
538
538
  })(ConversationAnchorStatus || (ConversationAnchorStatus = {}));
539
+ /**
540
+ * @generated from protobuf enum nimi.runtime.v1.LocalAppAgentIntroductionTopicKind
541
+ */
542
+ export var LocalAppAgentIntroductionTopicKind;
543
+ (function (LocalAppAgentIntroductionTopicKind) {
544
+ /**
545
+ * @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_UNSPECIFIED = 0;
546
+ */
547
+ LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
548
+ /**
549
+ * @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_ROLE = 1;
550
+ */
551
+ LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["ROLE"] = 1] = "ROLE";
552
+ /**
553
+ * @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_WORK = 2;
554
+ */
555
+ LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["WORK"] = 2] = "WORK";
556
+ /**
557
+ * @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_RELATIONSHIP = 3;
558
+ */
559
+ LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["RELATIONSHIP"] = 3] = "RELATIONSHIP";
560
+ /**
561
+ * @generated from protobuf enum value: LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_TOPIC = 4;
562
+ */
563
+ LocalAppAgentIntroductionTopicKind[LocalAppAgentIntroductionTopicKind["TOPIC"] = 4] = "TOPIC";
564
+ })(LocalAppAgentIntroductionTopicKind || (LocalAppAgentIntroductionTopicKind = {}));
539
565
  /**
540
566
  * Product actions are stable Manager semantics, not AppOperationIds or access
541
567
  * decisions. The protected session has already admitted the shared
@@ -663,6 +689,10 @@ export var LocalAppConversationMessageRole;
663
689
  * @generated from protobuf enum value: LOCAL_APP_CONVERSATION_MESSAGE_ROLE_ASSISTANT = 2;
664
690
  */
665
691
  LocalAppConversationMessageRole[LocalAppConversationMessageRole["ASSISTANT"] = 2] = "ASSISTANT";
692
+ /**
693
+ * @generated from protobuf enum value: LOCAL_APP_CONVERSATION_MESSAGE_ROLE_APP = 3;
694
+ */
695
+ LocalAppConversationMessageRole[LocalAppConversationMessageRole["APP"] = 3] = "APP";
666
696
  })(LocalAppConversationMessageRole || (LocalAppConversationMessageRole = {}));
667
697
  /**
668
698
  * @generated from protobuf enum nimi.runtime.v1.LocalAppConversationMediaKind
@@ -4986,13 +5016,17 @@ class LocalAppAgentReference$Type extends MessageType {
4986
5016
  super("nimi.runtime.v1.LocalAppAgentReference", [
4987
5017
  { no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4988
5018
  { no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4989
- { no: 3, name: "avatar_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
5019
+ { no: 3, name: "avatar_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5020
+ { no: 4, name: "agent_binding", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
5021
+ { no: 5, name: "activity_agent_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4990
5022
  ]);
4991
5023
  }
4992
5024
  create(value) {
4993
5025
  const message = globalThis.Object.create((this.messagePrototype));
4994
5026
  message.agentHandle = "";
4995
5027
  message.displayName = "";
5028
+ message.agentBinding = "";
5029
+ message.activityAgentRef = "";
4996
5030
  if (value !== undefined)
4997
5031
  reflectionMergePartial(this, message, value);
4998
5032
  return message;
@@ -5011,6 +5045,12 @@ class LocalAppAgentReference$Type extends MessageType {
5011
5045
  case /* optional string avatar_url */ 3:
5012
5046
  message.avatarUrl = reader.string();
5013
5047
  break;
5048
+ case /* string agent_binding */ 4:
5049
+ message.agentBinding = reader.string();
5050
+ break;
5051
+ case /* string activity_agent_ref */ 5:
5052
+ message.activityAgentRef = reader.string();
5053
+ break;
5014
5054
  default:
5015
5055
  let u = options.readUnknownField;
5016
5056
  if (u === "throw")
@@ -5032,6 +5072,12 @@ class LocalAppAgentReference$Type extends MessageType {
5032
5072
  /* optional string avatar_url = 3; */
5033
5073
  if (message.avatarUrl !== undefined)
5034
5074
  writer.tag(3, WireType.LengthDelimited).string(message.avatarUrl);
5075
+ /* string agent_binding = 4; */
5076
+ if (message.agentBinding !== "")
5077
+ writer.tag(4, WireType.LengthDelimited).string(message.agentBinding);
5078
+ /* string activity_agent_ref = 5; */
5079
+ if (message.activityAgentRef !== "")
5080
+ writer.tag(5, WireType.LengthDelimited).string(message.activityAgentRef);
5035
5081
  let u = options.writeUnknownFields;
5036
5082
  if (u !== false)
5037
5083
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -5128,6 +5174,250 @@ class ListLocalAppAgentReferencesResponse$Type extends MessageType {
5128
5174
  */
5129
5175
  export const ListLocalAppAgentReferencesResponse = new ListLocalAppAgentReferencesResponse$Type();
5130
5176
  // @generated message type with reflection information, may provide speed optimized methods
5177
+ class GetLocalAppAgentIntroductionRequest$Type extends MessageType {
5178
+ constructor() {
5179
+ super("nimi.runtime.v1.GetLocalAppAgentIntroductionRequest", [
5180
+ { no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
5181
+ ]);
5182
+ }
5183
+ create(value) {
5184
+ const message = globalThis.Object.create((this.messagePrototype));
5185
+ message.agentHandle = "";
5186
+ if (value !== undefined)
5187
+ reflectionMergePartial(this, message, value);
5188
+ return message;
5189
+ }
5190
+ internalBinaryRead(reader, length, options, target) {
5191
+ let message = target ?? this.create(), end = reader.pos + length;
5192
+ while (reader.pos < end) {
5193
+ let [fieldNo, wireType] = reader.tag();
5194
+ switch (fieldNo) {
5195
+ case /* string agent_handle */ 1:
5196
+ message.agentHandle = reader.string();
5197
+ break;
5198
+ default:
5199
+ let u = options.readUnknownField;
5200
+ if (u === "throw")
5201
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5202
+ let d = reader.skip(wireType);
5203
+ if (u !== false)
5204
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5205
+ }
5206
+ }
5207
+ return message;
5208
+ }
5209
+ internalBinaryWrite(message, writer, options) {
5210
+ /* string agent_handle = 1; */
5211
+ if (message.agentHandle !== "")
5212
+ writer.tag(1, WireType.LengthDelimited).string(message.agentHandle);
5213
+ let u = options.writeUnknownFields;
5214
+ if (u !== false)
5215
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5216
+ return writer;
5217
+ }
5218
+ }
5219
+ /**
5220
+ * @generated MessageType for protobuf message nimi.runtime.v1.GetLocalAppAgentIntroductionRequest
5221
+ */
5222
+ export const GetLocalAppAgentIntroductionRequest = new GetLocalAppAgentIntroductionRequest$Type();
5223
+ // @generated message type with reflection information, may provide speed optimized methods
5224
+ class GetLocalAppAgentIntroductionResponse$Type extends MessageType {
5225
+ constructor() {
5226
+ super("nimi.runtime.v1.GetLocalAppAgentIntroductionResponse", [
5227
+ { no: 1, name: "introduction", kind: "message", T: () => LocalAppAgentIntroduction }
5228
+ ]);
5229
+ }
5230
+ create(value) {
5231
+ const message = globalThis.Object.create((this.messagePrototype));
5232
+ if (value !== undefined)
5233
+ reflectionMergePartial(this, message, value);
5234
+ return message;
5235
+ }
5236
+ internalBinaryRead(reader, length, options, target) {
5237
+ let message = target ?? this.create(), end = reader.pos + length;
5238
+ while (reader.pos < end) {
5239
+ let [fieldNo, wireType] = reader.tag();
5240
+ switch (fieldNo) {
5241
+ case /* nimi.runtime.v1.LocalAppAgentIntroduction introduction */ 1:
5242
+ message.introduction = LocalAppAgentIntroduction.internalBinaryRead(reader, reader.uint32(), options, message.introduction);
5243
+ break;
5244
+ default:
5245
+ let u = options.readUnknownField;
5246
+ if (u === "throw")
5247
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5248
+ let d = reader.skip(wireType);
5249
+ if (u !== false)
5250
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5251
+ }
5252
+ }
5253
+ return message;
5254
+ }
5255
+ internalBinaryWrite(message, writer, options) {
5256
+ /* nimi.runtime.v1.LocalAppAgentIntroduction introduction = 1; */
5257
+ if (message.introduction)
5258
+ LocalAppAgentIntroduction.internalBinaryWrite(message.introduction, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
5259
+ let u = options.writeUnknownFields;
5260
+ if (u !== false)
5261
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5262
+ return writer;
5263
+ }
5264
+ }
5265
+ /**
5266
+ * @generated MessageType for protobuf message nimi.runtime.v1.GetLocalAppAgentIntroductionResponse
5267
+ */
5268
+ export const GetLocalAppAgentIntroductionResponse = new GetLocalAppAgentIntroductionResponse$Type();
5269
+ // @generated message type with reflection information, may provide speed optimized methods
5270
+ class LocalAppAgentIntroduction$Type extends MessageType {
5271
+ constructor() {
5272
+ super("nimi.runtime.v1.LocalAppAgentIntroduction", [
5273
+ { no: 1, name: "world_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5274
+ { no: 2, name: "era", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5275
+ { no: 3, name: "role", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5276
+ { no: 4, name: "greeting", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5277
+ { no: 5, name: "reference_image_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5278
+ { no: 6, name: "voice_sample_url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
5279
+ { no: 7, name: "voice_sample_duration_sec", kind: "scalar", opt: true, T: 1 /*ScalarType.DOUBLE*/ },
5280
+ { no: 8, name: "question_topics", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppAgentIntroductionTopic }
5281
+ ]);
5282
+ }
5283
+ create(value) {
5284
+ const message = globalThis.Object.create((this.messagePrototype));
5285
+ message.questionTopics = [];
5286
+ if (value !== undefined)
5287
+ reflectionMergePartial(this, message, value);
5288
+ return message;
5289
+ }
5290
+ internalBinaryRead(reader, length, options, target) {
5291
+ let message = target ?? this.create(), end = reader.pos + length;
5292
+ while (reader.pos < end) {
5293
+ let [fieldNo, wireType] = reader.tag();
5294
+ switch (fieldNo) {
5295
+ case /* optional string world_name */ 1:
5296
+ message.worldName = reader.string();
5297
+ break;
5298
+ case /* optional string era */ 2:
5299
+ message.era = reader.string();
5300
+ break;
5301
+ case /* optional string role */ 3:
5302
+ message.role = reader.string();
5303
+ break;
5304
+ case /* optional string greeting */ 4:
5305
+ message.greeting = reader.string();
5306
+ break;
5307
+ case /* optional string reference_image_url */ 5:
5308
+ message.referenceImageUrl = reader.string();
5309
+ break;
5310
+ case /* optional string voice_sample_url */ 6:
5311
+ message.voiceSampleUrl = reader.string();
5312
+ break;
5313
+ case /* optional double voice_sample_duration_sec */ 7:
5314
+ message.voiceSampleDurationSec = reader.double();
5315
+ break;
5316
+ case /* repeated nimi.runtime.v1.LocalAppAgentIntroductionTopic question_topics */ 8:
5317
+ message.questionTopics.push(LocalAppAgentIntroductionTopic.internalBinaryRead(reader, reader.uint32(), options));
5318
+ break;
5319
+ default:
5320
+ let u = options.readUnknownField;
5321
+ if (u === "throw")
5322
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5323
+ let d = reader.skip(wireType);
5324
+ if (u !== false)
5325
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5326
+ }
5327
+ }
5328
+ return message;
5329
+ }
5330
+ internalBinaryWrite(message, writer, options) {
5331
+ /* optional string world_name = 1; */
5332
+ if (message.worldName !== undefined)
5333
+ writer.tag(1, WireType.LengthDelimited).string(message.worldName);
5334
+ /* optional string era = 2; */
5335
+ if (message.era !== undefined)
5336
+ writer.tag(2, WireType.LengthDelimited).string(message.era);
5337
+ /* optional string role = 3; */
5338
+ if (message.role !== undefined)
5339
+ writer.tag(3, WireType.LengthDelimited).string(message.role);
5340
+ /* optional string greeting = 4; */
5341
+ if (message.greeting !== undefined)
5342
+ writer.tag(4, WireType.LengthDelimited).string(message.greeting);
5343
+ /* optional string reference_image_url = 5; */
5344
+ if (message.referenceImageUrl !== undefined)
5345
+ writer.tag(5, WireType.LengthDelimited).string(message.referenceImageUrl);
5346
+ /* optional string voice_sample_url = 6; */
5347
+ if (message.voiceSampleUrl !== undefined)
5348
+ writer.tag(6, WireType.LengthDelimited).string(message.voiceSampleUrl);
5349
+ /* optional double voice_sample_duration_sec = 7; */
5350
+ if (message.voiceSampleDurationSec !== undefined)
5351
+ writer.tag(7, WireType.Bit64).double(message.voiceSampleDurationSec);
5352
+ /* repeated nimi.runtime.v1.LocalAppAgentIntroductionTopic question_topics = 8; */
5353
+ for (let i = 0; i < message.questionTopics.length; i++)
5354
+ LocalAppAgentIntroductionTopic.internalBinaryWrite(message.questionTopics[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
5355
+ let u = options.writeUnknownFields;
5356
+ if (u !== false)
5357
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5358
+ return writer;
5359
+ }
5360
+ }
5361
+ /**
5362
+ * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppAgentIntroduction
5363
+ */
5364
+ export const LocalAppAgentIntroduction = new LocalAppAgentIntroduction$Type();
5365
+ // @generated message type with reflection information, may provide speed optimized methods
5366
+ class LocalAppAgentIntroductionTopic$Type extends MessageType {
5367
+ constructor() {
5368
+ super("nimi.runtime.v1.LocalAppAgentIntroductionTopic", [
5369
+ { no: 1, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.LocalAppAgentIntroductionTopicKind", LocalAppAgentIntroductionTopicKind, "LOCAL_APP_AGENT_INTRODUCTION_TOPIC_KIND_"] },
5370
+ { no: 2, name: "text", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
5371
+ ]);
5372
+ }
5373
+ create(value) {
5374
+ const message = globalThis.Object.create((this.messagePrototype));
5375
+ message.kind = 0;
5376
+ message.text = "";
5377
+ if (value !== undefined)
5378
+ reflectionMergePartial(this, message, value);
5379
+ return message;
5380
+ }
5381
+ internalBinaryRead(reader, length, options, target) {
5382
+ let message = target ?? this.create(), end = reader.pos + length;
5383
+ while (reader.pos < end) {
5384
+ let [fieldNo, wireType] = reader.tag();
5385
+ switch (fieldNo) {
5386
+ case /* nimi.runtime.v1.LocalAppAgentIntroductionTopicKind kind */ 1:
5387
+ message.kind = reader.int32();
5388
+ break;
5389
+ case /* string text */ 2:
5390
+ message.text = reader.string();
5391
+ break;
5392
+ default:
5393
+ let u = options.readUnknownField;
5394
+ if (u === "throw")
5395
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
5396
+ let d = reader.skip(wireType);
5397
+ if (u !== false)
5398
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
5399
+ }
5400
+ }
5401
+ return message;
5402
+ }
5403
+ internalBinaryWrite(message, writer, options) {
5404
+ /* nimi.runtime.v1.LocalAppAgentIntroductionTopicKind kind = 1; */
5405
+ if (message.kind !== 0)
5406
+ writer.tag(1, WireType.Varint).int32(message.kind);
5407
+ /* string text = 2; */
5408
+ if (message.text !== "")
5409
+ writer.tag(2, WireType.LengthDelimited).string(message.text);
5410
+ let u = options.writeUnknownFields;
5411
+ if (u !== false)
5412
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
5413
+ return writer;
5414
+ }
5415
+ }
5416
+ /**
5417
+ * @generated MessageType for protobuf message nimi.runtime.v1.LocalAppAgentIntroductionTopic
5418
+ */
5419
+ export const LocalAppAgentIntroductionTopic = new LocalAppAgentIntroductionTopic$Type();
5420
+ // @generated message type with reflection information, may provide speed optimized methods
5131
5421
  class ResolveDesktopAgentReferenceRequest$Type extends MessageType {
5132
5422
  constructor() {
5133
5423
  super("nimi.runtime.v1.ResolveDesktopAgentReferenceRequest", [
@@ -6789,7 +7079,8 @@ class InterruptLocalAppConversationTurnRequest$Type extends MessageType {
6789
7079
  constructor() {
6790
7080
  super("nimi.runtime.v1.InterruptLocalAppConversationTurnRequest", [
6791
7081
  { no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
6792
- { no: 2, name: "conversation_anchor_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
7082
+ { no: 2, name: "conversation_anchor_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
7083
+ { no: 3, name: "expected_turn_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
6793
7084
  ]);
6794
7085
  }
6795
7086
  create(value) {
@@ -6811,6 +7102,9 @@ class InterruptLocalAppConversationTurnRequest$Type extends MessageType {
6811
7102
  case /* string conversation_anchor_id */ 2:
6812
7103
  message.conversationAnchorId = reader.string();
6813
7104
  break;
7105
+ case /* optional string expected_turn_id */ 3:
7106
+ message.expectedTurnId = reader.string();
7107
+ break;
6814
7108
  default:
6815
7109
  let u = options.readUnknownField;
6816
7110
  if (u === "throw")
@@ -6829,6 +7123,9 @@ class InterruptLocalAppConversationTurnRequest$Type extends MessageType {
6829
7123
  /* string conversation_anchor_id = 2; */
6830
7124
  if (message.conversationAnchorId !== "")
6831
7125
  writer.tag(2, WireType.LengthDelimited).string(message.conversationAnchorId);
7126
+ /* optional string expected_turn_id = 3; */
7127
+ if (message.expectedTurnId !== undefined)
7128
+ writer.tag(3, WireType.LengthDelimited).string(message.expectedTurnId);
6832
7129
  let u = options.writeUnknownFields;
6833
7130
  if (u !== false)
6834
7131
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);