@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.
- package/CHANGELOG.md +83 -0
- package/README.md +1 -1
- package/dist/bun/cli.d.ts +2 -1
- package/dist/bun/cli.d.ts.map +1 -1
- package/dist/bun/cli.js +5 -8
- package/dist/bun/cli.js.map +1 -1
- package/dist/bun/runtime-setup.d.ts +2 -0
- package/dist/bun/runtime-setup.d.ts.map +1 -0
- package/dist/bun/runtime-setup.js +9 -0
- package/dist/bun/runtime-setup.js.map +1 -0
- package/dist/bun/sandbox-env-setup.d.ts +2 -0
- package/dist/bun/sandbox-env-setup.d.ts.map +1 -0
- package/dist/bun/sandbox-env-setup.js +4 -0
- package/dist/bun/sandbox-env-setup.js.map +1 -0
- package/dist/cli/config-selector.d.ts.map +1 -1
- package/dist/cli/config-selector.js +2 -1
- package/dist/cli/config-selector.js.map +1 -1
- package/dist/cli/setup.d.ts +2 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +12 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/client/index.d.ts +1 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -2
- package/dist/client/index.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +18 -6
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session.d.ts +54 -17
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +153 -157
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +1 -1
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +6 -4
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/compaction-settings-access.d.ts +18 -2
- package/dist/core/compaction-settings-access.d.ts.map +1 -1
- package/dist/core/compaction-settings-access.js +35 -4
- package/dist/core/compaction-settings-access.js.map +1 -1
- package/dist/core/compaction-settings-resolver.d.ts +2 -2
- package/dist/core/compaction-settings-resolver.d.ts.map +1 -1
- package/dist/core/compaction-settings-resolver.js +6 -3
- package/dist/core/compaction-settings-resolver.js.map +1 -1
- package/dist/core/cursor-history-admission.d.ts +50 -0
- package/dist/core/cursor-history-admission.d.ts.map +1 -0
- package/dist/core/cursor-history-admission.js +130 -0
- package/dist/core/cursor-history-admission.js.map +1 -0
- package/dist/core/extensions/builtin/ask-user/extension.d.ts.map +1 -1
- package/dist/core/extensions/builtin/ask-user/extension.js +11 -0
- package/dist/core/extensions/builtin/ask-user/extension.js.map +1 -1
- package/dist/core/extensions/builtin/cursor-cli-oauth/models.d.ts.map +1 -1
- package/dist/core/extensions/builtin/cursor-cli-oauth/models.js +2 -1
- package/dist/core/extensions/builtin/cursor-cli-oauth/models.js.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/presets.d.ts.map +1 -1
- package/dist/core/extensions/builtin/prompt-preset/presets.js +7 -1
- package/dist/core/extensions/builtin/prompt-preset/presets.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +4 -2
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/keybindings.d.ts +10 -0
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +8 -0
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/messages.d.ts +1 -1
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js.map +1 -1
- package/dist/core/model-registry.d.ts +5 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +8 -0
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +2 -0
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/model-runtime.d.ts +1 -0
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +5 -2
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/retry-fallback/settings.d.ts +2 -0
- package/dist/core/retry-fallback/settings.d.ts.map +1 -1
- package/dist/core/retry-fallback/settings.js.map +1 -1
- package/dist/core/session-manager.d.ts +5 -2
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +68 -19
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-write-reservation.d.ts +9 -0
- package/dist/core/session-write-reservation.d.ts.map +1 -1
- package/dist/core/session-write-reservation.js +33 -0
- package/dist/core/session-write-reservation.js.map +1 -1
- package/dist/core/settings-manager.d.ts +12 -5
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +18 -6
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/settings-public-types.d.ts +1 -1
- package/dist/core/settings-public-types.d.ts.map +1 -1
- package/dist/core/settings-public-types.js.map +1 -1
- package/dist/core/skills.d.ts +1 -1
- package/dist/core/skills.d.ts.map +1 -1
- package/dist/core/skills.js +6 -2
- package/dist/core/skills.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +8 -9
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +3 -142
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/edit.d.ts +1 -12
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +4 -168
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/find.d.ts.map +1 -1
- package/dist/core/tools/find.js +2 -53
- package/dist/core/tools/find.js.map +1 -1
- package/dist/core/tools/grep.d.ts.map +1 -1
- package/dist/core/tools/grep.js +2 -58
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/tools/ls.d.ts.map +1 -1
- package/dist/core/tools/ls.js +2 -47
- package/dist/core/tools/ls.js.map +1 -1
- package/dist/core/tools/read.d.ts +1 -4
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +4 -141
- package/dist/core/tools/read.js.map +1 -1
- package/dist/core/tools/renderers/bash.d.ts +12 -0
- package/dist/core/tools/renderers/bash.d.ts.map +1 -0
- package/dist/core/tools/renderers/bash.js +156 -0
- package/dist/core/tools/renderers/bash.js.map +1 -0
- package/dist/core/tools/renderers/edit.d.ts +23 -0
- package/dist/core/tools/renderers/edit.d.ts.map +1 -0
- package/dist/core/tools/renderers/edit.js +172 -0
- package/dist/core/tools/renderers/edit.js.map +1 -0
- package/dist/core/tools/renderers/find.d.ts +10 -0
- package/dist/core/tools/renderers/find.d.ts.map +1 -0
- package/dist/core/tools/renderers/find.js +64 -0
- package/dist/core/tools/renderers/find.js.map +1 -0
- package/dist/core/tools/renderers/grep.d.ts +10 -0
- package/dist/core/tools/renderers/grep.d.ts.map +1 -0
- package/dist/core/tools/renderers/grep.js +69 -0
- package/dist/core/tools/renderers/grep.js.map +1 -0
- package/dist/core/tools/renderers/index.d.ts +28 -0
- package/dist/core/tools/renderers/index.d.ts.map +1 -0
- package/dist/core/tools/renderers/index.js +47 -0
- package/dist/core/tools/renderers/index.js.map +1 -0
- package/dist/core/tools/renderers/ls.d.ts +10 -0
- package/dist/core/tools/renderers/ls.d.ts.map +1 -0
- package/dist/core/tools/renderers/ls.js +58 -0
- package/dist/core/tools/renderers/ls.js.map +1 -0
- package/dist/core/tools/renderers/read.d.ts +19 -0
- package/dist/core/tools/renderers/read.d.ts.map +1 -0
- package/dist/core/tools/renderers/read.js +149 -0
- package/dist/core/tools/renderers/read.js.map +1 -0
- package/dist/core/tools/renderers/write.d.ts +10 -0
- package/dist/core/tools/renderers/write.d.ts.map +1 -0
- package/dist/core/tools/renderers/write.js +162 -0
- package/dist/core/tools/renderers/write.js.map +1 -0
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +4 -153
- package/dist/core/tools/write.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +2 -2
- package/dist/migrations.js.map +1 -1
- package/dist/modes/app-server/threads/turn-runtime.d.ts +3 -1
- package/dist/modes/app-server/threads/turn-runtime.d.ts.map +1 -1
- package/dist/modes/app-server/threads/turn-runtime.js.map +1 -1
- package/dist/modes/app-server/threads/turns.js +1 -1
- package/dist/modes/app-server/threads/turns.js.map +1 -1
- package/dist/modes/app-server/turn-adapter.js +4 -2
- package/dist/modes/app-server/turn-adapter.js.map +1 -1
- package/dist/modes/interactive/chat-viewport.d.ts +22 -0
- package/dist/modes/interactive/chat-viewport.d.ts.map +1 -0
- package/dist/modes/interactive/chat-viewport.js +29 -0
- package/dist/modes/interactive/chat-viewport.js.map +1 -0
- package/dist/modes/interactive/components/ask-user-answer-key.d.ts +14 -0
- package/dist/modes/interactive/components/ask-user-answer-key.d.ts.map +1 -0
- package/dist/modes/interactive/components/ask-user-answer-key.js +65 -0
- package/dist/modes/interactive/components/ask-user-answer-key.js.map +1 -0
- package/dist/modes/interactive/components/ask-user-async-widget.d.ts +17 -12
- package/dist/modes/interactive/components/ask-user-async-widget.d.ts.map +1 -1
- package/dist/modes/interactive/components/ask-user-async-widget.js +47 -23
- package/dist/modes/interactive/components/ask-user-async-widget.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +7 -0
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +26 -2
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/assistant-render-descriptors.d.ts +4 -0
- package/dist/modes/interactive/components/assistant-render-descriptors.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-render-descriptors.js +8 -5
- package/dist/modes/interactive/components/assistant-render-descriptors.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts +10 -1
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +37 -1
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +1 -1
- package/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +8 -8
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/status-indicator.d.ts +4 -1
- package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -1
- package/dist/modes/interactive/components/status-indicator.js +14 -2
- package/dist/modes/interactive/components/status-indicator.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +4 -4
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution-renderer.d.ts +4 -1
- package/dist/modes/interactive/components/tool-execution-renderer.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution-renderer.js +23 -10
- package/dist/modes/interactive/components/tool-execution-renderer.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution-types.d.ts +18 -2
- package/dist/modes/interactive/components/tool-execution-types.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution-types.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +3 -3
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +5 -0
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +10 -15
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +178 -138
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/dark.json +2 -1
- package/dist/modes/interactive/theme/grok-day.json +2 -1
- package/dist/modes/interactive/theme/grok-night.json +2 -1
- package/dist/modes/interactive/theme/light.json +2 -1
- package/dist/modes/interactive/theme/theme-controller.d.ts +1 -0
- package/dist/modes/interactive/theme/theme-controller.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-controller.js +5 -0
- package/dist/modes/interactive/theme/theme-controller.js.map +1 -1
- package/dist/modes/interactive/theme/theme-json.d.ts +84 -0
- package/dist/modes/interactive/theme/theme-json.d.ts.map +1 -0
- package/dist/modes/interactive/theme/theme-json.js +130 -0
- package/dist/modes/interactive/theme/theme-json.js.map +1 -0
- package/dist/modes/interactive/theme/theme-schema.json +6 -2
- package/dist/modes/interactive/theme/theme.d.ts +10 -5
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +14 -117
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/modes/interactive/tips/catalog/input-tips.d.ts +5 -0
- package/dist/modes/interactive/tips/catalog/input-tips.d.ts.map +1 -1
- package/dist/modes/interactive/tips/catalog/input-tips.js +5 -0
- package/dist/modes/interactive/tips/catalog/input-tips.js.map +1 -1
- package/dist/modes/interactive/tui-renderer.d.ts +21 -0
- package/dist/modes/interactive/tui-renderer.d.ts.map +1 -0
- package/dist/modes/interactive/tui-renderer.js +67 -0
- package/dist/modes/interactive/tui-renderer.js.map +1 -0
- package/dist/modes/rpc/connection-handler.d.ts.map +1 -1
- package/dist/modes/rpc/connection-handler.js +8 -2
- package/dist/modes/rpc/connection-handler.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +11 -1
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +2 -1
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js +1 -0
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/dist/modes/rpc/session-path-reservations.d.ts +30 -0
- package/dist/modes/rpc/session-path-reservations.d.ts.map +1 -0
- package/dist/modes/rpc/session-path-reservations.js +58 -0
- package/dist/modes/rpc/session-path-reservations.js.map +1 -0
- package/dist/modes/rpc/session-registry.d.ts +3 -1
- package/dist/modes/rpc/session-registry.d.ts.map +1 -1
- package/dist/modes/rpc/session-registry.js.map +1 -1
- package/dist/modes/rpc/session-worker-client.d.ts +10 -8
- package/dist/modes/rpc/session-worker-client.d.ts.map +1 -1
- package/dist/modes/rpc/session-worker-client.js +14 -23
- package/dist/modes/rpc/session-worker-client.js.map +1 -1
- package/dist/modes/rpc/session-worker-credit.d.ts +17 -0
- package/dist/modes/rpc/session-worker-credit.d.ts.map +1 -0
- package/dist/modes/rpc/session-worker-credit.js +39 -0
- package/dist/modes/rpc/session-worker-credit.js.map +1 -0
- package/dist/modes/rpc/session-worker-protocol.d.ts +10 -0
- package/dist/modes/rpc/session-worker-protocol.d.ts.map +1 -1
- package/dist/modes/rpc/session-worker-protocol.js +2 -0
- package/dist/modes/rpc/session-worker-protocol.js.map +1 -1
- package/dist/modes/rpc/session-worker-signals.d.ts +7 -0
- package/dist/modes/rpc/session-worker-signals.d.ts.map +1 -0
- package/dist/modes/rpc/session-worker-signals.js +19 -0
- package/dist/modes/rpc/session-worker-signals.js.map +1 -0
- package/dist/modes/rpc/session-worker.js +12 -16
- package/dist/modes/rpc/session-worker.js.map +1 -1
- package/dist/modes/rpc/worker-session-registry.d.ts +12 -0
- package/dist/modes/rpc/worker-session-registry.d.ts.map +1 -1
- package/dist/modes/rpc/worker-session-registry.js +51 -24
- package/dist/modes/rpc/worker-session-registry.js.map +1 -1
- package/dist/senpi +3 -0
- package/dist/utils/clipboard-command.d.ts +7 -0
- package/dist/utils/clipboard-command.d.ts.map +1 -0
- package/dist/utils/clipboard-command.js +45 -0
- package/dist/utils/clipboard-command.js.map +1 -0
- package/dist/utils/clipboard-image.d.ts.map +1 -1
- package/dist/utils/clipboard-image.js +52 -69
- package/dist/utils/clipboard-image.js.map +1 -1
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +49 -126
- package/dist/utils/clipboard.js.map +1 -1
- package/dist/utils/exif-orientation.d.ts.map +1 -1
- package/dist/utils/exif-orientation.js +2 -3
- package/dist/utils/exif-orientation.js.map +1 -1
- package/dist/utils/tools-manager.d.ts +1 -0
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +41 -19
- package/dist/utils/tools-manager.js.map +1 -1
- package/docs/compaction.md +39 -13
- package/docs/containerization.md +45 -0
- package/docs/development.md +19 -0
- package/docs/docs.json +4 -0
- package/docs/environment-variables.md +2 -0
- package/docs/extensions.md +21 -10
- package/docs/keybindings.md +7 -2
- package/docs/models.md +1 -1
- package/docs/providers.md +1 -1
- package/docs/rpc.md +16 -8
- package/docs/sdk.md +7 -0
- package/docs/session-format.md +52 -38
- package/docs/settings.md +40 -4
- package/docs/skills.md +1 -1
- package/docs/termux.md +0 -1
- package/docs/themes.md +8 -6
- package/docs/tui.md +22 -3
- package/examples/README.md +3 -0
- package/examples/extensions/dynamic-resources/dynamic.json +2 -0
- package/examples/plugins/pi-example-plugin/README.md +38 -0
- package/examples/plugins/pi-example-plugin/package.json +10 -0
- package/examples/plugins/pi-example-plugin/src/contract.ts +13 -0
- package/examples/plugins/pi-example-plugin/src/session.ts +23 -0
- package/examples/plugins/pi-example-plugin/src/tui.ts +31 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +201 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +62 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +158 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +16 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +84 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +11 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +10 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +18 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +69 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +1 -1
- package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +36 -0
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +5 -5
- package/node_modules/@earendil-works/chord/README.md +205 -0
- package/node_modules/@earendil-works/chord/dist/api.d.ts +15 -0
- package/node_modules/@earendil-works/chord/dist/api.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/api.js +72 -0
- package/node_modules/@earendil-works/chord/dist/api.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/bundler.d.ts +6 -0
- package/node_modules/@earendil-works/chord/dist/bundler.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/bundler.js +3 -0
- package/node_modules/@earendil-works/chord/dist/bundler.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/context/index.d.ts +24 -0
- package/node_modules/@earendil-works/chord/dist/context/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/context/index.js +97 -0
- package/node_modules/@earendil-works/chord/dist/context/index.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/delta/index.d.ts +119 -0
- package/node_modules/@earendil-works/chord/dist/delta/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/delta/index.js +1209 -0
- package/node_modules/@earendil-works/chord/dist/delta/index.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/facets/host.d.ts +12 -0
- package/node_modules/@earendil-works/chord/dist/facets/host.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/facets/host.js +762 -0
- package/node_modules/@earendil-works/chord/dist/facets/host.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/facets/loader.d.ts +3 -0
- package/node_modules/@earendil-works/chord/dist/facets/loader.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/facets/loader.js +5 -0
- package/node_modules/@earendil-works/chord/dist/facets/loader.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/index.d.ts +11 -0
- package/node_modules/@earendil-works/chord/dist/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/index.js +10 -0
- package/node_modules/@earendil-works/chord/dist/index.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/json.d.ts +4 -0
- package/node_modules/@earendil-works/chord/dist/json.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/json.js +57 -0
- package/node_modules/@earendil-works/chord/dist/json.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle-loader.d.ts +30 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle-loader.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle-loader.js +377 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle-loader.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle.d.ts +26 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle.js +183 -0
- package/node_modules/@earendil-works/chord/dist/node/bundle.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/manifest.d.ts +36 -0
- package/node_modules/@earendil-works/chord/dist/node/manifest.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/manifest.js +6 -0
- package/node_modules/@earendil-works/chord/dist/node/manifest.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/package.d.ts +15 -0
- package/node_modules/@earendil-works/chord/dist/node/package.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node/package.js +199 -0
- package/node_modules/@earendil-works/chord/dist/node/package.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node.d.ts +5 -0
- package/node_modules/@earendil-works/chord/dist/node.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/node.js +3 -0
- package/node_modules/@earendil-works/chord/dist/node.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/consumer.d.ts +11 -0
- package/node_modules/@earendil-works/chord/dist/services/consumer.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/consumer.js +535 -0
- package/node_modules/@earendil-works/chord/dist/services/consumer.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/errors.d.ts +8 -0
- package/node_modules/@earendil-works/chord/dist/services/errors.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/errors.js +21 -0
- package/node_modules/@earendil-works/chord/dist/services/errors.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/handle.d.ts +15 -0
- package/node_modules/@earendil-works/chord/dist/services/handle.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/handle.js +99 -0
- package/node_modules/@earendil-works/chord/dist/services/handle.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/instances.d.ts +25 -0
- package/node_modules/@earendil-works/chord/dist/services/instances.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/instances.js +137 -0
- package/node_modules/@earendil-works/chord/dist/services/instances.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/loopback.d.ts +5 -0
- package/node_modules/@earendil-works/chord/dist/services/loopback.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/loopback.js +15 -0
- package/node_modules/@earendil-works/chord/dist/services/loopback.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/provider.d.ts +37 -0
- package/node_modules/@earendil-works/chord/dist/services/provider.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/provider.js +472 -0
- package/node_modules/@earendil-works/chord/dist/services/provider.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/state-codec.d.ts +15 -0
- package/node_modules/@earendil-works/chord/dist/services/state-codec.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/state-codec.js +115 -0
- package/node_modules/@earendil-works/chord/dist/services/state-codec.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/state-internals.d.ts +11 -0
- package/node_modules/@earendil-works/chord/dist/services/state-internals.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/state-internals.js +10 -0
- package/node_modules/@earendil-works/chord/dist/services/state-internals.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/state.d.ts +23 -0
- package/node_modules/@earendil-works/chord/dist/services/state.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/state.js +124 -0
- package/node_modules/@earendil-works/chord/dist/services/state.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/wire.d.ts +60 -0
- package/node_modules/@earendil-works/chord/dist/services/wire.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/services/wire.js +173 -0
- package/node_modules/@earendil-works/chord/dist/services/wire.js.map +1 -0
- package/node_modules/@earendil-works/chord/dist/types.d.ts +203 -0
- package/node_modules/@earendil-works/chord/dist/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/chord/dist/types.js +2 -0
- package/node_modules/@earendil-works/chord/dist/types.js.map +1 -0
- package/node_modules/@earendil-works/chord/package.json +73 -0
- package/node_modules/@earendil-works/pi-agent-core/README.md +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts +639 -384
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +5 -250
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts +12 -6
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +33 -27
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts +30 -8
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +53 -64
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.d.ts +9 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.js +35 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/config.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.d.ts +9 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.js +13 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/context.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts +25 -28
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +368 -125
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.d.ts +20 -38
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.js +233 -55
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/events.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.d.ts +42 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.js +82 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/assistant.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.d.ts +22 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.js +48 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/effect-gate.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.d.ts +67 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.js +121 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/execution/tools.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.d.ts +38 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.js +404 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/hooks.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts +2 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts +3 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +17 -17
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.d.ts +93 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.js +39 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/result.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.d.ts +28 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.js +173 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/boundary.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.d.ts +8 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.js +133 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/checkpoint.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.d.ts +15 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.js +179 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/deferred.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.d.ts +8 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.js +205 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/generation.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.d.ts +5 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.js +140 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/reconcile.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.d.ts +8 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.js +85 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/recovery.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.d.ts +23 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.js +394 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/response.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.d.ts +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.js +34 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/retry.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.d.ts +32 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.js +929 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/structural.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.d.ts +7 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.js +49 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/terminal.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.d.ts +14 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.js +244 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tool-placement.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.d.ts +6 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.js +449 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive/tools.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.d.ts +6 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.js +93 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/drive.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.d.ts +59 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.js +302 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/harness.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.d.ts +2 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.js +2 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.d.ts +118 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.js +1559 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/lane.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.d.ts +15 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.js +66 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/progress.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.d.ts +5 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.js +240 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/reducer.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.d.ts +24 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.js +117 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/restore.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.d.ts +21 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.js +72 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/transcript.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.d.ts +105 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.js +50 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/runtime/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.d.ts +53 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.js +57 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/commit.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.d.ts +6 -19
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.js +31 -53
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/context.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.d.ts +21 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.js +55 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork-policy.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.d.ts +16 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.js +79 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/fork.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.d.ts +39 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.js +269 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/in-memory-storage-state.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.d.ts +9 -5
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.js +7 -4
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.d.ts +19 -8
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.js +34 -219
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/codec.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.d.ts +38 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.js +266 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/fork.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.d.ts +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.js +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.d.ts +14 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.js +86 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/io.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.d.ts +44 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.js +454 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/legacy-v3.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.d.ts +27 -24
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.js +276 -151
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/repo.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.d.ts +39 -41
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.js +175 -196
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/storage.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.d.ts +23 -22
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.js +2 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.d.ts +44 -40
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.js +333 -115
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.d.ts +8 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.js +22 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/mutation-line.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts +78 -51
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +327 -207
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.d.ts +12 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.js +24 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/datasets.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.d.ts +42 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.js +127 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/session-repo.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.d.ts +25 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.js +114 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/benchmark/storage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.d.ts +23 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.js +809 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/session-repo.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.d.ts +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.js +600 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance/storage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.d.ts +26 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.js +103 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/gating-storage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.d.ts +9 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.js +8 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.d.ts +11 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.js +19 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/instrumented-storage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.d.ts +20 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.js +40 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/storage-decorator.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.d.ts +5 -7
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.d.ts +425 -265
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.js +7 -7
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.d.ts +95 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.js +81 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/values.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts +3 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +29 -26
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.d.ts +64 -43
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.js +45 -26
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/telemetry.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.d.ts +4 -4
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.js +66 -93
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/bash.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.js +17 -13
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/edit.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.d.ts +2 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.js +5 -5
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/file-mutation-queue.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.d.ts +3 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.js +5 -5
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/path-utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.d.ts +2 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.js +4 -6
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/read.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.js +12 -8
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/tools/write.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts +128 -45
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.d.ts +24 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.js +79 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/adaptive-publisher.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.d.ts +31 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.js +217 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/output-capture.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts +19 -5
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +65 -192
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.d.ts +4 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.js +33 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/usage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts +4 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/index.js +3 -6
- package/node_modules/@earendil-works/pi-agent-core/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/search/index.d.ts +24 -16
- package/node_modules/@earendil-works/pi-agent-core/dist/search/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/search/index.js +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/search/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +2 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-agent-core/package.json +27 -6
- package/node_modules/@earendil-works/pi-ai/README.md +39 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +8 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.d.ts +77 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.js +72 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-ai-binding.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.d.ts +11 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.js +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent/measure.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.js +5 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cursor-agent.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.d.ts +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.js +96 -51
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/discovery.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.d.ts +389 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.js +132 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/gen/cascade_pb.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.d.ts +34 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.js +41 -8
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/metadata.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.d.ts +20 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.js +20 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/paths.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.d.ts +18 -6
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.js +77 -35
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/request.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.d.ts +9 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.js +30 -38
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/stream-state.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.d.ts +16 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.js +69 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/trailer.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.d.ts +26 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.js +61 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/unary.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.d.ts +6 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.js +6 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent/wire.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.d.ts +13 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.js +76 -21
- package/node_modules/@earendil-works/pi-ai/dist/api/devin-agent.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +4 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +6 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +4 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +13 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.d.ts +5 -0
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.js +7 -2
- package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/devin.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.d.ts +32 -0
- package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.js +62 -0
- package/node_modules/@earendil-works/pi-ai/dist/cursor/context-limit-store.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/cursor/store-migration.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/cursor/store-migration.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/cursor/store-migration.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/model.d.ts +11 -1
- package/node_modules/@earendil-works/pi-ai/dist/model.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/model.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/models.js +5 -2
- package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/openai-responses-compat.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cursor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cursor.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/cursor.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure-openai-responses.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/deepseek.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/venice.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.d.ts +4 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.js +18 -9
- package/node_modules/@earendil-works/pi-ai/dist/providers/devin.models.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +5 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-headers.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +5 -4
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +16 -6
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.d.ts +77 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +427 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.d.ts +12 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.js +93 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/cursor-context-limit.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +25 -5
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.d.ts +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.js +5 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/prompt-cache-ttl.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry-profile/types.d.ts +10 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry-profile/types.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry-profile/types.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.d.ts +13 -2
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +18 -7
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.d.ts +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.js +36 -31
- package/node_modules/@earendil-works/pi-ai/dist/utils/uuid.js.map +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +6 -6
- package/node_modules/@earendil-works/pi-pty/package.json +1 -1
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/@earendil-works/pi-tui/README.md +53 -4
- package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.d.ts +21 -1
- package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js +199 -42
- package/node_modules/@earendil-works/pi-tui/dist/alt-screen-search.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts +3 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js +28 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts +6 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +98 -18
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts +12 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/input.js +40 -6
- package/node_modules/@earendil-works/pi-tui/dist/components/input.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/latex.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/latex.js +7 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/latex.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts +3 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +20 -8
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.d.ts +12 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js +19 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/mouse-region.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.d.ts +6 -3
- package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js +6 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/scroll-view.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts +4 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +48 -2
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts +5 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +54 -5
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts +3 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/index.js +3 -0
- package/node_modules/@earendil-works/pi-tui/dist/index.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/layout.d.ts +3 -1
- package/node_modules/@earendil-works/pi-tui/dist/layout.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/layout.js +32 -9
- package/node_modules/@earendil-works/pi-tui/dist/layout.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.d.ts +2 -1
- package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js +3 -44
- package/node_modules/@earendil-works/pi-tui/dist/native-modifiers.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/native-platform.d.ts +18 -0
- package/node_modules/@earendil-works/pi-tui/dist/native-platform.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/native-platform.js +42 -0
- package/node_modules/@earendil-works/pi-tui/dist/native-platform.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js +2 -20
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts +31 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js +335 -41
- package/node_modules/@earendil-works/pi-tui/dist/tui-alt-screen.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts +83 -5
- package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/tui.js +118 -4
- package/node_modules/@earendil-works/pi-tui/dist/tui.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts +2 -0
- package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts.map +1 -1
- package/node_modules/@earendil-works/pi-tui/dist/utils.js +9 -0
- package/node_modules/@earendil-works/pi-tui/dist/utils.js.map +1 -1
- package/node_modules/@earendil-works/pi-tui/native/clipboard.h +170 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/README.md +8 -6
- package/node_modules/@earendil-works/pi-tui/native/darwin/build.sh +12 -5
- package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-arm64/{darwin-modifiers.node → darwin-platform.node} +0 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/prebuilds/darwin-x64/{darwin-modifiers.node → darwin-platform.node} +0 -0
- package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-platform.m +93 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/README.md +23 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/build.sh +65 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/src/clipboard-worker.h +70 -0
- package/node_modules/@earendil-works/pi-tui/native/linux/src/linux-platform-x11.c +274 -0
- package/node_modules/@earendil-works/pi-tui/native/napi.h +89 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/README.md +18 -7
- package/node_modules/@earendil-works/pi-tui/native/win32/build.mjs +7 -4
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-platform.c +241 -0
- package/node_modules/@earendil-works/pi-tui/package.json +10 -3
- package/node_modules/@google/genai/dist/genai.d.ts +1799 -289
- package/node_modules/@google/genai/dist/index.cjs +319 -299
- package/node_modules/@google/genai/dist/index.mjs +319 -299
- package/node_modules/@google/genai/dist/index.mjs.map +1 -1
- package/node_modules/@google/genai/dist/node/index.cjs +320 -300
- package/node_modules/@google/genai/dist/node/index.mjs +320 -300
- package/node_modules/@google/genai/dist/node/index.mjs.map +1 -1
- package/node_modules/@google/genai/dist/node/node.d.ts +1799 -289
- package/node_modules/@google/genai/dist/tokenizer/node.cjs +49 -2
- package/node_modules/@google/genai/dist/tokenizer/node.d.ts +43 -3
- package/node_modules/@google/genai/dist/tokenizer/node.mjs +49 -2
- package/node_modules/@google/genai/dist/tokenizer/node.mjs.map +1 -1
- package/node_modules/@google/genai/dist/vertex_internal/index.cjs +39 -3
- package/node_modules/@google/genai/dist/vertex_internal/index.cjs.map +1 -1
- package/node_modules/@google/genai/dist/vertex_internal/index.d.ts +51 -9
- package/node_modules/@google/genai/dist/vertex_internal/index.js +39 -3
- package/node_modules/@google/genai/dist/vertex_internal/index.js.map +1 -1
- package/node_modules/@google/genai/dist/web/index.mjs +319 -299
- package/node_modules/@google/genai/dist/web/index.mjs.map +1 -1
- package/node_modules/@google/genai/dist/web/web.d.ts +1799 -289
- package/node_modules/@google/genai/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/LICENSE +201 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/README.md +115 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/index.js +96 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/abort.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/index.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/checksum.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/client.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/command.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/index.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/crypto.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/encode.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/EndpointParameterInstructions.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/index.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/checksum.js +38 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/index.js +2 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/http.js +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/index.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/index.js +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/logger.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/metrics.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/middleware.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/pagination.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/profile.js +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/response.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/retry.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/serde.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/shapes.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/signature.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/stream.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transfer.js +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/uri.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/util.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/waiter.js +1 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/abort.d.ts +48 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/auth.d.ts +59 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/index.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +37 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/checksum.d.ts +61 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/client.d.ts +57 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/command.d.ts +28 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/config.d.ts +15 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/crypto.d.ts +58 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +24 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/encode.d.ts +31 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/EndpointParameterInstructions.d.ts +41 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/eventStream.d.ts +137 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +32 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/index.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +142 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/http.d.ts +110 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/index.d.ts +52 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/metrics.d.ts +93 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/middleware.d.ts +541 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/pagination.d.ts +33 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/retry.d.ts +162 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +143 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/schema.d.ts +236 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +99 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/serde.d.ts +114 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/shapes.d.ts +79 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/signature.d.ts +172 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +28 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transfer.d.ts +42 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +73 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +68 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +39 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +45 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +59 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +7 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +37 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +61 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +15 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +58 -0
- 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
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +41 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +32 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +142 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +110 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +52 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +93 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +541 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +162 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +251 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +79 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +172 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- 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
- 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
- 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
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +42 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- 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
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/package.json +50 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/esbuild/LICENSE.md +21 -0
- package/node_modules/esbuild/README.md +3 -0
- package/node_modules/esbuild/bin/esbuild +223 -0
- package/node_modules/esbuild/install.js +300 -0
- package/node_modules/esbuild/lib/main.d.ts +720 -0
- package/node_modules/esbuild/lib/main.js +2536 -0
- package/node_modules/esbuild/package.json +47 -0
- package/node_modules/ignore/README.md +52 -0
- package/node_modules/ignore/index.js +785 -129
- package/node_modules/ignore/legacy.js +660 -98
- package/node_modules/ignore/package.json +10 -4
- package/node_modules/marked/README.md +1 -0
- package/node_modules/marked/lib/marked.d.ts +7 -0
- package/node_modules/marked/lib/marked.esm.js +30 -30
- package/node_modules/marked/lib/marked.esm.js.map +3 -3
- package/node_modules/marked/lib/marked.umd.js +30 -30
- package/node_modules/marked/lib/marked.umd.js.map +3 -3
- package/node_modules/marked/man/marked.1 +1 -1
- package/node_modules/marked/package.json +2 -2
- package/node_modules/typebox/build/compile/validator.d.mts +1 -1
- package/node_modules/typebox/build/compile/validator.mjs +1 -1
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +7 -5
- package/node_modules/typebox/build/format/iri.mjs +5 -1
- package/node_modules/typebox/build/guard/emit.mjs +2 -4
- package/node_modules/typebox/build/guard/guard.mjs +6 -18
- package/node_modules/typebox/build/guard/string.mjs +16 -24
- package/node_modules/typebox/build/schema/compile.d.mts +3 -2
- package/node_modules/typebox/build/schema/compile.mjs +8 -8
- package/node_modules/typebox/build/schema/engine/_context.d.mts +1 -6
- package/node_modules/typebox/build/schema/engine/_context.mjs +9 -14
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +6 -2
- package/node_modules/typebox/build/schema/engine/_stack.mjs +135 -32
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +16 -4
- package/node_modules/typebox/build/schema/engine/allOf.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/if.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +1 -3
- package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/schema.mjs +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +2 -2
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +2 -2
- package/node_modules/typebox/build/schema/errors.d.mts +2 -2
- package/node_modules/typebox/build/schema/errors.mjs +7 -13
- package/node_modules/typebox/build/schema/intern/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
- package/node_modules/typebox/build/schema/intern/intern.d.mts +14 -0
- package/node_modules/typebox/build/schema/intern/intern.mjs +259 -0
- package/node_modules/typebox/build/schema/parse.d.mts +1 -0
- package/node_modules/typebox/build/schema/parse.mjs +10 -5
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +34 -3
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +198 -73
- package/node_modules/typebox/build/schema/schema.d.mts +1 -0
- package/node_modules/typebox/build/schema/schema.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +2 -12
- package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +9 -5
- package/node_modules/undici/docs/docs/api/Client.md +4 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/undici/lib/core/symbols.js +2 -0
- package/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
- package/node_modules/undici/lib/dispatcher/client-h2.js +43 -3
- package/node_modules/undici/lib/dispatcher/client.js +3 -2
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +10 -3
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- package/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +91 -21
- package/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
- package/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/node_modules/undici/lib/handler/retry-handler.js +148 -30
- package/node_modules/undici/lib/interceptor/cache.js +65 -12
- package/node_modules/undici/lib/interceptor/decompress.js +115 -13
- package/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/node_modules/undici/lib/mock/mock-utils.js +11 -10
- package/node_modules/undici/lib/util/cache.js +45 -3
- package/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
- package/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/node_modules/undici/lib/web/websocket/connection.js +1 -1
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/node_modules/undici/package.json +3 -3
- package/node_modules/undici/types/client.d.ts +10 -0
- package/node_modules/undici/types/interceptors.d.ts +2 -0
- package/node_modules/undici/types/mock-agent.d.ts +11 -10
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -0
- package/package.json +70 -49
- package/vendor/pi-client/client.d.ts +20 -15
- package/vendor/pi-client/client.d.ts.map +1 -1
- package/vendor/pi-client/client.js +248 -245
- package/vendor/pi-client/client.js.map +1 -1
- package/vendor/pi-client/connection.d.ts +4 -3
- package/vendor/pi-client/connection.d.ts.map +1 -1
- package/vendor/pi-client/connection.js +13 -9
- package/vendor/pi-client/connection.js.map +1 -1
- package/vendor/pi-client/errors.d.ts +6 -15
- package/vendor/pi-client/errors.d.ts.map +1 -1
- package/vendor/pi-client/errors.js +10 -25
- package/vendor/pi-client/errors.js.map +1 -1
- package/vendor/pi-client/index.d.ts +3 -4
- package/vendor/pi-client/index.d.ts.map +1 -1
- package/vendor/pi-client/index.js +2 -2
- package/vendor/pi-client/index.js.map +1 -1
- package/vendor/pi-client/types.d.ts +14 -8
- package/vendor/pi-client/types.d.ts.map +1 -1
- package/vendor/pi-client/types.js.map +1 -1
- package/vendor/pi-client/unix.d.ts +14 -1
- package/vendor/pi-client/unix.d.ts.map +1 -1
- package/vendor/pi-client/unix.js +138 -8
- package/vendor/pi-client/unix.js.map +1 -1
- package/vendor/pi-protocol/codec.d.ts +2 -4
- package/vendor/pi-protocol/codec.d.ts.map +1 -1
- package/vendor/pi-protocol/codec.js +7 -34
- package/vendor/pi-protocol/codec.js.map +1 -1
- package/vendor/pi-protocol/framing.d.ts +0 -2
- package/vendor/pi-protocol/framing.d.ts.map +1 -1
- package/vendor/pi-protocol/framing.js +0 -15
- package/vendor/pi-protocol/framing.js.map +1 -1
- package/vendor/pi-protocol/index.d.ts +1 -1
- package/vendor/pi-protocol/index.d.ts.map +1 -1
- package/vendor/pi-protocol/index.js +1 -1
- package/vendor/pi-protocol/index.js.map +1 -1
- package/vendor/pi-protocol/protocol.d.ts +167 -0
- package/vendor/pi-protocol/protocol.d.ts.map +1 -0
- package/vendor/pi-protocol/protocol.js +85 -0
- package/vendor/pi-protocol/protocol.js.map +1 -0
- package/dist/bun/register-bedrock.d.ts +0 -2
- package/dist/bun/register-bedrock.d.ts.map +0 -1
- package/dist/bun/register-bedrock.js +0 -4
- package/dist/bun/register-bedrock.js.map +0 -1
- package/dist/cli/experimental/auth.d.ts +0 -16
- package/dist/cli/experimental/auth.d.ts.map +0 -1
- package/dist/cli/experimental/auth.js +0 -13
- package/dist/cli/experimental/auth.js.map +0 -1
- package/dist/cli/experimental/cli.d.ts +0 -6
- package/dist/cli/experimental/cli.d.ts.map +0 -1
- package/dist/cli/experimental/cli.js +0 -5
- package/dist/cli/experimental/cli.js.map +0 -1
- package/dist/cli/experimental/command-options.d.ts +0 -17
- package/dist/cli/experimental/command-options.d.ts.map +0 -1
- package/dist/cli/experimental/command-options.js +0 -35
- package/dist/cli/experimental/command-options.js.map +0 -1
- package/dist/cli/experimental/command.d.ts +0 -63
- package/dist/cli/experimental/command.d.ts.map +0 -1
- package/dist/cli/experimental/command.js +0 -127
- package/dist/cli/experimental/command.js.map +0 -1
- package/dist/cli/experimental/commands/client.d.ts +0 -13
- package/dist/cli/experimental/commands/client.d.ts.map +0 -1
- package/dist/cli/experimental/commands/client.js +0 -25
- package/dist/cli/experimental/commands/client.js.map +0 -1
- package/dist/cli/experimental/commands/pi.d.ts +0 -15
- package/dist/cli/experimental/commands/pi.d.ts.map +0 -1
- package/dist/cli/experimental/commands/pi.js +0 -28
- package/dist/cli/experimental/commands/pi.js.map +0 -1
- package/dist/cli/experimental/commands/server.d.ts +0 -13
- package/dist/cli/experimental/commands/server.d.ts.map +0 -1
- package/dist/cli/experimental/commands/server.js +0 -25
- package/dist/cli/experimental/commands/server.js.map +0 -1
- package/dist/cli/experimental/transport-address.d.ts +0 -10
- package/dist/cli/experimental/transport-address.d.ts.map +0 -1
- package/dist/cli/experimental/transport-address.js +0 -38
- package/dist/cli/experimental/transport-address.js.map +0 -1
- package/dist/client/remote-session.d.ts +0 -53
- package/dist/client/remote-session.d.ts.map +0 -1
- package/dist/client/remote-session.js +0 -340
- package/dist/client/remote-session.js.map +0 -1
- package/dist/client/transcript.d.ts +0 -12
- package/dist/client/transcript.d.ts.map +0 -1
- package/dist/client/transcript.js +0 -98
- package/dist/client/transcript.js.map +0 -1
- package/dist/server/create-harness.d.ts +0 -26
- package/dist/server/create-harness.d.ts.map +0 -1
- package/dist/server/create-harness.js +0 -106
- package/dist/server/create-harness.js.map +0 -1
- package/dist/utils/clipboard-native.d.ts +0 -11
- package/dist/utils/clipboard-native.d.ts.map +0 -1
- package/dist/utils/clipboard-native.js +0 -20
- package/dist/utils/clipboard-native.js.map +0 -1
- package/docs/AGENTS.md +0 -67
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.d.ts +0 -100
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.js +0 -420
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/reducer.js.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.d.ts +0 -9
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.js +0 -18
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl/errors.js.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.d.ts +0 -3
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.js +0 -2
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl.js.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.d.ts +0 -65
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.js +0 -320
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/state.js.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.d.ts +0 -4
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.js +0 -762
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/testing/conformance.js.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.d.ts +0 -29
- package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.js +0 -103
- package/node_modules/@earendil-works/pi-agent-core/dist/search/scanning.js.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.d.ts +0 -69
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.d.ts.map +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.js +0 -159
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-gateway-binding.js.map +0 -1
- package/node_modules/@earendil-works/pi-tui/native/darwin/src/darwin-modifiers.c +0 -70
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-arm64/win32-console-mode.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/prebuilds/win32-x64/win32-console-mode.node +0 -0
- package/node_modules/@earendil-works/pi-tui/native/win32/src/win32-console-mode.c +0 -119
- package/node_modules/@mariozechner/clipboard/.yarnrc.yml +0 -1
- package/node_modules/@mariozechner/clipboard/Cargo.toml +0 -45
- package/node_modules/@mariozechner/clipboard/README.md +0 -60
- package/node_modules/@mariozechner/clipboard/build.rs +0 -5
- package/node_modules/@mariozechner/clipboard/exp.ts +0 -12
- package/node_modules/@mariozechner/clipboard/index.d.ts +0 -37
- package/node_modules/@mariozechner/clipboard/index.js +0 -606
- package/node_modules/@mariozechner/clipboard/package.json +0 -45
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/common.rs +0 -307
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/mod.rs +0 -93
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/ios.rs +0 -313
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/macos.rs +0 -471
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/mod.rs +0 -252
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/wayland.rs +0 -431
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/win.rs +0 -712
- package/node_modules/@mariozechner/clipboard/src/clipboard_rs/platform/x11.rs +0 -916
- package/node_modules/@mariozechner/clipboard/src/lib.rs +0 -194
- package/vendor/pi-client/session-handle.d.ts +0 -54
- package/vendor/pi-client/session-handle.d.ts.map +0 -1
- package/vendor/pi-client/session-handle.js +0 -50
- package/vendor/pi-client/session-handle.js.map +0 -1
- package/vendor/pi-client/state.d.ts +0 -22
- package/vendor/pi-client/state.d.ts.map +0 -1
- package/vendor/pi-client/state.js +0 -145
- package/vendor/pi-client/state.js.map +0 -1
- package/vendor/pi-protocol/schemas.d.ts +0 -13739
- package/vendor/pi-protocol/schemas.d.ts.map +0 -1
- package/vendor/pi-protocol/schemas.js +0 -386
- 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
|
-
} |
|
|
336
|
+
}> | {
|
|
292
337
|
[k: string]: string;
|
|
293
|
-
}
|
|
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 =
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
2332
|
+
environment?: Environment_2 | string | undefined;
|
|
2165
2333
|
/**
|
|
2166
|
-
*
|
|
2334
|
+
* The input for the interaction.
|
|
2167
2335
|
*/
|
|
2168
|
-
|
|
2336
|
+
input: InteractionsInput;
|
|
2169
2337
|
/**
|
|
2170
|
-
* The
|
|
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
|
-
|
|
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
|
|
2183
|
-
|
|
2184
|
-
|
|
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
|
-
|
|
2362
|
+
response_modalities?: Array<ResponseModality> | undefined;
|
|
2190
2363
|
/**
|
|
2191
|
-
*
|
|
2364
|
+
* Safety settings for the interaction.
|
|
2192
2365
|
*/
|
|
2193
|
-
|
|
2366
|
+
safety_settings?: Array<SafetySetting_2> | undefined;
|
|
2367
|
+
service_tier?: ServiceTier_2 | undefined;
|
|
2194
2368
|
/**
|
|
2195
|
-
*
|
|
2369
|
+
* Input only. Whether to store the response and request for later retrieval.
|
|
2196
2370
|
*/
|
|
2197
|
-
|
|
2371
|
+
store?: boolean | undefined;
|
|
2198
2372
|
/**
|
|
2199
|
-
*
|
|
2373
|
+
* Input only. Whether the interaction will be streamed.
|
|
2200
2374
|
*/
|
|
2201
|
-
|
|
2375
|
+
stream?: boolean | undefined;
|
|
2202
2376
|
/**
|
|
2203
|
-
*
|
|
2377
|
+
* System instruction for the interaction.
|
|
2204
2378
|
*/
|
|
2205
|
-
|
|
2379
|
+
system_instruction?: string | undefined;
|
|
2206
2380
|
/**
|
|
2207
|
-
*
|
|
2381
|
+
* A list of tool declarations the model may call during interaction.
|
|
2208
2382
|
*/
|
|
2209
|
-
|
|
2210
|
-
[k: string]: string;
|
|
2211
|
-
} | undefined;
|
|
2383
|
+
tools?: Array<Tool_2> | undefined;
|
|
2212
2384
|
/**
|
|
2213
|
-
*
|
|
2385
|
+
* Message for configuring webhook events for a request.
|
|
2214
2386
|
*/
|
|
2215
|
-
|
|
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 =
|
|
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 =
|
|
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.
|
|
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
|
-
*
|
|
2771
|
+
* Input only. Whether to run the model interaction in the background.
|
|
2568
2772
|
*/
|
|
2569
|
-
|
|
2773
|
+
background?: boolean | undefined;
|
|
2570
2774
|
/**
|
|
2571
|
-
*
|
|
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
|
-
|
|
2777
|
+
environment?: Environment_2 | string | undefined;
|
|
2574
2778
|
/**
|
|
2575
|
-
*
|
|
2779
|
+
* Configuration parameters for model interactions.
|
|
2576
2780
|
*/
|
|
2577
|
-
|
|
2781
|
+
generation_config?: GenerationConfig_2 | undefined;
|
|
2578
2782
|
/**
|
|
2579
|
-
*
|
|
2783
|
+
* The input for the interaction.
|
|
2580
2784
|
*/
|
|
2581
|
-
|
|
2785
|
+
input: InteractionsInput;
|
|
2582
2786
|
/**
|
|
2583
|
-
*
|
|
2787
|
+
* The labels with user-defined metadata for the request.
|
|
2584
2788
|
*/
|
|
2585
|
-
|
|
2789
|
+
labels?: {
|
|
2790
|
+
[k: string]: string;
|
|
2791
|
+
} | undefined;
|
|
2586
2792
|
/**
|
|
2587
|
-
*
|
|
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
|
-
|
|
2795
|
+
model: Model_2;
|
|
2590
2796
|
/**
|
|
2591
|
-
* The
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
2606
|
-
service_tier?: ServiceTier_2 | undefined;
|
|
2815
|
+
response_modalities?: Array<ResponseModality> | undefined;
|
|
2607
2816
|
/**
|
|
2608
|
-
*
|
|
2817
|
+
* Safety settings for the interaction.
|
|
2609
2818
|
*/
|
|
2610
|
-
|
|
2819
|
+
safety_settings?: Array<SafetySetting_2> | undefined;
|
|
2820
|
+
service_tier?: ServiceTier_2 | undefined;
|
|
2611
2821
|
/**
|
|
2612
|
-
*
|
|
2822
|
+
* Input only. Whether to store the response and request for later retrieval.
|
|
2613
2823
|
*/
|
|
2614
|
-
|
|
2824
|
+
store?: boolean | undefined;
|
|
2615
2825
|
/**
|
|
2616
|
-
*
|
|
2826
|
+
* Input only. Whether the interaction will be streamed.
|
|
2617
2827
|
*/
|
|
2618
|
-
|
|
2828
|
+
stream?: boolean | undefined;
|
|
2619
2829
|
/**
|
|
2620
|
-
*
|
|
2830
|
+
* System instruction for the interaction.
|
|
2621
2831
|
*/
|
|
2622
|
-
|
|
2832
|
+
system_instruction?: string | undefined;
|
|
2623
2833
|
/**
|
|
2624
|
-
*
|
|
2834
|
+
* A list of tool declarations the model may call during interaction.
|
|
2625
2835
|
*/
|
|
2626
|
-
|
|
2836
|
+
tools?: Array<Tool_2> | undefined;
|
|
2627
2837
|
/**
|
|
2628
|
-
*
|
|
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
|
-
|
|
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 =
|
|
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:
|
|
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 =
|
|
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:
|
|
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 =
|
|
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?:
|
|
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
|
-
/**
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
6558
|
+
api_version?: string | undefined;
|
|
5994
6559
|
/**
|
|
5995
|
-
*
|
|
6560
|
+
* The unique identifier of the interaction to retrieve.
|
|
5996
6561
|
*/
|
|
5997
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
7520
|
-
*/
|
|
7521
|
-
id: string;
|
|
7522
|
-
/**
|
|
7523
|
-
* Required. Output only. The status of the interaction.
|
|
8207
|
+
* Configuration parameters for the agent interaction.
|
|
7524
8208
|
*/
|
|
7525
|
-
|
|
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
|
-
*
|
|
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
|
-
*
|
|
8225
|
+
* config is set in the request.
|
|
7538
8226
|
*/
|
|
7539
|
-
|
|
8227
|
+
environment_id?: string | undefined;
|
|
7540
8228
|
/**
|
|
7541
|
-
*
|
|
8229
|
+
* Output only. Diagnostic faults / platform errors recorded on the interaction.
|
|
7542
8230
|
*/
|
|
7543
|
-
|
|
8231
|
+
errors?: Array<ErrorT> | undefined;
|
|
7544
8232
|
/**
|
|
7545
|
-
*
|
|
8233
|
+
* Configuration parameters for model interactions.
|
|
7546
8234
|
*/
|
|
7547
|
-
|
|
8235
|
+
generation_config?: GenerationConfig_2 | undefined;
|
|
7548
8236
|
/**
|
|
7549
|
-
* Output only.
|
|
8237
|
+
* Required. Output only. A unique identifier for the interaction completion.
|
|
7550
8238
|
*/
|
|
7551
|
-
|
|
8239
|
+
id: string;
|
|
7552
8240
|
/**
|
|
7553
|
-
*
|
|
8241
|
+
* The input for the interaction.
|
|
7554
8242
|
*/
|
|
7555
|
-
|
|
8243
|
+
input?: InteractionsInput | undefined;
|
|
7556
8244
|
/**
|
|
7557
|
-
* The
|
|
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
|
-
|
|
8247
|
+
labels?: {
|
|
8248
|
+
[k: string]: string;
|
|
8249
|
+
} | undefined;
|
|
7562
8250
|
/**
|
|
7563
|
-
* The
|
|
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
|
-
|
|
8253
|
+
model?: Model_2 | undefined;
|
|
7568
8254
|
/**
|
|
7569
|
-
*
|
|
8255
|
+
* An audio content block.
|
|
7570
8256
|
*/
|
|
7571
|
-
|
|
8257
|
+
output_audio?: AudioContent | undefined;
|
|
7572
8258
|
/**
|
|
7573
|
-
*
|
|
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
|
-
*
|
|
8266
|
+
*
|
|
8267
|
+
* Note: this is added by the SDK.
|
|
7577
8268
|
*/
|
|
7578
|
-
|
|
7579
|
-
service_tier?: ServiceTier_2 | undefined;
|
|
8269
|
+
output_text?: string | undefined;
|
|
7580
8270
|
/**
|
|
7581
|
-
*
|
|
8271
|
+
* A video content block.
|
|
7582
8272
|
*/
|
|
7583
|
-
|
|
8273
|
+
output_video?: VideoContent | undefined;
|
|
7584
8274
|
/**
|
|
7585
|
-
*
|
|
8275
|
+
* The ID of the previous interaction, if any.
|
|
7586
8276
|
*/
|
|
7587
|
-
|
|
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?:
|
|
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
|
-
*
|
|
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
|
-
|
|
8287
|
+
response_mime_type?: string | undefined;
|
|
7600
8288
|
/**
|
|
7601
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
8300
|
+
* Required. Output only. The status of the interaction.
|
|
7610
8301
|
*/
|
|
7611
|
-
|
|
7612
|
-
[k: string]: string;
|
|
7613
|
-
} | undefined;
|
|
8302
|
+
status: InteractionStatus_2;
|
|
7614
8303
|
/**
|
|
7615
|
-
* The
|
|
8304
|
+
* Output only. The steps that make up the interaction, when included in the response.
|
|
7616
8305
|
*/
|
|
7617
|
-
|
|
8306
|
+
steps?: Array<Step> | undefined;
|
|
7618
8307
|
/**
|
|
7619
|
-
*
|
|
7620
|
-
*
|
|
7621
|
-
* @remarks
|
|
7622
|
-
*
|
|
7623
|
-
* Note: this is added by the SDK.
|
|
8308
|
+
* System instruction for the interaction.
|
|
7624
8309
|
*/
|
|
7625
|
-
|
|
8310
|
+
system_instruction?: string | undefined;
|
|
7626
8311
|
/**
|
|
7627
|
-
*
|
|
8312
|
+
* A list of tool declarations the model may call during interaction.
|
|
7628
8313
|
*/
|
|
7629
|
-
|
|
8314
|
+
tools?: Array<Tool_2> | undefined;
|
|
7630
8315
|
/**
|
|
7631
|
-
*
|
|
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
|
-
|
|
8321
|
+
updated?: string | undefined;
|
|
7634
8322
|
/**
|
|
7635
|
-
*
|
|
8323
|
+
* Statistics on the interaction request's token usage.
|
|
7636
8324
|
*/
|
|
7637
|
-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
-
*
|
|
8929
|
+
* The agent to interact with.
|
|
8183
8930
|
*/
|
|
8184
|
-
|
|
8931
|
+
agent?: string | undefined;
|
|
8185
8932
|
/**
|
|
8186
|
-
* Output only. The
|
|
8933
|
+
* Output only. The time at which the response was created in ISO 8601 format.
|
|
8187
8934
|
*/
|
|
8188
|
-
|
|
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
|
-
*
|
|
8945
|
+
* Output only. The resource type.
|
|
8195
8946
|
*/
|
|
8196
|
-
|
|
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
|
|
8954
|
+
* Output only. The steps that make up the interaction, if included in this event.
|
|
8203
8955
|
*/
|
|
8204
|
-
|
|
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
|
|
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:
|
|
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 =
|
|
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:
|
|
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 =
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
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
|
-
} |
|
|
14989
|
+
}> | {
|
|
13632
14990
|
[k: string]: string;
|
|
13633
|
-
}
|
|
14991
|
+
};
|
|
13634
14992
|
|
|
13635
14993
|
/** Config for stream translation. */
|
|
13636
14994
|
export declare interface TranslationConfig {
|
|
13637
|
-
/**
|
|
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
|
-
/**
|
|
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?:
|
|
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
|
*/
|