@code-yeongyu/senpi 2026.9.11 → 2026.9.12-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.
Files changed (1582) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/README.md +1 -1
  3. package/dist/bun/cli.d.ts +2 -1
  4. package/dist/bun/cli.d.ts.map +1 -1
  5. package/dist/bun/cli.js +5 -8
  6. package/dist/bun/cli.js.map +1 -1
  7. package/dist/bun/runtime-setup.d.ts +2 -0
  8. package/dist/bun/runtime-setup.d.ts.map +1 -0
  9. package/dist/bun/runtime-setup.js +9 -0
  10. package/dist/bun/runtime-setup.js.map +1 -0
  11. package/dist/bun/sandbox-env-setup.d.ts +2 -0
  12. package/dist/bun/sandbox-env-setup.d.ts.map +1 -0
  13. package/dist/bun/sandbox-env-setup.js +4 -0
  14. package/dist/bun/sandbox-env-setup.js.map +1 -0
  15. package/dist/cli/config-selector.d.ts.map +1 -1
  16. package/dist/cli/config-selector.js +2 -1
  17. package/dist/cli/config-selector.js.map +1 -1
  18. package/dist/cli/setup.d.ts +2 -0
  19. package/dist/cli/setup.d.ts.map +1 -0
  20. package/dist/cli/setup.js +12 -0
  21. package/dist/cli/setup.js.map +1 -0
  22. package/dist/cli.js +3 -0
  23. package/dist/cli.js.map +1 -1
  24. package/dist/client/index.d.ts +1 -2
  25. package/dist/client/index.d.ts.map +1 -1
  26. package/dist/client/index.js +1 -2
  27. package/dist/client/index.js.map +1 -1
  28. package/dist/config.d.ts +1 -0
  29. package/dist/config.d.ts.map +1 -1
  30. package/dist/config.js +1 -0
  31. package/dist/config.js.map +1 -1
  32. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  33. package/dist/core/agent-session-runtime.js +18 -6
  34. package/dist/core/agent-session-runtime.js.map +1 -1
  35. package/dist/core/agent-session.d.ts +54 -17
  36. package/dist/core/agent-session.d.ts.map +1 -1
  37. package/dist/core/agent-session.js +153 -157
  38. package/dist/core/agent-session.js.map +1 -1
  39. package/dist/core/compaction/branch-summarization.d.ts +1 -1
  40. package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
  41. package/dist/core/compaction/branch-summarization.js +6 -4
  42. package/dist/core/compaction/branch-summarization.js.map +1 -1
  43. package/dist/core/compaction-settings-access.d.ts +18 -2
  44. package/dist/core/compaction-settings-access.d.ts.map +1 -1
  45. package/dist/core/compaction-settings-access.js +35 -4
  46. package/dist/core/compaction-settings-access.js.map +1 -1
  47. package/dist/core/compaction-settings-resolver.d.ts +2 -2
  48. package/dist/core/compaction-settings-resolver.d.ts.map +1 -1
  49. package/dist/core/compaction-settings-resolver.js +6 -3
  50. package/dist/core/compaction-settings-resolver.js.map +1 -1
  51. package/dist/core/cursor-history-admission.d.ts +50 -0
  52. package/dist/core/cursor-history-admission.d.ts.map +1 -0
  53. package/dist/core/cursor-history-admission.js +130 -0
  54. package/dist/core/cursor-history-admission.js.map +1 -0
  55. package/dist/core/extensions/builtin/ask-user/extension.d.ts.map +1 -1
  56. package/dist/core/extensions/builtin/ask-user/extension.js +11 -0
  57. package/dist/core/extensions/builtin/ask-user/extension.js.map +1 -1
  58. package/dist/core/extensions/builtin/cursor-cli-oauth/models.d.ts.map +1 -1
  59. package/dist/core/extensions/builtin/cursor-cli-oauth/models.js +2 -1
  60. package/dist/core/extensions/builtin/cursor-cli-oauth/models.js.map +1 -1
  61. package/dist/core/extensions/builtin/prompt-preset/presets.d.ts.map +1 -1
  62. package/dist/core/extensions/builtin/prompt-preset/presets.js +7 -1
  63. package/dist/core/extensions/builtin/prompt-preset/presets.js.map +1 -1
  64. package/dist/core/extensions/loader.d.ts.map +1 -1
  65. package/dist/core/extensions/loader.js +4 -2
  66. package/dist/core/extensions/loader.js.map +1 -1
  67. package/dist/core/keybindings.d.ts +10 -0
  68. package/dist/core/keybindings.d.ts.map +1 -1
  69. package/dist/core/keybindings.js +8 -0
  70. package/dist/core/keybindings.js.map +1 -1
  71. package/dist/core/messages.d.ts +1 -1
  72. package/dist/core/messages.d.ts.map +1 -1
  73. package/dist/core/messages.js.map +1 -1
  74. package/dist/core/model-registry.d.ts +5 -1
  75. package/dist/core/model-registry.d.ts.map +1 -1
  76. package/dist/core/model-registry.js +8 -0
  77. package/dist/core/model-registry.js.map +1 -1
  78. package/dist/core/model-resolver.d.ts.map +1 -1
  79. package/dist/core/model-resolver.js +2 -0
  80. package/dist/core/model-resolver.js.map +1 -1
  81. package/dist/core/model-runtime.d.ts +1 -0
  82. package/dist/core/model-runtime.d.ts.map +1 -1
  83. package/dist/core/model-runtime.js +5 -2
  84. package/dist/core/model-runtime.js.map +1 -1
  85. package/dist/core/retry-fallback/settings.d.ts +2 -0
  86. package/dist/core/retry-fallback/settings.d.ts.map +1 -1
  87. package/dist/core/retry-fallback/settings.js.map +1 -1
  88. package/dist/core/session-manager.d.ts +5 -2
  89. package/dist/core/session-manager.d.ts.map +1 -1
  90. package/dist/core/session-manager.js +68 -19
  91. package/dist/core/session-manager.js.map +1 -1
  92. package/dist/core/session-write-reservation.d.ts +9 -0
  93. package/dist/core/session-write-reservation.d.ts.map +1 -1
  94. package/dist/core/session-write-reservation.js +33 -0
  95. package/dist/core/session-write-reservation.js.map +1 -1
  96. package/dist/core/settings-manager.d.ts +12 -5
  97. package/dist/core/settings-manager.d.ts.map +1 -1
  98. package/dist/core/settings-manager.js +18 -6
  99. package/dist/core/settings-manager.js.map +1 -1
  100. package/dist/core/settings-public-types.d.ts +1 -1
  101. package/dist/core/settings-public-types.d.ts.map +1 -1
  102. package/dist/core/settings-public-types.js.map +1 -1
  103. package/dist/core/skills.d.ts +1 -1
  104. package/dist/core/skills.d.ts.map +1 -1
  105. package/dist/core/skills.js +6 -2
  106. package/dist/core/skills.js.map +1 -1
  107. package/dist/core/system-prompt.d.ts.map +1 -1
  108. package/dist/core/system-prompt.js +8 -9
  109. package/dist/core/system-prompt.js.map +1 -1
  110. package/dist/core/tools/bash.d.ts.map +1 -1
  111. package/dist/core/tools/bash.js +3 -142
  112. package/dist/core/tools/bash.js.map +1 -1
  113. package/dist/core/tools/edit.d.ts +1 -12
  114. package/dist/core/tools/edit.d.ts.map +1 -1
  115. package/dist/core/tools/edit.js +4 -168
  116. package/dist/core/tools/edit.js.map +1 -1
  117. package/dist/core/tools/find.d.ts.map +1 -1
  118. package/dist/core/tools/find.js +2 -53
  119. package/dist/core/tools/find.js.map +1 -1
  120. package/dist/core/tools/grep.d.ts.map +1 -1
  121. package/dist/core/tools/grep.js +2 -58
  122. package/dist/core/tools/grep.js.map +1 -1
  123. package/dist/core/tools/ls.d.ts.map +1 -1
  124. package/dist/core/tools/ls.js +2 -47
  125. package/dist/core/tools/ls.js.map +1 -1
  126. package/dist/core/tools/read.d.ts +1 -4
  127. package/dist/core/tools/read.d.ts.map +1 -1
  128. package/dist/core/tools/read.js +4 -141
  129. package/dist/core/tools/read.js.map +1 -1
  130. package/dist/core/tools/renderers/bash.d.ts +12 -0
  131. package/dist/core/tools/renderers/bash.d.ts.map +1 -0
  132. package/dist/core/tools/renderers/bash.js +156 -0
  133. package/dist/core/tools/renderers/bash.js.map +1 -0
  134. package/dist/core/tools/renderers/edit.d.ts +23 -0
  135. package/dist/core/tools/renderers/edit.d.ts.map +1 -0
  136. package/dist/core/tools/renderers/edit.js +172 -0
  137. package/dist/core/tools/renderers/edit.js.map +1 -0
  138. package/dist/core/tools/renderers/find.d.ts +10 -0
  139. package/dist/core/tools/renderers/find.d.ts.map +1 -0
  140. package/dist/core/tools/renderers/find.js +64 -0
  141. package/dist/core/tools/renderers/find.js.map +1 -0
  142. package/dist/core/tools/renderers/grep.d.ts +10 -0
  143. package/dist/core/tools/renderers/grep.d.ts.map +1 -0
  144. package/dist/core/tools/renderers/grep.js +69 -0
  145. package/dist/core/tools/renderers/grep.js.map +1 -0
  146. package/dist/core/tools/renderers/index.d.ts +28 -0
  147. package/dist/core/tools/renderers/index.d.ts.map +1 -0
  148. package/dist/core/tools/renderers/index.js +47 -0
  149. package/dist/core/tools/renderers/index.js.map +1 -0
  150. package/dist/core/tools/renderers/ls.d.ts +10 -0
  151. package/dist/core/tools/renderers/ls.d.ts.map +1 -0
  152. package/dist/core/tools/renderers/ls.js +58 -0
  153. package/dist/core/tools/renderers/ls.js.map +1 -0
  154. package/dist/core/tools/renderers/read.d.ts +19 -0
  155. package/dist/core/tools/renderers/read.d.ts.map +1 -0
  156. package/dist/core/tools/renderers/read.js +149 -0
  157. package/dist/core/tools/renderers/read.js.map +1 -0
  158. package/dist/core/tools/renderers/write.d.ts +10 -0
  159. package/dist/core/tools/renderers/write.d.ts.map +1 -0
  160. package/dist/core/tools/renderers/write.js +162 -0
  161. package/dist/core/tools/renderers/write.js.map +1 -0
  162. package/dist/core/tools/write.d.ts.map +1 -1
  163. package/dist/core/tools/write.js +4 -153
  164. package/dist/core/tools/write.js.map +1 -1
  165. package/dist/index.d.ts +2 -2
  166. package/dist/index.d.ts.map +1 -1
  167. package/dist/index.js.map +1 -1
  168. package/dist/migrations.d.ts.map +1 -1
  169. package/dist/migrations.js +2 -2
  170. package/dist/migrations.js.map +1 -1
  171. package/dist/modes/app-server/threads/turn-runtime.d.ts +3 -1
  172. package/dist/modes/app-server/threads/turn-runtime.d.ts.map +1 -1
  173. package/dist/modes/app-server/threads/turn-runtime.js.map +1 -1
  174. package/dist/modes/app-server/threads/turns.js +1 -1
  175. package/dist/modes/app-server/threads/turns.js.map +1 -1
  176. package/dist/modes/app-server/turn-adapter.js +4 -2
  177. package/dist/modes/app-server/turn-adapter.js.map +1 -1
  178. package/dist/modes/interactive/chat-viewport.d.ts +22 -0
  179. package/dist/modes/interactive/chat-viewport.d.ts.map +1 -0
  180. package/dist/modes/interactive/chat-viewport.js +29 -0
  181. package/dist/modes/interactive/chat-viewport.js.map +1 -0
  182. package/dist/modes/interactive/components/ask-user-answer-key.d.ts +14 -0
  183. package/dist/modes/interactive/components/ask-user-answer-key.d.ts.map +1 -0
  184. package/dist/modes/interactive/components/ask-user-answer-key.js +65 -0
  185. package/dist/modes/interactive/components/ask-user-answer-key.js.map +1 -0
  186. package/dist/modes/interactive/components/ask-user-async-widget.d.ts +17 -12
  187. package/dist/modes/interactive/components/ask-user-async-widget.d.ts.map +1 -1
  188. package/dist/modes/interactive/components/ask-user-async-widget.js +47 -23
  189. package/dist/modes/interactive/components/ask-user-async-widget.js.map +1 -1
  190. package/dist/modes/interactive/components/assistant-message.d.ts +7 -0
  191. package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
  192. package/dist/modes/interactive/components/assistant-message.js +26 -2
  193. package/dist/modes/interactive/components/assistant-message.js.map +1 -1
  194. package/dist/modes/interactive/components/assistant-render-descriptors.d.ts +4 -0
  195. package/dist/modes/interactive/components/assistant-render-descriptors.d.ts.map +1 -1
  196. package/dist/modes/interactive/components/assistant-render-descriptors.js +8 -5
  197. package/dist/modes/interactive/components/assistant-render-descriptors.js.map +1 -1
  198. package/dist/modes/interactive/components/custom-editor.d.ts +10 -1
  199. package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
  200. package/dist/modes/interactive/components/custom-editor.js +37 -1
  201. package/dist/modes/interactive/components/custom-editor.js.map +1 -1
  202. package/dist/modes/interactive/components/index.d.ts +1 -1
  203. package/dist/modes/interactive/components/index.d.ts.map +1 -1
  204. package/dist/modes/interactive/components/index.js.map +1 -1
  205. package/dist/modes/interactive/components/scoped-models-selector.js +8 -8
  206. package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
  207. package/dist/modes/interactive/components/status-indicator.d.ts +4 -1
  208. package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -1
  209. package/dist/modes/interactive/components/status-indicator.js +14 -2
  210. package/dist/modes/interactive/components/status-indicator.js.map +1 -1
  211. package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
  212. package/dist/modes/interactive/components/thinking-selector.js +4 -4
  213. package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
  214. package/dist/modes/interactive/components/tool-execution-renderer.d.ts +4 -1
  215. package/dist/modes/interactive/components/tool-execution-renderer.d.ts.map +1 -1
  216. package/dist/modes/interactive/components/tool-execution-renderer.js +23 -10
  217. package/dist/modes/interactive/components/tool-execution-renderer.js.map +1 -1
  218. package/dist/modes/interactive/components/tool-execution-types.d.ts +18 -2
  219. package/dist/modes/interactive/components/tool-execution-types.d.ts.map +1 -1
  220. package/dist/modes/interactive/components/tool-execution-types.js.map +1 -1
  221. package/dist/modes/interactive/components/tool-execution.d.ts +3 -3
  222. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  223. package/dist/modes/interactive/components/tool-execution.js +5 -0
  224. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  225. package/dist/modes/interactive/interactive-mode.d.ts +10 -15
  226. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  227. package/dist/modes/interactive/interactive-mode.js +178 -138
  228. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  229. package/dist/modes/interactive/theme/dark.json +2 -1
  230. package/dist/modes/interactive/theme/grok-day.json +2 -1
  231. package/dist/modes/interactive/theme/grok-night.json +2 -1
  232. package/dist/modes/interactive/theme/light.json +2 -1
  233. package/dist/modes/interactive/theme/theme-controller.d.ts +1 -0
  234. package/dist/modes/interactive/theme/theme-controller.d.ts.map +1 -1
  235. package/dist/modes/interactive/theme/theme-controller.js +5 -0
  236. package/dist/modes/interactive/theme/theme-controller.js.map +1 -1
  237. package/dist/modes/interactive/theme/theme-json.d.ts +84 -0
  238. package/dist/modes/interactive/theme/theme-json.d.ts.map +1 -0
  239. package/dist/modes/interactive/theme/theme-json.js +130 -0
  240. package/dist/modes/interactive/theme/theme-json.js.map +1 -0
  241. package/dist/modes/interactive/theme/theme-schema.json +6 -2
  242. package/dist/modes/interactive/theme/theme.d.ts +10 -5
  243. package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
  244. package/dist/modes/interactive/theme/theme.js +14 -117
  245. package/dist/modes/interactive/theme/theme.js.map +1 -1
  246. package/dist/modes/interactive/tips/catalog/input-tips.d.ts +5 -0
  247. package/dist/modes/interactive/tips/catalog/input-tips.d.ts.map +1 -1
  248. package/dist/modes/interactive/tips/catalog/input-tips.js +5 -0
  249. package/dist/modes/interactive/tips/catalog/input-tips.js.map +1 -1
  250. package/dist/modes/interactive/tui-renderer.d.ts +21 -0
  251. package/dist/modes/interactive/tui-renderer.d.ts.map +1 -0
  252. package/dist/modes/interactive/tui-renderer.js +67 -0
  253. package/dist/modes/interactive/tui-renderer.js.map +1 -0
  254. package/dist/modes/rpc/connection-handler.d.ts.map +1 -1
  255. package/dist/modes/rpc/connection-handler.js +8 -2
  256. package/dist/modes/rpc/connection-handler.js.map +1 -1
  257. package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
  258. package/dist/modes/rpc/rpc-client.js +11 -1
  259. package/dist/modes/rpc/rpc-client.js.map +1 -1
  260. package/dist/modes/rpc/rpc-types.d.ts +2 -1
  261. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  262. package/dist/modes/rpc/rpc-types.js +1 -0
  263. package/dist/modes/rpc/rpc-types.js.map +1 -1
  264. package/dist/modes/rpc/session-path-reservations.d.ts +30 -0
  265. package/dist/modes/rpc/session-path-reservations.d.ts.map +1 -0
  266. package/dist/modes/rpc/session-path-reservations.js +58 -0
  267. package/dist/modes/rpc/session-path-reservations.js.map +1 -0
  268. package/dist/modes/rpc/session-registry.d.ts +3 -1
  269. package/dist/modes/rpc/session-registry.d.ts.map +1 -1
  270. package/dist/modes/rpc/session-registry.js.map +1 -1
  271. package/dist/modes/rpc/session-worker-client.d.ts +10 -8
  272. package/dist/modes/rpc/session-worker-client.d.ts.map +1 -1
  273. package/dist/modes/rpc/session-worker-client.js +14 -23
  274. package/dist/modes/rpc/session-worker-client.js.map +1 -1
  275. package/dist/modes/rpc/session-worker-credit.d.ts +17 -0
  276. package/dist/modes/rpc/session-worker-credit.d.ts.map +1 -0
  277. package/dist/modes/rpc/session-worker-credit.js +39 -0
  278. package/dist/modes/rpc/session-worker-credit.js.map +1 -0
  279. package/dist/modes/rpc/session-worker-protocol.d.ts +10 -0
  280. package/dist/modes/rpc/session-worker-protocol.d.ts.map +1 -1
  281. package/dist/modes/rpc/session-worker-protocol.js +2 -0
  282. package/dist/modes/rpc/session-worker-protocol.js.map +1 -1
  283. package/dist/modes/rpc/session-worker-signals.d.ts +7 -0
  284. package/dist/modes/rpc/session-worker-signals.d.ts.map +1 -0
  285. package/dist/modes/rpc/session-worker-signals.js +19 -0
  286. package/dist/modes/rpc/session-worker-signals.js.map +1 -0
  287. package/dist/modes/rpc/session-worker.js +12 -16
  288. package/dist/modes/rpc/session-worker.js.map +1 -1
  289. package/dist/modes/rpc/worker-session-registry.d.ts +12 -0
  290. package/dist/modes/rpc/worker-session-registry.d.ts.map +1 -1
  291. package/dist/modes/rpc/worker-session-registry.js +51 -24
  292. package/dist/modes/rpc/worker-session-registry.js.map +1 -1
  293. package/dist/senpi +3 -0
  294. package/dist/utils/clipboard-command.d.ts +7 -0
  295. package/dist/utils/clipboard-command.d.ts.map +1 -0
  296. package/dist/utils/clipboard-command.js +45 -0
  297. package/dist/utils/clipboard-command.js.map +1 -0
  298. package/dist/utils/clipboard-image.d.ts.map +1 -1
  299. package/dist/utils/clipboard-image.js +52 -69
  300. package/dist/utils/clipboard-image.js.map +1 -1
  301. package/dist/utils/clipboard.d.ts.map +1 -1
  302. package/dist/utils/clipboard.js +49 -126
  303. package/dist/utils/clipboard.js.map +1 -1
  304. package/dist/utils/exif-orientation.d.ts.map +1 -1
  305. package/dist/utils/exif-orientation.js +2 -3
  306. package/dist/utils/exif-orientation.js.map +1 -1
  307. package/dist/utils/tools-manager.d.ts +1 -0
  308. package/dist/utils/tools-manager.d.ts.map +1 -1
  309. package/dist/utils/tools-manager.js +41 -19
  310. package/dist/utils/tools-manager.js.map +1 -1
  311. package/docs/compaction.md +39 -13
  312. package/docs/containerization.md +45 -0
  313. package/docs/development.md +19 -0
  314. package/docs/docs.json +4 -0
  315. package/docs/environment-variables.md +2 -0
  316. package/docs/extensions.md +21 -10
  317. package/docs/keybindings.md +7 -2
  318. package/docs/models.md +1 -1
  319. package/docs/providers.md +1 -1
  320. package/docs/rpc.md +16 -8
  321. package/docs/sdk.md +7 -0
  322. package/docs/session-format.md +52 -38
  323. package/docs/settings.md +40 -4
  324. package/docs/skills.md +1 -1
  325. package/docs/termux.md +0 -1
  326. package/docs/themes.md +8 -6
  327. package/docs/tui.md +22 -3
  328. package/examples/README.md +3 -0
  329. package/examples/extensions/dynamic-resources/dynamic.json +2 -0
  330. package/examples/plugins/pi-example-plugin/README.md +38 -0
  331. package/examples/plugins/pi-example-plugin/package.json +10 -0
  332. package/examples/plugins/pi-example-plugin/src/contract.ts +13 -0
  333. package/examples/plugins/pi-example-plugin/src/session.ts +23 -0
  334. package/examples/plugins/pi-example-plugin/src/tui.ts +31 -0
  335. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +1 -1
  336. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +3 -3
  337. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
  338. package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
  339. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
  340. package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
  341. package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
  342. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
  343. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
  344. package/node_modules/@aws-sdk/core/package.json +1 -1
  345. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  346. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  347. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  348. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  349. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
  350. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
  351. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  352. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  353. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +201 -0
  354. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +62 -0
  355. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +158 -0
  356. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +2 -0
  357. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +16 -0
  358. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +84 -0
  359. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +8 -0
  360. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +11 -0
  361. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +10 -0
  362. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -0
  363. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +5 -0
  364. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +7 -0
  365. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +7 -0
  366. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +8 -0
  367. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +8 -0
  368. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
  369. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +12 -0
  370. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +9 -0
  371. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +8 -0
  372. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +7 -0
  373. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +7 -0
  374. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +18 -0
  375. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +3 -0
  376. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +8 -0
  377. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +10 -0
  378. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +5 -0
  379. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +9 -0
  380. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +7 -0
  381. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +7 -0
  382. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +3 -0
  383. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +2 -0
  384. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +1 -0
  385. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +2 -0
  386. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +5 -0
  387. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +4 -0
  388. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +5 -0
  389. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +69 -0
  390. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  391. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  392. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  393. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  394. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  395. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  396. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  397. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  398. package/node_modules/@aws-sdk/token-providers/package.json +1 -1
  399. package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +36 -0
  400. package/node_modules/@code-yeongyu/senpi-codemode/package.json +5 -5
  401. package/node_modules/@earendil-works/chord/README.md +205 -0
  402. package/node_modules/@earendil-works/chord/dist/api.d.ts +15 -0
  403. package/node_modules/@earendil-works/chord/dist/api.d.ts.map +1 -0
  404. package/node_modules/@earendil-works/chord/dist/api.js +72 -0
  405. package/node_modules/@earendil-works/chord/dist/api.js.map +1 -0
  406. package/node_modules/@earendil-works/chord/dist/bundler.d.ts +6 -0
  407. package/node_modules/@earendil-works/chord/dist/bundler.d.ts.map +1 -0
  408. package/node_modules/@earendil-works/chord/dist/bundler.js +3 -0
  409. package/node_modules/@earendil-works/chord/dist/bundler.js.map +1 -0
  410. package/node_modules/@earendil-works/chord/dist/context/index.d.ts +24 -0
  411. package/node_modules/@earendil-works/chord/dist/context/index.d.ts.map +1 -0
  412. package/node_modules/@earendil-works/chord/dist/context/index.js +97 -0
  413. package/node_modules/@earendil-works/chord/dist/context/index.js.map +1 -0
  414. package/node_modules/@earendil-works/chord/dist/delta/index.d.ts +119 -0
  415. package/node_modules/@earendil-works/chord/dist/delta/index.d.ts.map +1 -0
  416. package/node_modules/@earendil-works/chord/dist/delta/index.js +1209 -0
  417. package/node_modules/@earendil-works/chord/dist/delta/index.js.map +1 -0
  418. package/node_modules/@earendil-works/chord/dist/facets/host.d.ts +12 -0
  419. package/node_modules/@earendil-works/chord/dist/facets/host.d.ts.map +1 -0
  420. package/node_modules/@earendil-works/chord/dist/facets/host.js +762 -0
  421. package/node_modules/@earendil-works/chord/dist/facets/host.js.map +1 -0
  422. package/node_modules/@earendil-works/chord/dist/facets/loader.d.ts +3 -0
  423. package/node_modules/@earendil-works/chord/dist/facets/loader.d.ts.map +1 -0
  424. package/node_modules/@earendil-works/chord/dist/facets/loader.js +5 -0
  425. package/node_modules/@earendil-works/chord/dist/facets/loader.js.map +1 -0
  426. package/node_modules/@earendil-works/chord/dist/index.d.ts +11 -0
  427. package/node_modules/@earendil-works/chord/dist/index.d.ts.map +1 -0
  428. package/node_modules/@earendil-works/chord/dist/index.js +10 -0
  429. package/node_modules/@earendil-works/chord/dist/index.js.map +1 -0
  430. package/node_modules/@earendil-works/chord/dist/json.d.ts +4 -0
  431. package/node_modules/@earendil-works/chord/dist/json.d.ts.map +1 -0
  432. package/node_modules/@earendil-works/chord/dist/json.js +57 -0
  433. package/node_modules/@earendil-works/chord/dist/json.js.map +1 -0
  434. package/node_modules/@earendil-works/chord/dist/node/bundle-loader.d.ts +30 -0
  435. package/node_modules/@earendil-works/chord/dist/node/bundle-loader.d.ts.map +1 -0
  436. package/node_modules/@earendil-works/chord/dist/node/bundle-loader.js +377 -0
  437. package/node_modules/@earendil-works/chord/dist/node/bundle-loader.js.map +1 -0
  438. package/node_modules/@earendil-works/chord/dist/node/bundle.d.ts +26 -0
  439. package/node_modules/@earendil-works/chord/dist/node/bundle.d.ts.map +1 -0
  440. package/node_modules/@earendil-works/chord/dist/node/bundle.js +183 -0
  441. package/node_modules/@earendil-works/chord/dist/node/bundle.js.map +1 -0
  442. package/node_modules/@earendil-works/chord/dist/node/manifest.d.ts +36 -0
  443. package/node_modules/@earendil-works/chord/dist/node/manifest.d.ts.map +1 -0
  444. package/node_modules/@earendil-works/chord/dist/node/manifest.js +6 -0
  445. package/node_modules/@earendil-works/chord/dist/node/manifest.js.map +1 -0
  446. package/node_modules/@earendil-works/chord/dist/node/package.d.ts +15 -0
  447. package/node_modules/@earendil-works/chord/dist/node/package.d.ts.map +1 -0
  448. package/node_modules/@earendil-works/chord/dist/node/package.js +199 -0
  449. package/node_modules/@earendil-works/chord/dist/node/package.js.map +1 -0
  450. package/node_modules/@earendil-works/chord/dist/node.d.ts +5 -0
  451. package/node_modules/@earendil-works/chord/dist/node.d.ts.map +1 -0
  452. package/node_modules/@earendil-works/chord/dist/node.js +3 -0
  453. package/node_modules/@earendil-works/chord/dist/node.js.map +1 -0
  454. package/node_modules/@earendil-works/chord/dist/services/consumer.d.ts +11 -0
  455. package/node_modules/@earendil-works/chord/dist/services/consumer.d.ts.map +1 -0
  456. package/node_modules/@earendil-works/chord/dist/services/consumer.js +535 -0
  457. package/node_modules/@earendil-works/chord/dist/services/consumer.js.map +1 -0
  458. package/node_modules/@earendil-works/chord/dist/services/errors.d.ts +8 -0
  459. package/node_modules/@earendil-works/chord/dist/services/errors.d.ts.map +1 -0
  460. package/node_modules/@earendil-works/chord/dist/services/errors.js +21 -0
  461. package/node_modules/@earendil-works/chord/dist/services/errors.js.map +1 -0
  462. package/node_modules/@earendil-works/chord/dist/services/handle.d.ts +15 -0
  463. package/node_modules/@earendil-works/chord/dist/services/handle.d.ts.map +1 -0
  464. package/node_modules/@earendil-works/chord/dist/services/handle.js +99 -0
  465. package/node_modules/@earendil-works/chord/dist/services/handle.js.map +1 -0
  466. package/node_modules/@earendil-works/chord/dist/services/instances.d.ts +25 -0
  467. package/node_modules/@earendil-works/chord/dist/services/instances.d.ts.map +1 -0
  468. package/node_modules/@earendil-works/chord/dist/services/instances.js +137 -0
  469. package/node_modules/@earendil-works/chord/dist/services/instances.js.map +1 -0
  470. package/node_modules/@earendil-works/chord/dist/services/loopback.d.ts +5 -0
  471. package/node_modules/@earendil-works/chord/dist/services/loopback.d.ts.map +1 -0
  472. package/node_modules/@earendil-works/chord/dist/services/loopback.js +15 -0
  473. package/node_modules/@earendil-works/chord/dist/services/loopback.js.map +1 -0
  474. package/node_modules/@earendil-works/chord/dist/services/provider.d.ts +37 -0
  475. package/node_modules/@earendil-works/chord/dist/services/provider.d.ts.map +1 -0
  476. package/node_modules/@earendil-works/chord/dist/services/provider.js +472 -0
  477. package/node_modules/@earendil-works/chord/dist/services/provider.js.map +1 -0
  478. package/node_modules/@earendil-works/chord/dist/services/state-codec.d.ts +15 -0
  479. package/node_modules/@earendil-works/chord/dist/services/state-codec.d.ts.map +1 -0
  480. package/node_modules/@earendil-works/chord/dist/services/state-codec.js +115 -0
  481. package/node_modules/@earendil-works/chord/dist/services/state-codec.js.map +1 -0
  482. package/node_modules/@earendil-works/chord/dist/services/state-internals.d.ts +11 -0
  483. package/node_modules/@earendil-works/chord/dist/services/state-internals.d.ts.map +1 -0
  484. package/node_modules/@earendil-works/chord/dist/services/state-internals.js +10 -0
  485. package/node_modules/@earendil-works/chord/dist/services/state-internals.js.map +1 -0
  486. package/node_modules/@earendil-works/chord/dist/services/state.d.ts +23 -0
  487. package/node_modules/@earendil-works/chord/dist/services/state.d.ts.map +1 -0
  488. package/node_modules/@earendil-works/chord/dist/services/state.js +124 -0
  489. package/node_modules/@earendil-works/chord/dist/services/state.js.map +1 -0
  490. package/node_modules/@earendil-works/chord/dist/services/wire.d.ts +60 -0
  491. package/node_modules/@earendil-works/chord/dist/services/wire.d.ts.map +1 -0
  492. package/node_modules/@earendil-works/chord/dist/services/wire.js +173 -0
  493. package/node_modules/@earendil-works/chord/dist/services/wire.js.map +1 -0
  494. package/node_modules/@earendil-works/chord/dist/types.d.ts +203 -0
  495. package/node_modules/@earendil-works/chord/dist/types.d.ts.map +1 -0
  496. package/node_modules/@earendil-works/chord/dist/types.js +2 -0
  497. package/node_modules/@earendil-works/chord/dist/types.js.map +1 -0
  498. package/node_modules/@earendil-works/chord/package.json +73 -0
  499. package/node_modules/@earendil-works/pi-agent-core/README.md +4 -0
  500. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts +639 -384
  501. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts.map +1 -1
  502. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +5 -250
  503. package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js.map +1 -1
  504. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts +12 -6
  505. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts.map +1 -1
  506. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +33 -27
  507. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js.map +1 -1
  508. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts +30 -8
  509. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts.map +1 -1
  510. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +53 -64
  511. package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js.map +1 -1
  512. package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.d.ts +9 -0
  513. package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.d.ts.map +1 -0
  514. package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.js +35 -0
  515. package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.js.map +1 -0
  516. package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.d.ts +9 -0
  517. package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.d.ts.map +1 -0
  518. package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.js +13 -0
  519. package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.js.map +1 -0
  520. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts +25 -28
  521. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts.map +1 -1
  522. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +368 -125
  523. package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js.map +1 -1
  524. package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.d.ts +20 -38
  525. package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.d.ts.map +1 -1
  526. package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.js +233 -55
  527. package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.js.map +1 -1
  528. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.d.ts +42 -0
  529. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.d.ts.map +1 -0
  530. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.js +82 -0
  531. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.js.map +1 -0
  532. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.d.ts +22 -0
  533. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.d.ts.map +1 -0
  534. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.js +48 -0
  535. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.js.map +1 -0
  536. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.d.ts +67 -0
  537. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.d.ts.map +1 -0
  538. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.js +121 -0
  539. package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.js.map +1 -0
  540. package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.d.ts +38 -0
  541. package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.d.ts.map +1 -0
  542. package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.js +404 -0
  543. package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.js.map +1 -0
  544. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts +2 -2
  545. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts.map +1 -1
  546. package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js.map +1 -1
  547. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts +3 -2
  548. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts.map +1 -1
  549. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +17 -17
  550. package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js.map +1 -1
  551. package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.d.ts +93 -0
  552. package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.d.ts.map +1 -1
  553. package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.js +39 -0
  554. package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.js.map +1 -1
  555. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.d.ts +28 -0
  556. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.d.ts.map +1 -0
  557. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.js +173 -0
  558. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.js.map +1 -0
  559. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.d.ts +8 -0
  560. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.d.ts.map +1 -0
  561. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.js +133 -0
  562. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.js.map +1 -0
  563. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.d.ts +15 -0
  564. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.d.ts.map +1 -0
  565. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.js +179 -0
  566. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.js.map +1 -0
  567. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.d.ts +8 -0
  568. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.d.ts.map +1 -0
  569. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.js +205 -0
  570. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.js.map +1 -0
  571. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.d.ts +5 -0
  572. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.d.ts.map +1 -0
  573. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.js +140 -0
  574. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.js.map +1 -0
  575. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.d.ts +8 -0
  576. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.d.ts.map +1 -0
  577. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.js +85 -0
  578. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.js.map +1 -0
  579. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.d.ts +23 -0
  580. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.d.ts.map +1 -0
  581. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.js +394 -0
  582. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.js.map +1 -0
  583. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.d.ts +4 -0
  584. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.d.ts.map +1 -0
  585. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.js +34 -0
  586. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.js.map +1 -0
  587. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.d.ts +32 -0
  588. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.d.ts.map +1 -0
  589. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.js +929 -0
  590. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.js.map +1 -0
  591. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.d.ts +7 -0
  592. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.d.ts.map +1 -0
  593. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.js +49 -0
  594. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.js.map +1 -0
  595. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.d.ts +14 -0
  596. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.d.ts.map +1 -0
  597. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.js +244 -0
  598. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.js.map +1 -0
  599. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.d.ts +6 -0
  600. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.d.ts.map +1 -0
  601. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.js +449 -0
  602. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.js.map +1 -0
  603. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.d.ts +6 -0
  604. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.d.ts.map +1 -0
  605. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.js +93 -0
  606. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.js.map +1 -0
  607. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.d.ts +59 -0
  608. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.d.ts.map +1 -0
  609. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.js +302 -0
  610. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.js.map +1 -0
  611. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.d.ts +2 -0
  612. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.d.ts.map +1 -0
  613. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.js +2 -0
  614. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.js.map +1 -0
  615. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.d.ts +118 -0
  616. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.d.ts.map +1 -0
  617. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.js +1559 -0
  618. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.js.map +1 -0
  619. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.d.ts +15 -0
  620. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.d.ts.map +1 -0
  621. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.js +66 -0
  622. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.js.map +1 -0
  623. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.d.ts +5 -0
  624. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.d.ts.map +1 -0
  625. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.js +240 -0
  626. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.js.map +1 -0
  627. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.d.ts +24 -0
  628. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.d.ts.map +1 -0
  629. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.js +117 -0
  630. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.js.map +1 -0
  631. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.d.ts +21 -0
  632. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.d.ts.map +1 -0
  633. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.js +72 -0
  634. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.js.map +1 -0
  635. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.d.ts +105 -0
  636. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.d.ts.map +1 -0
  637. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.js +50 -0
  638. package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.js.map +1 -0
  639. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.d.ts +53 -0
  640. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.d.ts.map +1 -0
  641. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.js +57 -0
  642. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.js.map +1 -0
  643. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.d.ts +6 -19
  644. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.d.ts.map +1 -1
  645. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.js +31 -53
  646. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.js.map +1 -1
  647. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.d.ts +21 -0
  648. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.d.ts.map +1 -0
  649. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.js +55 -0
  650. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.js.map +1 -0
  651. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.d.ts +16 -0
  652. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.d.ts.map +1 -0
  653. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.js +79 -0
  654. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.js.map +1 -0
  655. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.d.ts +39 -0
  656. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.d.ts.map +1 -0
  657. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.js +269 -0
  658. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.js.map +1 -0
  659. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.d.ts +9 -5
  660. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.d.ts.map +1 -1
  661. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.js +7 -4
  662. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.js.map +1 -1
  663. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.d.ts +19 -8
  664. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.d.ts.map +1 -1
  665. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.js +34 -219
  666. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.js.map +1 -1
  667. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.d.ts +38 -0
  668. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.d.ts.map +1 -0
  669. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.js +266 -0
  670. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.js.map +1 -0
  671. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.d.ts +4 -0
  672. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.d.ts.map +1 -0
  673. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.js +4 -0
  674. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.js.map +1 -0
  675. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.d.ts +14 -0
  676. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.d.ts.map +1 -0
  677. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.js +86 -0
  678. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.js.map +1 -0
  679. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.d.ts +44 -0
  680. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.d.ts.map +1 -0
  681. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.js +454 -0
  682. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.js.map +1 -0
  683. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.d.ts +27 -24
  684. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.d.ts.map +1 -1
  685. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.js +276 -151
  686. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.js.map +1 -1
  687. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.d.ts +39 -41
  688. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.d.ts.map +1 -1
  689. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.js +175 -196
  690. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.js.map +1 -1
  691. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.d.ts +23 -22
  692. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.d.ts.map +1 -1
  693. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.js +2 -1
  694. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.js.map +1 -1
  695. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.d.ts +44 -40
  696. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.d.ts.map +1 -1
  697. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.js +333 -115
  698. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.js.map +1 -1
  699. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.d.ts +8 -0
  700. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.d.ts.map +1 -0
  701. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.js +22 -0
  702. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.js.map +1 -0
  703. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts +78 -51
  704. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts.map +1 -1
  705. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +327 -207
  706. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js.map +1 -1
  707. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.d.ts +12 -0
  708. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.d.ts.map +1 -0
  709. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.js +24 -0
  710. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.js.map +1 -0
  711. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.d.ts +42 -0
  712. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.d.ts.map +1 -0
  713. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.js +127 -0
  714. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.js.map +1 -0
  715. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.d.ts +25 -0
  716. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.d.ts.map +1 -0
  717. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.js +114 -0
  718. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.js.map +1 -0
  719. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.d.ts +23 -0
  720. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.d.ts.map +1 -0
  721. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.js +809 -0
  722. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.js.map +1 -0
  723. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.d.ts +4 -0
  724. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.d.ts.map +1 -0
  725. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.js +600 -0
  726. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.js.map +1 -0
  727. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.d.ts +26 -0
  728. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.d.ts.map +1 -0
  729. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.js +103 -0
  730. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.js.map +1 -0
  731. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.d.ts +9 -2
  732. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.d.ts.map +1 -1
  733. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.js +8 -1
  734. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.js.map +1 -1
  735. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.d.ts +11 -0
  736. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.d.ts.map +1 -0
  737. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.js +19 -0
  738. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.js.map +1 -0
  739. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.d.ts +20 -0
  740. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.d.ts.map +1 -0
  741. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.js +40 -0
  742. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.js.map +1 -0
  743. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.d.ts +5 -7
  744. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.d.ts.map +1 -1
  745. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.js.map +1 -1
  746. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.d.ts +425 -265
  747. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.d.ts.map +1 -1
  748. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.js +7 -7
  749. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.js.map +1 -1
  750. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.d.ts +95 -0
  751. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.d.ts.map +1 -0
  752. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.js +81 -0
  753. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.js.map +1 -0
  754. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts +3 -2
  755. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts.map +1 -1
  756. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +29 -26
  757. package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js.map +1 -1
  758. package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.d.ts +64 -43
  759. package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.d.ts.map +1 -1
  760. package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.js +45 -26
  761. package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.js.map +1 -1
  762. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.d.ts +4 -4
  763. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.d.ts.map +1 -1
  764. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.js +66 -93
  765. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.js.map +1 -1
  766. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.d.ts.map +1 -1
  767. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.js +17 -13
  768. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.js.map +1 -1
  769. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.d.ts +2 -1
  770. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.d.ts.map +1 -1
  771. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.js +5 -5
  772. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.js.map +1 -1
  773. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.d.ts +3 -2
  774. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.d.ts.map +1 -1
  775. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.js +5 -5
  776. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.js.map +1 -1
  777. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.d.ts +2 -1
  778. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.d.ts.map +1 -1
  779. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.js +4 -6
  780. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.js.map +1 -1
  781. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.d.ts.map +1 -1
  782. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.js +12 -8
  783. package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.js.map +1 -1
  784. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts +128 -45
  785. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts.map +1 -1
  786. package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js.map +1 -1
  787. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.d.ts +24 -0
  788. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.d.ts.map +1 -0
  789. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.js +79 -0
  790. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.js.map +1 -0
  791. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.d.ts +31 -0
  792. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.d.ts.map +1 -0
  793. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.js +217 -0
  794. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.js.map +1 -0
  795. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts +19 -5
  796. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts.map +1 -1
  797. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +65 -192
  798. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js.map +1 -1
  799. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts +1 -0
  800. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts.map +1 -1
  801. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +1 -1
  802. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js.map +1 -1
  803. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.d.ts +4 -0
  804. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.d.ts.map +1 -0
  805. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.js +33 -0
  806. package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.js.map +1 -0
  807. package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts +4 -1
  808. package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts.map +1 -1
  809. package/node_modules/@earendil-works/pi-agent-core/dist/index.js +3 -6
  810. package/node_modules/@earendil-works/pi-agent-core/dist/index.js.map +1 -1
  811. package/node_modules/@earendil-works/pi-agent-core/dist/search/index.d.ts +24 -16
  812. package/node_modules/@earendil-works/pi-agent-core/dist/search/index.d.ts.map +1 -1
  813. package/node_modules/@earendil-works/pi-agent-core/dist/search/index.js +1 -1
  814. package/node_modules/@earendil-works/pi-agent-core/dist/search/index.js.map +1 -1
  815. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +2 -0
  816. package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -1
  817. package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -1
  818. package/node_modules/@earendil-works/pi-agent-core/package.json +27 -6
  819. package/node_modules/@earendil-works/pi-ai/README.md +39 -4
  820. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.d.ts.map +1 -1
  821. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +8 -1
  822. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js.map +1 -1
  823. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.d.ts +77 -0
  824. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.d.ts.map +1 -0
  825. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.js +72 -0
  826. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.js.map +1 -0
  827. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.d.ts +11 -0
  828. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.d.ts.map +1 -1
  829. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.js +18 -0
  830. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.js.map +1 -1
  831. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.d.ts +1 -1
  832. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.d.ts.map +1 -1
  833. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.js +5 -1
  834. package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.js.map +1 -1
  835. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.d.ts +2 -0
  836. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.d.ts.map +1 -1
  837. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.js +96 -51
  838. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.js.map +1 -1
  839. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.d.ts +389 -1
  840. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.d.ts.map +1 -1
  841. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.js +132 -4
  842. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.js.map +1 -1
  843. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.d.ts +34 -4
  844. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.d.ts.map +1 -1
  845. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.js +41 -8
  846. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.js.map +1 -1
  847. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.d.ts +20 -0
  848. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.d.ts.map +1 -1
  849. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.js +20 -0
  850. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.js.map +1 -1
  851. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.d.ts +18 -6
  852. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.d.ts.map +1 -1
  853. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.js +77 -35
  854. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.js.map +1 -1
  855. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.d.ts +9 -3
  856. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.d.ts.map +1 -1
  857. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.js +30 -38
  858. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.js.map +1 -1
  859. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.d.ts +16 -0
  860. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.d.ts.map +1 -0
  861. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.js +69 -0
  862. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.js.map +1 -0
  863. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.d.ts +26 -0
  864. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.d.ts.map +1 -0
  865. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.js +61 -0
  866. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.js.map +1 -0
  867. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.d.ts +6 -4
  868. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.d.ts.map +1 -1
  869. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.js +6 -4
  870. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.js.map +1 -1
  871. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.d.ts +13 -5
  872. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.d.ts.map +1 -1
  873. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.js +76 -21
  874. package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.js.map +1 -1
  875. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +4 -1
  876. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js.map +1 -1
  877. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts.map +1 -1
  878. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +6 -3
  879. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js.map +1 -1
  880. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts.map +1 -1
  881. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +4 -1
  882. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js.map +1 -1
  883. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts.map +1 -1
  884. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +13 -3
  885. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js.map +1 -1
  886. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.d.ts +5 -0
  887. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.d.ts.map +1 -1
  888. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.js +7 -2
  889. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.js.map +1 -1
  890. package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.d.ts +32 -0
  891. package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.d.ts.map +1 -0
  892. package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.js +62 -0
  893. package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.js.map +1 -0
  894. package/node_modules/@earendil-works/pi-ai/dist/cursor/store-migration.d.ts.map +1 -1
  895. package/node_modules/@earendil-works/pi-ai/dist/cursor/store-migration.js +2 -1
  896. package/node_modules/@earendil-works/pi-ai/dist/cursor/store-migration.js.map +1 -1
  897. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +2 -1
  898. package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -1
  899. package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -1
  900. package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -1
  901. package/node_modules/@earendil-works/pi-ai/dist/model.d.ts +11 -1
  902. package/node_modules/@earendil-works/pi-ai/dist/model.d.ts.map +1 -1
  903. package/node_modules/@earendil-works/pi-ai/dist/model.js.map +1 -1
  904. package/node_modules/@earendil-works/pi-ai/dist/models.d.ts +1 -0
  905. package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
  906. package/node_modules/@earendil-works/pi-ai/dist/models.js +5 -2
  907. package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
  908. package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.d.ts +1 -1
  909. package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.d.ts.map +1 -1
  910. package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.js.map +1 -1
  911. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.d.ts.map +1 -1
  912. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js +4 -0
  913. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js.map +1 -1
  914. package/node_modules/@earendil-works/pi-ai/dist/providers/cursor.d.ts.map +1 -1
  915. package/node_modules/@earendil-works/pi-ai/dist/providers/cursor.js +2 -1
  916. package/node_modules/@earendil-works/pi-ai/dist/providers/cursor.js.map +1 -1
  917. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  918. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  919. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +1 -1
  920. package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
  921. package/node_modules/@earendil-works/pi-ai/dist/providers/data/deepseek.json +1 -1
  922. package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  923. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  924. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  925. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  926. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
  927. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
  928. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
  929. package/node_modules/@earendil-works/pi-ai/dist/providers/data/venice.json +1 -1
  930. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  931. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
  932. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.d.ts.map +1 -1
  933. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.js +3 -3
  934. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.js.map +1 -1
  935. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.d.ts +4 -2
  936. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.d.ts.map +1 -1
  937. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.js +18 -9
  938. package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.js.map +1 -1
  939. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +5 -5
  940. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js.map +1 -1
  941. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.d.ts.map +1 -1
  942. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +4 -3
  943. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js.map +1 -1
  944. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.d.ts +4 -0
  945. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.d.ts.map +1 -0
  946. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js +22 -0
  947. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js.map +1 -0
  948. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.d.ts.map +1 -1
  949. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +5 -4
  950. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js.map +1 -1
  951. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +16 -6
  952. package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
  953. package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
  954. package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.d.ts +77 -0
  955. package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.d.ts.map +1 -0
  956. package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +427 -0
  957. package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js.map +1 -0
  958. package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.d.ts +12 -0
  959. package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.d.ts.map +1 -0
  960. package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.js +93 -0
  961. package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.js.map +1 -0
  962. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts.map +1 -1
  963. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -5
  964. package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js.map +1 -1
  965. package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.d.ts +1 -1
  966. package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.d.ts.map +1 -1
  967. package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.js +5 -1
  968. package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.js.map +1 -1
  969. package/node_modules/@earendil-works/pi-ai/dist/utils/retry-profile/types.d.ts +10 -1
  970. package/node_modules/@earendil-works/pi-ai/dist/utils/retry-profile/types.d.ts.map +1 -1
  971. package/node_modules/@earendil-works/pi-ai/dist/utils/retry-profile/types.js.map +1 -1
  972. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.d.ts +13 -2
  973. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.d.ts.map +1 -1
  974. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +18 -7
  975. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js.map +1 -1
  976. package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.d.ts +2 -2
  977. package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.d.ts.map +1 -1
  978. package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.js +36 -31
  979. package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.js.map +1 -1
  980. package/node_modules/@earendil-works/pi-ai/package.json +6 -6
  981. package/node_modules/@earendil-works/pi-pty/package.json +1 -1
  982. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  983. package/node_modules/@earendil-works/pi-tui/README.md +53 -4
  984. package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.d.ts +21 -1
  985. package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.d.ts.map +1 -1
  986. package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js +199 -42
  987. package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js.map +1 -1
  988. package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts +3 -1
  989. package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts.map +1 -1
  990. package/node_modules/@earendil-works/pi-tui/dist/components/box.js +28 -0
  991. package/node_modules/@earendil-works/pi-tui/dist/components/box.js.map +1 -1
  992. package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts +6 -1
  993. package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts.map +1 -1
  994. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +98 -18
  995. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js.map +1 -1
  996. package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts +12 -1
  997. package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts.map +1 -1
  998. package/node_modules/@earendil-works/pi-tui/dist/components/input.js +40 -6
  999. package/node_modules/@earendil-works/pi-tui/dist/components/input.js.map +1 -1
  1000. package/node_modules/@earendil-works/pi-tui/dist/components/latex.d.ts.map +1 -1
  1001. package/node_modules/@earendil-works/pi-tui/dist/components/latex.js +7 -0
  1002. package/node_modules/@earendil-works/pi-tui/dist/components/latex.js.map +1 -1
  1003. package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts +3 -0
  1004. package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts.map +1 -1
  1005. package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +20 -8
  1006. package/node_modules/@earendil-works/pi-tui/dist/components/loader.js.map +1 -1
  1007. package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.d.ts +12 -0
  1008. package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.d.ts.map +1 -0
  1009. package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js +19 -0
  1010. package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js.map +1 -0
  1011. package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.d.ts +6 -3
  1012. package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.d.ts.map +1 -1
  1013. package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js +6 -1
  1014. package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js.map +1 -1
  1015. package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts +4 -1
  1016. package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts.map +1 -1
  1017. package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +48 -2
  1018. package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js.map +1 -1
  1019. package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts +5 -1
  1020. package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts.map +1 -1
  1021. package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +54 -5
  1022. package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js.map +1 -1
  1023. package/node_modules/@earendil-works/pi-tui/dist/index.d.ts +3 -1
  1024. package/node_modules/@earendil-works/pi-tui/dist/index.d.ts.map +1 -1
  1025. package/node_modules/@earendil-works/pi-tui/dist/index.js +3 -0
  1026. package/node_modules/@earendil-works/pi-tui/dist/index.js.map +1 -1
  1027. package/node_modules/@earendil-works/pi-tui/dist/layout.d.ts +3 -1
  1028. package/node_modules/@earendil-works/pi-tui/dist/layout.d.ts.map +1 -1
  1029. package/node_modules/@earendil-works/pi-tui/dist/layout.js +32 -9
  1030. package/node_modules/@earendil-works/pi-tui/dist/layout.js.map +1 -1
  1031. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.d.ts +2 -1
  1032. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.d.ts.map +1 -1
  1033. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +3 -44
  1034. package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js.map +1 -1
  1035. package/node_modules/@earendil-works/pi-tui/dist/native-platform.d.ts +18 -0
  1036. package/node_modules/@earendil-works/pi-tui/dist/native-platform.d.ts.map +1 -0
  1037. package/node_modules/@earendil-works/pi-tui/dist/native-platform.js +42 -0
  1038. package/node_modules/@earendil-works/pi-tui/dist/native-platform.js.map +1 -0
  1039. package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts.map +1 -1
  1040. package/node_modules/@earendil-works/pi-tui/dist/terminal.js +2 -20
  1041. package/node_modules/@earendil-works/pi-tui/dist/terminal.js.map +1 -1
  1042. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts +31 -1
  1043. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts.map +1 -1
  1044. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +335 -41
  1045. package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js.map +1 -1
  1046. package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts +83 -5
  1047. package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts.map +1 -1
  1048. package/node_modules/@earendil-works/pi-tui/dist/tui.js +118 -4
  1049. package/node_modules/@earendil-works/pi-tui/dist/tui.js.map +1 -1
  1050. package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts +2 -0
  1051. package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts.map +1 -1
  1052. package/node_modules/@earendil-works/pi-tui/dist/utils.js +9 -0
  1053. package/node_modules/@earendil-works/pi-tui/dist/utils.js.map +1 -1
  1054. package/node_modules/@earendil-works/pi-tui/native/clipboard.h +170 -0
  1055. package/node_modules/@earendil-works/pi-tui/native/darwin/README.md +8 -6
  1056. package/node_modules/@earendil-works/pi-tui/native/darwin/build.sh +12 -5
  1057. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/{darwin-modifiers.node → darwin-platform.node} +0 -0
  1058. package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/{darwin-modifiers.node → darwin-platform.node} +0 -0
  1059. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-platform.m +93 -0
  1060. package/node_modules/@earendil-works/pi-tui/native/linux/README.md +23 -0
  1061. package/node_modules/@earendil-works/pi-tui/native/linux/build.sh +65 -0
  1062. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
  1063. package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
  1064. package/node_modules/@earendil-works/pi-tui/native/linux/src/clipboard-worker.h +70 -0
  1065. package/node_modules/@earendil-works/pi-tui/native/linux/src/linux-platform-x11.c +274 -0
  1066. package/node_modules/@earendil-works/pi-tui/native/napi.h +89 -0
  1067. package/node_modules/@earendil-works/pi-tui/native/win32/README.md +18 -7
  1068. package/node_modules/@earendil-works/pi-tui/native/win32/build.mjs +7 -4
  1069. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
  1070. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
  1071. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-platform.c +241 -0
  1072. package/node_modules/@earendil-works/pi-tui/package.json +10 -3
  1073. package/node_modules/@google/genai/dist/genai.d.ts +1799 -289
  1074. package/node_modules/@google/genai/dist/index.cjs +319 -299
  1075. package/node_modules/@google/genai/dist/index.mjs +319 -299
  1076. package/node_modules/@google/genai/dist/index.mjs.map +1 -1
  1077. package/node_modules/@google/genai/dist/node/index.cjs +320 -300
  1078. package/node_modules/@google/genai/dist/node/index.mjs +320 -300
  1079. package/node_modules/@google/genai/dist/node/index.mjs.map +1 -1
  1080. package/node_modules/@google/genai/dist/node/node.d.ts +1799 -289
  1081. package/node_modules/@google/genai/dist/tokenizer/node.cjs +49 -2
  1082. package/node_modules/@google/genai/dist/tokenizer/node.d.ts +43 -3
  1083. package/node_modules/@google/genai/dist/tokenizer/node.mjs +49 -2
  1084. package/node_modules/@google/genai/dist/tokenizer/node.mjs.map +1 -1
  1085. package/node_modules/@google/genai/dist/vertex_internal/index.cjs +39 -3
  1086. package/node_modules/@google/genai/dist/vertex_internal/index.cjs.map +1 -1
  1087. package/node_modules/@google/genai/dist/vertex_internal/index.d.ts +51 -9
  1088. package/node_modules/@google/genai/dist/vertex_internal/index.js +39 -3
  1089. package/node_modules/@google/genai/dist/vertex_internal/index.js.map +1 -1
  1090. package/node_modules/@google/genai/dist/web/index.mjs +319 -299
  1091. package/node_modules/@google/genai/dist/web/index.mjs.map +1 -1
  1092. package/node_modules/@google/genai/dist/web/web.d.ts +1799 -289
  1093. package/node_modules/@google/genai/package.json +1 -1
  1094. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  1095. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  1096. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  1097. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
  1098. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/LICENSE +201 -0
  1099. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/README.md +115 -0
  1100. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/index.js +96 -0
  1101. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
  1102. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/abort.js +1 -0
  1103. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
  1104. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
  1105. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
  1106. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
  1107. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
  1108. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
  1109. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/index.js +2 -0
  1110. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
  1111. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/checksum.js +1 -0
  1112. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/client.js +1 -0
  1113. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/command.js +1 -0
  1114. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
  1115. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/index.js +1 -0
  1116. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
  1117. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
  1118. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/crypto.js +1 -0
  1119. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
  1120. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/encode.js +1 -0
  1121. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
  1122. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/EndpointParameterInstructions.js +1 -0
  1123. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
  1124. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
  1125. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
  1126. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
  1127. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/index.js +1 -0
  1128. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
  1129. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
  1130. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/checksum.js +38 -0
  1131. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +7 -0
  1132. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
  1133. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/index.js +2 -0
  1134. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
  1135. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
  1136. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  1137. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
  1138. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/http.js +5 -0
  1139. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
  1140. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
  1141. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
  1142. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/index.js +1 -0
  1143. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
  1144. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/index.js +7 -0
  1145. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/logger.js +1 -0
  1146. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/metrics.js +1 -0
  1147. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/middleware.js +1 -0
  1148. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/pagination.js +1 -0
  1149. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/profile.js +6 -0
  1150. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/response.js +1 -0
  1151. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/retry.js +1 -0
  1152. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
  1153. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
  1154. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
  1155. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
  1156. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
  1157. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/serde.js +1 -0
  1158. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/shapes.js +1 -0
  1159. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/signature.js +1 -0
  1160. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/stream.js +1 -0
  1161. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
  1162. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  1163. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  1164. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transfer.js +6 -0
  1165. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
  1166. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
  1167. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  1168. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
  1169. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
  1170. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
  1171. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/uri.js +1 -0
  1172. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/util.js +1 -0
  1173. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/waiter.js +1 -0
  1174. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
  1175. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/abort.d.ts +48 -0
  1176. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
  1177. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
  1178. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
  1179. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
  1180. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
  1181. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/auth.d.ts +59 -0
  1182. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/index.d.ts +7 -0
  1183. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +37 -0
  1184. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/checksum.d.ts +61 -0
  1185. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/client.d.ts +57 -0
  1186. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/command.d.ts +28 -0
  1187. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/config.d.ts +15 -0
  1188. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
  1189. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/manager.d.ts +34 -0
  1190. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/pool.d.ts +32 -0
  1191. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/crypto.d.ts +58 -0
  1192. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +24 -0
  1193. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/encode.d.ts +31 -0
  1194. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
  1195. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/EndpointParameterInstructions.d.ts +41 -0
  1196. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +27 -0
  1197. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +10 -0
  1198. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +28 -0
  1199. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +16 -0
  1200. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
  1201. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +55 -0
  1202. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/eventStream.d.ts +137 -0
  1203. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +58 -0
  1204. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +32 -0
  1205. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  1206. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/index.d.ts +6 -0
  1207. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  1208. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  1209. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  1210. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +142 -0
  1211. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/http.d.ts +110 -0
  1212. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
  1213. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +31 -0
  1214. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
  1215. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
  1216. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
  1217. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/index.d.ts +52 -0
  1218. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
  1219. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/metrics.d.ts +93 -0
  1220. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/middleware.d.ts +541 -0
  1221. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/pagination.d.ts +33 -0
  1222. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
  1223. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
  1224. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/retry.d.ts +162 -0
  1225. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +143 -0
  1226. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/schema.d.ts +236 -0
  1227. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
  1228. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +99 -0
  1229. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
  1230. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/serde.d.ts +114 -0
  1231. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/shapes.d.ts +79 -0
  1232. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/signature.d.ts +172 -0
  1233. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
  1234. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +28 -0
  1235. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
  1236. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
  1237. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transfer.d.ts +42 -0
  1238. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
  1239. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +73 -0
  1240. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  1241. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
  1242. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +68 -0
  1243. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +39 -0
  1244. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
  1245. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +45 -0
  1246. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
  1247. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
  1248. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
  1249. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
  1250. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
  1251. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +59 -0
  1252. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +7 -0
  1253. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +37 -0
  1254. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +61 -0
  1255. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
  1256. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
  1257. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +15 -0
  1258. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
  1259. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
  1260. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
  1261. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +58 -0
  1262. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +40 -0
  1263. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
  1264. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
  1265. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +41 -0
  1266. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
  1267. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
  1268. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
  1269. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
  1270. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
  1271. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
  1272. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
  1273. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
  1274. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +32 -0
  1275. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  1276. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +6 -0
  1277. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  1278. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  1279. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  1280. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +142 -0
  1281. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +110 -0
  1282. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
  1283. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
  1284. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
  1285. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
  1286. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
  1287. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +52 -0
  1288. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
  1289. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +93 -0
  1290. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +541 -0
  1291. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
  1292. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
  1293. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
  1294. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +162 -0
  1295. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
  1296. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +251 -0
  1297. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
  1298. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
  1299. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
  1300. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
  1301. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +79 -0
  1302. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +172 -0
  1303. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
  1304. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +28 -0
  1305. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
  1306. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
  1307. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +42 -0
  1308. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
  1309. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +77 -0
  1310. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  1311. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
  1312. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
  1313. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +40 -0
  1314. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
  1315. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
  1316. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
  1317. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
  1318. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
  1319. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
  1320. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/package.json +50 -0
  1321. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  1322. package/node_modules/esbuild/LICENSE.md +21 -0
  1323. package/node_modules/esbuild/README.md +3 -0
  1324. package/node_modules/esbuild/bin/esbuild +223 -0
  1325. package/node_modules/esbuild/install.js +300 -0
  1326. package/node_modules/esbuild/lib/main.d.ts +720 -0
  1327. package/node_modules/esbuild/lib/main.js +2536 -0
  1328. package/node_modules/esbuild/package.json +47 -0
  1329. package/node_modules/ignore/README.md +52 -0
  1330. package/node_modules/ignore/index.js +785 -129
  1331. package/node_modules/ignore/legacy.js +660 -98
  1332. package/node_modules/ignore/package.json +10 -4
  1333. package/node_modules/marked/README.md +1 -0
  1334. package/node_modules/marked/lib/marked.d.ts +7 -0
  1335. package/node_modules/marked/lib/marked.esm.js +30 -30
  1336. package/node_modules/marked/lib/marked.esm.js.map +3 -3
  1337. package/node_modules/marked/lib/marked.umd.js +30 -30
  1338. package/node_modules/marked/lib/marked.umd.js.map +3 -3
  1339. package/node_modules/marked/man/marked.1 +1 -1
  1340. package/node_modules/marked/package.json +2 -2
  1341. package/node_modules/typebox/build/compile/validator.d.mts +1 -1
  1342. package/node_modules/typebox/build/compile/validator.mjs +1 -1
  1343. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +7 -5
  1344. package/node_modules/typebox/build/format/iri.mjs +5 -1
  1345. package/node_modules/typebox/build/guard/emit.mjs +2 -4
  1346. package/node_modules/typebox/build/guard/guard.mjs +6 -18
  1347. package/node_modules/typebox/build/guard/string.mjs +16 -24
  1348. package/node_modules/typebox/build/schema/compile.d.mts +3 -2
  1349. package/node_modules/typebox/build/schema/compile.mjs +8 -8
  1350. package/node_modules/typebox/build/schema/engine/_context.d.mts +1 -6
  1351. package/node_modules/typebox/build/schema/engine/_context.mjs +9 -14
  1352. package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
  1353. package/node_modules/typebox/build/schema/engine/_stack.d.mts +6 -2
  1354. package/node_modules/typebox/build/schema/engine/_stack.mjs +135 -32
  1355. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +16 -4
  1356. package/node_modules/typebox/build/schema/engine/allOf.mjs +2 -2
  1357. package/node_modules/typebox/build/schema/engine/anyOf.mjs +2 -2
  1358. package/node_modules/typebox/build/schema/engine/if.mjs +2 -2
  1359. package/node_modules/typebox/build/schema/engine/oneOf.mjs +2 -2
  1360. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +1 -3
  1361. package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
  1362. package/node_modules/typebox/build/schema/engine/schema.mjs +6 -0
  1363. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
  1364. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
  1365. package/node_modules/typebox/build/schema/errors.d.mts +2 -2
  1366. package/node_modules/typebox/build/schema/errors.mjs +7 -13
  1367. package/node_modules/typebox/build/schema/intern/index.d.mts +1 -0
  1368. package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
  1369. package/node_modules/typebox/build/schema/intern/intern.d.mts +14 -0
  1370. package/node_modules/typebox/build/schema/intern/intern.mjs +259 -0
  1371. package/node_modules/typebox/build/schema/parse.d.mts +1 -0
  1372. package/node_modules/typebox/build/schema/parse.mjs +10 -5
  1373. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +34 -3
  1374. package/node_modules/typebox/build/schema/resolve/resolve.mjs +198 -73
  1375. package/node_modules/typebox/build/schema/schema.d.mts +1 -0
  1376. package/node_modules/typebox/build/schema/schema.mjs +1 -0
  1377. package/node_modules/typebox/build/value/errors/errors.d.mts +2 -12
  1378. package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
  1379. package/node_modules/typebox/package.json +1 -1
  1380. package/node_modules/typebox/readme.md +9 -5
  1381. package/node_modules/undici/docs/docs/api/Client.md +4 -0
  1382. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
  1383. package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
  1384. package/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
  1385. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
  1386. package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
  1387. package/node_modules/undici/lib/core/symbols.js +2 -0
  1388. package/node_modules/undici/lib/dispatcher/agent.js +7 -2
  1389. package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
  1390. package/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
  1391. package/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
  1392. package/node_modules/undici/lib/dispatcher/client.js +3 -2
  1393. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
  1394. package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
  1395. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
  1396. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
  1397. package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
  1398. package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
  1399. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
  1400. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
  1401. package/node_modules/undici/lib/handler/cache-handler.js +29 -5
  1402. package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
  1403. package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
  1404. package/node_modules/undici/lib/handler/redirect-handler.js +21 -4
  1405. package/node_modules/undici/lib/handler/retry-handler.js +148 -30
  1406. package/node_modules/undici/lib/interceptor/cache.js +65 -12
  1407. package/node_modules/undici/lib/interceptor/decompress.js +115 -13
  1408. package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
  1409. package/node_modules/undici/lib/interceptor/dns.js +7 -0
  1410. package/node_modules/undici/lib/interceptor/dump.js +10 -23
  1411. package/node_modules/undici/lib/mock/mock-agent.js +13 -1
  1412. package/node_modules/undici/lib/mock/mock-utils.js +11 -10
  1413. package/node_modules/undici/lib/util/cache.js +45 -3
  1414. package/node_modules/undici/lib/web/cookies/parse.js +150 -147
  1415. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
  1416. package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
  1417. package/node_modules/undici/lib/web/fetch/index.js +6 -0
  1418. package/node_modules/undici/lib/web/fetch/request.js +2 -3
  1419. package/node_modules/undici/lib/web/fetch/util.js +6 -1
  1420. package/node_modules/undici/lib/web/webidl/index.js +3 -3
  1421. package/node_modules/undici/lib/web/websocket/connection.js +1 -1
  1422. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
  1423. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
  1424. package/node_modules/undici/package.json +3 -3
  1425. package/node_modules/undici/types/client.d.ts +10 -0
  1426. package/node_modules/undici/types/interceptors.d.ts +2 -0
  1427. package/node_modules/undici/types/mock-agent.d.ts +11 -10
  1428. package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
  1429. package/package.json +70 -49
  1430. package/vendor/pi-client/client.d.ts +20 -15
  1431. package/vendor/pi-client/client.d.ts.map +1 -1
  1432. package/vendor/pi-client/client.js +248 -245
  1433. package/vendor/pi-client/client.js.map +1 -1
  1434. package/vendor/pi-client/connection.d.ts +4 -3
  1435. package/vendor/pi-client/connection.d.ts.map +1 -1
  1436. package/vendor/pi-client/connection.js +13 -9
  1437. package/vendor/pi-client/connection.js.map +1 -1
  1438. package/vendor/pi-client/errors.d.ts +6 -15
  1439. package/vendor/pi-client/errors.d.ts.map +1 -1
  1440. package/vendor/pi-client/errors.js +10 -25
  1441. package/vendor/pi-client/errors.js.map +1 -1
  1442. package/vendor/pi-client/index.d.ts +3 -4
  1443. package/vendor/pi-client/index.d.ts.map +1 -1
  1444. package/vendor/pi-client/index.js +2 -2
  1445. package/vendor/pi-client/index.js.map +1 -1
  1446. package/vendor/pi-client/types.d.ts +14 -8
  1447. package/vendor/pi-client/types.d.ts.map +1 -1
  1448. package/vendor/pi-client/types.js.map +1 -1
  1449. package/vendor/pi-client/unix.d.ts +14 -1
  1450. package/vendor/pi-client/unix.d.ts.map +1 -1
  1451. package/vendor/pi-client/unix.js +138 -8
  1452. package/vendor/pi-client/unix.js.map +1 -1
  1453. package/vendor/pi-protocol/codec.d.ts +2 -4
  1454. package/vendor/pi-protocol/codec.d.ts.map +1 -1
  1455. package/vendor/pi-protocol/codec.js +7 -34
  1456. package/vendor/pi-protocol/codec.js.map +1 -1
  1457. package/vendor/pi-protocol/framing.d.ts +0 -2
  1458. package/vendor/pi-protocol/framing.d.ts.map +1 -1
  1459. package/vendor/pi-protocol/framing.js +0 -15
  1460. package/vendor/pi-protocol/framing.js.map +1 -1
  1461. package/vendor/pi-protocol/index.d.ts +1 -1
  1462. package/vendor/pi-protocol/index.d.ts.map +1 -1
  1463. package/vendor/pi-protocol/index.js +1 -1
  1464. package/vendor/pi-protocol/index.js.map +1 -1
  1465. package/vendor/pi-protocol/protocol.d.ts +167 -0
  1466. package/vendor/pi-protocol/protocol.d.ts.map +1 -0
  1467. package/vendor/pi-protocol/protocol.js +85 -0
  1468. package/vendor/pi-protocol/protocol.js.map +1 -0
  1469. package/dist/bun/register-bedrock.d.ts +0 -2
  1470. package/dist/bun/register-bedrock.d.ts.map +0 -1
  1471. package/dist/bun/register-bedrock.js +0 -4
  1472. package/dist/bun/register-bedrock.js.map +0 -1
  1473. package/dist/cli/experimental/auth.d.ts +0 -16
  1474. package/dist/cli/experimental/auth.d.ts.map +0 -1
  1475. package/dist/cli/experimental/auth.js +0 -13
  1476. package/dist/cli/experimental/auth.js.map +0 -1
  1477. package/dist/cli/experimental/cli.d.ts +0 -6
  1478. package/dist/cli/experimental/cli.d.ts.map +0 -1
  1479. package/dist/cli/experimental/cli.js +0 -5
  1480. package/dist/cli/experimental/cli.js.map +0 -1
  1481. package/dist/cli/experimental/command-options.d.ts +0 -17
  1482. package/dist/cli/experimental/command-options.d.ts.map +0 -1
  1483. package/dist/cli/experimental/command-options.js +0 -35
  1484. package/dist/cli/experimental/command-options.js.map +0 -1
  1485. package/dist/cli/experimental/command.d.ts +0 -63
  1486. package/dist/cli/experimental/command.d.ts.map +0 -1
  1487. package/dist/cli/experimental/command.js +0 -127
  1488. package/dist/cli/experimental/command.js.map +0 -1
  1489. package/dist/cli/experimental/commands/client.d.ts +0 -13
  1490. package/dist/cli/experimental/commands/client.d.ts.map +0 -1
  1491. package/dist/cli/experimental/commands/client.js +0 -25
  1492. package/dist/cli/experimental/commands/client.js.map +0 -1
  1493. package/dist/cli/experimental/commands/pi.d.ts +0 -15
  1494. package/dist/cli/experimental/commands/pi.d.ts.map +0 -1
  1495. package/dist/cli/experimental/commands/pi.js +0 -28
  1496. package/dist/cli/experimental/commands/pi.js.map +0 -1
  1497. package/dist/cli/experimental/commands/server.d.ts +0 -13
  1498. package/dist/cli/experimental/commands/server.d.ts.map +0 -1
  1499. package/dist/cli/experimental/commands/server.js +0 -25
  1500. package/dist/cli/experimental/commands/server.js.map +0 -1
  1501. package/dist/cli/experimental/transport-address.d.ts +0 -10
  1502. package/dist/cli/experimental/transport-address.d.ts.map +0 -1
  1503. package/dist/cli/experimental/transport-address.js +0 -38
  1504. package/dist/cli/experimental/transport-address.js.map +0 -1
  1505. package/dist/client/remote-session.d.ts +0 -53
  1506. package/dist/client/remote-session.d.ts.map +0 -1
  1507. package/dist/client/remote-session.js +0 -340
  1508. package/dist/client/remote-session.js.map +0 -1
  1509. package/dist/client/transcript.d.ts +0 -12
  1510. package/dist/client/transcript.d.ts.map +0 -1
  1511. package/dist/client/transcript.js +0 -98
  1512. package/dist/client/transcript.js.map +0 -1
  1513. package/dist/server/create-harness.d.ts +0 -26
  1514. package/dist/server/create-harness.d.ts.map +0 -1
  1515. package/dist/server/create-harness.js +0 -106
  1516. package/dist/server/create-harness.js.map +0 -1
  1517. package/dist/utils/clipboard-native.d.ts +0 -11
  1518. package/dist/utils/clipboard-native.d.ts.map +0 -1
  1519. package/dist/utils/clipboard-native.js +0 -20
  1520. package/dist/utils/clipboard-native.js.map +0 -1
  1521. package/docs/AGENTS.md +0 -67
  1522. package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.d.ts +0 -100
  1523. package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.d.ts.map +0 -1
  1524. package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.js +0 -420
  1525. package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.js.map +0 -1
  1526. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.d.ts +0 -9
  1527. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.d.ts.map +0 -1
  1528. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.js +0 -18
  1529. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.js.map +0 -1
  1530. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.d.ts +0 -3
  1531. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.d.ts.map +0 -1
  1532. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.js +0 -2
  1533. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.js.map +0 -1
  1534. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.d.ts +0 -65
  1535. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.d.ts.map +0 -1
  1536. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.js +0 -320
  1537. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.js.map +0 -1
  1538. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.d.ts +0 -4
  1539. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.d.ts.map +0 -1
  1540. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.js +0 -762
  1541. package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.js.map +0 -1
  1542. package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.d.ts +0 -29
  1543. package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.d.ts.map +0 -1
  1544. package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.js +0 -103
  1545. package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.js.map +0 -1
  1546. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.d.ts +0 -69
  1547. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.d.ts.map +0 -1
  1548. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.js +0 -159
  1549. package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.js.map +0 -1
  1550. package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-modifiers.c +0 -70
  1551. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
  1552. package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
  1553. package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-console-mode.c +0 -119
  1554. package/node_modules/@mariozechner/clipboard/.yarnrc.yml +0 -1
  1555. package/node_modules/@mariozechner/clipboard/Cargo.toml +0 -45
  1556. package/node_modules/@mariozechner/clipboard/README.md +0 -60
  1557. package/node_modules/@mariozechner/clipboard/build.rs +0 -5
  1558. package/node_modules/@mariozechner/clipboard/exp.ts +0 -12
  1559. package/node_modules/@mariozechner/clipboard/index.d.ts +0 -37
  1560. package/node_modules/@mariozechner/clipboard/index.js +0 -606
  1561. package/node_modules/@mariozechner/clipboard/package.json +0 -45
  1562. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/common.rs +0 -307
  1563. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/mod.rs +0 -93
  1564. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/ios.rs +0 -313
  1565. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/macos.rs +0 -471
  1566. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/mod.rs +0 -252
  1567. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/wayland.rs +0 -431
  1568. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/win.rs +0 -712
  1569. package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/x11.rs +0 -916
  1570. package/node_modules/@mariozechner/clipboard/src/lib.rs +0 -194
  1571. package/vendor/pi-client/session-handle.d.ts +0 -54
  1572. package/vendor/pi-client/session-handle.d.ts.map +0 -1
  1573. package/vendor/pi-client/session-handle.js +0 -50
  1574. package/vendor/pi-client/session-handle.js.map +0 -1
  1575. package/vendor/pi-client/state.d.ts +0 -22
  1576. package/vendor/pi-client/state.d.ts.map +0 -1
  1577. package/vendor/pi-client/state.js +0 -145
  1578. package/vendor/pi-client/state.js.map +0 -1
  1579. package/vendor/pi-protocol/schemas.d.ts +0 -13739
  1580. package/vendor/pi-protocol/schemas.d.ts.map +0 -1
  1581. package/vendor/pi-protocol/schemas.js +0 -386
  1582. package/vendor/pi-protocol/schemas.js.map +0 -1
