@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 = {
@@ -6159,6 +6758,19 @@ export declare class GoogleGenAI {
6159
6758
  constructor(options?: GoogleGenAIOptions);
6160
6759
  }
6161
6760
 
6761
+ declare class GoogleGenAI_2 extends ClientSDK {
6762
+ private _agents?;
6763
+ get agents(): Agents_2;
6764
+ private _environments?;
6765
+ get environments(): Environments_2;
6766
+ private _interactions?;
6767
+ get interactions(): Interactions_2;
6768
+ private _triggers?;
6769
+ get triggers(): Triggers_2;
6770
+ private _webhooks?;
6771
+ get webhooks(): Webhooks_2;
6772
+ }
6773
+
6162
6774
  declare type GoogleGenAIInteraction = GoogleGenAIResponseWithSdkHttpResponse<Omit<interactions.Interaction, "steps"> & {
6163
6775
  steps: interactions.Step[];
6164
6776
  }>;
@@ -7010,6 +7622,86 @@ export declare interface HistoryConfig {
7010
7622
  initialHistoryInClientContent?: boolean;
7011
7623
  }
7012
7624
 
7625
+ declare type HookContext = {
7626
+ base_url: string | URL;
7627
+ operation_id: string;
7628
+ o_auth2_scopes: string[] | null;
7629
+ security_source?: any | (() => Promise<any>);
7630
+ retry_config: RetryConfig;
7631
+ resolved_security: SecurityState | null;
7632
+ options: SDKOptions;
7633
+ timeout_ms?: number;
7634
+ };
7635
+
7636
+ declare interface Hooks {
7637
+ /** Registers a hook to be used by the SDK for initialization event. */
7638
+ registerSDKInitHook(hook: SDKInitHook): void;
7639
+ /** Registers a hook to be used by the SDK for to modify `Request` construction. */
7640
+ registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void;
7641
+ /** Registers a hook to be used by the SDK for the before request event. */
7642
+ registerBeforeRequestHook(hook: BeforeRequestHook_2): void;
7643
+ /** Registers a hook to be used by the SDK for the after success event. */
7644
+ registerAfterSuccessHook(hook: AfterSuccessHook): void;
7645
+ /** Registers a hook to be used by the SDK for the after error event. */
7646
+ registerAfterErrorHook(hook: AfterErrorHook): void;
7647
+ }
7648
+
7649
+ declare class HTTPClient {
7650
+ private fetcher;
7651
+ private requestHooks;
7652
+ private requestErrorHooks;
7653
+ private responseHooks;
7654
+ private options;
7655
+ constructor(options?: HTTPClientOptions);
7656
+ request(request: Request): Promise<Response>;
7657
+ /**
7658
+ * Registers a hook that is called before a request is made. The hook function
7659
+ * can mutate the request or return a new request. This may be useful to add
7660
+ * additional information to request such as request IDs and tracing headers.
7661
+ */
7662
+ addHook(hook: "beforeRequest", fn: BeforeRequestHook): this;
7663
+ /**
7664
+ * Registers a hook that is called when a request cannot be made due to a
7665
+ * network error.
7666
+ */
7667
+ addHook(hook: "requestError", fn: RequestErrorHook): this;
7668
+ /**
7669
+ * Registers a hook that is called when a response has been received from the
7670
+ * server.
7671
+ */
7672
+ addHook(hook: "response", fn: ResponseHook): this;
7673
+ /** Removes a hook that was previously registered with `addHook`. */
7674
+ removeHook(hook: "beforeRequest", fn: BeforeRequestHook): this;
7675
+ /** Removes a hook that was previously registered with `addHook`. */
7676
+ removeHook(hook: "requestError", fn: RequestErrorHook): this;
7677
+ /** Removes a hook that was previously registered with `addHook`. */
7678
+ removeHook(hook: "response", fn: ResponseHook): this;
7679
+ clone(): HTTPClient;
7680
+ }
7681
+
7682
+ /**
7683
+ * @license
7684
+ * Copyright 2026 Google LLC
7685
+ * SPDX-License-Identifier: Apache-2.0
7686
+ *
7687
+ * g3-prettier-ignore-file
7688
+ */
7689
+ /**
7690
+ * Base class for all HTTP errors.
7691
+ */
7692
+ declare class HTTPClientError extends Error {
7693
+ /** The underlying cause of the error. */
7694
+ readonly cause: unknown;
7695
+ name: string;
7696
+ constructor(message: string, opts?: {
7697
+ cause?: unknown;
7698
+ });
7699
+ }
7700
+
7701
+ declare interface HTTPClientOptions {
7702
+ fetcher?: Fetcher;
7703
+ }
7704
+
7013
7705
  /** The location of the API key. This enum is not supported in Gemini API. */
7014
7706
  export declare enum HttpElementLocation {
7015
7707
  HTTP_IN_UNSPECIFIED = "HTTP_IN_UNSPECIFIED",
@@ -7236,16 +7928,16 @@ declare type ImageContent = {
7236
7928
  * The image content.
7237
7929
  */
7238
7930
  data?: string | undefined;
7931
+ /**
7932
+ * The mime type of the image.
7933
+ */
7934
+ mime_type?: ImageContentMimeType | undefined;
7239
7935
  resolution?: MediaResolution_2 | undefined;
7240
7936
  type: "image";
7241
7937
  /**
7242
7938
  * The URI of the image.
7243
7939
  */
7244
7940
  uri?: string | undefined;
7245
- /**
7246
- * The mime type of the image.
7247
- */
7248
- mime_type?: ImageContentMimeType | undefined;
7249
7941
  };
7250
7942
 
7251
7943
  /**
@@ -7507,22 +8199,14 @@ declare type Interaction$ = Interaction;
7507
8199
  * The Interaction resource.
7508
8200
  */
7509
8201
  declare type Interaction = {
7510
- /**
7511
- * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
7512
- */
7513
- model?: Model_2 | undefined;
7514
8202
  /**
7515
8203
  * The agent to interact with.
7516
8204
  */
7517
8205
  agent?: AgentOption | undefined;
7518
8206
  /**
7519
- * Required. Output only. A unique identifier for the interaction completion.
7520
- */
7521
- id: string;
7522
- /**
7523
- * Required. Output only. The status of the interaction.
8207
+ * Configuration parameters for the agent interaction.
7524
8208
  */
7525
- status: InteractionStatus_2;
8209
+ agent_config?: AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig | undefined;
7526
8210
  /**
7527
8211
  * Output only. The time at which the response was created in ISO 8601 format
7528
8212
  *
@@ -7531,110 +8215,118 @@ declare type Interaction = {
7531
8215
  */
7532
8216
  created?: string | undefined;
7533
8217
  /**
7534
- * Output only. The time at which the response was last updated in ISO 8601 format
8218
+ * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
8219
+ */
8220
+ environment?: Environment_2 | string | undefined;
8221
+ /**
8222
+ * Output only. The environment ID for the interaction. Only populated if environment
7535
8223
  *
7536
8224
  * @remarks
7537
- * (YYYY-MM-DDThh:mm:ssZ).
8225
+ * config is set in the request.
7538
8226
  */
7539
- updated?: string | undefined;
8227
+ environment_id?: string | undefined;
7540
8228
  /**
7541
- * System instruction for the interaction.
8229
+ * Output only. Diagnostic faults / platform errors recorded on the interaction.
7542
8230
  */
7543
- system_instruction?: string | undefined;
8231
+ errors?: Array<ErrorT> | undefined;
7544
8232
  /**
7545
- * A list of tool declarations the model may call during interaction.
8233
+ * Configuration parameters for model interactions.
7546
8234
  */
7547
- tools?: Array<Tool_2> | undefined;
8235
+ generation_config?: GenerationConfig_2 | undefined;
7548
8236
  /**
7549
- * Output only. Diagnostic faults / platform errors recorded on the interaction.
8237
+ * Required. Output only. A unique identifier for the interaction completion.
7550
8238
  */
7551
- errors?: Array<ErrorT> | undefined;
8239
+ id: string;
7552
8240
  /**
7553
- * Statistics on the interaction request's token usage.
8241
+ * The input for the interaction.
7554
8242
  */
7555
- usage?: Usage | undefined;
8243
+ input?: InteractionsInput | undefined;
7556
8244
  /**
7557
- * The requested modalities of the response (TEXT, IMAGE, AUDIO).
7558
- *
7559
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
8245
+ * The labels with user-defined metadata for the request.
7560
8246
  */
7561
- response_modalities?: Array<ResponseModality> | undefined;
8247
+ labels?: {
8248
+ [k: string]: string;
8249
+ } | undefined;
7562
8250
  /**
7563
- * The mime type of the response. This is required if response_format is set.
7564
- *
7565
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
8251
+ * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
7566
8252
  */
7567
- response_mime_type?: string | undefined;
8253
+ model?: Model_2 | undefined;
7568
8254
  /**
7569
- * The ID of the previous interaction, if any.
8255
+ * An audio content block.
7570
8256
  */
7571
- previous_interaction_id?: string | undefined;
8257
+ output_audio?: AudioContent | undefined;
7572
8258
  /**
7573
- * Output only. The environment ID for the interaction. Only populated if environment
8259
+ * An image content block.
8260
+ */
8261
+ output_image?: ImageContent | undefined;
8262
+ /**
8263
+ * Concatenated text from the last model output in response to the current request.
7574
8264
  *
7575
8265
  * @remarks
7576
- * config is set in the request.
8266
+ *
8267
+ * Note: this is added by the SDK.
7577
8268
  */
7578
- environment_id?: string | undefined;
7579
- service_tier?: ServiceTier_2 | undefined;
8269
+ output_text?: string | undefined;
7580
8270
  /**
7581
- * Message for configuring webhook events for a request.
8271
+ * A video content block.
7582
8272
  */
7583
- webhook_config?: WebhookConfig_2 | undefined;
8273
+ output_video?: VideoContent | undefined;
7584
8274
  /**
7585
- * Output only. The steps that make up the interaction, when included in the response.
8275
+ * The ID of the previous interaction, if any.
7586
8276
  */
7587
- steps?: Array<Step> | undefined;
8277
+ previous_interaction_id?: string | undefined;
7588
8278
  /**
7589
8279
  * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
7590
8280
  */
7591
- response_format?: Array<ResponseFormat_2> | ResponseFormat_2 | undefined;
7592
- /**
7593
- * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7594
- */
7595
- environment?: Environment_2 | string | undefined;
8281
+ response_format?: ResponseFormat_2 | Array<ResponseFormat_2> | undefined;
7596
8282
  /**
7597
- * Configuration parameters for model interactions.
8283
+ * The mime type of the response. This is required if response_format is set.
8284
+ *
8285
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
7598
8286
  */
7599
- generation_config?: GenerationConfig_2 | undefined;
8287
+ response_mime_type?: string | undefined;
7600
8288
  /**
7601
- * Configuration parameters for the agent interaction.
8289
+ * The requested modalities of the response (TEXT, IMAGE, AUDIO).
8290
+ *
8291
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
7602
8292
  */
7603
- agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig | undefined;
8293
+ response_modalities?: Array<ResponseModality> | undefined;
7604
8294
  /**
7605
8295
  * Safety settings for the interaction.
7606
8296
  */
7607
8297
  safety_settings?: Array<SafetySetting_2> | undefined;
8298
+ service_tier?: ServiceTier_2 | undefined;
7608
8299
  /**
7609
- * The labels with user-defined metadata for the request.
8300
+ * Required. Output only. The status of the interaction.
7610
8301
  */
7611
- labels?: {
7612
- [k: string]: string;
7613
- } | undefined;
8302
+ status: InteractionStatus_2;
7614
8303
  /**
7615
- * The input for the interaction.
8304
+ * Output only. The steps that make up the interaction, when included in the response.
7616
8305
  */
7617
- input?: InteractionsInput | undefined;
8306
+ steps?: Array<Step> | undefined;
7618
8307
  /**
7619
- * Concatenated text from the last model output in response to the current request.
7620
- *
7621
- * @remarks
7622
- *
7623
- * Note: this is added by the SDK.
8308
+ * System instruction for the interaction.
7624
8309
  */
7625
- output_text?: string | undefined;
8310
+ system_instruction?: string | undefined;
7626
8311
  /**
7627
- * An image content block.
8312
+ * A list of tool declarations the model may call during interaction.
7628
8313
  */
7629
- output_image?: ImageContent | undefined;
8314
+ tools?: Array<Tool_2> | undefined;
7630
8315
  /**
7631
- * An audio content block.
8316
+ * Output only. The time at which the response was last updated in ISO 8601 format
8317
+ *
8318
+ * @remarks
8319
+ * (YYYY-MM-DDThh:mm:ssZ).
7632
8320
  */
7633
- output_audio?: AudioContent | undefined;
8321
+ updated?: string | undefined;
7634
8322
  /**
7635
- * A video content block.
8323
+ * Statistics on the interaction request's token usage.
7636
8324
  */
7637
- output_video?: VideoContent | undefined;
8325
+ usage?: Usage | undefined;
8326
+ /**
8327
+ * Message for configuring webhook events for a request.
8328
+ */
8329
+ webhook_config?: WebhookConfig_2 | undefined;
7638
8330
  };
7639
8331
 
7640
8332
  /**
@@ -7645,14 +8337,13 @@ declare type Interaction_2 = interactions.CreateAgentInteraction | interactions.
7645
8337
  /**
7646
8338
  * Configuration parameters for the agent interaction.
7647
8339
  */
7648
- declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig;
8340
+ declare type InteractionAgentConfig = AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig;
7649
8341
 
7650
8342
  declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7651
8343
 
7652
8344
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7653
8345
 
7654
8346
  declare type InteractionCompletedEvent = {
7655
- event_type: "interaction.completed";
7656
8347
  /**
7657
8348
  * The event_id token to be used to resume the interaction stream, from
7658
8349
  *
@@ -7660,6 +8351,7 @@ declare type InteractionCompletedEvent = {
7660
8351
  * this event.
7661
8352
  */
7662
8353
  event_id?: string | undefined;
8354
+ event_type: "interaction.completed";
7663
8355
  /**
7664
8356
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7665
8357
  *
@@ -7673,7 +8365,6 @@ declare type InteractionCompletedEvent = {
7673
8365
  declare type InteractionCreatedEvent$ = InteractionCreatedEvent;
7674
8366
 
7675
8367
  declare type InteractionCreatedEvent = {
7676
- event_type: "interaction.created";
7677
8368
  /**
7678
8369
  * The event_id token to be used to resume the interaction stream, from
7679
8370
  *
@@ -7681,6 +8372,7 @@ declare type InteractionCreatedEvent = {
7681
8372
  * this event.
7682
8373
  */
7683
8374
  event_id?: string | undefined;
8375
+ event_type: "interaction.created";
7684
8376
  /**
7685
8377
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7686
8378
  *
@@ -7727,7 +8419,7 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7727
8419
  /**
7728
8420
  * Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
7729
8421
  */
7730
- declare type InteractionResponseFormat = Array<ResponseFormat_2> | ResponseFormat_2;
8422
+ declare type InteractionResponseFormat = ResponseFormat_2 | Array<ResponseFormat_2>;
7731
8423
 
7732
8424
  export declare namespace Interactions {
7733
8425
  export type AllowedTools = AllowedTools$;
@@ -7796,6 +8488,8 @@ export declare namespace Interactions {
7796
8488
  export type ModelOutputStep = ModelOutputStep$;
7797
8489
  export interface PlaceCitation extends PlaceCitation$ {
7798
8490
  }
8491
+ export type ProcessingCallStep = ProcessingCallStep$;
8492
+ export type ProcessingResultStep = ProcessingResultStep$;
7799
8493
  export type RetrievalCallArguments = RetrievalCallArguments$;
7800
8494
  export interface RetrievalCallDelta extends RetrievalCallDelta$ {
7801
8495
  }
@@ -7815,6 +8509,7 @@ export declare namespace Interactions {
7815
8509
  export type ToolChoiceConfig = ToolChoiceConfig$;
7816
8510
  export type ToolChoiceType = ToolChoiceType$;
7817
8511
  export type TranscriptionConfig = TranscriptionConfig$;
8512
+ export type TranscriptionMode = TranscriptionMode$;
7818
8513
  export type URLCitation = URLCitation$;
7819
8514
  export type URLContextCallArguments = URLContextCallArguments$;
7820
8515
  export interface URLContextCallStep extends URLContextCallStep$ {
@@ -7908,6 +8603,8 @@ export declare namespace Interactions {
7908
8603
  export type MCPServerToolCall = MCPServerToolCall$;
7909
8604
  export type MCPServerToolResult = MCPServerToolResult$;
7910
8605
  export type Metadata = Metadata$;
8606
+ export type ProcessingCall = ProcessingCall$;
8607
+ export type ProcessingResult = ProcessingResult$;
7911
8608
  export type Text = Text$;
7912
8609
  export type TextAnnotationDelta = TextAnnotationDelta$;
7913
8610
  export type ThoughtSignature = ThoughtSignature$;
@@ -7930,6 +8627,10 @@ export declare namespace Interactions {
7930
8627
  export type VertexAISearchConfig = VertexAISearchConfig$;
7931
8628
  }
7932
8629
  }
8630
+ export namespace TranscriptionMode {
8631
+ export type Smart = Smart$;
8632
+ export type Verbatim = Verbatim$;
8633
+ }
7933
8634
  export namespace URLContextCallStep {
7934
8635
  export type Arguments = Arguments$5;
7935
8636
  }
@@ -7976,12 +8677,12 @@ declare namespace interactions {
7976
8677
  EnvironmentEnum,
7977
8678
  ComputerUse_2 as ComputerUse,
7978
8679
  Content_2 as Content,
7979
- CreateAgentInteractionResponseFormat,
7980
- CreateAgentInteractionEnvironment,
7981
8680
  CreateAgentInteractionAgentConfig,
8681
+ CreateAgentInteractionEnvironment,
8682
+ CreateAgentInteractionResponseFormat,
7982
8683
  CreateAgentInteraction,
7983
- CreateModelInteractionResponseFormat,
7984
8684
  CreateModelInteractionEnvironment,
8685
+ CreateModelInteractionResponseFormat,
7985
8686
  CreateModelInteraction,
7986
8687
  Visualization,
7987
8688
  DeepResearchAgentConfig,
@@ -8021,8 +8722,8 @@ declare namespace interactions {
8021
8722
  FunctionResultStep,
8022
8723
  FunctionResultSubcontent,
8023
8724
  FunctionT,
8024
- ToolChoice,
8025
8725
  SpeechConfigUnion_2 as SpeechConfigUnion,
8726
+ ToolChoice,
8026
8727
  GenerationConfig_2 as GenerationConfig,
8027
8728
  GoogleMapsCallArguments,
8028
8729
  GoogleMapsCallDelta,
@@ -8065,10 +8766,10 @@ declare namespace interactions {
8065
8766
  InteractionSSEStreamEvent,
8066
8767
  InteractionStatusUpdateStatus,
8067
8768
  InteractionStatusUpdate,
8068
- InteractionStatus_2 as InteractionStatus,
8069
- InteractionResponseFormat,
8070
- InteractionEnvironment,
8071
8769
  InteractionAgentConfig,
8770
+ InteractionEnvironment,
8771
+ InteractionResponseFormat,
8772
+ InteractionStatus_2 as InteractionStatus,
8072
8773
  Interaction,
8073
8774
  InteractionsInput,
8074
8775
  MCPServerToolCallDelta,
@@ -8080,13 +8781,17 @@ declare namespace interactions {
8080
8781
  MCPServerToolResultStepResultUnion,
8081
8782
  MCPServerToolResultStep,
8082
8783
  MCPServer,
8083
- MediaProcessing,
8784
+ MediaProcessing_2 as MediaProcessing,
8084
8785
  MediaResolution_2 as MediaResolution,
8085
8786
  ModalityTokens,
8086
8787
  ModelOutputStep,
8087
8788
  Model_2 as Model,
8088
8789
  ParallelAISearchConfig,
8089
8790
  PlaceCitation,
8791
+ ProcessingCallDelta,
8792
+ ProcessingCallStep,
8793
+ ProcessingResultDelta,
8794
+ ProcessingResultStep,
8090
8795
  RagResource,
8091
8796
  RagRetrievalConfig_2 as RagRetrievalConfig,
8092
8797
  RagStoreConfig,
@@ -8105,6 +8810,7 @@ declare namespace interactions {
8105
8810
  SafetySetting_2 as SafetySetting,
8106
8811
  ServiceTier_2 as ServiceTier,
8107
8812
  SessionConfig,
8813
+ SmartTranscriptionMode,
8108
8814
  SourceType,
8109
8815
  Source,
8110
8816
  SpeakerConfig,
@@ -8131,7 +8837,10 @@ declare namespace interactions {
8131
8837
  ToolChoiceConfig,
8132
8838
  ToolChoiceType,
8133
8839
  Tool_2 as Tool,
8840
+ TranscriptionConfigModeEnum,
8841
+ TranscriptionConfigMode,
8134
8842
  TranscriptionConfig,
8843
+ TranscriptionMode,
8135
8844
  URLCitation,
8136
8845
  URLContextCallArguments,
8137
8846
  URLContextCallDelta,
@@ -8143,12 +8852,13 @@ declare namespace interactions {
8143
8852
  URLContext,
8144
8853
  Usage,
8145
8854
  UserInputStep,
8855
+ VerbatimTranscriptionMode,
8146
8856
  VertexAISearchConfig,
8147
8857
  Task,
8148
8858
  VideoConfig,
8859
+ VideoContentMimeType,
8149
8860
  ProcessingEnum,
8150
8861
  Processing,
8151
- VideoContentMimeType,
8152
8862
  VideoContent,
8153
8863
  VideoDeltaMimeType,
8154
8864
  VideoDelta,
@@ -8161,14 +8871,51 @@ declare namespace interactions {
8161
8871
  }
8162
8872
  }
8163
8873
 
8874
+ declare class Interactions_2 extends ClientSDK {
8875
+ /**
8876
+ * Creating an interaction
8877
+ *
8878
+ * @remarks
8879
+ * Creates a new interaction.
8880
+ */
8881
+ create(params: CreateAgentInteractionParamsNonStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8882
+ create(params: CreateModelInteractionParamsNonStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8883
+ create(params: CreateAgentInteractionParamsStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8884
+ create(params: CreateModelInteractionParamsStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8885
+ create(params: CreateInteractionParams, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
8886
+ /**
8887
+ * Deleting an interaction
8888
+ *
8889
+ * @remarks
8890
+ * Deletes the interaction by id.
8891
+ */
8892
+ delete(id: string, params?: DeleteInteractionParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<void>;
8893
+ /**
8894
+ * Retrieving an interaction
8895
+ *
8896
+ * @remarks
8897
+ * Retrieves the full details of a single interaction based on its `Interaction.id`.
8898
+ */
8899
+ get(id: string, params?: GetInteractionByIdParamsNonStreaming, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
8900
+ get(id: string, params: GetInteractionByIdParamsStreaming, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
8901
+ get(id: string, params?: GetInteractionByIdParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
8902
+ /**
8903
+ * Canceling an interaction
8904
+ *
8905
+ * @remarks
8906
+ * Cancels an interaction by id. This only applies to background interactions that are still running.
8907
+ */
8908
+ cancel(id: string, params?: CancelInteractionByIdParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Interaction>;
8909
+ }
8910
+
8164
8911
  /**
8165
8912
  * The input for the interaction.
8166
8913
  */
8167
- declare type InteractionsInput = string | Array<Step> | Array<Content_2> | Content_2;
8914
+ declare type InteractionsInput = Content_2 | Array<Step> | Array<Content_2> | string;
8168
8915
 
8169
8916
  declare type InteractionSSEEvent$ = InteractionSSEEvent;
8170
8917
 
8171
- declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
8918
+ declare type InteractionSSEEvent = ErrorEvent_2 | InteractionCompletedEvent | InteractionCreatedEvent | InteractionStatusUpdate | StepDelta | StepStart | StepStop;
8172
8919
 
8173
8920
  /**
8174
8921
  * Partial interaction resource emitted by interaction lifecycle SSE events.
@@ -8179,42 +8926,42 @@ declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionComplete
8179
8926
  */
8180
8927
  declare type InteractionSseEventInteraction = {
8181
8928
  /**
8182
- * Required. Output only. A unique identifier for the interaction completion.
8929
+ * The agent to interact with.
8183
8930
  */
8184
- id: string;
8931
+ agent?: string | undefined;
8185
8932
  /**
8186
- * Output only. The resource type.
8933
+ * Output only. The time at which the response was created in ISO 8601 format.
8187
8934
  */
8188
- object?: string | undefined;
8935
+ created?: string | undefined;
8936
+ /**
8937
+ * Required. Output only. A unique identifier for the interaction completion.
8938
+ */
8939
+ id: string;
8189
8940
  /**
8190
8941
  * The model that will complete your prompt.
8191
8942
  */
8192
8943
  model?: string | undefined;
8193
8944
  /**
8194
- * The agent to interact with.
8945
+ * Output only. The resource type.
8195
8946
  */
8196
- agent?: string | undefined;
8947
+ object?: string | undefined;
8948
+ service_tier?: ServiceTier_2 | undefined;
8197
8949
  /**
8198
8950
  * Required. Output only. The status of the interaction.
8199
8951
  */
8200
8952
  status: InteractionSseEventInteractionStatus;
8201
8953
  /**
8202
- * Output only. The time at which the response was created in ISO 8601 format.
8954
+ * Output only. The steps that make up the interaction, if included in this event.
8203
8955
  */
8204
- created?: string | undefined;
8956
+ steps?: Array<Step> | undefined;
8205
8957
  /**
8206
8958
  * Output only. The time at which the response was last updated in ISO 8601 format.
8207
8959
  */
8208
8960
  updated?: string | undefined;
8209
- service_tier?: ServiceTier_2 | undefined;
8210
8961
  /**
8211
8962
  * Statistics on the interaction request's token usage.
8212
8963
  */
8213
8964
  usage?: Usage | undefined;
8214
- /**
8215
- * Output only. The steps that make up the interaction, if included in this event.
8216
- */
8217
- steps?: Array<Step> | undefined;
8218
8965
  };
8219
8966
 
8220
8967
  /**
@@ -8291,6 +9038,13 @@ export declare interface Interval {
8291
9038
  startTime?: string;
8292
9039
  }
8293
9040
 
9041
+ /**
9042
+ * An error that is raised when any inputs used to create a request are invalid.
9043
+ */
9044
+ declare class InvalidRequestError extends HTTPClientError {
9045
+ name: string;
9046
+ }
9047
+
8294
9048
  /** Job error. */
8295
9049
  export declare interface JobError {
8296
9050
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
@@ -8395,6 +9149,20 @@ export declare interface LatLng {
8395
9149
  longitude?: number;
8396
9150
  }
8397
9151
 
9152
+ /**
9153
+ * @license
9154
+ * Copyright 2026 Google LLC
9155
+ * SPDX-License-Identifier: Apache-2.0
9156
+ *
9157
+ * g3-prettier-ignore-file
9158
+ */
9159
+ declare type ListAgentsGlobals = {
9160
+ /**
9161
+ * Which version of the API to use.
9162
+ */
9163
+ api_version?: string | undefined;
9164
+ };
9165
+
8398
9166
  declare type ListAgentsParams = ListAgentsRequest;
8399
9167
 
8400
9168
  declare type ListAgentsParams_2 = {
@@ -8506,12 +9274,57 @@ export declare class ListDocumentsResponse {
8506
9274
  documents?: Document_2[];
8507
9275
  }
8508
9276
 
8509
- declare type ListEnvironmentsParams = {
9277
+ declare type ListEnvironmentFilesParams = {
9278
+ environment: string;
9279
+ path: string;
9280
+ page_size?: number;
9281
+ page_token?: string;
9282
+ recursive?: boolean;
9283
+ api_version?: string;
9284
+ };
9285
+
9286
+ /**
9287
+ * Alias for GetEnvironmentFilesResponse when listing files.
9288
+ */
9289
+ declare type ListEnvironmentFilesResponse = GetEnvironmentFilesResponse_2;
9290
+
9291
+ /**
9292
+ * @license
9293
+ * Copyright 2026 Google LLC
9294
+ * SPDX-License-Identifier: Apache-2.0
9295
+ *
9296
+ * g3-prettier-ignore-file
9297
+ */
9298
+ declare type ListEnvironmentsGlobals = {
9299
+ /**
9300
+ * Which version of the API to use.
9301
+ */
9302
+ api_version?: string | undefined;
9303
+ };
9304
+
9305
+ declare type ListEnvironmentsParams = ListEnvironmentsRequest;
9306
+
9307
+ declare type ListEnvironmentsParams_2 = {
8510
9308
  api_version?: string;
8511
9309
  page_size?: number;
8512
9310
  page_token?: string;
8513
9311
  };
8514
9312
 
9313
+ declare type ListEnvironmentsRequest = {
9314
+ /**
9315
+ * Which version of the API to use.
9316
+ */
9317
+ api_version?: string | undefined;
9318
+ /**
9319
+ * Optional. Maximum number of environments to return.\nIf unspecified, defaults to 50. Maximum is 1000.
9320
+ */
9321
+ page_size?: number | undefined;
9322
+ /**
9323
+ * Optional. Pagination token.
9324
+ */
9325
+ page_token?: string | undefined;
9326
+ };
9327
+
8515
9328
  /**
8516
9329
  * Response for `ListEnvironments`.
8517
9330
  */
@@ -8615,6 +9428,20 @@ export declare class ListModelsResponse {
8615
9428
  models?: Model[];
8616
9429
  }
8617
9430
 
9431
+ /**
9432
+ * @license
9433
+ * Copyright 2026 Google LLC
9434
+ * SPDX-License-Identifier: Apache-2.0
9435
+ *
9436
+ * g3-prettier-ignore-file
9437
+ */
9438
+ declare type ListTriggerExecutionsGlobals = {
9439
+ /**
9440
+ * Which version of the API to use.
9441
+ */
9442
+ api_version?: string | undefined;
9443
+ };
9444
+
8618
9445
  declare type ListTriggerExecutionsParams = Omit<ListTriggerExecutionsRequest, "trigger_id">;
8619
9446
 
8620
9447
  declare type ListTriggerExecutionsParams_2 = {
@@ -8661,6 +9488,20 @@ declare type ListTriggerExecutionsResponse = {
8661
9488
  trigger_executions?: Array<TriggerExecution> | undefined;
8662
9489
  };
8663
9490
 
9491
+ /**
9492
+ * @license
9493
+ * Copyright 2026 Google LLC
9494
+ * SPDX-License-Identifier: Apache-2.0
9495
+ *
9496
+ * g3-prettier-ignore-file
9497
+ */
9498
+ declare type ListTriggersGlobals = {
9499
+ /**
9500
+ * Which version of the API to use.
9501
+ */
9502
+ api_version?: string | undefined;
9503
+ };
9504
+
8664
9505
  declare type ListTriggersParams = ListTriggersRequest;
8665
9506
 
8666
9507
  declare type ListTriggersParams_2 = {
@@ -8739,6 +9580,20 @@ export declare class ListTuningJobsResponse {
8739
9580
  tuningJobs?: TuningJob[];
8740
9581
  }
8741
9582
 
9583
+ /**
9584
+ * @license
9585
+ * Copyright 2026 Google LLC
9586
+ * SPDX-License-Identifier: Apache-2.0
9587
+ *
9588
+ * g3-prettier-ignore-file
9589
+ */
9590
+ declare type ListWebhooksGlobals = {
9591
+ /**
9592
+ * Which version of the API to use.
9593
+ */
9594
+ api_version?: string | undefined;
9595
+ };
9596
+
8742
9597
  declare type ListWebhooksParams = ListWebhooksRequest;
8743
9598
 
8744
9599
  declare type ListWebhooksRequest = {
@@ -9559,6 +10414,19 @@ export declare interface LiveServerToolCallCancellation {
9559
10414
  ids?: string[];
9560
10415
  }
9561
10416
 
10417
+ /**
10418
+ * @license
10419
+ * Copyright 2026 Google LLC
10420
+ * SPDX-License-Identifier: Apache-2.0
10421
+ *
10422
+ * g3-prettier-ignore-file
10423
+ */
10424
+ declare interface Logger {
10425
+ group(label?: string): void;
10426
+ groupEnd(): void;
10427
+ log(message: any, ...args: any[]): void;
10428
+ }
10429
+
9562
10430
  /** 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. */
9563
10431
  export declare interface LogprobsResult {
9564
10432
  /** 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`. */
@@ -9743,14 +10611,14 @@ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
9743
10611
 
9744
10612
  declare type MCPServerToolResultDelta = {
9745
10613
  name?: string | undefined;
9746
- result: MCPServerToolResultDeltaResult | Array<FunctionResultSubcontent> | string;
10614
+ result: Array<FunctionResultSubcontent> | MCPServerToolResultDeltaResult | string;
9747
10615
  server_name?: string | undefined;
9748
10616
  type: "mcp_server_tool_result";
9749
10617
  };
9750
10618
 
9751
10619
  declare type MCPServerToolResultDeltaResult = {};
9752
10620
 
9753
- declare type MCPServerToolResultDeltaResultUnion = MCPServerToolResultDeltaResult | Array<FunctionResultSubcontent> | string;
10621
+ declare type MCPServerToolResultDeltaResultUnion = Array<FunctionResultSubcontent> | MCPServerToolResultDeltaResult | string;
9754
10622
 
9755
10623
  declare type MCPServerToolResultStep$ = MCPServerToolResultStep;
9756
10624
 
@@ -9769,7 +10637,7 @@ declare type MCPServerToolResultStep = {
9769
10637
  /**
9770
10638
  * Required. The output from the MCP server call. Can be simple text or rich content.
9771
10639
  */
9772
- result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
10640
+ result: Array<FunctionResultSubcontent> | MCPServerToolResultStepResult | string;
9773
10641
  /**
9774
10642
  * The name of the used MCP server.
9775
10643
  */
@@ -9782,7 +10650,7 @@ declare type MCPServerToolResultStepResult = {};
9782
10650
  /**
9783
10651
  * Required. The output from the MCP server call. Can be simple text or rich content.
9784
10652
  */
9785
- declare type MCPServerToolResultStepResultUnion = MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
10653
+ declare type MCPServerToolResultStepResultUnion = Array<FunctionResultSubcontent> | MCPServerToolResultStepResult | string;
9786
10654
 
9787
10655
  /**
9788
10656
  * Creates a McpCallableTool from MCP clients and an optional config.
@@ -9824,7 +10692,23 @@ export declare enum MediaModality {
9824
10692
  DOCUMENT = "DOCUMENT"
9825
10693
  }
9826
10694
 
9827
- declare type MediaProcessing = StaticMediaProcessing;
10695
+ /** How the model processes input media for understanding. */
10696
+ export declare enum MediaProcessing {
10697
+ /**
10698
+ * Default. Uses model-specific processing
10699
+ */
10700
+ MEDIA_PROCESSING_UNSPECIFIED = "MEDIA_PROCESSING_UNSPECIFIED",
10701
+ /**
10702
+ * Fixed-rate frame extraction. All frames placed in context.
10703
+ */
10704
+ STATIC = "STATIC",
10705
+ /**
10706
+ * Model-driven dynamic navigation. Recommended for most use cases.
10707
+ */
10708
+ AGENTIC = "AGENTIC"
10709
+ }
10710
+
10711
+ declare type MediaProcessing_2 = StaticMediaProcessing;
9828
10712
 
9829
10713
  /** The media resolution to use. */
9830
10714
  export declare enum MediaResolution {
@@ -9980,7 +10864,7 @@ export declare interface Model {
9980
10864
  /**
9981
10865
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9982
10866
  */
9983
- 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 & {});
10867
+ 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 & {});
9984
10868
 
9985
10869
  /** 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. */
9986
10870
  export declare interface ModelArmorConfig {
@@ -10391,6 +11275,12 @@ export declare class Models extends BaseModule {
10391
11275
  private generateVideosInternal;
10392
11276
  }
10393
11277
 
11278
+ declare namespace models {
11279
+ export {
11280
+ Security
11281
+ }
11282
+ }
11283
+
10394
11284
  /** Config for model selection. */
10395
11285
  export declare interface ModelSelectionConfig {
10396
11286
  /** Options for feature selection preference. */
@@ -10479,6 +11369,14 @@ declare type Network = EnvironmentNetworkEgressAllowlist | NetworkEnum;
10479
11369
 
10480
11370
  declare type NetworkEnum = "disabled";
10481
11371
 
11372
+ declare type OAuth2PasswordFlow = {
11373
+ username: string;
11374
+ password: string;
11375
+ client_id?: string | undefined;
11376
+ client_secret?: string | undefined;
11377
+ token_url: string;
11378
+ };
11379
+
10482
11380
  /** A long-running operation. */
10483
11381
  export declare interface Operation<T> {
10484
11382
  /** 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}`. */
@@ -10534,6 +11432,102 @@ export declare class Operations extends BaseModule {
10534
11432
  private fetchPredictVideosOperationInternal;
10535
11433
  }
10536
11434
 
11435
+ declare namespace operations {
11436
+ export {
11437
+ CancelInteractionByIdGlobals,
11438
+ CancelInteractionByIdRequest,
11439
+ CreateAgentGlobals,
11440
+ CreateAgentRequest,
11441
+ CreateEnvironmentGlobals,
11442
+ CreateEnvironmentRequest_2 as CreateEnvironmentRequest,
11443
+ CreateInteractionGlobals,
11444
+ CreateInteractionRequestBody,
11445
+ CreateInteractionRequest,
11446
+ CreateInteractionResponse,
11447
+ CreateTriggerGlobals,
11448
+ CreateTriggerRequest,
11449
+ CreateWebhookGlobals,
11450
+ CreateWebhookRequest,
11451
+ DeleteAgentGlobals,
11452
+ DeleteAgentRequest,
11453
+ DeleteEnvironmentGlobals,
11454
+ DeleteEnvironmentRequest,
11455
+ DeleteInteractionGlobals,
11456
+ DeleteInteractionRequest,
11457
+ DeleteTriggerGlobals,
11458
+ DeleteTriggerRequest,
11459
+ DeleteWebhookGlobals,
11460
+ DeleteWebhookRequest,
11461
+ GetAgentGlobals,
11462
+ GetAgentRequest,
11463
+ GetEnvironmentFilesGlobals,
11464
+ GetEnvironmentFilesRequest,
11465
+ GetEnvironmentGlobals,
11466
+ GetEnvironmentRequest,
11467
+ GetInteractionByIdGlobals,
11468
+ GetInteractionByIdRequest,
11469
+ GetInteractionByIdResponse,
11470
+ GetTriggerGlobals,
11471
+ GetTriggerRequest,
11472
+ GetWebhookGlobals,
11473
+ GetWebhookRequest,
11474
+ ListAgentsGlobals,
11475
+ ListAgentsRequest,
11476
+ ListEnvironmentsGlobals,
11477
+ ListEnvironmentsRequest,
11478
+ ListTriggerExecutionsGlobals,
11479
+ ListTriggerExecutionsRequest,
11480
+ ListTriggersGlobals,
11481
+ ListTriggersRequest,
11482
+ ListWebhooksGlobals,
11483
+ ListWebhooksRequest,
11484
+ CancelInteractionByIdParams,
11485
+ CreateAgentParams,
11486
+ CreateInteractionParams,
11487
+ CreateInteractionParamsNonStreaming,
11488
+ CreateInteractionParamsStreaming,
11489
+ CreateAgentInteractionParams,
11490
+ CreateAgentInteractionParamsNonStreaming,
11491
+ CreateAgentInteractionParamsStreaming,
11492
+ CreateModelInteractionParams,
11493
+ CreateModelInteractionParamsNonStreaming,
11494
+ CreateModelInteractionParamsStreaming,
11495
+ CreateTriggerParams,
11496
+ CreateWebhookParams,
11497
+ DeleteAgentParams,
11498
+ DeleteEnvironmentParams,
11499
+ DeleteInteractionParams,
11500
+ DeleteTriggerParams,
11501
+ DeleteWebhookParams,
11502
+ GetAgentParams,
11503
+ GetEnvironmentFilesParams,
11504
+ GetEnvironmentParams,
11505
+ GetInteractionByIdParams,
11506
+ GetInteractionByIdParamsNonStreaming,
11507
+ GetInteractionByIdParamsStreaming,
11508
+ GetTriggerParams,
11509
+ GetWebhookParams,
11510
+ ListAgentsParams,
11511
+ ListEnvironmentsParams,
11512
+ ListTriggerExecutionsParams,
11513
+ ListTriggersParams,
11514
+ ListWebhooksParams,
11515
+ RunTriggerParams,
11516
+ UpdateTriggerParams,
11517
+ UpdateWebhookParams,
11518
+ PingWebhookGlobals,
11519
+ PingWebhookRequest_2 as PingWebhookRequest,
11520
+ RotateSigningSecretGlobals,
11521
+ RotateSigningSecretRequest_2 as RotateSigningSecretRequest,
11522
+ RunTriggerGlobals,
11523
+ RunTriggerRequest,
11524
+ UpdateTriggerGlobals,
11525
+ UpdateTriggerRequest,
11526
+ UpdateWebhookGlobals,
11527
+ UpdateWebhookRequest
11528
+ }
11529
+ }
11530
+
10537
11531
  /** Outcome of the code execution. */
10538
11532
  export declare enum Outcome {
10539
11533
  /**
@@ -10785,6 +11779,8 @@ export declare interface Part {
10785
11779
  videoMetadata?: VideoMetadata;
10786
11780
  /** 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. */
10787
11781
  partMetadata?: Record<string, unknown>;
11782
+ /** How the model processes this part's media for understanding. */
11783
+ mediaProcessing?: MediaProcessing;
10788
11784
  }
10789
11785
 
10790
11786
  /** Partial argument value of the function call. This data type is not supported in Gemini API. */
@@ -10899,6 +11895,13 @@ export declare enum PhishBlockThreshold {
10899
11895
  BLOCK_ONLY_EXTREMELY_HIGH = "BLOCK_ONLY_EXTREMELY_HIGH"
10900
11896
  }
10901
11897
 
11898
+ declare type PingWebhookGlobals = {
11899
+ /**
11900
+ * Which version of the API to use.
11901
+ */
11902
+ api_version?: string | undefined;
11903
+ };
11904
+
10902
11905
  declare type PingWebhookRequest$ = PingWebhookRequest;
10903
11906
 
10904
11907
  /**
@@ -10913,6 +11916,24 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10913
11916
  */
10914
11917
  declare type PingWebhookRequest = {};
10915
11918
 
11919
+ declare type PingWebhookRequest_2 = {
11920
+ /**
11921
+ * Which version of the API to use.
11922
+ */
11923
+ api_version?: string | undefined;
11924
+ /**
11925
+ * Required. The ID of the webhook to ping.
11926
+ *
11927
+ * @remarks
11928
+ * Format: `{webhook_id}`
11929
+ */
11930
+ id: string;
11931
+ /**
11932
+ * The request body.
11933
+ */
11934
+ body?: webhooks.PingWebhookRequest | undefined;
11935
+ };
11936
+
10916
11937
  declare type Place$ = GoogleMapsResultPlaces;
10917
11938
 
10918
11939
  declare type Place$2 = GoogleMapsResultPlaces;
@@ -11042,10 +12063,101 @@ export declare interface ProactivityConfig {
11042
12063
  /**
11043
12064
  * How the model processes this video for understanding.
11044
12065
  */
11045
- declare type Processing = MediaProcessing | ProcessingEnum;
12066
+ declare type Processing = MediaProcessing_2 | ProcessingEnum;
12067
+
12068
+ declare type ProcessingCall$ = ProcessingCallDelta;
12069
+
12070
+ /**
12071
+ * @license
12072
+ * Copyright 2026 Google LLC
12073
+ * SPDX-License-Identifier: Apache-2.0
12074
+ *
12075
+ * g3-prettier-ignore-file
12076
+ */
12077
+ /**
12078
+ * Streaming delta for a server-initiated media processing step.
12079
+ */
12080
+ declare type ProcessingCallDelta = {
12081
+ /**
12082
+ * A signature hash for backend validation.
12083
+ */
12084
+ signature?: string | undefined;
12085
+ type: "processing_call";
12086
+ };
12087
+
12088
+ declare type ProcessingCallStep$ = ProcessingCallStep;
12089
+
12090
+ /**
12091
+ * @license
12092
+ * Copyright 2026 Google LLC
12093
+ * SPDX-License-Identifier: Apache-2.0
12094
+ *
12095
+ * g3-prettier-ignore-file
12096
+ */
12097
+ /**
12098
+ * A server-initiated processing step for media analysis (e.g. video
12099
+ *
12100
+ * @remarks
12101
+ * understanding).
12102
+ */
12103
+ declare type ProcessingCallStep = {
12104
+ /**
12105
+ * Required. A unique ID for this specific tool call.
12106
+ */
12107
+ id: string;
12108
+ /**
12109
+ * A signature hash for backend validation.
12110
+ */
12111
+ signature?: string | undefined;
12112
+ type: "processing_call";
12113
+ };
11046
12114
 
11047
12115
  declare type ProcessingEnum = "static" | "agentic" | (string & {});
11048
12116
 
12117
+ declare type ProcessingResult$ = ProcessingResultDelta;
12118
+
12119
+ /**
12120
+ * @license
12121
+ * Copyright 2026 Google LLC
12122
+ * SPDX-License-Identifier: Apache-2.0
12123
+ *
12124
+ * g3-prettier-ignore-file
12125
+ */
12126
+ /**
12127
+ * Streaming delta for the result of a server-initiated media processing step.
12128
+ */
12129
+ declare type ProcessingResultDelta = {
12130
+ /**
12131
+ * A signature hash for backend validation.
12132
+ */
12133
+ signature?: string | undefined;
12134
+ type: "processing_result";
12135
+ };
12136
+
12137
+ declare type ProcessingResultStep$ = ProcessingResultStep;
12138
+
12139
+ /**
12140
+ * @license
12141
+ * Copyright 2026 Google LLC
12142
+ * SPDX-License-Identifier: Apache-2.0
12143
+ *
12144
+ * g3-prettier-ignore-file
12145
+ */
12146
+ /**
12147
+ * The result of a server-initiated media processing step.
12148
+ */
12149
+ declare type ProcessingResultStep = {
12150
+ /**
12151
+ * Required. ID to match the ID from the function call block.
12152
+ */
12153
+ call_id: string;
12154
+ /**
12155
+ * A signature hash for backend validation.
12156
+ */
12157
+ signature?: string | undefined;
12158
+ type: "processing_result";
12159
+ };
12160
+
11049
12161
  /** An image of the product. */
11050
12162
  export declare interface ProductImage {
11051
12163
  /** An image of the product to be recontextualized. */
@@ -11591,6 +12703,39 @@ export declare interface ReplicatedVoiceConfig {
11591
12703
  voiceConsentSignature?: VoiceConsentSignature;
11592
12704
  }
11593
12705
 
12706
+ /**
12707
+ * An error that is raised when a HTTP request was aborted by the client error.
12708
+ */
12709
+ declare class RequestAbortedError extends HTTPClientError {
12710
+ readonly name = "RequestAbortedError";
12711
+ }
12712
+
12713
+ declare type RequestConfig = {
12714
+ method: string;
12715
+ path: string;
12716
+ baseURL?: string | URL | undefined;
12717
+ query?: string;
12718
+ body?: RequestInit["body"];
12719
+ headers?: HeadersInit;
12720
+ security?: SecurityState | null;
12721
+ uaHeader?: string;
12722
+ userAgent?: string | undefined;
12723
+ timeout_ms?: number;
12724
+ };
12725
+
12726
+ declare type RequestErrorHook = (err: unknown, req: Request) => Awaitable<void>;
12727
+
12728
+ declare type RequestInput = {
12729
+ /**
12730
+ * The URL the request will use.
12731
+ */
12732
+ url: URL;
12733
+ /**
12734
+ * Options used to create a [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request).
12735
+ */
12736
+ options?: RequestInit | undefined;
12737
+ };
12738
+
11594
12739
  declare type RequestOptions = {
11595
12740
  /**
11596
12741
  * Sets a timeout, in milliseconds, on HTTP requests made by an SDK method. If
@@ -11633,6 +12778,14 @@ declare type RequestOptions = {
11633
12778
  extra_body?: Record<string, unknown>;
11634
12779
  } & Omit<RequestInit, "method" | "body">;
11635
12780
 
12781
+ /**
12782
+ * An error that is raised when a HTTP request timed out due to an AbortSignal
12783
+ * signal timeout.
12784
+ */
12785
+ declare class RequestTimeoutError extends HTTPClientError {
12786
+ readonly name = "RequestTimeoutError";
12787
+ }
12788
+
11636
12789
  /**
11637
12790
  * The video output resolution. Defaults to 720p.
11638
12791
  */
@@ -11666,6 +12819,8 @@ declare type ResponseFormat_2 = AudioResponseFormat_2 | ImageResponseFormat_2 |
11666
12819
  [k: string]: any;
11667
12820
  };
11668
12821
 
12822
+ declare type ResponseHook = (res: Response, req: Request) => Awaitable<void>;
12823
+
11669
12824
  /**
11670
12825
  * @license
11671
12826
  * Copyright 2026 Google LLC
@@ -11697,6 +12852,32 @@ declare type Result$2 = GoogleSearchResult;
11697
12852
 
11698
12853
  declare type Result$3 = URLContextResult;
11699
12854
 
12855
+ /**
12856
+ * @license
12857
+ * Copyright 2026 Google LLC
12858
+ * SPDX-License-Identifier: Apache-2.0
12859
+ *
12860
+ * g3-prettier-ignore-file
12861
+ */
12862
+ /**
12863
+ * A monad that captures the result of a function call or an error if it was not
12864
+ * successful. Railway programming, enabled by this type, can be a nicer
12865
+ * alternative to traditional exception throwing because it allows functions to
12866
+ * declare all _known_ errors with static types and then check for them
12867
+ * exhaustively in application code. Thrown exception have a type of `unknown`
12868
+ * and break out of regular control flow of programs making them harder to
12869
+ * inspect and more verbose work with due to try-catch blocks.
12870
+ */
12871
+ declare type Result<T, E = unknown> = {
12872
+ ok: true;
12873
+ value: T;
12874
+ error?: never;
12875
+ } | {
12876
+ ok: false;
12877
+ value?: never;
12878
+ error: E;
12879
+ };
12880
+
11700
12881
  declare type Retrieval$ = Retrieval_2;
11701
12882
 
11702
12883
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -11894,6 +13075,13 @@ declare type ReviewSnippet = {
11894
13075
  */
11895
13076
  declare type RevocationBehavior = "revoke_previous_secrets_after_h24" | "revoke_previous_secrets_immediately";
11896
13077
 
13078
+ declare type RotateSigningSecretGlobals = {
13079
+ /**
13080
+ * Which version of the API to use.
13081
+ */
13082
+ api_version?: string | undefined;
13083
+ };
13084
+
11897
13085
  declare type RotateSigningSecretRequest$ = RotateSigningSecretRequest;
11898
13086
 
11899
13087
  /**
@@ -11906,12 +13094,44 @@ declare type RotateSigningSecretRequest = {
11906
13094
  revocation_behavior?: RevocationBehavior | undefined;
11907
13095
  };
11908
13096
 
13097
+ declare type RotateSigningSecretRequest_2 = {
13098
+ /**
13099
+ * Which version of the API to use.
13100
+ */
13101
+ api_version?: string | undefined;
13102
+ /**
13103
+ * Required. The ID of the webhook for which to generate a signing secret.
13104
+ *
13105
+ * @remarks
13106
+ * Format: `{webhook_id}`
13107
+ */
13108
+ id: string;
13109
+ /**
13110
+ * The request body.
13111
+ */
13112
+ body?: webhooks.RotateSigningSecretRequest | undefined;
13113
+ };
13114
+
11909
13115
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
11910
13116
  export declare interface RougeMetricValue {
11911
13117
  /** Output only. Rouge score. */
11912
13118
  score?: number;
11913
13119
  }
11914
13120
 
13121
+ /**
13122
+ * @license
13123
+ * Copyright 2026 Google LLC
13124
+ * SPDX-License-Identifier: Apache-2.0
13125
+ *
13126
+ * g3-prettier-ignore-file
13127
+ */
13128
+ declare type RunTriggerGlobals = {
13129
+ /**
13130
+ * Which version of the API to use.
13131
+ */
13132
+ api_version?: string | undefined;
13133
+ };
13134
+
11915
13135
  declare type RunTriggerParams = Omit<RunTriggerRequest, "trigger_id">;
11916
13136
 
11917
13137
  declare type RunTriggerRequest = {
@@ -12153,6 +13373,70 @@ export declare interface ScribbleImage {
12153
13373
  image?: Image_2;
12154
13374
  }
12155
13375
 
13376
+ declare class SDKHooks implements Hooks {
13377
+ sdkInitHooks: SDKInitHook[];
13378
+ beforeCreateRequestHooks: BeforeCreateRequestHook[];
13379
+ beforeRequestHooks: BeforeRequestHook_2[];
13380
+ afterSuccessHooks: AfterSuccessHook[];
13381
+ afterErrorHooks: AfterErrorHook[];
13382
+ constructor();
13383
+ registerSDKInitHook(hook: SDKInitHook): void;
13384
+ registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void;
13385
+ registerBeforeRequestHook(hook: BeforeRequestHook_2): void;
13386
+ registerAfterSuccessHook(hook: AfterSuccessHook): void;
13387
+ registerAfterErrorHook(hook: AfterErrorHook): void;
13388
+ sdkInit(opts: SDKOptions): SDKOptions;
13389
+ beforeCreateRequest(hookCtx: BeforeCreateRequestContext, input: RequestInput): RequestInput;
13390
+ beforeRequest(hookCtx: BeforeRequestContext, request: Request): Promise<Request>;
13391
+ afterSuccess(hookCtx: AfterSuccessContext, response: Response): Promise<Response>;
13392
+ afterError(hookCtx: AfterErrorContext, response: Response | null, error: unknown): Promise<{
13393
+ response: Response | null;
13394
+ error: unknown;
13395
+ }>;
13396
+ }
13397
+
13398
+ /**
13399
+ * SDKInitHook is called when the SDK is initializing. The
13400
+ * hook can return a new baseURL and HTTP client to be used by the SDK.
13401
+ */
13402
+ declare interface SDKInitHook {
13403
+ sdkInit: (opts: SDKOptions) => SDKOptions;
13404
+ }
13405
+
13406
+ declare type SDKOptions = {
13407
+ /**
13408
+ * The security details required to authenticate the SDK
13409
+ */
13410
+ security?: models.Security | (() => Promise<models.Security>) | undefined;
13411
+ /**
13412
+ * Allows setting the api_version parameter for all supported operations
13413
+ */
13414
+ api_version?: string | undefined;
13415
+ /**
13416
+ * Allows setting the user_project parameter for all supported operations
13417
+ */
13418
+ user_project?: string | undefined;
13419
+ http_client?: HTTPClient;
13420
+ /**
13421
+ * Allows overriding the default server used by the SDK
13422
+ */
13423
+ server_idx?: number | undefined;
13424
+ /**
13425
+ * Allows overriding the default server URL used by the SDK
13426
+ */
13427
+ server_url?: string | undefined;
13428
+ /**
13429
+ * Allows overriding the default user agent used by the SDK
13430
+ */
13431
+ user_agent?: string | undefined;
13432
+ /**
13433
+ * Allows overriding the default retry config used by the SDK
13434
+ */
13435
+ retry_config?: RetryConfig;
13436
+ timeout_ms?: number;
13437
+ debug_logger?: Logger;
13438
+ };
13439
+
12156
13440
  /** The entry point used to search for grounding sources. */
12157
13441
  export declare interface SearchEntryPoint {
12158
13442
  /** Optional. Web content snippet that can be embedded in a web page
@@ -12171,6 +13455,45 @@ export declare interface SearchTypes {
12171
13455
  webSearch?: WebSearch;
12172
13456
  }
12173
13457
 
13458
+ /**
13459
+ * @license
13460
+ * Copyright 2026 Google LLC
13461
+ * SPDX-License-Identifier: Apache-2.0
13462
+ *
13463
+ * g3-prettier-ignore-file
13464
+ */
13465
+ declare type Security = {
13466
+ /**
13467
+ * OAuth access token sent as a bearer Authorization header.
13468
+ */
13469
+ access_token?: string | undefined;
13470
+ /**
13471
+ * Gemini API key sent as x-goog-api-key.
13472
+ */
13473
+ api_key?: string | undefined;
13474
+ /**
13475
+ * Additional default headers to apply before request-specific headers and auth.
13476
+ */
13477
+ default_headers?: {
13478
+ [k: string]: string;
13479
+ } | undefined;
13480
+ };
13481
+
13482
+ declare type SecurityState = {
13483
+ basic: {
13484
+ username?: string | undefined;
13485
+ password?: string | undefined;
13486
+ };
13487
+ headers: Record<string, string>;
13488
+ queryParams: Record<string, string>;
13489
+ cookies: Record<string, string>;
13490
+ oauth2: ({
13491
+ type: "password";
13492
+ } & OAuth2PasswordFlow) | {
13493
+ type: "none";
13494
+ };
13495
+ };
13496
+
12174
13497
  /** Segment of the content this support belongs to. */
12175
13498
  export declare interface Segment {
12176
13499
  /** Output only. Start index in the given Part, measured in bytes.
@@ -12552,6 +13875,22 @@ export declare interface SlidingWindow {
12552
13875
  targetTokens?: string;
12553
13876
  }
12554
13877
 
13878
+ declare type Smart$ = SmartTranscriptionMode;
13879
+
13880
+ /**
13881
+ * @license
13882
+ * Copyright 2026 Google LLC
13883
+ * SPDX-License-Identifier: Apache-2.0
13884
+ *
13885
+ * g3-prettier-ignore-file
13886
+ */
13887
+ /**
13888
+ * Configuration for smart transcription mode.
13889
+ */
13890
+ declare type SmartTranscriptionMode = {
13891
+ type: "smart";
13892
+ };
13893
+
12555
13894
  declare type Source$ = Source;
12556
13895
 
12557
13896
  /**
@@ -12763,7 +14102,7 @@ declare type Step$ = Step;
12763
14102
  /**
12764
14103
  * A step in the interaction.
12765
14104
  */
12766
- declare type Step = UserInputStep | ModelOutputStep | ThoughtStep | FunctionCallStep | CodeExecutionCallStep | URLContextCallStep | MCPServerToolCallStep | GoogleSearchCallStep | FileSearchCallStep | GoogleMapsCallStep | FunctionResultStep | CodeExecutionResultStep | URLContextResultStep | GoogleSearchResultStep | MCPServerToolResultStep | FileSearchResultStep | GoogleMapsResultStep;
14105
+ declare type Step = CodeExecutionCallStep | CodeExecutionResultStep | FileSearchCallStep | FileSearchResultStep | FunctionCallStep | FunctionResultStep | GoogleMapsCallStep | GoogleMapsResultStep | GoogleSearchCallStep | GoogleSearchResultStep | MCPServerToolCallStep | MCPServerToolResultStep | ModelOutputStep | ProcessingCallStep | ProcessingResultStep | ThoughtStep | URLContextCallStep | URLContextResultStep | UserInputStep;
12767
14106
 
12768
14107
  declare type StepDelta$ = StepDelta;
12769
14108
 
@@ -12784,7 +14123,7 @@ declare type StepDelta = {
12784
14123
  metadata?: StepDeltaMetadata | undefined;
12785
14124
  };
12786
14125
 
12787
- 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;
14126
+ 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;
12788
14127
 
12789
14128
  /**
12790
14129
  * Optional metadata accompanying ANY streamed event.
@@ -13523,7 +14862,11 @@ export declare enum ToolType {
13523
14862
  /**
13524
14863
  * File search tool, maps to Tool.file_search.
13525
14864
  */
13526
- FILE_SEARCH = "FILE_SEARCH"
14865
+ FILE_SEARCH = "FILE_SEARCH",
14866
+ /**
14867
+ * Media processing tool.
14868
+ */
14869
+ MEDIA_PROCESSING = "MEDIA_PROCESSING"
13527
14870
  }
13528
14871
 
13529
14872
  export declare type ToolUnion = Tool | CallableTool;
@@ -13572,13 +14915,6 @@ export declare interface Transcription {
13572
14915
 
13573
14916
  declare type TranscriptionConfig$ = TranscriptionConfig;
13574
14917
 
13575
- /**
13576
- * @license
13577
- * Copyright 2026 Google LLC
13578
- * SPDX-License-Identifier: Apache-2.0
13579
- *
13580
- * g3-prettier-ignore-file
13581
- */
13582
14918
  /**
13583
14919
  * Configuration for speech recognition (transcription).
13584
14920
  */
@@ -13598,6 +14934,8 @@ declare type TranscriptionConfig = {
13598
14934
  custom_vocabulary?: Array<string> | undefined;
13599
14935
  /**
13600
14936
  * Optional. Configures speaker diarization. Supported values: "speaker".
14937
+ *
14938
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
13601
14939
  */
13602
14940
  diarization_mode?: string | undefined;
13603
14941
  /**
@@ -13607,15 +14945,35 @@ declare type TranscriptionConfig = {
13607
14945
  * audio. If omitted or empty, defaults to automatic language detection.
13608
14946
  */
13609
14947
  language_codes?: Array<string> | undefined;
14948
+ /**
14949
+ * Discriminated transcription mode options or enum.
14950
+ */
14951
+ mode?: TranscriptionMode | TranscriptionConfigModeEnum | undefined;
13610
14952
  /**
13611
14953
  * Optional. The granularity of timestamps to include in the transcription output.
13612
14954
  *
13613
14955
  * @remarks
13614
14956
  * Supported values: "word". If empty, no timestamps are generated.
14957
+ *
14958
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
13615
14959
  */
13616
14960
  timestamp_granularities?: Array<string> | undefined;
13617
14961
  };
13618
14962
 
14963
+ /**
14964
+ * Discriminated transcription mode options or enum.
14965
+ */
14966
+ declare type TranscriptionConfigMode = TranscriptionMode | TranscriptionConfigModeEnum;
14967
+
14968
+ declare type TranscriptionConfigModeEnum = "verbatim" | "smart" | (string & {});
14969
+
14970
+ declare type TranscriptionMode$ = TranscriptionMode;
14971
+
14972
+ /**
14973
+ * Configuration for transcription mode.
14974
+ */
14975
+ declare type TranscriptionMode = SmartTranscriptionMode | VerbatimTranscriptionMode;
14976
+
13619
14977
  /**
13620
14978
  * @license
13621
14979
  * Copyright 2026 Google LLC
@@ -13626,17 +14984,17 @@ declare type TranscriptionConfig = {
13626
14984
  /**
13627
14985
  * 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.
13628
14986
  */
13629
- declare type Transform = {
14987
+ declare type Transform = Array<{
13630
14988
  [k: string]: string;
13631
- } | Array<{
14989
+ }> | {
13632
14990
  [k: string]: string;
13633
- }>;
14991
+ };
13634
14992
 
13635
14993
  /** Config for stream translation. */
13636
14994
  export declare interface TranslationConfig {
13637
- /** 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. */
14995
+ /** 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. */
13638
14996
  echoTargetLanguage?: boolean;
13639
- /** Required. The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr"). */
14997
+ /** The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr"). */
13640
14998
  targetLanguageCode?: string;
13641
14999
  }
13642
15000
 
@@ -13731,14 +15089,6 @@ declare type TriggerCreateParams$ = TriggerCreateParams;
13731
15089
  * Parameters for creating a trigger.
13732
15090
  */
13733
15091
  declare type TriggerCreateParams = {
13734
- /**
13735
- * Required. The cron schedule on which the trigger should run. Standard cron format.
13736
- */
13737
- schedule: string;
13738
- /**
13739
- * Required. Time zone in which the schedule should be interpreted.
13740
- */
13741
- time_zone: string;
13742
15092
  /**
13743
15093
  * Optional. The display name of the trigger.
13744
15094
  */
@@ -13747,10 +15097,6 @@ declare type TriggerCreateParams = {
13747
15097
  * Optional. The environment ID for the trigger execution.
13748
15098
  */
13749
15099
  environment_id?: string | undefined;
13750
- /**
13751
- * Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
13752
- */
13753
- max_consecutive_failures?: number | undefined;
13754
15100
  /**
13755
15101
  * Optional. The execution timeout for the triggered interaction.
13756
15102
  */
@@ -13759,6 +15105,18 @@ declare type TriggerCreateParams = {
13759
15105
  * Required. The interaction request template to be executed.
13760
15106
  */
13761
15107
  interaction: interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
15108
+ /**
15109
+ * Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
15110
+ */
15111
+ max_consecutive_failures?: number | undefined;
15112
+ /**
15113
+ * Required. The cron schedule on which the trigger should run. Standard cron format.
15114
+ */
15115
+ schedule: string;
15116
+ /**
15117
+ * Required. Time zone in which the schedule should be interpreted.
15118
+ */
15119
+ time_zone: string;
13762
15120
  };
13763
15121
 
13764
15122
  declare type TriggerDeleteParams$ = DeleteTriggerParams;
@@ -13866,6 +15224,37 @@ declare namespace triggers {
13866
15224
  }
13867
15225
  }
13868
15226
 
15227
+ declare class Triggers_2 extends ClientSDK {
15228
+ /**
15229
+ * Lists triggers for a project.
15230
+ */
15231
+ list(params?: ListTriggersParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.ListTriggersResponse>;
15232
+ /**
15233
+ * Creates a new trigger that will invoke the specified agent on the given cron schedule.
15234
+ */
15235
+ create(params: CreateTriggerParams, options?: RequestOptions): APIPromise<triggers.Trigger>;
15236
+ /**
15237
+ * Deletes a trigger.
15238
+ */
15239
+ delete(id: string, params?: DeleteTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
15240
+ /**
15241
+ * Gets details of a single trigger.
15242
+ */
15243
+ get(id: string, params?: GetTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.Trigger>;
15244
+ /**
15245
+ * Updates a trigger.
15246
+ */
15247
+ update(id: string, params: UpdateTriggerParams, options?: RequestOptions): APIPromise<triggers.Trigger>;
15248
+ /**
15249
+ * Lists executions for a trigger.
15250
+ */
15251
+ listExecutions(trigger_id: string, params?: ListTriggerExecutionsParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.ListTriggerExecutionsResponse>;
15252
+ /**
15253
+ * Runs a trigger immediately.
15254
+ */
15255
+ run(trigger_id: string, params?: RunTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.TriggerExecution>;
15256
+ }
15257
+
13869
15258
  /**
13870
15259
  * Output only. The current status of the trigger.
13871
15260
  */
@@ -14404,6 +15793,18 @@ export declare enum Type {
14404
15793
  NULL = "NULL"
14405
15794
  }
14406
15795
 
15796
+ /**
15797
+ * @license
15798
+ * Copyright 2026 Google LLC
15799
+ * SPDX-License-Identifier: Apache-2.0
15800
+ *
15801
+ * g3-prettier-ignore-file
15802
+ */
15803
+ /**
15804
+ * Output only. The type of the entry.
15805
+ */
15806
+ declare type Type_2 = "file" | "directory" | (string & {});
15807
+
14407
15808
  declare namespace types {
14408
15809
  export {
14409
15810
  createFunctionResponsePartFromBase64,
@@ -14463,6 +15864,7 @@ declare namespace types {
14463
15864
  TuningTask,
14464
15865
  DocumentState,
14465
15866
  ServiceTier,
15867
+ MediaProcessing,
14466
15868
  PartMediaResolutionLevel,
14467
15869
  ToolType,
14468
15870
  ResourceScope,
@@ -14490,6 +15892,7 @@ declare namespace types {
14490
15892
  EndSensitivity,
14491
15893
  ActivityHandling,
14492
15894
  TurnCoverage,
15895
+ AudioTranscriptionConfigMode,
14493
15896
  Scale,
14494
15897
  MusicGenerationMode,
14495
15898
  LiveMusicPlaybackControl,
@@ -14961,6 +16364,13 @@ declare namespace types {
14961
16364
  }
14962
16365
  }
14963
16366
 
16367
+ /**
16368
+ * An error to capture unrecognised or unexpected errors when making HTTP calls.
16369
+ */
16370
+ declare class UnexpectedClientError extends HTTPClientError {
16371
+ name: string;
16372
+ }
16373
+
14964
16374
  /** Optional parameters for caches.update method. */
14965
16375
  export declare interface UpdateCachedContentConfig {
14966
16376
  /** Used to override HTTP request options. */
@@ -15009,6 +16419,13 @@ export declare interface UpdateModelParameters {
15009
16419
  config?: UpdateModelConfig;
15010
16420
  }
15011
16421
 
16422
+ declare type UpdateTriggerGlobals = {
16423
+ /**
16424
+ * Which version of the API to use.
16425
+ */
16426
+ api_version?: string | undefined;
16427
+ };
16428
+
15012
16429
  declare type UpdateTriggerParams = Omit<UpdateTriggerRequest, "id" | "body"> & UpdateTriggerRequest["body"];
15013
16430
 
15014
16431
  declare type UpdateTriggerRequest = {
@@ -15023,6 +16440,34 @@ declare type UpdateTriggerRequest = {
15023
16440
  body: triggers.TriggerUpdate;
15024
16441
  };
15025
16442
 
16443
+ declare type UpdateWebhookGlobals = {
16444
+ /**
16445
+ * Which version of the API to use.
16446
+ */
16447
+ api_version?: string | undefined;
16448
+ };
16449
+
16450
+ declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
16451
+
16452
+ declare type UpdateWebhookRequest = {
16453
+ /**
16454
+ * Which version of the API to use.
16455
+ */
16456
+ api_version?: string | undefined;
16457
+ /**
16458
+ * Required. The ID of the webhook to update.
16459
+ */
16460
+ id: string;
16461
+ /**
16462
+ * Optional. The list of fields to update.
16463
+ */
16464
+ update_mask?: string | undefined;
16465
+ /**
16466
+ * Required. The webhook to update.
16467
+ */
16468
+ body?: webhooks.WebhookUpdate | undefined;
16469
+ };
16470
+
15026
16471
  declare interface Uploader {
15027
16472
  /**
15028
16473
  * Uploads a file to the given upload url.
@@ -15628,6 +17073,33 @@ export declare interface VeoTuningSpec {
15628
17073
  validationDatasetUri?: string;
15629
17074
  }
15630
17075
 
17076
+ declare type Verbatim$ = VerbatimTranscriptionMode;
17077
+
17078
+ /**
17079
+ * @license
17080
+ * Copyright 2026 Google LLC
17081
+ * SPDX-License-Identifier: Apache-2.0
17082
+ *
17083
+ * g3-prettier-ignore-file
17084
+ */
17085
+ /**
17086
+ * Configuration for verbatim transcription mode.
17087
+ */
17088
+ declare type VerbatimTranscriptionMode = {
17089
+ /**
17090
+ * Optional. Configures speaker diarization. Supported values: "speaker".
17091
+ */
17092
+ diarization_mode?: string | undefined;
17093
+ /**
17094
+ * Optional. The granularity of timestamps to include in the transcription output.
17095
+ *
17096
+ * @remarks
17097
+ * Supported values: "word". If empty, no timestamps are generated.
17098
+ */
17099
+ timestamp_granularities?: Array<string> | undefined;
17100
+ type: "verbatim";
17101
+ };
17102
+
15631
17103
  /** 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. */
15632
17104
  export declare interface VertexAISearch {
15633
17105
  /** 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. */
@@ -15760,20 +17232,27 @@ declare type VideoContent = {
15760
17232
  * The video content.
15761
17233
  */
15762
17234
  data?: string | undefined;
17235
+ /**
17236
+ * The mime type of the video.
17237
+ */
17238
+ mime_type?: VideoContentMimeType | undefined;
17239
+ /**
17240
+ * A user-defined name for this content block. Can be referenced by the model
17241
+ *
17242
+ * @remarks
17243
+ * in the final response.
17244
+ */
17245
+ name?: string | undefined;
15763
17246
  /**
15764
17247
  * How the model processes this video for understanding.
15765
17248
  */
15766
- processing?: MediaProcessing | ProcessingEnum | undefined;
17249
+ processing?: MediaProcessing_2 | ProcessingEnum | undefined;
15767
17250
  resolution?: MediaResolution_2 | undefined;
15768
17251
  type: "video";
15769
17252
  /**
15770
17253
  * The URI of the video.
15771
17254
  */
15772
17255
  uri?: string | undefined;
15773
- /**
15774
- * The mime type of the video.
15775
- */
15776
- mime_type?: VideoContentMimeType | undefined;
15777
17256
  };
15778
17257
 
15779
17258
  /**
@@ -15789,7 +17268,7 @@ declare type VideoDelta = {
15789
17268
  uri?: string | undefined;
15790
17269
  };
15791
17270
 
15792
- declare type VideoDeltaMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
17271
+ 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 & {});
15793
17272
 
15794
17273
  /** A mask for video generation. */
15795
17274
  export declare interface VideoGenerationMask {
@@ -16239,6 +17718,37 @@ declare namespace webhooks {
16239
17718
  }
16240
17719
  }
16241
17720
 
17721
+ declare class Webhooks_2 extends ClientSDK {
17722
+ /**
17723
+ * Lists all Webhooks.
17724
+ */
17725
+ list(params?: ListWebhooksParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<webhooks.WebhookListResponse>;
17726
+ /**
17727
+ * Creates a new Webhook.
17728
+ */
17729
+ create(params: CreateWebhookParams, options?: RequestOptions): APIPromise<webhooks.Webhook>;
17730
+ /**
17731
+ * Deletes a Webhook.
17732
+ */
17733
+ delete(id: string, params?: DeleteWebhookParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
17734
+ /**
17735
+ * Gets a specific Webhook.
17736
+ */
17737
+ get(id: string, params?: GetWebhookParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<webhooks.Webhook>;
17738
+ /**
17739
+ * Updates an existing Webhook.
17740
+ */
17741
+ update(id: string, params?: UpdateWebhookParams, options?: RequestOptions): APIPromise<webhooks.Webhook>;
17742
+ /**
17743
+ * Sends a ping event to a Webhook.
17744
+ */
17745
+ ping(id: string, api_version?: string | undefined, body?: webhooks.PingWebhookRequest | undefined, options?: RequestOptions): APIPromise<webhooks.WebhookPingResponse>;
17746
+ /**
17747
+ * Generates a new signing secret for a Webhook.
17748
+ */
17749
+ rotateSigningSecret(id: string, api_version?: string | undefined, body?: webhooks.RotateSigningSecretRequest | undefined, options?: RequestOptions): APIPromise<webhooks.WebhookRotateSigningSecretResponse>;
17750
+ }
17751
+
16242
17752
  /**
16243
17753
  * Output only. The state of the webhook.
16244
17754
  */