@@ -63,6 +63,32 @@ export declare enum AdapterSize {
63
63
  ADAPTER_SIZE_THIRTY_TWO = "ADAPTER_SIZE_THIRTY_TWO"
64
64
  }
65
65
 
66
+ declare type AfterErrorContext = HookContext & {};
67
+
68
+ declare interface AfterErrorHook {
69
+ /**
70
+ * A hook that is called after the SDK encounters an error, or a
71
+ * non-successful response. The hook can introduce instrumentation code such
72
+ * as logging, tracing and metrics or modify the response or error values.
73
+ */
74
+ afterError: (hookCtx: AfterErrorContext, response: Response | null, error: unknown) => Awaitable_2<{
75
+ response: Response | null;
76
+ error: unknown;
77
+ }>;
78
+ }
79
+
80
+ declare type AfterSuccessContext = HookContext & {};
81
+
82
+ declare interface AfterSuccessHook {
83
+ /**
84
+ * A hook that is called after the SDK receives a response. The hook can
85
+ * introduce instrumentation code such as logging, tracing and metrics or
86
+ * modify the response before it is handled or throw an error to stop the
87
+ * response from being handled.
88
+ */
89
+ afterSuccess: (hookCtx: AfterSuccessContext, response: Response) => Awaitable_2<Response>;
90
+ }
91
+
66
92
  declare type Agent$ = Agent;
67
93
 
68
94
  /**
@@ -165,6 +191,25 @@ declare namespace agents {
165
191
  }
166
192
  }
167
193
 
194
+ declare class Agents_2 extends ClientSDK {
195
+ /**
196
+ * Lists all Agents.
197
+ */
198
+ list(params?: ListAgentsParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<agents.AgentListResponse>;
199
+ /**
200
+ * Creates a new Agent (Typed version for SDK).
201
+ */
202
+ create(params: CreateAgentParams, options?: RequestOptions): APIPromise<agents.Agent>;
203
+ /**
204
+ * Deletes an Agent.
205
+ */
206
+ delete(id: string, params?: DeleteAgentParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
207
+ /**
208
+ * Gets a specific Agent.
209
+ */
210
+ get(id: string, params?: GetAgentParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<agents.Agent>;
211
+ }
212
+
168
213
  declare type AgentTool$ = AgentTool;
169
214
 
170
215
  /**
@@ -286,11 +331,11 @@ declare type AllowlistEntry = {
286
331
  /**
287
332
  * Headers to inject on all outbound requests matching this domain. Accepts a single dict or a list of dicts. The egress proxy injects these automatically.
288
333
  */
289
- transform?: {
334
+ transform?: Array<{
290
335
  [k: string]: string;
291
- } | Array<{
336
+ }> | {
292
337
  [k: string]: string;
293
- }> | undefined;
338
+ } | undefined;
294
339
  };
295
340
 
296
341
  declare type Annotation$ = Annotation;
@@ -342,6 +387,20 @@ export declare interface ApiAuthApiKeyConfig {
342
387
  apiKeyString?: string;
343
388
  }
344
389
 
390
+ declare type APICall = {
391
+ status: "complete";
392
+ request: Request;
393
+ response: Response;
394
+ } | {
395
+ status: "request-error";
396
+ request: Request;
397
+ response?: undefined;
398
+ } | {
399
+ status: "invalid";
400
+ request?: undefined;
401
+ response?: undefined;
402
+ };
403
+
345
404
  /**
346
405
  * The ApiClient class is used to send requests to the Gemini API or Vertex AI
347
406
  * endpoints.
@@ -509,6 +568,25 @@ export declare interface ApiKeyConfig {
509
568
  name?: string;
510
569
  }
511
570
 
571
+ declare class APIPromise<T> implements Promise<T> {
572
+ readonly _promise: Promise<[T, APICall]>;
573
+ _unwrapped: Promise<T> | null;
574
+ _callSource: Promise<APICall> | null;
575
+ readonly [Symbol.toStringTag] = "APIPromise";
576
+ constructor(p: [T, APICall] | Promise<[T, APICall]>, callSource?: Promise<APICall>);
577
+ _getUnwrapped(): Promise<T>;
578
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
579
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<T | TResult>;
580
+ finally(onfinally?: (() => void) | null | undefined): Promise<T>;
581
+ $inspect(): Promise<[T, APICall]>;
582
+ asResponse(): Promise<Response>;
583
+ withResponse(): Promise<{
584
+ data: T;
585
+ response: Response;
586
+ }>;
587
+ _thenUnwrap<U>(transform: (value: T) => U): APIPromise<U>;
588
+ }
589
+
512
590
  /** The API spec that the external API implements. This enum is not supported in Gemini API. */
513
591
  export declare enum ApiSpec {
514
592
  /**
@@ -640,6 +718,10 @@ declare type AudioContent = {
640
718
  * The audio content.
641
719
  */
642
720
  data?: string | undefined;
721
+ /**
722
+ * The mime type of the audio.
723
+ */
724
+ mime_type?: AudioContentMimeType | undefined;
643
725
  /**
644
726
  * The sample rate of the audio.
645
727
  */
@@ -649,10 +731,6 @@ declare type AudioContent = {
649
731
  * The URI of the audio.
650
732
  */
651
733
  uri?: string | undefined;
652
- /**
653
- * The mime type of the audio.
654
- */
655
- mime_type?: AudioContentMimeType | undefined;
656
734
  };
657
735
 
658
736
  /**
@@ -665,7 +743,7 @@ declare type AudioContent = {
665
743
  /**
666
744
  * The mime type of the audio.
667
745
  */
668
- declare type AudioContentMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | (string & {});
746
+ declare type AudioContentMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | "audio/webm" | (string & {});
669
747
 
670
748
  declare type AudioDelta = {
671
749
  /**
@@ -695,7 +773,7 @@ declare type AudioDelta = {
695
773
  *
696
774
  * g3-prettier-ignore-file
697
775
  */
698
- declare type AudioDeltaMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | (string & {});
776
+ declare type AudioDeltaMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | "audio/webm" | (string & {});
699
777
 
700
778
  declare type AudioResponseFormat$ = AudioResponseFormat_2;
701
779
 
@@ -772,6 +850,24 @@ export declare interface AudioTranscriptionConfig {
772
850
  /** Configures speaker diarization.
773
851
  */
774
852
  diarization?: boolean;
853
+ /** Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self-corrections). Timestamps and diarization are incompatible with mode `SMART`. */
854
+ mode?: AudioTranscriptionConfigMode;
855
+ }
856
+
857
+ /** Transcription mode. */
858
+ export declare enum AudioTranscriptionConfigMode {
859
+ /**
860
+ * Unspecified transcription mode.
861
+ */
862
+ MODE_UNSPECIFIED = "MODE_UNSPECIFIED",
863
+ /**
864
+ * Verbatim transcription mode.
865
+ */
866
+ VERBATIM = "VERBATIM",
867
+ /**
868
+ * Smart transcription mode.
869
+ */
870
+ SMART = "SMART"
775
871
  }
776
872
 
777
873
  /**
@@ -953,6 +1049,10 @@ export declare interface AvatarConfig {
953
1049
  videoBitrateBps?: number;
954
1050
  }
955
1051
 
1052
+ declare type Awaitable<T> = T | Promise<T>;
1053
+
1054
+ declare type Awaitable_2<T> = T | Promise<T>;
1055
+
956
1056
  /**
957
1057
  * @license
958
1058
  * Copyright 2026 Google LLC
@@ -1213,6 +1313,31 @@ export declare interface BatchJobSource {
1213
1313
 
1214
1314
  export declare type BatchJobSourceUnion = BatchJobSource | InlinedRequest[] | string;
1215
1315
 
1316
+ declare type BeforeCreateRequestContext = HookContext & {};
1317
+
1318
+ declare interface BeforeCreateRequestHook {
1319
+ /**
1320
+ * A hook that is called before the SDK creates a `Request` object. The hook
1321
+ * can modify how a request is constructed since certain modifications, like
1322
+ * changing the request URL, cannot be done on a request object directly.
1323
+ */
1324
+ beforeCreateRequest: (hookCtx: BeforeCreateRequestContext, input: RequestInput) => RequestInput;
1325
+ }
1326
+
1327
+ declare type BeforeRequestContext = HookContext & {};
1328
+
1329
+ declare type BeforeRequestHook = (req: Request) => Awaitable<Request | void>;
1330
+
1331
+ declare interface BeforeRequestHook_2 {
1332
+ /**
1333
+ * A hook that is called before the SDK sends a request. The hook can
1334
+ * introduce instrumentation code such as logging, tracing and metrics or
1335
+ * replace the request before it is sent or throw an error to stop the
1336
+ * request from being sent.
1337
+ */
1338
+ beforeRequest: (hookCtx: BeforeRequestContext, request: Request) => Awaitable_2<Request>;
1339
+ }
1340
+
1216
1341
  /** Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method. */
1217
1342
  export declare enum Behavior {
1218
1343
  /**
@@ -1467,17 +1592,31 @@ export declare interface CancelBatchJobParameters {
1467
1592
  config?: CancelBatchJobConfig;
1468
1593
  }
1469
1594
 
1595
+ /**
1596
+ * @license
1597
+ * Copyright 2026 Google LLC
1598
+ * SPDX-License-Identifier: Apache-2.0
1599
+ *
1600
+ * g3-prettier-ignore-file
1601
+ */
1602
+ declare type CancelInteractionByIdGlobals = {
1603
+ /**
1604
+ * Which version of the API to use.
1605
+ */
1606
+ api_version?: string | undefined;
1607
+ };
1608
+
1470
1609
  declare type CancelInteractionByIdParams = Omit<CancelInteractionByIdRequest, "id">;
1471
1610
 
1472
1611
  declare type CancelInteractionByIdRequest = {
1473
- /**
1474
- * The unique identifier of the interaction to cancel.
1475
- */
1476
- id: string;
1477
1612
  /**
1478
1613
  * Which version of the API to use.
1479
1614
  */
1480
1615
  api_version?: string | undefined;
1616
+ /**
1617
+ * The unique identifier of the interaction to cancel.
1618
+ */
1619
+ id: string;
1481
1620
  };
1482
1621
 
1483
1622
  /** Optional parameters for tunings.cancel method. */
@@ -1704,6 +1843,24 @@ export declare interface CitationMetadata {
1704
1843
  citations?: Citation[];
1705
1844
  }
1706
1845
 
1846
+ declare class ClientSDK {
1847
+ readonly _httpClient: HTTPClient;
1848
+ readonly _hooks: SDKHooks;
1849
+ readonly _logger?: Logger | undefined;
1850
+ readonly _baseURL: URL | null;
1851
+ readonly _options: SDKOptions & {
1852
+ hooks?: SDKHooks;
1853
+ };
1854
+ constructor(options?: SDKOptions);
1855
+ _createRequest(context: HookContext, conf: RequestConfig, options?: RequestOptions): Result<Request, InvalidRequestError | UnexpectedClientError>;
1856
+ _do(request: Request, options: {
1857
+ context: HookContext;
1858
+ isErrorStatusCode: (statusCode: number) => boolean;
1859
+ retryConfig: RetryConfig;
1860
+ retryCodes: string[];
1861
+ }): Promise<Result<Response, RequestAbortedError | RequestTimeoutError | ConnectionError | UnexpectedClientError>>;
1862
+ }
1863
+
1707
1864
  declare type CodeExecution$ = CodeExecution;
1708
1865
 
1709
1866
  /**
@@ -1978,6 +2135,14 @@ export declare interface ComputeTokensResult {
1978
2135
  tokensInfo?: TokensInfo[];
1979
2136
  }
1980
2137
 
2138
+ /**
2139
+ * An error that is raised when a HTTP client is unable to make a request to
2140
+ * a server.
2141
+ */
2142
+ declare class ConnectionError extends HTTPClientError {
2143
+ readonly name = "ConnectionError";
2144
+ }
2145
+
1981
2146
  declare type Content$ = Content_2;
1982
2147
 
1983
2148
  /** Contains the multi-part content of a message. */
@@ -1992,7 +2157,7 @@ export declare interface Content {
1992
2157
  /**
1993
2158
  * The content of the response.
1994
2159
  */
1995
- declare type Content_2 = TextContent | ImageContent | AudioContent | DocumentContent | VideoContent;
2160
+ declare type Content_2 = AudioContent | DocumentContent | ImageContent | TextContent | VideoContent;
1996
2161
 
1997
2162
  /** The embedding generated from an input content. */
1998
2163
  export declare interface ContentEmbedding {
@@ -2138,6 +2303,13 @@ export declare interface CountTokensResult {
2138
2303
  totalTokens?: number;
2139
2304
  }
2140
2305
 
2306
+ declare type CreateAgentGlobals = {
2307
+ /**
2308
+ * Which version of the API to use.
2309
+ */
2310
+ api_version?: string | undefined;
2311
+ };
2312
+
2141
2313
  /**
2142
2314
  * Parameters for creating agent interactions
2143
2315
  */
@@ -2147,31 +2319,35 @@ declare type CreateAgentInteraction = {
2147
2319
  */
2148
2320
  agent: AgentOption;
2149
2321
  /**
2150
- * Input only. Whether the interaction will be streamed.
2151
- */
2152
- stream?: boolean | undefined;
2153
- /**
2154
- * Input only. Whether to store the response and request for later retrieval.
2322
+ * Configuration parameters for the agent interaction.
2155
2323
  */
2156
- store?: boolean | undefined;
2324
+ agent_config?: AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig | undefined;
2157
2325
  /**
2158
2326
  * Input only. Whether to run the model interaction in the background.
2159
2327
  */
2160
2328
  background?: boolean | undefined;
2161
2329
  /**
2162
- * System instruction for the interaction.
2330
+ * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
2163
2331
  */
2164
- system_instruction?: string | undefined;
2332
+ environment?: Environment_2 | string | undefined;
2165
2333
  /**
2166
- * A list of tool declarations the model may call during interaction.
2334
+ * The input for the interaction.
2167
2335
  */
2168
- tools?: Array<Tool_2> | undefined;
2336
+ input: InteractionsInput;
2169
2337
  /**
2170
- * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2171
- *
2172
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
2338
+ * The labels with user-defined metadata for the request.
2173
2339
  */
2174
- response_modalities?: Array<ResponseModality> | undefined;
2340
+ labels?: {
2341
+ [k: string]: string;
2342
+ } | undefined;
2343
+ /**
2344
+ * The ID of the previous interaction, if any.
2345
+ */
2346
+ previous_interaction_id?: string | undefined;
2347
+ /**
2348
+ * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
2349
+ */
2350
+ response_format?: ResponseFormat_2 | Array<ResponseFormat_2> | undefined;
2175
2351
  /**
2176
2352
  * The mime type of the response. This is required if response_format is set.
2177
2353
  *
@@ -2179,46 +2355,42 @@ declare type CreateAgentInteraction = {
2179
2355
  */
2180
2356
  response_mime_type?: string | undefined;
2181
2357
  /**
2182
- * The ID of the previous interaction, if any.
2183
- */
2184
- previous_interaction_id?: string | undefined;
2185
- service_tier?: ServiceTier_2 | undefined;
2186
- /**
2187
- * Message for configuring webhook events for a request.
2358
+ * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2359
+ *
2360
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
2188
2361
  */
2189
- webhook_config?: WebhookConfig_2 | undefined;
2362
+ response_modalities?: Array<ResponseModality> | undefined;
2190
2363
  /**
2191
- * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
2364
+ * Safety settings for the interaction.
2192
2365
  */
2193
- response_format?: Array<ResponseFormat_2> | ResponseFormat_2 | undefined;
2366
+ safety_settings?: Array<SafetySetting_2> | undefined;
2367
+ service_tier?: ServiceTier_2 | undefined;
2194
2368
  /**
2195
- * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
2369
+ * Input only. Whether to store the response and request for later retrieval.
2196
2370
  */
2197
- environment?: Environment_2 | string | undefined;
2371
+ store?: boolean | undefined;
2198
2372
  /**
2199
- * Configuration parameters for the agent interaction.
2373
+ * Input only. Whether the interaction will be streamed.
2200
2374
  */
2201
- agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig | undefined;
2375
+ stream?: boolean | undefined;
2202
2376
  /**
2203
- * Safety settings for the interaction.
2377
+ * System instruction for the interaction.
2204
2378
  */
2205
- safety_settings?: Array<SafetySetting_2> | undefined;
2379
+ system_instruction?: string | undefined;
2206
2380
  /**
2207
- * The labels with user-defined metadata for the request.
2381
+ * A list of tool declarations the model may call during interaction.
2208
2382
  */
2209
- labels?: {
2210
- [k: string]: string;
2211
- } | undefined;
2383
+ tools?: Array<Tool_2> | undefined;
2212
2384
  /**
2213
- * The input for the interaction.
2385
+ * Message for configuring webhook events for a request.
2214
2386
  */
2215
- input: InteractionsInput;
2387
+ webhook_config?: WebhookConfig_2 | undefined;
2216
2388
  };
2217
2389
 
2218
2390
  /**
2219
2391
  * Configuration parameters for the agent interaction.
2220
2392
  */
2221
- declare type CreateAgentInteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig;
2393
+ declare type CreateAgentInteractionAgentConfig = AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig;
2222
2394
 
2223
2395
  /**
2224
2396
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
@@ -2242,7 +2414,7 @@ declare type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParam
2242
2414
  /**
2243
2415
  * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
2244
2416
  */
2245
- declare type CreateAgentInteractionResponseFormat = Array<ResponseFormat_2> | ResponseFormat_2;
2417
+ declare type CreateAgentInteractionResponseFormat = ResponseFormat_2 | Array<ResponseFormat_2>;
2246
2418
 
2247
2419
  declare type CreateAgentParams = Omit<CreateAgentRequest, "body"> & CreateAgentRequest["body"];
2248
2420
 
@@ -2397,12 +2569,6 @@ export declare interface CreateChatParameters {
2397
2569
  docs to find the available models.
2398
2570
  */
2399
2571
  model: string;
2400
- /** Config for the entire chat session.
2401
-
2402
- This config applies to all requests within the session
2403
- unless overridden by a per-request `config` in `SendMessageParameters`.
2404
- */
2405
- config?: GenerateContentConfig;
2406
2572
  /** The initial conversation history for the chat session.
2407
2573
 
2408
2574
  This allows you to start the chat with a pre-existing history. The history
@@ -2410,6 +2576,12 @@ export declare interface CreateChatParameters {
2410
2576
  It should start with a 'user' message.
2411
2577
  */
2412
2578
  history?: Content[];
2579
+ /** Config for the entire chat session.
2580
+
2581
+ This config applies to all requests within the session
2582
+ unless overridden by a per-request `config` in `SendMessageParameters`.
2583
+ */
2584
+ config?: GenerateContentConfig;
2413
2585
  }
2414
2586
 
2415
2587
  /** Config for optional parameters. */
@@ -2441,6 +2613,13 @@ export declare interface CreateEmbeddingsBatchJobParameters {
2441
2613
  config?: CreateEmbeddingsBatchJobConfig;
2442
2614
  }
2443
2615
 
2616
+ declare type CreateEnvironmentGlobals = {
2617
+ /**
2618
+ * Which version of the API to use.
2619
+ */
2620
+ api_version?: string | undefined;
2621
+ };
2622
+
2444
2623
  declare type CreateEnvironmentRequest$ = CreateEnvironmentRequest;
2445
2624
 
2446
2625
  /**
@@ -2457,6 +2636,17 @@ declare type CreateEnvironmentRequest = {
2457
2636
  sources?: Array<interactions.Source> | undefined;
2458
2637
  };
2459
2638
 
2639
+ declare type CreateEnvironmentRequest_2 = {
2640
+ /**
2641
+ * Which version of the API to use.
2642
+ */
2643
+ api_version?: string | undefined;
2644
+ /**
2645
+ * Required. The environment to create.
2646
+ */
2647
+ body: environments.CreateEnvironmentRequest;
2648
+ };
2649
+
2460
2650
  declare type CreateEnvironmentRequestNetworkEnum = "disabled";
2461
2651
 
2462
2652
  /**
@@ -2533,6 +2723,13 @@ export declare function createFunctionResponsePartFromBase64(data: string, mimeT
2533
2723
  */
2534
2724
  export declare function createFunctionResponsePartFromUri(uri: string, mimeType: string): FunctionResponsePart;
2535
2725
 
2726
+ declare type CreateInteractionGlobals = {
2727
+ /**
2728
+ * Which version of the API to use.
2729
+ */
2730
+ api_version?: string | undefined;
2731
+ };
2732
+
2536
2733
  declare type CreateInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateInteractionRequest["body"];
2537
2734
 
2538
2735
  declare type CreateInteractionParamsNonStreaming = CreateInteractionParams & {
@@ -2551,9 +2748,16 @@ declare type CreateInteractionRequest = {
2551
2748
  /**
2552
2749
  * The request body.
2553
2750
  */
2554
- body: interactions.CreateModelInteraction | interactions.CreateAgentInteraction;
2751
+ body: interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
2555
2752
  };
2556
2753
 
2754
+ /**
2755
+ * The request body.
2756
+ */
2757
+ declare type CreateInteractionRequestBody = interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
2758
+
2759
+ declare type CreateInteractionResponse = interactions.Interaction | Stream<interactions.InteractionSSEEvent>;
2760
+
2557
2761
  /**
2558
2762
  * Creates a `Content` object with a model role from a `PartListUnion` object or `string`.
2559
2763
  */
@@ -2564,35 +2768,39 @@ export declare function createModelContent(partOrString: PartListUnion | string)
2564
2768
  */
2565
2769
  declare type CreateModelInteraction = {
2566
2770
  /**
2567
- * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
2771
+ * Input only. Whether to run the model interaction in the background.
2568
2772
  */
2569
- model: Model_2;
2773
+ background?: boolean | undefined;
2570
2774
  /**
2571
- * Input only. Whether the interaction will be streamed.
2775
+ * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
2572
2776
  */
2573
- stream?: boolean | undefined;
2777
+ environment?: Environment_2 | string | undefined;
2574
2778
  /**
2575
- * Input only. Whether to store the response and request for later retrieval.
2779
+ * Configuration parameters for model interactions.
2576
2780
  */
2577
- store?: boolean | undefined;
2781
+ generation_config?: GenerationConfig_2 | undefined;
2578
2782
  /**
2579
- * Input only. Whether to run the model interaction in the background.
2783
+ * The input for the interaction.
2580
2784
  */
2581
- background?: boolean | undefined;
2785
+ input: InteractionsInput;
2582
2786
  /**
2583
- * System instruction for the interaction.
2787
+ * The labels with user-defined metadata for the request.
2584
2788
  */
2585
- system_instruction?: string | undefined;
2789
+ labels?: {
2790
+ [k: string]: string;
2791
+ } | undefined;
2586
2792
  /**
2587
- * A list of tool declarations the model may call during interaction.
2793
+ * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
2588
2794
  */
2589
- tools?: Array<Tool_2> | undefined;
2795
+ model: Model_2;
2590
2796
  /**
2591
- * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2592
- *
2593
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
2797
+ * The ID of the previous interaction, if any.
2594
2798
  */
2595
- response_modalities?: Array<ResponseModality> | undefined;
2799
+ previous_interaction_id?: string | undefined;
2800
+ /**
2801
+ * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
2802
+ */
2803
+ response_format?: ResponseFormat_2 | Array<ResponseFormat_2> | undefined;
2596
2804
  /**
2597
2805
  * The mime type of the response. This is required if response_format is set.
2598
2806
  *
@@ -2600,40 +2808,36 @@ declare type CreateModelInteraction = {
2600
2808
  */
2601
2809
  response_mime_type?: string | undefined;
2602
2810
  /**
2603
- * The ID of the previous interaction, if any.
2811
+ * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2812
+ *
2813
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
2604
2814
  */
2605
- previous_interaction_id?: string | undefined;
2606
- service_tier?: ServiceTier_2 | undefined;
2815
+ response_modalities?: Array<ResponseModality> | undefined;
2607
2816
  /**
2608
- * Message for configuring webhook events for a request.
2817
+ * Safety settings for the interaction.
2609
2818
  */
2610
- webhook_config?: WebhookConfig_2 | undefined;
2819
+ safety_settings?: Array<SafetySetting_2> | undefined;
2820
+ service_tier?: ServiceTier_2 | undefined;
2611
2821
  /**
2612
- * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
2822
+ * Input only. Whether to store the response and request for later retrieval.
2613
2823
  */
2614
- response_format?: Array<ResponseFormat_2> | ResponseFormat_2 | undefined;
2824
+ store?: boolean | undefined;
2615
2825
  /**
2616
- * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
2826
+ * Input only. Whether the interaction will be streamed.
2617
2827
  */
2618
- environment?: Environment_2 | string | undefined;
2828
+ stream?: boolean | undefined;
2619
2829
  /**
2620
- * Configuration parameters for model interactions.
2830
+ * System instruction for the interaction.
2621
2831
  */
2622
- generation_config?: GenerationConfig_2 | undefined;
2832
+ system_instruction?: string | undefined;
2623
2833
  /**
2624
- * Safety settings for the interaction.
2834
+ * A list of tool declarations the model may call during interaction.
2625
2835
  */
2626
- safety_settings?: Array<SafetySetting_2> | undefined;
2836
+ tools?: Array<Tool_2> | undefined;
2627
2837
  /**
2628
- * The labels with user-defined metadata for the request.
2629
- */
2630
- labels?: {
2631
- [k: string]: string;
2632
- } | undefined;
2633
- /**
2634
- * The input for the interaction.
2838
+ * Message for configuring webhook events for a request.
2635
2839
  */
2636
- input: InteractionsInput;
2840
+ webhook_config?: WebhookConfig_2 | undefined;
2637
2841
  };
2638
2842
 
2639
2843
  /**
@@ -2658,7 +2862,7 @@ declare type CreateModelInteractionParamsStreaming = CreateModelInteractionParam
2658
2862
  /**
2659
2863
  * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
2660
2864
  */
2661
- declare type CreateModelInteractionResponseFormat = Array<ResponseFormat_2> | ResponseFormat_2;
2865
+ declare type CreateModelInteractionResponseFormat = ResponseFormat_2 | Array<ResponseFormat_2>;
2662
2866
 
2663
2867
  /**
2664
2868
  * Creates a `Part` object from a `base64` encoded `string`.
@@ -2695,6 +2899,13 @@ export declare function createPartFromText(text: string): Part;
2695
2899
  */
2696
2900
  export declare function createPartFromUri(uri: string, mimeType: string, mediaResolution?: PartMediaResolutionLevel): Part;
2697
2901
 
2902
+ declare type CreateTriggerGlobals = {
2903
+ /**
2904
+ * Which version of the API to use.
2905
+ */
2906
+ api_version?: string | undefined;
2907
+ };
2908
+
2698
2909
  declare type CreateTriggerParams = Omit<CreateTriggerRequest, "body"> & CreateTriggerRequest["body"];
2699
2910
 
2700
2911
  declare type CreateTriggerRequest = {
@@ -2801,6 +3012,13 @@ export declare interface CreateTuningJobParametersPrivate {
2801
3012
  */
2802
3013
  export declare function createUserContent(partOrString: PartListUnion | string): Content;
2803
3014
 
3015
+ declare type CreateWebhookGlobals = {
3016
+ /**
3017
+ * Which version of the API to use.
3018
+ */
3019
+ api_version?: string | undefined;
3020
+ };
3021
+
2804
3022
  declare type CreateWebhookParams = Omit<CreateWebhookRequest, "body"> & CreateWebhookRequest["body"];
2805
3023
 
2806
3024
  declare type CreateWebhookRequest = {
@@ -2935,6 +3153,20 @@ declare type DeepResearchAgentConfig = {
2935
3153
  visualization?: Visualization | undefined;
2936
3154
  };
2937
3155
 
3156
+ /**
3157
+ * @license
3158
+ * Copyright 2026 Google LLC
3159
+ * SPDX-License-Identifier: Apache-2.0
3160
+ *
3161
+ * g3-prettier-ignore-file
3162
+ */
3163
+ declare type DeleteAgentGlobals = {
3164
+ /**
3165
+ * Which version of the API to use.
3166
+ */
3167
+ api_version?: string | undefined;
3168
+ };
3169
+
2938
3170
  declare type DeleteAgentParams = Omit<DeleteAgentRequest, "id">;
2939
3171
 
2940
3172
  declare type DeleteAgentRequest = {
@@ -3024,6 +3256,33 @@ export declare interface DeleteDocumentParameters {
3024
3256
  config?: DeleteDocumentConfig;
3025
3257
  }
3026
3258
 
3259
+ /**
3260
+ * @license
3261
+ * Copyright 2026 Google LLC
3262
+ * SPDX-License-Identifier: Apache-2.0
3263
+ *
3264
+ * g3-prettier-ignore-file
3265
+ */
3266
+ declare type DeleteEnvironmentGlobals = {
3267
+ /**
3268
+ * Which version of the API to use.
3269
+ */
3270
+ api_version?: string | undefined;
3271
+ };
3272
+
3273
+ declare type DeleteEnvironmentParams = Omit<DeleteEnvironmentRequest, "id">;
3274
+
3275
+ declare type DeleteEnvironmentRequest = {
3276
+ /**
3277
+ * Which version of the API to use.
3278
+ */
3279
+ api_version?: string | undefined;
3280
+ /**
3281
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
3282
+ */
3283
+ id: string;
3284
+ };
3285
+
3027
3286
  /** Used to override the default configuration. */
3028
3287
  export declare interface DeleteFileConfig {
3029
3288
  /** Used to override HTTP request options. */
@@ -3077,17 +3336,31 @@ export declare interface DeleteFileSearchStoreParameters {
3077
3336
  config?: DeleteFileSearchStoreConfig;
3078
3337
  }
3079
3338
 
3339
+ /**
3340
+ * @license
3341
+ * Copyright 2026 Google LLC
3342
+ * SPDX-License-Identifier: Apache-2.0
3343
+ *
3344
+ * g3-prettier-ignore-file
3345
+ */
3346
+ declare type DeleteInteractionGlobals = {
3347
+ /**
3348
+ * Which version of the API to use.
3349
+ */
3350
+ api_version?: string | undefined;
3351
+ };
3352
+
3080
3353
  declare type DeleteInteractionParams = Omit<DeleteInteractionRequest, "id">;
3081
3354
 
3082
3355
  declare type DeleteInteractionRequest = {
3083
- /**
3084
- * The unique identifier of the interaction to delete.
3085
- */
3086
- id: string;
3087
3356
  /**
3088
3357
  * Which version of the API to use.
3089
3358
  */
3090
3359
  api_version?: string | undefined;
3360
+ /**
3361
+ * The unique identifier of the interaction to delete.
3362
+ */
3363
+ id: string;
3091
3364
  };
3092
3365
 
3093
3366
  /** Configuration for deleting a tuned model. */
@@ -3124,6 +3397,20 @@ export declare interface DeleteResourceJob {
3124
3397
  error?: JobError;
3125
3398
  }
3126
3399
 
3400
+ /**
3401
+ * @license
3402
+ * Copyright 2026 Google LLC
3403
+ * SPDX-License-Identifier: Apache-2.0
3404
+ *
3405
+ * g3-prettier-ignore-file
3406
+ */
3407
+ declare type DeleteTriggerGlobals = {
3408
+ /**
3409
+ * Which version of the API to use.
3410
+ */
3411
+ api_version?: string | undefined;
3412
+ };
3413
+
3127
3414
  declare type DeleteTriggerParams = Omit<DeleteTriggerRequest, "id">;
3128
3415
 
3129
3416
  declare type DeleteTriggerRequest = {
@@ -3137,6 +3424,20 @@ declare type DeleteTriggerRequest = {
3137
3424
  id: string;
3138
3425
  };
3139
3426
 
3427
+ /**
3428
+ * @license
3429
+ * Copyright 2026 Google LLC
3430
+ * SPDX-License-Identifier: Apache-2.0
3431
+ *
3432
+ * g3-prettier-ignore-file
3433
+ */
3434
+ declare type DeleteWebhookGlobals = {
3435
+ /**
3436
+ * Which version of the API to use.
3437
+ */
3438
+ api_version?: string | undefined;
3439
+ };
3440
+
3140
3441
  declare type DeleteWebhookParams = Omit<DeleteWebhookRequest, "id">;
3141
3442
 
3142
3443
  declare type DeleteWebhookRequest = {
@@ -3286,15 +3587,15 @@ declare type DocumentContent = {
3286
3587
  * The document content.
3287
3588
  */
3288
3589
  data?: string | undefined;
3590
+ /**
3591
+ * The mime type of the document.
3592
+ */
3593
+ mime_type?: DocumentContentMimeType | undefined;
3289
3594
  type: "document";
3290
3595
  /**
3291
3596
  * The URI of the document.
3292
3597
  */
3293
3598
  uri?: string | undefined;
3294
- /**
3295
- * The mime type of the document.
3296
- */
3297
- mime_type?: DocumentContentMimeType | undefined;
3298
3599
  };
3299
3600
 
3300
3601
  /**
@@ -3846,6 +4147,97 @@ declare type EnvironmentDeleteResponse$ = Empty;
3846
4147
  */
3847
4148
  declare type EnvironmentEnum = "browser" | "mobile" | "desktop" | (string & {});
3848
4149
 
4150
+ declare type EnvironmentFile$ = EnvironmentFile;
4151
+
4152
+ /**
4153
+ * Metadata for a file or directory within an environment.
4154
+ */
4155
+ declare type EnvironmentFile = {
4156
+ /**
4157
+ * Output only. The creation time of the file/directory.
4158
+ */
4159
+ created?: string | undefined;
4160
+ /**
4161
+ * Output only. The MIME type of the file (e.g., "text/python", "image/png").
4162
+ *
4163
+ * @remarks
4164
+ * Empty for directories.
4165
+ * NOLINT
4166
+ */
4167
+ mime_type?: string | undefined;
4168
+ /**
4169
+ * Output only. The modification time of the file/directory.
4170
+ */
4171
+ modified?: string | undefined;
4172
+ /**
4173
+ * Output only. The name of the file or directory (e.g., "main.py" or "src").
4174
+ */
4175
+ name?: string | undefined;
4176
+ /**
4177
+ * Output only. The full relative path within the environment
4178
+ *
4179
+ * @remarks
4180
+ * (e.g., "workspace/src/main.py").
4181
+ */
4182
+ path?: string | undefined;
4183
+ /**
4184
+ * Output only. The size of the file/directory in bytes.
4185
+ *
4186
+ * @remarks
4187
+ * NOLINT
4188
+ */
4189
+ size_bytes?: string | undefined;
4190
+ /**
4191
+ * Output only. The type of the entry.
4192
+ */
4193
+ type?: Type_2 | undefined;
4194
+ };
4195
+
4196
+ /**
4197
+ * Metadata for a file or directory within an environment.
4198
+ */
4199
+ declare type EnvironmentFile_2 = {
4200
+ /**
4201
+ * Output only. The creation time of the file/directory.
4202
+ */
4203
+ created?: string | undefined;
4204
+ /**
4205
+ * Output only. The MIME type of the file (e.g., "text/python", "image/png").
4206
+ *
4207
+ * @remarks
4208
+ * Empty for directories.
4209
+ */
4210
+ mime_type?: string | undefined;
4211
+ /**
4212
+ * Output only. The modification time of the file/directory.
4213
+ */
4214
+ modified?: string | undefined;
4215
+ /**
4216
+ * Output only. The name of the file or directory (e.g., "main.py" or "src").
4217
+ */
4218
+ name?: string | undefined;
4219
+ /**
4220
+ * Output only. The full relative path within the environment
4221
+ *
4222
+ * @remarks
4223
+ * (e.g., "workspace/src/main.py").
4224
+ */
4225
+ path?: string | undefined;
4226
+ /**
4227
+ * Output only. The size of the file/directory in bytes.
4228
+ */
4229
+ size_bytes?: string | undefined;
4230
+ /**
4231
+ * Output only. The type of the entry.
4232
+ */
4233
+ type?: EnvironmentFileType | undefined;
4234
+ };
4235
+
4236
+ /**
4237
+ * Output only. The type of the entry.
4238
+ */
4239
+ declare type EnvironmentFileType = "file" | "directory" | (string & {});
4240
+
3849
4241
  declare type EnvironmentListResponse$ = ListEnvironmentsResponse;
3850
4242
 
3851
4243
  /**
@@ -3866,7 +4258,9 @@ export declare namespace Environments {
3866
4258
  export interface Environment extends Environment$ {
3867
4259
  }
3868
4260
  export type EnvironmentDeleteResponse = EnvironmentDeleteResponse$;
4261
+ export type EnvironmentFile = EnvironmentFile$;
3869
4262
  export type EnvironmentListResponse = EnvironmentListResponse$;
4263
+ export type GetEnvironmentFilesResponse = GetEnvironmentFilesResponse$;
3870
4264
  export namespace CreateEnvironmentRequest {
3871
4265
  export type Allowlist = Allowlist$;
3872
4266
  }
@@ -3880,14 +4274,38 @@ declare namespace environments {
3880
4274
  CreateEnvironmentRequestNetworkEnum,
3881
4275
  CreateEnvironmentRequestNetworkUnion,
3882
4276
  CreateEnvironmentRequest,
4277
+ Type_2 as Type,
4278
+ EnvironmentFile,
3883
4279
  EnvironmentNetworkEnum,
3884
4280
  EnvironmentNetworkUnion,
3885
4281
  Status_2 as Status,
3886
4282
  Environment_3 as Environment,
4283
+ GetEnvironmentFilesResponse,
3887
4284
  ListEnvironmentsResponse
3888
4285
  }
3889
4286
  }
3890
4287
 
4288
+ declare class Environments_2 extends ClientSDK {
4289
+ private _files?;
4290
+ get files(): Files_2;
4291
+ /**
4292
+ * Lists environments.
4293
+ */
4294
+ listEnvironments(params?: ListEnvironmentsParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<environments.ListEnvironmentsResponse>;
4295
+ /**
4296
+ * Creates an environment.
4297
+ */
4298
+ createEnvironment(body: environments.CreateEnvironmentRequest, api_version?: string | undefined, options?: RequestOptions): APIPromise<environments.Environment>;
4299
+ /**
4300
+ * Deletes an environment.
4301
+ */
4302
+ deleteEnvironment(id: string, params?: DeleteEnvironmentParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
4303
+ /**
4304
+ * Gets an environment.
4305
+ */
4306
+ getEnvironment(id: string, params?: GetEnvironmentParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<environments.Environment>;
4307
+ }
4308
+
3891
4309
  declare type Error$ = ErrorT;
3892
4310
 
3893
4311
  declare type Error$2 = ErrorT;
@@ -4037,6 +4455,15 @@ export declare enum FeatureSelectionPreference {
4037
4455
  PRIORITIZE_COST = "PRIORITIZE_COST"
4038
4456
  }
4039
4457
 
4458
+ /**
4459
+ * @license
4460
+ * Copyright 2026 Google LLC
4461
+ * SPDX-License-Identifier: Apache-2.0
4462
+ *
4463
+ * g3-prettier-ignore-file
4464
+ */
4465
+ declare type Fetcher = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
4466
+
4040
4467
  export declare interface FetchPredictOperationConfig {
4041
4468
  /** Used to override HTTP request options. */
4042
4469
  httpOptions?: HttpOptions;
@@ -4296,6 +4723,13 @@ export declare class Files extends BaseModule {
4296
4723
  private registerFilesInternal;
4297
4724
  }
4298
4725
 
4726
+ declare class Files_2 extends ClientSDK {
4727
+ /**
4728
+ * Retrieves file metadata or directory contents from an environment's snapshot. To download file contents directly, pass ?alt=media or use the files.download helper.
4729
+ */
4730
+ list(environment: string, path: string, params?: GetEnvironmentFilesParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<environments.GetEnvironmentFilesResponse>;
4731
+ }
4732
+
4299
4733
  declare type FileSearch$ = FileSearch_2;
4300
4734
 
4301
4735
  /** The FileSearch tool that retrieves knowledge from Semantic Retrieval corpora. Files are imported to Semantic Retrieval corpora using the ImportFile API. This data type is not supported in Vertex AI. */
@@ -4942,13 +5376,13 @@ declare type FunctionResultDelta = {
4942
5376
  call_id: string;
4943
5377
  is_error?: boolean | undefined;
4944
5378
  name?: string | undefined;
4945
- result: FunctionResultDeltaResult | Array<FunctionResultSubcontent> | string;
5379
+ result: Array<FunctionResultSubcontent> | FunctionResultDeltaResult | string;
4946
5380
  type: "function_result";
4947
5381
  };
4948
5382
 
4949
5383
  declare type FunctionResultDeltaResult = {};
4950
5384
 
4951
- declare type FunctionResultDeltaResultUnion = FunctionResultDeltaResult | Array<FunctionResultSubcontent> | string;
5385
+ declare type FunctionResultDeltaResultUnion = Array<FunctionResultSubcontent> | FunctionResultDeltaResult | string;
4952
5386
 
4953
5387
  declare type FunctionResultStep$ = FunctionResultStep;
4954
5388
 
@@ -4971,7 +5405,7 @@ declare type FunctionResultStep = {
4971
5405
  /**
4972
5406
  * Required. The result of the tool call.
4973
5407
  */
4974
- result: FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
5408
+ result: Array<FunctionResultSubcontent> | FunctionResultStepResult | string;
4975
5409
  type: "function_result";
4976
5410
  };
4977
5411
 
@@ -4980,7 +5414,7 @@ declare type FunctionResultStepResult = {};
4980
5414
  /**
4981
5415
  * Required. The result of the tool call.
4982
5416
  */
4983
- declare type FunctionResultStepResultUnion = FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
5417
+ declare type FunctionResultStepResultUnion = Array<FunctionResultSubcontent> | FunctionResultStepResult | string;
4984
5418
 
4985
5419
  declare type FunctionResultSubcontent = ImageContent | TextContent;
4986
5420
 
@@ -5027,14 +5461,21 @@ declare class GeminiNextGenAgents {
5027
5461
  private getClient;
5028
5462
  }
5029
5463
 
5464
+ declare class GeminiNextGenEnvironmentFiles {
5465
+ private readonly resolveClient;
5466
+ constructor(resolveClient: (apiVersion?: string) => GoogleGenAI_2);
5467
+ list(params: ListEnvironmentFilesParams, options?: GoogleGenAIRequestOptions): Promise<ListEnvironmentFilesResponse>;
5468
+ }
5469
+
5030
5470
  declare class GeminiNextGenEnvironments {
5031
5471
  private readonly parentClient;
5032
5472
  private sdk;
5473
+ readonly files: GeminiNextGenEnvironmentFiles;
5033
5474
  constructor(parentClient: GoogleGenAIParentClient);
5034
5475
  create(params: environments.CreateEnvironmentRequest & {
5035
5476
  api_version?: string;
5036
5477
  }, options?: GoogleGenAIRequestOptions): Promise<environments.Environment>;
5037
- list(params?: ListEnvironmentsParams | null | undefined, options?: GoogleGenAIRequestOptions): Promise<environments.ListEnvironmentsResponse>;
5478
+ list(params?: ListEnvironmentsParams_2 | null | undefined, options?: GoogleGenAIRequestOptions): Promise<environments.ListEnvironmentsResponse>;
5038
5479
  get(id: string, params?: {
5039
5480
  api_version?: string;
5040
5481
  } | null | undefined, options?: GoogleGenAIRequestOptions): Promise<environments.Environment>;
@@ -5799,6 +6240,10 @@ declare type GenerationConfig_2 = {
5799
6240
  * Seed used in decoding for reproducibility.
5800
6241
  */
5801
6242
  seed?: number | undefined;
6243
+ /**
6244
+ * Optional. Speech and multi-speaker configuration.
6245
+ */
6246
+ speech_config?: SpeakerConfig | Array<SpeechConfig_2> | undefined;
5802
6247
  /**
5803
6248
  * A list of character sequences that will stop output interaction.
5804
6249
  */
@@ -5817,10 +6262,6 @@ declare type GenerationConfig_2 = {
5817
6262
  * Configuration options for video generation.
5818
6263
  */
5819
6264
  video_config?: VideoConfig | undefined;
5820
- /**
5821
- * Optional. Speech and multi-speaker configuration.
5822
- */
5823
- speech_config?: SpeakerConfig | Array<SpeechConfig_2> | undefined;
5824
6265
  };
5825
6266
 
5826
6267
  /** The configuration for routing the request to a specific model. This can be used to control which model is used for the generation, either automatically or by specifying a model name. This data type is not supported in Gemini API. */
@@ -5851,6 +6292,20 @@ export declare interface GenerationConfigRoutingConfigManualRoutingMode {
5851
6292
  export declare interface GenerationConfigThinkingConfig extends ThinkingConfig {
5852
6293
  }
5853
6294
 
6295
+ /**
6296
+ * @license
6297
+ * Copyright 2026 Google LLC
6298
+ * SPDX-License-Identifier: Apache-2.0
6299
+ *
6300
+ * g3-prettier-ignore-file
6301
+ */
6302
+ declare type GetAgentGlobals = {
6303
+ /**
6304
+ * Which version of the API to use.
6305
+ */
6306
+ api_version?: string | undefined;
6307
+ };
6308
+
5854
6309
  declare type GetAgentParams = Omit<GetAgentRequest, "id">;
5855
6310
 
5856
6311
  declare type GetAgentRequest = {
@@ -5930,36 +6385,143 @@ export declare interface GetDocumentParameters {
5930
6385
  config?: GetDocumentConfig;
5931
6386
  }
5932
6387
 
5933
- /** Used to override the default configuration. */
5934
- export declare interface GetFileConfig {
5935
- /** Used to override HTTP request options. */
5936
- httpOptions?: HttpOptions;
5937
- /** Abort signal which can be used to cancel the request.
5938
-
5939
- NOTE: AbortSignal is a client-only operation. Using it to cancel an
5940
- operation will not cancel the request in the service. You will still
5941
- be charged usage for any applicable operations.
6388
+ /**
6389
+ * @license
6390
+ * Copyright 2026 Google LLC
6391
+ * SPDX-License-Identifier: Apache-2.0
6392
+ *
6393
+ * g3-prettier-ignore-file
6394
+ */
6395
+ declare type GetEnvironmentFilesGlobals = {
6396
+ /**
6397
+ * Which version of the API to use.
5942
6398
  */
5943
- abortSignal?: AbortSignal;
5944
- }
5945
-
5946
- /** Generates the parameters for the get method. */
5947
- export declare interface GetFileParameters {
5948
- /** The name identifier for the file to retrieve. */
5949
- name: string;
5950
- /** Used to override the default configuration. */
5951
- config?: GetFileConfig;
5952
- }
6399
+ api_version?: string | undefined;
6400
+ };
5953
6401
 
5954
- /** Optional parameters for getting a FileSearchStore. */
5955
- export declare interface GetFileSearchStoreConfig {
5956
- /** Used to override HTTP request options. */
5957
- httpOptions?: HttpOptions;
5958
- /** Abort signal which can be used to cancel the request.
6402
+ declare type GetEnvironmentFilesParams = Omit<GetEnvironmentFilesRequest, "environment" | "path">;
5959
6403
 
5960
- NOTE: AbortSignal is a client-only operation. Using it to cancel an
5961
- operation will not cancel the request in the service. You will still
5962
- be charged usage for any applicable operations.
6404
+ declare type GetEnvironmentFilesRequest = {
6405
+ /**
6406
+ * Which version of the API to use.
6407
+ */
6408
+ api_version?: string | undefined;
6409
+ environment: string;
6410
+ path: string;
6411
+ /**
6412
+ * Optional. Maximum number of entries to return per page (for directory listing).
6413
+ */
6414
+ page_size?: number | undefined;
6415
+ /**
6416
+ * Optional. Pagination token for directory listing.
6417
+ */
6418
+ page_token?: string | undefined;
6419
+ /**
6420
+ * Optional. If true and the path is a directory, recursively lists all files.
6421
+ */
6422
+ recursive?: boolean | undefined;
6423
+ };
6424
+
6425
+ declare type GetEnvironmentFilesResponse$ = GetEnvironmentFilesResponse;
6426
+
6427
+ /**
6428
+ * Response for `GetEnvironmentFiles`.
6429
+ */
6430
+ declare type GetEnvironmentFilesResponse = {
6431
+ /**
6432
+ * If the requested path is a directory, this contains its contents.
6433
+ *
6434
+ * @remarks
6435
+ * If the requested path is a file, this contains a single entry with the
6436
+ * file's metadata.
6437
+ * If alt=media was specified, this is empty (content is served via `blob`).
6438
+ */
6439
+ files?: Array<EnvironmentFile> | undefined;
6440
+ /**
6441
+ * Pagination token for directory listing.
6442
+ *
6443
+ * @remarks
6444
+ * NOLINT
6445
+ */
6446
+ next_page_token?: string | undefined;
6447
+ };
6448
+
6449
+ /**
6450
+ * Response for `GetEnvironmentFiles`.
6451
+ */
6452
+ declare type GetEnvironmentFilesResponse_2 = {
6453
+ /**
6454
+ * If the requested path is a directory, this contains its contents.
6455
+ *
6456
+ * @remarks
6457
+ * If the requested path is a file, this contains a single entry with the
6458
+ * file's metadata.
6459
+ * If alt=media was specified, this is empty (content is served via `blob`).
6460
+ */
6461
+ files?: Array<EnvironmentFile_2> | undefined;
6462
+ /**
6463
+ * Pagination token for directory listing.
6464
+ */
6465
+ next_page_token?: string | undefined;
6466
+ };
6467
+
6468
+ /**
6469
+ * @license
6470
+ * Copyright 2026 Google LLC
6471
+ * SPDX-License-Identifier: Apache-2.0
6472
+ *
6473
+ * g3-prettier-ignore-file
6474
+ */
6475
+ declare type GetEnvironmentGlobals = {
6476
+ /**
6477
+ * Which version of the API to use.
6478
+ */
6479
+ api_version?: string | undefined;
6480
+ };
6481
+
6482
+ declare type GetEnvironmentParams = Omit<GetEnvironmentRequest, "id">;
6483
+
6484
+ declare type GetEnvironmentRequest = {
6485
+ /**
6486
+ * Which version of the API to use.
6487
+ */
6488
+ api_version?: string | undefined;
6489
+ /**
6490
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
6491
+ */
6492
+ id: string;
6493
+ };
6494
+
6495
+ /** Used to override the default configuration. */
6496
+ export declare interface GetFileConfig {
6497
+ /** Used to override HTTP request options. */
6498
+ httpOptions?: HttpOptions;
6499
+ /** Abort signal which can be used to cancel the request.
6500
+
6501
+ NOTE: AbortSignal is a client-only operation. Using it to cancel an
6502
+ operation will not cancel the request in the service. You will still
6503
+ be charged usage for any applicable operations.
6504
+ */
6505
+ abortSignal?: AbortSignal;
6506
+ }
6507
+
6508
+ /** Generates the parameters for the get method. */
6509
+ export declare interface GetFileParameters {
6510
+ /** The name identifier for the file to retrieve. */
6511
+ name: string;
6512
+ /** Used to override the default configuration. */
6513
+ config?: GetFileConfig;
6514
+ }
6515
+
6516
+ /** Optional parameters for getting a FileSearchStore. */
6517
+ export declare interface GetFileSearchStoreConfig {
6518
+ /** Used to override HTTP request options. */
6519
+ httpOptions?: HttpOptions;
6520
+ /** Abort signal which can be used to cancel the request.
6521
+
6522
+ NOTE: AbortSignal is a client-only operation. Using it to cancel an
6523
+ operation will not cancel the request in the service. You will still
6524
+ be charged usage for any applicable operations.
5963
6525
  */
5964
6526
  abortSignal?: AbortSignal;
5965
6527
  }
@@ -5972,6 +6534,13 @@ export declare interface GetFileSearchStoreParameters {
5972
6534
  config?: GetFileSearchStoreConfig;
5973
6535
  }
5974
6536
 
6537
+ declare type GetInteractionByIdGlobals = {
6538
+ /**
6539
+ * Which version of the API to use.
6540
+ */
6541
+ api_version?: string | undefined;
6542
+ };
6543
+
5975
6544
  declare type GetInteractionByIdParams = Omit<GetInteractionByIdRequest, "id">;
5976
6545
 
5977
6546
  declare type GetInteractionByIdParamsNonStreaming = GetInteractionByIdParams & {
@@ -5984,17 +6553,13 @@ declare type GetInteractionByIdParamsStreaming = GetInteractionByIdParams & {
5984
6553
 
5985
6554
  declare type GetInteractionByIdRequest = {
5986
6555
  /**
5987
- * The unique identifier of the interaction to retrieve.
5988
- */
5989
- id: string;
5990
- /**
5991
- * If set to true, the generated content will be streamed incrementally.
6556
+ * Which version of the API to use.
5992
6557
  */
5993
- stream?: boolean | undefined;
6558
+ api_version?: string | undefined;
5994
6559
  /**
5995
- * Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
6560
+ * The unique identifier of the interaction to retrieve.
5996
6561
  */
5997
- last_event_id?: string | undefined;
6562
+ id: string;
5998
6563
  /**
5999
6564
  * If set to true, includes the input in the response.
6000
6565
  *
@@ -6002,11 +6567,17 @@ declare type GetInteractionByIdRequest = {
6002
6567
  */
6003
6568
  include_input?: boolean | undefined;
6004
6569
  /**
6005
- * Which version of the API to use.
6570
+ * Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if `stream` is true.
6006
6571
  */
6007
- api_version?: string | undefined;
6572
+ last_event_id?: string | undefined;
6573
+ /**
6574
+ * If set to true, the generated content will be streamed incrementally.
6575
+ */
6576
+ stream?: boolean | undefined;
6008
6577
  };
6009
6578
 
6579
+ declare type GetInteractionByIdResponse = interactions.Interaction | Stream<interactions.InteractionSSEEvent>;
6580
+
6010
6581
  /** Optional parameters for models.get method. */
6011
6582
  export declare interface GetModelConfig {
6012
6583
  /** Used to override HTTP request options. */
@@ -6046,6 +6617,20 @@ export declare interface GetOperationParameters {
6046
6617
  config?: GetOperationConfig;
6047
6618
  }
6048
6619
 
6620
+ /**
6621
+ * @license
6622
+ * Copyright 2026 Google LLC
6623
+ * SPDX-License-Identifier: Apache-2.0
6624
+ *
6625
+ * g3-prettier-ignore-file
6626
+ */
6627
+ declare type GetTriggerGlobals = {
6628
+ /**
6629
+ * Which version of the API to use.
6630
+ */
6631
+ api_version?: string | undefined;
6632
+ };
6633
+
6049
6634
  declare type GetTriggerParams = Omit<GetTriggerRequest, "id">;
6050
6635
 
6051
6636
  declare type GetTriggerRequest = {
@@ -6079,6 +6664,20 @@ export declare interface GetTuningJobParameters {
6079
6664
  config?: GetTuningJobConfig;
6080
6665
  }
6081
6666
 
6667
+ /**
6668
+ * @license
6669
+ * Copyright 2026 Google LLC
6670
+ * SPDX-License-Identifier: Apache-2.0
6671
+ *
6672
+ * g3-prettier-ignore-file
6673
+ */
6674
+ declare type GetWebhookGlobals = {
6675
+ /**
6676
+ * Which version of the API to use.
6677
+ */
6678
+ api_version?: string | undefined;
6679
+ };
6680
+
6082
6681
  declare type GetWebhookParams = Omit<GetWebhookRequest, "id">;
6083
6682
 
6084
6683
  declare type GetWebhookRequest = {
@@ -6166,6 +6765,19 @@ export declare class GoogleGenAI {
6166
6765
  constructor(options?: GoogleGenAIOptions);
6167
6766
  }
6168
6767
 
6768
+ declare class GoogleGenAI_2 extends ClientSDK {
6769
+ private _agents?;
6770
+ get agents(): Agents_2;
6771
+ private _environments?;
6772
+ get environments(): Environments_2;
6773
+ private _interactions?;
6774
+ get interactions(): Interactions_2;
6775
+ private _triggers?;
6776
+ get triggers(): Triggers_2;
6777
+ private _webhooks?;
6778
+ get webhooks(): Webhooks_2;
6779
+ }
6780
+
6169
6781
  declare type GoogleGenAIInteraction = GoogleGenAIResponseWithSdkHttpResponse<Omit<interactions.Interaction, "steps"> & {
6170
6782
  steps: interactions.Step[];
6171
6783
  }>;
@@ -7017,6 +7629,86 @@ export declare interface HistoryConfig {
7017
7629
  initialHistoryInClientContent?: boolean;
7018
7630
  }
7019
7631
 
7632
+ declare type HookContext = {
7633
+ base_url: string | URL;
7634
+ operation_id: string;
7635
+ o_auth2_scopes: string[] | null;
7636
+ security_source?: any | (() => Promise<any>);
7637
+ retry_config: RetryConfig;
7638
+ resolved_security: SecurityState | null;
7639
+ options: SDKOptions;
7640
+ timeout_ms?: number;
7641
+ };
7642
+
7643
+ declare interface Hooks {
7644
+ /** Registers a hook to be used by the SDK for initialization event. */
7645
+ registerSDKInitHook(hook: SDKInitHook): void;
7646
+ /** Registers a hook to be used by the SDK for to modify `Request` construction. */
7647
+ registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void;
7648
+ /** Registers a hook to be used by the SDK for the before request event. */
7649
+ registerBeforeRequestHook(hook: BeforeRequestHook_2): void;
7650
+ /** Registers a hook to be used by the SDK for the after success event. */
7651
+ registerAfterSuccessHook(hook: AfterSuccessHook): void;
7652
+ /** Registers a hook to be used by the SDK for the after error event. */
7653
+ registerAfterErrorHook(hook: AfterErrorHook): void;
7654
+ }
7655
+
7656
+ declare class HTTPClient {
7657
+ private fetcher;
7658
+ private requestHooks;
7659
+ private requestErrorHooks;
7660
+ private responseHooks;
7661
+ private options;
7662
+ constructor(options?: HTTPClientOptions);
7663
+ request(request: Request): Promise<Response>;
7664
+ /**
7665
+ * Registers a hook that is called before a request is made. The hook function
7666
+ * can mutate the request or return a new request. This may be useful to add
7667
+ * additional information to request such as request IDs and tracing headers.
7668
+ */
7669
+ addHook(hook: "beforeRequest", fn: BeforeRequestHook): this;
7670
+ /**
7671
+ * Registers a hook that is called when a request cannot be made due to a
7672
+ * network error.
7673
+ */
7674
+ addHook(hook: "requestError", fn: RequestErrorHook): this;
7675
+ /**
7676
+ * Registers a hook that is called when a response has been received from the
7677
+ * server.
7678
+ */
7679
+ addHook(hook: "response", fn: ResponseHook): this;
7680
+ /** Removes a hook that was previously registered with `addHook`. */
7681
+ removeHook(hook: "beforeRequest", fn: BeforeRequestHook): this;
7682
+ /** Removes a hook that was previously registered with `addHook`. */
7683
+ removeHook(hook: "requestError", fn: RequestErrorHook): this;
7684
+ /** Removes a hook that was previously registered with `addHook`. */
7685
+ removeHook(hook: "response", fn: ResponseHook): this;
7686
+ clone(): HTTPClient;
7687
+ }
7688
+
7689
+ /**
7690
+ * @license
7691
+ * Copyright 2026 Google LLC
7692
+ * SPDX-License-Identifier: Apache-2.0
7693
+ *
7694
+ * g3-prettier-ignore-file
7695
+ */
7696
+ /**
7697
+ * Base class for all HTTP errors.
7698
+ */
7699
+ declare class HTTPClientError extends Error {
7700
+ /** The underlying cause of the error. */
7701
+ readonly cause: unknown;
7702
+ name: string;
7703
+ constructor(message: string, opts?: {
7704
+ cause?: unknown;
7705
+ });
7706
+ }
7707
+
7708
+ declare interface HTTPClientOptions {
7709
+ fetcher?: Fetcher;
7710
+ }
7711
+
7020
7712
  /** The location of the API key. This enum is not supported in Gemini API. */
7021
7713
  export declare enum HttpElementLocation {
7022
7714
  HTTP_IN_UNSPECIFIED = "HTTP_IN_UNSPECIFIED",
@@ -7243,16 +7935,16 @@ declare type ImageContent = {
7243
7935
  * The image content.
7244
7936
  */
7245
7937
  data?: string | undefined;
7938
+ /**
7939
+ * The mime type of the image.
7940
+ */
7941
+ mime_type?: ImageContentMimeType | undefined;
7246
7942
  resolution?: MediaResolution_2 | undefined;
7247
7943
  type: "image";
7248
7944
  /**
7249
7945
  * The URI of the image.
7250
7946
  */
7251
7947
  uri?: string | undefined;
7252
- /**
7253
- * The mime type of the image.
7254
- */
7255
- mime_type?: ImageContentMimeType | undefined;
7256
7948
  };
7257
7949
 
7258
7950
  /**
@@ -7514,22 +8206,14 @@ declare type Interaction$ = Interaction;
7514
8206
  * The Interaction resource.
7515
8207
  */
7516
8208
  declare type Interaction = {
7517
- /**
7518
- * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
7519
- */
7520
- model?: Model_2 | undefined;
7521
8209
  /**
7522
8210
  * The agent to interact with.
7523
8211
  */
7524
8212
  agent?: AgentOption | undefined;
7525
8213
  /**
7526
- * Required. Output only. A unique identifier for the interaction completion.
7527
- */
7528
- id: string;
7529
- /**
7530
- * Required. Output only. The status of the interaction.
8214
+ * Configuration parameters for the agent interaction.
7531
8215
  */
7532
- status: InteractionStatus_2;
8216
+ agent_config?: AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig | undefined;
7533
8217
  /**
7534
8218
  * Output only. The time at which the response was created in ISO 8601 format
7535
8219
  *
@@ -7538,110 +8222,118 @@ declare type Interaction = {
7538
8222
  */
7539
8223
  created?: string | undefined;
7540
8224
  /**
7541
- * Output only. The time at which the response was last updated in ISO 8601 format
8225
+ * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
8226
+ */
8227
+ environment?: Environment_2 | string | undefined;
8228
+ /**
8229
+ * Output only. The environment ID for the interaction. Only populated if environment
7542
8230
  *
7543
8231
  * @remarks
7544
- * (YYYY-MM-DDThh:mm:ssZ).
8232
+ * config is set in the request.
7545
8233
  */
7546
- updated?: string | undefined;
8234
+ environment_id?: string | undefined;
7547
8235
  /**
7548
- * System instruction for the interaction.
8236
+ * Output only. Diagnostic faults / platform errors recorded on the interaction.
7549
8237
  */
7550
- system_instruction?: string | undefined;
8238
+ errors?: Array<ErrorT> | undefined;
7551
8239
  /**
7552
- * A list of tool declarations the model may call during interaction.
8240
+ * Configuration parameters for model interactions.
7553
8241
  */
7554
- tools?: Array<Tool_2> | undefined;
8242
+ generation_config?: GenerationConfig_2 | undefined;
7555
8243
  /**
7556
- * Output only. Diagnostic faults / platform errors recorded on the interaction.
8244
+ * Required. Output only. A unique identifier for the interaction completion.
7557
8245
  */
7558
- errors?: Array<ErrorT> | undefined;
8246
+ id: string;
7559
8247
  /**
7560
- * Statistics on the interaction request's token usage.
8248
+ * The input for the interaction.
7561
8249
  */
7562
- usage?: Usage | undefined;
8250
+ input?: InteractionsInput | undefined;
7563
8251
  /**
7564
- * The requested modalities of the response (TEXT, IMAGE, AUDIO).
7565
- *
7566
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
8252
+ * The labels with user-defined metadata for the request.
7567
8253
  */
7568
- response_modalities?: Array<ResponseModality> | undefined;
8254
+ labels?: {
8255
+ [k: string]: string;
8256
+ } | undefined;
7569
8257
  /**
7570
- * The mime type of the response. This is required if response_format is set.
7571
- *
7572
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
8258
+ * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
7573
8259
  */
7574
- response_mime_type?: string | undefined;
8260
+ model?: Model_2 | undefined;
7575
8261
  /**
7576
- * The ID of the previous interaction, if any.
8262
+ * An audio content block.
7577
8263
  */
7578
- previous_interaction_id?: string | undefined;
8264
+ output_audio?: AudioContent | undefined;
7579
8265
  /**
7580
- * Output only. The environment ID for the interaction. Only populated if environment
8266
+ * An image content block.
8267
+ */
8268
+ output_image?: ImageContent | undefined;
8269
+ /**
8270
+ * Concatenated text from the last model output in response to the current request.
7581
8271
  *
7582
8272
  * @remarks
7583
- * config is set in the request.
8273
+ *
8274
+ * Note: this is added by the SDK.
7584
8275
  */
7585
- environment_id?: string | undefined;
7586
- service_tier?: ServiceTier_2 | undefined;
8276
+ output_text?: string | undefined;
7587
8277
  /**
7588
- * Message for configuring webhook events for a request.
8278
+ * A video content block.
7589
8279
  */
7590
- webhook_config?: WebhookConfig_2 | undefined;
8280
+ output_video?: VideoContent | undefined;
7591
8281
  /**
7592
- * Output only. The steps that make up the interaction, when included in the response.
8282
+ * The ID of the previous interaction, if any.
7593
8283
  */
7594
- steps?: Array<Step> | undefined;
8284
+ previous_interaction_id?: string | undefined;
7595
8285
  /**
7596
8286
  * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
7597
8287
  */
7598
- response_format?: Array<ResponseFormat_2> | ResponseFormat_2 | undefined;
7599
- /**
7600
- * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7601
- */
7602
- environment?: Environment_2 | string | undefined;
8288
+ response_format?: ResponseFormat_2 | Array<ResponseFormat_2> | undefined;
7603
8289
  /**
7604
- * Configuration parameters for model interactions.
8290
+ * The mime type of the response. This is required if response_format is set.
8291
+ *
8292
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
7605
8293
  */
7606
- generation_config?: GenerationConfig_2 | undefined;
8294
+ response_mime_type?: string | undefined;
7607
8295
  /**
7608
- * Configuration parameters for the agent interaction.
8296
+ * The requested modalities of the response (TEXT, IMAGE, AUDIO).
8297
+ *
8298
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
7609
8299
  */
7610
- agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig | undefined;
8300
+ response_modalities?: Array<ResponseModality> | undefined;
7611
8301
  /**
7612
8302
  * Safety settings for the interaction.
7613
8303
  */
7614
8304
  safety_settings?: Array<SafetySetting_2> | undefined;
8305
+ service_tier?: ServiceTier_2 | undefined;
7615
8306
  /**
7616
- * The labels with user-defined metadata for the request.
8307
+ * Required. Output only. The status of the interaction.
7617
8308
  */
7618
- labels?: {
7619
- [k: string]: string;
7620
- } | undefined;
8309
+ status: InteractionStatus_2;
7621
8310
  /**
7622
- * The input for the interaction.
8311
+ * Output only. The steps that make up the interaction, when included in the response.
7623
8312
  */
7624
- input?: InteractionsInput | undefined;
8313
+ steps?: Array<Step> | undefined;
7625
8314
  /**
7626
- * Concatenated text from the last model output in response to the current request.
7627
- *
7628
- * @remarks
7629
- *
7630
- * Note: this is added by the SDK.
8315
+ * System instruction for the interaction.
7631
8316
  */
7632
- output_text?: string | undefined;
8317
+ system_instruction?: string | undefined;
7633
8318
  /**
7634
- * An image content block.
8319
+ * A list of tool declarations the model may call during interaction.
7635
8320
  */
7636
- output_image?: ImageContent | undefined;
8321
+ tools?: Array<Tool_2> | undefined;
7637
8322
  /**
7638
- * An audio content block.
8323
+ * Output only. The time at which the response was last updated in ISO 8601 format
8324
+ *
8325
+ * @remarks
8326
+ * (YYYY-MM-DDThh:mm:ssZ).
7639
8327
  */
7640
- output_audio?: AudioContent | undefined;
8328
+ updated?: string | undefined;
7641
8329
  /**
7642
- * A video content block.
8330
+ * Statistics on the interaction request's token usage.
7643
8331
  */
7644
- output_video?: VideoContent | undefined;
8332
+ usage?: Usage | undefined;
8333
+ /**
8334
+ * Message for configuring webhook events for a request.
8335
+ */
8336
+ webhook_config?: WebhookConfig_2 | undefined;
7645
8337
  };
7646
8338
 
7647
8339
  /**
@@ -7652,14 +8344,13 @@ declare type Interaction_2 = interactions.CreateAgentInteraction | interactions.
7652
8344
  /**
7653
8345
  * Configuration parameters for the agent interaction.
7654
8346
  */
7655
- declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig;
8347
+ declare type InteractionAgentConfig = AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig;
7656
8348
 
7657
8349
  declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7658
8350
 
7659
8351
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7660
8352
 
7661
8353
  declare type InteractionCompletedEvent = {
7662
- event_type: "interaction.completed";
7663
8354
  /**
7664
8355
  * The event_id token to be used to resume the interaction stream, from
7665
8356
  *
@@ -7667,6 +8358,7 @@ declare type InteractionCompletedEvent = {
7667
8358
  * this event.
7668
8359
  */
7669
8360
  event_id?: string | undefined;
8361
+ event_type: "interaction.completed";
7670
8362
  /**
7671
8363
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7672
8364
  *
@@ -7680,7 +8372,6 @@ declare type InteractionCompletedEvent = {
7680
8372
  declare type InteractionCreatedEvent$ = InteractionCreatedEvent;
7681
8373
 
7682
8374
  declare type InteractionCreatedEvent = {
7683
- event_type: "interaction.created";
7684
8375
  /**
7685
8376
  * The event_id token to be used to resume the interaction stream, from
7686
8377
  *
@@ -7688,6 +8379,7 @@ declare type InteractionCreatedEvent = {
7688
8379
  * this event.
7689
8380
  */
7690
8381
  event_id?: string | undefined;
8382
+ event_type: "interaction.created";
7691
8383
  /**
7692
8384
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7693
8385
  *
@@ -7734,7 +8426,7 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7734
8426
  /**
7735
8427
  * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
7736
8428
  */
7737
- declare type InteractionResponseFormat = Array<ResponseFormat_2> | ResponseFormat_2;
8429
+ declare type InteractionResponseFormat = ResponseFormat_2 | Array<ResponseFormat_2>;
7738
8430
 
7739
8431
  export declare namespace Interactions {
7740
8432
  export type AllowedTools = AllowedTools$;
@@ -7803,6 +8495,8 @@ export declare namespace Interactions {
7803
8495
  export type ModelOutputStep = ModelOutputStep$;
7804
8496
  export interface PlaceCitation extends PlaceCitation$ {
7805
8497
  }
8498
+ export type ProcessingCallStep = ProcessingCallStep$;
8499
+ export type ProcessingResultStep = ProcessingResultStep$;
7806
8500
  export type RetrievalCallArguments = RetrievalCallArguments$;
7807
8501
  export interface RetrievalCallDelta extends RetrievalCallDelta$ {
7808
8502
  }
@@ -7822,6 +8516,7 @@ export declare namespace Interactions {
7822
8516
  export type ToolChoiceConfig = ToolChoiceConfig$;
7823
8517
  export type ToolChoiceType = ToolChoiceType$;
7824
8518
  export type TranscriptionConfig = TranscriptionConfig$;
8519
+ export type TranscriptionMode = TranscriptionMode$;
7825
8520
  export type URLCitation = URLCitation$;
7826
8521
  export type URLContextCallArguments = URLContextCallArguments$;
7827
8522
  export interface URLContextCallStep extends URLContextCallStep$ {
@@ -7915,6 +8610,8 @@ export declare namespace Interactions {
7915
8610
  export type MCPServerToolCall = MCPServerToolCall$;
7916
8611
  export type MCPServerToolResult = MCPServerToolResult$;
7917
8612
  export type Metadata = Metadata$;
8613
+ export type ProcessingCall = ProcessingCall$;
8614
+ export type ProcessingResult = ProcessingResult$;
7918
8615
  export type Text = Text$;
7919
8616
  export type TextAnnotationDelta = TextAnnotationDelta$;
7920
8617
  export type ThoughtSignature = ThoughtSignature$;
@@ -7937,6 +8634,10 @@ export declare namespace Interactions {
7937
8634
  export type VertexAISearchConfig = VertexAISearchConfig$;
7938
8635
  }
7939
8636
  }
8637
+ export namespace TranscriptionMode {
8638
+ export type Smart = Smart$;
8639
+ export type Verbatim = Verbatim$;
8640
+ }
7940
8641
  export namespace URLContextCallStep {
7941
8642
  export type Arguments = Arguments$5;
7942
8643
  }
@@ -7983,12 +8684,12 @@ declare namespace interactions {
7983
8684
  EnvironmentEnum,
7984
8685
  ComputerUse_2 as ComputerUse,
7985
8686
  Content_2 as Content,
7986
- CreateAgentInteractionResponseFormat,
7987
- CreateAgentInteractionEnvironment,
7988
8687
  CreateAgentInteractionAgentConfig,
8688
+ CreateAgentInteractionEnvironment,
8689
+ CreateAgentInteractionResponseFormat,
7989
8690
  CreateAgentInteraction,
7990
- CreateModelInteractionResponseFormat,
7991
8691
  CreateModelInteractionEnvironment,
8692
+ CreateModelInteractionResponseFormat,
7992
8693
  CreateModelInteraction,
7993
8694
  Visualization,
7994
8695
  DeepResearchAgentConfig,
@@ -8028,8 +8729,8 @@ declare namespace interactions {
8028
8729
  FunctionResultStep,
8029
8730
  FunctionResultSubcontent,
8030
8731
  FunctionT,
8031
- ToolChoice,
8032
8732
  SpeechConfigUnion_2 as SpeechConfigUnion,
8733
+ ToolChoice,
8033
8734
  GenerationConfig_2 as GenerationConfig,
8034
8735
  GoogleMapsCallArguments,
8035
8736
  GoogleMapsCallDelta,
@@ -8072,10 +8773,10 @@ declare namespace interactions {
8072
8773
  InteractionSSEStreamEvent,
8073
8774
  InteractionStatusUpdateStatus,
8074
8775
  InteractionStatusUpdate,
8075
- InteractionStatus_2 as InteractionStatus,
8076
- InteractionResponseFormat,
8077
- InteractionEnvironment,
8078
8776
  InteractionAgentConfig,
8777
+ InteractionEnvironment,
8778
+ InteractionResponseFormat,
8779
+ InteractionStatus_2 as InteractionStatus,
8079
8780
  Interaction,
8080
8781
  InteractionsInput,
8081
8782
  MCPServerToolCallDelta,
@@ -8087,13 +8788,17 @@ declare namespace interactions {
8087
8788
  MCPServerToolResultStepResultUnion,
8088
8789
  MCPServerToolResultStep,
8089
8790
  MCPServer,
8090
- MediaProcessing,
8791
+ MediaProcessing_2 as MediaProcessing,
8091
8792
  MediaResolution_2 as MediaResolution,
8092
8793
  ModalityTokens,
8093
8794
  ModelOutputStep,
8094
8795
  Model_2 as Model,
8095
8796
  ParallelAISearchConfig,
8096
8797
  PlaceCitation,
8798
+ ProcessingCallDelta,
8799
+ ProcessingCallStep,
8800
+ ProcessingResultDelta,
8801
+ ProcessingResultStep,
8097
8802
  RagResource,
8098
8803
  RagRetrievalConfig_2 as RagRetrievalConfig,
8099
8804
  RagStoreConfig,
@@ -8112,6 +8817,7 @@ declare namespace interactions {
8112
8817
  SafetySetting_2 as SafetySetting,
8113
8818
  ServiceTier_2 as ServiceTier,
8114
8819
  SessionConfig,
8820
+ SmartTranscriptionMode,
8115
8821
  SourceType,
8116
8822
  Source,
8117
8823
  SpeakerConfig,
@@ -8138,7 +8844,10 @@ declare namespace interactions {
8138
8844
  ToolChoiceConfig,
8139
8845
  ToolChoiceType,
8140
8846
  Tool_2 as Tool,
8847
+ TranscriptionConfigModeEnum,
8848
+ TranscriptionConfigMode,
8141
8849
  TranscriptionConfig,
8850
+ TranscriptionMode,
8142
8851
  URLCitation,
8143
8852
  URLContextCallArguments,
8144
8853
  URLContextCallDelta,
@@ -8150,12 +8859,13 @@ declare namespace interactions {
8150
8859
  URLContext,
8151
8860
  Usage,
8152
8861
  UserInputStep,
8862
+ VerbatimTranscriptionMode,
8153
8863
  VertexAISearchConfig,
8154
8864
  Task,
8155
8865
  VideoConfig,
8866
+ VideoContentMimeType,
8156
8867
  ProcessingEnum,
8157
8868
  Processing,
8158
- VideoContentMimeType,
8159
8869
  VideoContent,
8160
8870
  VideoDeltaMimeType,
8161
8871
  VideoDelta,
@@ -8168,14 +8878,51 @@ declare namespace interactions {
8168
8878
  }
8169
8879
  }
8170
8880
 
8881
+ declare class Interactions_2 extends ClientSDK {
8882
+ /**
8883
+ * Creating an interaction
8884
+ *
8885
+ * @remarks
8886
+ * Creates a new interaction.
8887
+ */
8888
+ create(params: CreateAgentInteractionParamsNonStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8889
+ create(params: CreateModelInteractionParamsNonStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8890
+ create(params: CreateAgentInteractionParamsStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8891
+ create(params: CreateModelInteractionParamsStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8892
+ create(params: CreateInteractionParams, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8893
+ /**
8894
+ * Deleting an interaction
8895
+ *
8896
+ * @remarks
8897
+ * Deletes the interaction by id.
8898
+ */
8899
+ delete(id: string, params?: DeleteInteractionParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<void>;
8900
+ /**
8901
+ * Retrieving an interaction
8902
+ *
8903
+ * @remarks
8904
+ * Retrieves the full details of a single interaction based on its `Interaction.id`.
8905
+ */
8906
+ get(id: string, params?: GetInteractionByIdParamsNonStreaming, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
8907
+ get(id: string, params: GetInteractionByIdParamsStreaming, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
8908
+ get(id: string, params?: GetInteractionByIdParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
8909
+ /**
8910
+ * Canceling an interaction
8911
+ *
8912
+ * @remarks
8913
+ * Cancels an interaction by id. This only applies to background interactions that are still running.
8914
+ */
8915
+ cancel(id: string, params?: CancelInteractionByIdParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Interaction>;
8916
+ }
8917
+
8171
8918
  /**
8172
8919
  * The input for the interaction.
8173
8920
  */
8174
- declare type InteractionsInput = string | Array<Step> | Array<Content_2> | Content_2;
8921
+ declare type InteractionsInput = Content_2 | Array<Step> | Array<Content_2> | string;
8175
8922
 
8176
8923
  declare type InteractionSSEEvent$ = InteractionSSEEvent;
8177
8924
 
8178
- declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
8925
+ declare type InteractionSSEEvent = ErrorEvent_2 | InteractionCompletedEvent | InteractionCreatedEvent | InteractionStatusUpdate | StepDelta | StepStart | StepStop;
8179
8926
 
8180
8927
  /**
8181
8928
  * Partial interaction resource emitted by interaction lifecycle SSE events.
@@ -8186,42 +8933,42 @@ declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionComplete
8186
8933
  */
8187
8934
  declare type InteractionSseEventInteraction = {
8188
8935
  /**
8189
- * Required. Output only. A unique identifier for the interaction completion.
8936
+ * The agent to interact with.
8190
8937
  */
8191
- id: string;
8938
+ agent?: string | undefined;
8192
8939
  /**
8193
- * Output only. The resource type.
8940
+ * Output only. The time at which the response was created in ISO 8601 format.
8194
8941
  */
8195
- object?: string | undefined;
8942
+ created?: string | undefined;
8943
+ /**
8944
+ * Required. Output only. A unique identifier for the interaction completion.
8945
+ */
8946
+ id: string;
8196
8947
  /**
8197
8948
  * The model that will complete your prompt.
8198
8949
  */
8199
8950
  model?: string | undefined;
8200
8951
  /**
8201
- * The agent to interact with.
8952
+ * Output only. The resource type.
8202
8953
  */
8203
- agent?: string | undefined;
8954
+ object?: string | undefined;
8955
+ service_tier?: ServiceTier_2 | undefined;
8204
8956
  /**
8205
8957
  * Required. Output only. The status of the interaction.
8206
8958
  */
8207
8959
  status: InteractionSseEventInteractionStatus;
8208
8960
  /**
8209
- * Output only. The time at which the response was created in ISO 8601 format.
8961
+ * Output only. The steps that make up the interaction, if included in this event.
8210
8962
  */
8211
- created?: string | undefined;
8963
+ steps?: Array<Step> | undefined;
8212
8964
  /**
8213
8965
  * Output only. The time at which the response was last updated in ISO 8601 format.
8214
8966
  */
8215
8967
  updated?: string | undefined;
8216
- service_tier?: ServiceTier_2 | undefined;
8217
8968
  /**
8218
8969
  * Statistics on the interaction request's token usage.
8219
8970
  */
8220
8971
  usage?: Usage | undefined;
8221
- /**
8222
- * Output only. The steps that make up the interaction, if included in this event.
8223
- */
8224
- steps?: Array<Step> | undefined;
8225
8972
  };
8226
8973
 
8227
8974
  /**
@@ -8298,6 +9045,13 @@ export declare interface Interval {
8298
9045
  startTime?: string;
8299
9046
  }
8300
9047
 
9048
+ /**
9049
+ * An error that is raised when any inputs used to create a request are invalid.
9050
+ */
9051
+ declare class InvalidRequestError extends HTTPClientError {
9052
+ name: string;
9053
+ }
9054
+
8301
9055
  /** Job error. */
8302
9056
  export declare interface JobError {
8303
9057
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
@@ -8402,6 +9156,20 @@ export declare interface LatLng {
8402
9156
  longitude?: number;
8403
9157
  }
8404
9158
 
9159
+ /**
9160
+ * @license
9161
+ * Copyright 2026 Google LLC
9162
+ * SPDX-License-Identifier: Apache-2.0
9163
+ *
9164
+ * g3-prettier-ignore-file
9165
+ */
9166
+ declare type ListAgentsGlobals = {
9167
+ /**
9168
+ * Which version of the API to use.
9169
+ */
9170
+ api_version?: string | undefined;
9171
+ };
9172
+
8405
9173
  declare type ListAgentsParams = ListAgentsRequest;
8406
9174
 
8407
9175
  declare type ListAgentsParams_2 = {
@@ -8513,12 +9281,57 @@ export declare class ListDocumentsResponse {
8513
9281
  documents?: Document_2[];
8514
9282
  }
8515
9283
 
8516
- declare type ListEnvironmentsParams = {
9284
+ declare type ListEnvironmentFilesParams = {
9285
+ environment: string;
9286
+ path: string;
9287
+ page_size?: number;
9288
+ page_token?: string;
9289
+ recursive?: boolean;
9290
+ api_version?: string;
9291
+ };
9292
+
9293
+ /**
9294
+ * Alias for GetEnvironmentFilesResponse when listing files.
9295
+ */
9296
+ declare type ListEnvironmentFilesResponse = GetEnvironmentFilesResponse_2;
9297
+
9298
+ /**
9299
+ * @license
9300
+ * Copyright 2026 Google LLC
9301
+ * SPDX-License-Identifier: Apache-2.0
9302
+ *
9303
+ * g3-prettier-ignore-file
9304
+ */
9305
+ declare type ListEnvironmentsGlobals = {
9306
+ /**
9307
+ * Which version of the API to use.
9308
+ */
9309
+ api_version?: string | undefined;
9310
+ };
9311
+
9312
+ declare type ListEnvironmentsParams = ListEnvironmentsRequest;
9313
+
9314
+ declare type ListEnvironmentsParams_2 = {
8517
9315
  api_version?: string;
8518
9316
  page_size?: number;
8519
9317
  page_token?: string;
8520
9318
  };
8521
9319
 
9320
+ declare type ListEnvironmentsRequest = {
9321
+ /**
9322
+ * Which version of the API to use.
9323
+ */
9324
+ api_version?: string | undefined;
9325
+ /**
9326
+ * Optional. Maximum number of environments to return.\nIf unspecified, defaults to 50. Maximum is 1000.
9327
+ */
9328
+ page_size?: number | undefined;
9329
+ /**
9330
+ * Optional. Pagination token.
9331
+ */
9332
+ page_token?: string | undefined;
9333
+ };
9334
+
8522
9335
  /**
8523
9336
  * Response for `ListEnvironments`.
8524
9337
  */
@@ -8622,6 +9435,20 @@ export declare class ListModelsResponse {
8622
9435
  models?: Model[];
8623
9436
  }
8624
9437
 
9438
+ /**
9439
+ * @license
9440
+ * Copyright 2026 Google LLC
9441
+ * SPDX-License-Identifier: Apache-2.0
9442
+ *
9443
+ * g3-prettier-ignore-file
9444
+ */
9445
+ declare type ListTriggerExecutionsGlobals = {
9446
+ /**
9447
+ * Which version of the API to use.
9448
+ */
9449
+ api_version?: string | undefined;
9450
+ };
9451
+
8625
9452
  declare type ListTriggerExecutionsParams = Omit<ListTriggerExecutionsRequest, "trigger_id">;
8626
9453
 
8627
9454
  declare type ListTriggerExecutionsParams_2 = {
@@ -8668,6 +9495,20 @@ declare type ListTriggerExecutionsResponse = {
8668
9495
  trigger_executions?: Array<TriggerExecution> | undefined;
8669
9496
  };
8670
9497
 
9498
+ /**
9499
+ * @license
9500
+ * Copyright 2026 Google LLC
9501
+ * SPDX-License-Identifier: Apache-2.0
9502
+ *
9503
+ * g3-prettier-ignore-file
9504
+ */
9505
+ declare type ListTriggersGlobals = {
9506
+ /**
9507
+ * Which version of the API to use.
9508
+ */
9509
+ api_version?: string | undefined;
9510
+ };
9511
+
8671
9512
  declare type ListTriggersParams = ListTriggersRequest;
8672
9513
 
8673
9514
  declare type ListTriggersParams_2 = {
@@ -8746,6 +9587,20 @@ export declare class ListTuningJobsResponse {
8746
9587
  tuningJobs?: TuningJob[];
8747
9588
  }
8748
9589
 
9590
+ /**
9591
+ * @license
9592
+ * Copyright 2026 Google LLC
9593
+ * SPDX-License-Identifier: Apache-2.0
9594
+ *
9595
+ * g3-prettier-ignore-file
9596
+ */
9597
+ declare type ListWebhooksGlobals = {
9598
+ /**
9599
+ * Which version of the API to use.
9600
+ */
9601
+ api_version?: string | undefined;
9602
+ };
9603
+
8749
9604
  declare type ListWebhooksParams = ListWebhooksRequest;
8750
9605
 
8751
9606
  declare type ListWebhooksRequest = {
@@ -9566,6 +10421,19 @@ export declare interface LiveServerToolCallCancellation {
9566
10421
  ids?: string[];
9567
10422
  }
9568
10423
 
10424
+ /**
10425
+ * @license
10426
+ * Copyright 2026 Google LLC
10427
+ * SPDX-License-Identifier: Apache-2.0
10428
+ *
10429
+ * g3-prettier-ignore-file
10430
+ */
10431
+ declare interface Logger {
10432
+ group(label?: string): void;
10433
+ groupEnd(): void;
10434
+ log(message: any, ...args: any[]): void;
10435
+ }
10436
+
9569
10437
  /** The log probabilities of the tokens generated by the model. This is useful for understanding the model's confidence in its predictions and for debugging. For example, you can use log probabilities to identify when the model is making a less confident prediction or to explore alternative responses that the model considered. A low log probability can also indicate that the model is "hallucinating" or generating factually incorrect information. */
9570
10438
  export declare interface LogprobsResult {
9571
10439
  /** A list of the chosen candidate tokens at each decoding step. The length of this list is equal to the total number of decoding steps. Note that the chosen candidate might not be in `top_candidates`. */
@@ -9750,14 +10618,14 @@ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
9750
10618
 
9751
10619
  declare type MCPServerToolResultDelta = {
9752
10620
  name?: string | undefined;
9753
- result: MCPServerToolResultDeltaResult | Array<FunctionResultSubcontent> | string;
10621
+ result: Array<FunctionResultSubcontent> | MCPServerToolResultDeltaResult | string;
9754
10622
  server_name?: string | undefined;
9755
10623
  type: "mcp_server_tool_result";
9756
10624
  };
9757
10625
 
9758
10626
  declare type MCPServerToolResultDeltaResult = {};
9759
10627
 
9760
- declare type MCPServerToolResultDeltaResultUnion = MCPServerToolResultDeltaResult | Array<FunctionResultSubcontent> | string;
10628
+ declare type MCPServerToolResultDeltaResultUnion = Array<FunctionResultSubcontent> | MCPServerToolResultDeltaResult | string;
9761
10629
 
9762
10630
  declare type MCPServerToolResultStep$ = MCPServerToolResultStep;
9763
10631
 
@@ -9776,7 +10644,7 @@ declare type MCPServerToolResultStep = {
9776
10644
  /**
9777
10645
  * Required. The output from the MCP server call. Can be simple text or rich content.
9778
10646
  */
9779
- result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
10647
+ result: Array<FunctionResultSubcontent> | MCPServerToolResultStepResult | string;
9780
10648
  /**
9781
10649
  * The name of the used MCP server.
9782
10650
  */
@@ -9789,7 +10657,7 @@ declare type MCPServerToolResultStepResult = {};
9789
10657
  /**
9790
10658
  * Required. The output from the MCP server call. Can be simple text or rich content.
9791
10659
  */
9792
- declare type MCPServerToolResultStepResultUnion = MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
10660
+ declare type MCPServerToolResultStepResultUnion = Array<FunctionResultSubcontent> | MCPServerToolResultStepResult | string;
9793
10661
 
9794
10662
  /**
9795
10663
  * Creates a McpCallableTool from MCP clients and an optional config.
@@ -9831,7 +10699,23 @@ export declare enum MediaModality {
9831
10699
  DOCUMENT = "DOCUMENT"
9832
10700
  }
9833
10701
 
9834
- declare type MediaProcessing = StaticMediaProcessing;
10702
+ /** How the model processes input media for understanding. */
10703
+ export declare enum MediaProcessing {
10704
+ /**
10705
+ * Default. Uses model-specific processing
10706
+ */
10707
+ MEDIA_PROCESSING_UNSPECIFIED = "MEDIA_PROCESSING_UNSPECIFIED",
10708
+ /**
10709
+ * Fixed-rate frame extraction. All frames placed in context.
10710
+ */
10711
+ STATIC = "STATIC",
10712
+ /**
10713
+ * Model-driven dynamic navigation. Recommended for most use cases.
10714
+ */
10715
+ AGENTIC = "AGENTIC"
10716
+ }
10717
+
10718
+ declare type MediaProcessing_2 = StaticMediaProcessing;
9835
10719
 
9836
10720
  /** The media resolution to use. */
9837
10721
  export declare enum MediaResolution {
@@ -9987,7 +10871,7 @@ export declare interface Model {
9987
10871
  /**
9988
10872
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9989
10873
  */
9990
- declare type Model_2 = "gemini-2.5-flash" | "gemini-2.5-pro" | "gemma-4-26b-a4b-it" | "gemma-4-31b-it" | "gemini-flash-latest" | "gemini-flash-lite-latest" | "gemini-pro-latest" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-image" | "gemini-3-flash-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-pro-preview-customtools" | "gemini-3.1-flash-lite" | "gemini-3-pro-image" | "nano-banana-pro-preview" | "gemini-3.1-flash-image" | "gemini-3.5-flash" | "gemini-3.6-flash" | "gemini-3.7-flash" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | "gemini-robotics-er-1.6-preview" | "gemini-robotics-er-2-preview" | (string & {});
10874
+ declare type Model_2 = "gemini-2.5-flash" | "gemini-2.5-pro" | "gemma-4-26b-a4b-it" | "gemma-4-31b-it" | "gemini-flash-latest" | "gemini-flash-lite-latest" | "gemini-pro-latest" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-image" | "gemini-3-flash-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-pro-preview-customtools" | "gemini-3.1-flash-lite" | "gemini-3-pro-image" | "nano-banana-pro-preview" | "gemini-3.1-flash-image" | "gemini-3.5-flash" | "gemini-3.6-flash" | "gemini-3.7-flash" | "gemini-3.8-flash" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | "gemini-robotics-er-1.6-preview" | "gemini-robotics-er-2-preview" | (string & {});
9991
10875
 
9992
10876
  /** Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks. This data type is not supported in Gemini API. */
9993
10877
  export declare interface ModelArmorConfig {
@@ -10398,6 +11282,12 @@ export declare class Models extends BaseModule {
10398
11282
  private generateVideosInternal;
10399
11283
  }
10400
11284
 
11285
+ declare namespace models {
11286
+ export {
11287
+ Security
11288
+ }
11289
+ }
11290
+
10401
11291
  /** Config for model selection. */
10402
11292
  export declare interface ModelSelectionConfig {
10403
11293
  /** Options for feature selection preference. */
@@ -10486,6 +11376,14 @@ declare type Network = EnvironmentNetworkEgressAllowlist | NetworkEnum;
10486
11376
 
10487
11377
  declare type NetworkEnum = "disabled";
10488
11378
 
11379
+ declare type OAuth2PasswordFlow = {
11380
+ username: string;
11381
+ password: string;
11382
+ client_id?: string | undefined;
11383
+ client_secret?: string | undefined;
11384
+ token_url: string;
11385
+ };
11386
+
10489
11387
  /** A long-running operation. */
10490
11388
  export declare interface Operation<T> {
10491
11389
  /** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
@@ -10541,6 +11439,102 @@ export declare class Operations extends BaseModule {
10541
11439
  private fetchPredictVideosOperationInternal;
10542
11440
  }
10543
11441
 
11442
+ declare namespace operations {
11443
+ export {
11444
+ CancelInteractionByIdGlobals,
11445
+ CancelInteractionByIdRequest,
11446
+ CreateAgentGlobals,
11447
+ CreateAgentRequest,
11448
+ CreateEnvironmentGlobals,
11449
+ CreateEnvironmentRequest_2 as CreateEnvironmentRequest,
11450
+ CreateInteractionGlobals,
11451
+ CreateInteractionRequestBody,
11452
+ CreateInteractionRequest,
11453
+ CreateInteractionResponse,
11454
+ CreateTriggerGlobals,
11455
+ CreateTriggerRequest,
11456
+ CreateWebhookGlobals,
11457
+ CreateWebhookRequest,
11458
+ DeleteAgentGlobals,
11459
+ DeleteAgentRequest,
11460
+ DeleteEnvironmentGlobals,
11461
+ DeleteEnvironmentRequest,
11462
+ DeleteInteractionGlobals,
11463
+ DeleteInteractionRequest,
11464
+ DeleteTriggerGlobals,
11465
+ DeleteTriggerRequest,
11466
+ DeleteWebhookGlobals,
11467
+ DeleteWebhookRequest,
11468
+ GetAgentGlobals,
11469
+ GetAgentRequest,
11470
+ GetEnvironmentFilesGlobals,
11471
+ GetEnvironmentFilesRequest,
11472
+ GetEnvironmentGlobals,
11473
+ GetEnvironmentRequest,
11474
+ GetInteractionByIdGlobals,
11475
+ GetInteractionByIdRequest,
11476
+ GetInteractionByIdResponse,
11477
+ GetTriggerGlobals,
11478
+ GetTriggerRequest,
11479
+ GetWebhookGlobals,
11480
+ GetWebhookRequest,
11481
+ ListAgentsGlobals,
11482
+ ListAgentsRequest,
11483
+ ListEnvironmentsGlobals,
11484
+ ListEnvironmentsRequest,
11485
+ ListTriggerExecutionsGlobals,
11486
+ ListTriggerExecutionsRequest,
11487
+ ListTriggersGlobals,
11488
+ ListTriggersRequest,
11489
+ ListWebhooksGlobals,
11490
+ ListWebhooksRequest,
11491
+ CancelInteractionByIdParams,
11492
+ CreateAgentParams,
11493
+ CreateInteractionParams,
11494
+ CreateInteractionParamsNonStreaming,
11495
+ CreateInteractionParamsStreaming,
11496
+ CreateAgentInteractionParams,
11497
+ CreateAgentInteractionParamsNonStreaming,
11498
+ CreateAgentInteractionParamsStreaming,
11499
+ CreateModelInteractionParams,
11500
+ CreateModelInteractionParamsNonStreaming,
11501
+ CreateModelInteractionParamsStreaming,
11502
+ CreateTriggerParams,
11503
+ CreateWebhookParams,
11504
+ DeleteAgentParams,
11505
+ DeleteEnvironmentParams,
11506
+ DeleteInteractionParams,
11507
+ DeleteTriggerParams,
11508
+ DeleteWebhookParams,
11509
+ GetAgentParams,
11510
+ GetEnvironmentFilesParams,
11511
+ GetEnvironmentParams,
11512
+ GetInteractionByIdParams,
11513
+ GetInteractionByIdParamsNonStreaming,
11514
+ GetInteractionByIdParamsStreaming,
11515
+ GetTriggerParams,
11516
+ GetWebhookParams,
11517
+ ListAgentsParams,
11518
+ ListEnvironmentsParams,
11519
+ ListTriggerExecutionsParams,
11520
+ ListTriggersParams,
11521
+ ListWebhooksParams,
11522
+ RunTriggerParams,
11523
+ UpdateTriggerParams,
11524
+ UpdateWebhookParams,
11525
+ PingWebhookGlobals,
11526
+ PingWebhookRequest_2 as PingWebhookRequest,
11527
+ RotateSigningSecretGlobals,
11528
+ RotateSigningSecretRequest_2 as RotateSigningSecretRequest,
11529
+ RunTriggerGlobals,
11530
+ RunTriggerRequest,
11531
+ UpdateTriggerGlobals,
11532
+ UpdateTriggerRequest,
11533
+ UpdateWebhookGlobals,
11534
+ UpdateWebhookRequest
11535
+ }
11536
+ }
11537
+
10544
11538
  /** Outcome of the code execution. */
10545
11539
  export declare enum Outcome {
10546
11540
  /**
@@ -10792,6 +11786,8 @@ export declare interface Part {
10792
11786
  videoMetadata?: VideoMetadata;
10793
11787
  /** Custom metadata associated with the Part. Agents using genai.Part as content representation may need to keep track of the additional information. For example it can be name of a file/source from which the Part originates or a way to multiplex multiple Part streams. This field is not supported in Vertex AI. */
10794
11788
  partMetadata?: Record<string, unknown>;
11789
+ /** How the model processes this part's media for understanding. */
11790
+ mediaProcessing?: MediaProcessing;
10795
11791
  }
10796
11792
 
10797
11793
  /** Partial argument value of the function call. This data type is not supported in Gemini API. */
@@ -10906,6 +11902,13 @@ export declare enum PhishBlockThreshold {
10906
11902
  BLOCK_ONLY_EXTREMELY_HIGH = "BLOCK_ONLY_EXTREMELY_HIGH"
10907
11903
  }
10908
11904
 
11905
+ declare type PingWebhookGlobals = {
11906
+ /**
11907
+ * Which version of the API to use.
11908
+ */
11909
+ api_version?: string | undefined;
11910
+ };
11911
+
10909
11912
  declare type PingWebhookRequest$ = PingWebhookRequest;
10910
11913
 
10911
11914
  /**
@@ -10920,6 +11923,24 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10920
11923
  */
10921
11924
  declare type PingWebhookRequest = {};
10922
11925
 
11926
+ declare type PingWebhookRequest_2 = {
11927
+ /**
11928
+ * Which version of the API to use.
11929
+ */
11930
+ api_version?: string | undefined;
11931
+ /**
11932
+ * Required. The ID of the webhook to ping.
11933
+ *
11934
+ * @remarks
11935
+ * Format: `{webhook_id}`
11936
+ */
11937
+ id: string;
11938
+ /**
11939
+ * The request body.
11940
+ */
11941
+ body?: webhooks.PingWebhookRequest | undefined;
11942
+ };
11943
+
10923
11944
  declare type Place$ = GoogleMapsResultPlaces;
10924
11945
 
10925
11946
  declare type Place$2 = GoogleMapsResultPlaces;
@@ -11049,10 +12070,101 @@ export declare interface ProactivityConfig {
11049
12070
  /**
11050
12071
  * How the model processes this video for understanding.
11051
12072
  */
11052
- declare type Processing = MediaProcessing | ProcessingEnum;
12073
+ declare type Processing = MediaProcessing_2 | ProcessingEnum;
12074
+
12075
+ declare type ProcessingCall$ = ProcessingCallDelta;
12076
+
12077
+ /**
12078
+ * @license
12079
+ * Copyright 2026 Google LLC
12080
+ * SPDX-License-Identifier: Apache-2.0
12081
+ *
12082
+ * g3-prettier-ignore-file
12083
+ */
12084
+ /**
12085
+ * Streaming delta for a server-initiated media processing step.
12086
+ */
12087
+ declare type ProcessingCallDelta = {
12088
+ /**
12089
+ * A signature hash for backend validation.
12090
+ */
12091
+ signature?: string | undefined;
12092
+ type: "processing_call";
12093
+ };
12094
+
12095
+ declare type ProcessingCallStep$ = ProcessingCallStep;
12096
+
12097
+ /**
12098
+ * @license
12099
+ * Copyright 2026 Google LLC
12100
+ * SPDX-License-Identifier: Apache-2.0
12101
+ *
12102
+ * g3-prettier-ignore-file
12103
+ */
12104
+ /**
12105
+ * A server-initiated processing step for media analysis (e.g. video
12106
+ *
12107
+ * @remarks
12108
+ * understanding).
12109
+ */
12110
+ declare type ProcessingCallStep = {
12111
+ /**
12112
+ * Required. A unique ID for this specific tool call.
12113
+ */
12114
+ id: string;
12115
+ /**
12116
+ * A signature hash for backend validation.
12117
+ */
12118
+ signature?: string | undefined;
12119
+ type: "processing_call";
12120
+ };
11053
12121
 
11054
12122
  declare type ProcessingEnum = "static" | "agentic" | (string & {});
11055
12123
 
12124
+ declare type ProcessingResult$ = ProcessingResultDelta;
12125
+
12126
+ /**
12127
+ * @license
12128
+ * Copyright 2026 Google LLC
12129
+ * SPDX-License-Identifier: Apache-2.0
12130
+ *
12131
+ * g3-prettier-ignore-file
12132
+ */
12133
+ /**
12134
+ * Streaming delta for the result of a server-initiated media processing step.
12135
+ */
12136
+ declare type ProcessingResultDelta = {
12137
+ /**
12138
+ * A signature hash for backend validation.
12139
+ */
12140
+ signature?: string | undefined;
12141
+ type: "processing_result";
12142
+ };
12143
+
12144
+ declare type ProcessingResultStep$ = ProcessingResultStep;
12145
+
12146
+ /**
12147
+ * @license
12148
+ * Copyright 2026 Google LLC
12149
+ * SPDX-License-Identifier: Apache-2.0
12150
+ *
12151
+ * g3-prettier-ignore-file
12152
+ */
12153
+ /**
12154
+ * The result of a server-initiated media processing step.
12155
+ */
12156
+ declare type ProcessingResultStep = {
12157
+ /**
12158
+ * Required. ID to match the ID from the function call block.
12159
+ */
12160
+ call_id: string;
12161
+ /**
12162
+ * A signature hash for backend validation.
12163
+ */
12164
+ signature?: string | undefined;
12165
+ type: "processing_result";
12166
+ };
12167
+
11056
12168
  /** An image of the product. */
11057
12169
  export declare interface ProductImage {
11058
12170
  /** An image of the product to be recontextualized. */
@@ -11598,6 +12710,39 @@ export declare interface ReplicatedVoiceConfig {
11598
12710
  voiceConsentSignature?: VoiceConsentSignature;
11599
12711
  }
11600
12712
 
12713
+ /**
12714
+ * An error that is raised when a HTTP request was aborted by the client error.
12715
+ */
12716
+ declare class RequestAbortedError extends HTTPClientError {
12717
+ readonly name = "RequestAbortedError";
12718
+ }
12719
+
12720
+ declare type RequestConfig = {
12721
+ method: string;
12722
+ path: string;
12723
+ baseURL?: string | URL | undefined;
12724
+ query?: string;
12725
+ body?: RequestInit["body"];
12726
+ headers?: HeadersInit;
12727
+ security?: SecurityState | null;
12728
+ uaHeader?: string;
12729
+ userAgent?: string | undefined;
12730
+ timeout_ms?: number;
12731
+ };
12732
+
12733
+ declare type RequestErrorHook = (err: unknown, req: Request) => Awaitable<void>;
12734
+
12735
+ declare type RequestInput = {
12736
+ /**
12737
+ * The URL the request will use.
12738
+ */
12739
+ url: URL;
12740
+ /**
12741
+ * Options used to create a [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request).
12742
+ */
12743
+ options?: RequestInit | undefined;
12744
+ };
12745
+
11601
12746
  declare type RequestOptions = {
11602
12747
  /**
11603
12748
  * Sets a timeout, in milliseconds, on HTTP requests made by an SDK method. If
@@ -11640,6 +12785,14 @@ declare type RequestOptions = {
11640
12785
  extra_body?: Record<string, unknown>;
11641
12786
  } & Omit<RequestInit, "method" | "body">;
11642
12787
 
12788
+ /**
12789
+ * An error that is raised when a HTTP request timed out due to an AbortSignal
12790
+ * signal timeout.
12791
+ */
12792
+ declare class RequestTimeoutError extends HTTPClientError {
12793
+ readonly name = "RequestTimeoutError";
12794
+ }
12795
+
11643
12796
  /**
11644
12797
  * The video output resolution. Defaults to 720p.
11645
12798
  */
@@ -11673,6 +12826,8 @@ declare type ResponseFormat_2 = AudioResponseFormat_2 | ImageResponseFormat_2 |
11673
12826
  [k: string]: any;
11674
12827
  };
11675
12828
 
12829
+ declare type ResponseHook = (res: Response, req: Request) => Awaitable<void>;
12830
+
11676
12831
  /**
11677
12832
  * @license
11678
12833
  * Copyright 2026 Google LLC
@@ -11704,6 +12859,32 @@ declare type Result$2 = GoogleSearchResult;
11704
12859
 
11705
12860
  declare type Result$3 = URLContextResult;
11706
12861
 
12862
+ /**
12863
+ * @license
12864
+ * Copyright 2026 Google LLC
12865
+ * SPDX-License-Identifier: Apache-2.0
12866
+ *
12867
+ * g3-prettier-ignore-file
12868
+ */
12869
+ /**
12870
+ * A monad that captures the result of a function call or an error if it was not
12871
+ * successful. Railway programming, enabled by this type, can be a nicer
12872
+ * alternative to traditional exception throwing because it allows functions to
12873
+ * declare all _known_ errors with static types and then check for them
12874
+ * exhaustively in application code. Thrown exception have a type of `unknown`
12875
+ * and break out of regular control flow of programs making them harder to
12876
+ * inspect and more verbose work with due to try-catch blocks.
12877
+ */
12878
+ declare type Result<T, E = unknown> = {
12879
+ ok: true;
12880
+ value: T;
12881
+ error?: never;
12882
+ } | {
12883
+ ok: false;
12884
+ value?: never;
12885
+ error: E;
12886
+ };
12887
+
11707
12888
  declare type Retrieval$ = Retrieval_2;
11708
12889
 
11709
12890
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -11901,6 +13082,13 @@ declare type ReviewSnippet = {
11901
13082
  */
11902
13083
  declare type RevocationBehavior = "revoke_previous_secrets_after_h24" | "revoke_previous_secrets_immediately";
11903
13084
 
13085
+ declare type RotateSigningSecretGlobals = {
13086
+ /**
13087
+ * Which version of the API to use.
13088
+ */
13089
+ api_version?: string | undefined;
13090
+ };
13091
+
11904
13092
  declare type RotateSigningSecretRequest$ = RotateSigningSecretRequest;
11905
13093
 
11906
13094
  /**
@@ -11913,12 +13101,44 @@ declare type RotateSigningSecretRequest = {
11913
13101
  revocation_behavior?: RevocationBehavior | undefined;
11914
13102
  };
11915
13103
 
13104
+ declare type RotateSigningSecretRequest_2 = {
13105
+ /**
13106
+ * Which version of the API to use.
13107
+ */
13108
+ api_version?: string | undefined;
13109
+ /**
13110
+ * Required. The ID of the webhook for which to generate a signing secret.
13111
+ *
13112
+ * @remarks
13113
+ * Format: `{webhook_id}`
13114
+ */
13115
+ id: string;
13116
+ /**
13117
+ * The request body.
13118
+ */
13119
+ body?: webhooks.RotateSigningSecretRequest | undefined;
13120
+ };
13121
+
11916
13122
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
11917
13123
  export declare interface RougeMetricValue {
11918
13124
  /** Output only. Rouge score. */
11919
13125
  score?: number;
11920
13126
  }
11921
13127
 
13128
+ /**
13129
+ * @license
13130
+ * Copyright 2026 Google LLC
13131
+ * SPDX-License-Identifier: Apache-2.0
13132
+ *
13133
+ * g3-prettier-ignore-file
13134
+ */
13135
+ declare type RunTriggerGlobals = {
13136
+ /**
13137
+ * Which version of the API to use.
13138
+ */
13139
+ api_version?: string | undefined;
13140
+ };
13141
+
11922
13142
  declare type RunTriggerParams = Omit<RunTriggerRequest, "trigger_id">;
11923
13143
 
11924
13144
  declare type RunTriggerRequest = {
@@ -12160,6 +13380,70 @@ export declare interface ScribbleImage {
12160
13380
  image?: Image_2;
12161
13381
  }
12162
13382
 
13383
+ declare class SDKHooks implements Hooks {
13384
+ sdkInitHooks: SDKInitHook[];
13385
+ beforeCreateRequestHooks: BeforeCreateRequestHook[];
13386
+ beforeRequestHooks: BeforeRequestHook_2[];
13387
+ afterSuccessHooks: AfterSuccessHook[];
13388
+ afterErrorHooks: AfterErrorHook[];
13389
+ constructor();
13390
+ registerSDKInitHook(hook: SDKInitHook): void;
13391
+ registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void;
13392
+ registerBeforeRequestHook(hook: BeforeRequestHook_2): void;
13393
+ registerAfterSuccessHook(hook: AfterSuccessHook): void;
13394
+ registerAfterErrorHook(hook: AfterErrorHook): void;
13395
+ sdkInit(opts: SDKOptions): SDKOptions;
13396
+ beforeCreateRequest(hookCtx: BeforeCreateRequestContext, input: RequestInput): RequestInput;
13397
+ beforeRequest(hookCtx: BeforeRequestContext, request: Request): Promise<Request>;
13398
+ afterSuccess(hookCtx: AfterSuccessContext, response: Response): Promise<Response>;
13399
+ afterError(hookCtx: AfterErrorContext, response: Response | null, error: unknown): Promise<{
13400
+ response: Response | null;
13401
+ error: unknown;
13402
+ }>;
13403
+ }
13404
+
13405
+ /**
13406
+ * SDKInitHook is called when the SDK is initializing. The
13407
+ * hook can return a new baseURL and HTTP client to be used by the SDK.
13408
+ */
13409
+ declare interface SDKInitHook {
13410
+ sdkInit: (opts: SDKOptions) => SDKOptions;
13411
+ }
13412
+
13413
+ declare type SDKOptions = {
13414
+ /**
13415
+ * The security details required to authenticate the SDK
13416
+ */
13417
+ security?: models.Security | (() => Promise<models.Security>) | undefined;
13418
+ /**
13419
+ * Allows setting the api_version parameter for all supported operations
13420
+ */
13421
+ api_version?: string | undefined;
13422
+ /**
13423
+ * Allows setting the user_project parameter for all supported operations
13424
+ */
13425
+ user_project?: string | undefined;
13426
+ http_client?: HTTPClient;
13427
+ /**
13428
+ * Allows overriding the default server used by the SDK
13429
+ */
13430
+ server_idx?: number | undefined;
13431
+ /**
13432
+ * Allows overriding the default server URL used by the SDK
13433
+ */
13434
+ server_url?: string | undefined;
13435
+ /**
13436
+ * Allows overriding the default user agent used by the SDK
13437
+ */
13438
+ user_agent?: string | undefined;
13439
+ /**
13440
+ * Allows overriding the default retry config used by the SDK
13441
+ */
13442
+ retry_config?: RetryConfig;
13443
+ timeout_ms?: number;
13444
+ debug_logger?: Logger;
13445
+ };
13446
+
12163
13447
  /** The entry point used to search for grounding sources. */
12164
13448
  export declare interface SearchEntryPoint {
12165
13449
  /** Optional. Web content snippet that can be embedded in a web page
@@ -12178,6 +13462,45 @@ export declare interface SearchTypes {
12178
13462
  webSearch?: WebSearch;
12179
13463
  }
12180
13464
 
13465
+ /**
13466
+ * @license
13467
+ * Copyright 2026 Google LLC
13468
+ * SPDX-License-Identifier: Apache-2.0
13469
+ *
13470
+ * g3-prettier-ignore-file
13471
+ */
13472
+ declare type Security = {
13473
+ /**
13474
+ * OAuth access token sent as a bearer Authorization header.
13475
+ */
13476
+ access_token?: string | undefined;
13477
+ /**
13478
+ * Gemini API key sent as x-goog-api-key.
13479
+ */
13480
+ api_key?: string | undefined;
13481
+ /**
13482
+ * Additional default headers to apply before request-specific headers and auth.
13483
+ */
13484
+ default_headers?: {
13485
+ [k: string]: string;
13486
+ } | undefined;
13487
+ };
13488
+
13489
+ declare type SecurityState = {
13490
+ basic: {
13491
+ username?: string | undefined;
13492
+ password?: string | undefined;
13493
+ };
13494
+ headers: Record<string, string>;
13495
+ queryParams: Record<string, string>;
13496
+ cookies: Record<string, string>;
13497
+ oauth2: ({
13498
+ type: "password";
13499
+ } & OAuth2PasswordFlow) | {
13500
+ type: "none";
13501
+ };
13502
+ };
13503
+
12181
13504
  /** Segment of the content this support belongs to. */
12182
13505
  export declare interface Segment {
12183
13506
  /** Output only. Start index in the given Part, measured in bytes.
@@ -12559,6 +13882,22 @@ export declare interface SlidingWindow {
12559
13882
  targetTokens?: string;
12560
13883
  }
12561
13884
 
13885
+ declare type Smart$ = SmartTranscriptionMode;
13886
+
13887
+ /**
13888
+ * @license
13889
+ * Copyright 2026 Google LLC
13890
+ * SPDX-License-Identifier: Apache-2.0
13891
+ *
13892
+ * g3-prettier-ignore-file
13893
+ */
13894
+ /**
13895
+ * Configuration for smart transcription mode.
13896
+ */
13897
+ declare type SmartTranscriptionMode = {
13898
+ type: "smart";
13899
+ };
13900
+
12562
13901
  declare type Source$ = Source;
12563
13902
 
12564
13903
  /**
@@ -12770,7 +14109,7 @@ declare type Step$ = Step;
12770
14109
  /**
12771
14110
  * A step in the interaction.
12772
14111
  */
12773
- declare type Step = UserInputStep | ModelOutputStep | ThoughtStep | FunctionCallStep | CodeExecutionCallStep | URLContextCallStep | MCPServerToolCallStep | GoogleSearchCallStep | FileSearchCallStep | GoogleMapsCallStep | FunctionResultStep | CodeExecutionResultStep | URLContextResultStep | GoogleSearchResultStep | MCPServerToolResultStep | FileSearchResultStep | GoogleMapsResultStep;
14112
+ declare type Step = CodeExecutionCallStep | CodeExecutionResultStep | FileSearchCallStep | FileSearchResultStep | FunctionCallStep | FunctionResultStep | GoogleMapsCallStep | GoogleMapsResultStep | GoogleSearchCallStep | GoogleSearchResultStep | MCPServerToolCallStep | MCPServerToolResultStep | ModelOutputStep | ProcessingCallStep | ProcessingResultStep | ThoughtStep | URLContextCallStep | URLContextResultStep | UserInputStep;
12774
14113
 
12775
14114
  declare type StepDelta$ = StepDelta;
12776
14115
 
@@ -12791,7 +14130,7 @@ declare type StepDelta = {
12791
14130
  metadata?: StepDeltaMetadata | undefined;
12792
14131
  };
12793
14132
 
12794
- declare type StepDeltaData = ArgumentsDelta | AudioDelta | CodeExecutionCallDelta | CodeExecutionResultDelta | DocumentDelta | FileSearchCallDelta | FileSearchResultDelta | FunctionResultDelta | GoogleMapsCallDelta | GoogleMapsResultDelta | GoogleSearchCallDelta | GoogleSearchResultDelta | ImageDelta | MCPServerToolCallDelta | MCPServerToolResultDelta | RetrievalCallDelta | RetrievalResultDelta | TextAnnotationDelta | TextDelta | ThoughtSignatureDelta | ThoughtSummaryDelta | URLContextCallDelta | URLContextResultDelta | VideoDelta;
14133
+ declare type StepDeltaData = ArgumentsDelta | AudioDelta | CodeExecutionCallDelta | CodeExecutionResultDelta | DocumentDelta | FileSearchCallDelta | FileSearchResultDelta | FunctionResultDelta | GoogleMapsCallDelta | GoogleMapsResultDelta | GoogleSearchCallDelta | GoogleSearchResultDelta | ImageDelta | MCPServerToolCallDelta | MCPServerToolResultDelta | ProcessingCallDelta | ProcessingResultDelta | RetrievalCallDelta | RetrievalResultDelta | TextAnnotationDelta | TextDelta | ThoughtSignatureDelta | ThoughtSummaryDelta | URLContextCallDelta | URLContextResultDelta | VideoDelta;
12795
14134
 
12796
14135
  /**
12797
14136
  * Optional metadata accompanying ANY streamed event.
@@ -13530,7 +14869,11 @@ export declare enum ToolType {
13530
14869
  /**
13531
14870
  * File search tool, maps to Tool.file_search.
13532
14871
  */
13533
- FILE_SEARCH = "FILE_SEARCH"
14872
+ FILE_SEARCH = "FILE_SEARCH",
14873
+ /**
14874
+ * Media processing tool.
14875
+ */
14876
+ MEDIA_PROCESSING = "MEDIA_PROCESSING"
13534
14877
  }
13535
14878
 
13536
14879
  export declare type ToolUnion = Tool | CallableTool;
@@ -13579,13 +14922,6 @@ export declare interface Transcription {
13579
14922
 
13580
14923
  declare type TranscriptionConfig$ = TranscriptionConfig;
13581
14924
 
13582
- /**
13583
- * @license
13584
- * Copyright 2026 Google LLC
13585
- * SPDX-License-Identifier: Apache-2.0
13586
- *
13587
- * g3-prettier-ignore-file
13588
- */
13589
14925
  /**
13590
14926
  * Configuration for speech recognition (transcription).
13591
14927
  */
@@ -13605,6 +14941,8 @@ declare type TranscriptionConfig = {
13605
14941
  custom_vocabulary?: Array<string> | undefined;
13606
14942
  /**
13607
14943
  * Optional. Configures speaker diarization. Supported values: "speaker".
14944
+ *
14945
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
13608
14946
  */
13609
14947
  diarization_mode?: string | undefined;
13610
14948
  /**
@@ -13614,15 +14952,35 @@ declare type TranscriptionConfig = {
13614
14952
  * audio. If omitted or empty, defaults to automatic language detection.
13615
14953
  */
13616
14954
  language_codes?: Array<string> | undefined;
14955
+ /**
14956
+ * Discriminated transcription mode options or enum.
14957
+ */
14958
+ mode?: TranscriptionMode | TranscriptionConfigModeEnum | undefined;
13617
14959
  /**
13618
14960
  * Optional. The granularity of timestamps to include in the transcription output.
13619
14961
  *
13620
14962
  * @remarks
13621
14963
  * Supported values: "word". If empty, no timestamps are generated.
14964
+ *
14965
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
13622
14966
  */
13623
14967
  timestamp_granularities?: Array<string> | undefined;
13624
14968
  };
13625
14969
 
14970
+ /**
14971
+ * Discriminated transcription mode options or enum.
14972
+ */
14973
+ declare type TranscriptionConfigMode = TranscriptionMode | TranscriptionConfigModeEnum;
14974
+
14975
+ declare type TranscriptionConfigModeEnum = "verbatim" | "smart" | (string & {});
14976
+
14977
+ declare type TranscriptionMode$ = TranscriptionMode;
14978
+
14979
+ /**
14980
+ * Configuration for transcription mode.
14981
+ */
14982
+ declare type TranscriptionMode = SmartTranscriptionMode | VerbatimTranscriptionMode;
14983
+
13626
14984
  /**
13627
14985
  * @license
13628
14986
  * Copyright 2026 Google LLC
@@ -13633,17 +14991,17 @@ declare type TranscriptionConfig = {
13633
14991
  /**
13634
14992
  * Headers to inject on all outbound requests matching this domain. Accepts a single dict or a list of dicts. The egress proxy injects these automatically.
13635
14993
  */
13636
- declare type Transform = {
14994
+ declare type Transform = Array<{
13637
14995
  [k: string]: string;
13638
- } | Array<{
14996
+ }> | {
13639
14997
  [k: string]: string;
13640
- }>;
14998
+ };
13641
14999
 
13642
15000
  /** Config for stream translation. */
13643
15001
  export declare interface TranslationConfig {
13644
- /** Optional. If true, the model will generate audio when the target language is spoken, essentially it will parrot the input. If false, we will not produce audio for the target language. */
15002
+ /** If true, the model will generate audio when the target language is spoken, essentially it will parrot the input. If false, we will not produce audio for the target language. */
13645
15003
  echoTargetLanguage?: boolean;
13646
- /** Required. The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr"). */
15004
+ /** The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr"). */
13647
15005
  targetLanguageCode?: string;
13648
15006
  }
13649
15007
 
@@ -13738,14 +15096,6 @@ declare type TriggerCreateParams$ = TriggerCreateParams;
13738
15096
  * Parameters for creating a trigger.
13739
15097
  */
13740
15098
  declare type TriggerCreateParams = {
13741
- /**
13742
- * Required. The cron schedule on which the trigger should run. Standard cron format.
13743
- */
13744
- schedule: string;
13745
- /**
13746
- * Required. Time zone in which the schedule should be interpreted.
13747
- */
13748
- time_zone: string;
13749
15099
  /**
13750
15100
  * Optional. The display name of the trigger.
13751
15101
  */
@@ -13754,10 +15104,6 @@ declare type TriggerCreateParams = {
13754
15104
  * Optional. The environment ID for the trigger execution.
13755
15105
  */
13756
15106
  environment_id?: string | undefined;
13757
- /**
13758
- * Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
13759
- */
13760
- max_consecutive_failures?: number | undefined;
13761
15107
  /**
13762
15108
  * Optional. The execution timeout for the triggered interaction.
13763
15109
  */
@@ -13766,6 +15112,18 @@ declare type TriggerCreateParams = {
13766
15112
  * Required. The interaction request template to be executed.
13767
15113
  */
13768
15114
  interaction: interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
15115
+ /**
15116
+ * Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
15117
+ */
15118
+ max_consecutive_failures?: number | undefined;
15119
+ /**
15120
+ * Required. The cron schedule on which the trigger should run. Standard cron format.
15121
+ */
15122
+ schedule: string;
15123
+ /**
15124
+ * Required. Time zone in which the schedule should be interpreted.
15125
+ */
15126
+ time_zone: string;
13769
15127
  };
13770
15128
 
13771
15129
  declare type TriggerDeleteParams$ = DeleteTriggerParams;
@@ -13873,6 +15231,37 @@ declare namespace triggers {
13873
15231
  }
13874
15232
  }
13875
15233
 
15234
+ declare class Triggers_2 extends ClientSDK {
15235
+ /**
15236
+ * Lists triggers for a project.
15237
+ */
15238
+ list(params?: ListTriggersParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.ListTriggersResponse>;
15239
+ /**
15240
+ * Creates a new trigger that will invoke the specified agent on the given cron schedule.
15241
+ */
15242
+ create(params: CreateTriggerParams, options?: RequestOptions): APIPromise<triggers.Trigger>;
15243
+ /**
15244
+ * Deletes a trigger.
15245
+ */
15246
+ delete(id: string, params?: DeleteTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
15247
+ /**
15248
+ * Gets details of a single trigger.
15249
+ */
15250
+ get(id: string, params?: GetTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.Trigger>;
15251
+ /**
15252
+ * Updates a trigger.
15253
+ */
15254
+ update(id: string, params: UpdateTriggerParams, options?: RequestOptions): APIPromise<triggers.Trigger>;
15255
+ /**
15256
+ * Lists executions for a trigger.
15257
+ */
15258
+ listExecutions(trigger_id: string, params?: ListTriggerExecutionsParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.ListTriggerExecutionsResponse>;
15259
+ /**
15260
+ * Runs a trigger immediately.
15261
+ */
15262
+ run(trigger_id: string, params?: RunTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.TriggerExecution>;
15263
+ }
15264
+
13876
15265
  /**
13877
15266
  * Output only. The current status of the trigger.
13878
15267
  */
@@ -14411,6 +15800,18 @@ export declare enum Type {
14411
15800
  NULL = "NULL"
14412
15801
  }
14413
15802
 
15803
+ /**
15804
+ * @license
15805
+ * Copyright 2026 Google LLC
15806
+ * SPDX-License-Identifier: Apache-2.0
15807
+ *
15808
+ * g3-prettier-ignore-file
15809
+ */
15810
+ /**
15811
+ * Output only. The type of the entry.
15812
+ */
15813
+ declare type Type_2 = "file" | "directory" | (string & {});
15814
+
14414
15815
  declare namespace types {
14415
15816
  export {
14416
15817
  createFunctionResponsePartFromBase64,
@@ -14470,6 +15871,7 @@ declare namespace types {
14470
15871
  TuningTask,
14471
15872
  DocumentState,
14472
15873
  ServiceTier,
15874
+ MediaProcessing,
14473
15875
  PartMediaResolutionLevel,
14474
15876
  ToolType,
14475
15877
  ResourceScope,
@@ -14497,6 +15899,7 @@ declare namespace types {
14497
15899
  EndSensitivity,
14498
15900
  ActivityHandling,
14499
15901
  TurnCoverage,
15902
+ AudioTranscriptionConfigMode,
14500
15903
  Scale,
14501
15904
  MusicGenerationMode,
14502
15905
  LiveMusicPlaybackControl,
@@ -14968,6 +16371,13 @@ declare namespace types {
14968
16371
  }
14969
16372
  }
14970
16373
 
16374
+ /**
16375
+ * An error to capture unrecognised or unexpected errors when making HTTP calls.
16376
+ */
16377
+ declare class UnexpectedClientError extends HTTPClientError {
16378
+ name: string;
16379
+ }
16380
+
14971
16381
  /** Optional parameters for caches.update method. */
14972
16382
  export declare interface UpdateCachedContentConfig {
14973
16383
  /** Used to override HTTP request options. */
@@ -15016,6 +16426,13 @@ export declare interface UpdateModelParameters {
15016
16426
  config?: UpdateModelConfig;
15017
16427
  }
15018
16428
 
16429
+ declare type UpdateTriggerGlobals = {
16430
+ /**
16431
+ * Which version of the API to use.
16432
+ */
16433
+ api_version?: string | undefined;
16434
+ };
16435
+
15019
16436
  declare type UpdateTriggerParams = Omit<UpdateTriggerRequest, "id" | "body"> & UpdateTriggerRequest["body"];
15020
16437
 
15021
16438
  declare type UpdateTriggerRequest = {
@@ -15030,6 +16447,34 @@ declare type UpdateTriggerRequest = {
15030
16447
  body: triggers.TriggerUpdate;
15031
16448
  };
15032
16449
 
16450
+ declare type UpdateWebhookGlobals = {
16451
+ /**
16452
+ * Which version of the API to use.
16453
+ */
16454
+ api_version?: string | undefined;
16455
+ };
16456
+
16457
+ declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
16458
+
16459
+ declare type UpdateWebhookRequest = {
16460
+ /**
16461
+ * Which version of the API to use.
16462
+ */
16463
+ api_version?: string | undefined;
16464
+ /**
16465
+ * Required. The ID of the webhook to update.
16466
+ */
16467
+ id: string;
16468
+ /**
16469
+ * Optional. The list of fields to update.
16470
+ */
16471
+ update_mask?: string | undefined;
16472
+ /**
16473
+ * Required. The webhook to update.
16474
+ */
16475
+ body?: webhooks.WebhookUpdate | undefined;
16476
+ };
16477
+
15033
16478
  declare interface Uploader {
15034
16479
  /**
15035
16480
  * Uploads a file to the given upload url.
@@ -15635,6 +17080,33 @@ export declare interface VeoTuningSpec {
15635
17080
  validationDatasetUri?: string;
15636
17081
  }
15637
17082
 
17083
+ declare type Verbatim$ = VerbatimTranscriptionMode;
17084
+
17085
+ /**
17086
+ * @license
17087
+ * Copyright 2026 Google LLC
17088
+ * SPDX-License-Identifier: Apache-2.0
17089
+ *
17090
+ * g3-prettier-ignore-file
17091
+ */
17092
+ /**
17093
+ * Configuration for verbatim transcription mode.
17094
+ */
17095
+ declare type VerbatimTranscriptionMode = {
17096
+ /**
17097
+ * Optional. Configures speaker diarization. Supported values: "speaker".
17098
+ */
17099
+ diarization_mode?: string | undefined;
17100
+ /**
17101
+ * Optional. The granularity of timestamps to include in the transcription output.
17102
+ *
17103
+ * @remarks
17104
+ * Supported values: "word". If empty, no timestamps are generated.
17105
+ */
17106
+ timestamp_granularities?: Array<string> | undefined;
17107
+ type: "verbatim";
17108
+ };
17109
+
15638
17110
  /** Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are mutually exclusive. See https://cloud.google.com/products/agent-builder. This data type is not supported in Gemini API. */
15639
17111
  export declare interface VertexAISearch {
15640
17112
  /** Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. It should only be set if engine is used. */
@@ -15767,20 +17239,27 @@ declare type VideoContent = {
15767
17239
  * The video content.
15768
17240
  */
15769
17241
  data?: string | undefined;
17242
+ /**
17243
+ * The mime type of the video.
17244
+ */
17245
+ mime_type?: VideoContentMimeType | undefined;
17246
+ /**
17247
+ * A user-defined name for this content block. Can be referenced by the model
17248
+ *
17249
+ * @remarks
17250
+ * in the final response.
17251
+ */
17252
+ name?: string | undefined;
15770
17253
  /**
15771
17254
  * How the model processes this video for understanding.
15772
17255
  */
15773
- processing?: MediaProcessing | ProcessingEnum | undefined;
17256
+ processing?: MediaProcessing_2 | ProcessingEnum | undefined;
15774
17257
  resolution?: MediaResolution_2 | undefined;
15775
17258
  type: "video";
15776
17259
  /**
15777
17260
  * The URI of the video.
15778
17261
  */
15779
17262
  uri?: string | undefined;
15780
- /**
15781
- * The mime type of the video.
15782
- */
15783
- mime_type?: VideoContentMimeType | undefined;
15784
17263
  };
15785
17264
 
15786
17265
  /**
@@ -15796,7 +17275,7 @@ declare type VideoDelta = {
15796
17275
  uri?: string | undefined;
15797
17276
  };
15798
17277
 
15799
- declare type VideoDeltaMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
17278
+ declare type VideoDeltaMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | "video/jpeg2000" | (string & {});
15800
17279
 
15801
17280
  /** A mask for video generation. */
15802
17281
  export declare interface VideoGenerationMask {
@@ -16246,6 +17725,37 @@ declare namespace webhooks {
16246
17725
  }
16247
17726
  }
16248
17727
 
17728
+ declare class Webhooks_2 extends ClientSDK {
17729
+ /**
17730
+ * Lists all Webhooks.
17731
+ */
17732
+ list(params?: ListWebhooksParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<webhooks.WebhookListResponse>;
17733
+ /**
17734
+ * Creates a new Webhook.
17735
+ */
17736
+ create(params: CreateWebhookParams, options?: RequestOptions): APIPromise<webhooks.Webhook>;
17737
+ /**
17738
+ * Deletes a Webhook.
17739
+ */
17740
+ delete(id: string, params?: DeleteWebhookParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
17741
+ /**
17742
+ * Gets a specific Webhook.
17743
+ */
17744
+ get(id: string, params?: GetWebhookParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<webhooks.Webhook>;
17745
+ /**
17746
+ * Updates an existing Webhook.
17747
+ */
17748
+ update(id: string, params?: UpdateWebhookParams, options?: RequestOptions): APIPromise<webhooks.Webhook>;
17749
+ /**
17750
+ * Sends a ping event to a Webhook.
17751
+ */
17752
+ ping(id: string, api_version?: string | undefined, body?: webhooks.PingWebhookRequest | undefined, options?: RequestOptions): APIPromise<webhooks.WebhookPingResponse>;
17753
+ /**
17754
+ * Generates a new signing secret for a Webhook.
17755
+ */
17756
+ rotateSigningSecret(id: string, api_version?: string | undefined, body?: webhooks.RotateSigningSecretRequest | undefined, options?: RequestOptions): APIPromise<webhooks.WebhookRotateSigningSecretResponse>;
17757
+ }
17758
+
16249
17759
  /**
16250
17760
  * Output only. The state of the webhook.
16251
17761
  */