@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_2, 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 = {
|
|
@@ -6154,6 +6753,19 @@ export declare class GoogleGenAI {
|
|
|
6154
6753
|
constructor(options?: GoogleGenAIOptions);
|
|
6155
6754
|
}
|
|
6156
6755
|
|
|
6756
|
+
declare class GoogleGenAI_2 extends ClientSDK {
|
|
6757
|
+
private _agents?;
|
|
6758
|
+
get agents(): Agents_2;
|
|
6759
|
+
private _environments?;
|
|
6760
|
+
get environments(): Environments_2;
|
|
6761
|
+
private _interactions?;
|
|
6762
|
+
get interactions(): Interactions_2;
|
|
6763
|
+
private _triggers?;
|
|
6764
|
+
get triggers(): Triggers_2;
|
|
6765
|
+
private _webhooks?;
|
|
6766
|
+
get webhooks(): Webhooks_2;
|
|
6767
|
+
}
|
|
6768
|
+
|
|
6157
6769
|
declare type GoogleGenAIInteraction = GoogleGenAIResponseWithSdkHttpResponse<Omit<interactions.Interaction, "steps"> & {
|
|
6158
6770
|
steps: interactions.Step[];
|
|
6159
6771
|
}>;
|
|
@@ -7005,6 +7617,86 @@ export declare interface HistoryConfig {
|
|
|
7005
7617
|
initialHistoryInClientContent?: boolean;
|
|
7006
7618
|
}
|
|
7007
7619
|
|
|
7620
|
+
declare type HookContext = {
|
|
7621
|
+
base_url: string | URL;
|
|
7622
|
+
operation_id: string;
|
|
7623
|
+
o_auth2_scopes: string[] | null;
|
|
7624
|
+
security_source?: any | (() => Promise<any>);
|
|
7625
|
+
retry_config: RetryConfig;
|
|
7626
|
+
resolved_security: SecurityState | null;
|
|
7627
|
+
options: SDKOptions;
|
|
7628
|
+
timeout_ms?: number;
|
|
7629
|
+
};
|
|
7630
|
+
|
|
7631
|
+
declare interface Hooks {
|
|
7632
|
+
/** Registers a hook to be used by the SDK for initialization event. */
|
|
7633
|
+
registerSDKInitHook(hook: SDKInitHook): void;
|
|
7634
|
+
/** Registers a hook to be used by the SDK for to modify `Request` construction. */
|
|
7635
|
+
registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void;
|
|
7636
|
+
/** Registers a hook to be used by the SDK for the before request event. */
|
|
7637
|
+
registerBeforeRequestHook(hook: BeforeRequestHook_2): void;
|
|
7638
|
+
/** Registers a hook to be used by the SDK for the after success event. */
|
|
7639
|
+
registerAfterSuccessHook(hook: AfterSuccessHook): void;
|
|
7640
|
+
/** Registers a hook to be used by the SDK for the after error event. */
|
|
7641
|
+
registerAfterErrorHook(hook: AfterErrorHook): void;
|
|
7642
|
+
}
|
|
7643
|
+
|
|
7644
|
+
declare class HTTPClient {
|
|
7645
|
+
private fetcher;
|
|
7646
|
+
private requestHooks;
|
|
7647
|
+
private requestErrorHooks;
|
|
7648
|
+
private responseHooks;
|
|
7649
|
+
private options;
|
|
7650
|
+
constructor(options?: HTTPClientOptions);
|
|
7651
|
+
request(request: Request): Promise<Response>;
|
|
7652
|
+
/**
|
|
7653
|
+
* Registers a hook that is called before a request is made. The hook function
|
|
7654
|
+
* can mutate the request or return a new request. This may be useful to add
|
|
7655
|
+
* additional information to request such as request IDs and tracing headers.
|
|
7656
|
+
*/
|
|
7657
|
+
addHook(hook: "beforeRequest", fn: BeforeRequestHook): this;
|
|
7658
|
+
/**
|
|
7659
|
+
* Registers a hook that is called when a request cannot be made due to a
|
|
7660
|
+
* network error.
|
|
7661
|
+
*/
|
|
7662
|
+
addHook(hook: "requestError", fn: RequestErrorHook): this;
|
|
7663
|
+
/**
|
|
7664
|
+
* Registers a hook that is called when a response has been received from the
|
|
7665
|
+
* server.
|
|
7666
|
+
*/
|
|
7667
|
+
addHook(hook: "response", fn: ResponseHook): this;
|
|
7668
|
+
/** Removes a hook that was previously registered with `addHook`. */
|
|
7669
|
+
removeHook(hook: "beforeRequest", fn: BeforeRequestHook): this;
|
|
7670
|
+
/** Removes a hook that was previously registered with `addHook`. */
|
|
7671
|
+
removeHook(hook: "requestError", fn: RequestErrorHook): this;
|
|
7672
|
+
/** Removes a hook that was previously registered with `addHook`. */
|
|
7673
|
+
removeHook(hook: "response", fn: ResponseHook): this;
|
|
7674
|
+
clone(): HTTPClient;
|
|
7675
|
+
}
|
|
7676
|
+
|
|
7677
|
+
/**
|
|
7678
|
+
* @license
|
|
7679
|
+
* Copyright 2026 Google LLC
|
|
7680
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
7681
|
+
*
|
|
7682
|
+
* g3-prettier-ignore-file
|
|
7683
|
+
*/
|
|
7684
|
+
/**
|
|
7685
|
+
* Base class for all HTTP errors.
|
|
7686
|
+
*/
|
|
7687
|
+
declare class HTTPClientError extends Error {
|
|
7688
|
+
/** The underlying cause of the error. */
|
|
7689
|
+
readonly cause: unknown;
|
|
7690
|
+
name: string;
|
|
7691
|
+
constructor(message: string, opts?: {
|
|
7692
|
+
cause?: unknown;
|
|
7693
|
+
});
|
|
7694
|
+
}
|
|
7695
|
+
|
|
7696
|
+
declare interface HTTPClientOptions {
|
|
7697
|
+
fetcher?: Fetcher;
|
|
7698
|
+
}
|
|
7699
|
+
|
|
7008
7700
|
/** The location of the API key. This enum is not supported in Gemini API. */
|
|
7009
7701
|
export declare enum HttpElementLocation {
|
|
7010
7702
|
HTTP_IN_UNSPECIFIED = "HTTP_IN_UNSPECIFIED",
|
|
@@ -7231,16 +7923,16 @@ declare type ImageContent = {
|
|
|
7231
7923
|
* The image content.
|
|
7232
7924
|
*/
|
|
7233
7925
|
data?: string | undefined;
|
|
7926
|
+
/**
|
|
7927
|
+
* The mime type of the image.
|
|
7928
|
+
*/
|
|
7929
|
+
mime_type?: ImageContentMimeType | undefined;
|
|
7234
7930
|
resolution?: MediaResolution_2 | undefined;
|
|
7235
7931
|
type: "image";
|
|
7236
7932
|
/**
|
|
7237
7933
|
* The URI of the image.
|
|
7238
7934
|
*/
|
|
7239
7935
|
uri?: string | undefined;
|
|
7240
|
-
/**
|
|
7241
|
-
* The mime type of the image.
|
|
7242
|
-
*/
|
|
7243
|
-
mime_type?: ImageContentMimeType | undefined;
|
|
7244
7936
|
};
|
|
7245
7937
|
|
|
7246
7938
|
/**
|
|
@@ -7502,22 +8194,14 @@ declare type Interaction$ = Interaction;
|
|
|
7502
8194
|
* The Interaction resource.
|
|
7503
8195
|
*/
|
|
7504
8196
|
declare type Interaction = {
|
|
7505
|
-
/**
|
|
7506
|
-
* The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
|
|
7507
|
-
*/
|
|
7508
|
-
model?: Model_2 | undefined;
|
|
7509
8197
|
/**
|
|
7510
8198
|
* The agent to interact with.
|
|
7511
8199
|
*/
|
|
7512
8200
|
agent?: AgentOption | undefined;
|
|
7513
8201
|
/**
|
|
7514
|
-
*
|
|
7515
|
-
*/
|
|
7516
|
-
id: string;
|
|
7517
|
-
/**
|
|
7518
|
-
* Required. Output only. The status of the interaction.
|
|
8202
|
+
* Configuration parameters for the agent interaction.
|
|
7519
8203
|
*/
|
|
7520
|
-
|
|
8204
|
+
agent_config?: AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig | undefined;
|
|
7521
8205
|
/**
|
|
7522
8206
|
* Output only. The time at which the response was created in ISO 8601 format
|
|
7523
8207
|
*
|
|
@@ -7526,110 +8210,118 @@ declare type Interaction = {
|
|
|
7526
8210
|
*/
|
|
7527
8211
|
created?: string | undefined;
|
|
7528
8212
|
/**
|
|
7529
|
-
*
|
|
8213
|
+
* The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
|
|
8214
|
+
*/
|
|
8215
|
+
environment?: Environment_2 | string | undefined;
|
|
8216
|
+
/**
|
|
8217
|
+
* Output only. The environment ID for the interaction. Only populated if environment
|
|
7530
8218
|
*
|
|
7531
8219
|
* @remarks
|
|
7532
|
-
*
|
|
8220
|
+
* config is set in the request.
|
|
7533
8221
|
*/
|
|
7534
|
-
|
|
8222
|
+
environment_id?: string | undefined;
|
|
7535
8223
|
/**
|
|
7536
|
-
*
|
|
8224
|
+
* Output only. Diagnostic faults / platform errors recorded on the interaction.
|
|
7537
8225
|
*/
|
|
7538
|
-
|
|
8226
|
+
errors?: Array<ErrorT> | undefined;
|
|
7539
8227
|
/**
|
|
7540
|
-
*
|
|
8228
|
+
* Configuration parameters for model interactions.
|
|
7541
8229
|
*/
|
|
7542
|
-
|
|
8230
|
+
generation_config?: GenerationConfig_2 | undefined;
|
|
7543
8231
|
/**
|
|
7544
|
-
* Output only.
|
|
8232
|
+
* Required. Output only. A unique identifier for the interaction completion.
|
|
7545
8233
|
*/
|
|
7546
|
-
|
|
8234
|
+
id: string;
|
|
7547
8235
|
/**
|
|
7548
|
-
*
|
|
8236
|
+
* The input for the interaction.
|
|
7549
8237
|
*/
|
|
7550
|
-
|
|
8238
|
+
input?: InteractionsInput | undefined;
|
|
7551
8239
|
/**
|
|
7552
|
-
* The
|
|
7553
|
-
*
|
|
7554
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
8240
|
+
* The labels with user-defined metadata for the request.
|
|
7555
8241
|
*/
|
|
7556
|
-
|
|
8242
|
+
labels?: {
|
|
8243
|
+
[k: string]: string;
|
|
8244
|
+
} | undefined;
|
|
7557
8245
|
/**
|
|
7558
|
-
* The
|
|
7559
|
-
*
|
|
7560
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
8246
|
+
* The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
|
|
7561
8247
|
*/
|
|
7562
|
-
|
|
8248
|
+
model?: Model_2 | undefined;
|
|
7563
8249
|
/**
|
|
7564
|
-
*
|
|
8250
|
+
* An audio content block.
|
|
7565
8251
|
*/
|
|
7566
|
-
|
|
8252
|
+
output_audio?: AudioContent | undefined;
|
|
7567
8253
|
/**
|
|
7568
|
-
*
|
|
8254
|
+
* An image content block.
|
|
8255
|
+
*/
|
|
8256
|
+
output_image?: ImageContent | undefined;
|
|
8257
|
+
/**
|
|
8258
|
+
* Concatenated text from the last model output in response to the current request.
|
|
7569
8259
|
*
|
|
7570
8260
|
* @remarks
|
|
7571
|
-
*
|
|
8261
|
+
*
|
|
8262
|
+
* Note: this is added by the SDK.
|
|
7572
8263
|
*/
|
|
7573
|
-
|
|
7574
|
-
service_tier?: ServiceTier_2 | undefined;
|
|
8264
|
+
output_text?: string | undefined;
|
|
7575
8265
|
/**
|
|
7576
|
-
*
|
|
8266
|
+
* A video content block.
|
|
7577
8267
|
*/
|
|
7578
|
-
|
|
8268
|
+
output_video?: VideoContent | undefined;
|
|
7579
8269
|
/**
|
|
7580
|
-
*
|
|
8270
|
+
* The ID of the previous interaction, if any.
|
|
7581
8271
|
*/
|
|
7582
|
-
|
|
8272
|
+
previous_interaction_id?: string | undefined;
|
|
7583
8273
|
/**
|
|
7584
8274
|
* Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
|
|
7585
8275
|
*/
|
|
7586
|
-
response_format?:
|
|
7587
|
-
/**
|
|
7588
|
-
* The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
|
|
7589
|
-
*/
|
|
7590
|
-
environment?: Environment_2 | string | undefined;
|
|
8276
|
+
response_format?: ResponseFormat_2 | Array<ResponseFormat_2> | undefined;
|
|
7591
8277
|
/**
|
|
7592
|
-
*
|
|
8278
|
+
* The mime type of the response. This is required if response_format is set.
|
|
8279
|
+
*
|
|
8280
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
7593
8281
|
*/
|
|
7594
|
-
|
|
8282
|
+
response_mime_type?: string | undefined;
|
|
7595
8283
|
/**
|
|
7596
|
-
*
|
|
8284
|
+
* The requested modalities of the response (TEXT, IMAGE, AUDIO).
|
|
8285
|
+
*
|
|
8286
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
7597
8287
|
*/
|
|
7598
|
-
|
|
8288
|
+
response_modalities?: Array<ResponseModality> | undefined;
|
|
7599
8289
|
/**
|
|
7600
8290
|
* Safety settings for the interaction.
|
|
7601
8291
|
*/
|
|
7602
8292
|
safety_settings?: Array<SafetySetting_2> | undefined;
|
|
8293
|
+
service_tier?: ServiceTier_2 | undefined;
|
|
7603
8294
|
/**
|
|
7604
|
-
*
|
|
8295
|
+
* Required. Output only. The status of the interaction.
|
|
7605
8296
|
*/
|
|
7606
|
-
|
|
7607
|
-
[k: string]: string;
|
|
7608
|
-
} | undefined;
|
|
8297
|
+
status: InteractionStatus_2;
|
|
7609
8298
|
/**
|
|
7610
|
-
* The
|
|
8299
|
+
* Output only. The steps that make up the interaction, when included in the response.
|
|
7611
8300
|
*/
|
|
7612
|
-
|
|
8301
|
+
steps?: Array<Step> | undefined;
|
|
7613
8302
|
/**
|
|
7614
|
-
*
|
|
7615
|
-
*
|
|
7616
|
-
* @remarks
|
|
7617
|
-
*
|
|
7618
|
-
* Note: this is added by the SDK.
|
|
8303
|
+
* System instruction for the interaction.
|
|
7619
8304
|
*/
|
|
7620
|
-
|
|
8305
|
+
system_instruction?: string | undefined;
|
|
7621
8306
|
/**
|
|
7622
|
-
*
|
|
8307
|
+
* A list of tool declarations the model may call during interaction.
|
|
7623
8308
|
*/
|
|
7624
|
-
|
|
8309
|
+
tools?: Array<Tool_2> | undefined;
|
|
7625
8310
|
/**
|
|
7626
|
-
*
|
|
8311
|
+
* Output only. The time at which the response was last updated in ISO 8601 format
|
|
8312
|
+
*
|
|
8313
|
+
* @remarks
|
|
8314
|
+
* (YYYY-MM-DDThh:mm:ssZ).
|
|
7627
8315
|
*/
|
|
7628
|
-
|
|
8316
|
+
updated?: string | undefined;
|
|
7629
8317
|
/**
|
|
7630
|
-
*
|
|
8318
|
+
* Statistics on the interaction request's token usage.
|
|
7631
8319
|
*/
|
|
7632
|
-
|
|
8320
|
+
usage?: Usage | undefined;
|
|
8321
|
+
/**
|
|
8322
|
+
* Message for configuring webhook events for a request.
|
|
8323
|
+
*/
|
|
8324
|
+
webhook_config?: WebhookConfig_2 | undefined;
|
|
7633
8325
|
};
|
|
7634
8326
|
|
|
7635
8327
|
/**
|
|
@@ -7640,14 +8332,13 @@ declare type Interaction_2 = interactions.CreateAgentInteraction | interactions.
|
|
|
7640
8332
|
/**
|
|
7641
8333
|
* Configuration parameters for the agent interaction.
|
|
7642
8334
|
*/
|
|
7643
|
-
declare type InteractionAgentConfig =
|
|
8335
|
+
declare type InteractionAgentConfig = AntigravityAgentConfig | CodeMenderAgentConfig | DeepResearchAgentConfig | DynamicAgentConfig;
|
|
7644
8336
|
|
|
7645
8337
|
declare type InteractionCancelParams$ = CancelInteractionByIdParams;
|
|
7646
8338
|
|
|
7647
8339
|
declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
|
|
7648
8340
|
|
|
7649
8341
|
declare type InteractionCompletedEvent = {
|
|
7650
|
-
event_type: "interaction.completed";
|
|
7651
8342
|
/**
|
|
7652
8343
|
* The event_id token to be used to resume the interaction stream, from
|
|
7653
8344
|
*
|
|
@@ -7655,6 +8346,7 @@ declare type InteractionCompletedEvent = {
|
|
|
7655
8346
|
* this event.
|
|
7656
8347
|
*/
|
|
7657
8348
|
event_id?: string | undefined;
|
|
8349
|
+
event_type: "interaction.completed";
|
|
7658
8350
|
/**
|
|
7659
8351
|
* Partial interaction resource emitted by interaction lifecycle SSE events.
|
|
7660
8352
|
*
|
|
@@ -7668,7 +8360,6 @@ declare type InteractionCompletedEvent = {
|
|
|
7668
8360
|
declare type InteractionCreatedEvent$ = InteractionCreatedEvent;
|
|
7669
8361
|
|
|
7670
8362
|
declare type InteractionCreatedEvent = {
|
|
7671
|
-
event_type: "interaction.created";
|
|
7672
8363
|
/**
|
|
7673
8364
|
* The event_id token to be used to resume the interaction stream, from
|
|
7674
8365
|
*
|
|
@@ -7676,6 +8367,7 @@ declare type InteractionCreatedEvent = {
|
|
|
7676
8367
|
* this event.
|
|
7677
8368
|
*/
|
|
7678
8369
|
event_id?: string | undefined;
|
|
8370
|
+
event_type: "interaction.created";
|
|
7679
8371
|
/**
|
|
7680
8372
|
* Partial interaction resource emitted by interaction lifecycle SSE events.
|
|
7681
8373
|
*
|
|
@@ -7722,7 +8414,7 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
|
|
|
7722
8414
|
/**
|
|
7723
8415
|
* Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
|
|
7724
8416
|
*/
|
|
7725
|
-
declare type InteractionResponseFormat =
|
|
8417
|
+
declare type InteractionResponseFormat = ResponseFormat_2 | Array<ResponseFormat_2>;
|
|
7726
8418
|
|
|
7727
8419
|
export declare namespace Interactions {
|
|
7728
8420
|
export type AllowedTools = AllowedTools$;
|
|
@@ -7791,6 +8483,8 @@ export declare namespace Interactions {
|
|
|
7791
8483
|
export type ModelOutputStep = ModelOutputStep$;
|
|
7792
8484
|
export interface PlaceCitation extends PlaceCitation$ {
|
|
7793
8485
|
}
|
|
8486
|
+
export type ProcessingCallStep = ProcessingCallStep$;
|
|
8487
|
+
export type ProcessingResultStep = ProcessingResultStep$;
|
|
7794
8488
|
export type RetrievalCallArguments = RetrievalCallArguments$;
|
|
7795
8489
|
export interface RetrievalCallDelta extends RetrievalCallDelta$ {
|
|
7796
8490
|
}
|
|
@@ -7810,6 +8504,7 @@ export declare namespace Interactions {
|
|
|
7810
8504
|
export type ToolChoiceConfig = ToolChoiceConfig$;
|
|
7811
8505
|
export type ToolChoiceType = ToolChoiceType$;
|
|
7812
8506
|
export type TranscriptionConfig = TranscriptionConfig$;
|
|
8507
|
+
export type TranscriptionMode = TranscriptionMode$;
|
|
7813
8508
|
export type URLCitation = URLCitation$;
|
|
7814
8509
|
export type URLContextCallArguments = URLContextCallArguments$;
|
|
7815
8510
|
export interface URLContextCallStep extends URLContextCallStep$ {
|
|
@@ -7903,6 +8598,8 @@ export declare namespace Interactions {
|
|
|
7903
8598
|
export type MCPServerToolCall = MCPServerToolCall$;
|
|
7904
8599
|
export type MCPServerToolResult = MCPServerToolResult$;
|
|
7905
8600
|
export type Metadata = Metadata$;
|
|
8601
|
+
export type ProcessingCall = ProcessingCall$;
|
|
8602
|
+
export type ProcessingResult = ProcessingResult$;
|
|
7906
8603
|
export type Text = Text$;
|
|
7907
8604
|
export type TextAnnotationDelta = TextAnnotationDelta$;
|
|
7908
8605
|
export type ThoughtSignature = ThoughtSignature$;
|
|
@@ -7925,6 +8622,10 @@ export declare namespace Interactions {
|
|
|
7925
8622
|
export type VertexAISearchConfig = VertexAISearchConfig$;
|
|
7926
8623
|
}
|
|
7927
8624
|
}
|
|
8625
|
+
export namespace TranscriptionMode {
|
|
8626
|
+
export type Smart = Smart$;
|
|
8627
|
+
export type Verbatim = Verbatim$;
|
|
8628
|
+
}
|
|
7928
8629
|
export namespace URLContextCallStep {
|
|
7929
8630
|
export type Arguments = Arguments$5;
|
|
7930
8631
|
}
|
|
@@ -7971,12 +8672,12 @@ declare namespace interactions {
|
|
|
7971
8672
|
EnvironmentEnum,
|
|
7972
8673
|
ComputerUse_2 as ComputerUse,
|
|
7973
8674
|
Content_2 as Content,
|
|
7974
|
-
CreateAgentInteractionResponseFormat,
|
|
7975
|
-
CreateAgentInteractionEnvironment,
|
|
7976
8675
|
CreateAgentInteractionAgentConfig,
|
|
8676
|
+
CreateAgentInteractionEnvironment,
|
|
8677
|
+
CreateAgentInteractionResponseFormat,
|
|
7977
8678
|
CreateAgentInteraction,
|
|
7978
|
-
CreateModelInteractionResponseFormat,
|
|
7979
8679
|
CreateModelInteractionEnvironment,
|
|
8680
|
+
CreateModelInteractionResponseFormat,
|
|
7980
8681
|
CreateModelInteraction,
|
|
7981
8682
|
Visualization,
|
|
7982
8683
|
DeepResearchAgentConfig,
|
|
@@ -8016,8 +8717,8 @@ declare namespace interactions {
|
|
|
8016
8717
|
FunctionResultStep,
|
|
8017
8718
|
FunctionResultSubcontent,
|
|
8018
8719
|
FunctionT,
|
|
8019
|
-
ToolChoice,
|
|
8020
8720
|
SpeechConfigUnion_2 as SpeechConfigUnion,
|
|
8721
|
+
ToolChoice,
|
|
8021
8722
|
GenerationConfig_2 as GenerationConfig,
|
|
8022
8723
|
GoogleMapsCallArguments,
|
|
8023
8724
|
GoogleMapsCallDelta,
|
|
@@ -8060,10 +8761,10 @@ declare namespace interactions {
|
|
|
8060
8761
|
InteractionSSEStreamEvent,
|
|
8061
8762
|
InteractionStatusUpdateStatus,
|
|
8062
8763
|
InteractionStatusUpdate,
|
|
8063
|
-
InteractionStatus_2 as InteractionStatus,
|
|
8064
|
-
InteractionResponseFormat,
|
|
8065
|
-
InteractionEnvironment,
|
|
8066
8764
|
InteractionAgentConfig,
|
|
8765
|
+
InteractionEnvironment,
|
|
8766
|
+
InteractionResponseFormat,
|
|
8767
|
+
InteractionStatus_2 as InteractionStatus,
|
|
8067
8768
|
Interaction,
|
|
8068
8769
|
InteractionsInput,
|
|
8069
8770
|
MCPServerToolCallDelta,
|
|
@@ -8075,13 +8776,17 @@ declare namespace interactions {
|
|
|
8075
8776
|
MCPServerToolResultStepResultUnion,
|
|
8076
8777
|
MCPServerToolResultStep,
|
|
8077
8778
|
MCPServer,
|
|
8078
|
-
MediaProcessing,
|
|
8779
|
+
MediaProcessing_2 as MediaProcessing,
|
|
8079
8780
|
MediaResolution_2 as MediaResolution,
|
|
8080
8781
|
ModalityTokens,
|
|
8081
8782
|
ModelOutputStep,
|
|
8082
8783
|
Model_2 as Model,
|
|
8083
8784
|
ParallelAISearchConfig,
|
|
8084
8785
|
PlaceCitation,
|
|
8786
|
+
ProcessingCallDelta,
|
|
8787
|
+
ProcessingCallStep,
|
|
8788
|
+
ProcessingResultDelta,
|
|
8789
|
+
ProcessingResultStep,
|
|
8085
8790
|
RagResource,
|
|
8086
8791
|
RagRetrievalConfig_2 as RagRetrievalConfig,
|
|
8087
8792
|
RagStoreConfig,
|
|
@@ -8100,6 +8805,7 @@ declare namespace interactions {
|
|
|
8100
8805
|
SafetySetting_2 as SafetySetting,
|
|
8101
8806
|
ServiceTier_2 as ServiceTier,
|
|
8102
8807
|
SessionConfig,
|
|
8808
|
+
SmartTranscriptionMode,
|
|
8103
8809
|
SourceType,
|
|
8104
8810
|
Source,
|
|
8105
8811
|
SpeakerConfig,
|
|
@@ -8126,7 +8832,10 @@ declare namespace interactions {
|
|
|
8126
8832
|
ToolChoiceConfig,
|
|
8127
8833
|
ToolChoiceType,
|
|
8128
8834
|
Tool_2 as Tool,
|
|
8835
|
+
TranscriptionConfigModeEnum,
|
|
8836
|
+
TranscriptionConfigMode,
|
|
8129
8837
|
TranscriptionConfig,
|
|
8838
|
+
TranscriptionMode,
|
|
8130
8839
|
URLCitation,
|
|
8131
8840
|
URLContextCallArguments,
|
|
8132
8841
|
URLContextCallDelta,
|
|
@@ -8138,12 +8847,13 @@ declare namespace interactions {
|
|
|
8138
8847
|
URLContext,
|
|
8139
8848
|
Usage,
|
|
8140
8849
|
UserInputStep,
|
|
8850
|
+
VerbatimTranscriptionMode,
|
|
8141
8851
|
VertexAISearchConfig,
|
|
8142
8852
|
Task,
|
|
8143
8853
|
VideoConfig,
|
|
8854
|
+
VideoContentMimeType,
|
|
8144
8855
|
ProcessingEnum,
|
|
8145
8856
|
Processing,
|
|
8146
|
-
VideoContentMimeType,
|
|
8147
8857
|
VideoContent,
|
|
8148
8858
|
VideoDeltaMimeType,
|
|
8149
8859
|
VideoDelta,
|
|
@@ -8156,14 +8866,51 @@ declare namespace interactions {
|
|
|
8156
8866
|
}
|
|
8157
8867
|
}
|
|
8158
8868
|
|
|
8869
|
+
declare class Interactions_2 extends ClientSDK {
|
|
8870
|
+
/**
|
|
8871
|
+
* Creating an interaction
|
|
8872
|
+
*
|
|
8873
|
+
* @remarks
|
|
8874
|
+
* Creates a new interaction.
|
|
8875
|
+
*/
|
|
8876
|
+
create(params: CreateAgentInteractionParamsNonStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
|
|
8877
|
+
create(params: CreateModelInteractionParamsNonStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
|
|
8878
|
+
create(params: CreateAgentInteractionParamsStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
|
|
8879
|
+
create(params: CreateModelInteractionParamsStreaming, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
|
|
8880
|
+
create(params: CreateInteractionParams, options?: RequestOptions): APIPromise<operations.CreateInteractionResponse>;
|
|
8881
|
+
/**
|
|
8882
|
+
* Deleting an interaction
|
|
8883
|
+
*
|
|
8884
|
+
* @remarks
|
|
8885
|
+
* Deletes the interaction by id.
|
|
8886
|
+
*/
|
|
8887
|
+
delete(id: string, params?: DeleteInteractionParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<void>;
|
|
8888
|
+
/**
|
|
8889
|
+
* Retrieving an interaction
|
|
8890
|
+
*
|
|
8891
|
+
* @remarks
|
|
8892
|
+
* Retrieves the full details of a single interaction based on its `Interaction.id`.
|
|
8893
|
+
*/
|
|
8894
|
+
get(id: string, params?: GetInteractionByIdParamsNonStreaming, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
|
|
8895
|
+
get(id: string, params: GetInteractionByIdParamsStreaming, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
|
|
8896
|
+
get(id: string, params?: GetInteractionByIdParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<operations.GetInteractionByIdResponse>;
|
|
8897
|
+
/**
|
|
8898
|
+
* Canceling an interaction
|
|
8899
|
+
*
|
|
8900
|
+
* @remarks
|
|
8901
|
+
* Cancels an interaction by id. This only applies to background interactions that are still running.
|
|
8902
|
+
*/
|
|
8903
|
+
cancel(id: string, params?: CancelInteractionByIdParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Interaction>;
|
|
8904
|
+
}
|
|
8905
|
+
|
|
8159
8906
|
/**
|
|
8160
8907
|
* The input for the interaction.
|
|
8161
8908
|
*/
|
|
8162
|
-
declare type InteractionsInput =
|
|
8909
|
+
declare type InteractionsInput = Content_2 | Array<Step> | Array<Content_2> | string;
|
|
8163
8910
|
|
|
8164
8911
|
declare type InteractionSSEEvent$ = InteractionSSEEvent;
|
|
8165
8912
|
|
|
8166
|
-
declare type InteractionSSEEvent =
|
|
8913
|
+
declare type InteractionSSEEvent = ErrorEvent_2 | InteractionCompletedEvent | InteractionCreatedEvent | InteractionStatusUpdate | StepDelta | StepStart | StepStop;
|
|
8167
8914
|
|
|
8168
8915
|
/**
|
|
8169
8916
|
* Partial interaction resource emitted by interaction lifecycle SSE events.
|
|
@@ -8174,42 +8921,42 @@ declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionComplete
|
|
|
8174
8921
|
*/
|
|
8175
8922
|
declare type InteractionSseEventInteraction = {
|
|
8176
8923
|
/**
|
|
8177
|
-
*
|
|
8924
|
+
* The agent to interact with.
|
|
8178
8925
|
*/
|
|
8179
|
-
|
|
8926
|
+
agent?: string | undefined;
|
|
8180
8927
|
/**
|
|
8181
|
-
* Output only. The
|
|
8928
|
+
* Output only. The time at which the response was created in ISO 8601 format.
|
|
8182
8929
|
*/
|
|
8183
|
-
|
|
8930
|
+
created?: string | undefined;
|
|
8931
|
+
/**
|
|
8932
|
+
* Required. Output only. A unique identifier for the interaction completion.
|
|
8933
|
+
*/
|
|
8934
|
+
id: string;
|
|
8184
8935
|
/**
|
|
8185
8936
|
* The model that will complete your prompt.
|
|
8186
8937
|
*/
|
|
8187
8938
|
model?: string | undefined;
|
|
8188
8939
|
/**
|
|
8189
|
-
*
|
|
8940
|
+
* Output only. The resource type.
|
|
8190
8941
|
*/
|
|
8191
|
-
|
|
8942
|
+
object?: string | undefined;
|
|
8943
|
+
service_tier?: ServiceTier_2 | undefined;
|
|
8192
8944
|
/**
|
|
8193
8945
|
* Required. Output only. The status of the interaction.
|
|
8194
8946
|
*/
|
|
8195
8947
|
status: InteractionSseEventInteractionStatus;
|
|
8196
8948
|
/**
|
|
8197
|
-
* Output only. The
|
|
8949
|
+
* Output only. The steps that make up the interaction, if included in this event.
|
|
8198
8950
|
*/
|
|
8199
|
-
|
|
8951
|
+
steps?: Array<Step> | undefined;
|
|
8200
8952
|
/**
|
|
8201
8953
|
* Output only. The time at which the response was last updated in ISO 8601 format.
|
|
8202
8954
|
*/
|
|
8203
8955
|
updated?: string | undefined;
|
|
8204
|
-
service_tier?: ServiceTier_2 | undefined;
|
|
8205
8956
|
/**
|
|
8206
8957
|
* Statistics on the interaction request's token usage.
|
|
8207
8958
|
*/
|
|
8208
8959
|
usage?: Usage | undefined;
|
|
8209
|
-
/**
|
|
8210
|
-
* Output only. The steps that make up the interaction, if included in this event.
|
|
8211
|
-
*/
|
|
8212
|
-
steps?: Array<Step> | undefined;
|
|
8213
8960
|
};
|
|
8214
8961
|
|
|
8215
8962
|
/**
|
|
@@ -8286,6 +9033,13 @@ export declare interface Interval {
|
|
|
8286
9033
|
startTime?: string;
|
|
8287
9034
|
}
|
|
8288
9035
|
|
|
9036
|
+
/**
|
|
9037
|
+
* An error that is raised when any inputs used to create a request are invalid.
|
|
9038
|
+
*/
|
|
9039
|
+
declare class InvalidRequestError extends HTTPClientError {
|
|
9040
|
+
name: string;
|
|
9041
|
+
}
|
|
9042
|
+
|
|
8289
9043
|
/** Job error. */
|
|
8290
9044
|
export declare interface JobError {
|
|
8291
9045
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
@@ -8390,6 +9144,20 @@ export declare interface LatLng {
|
|
|
8390
9144
|
longitude?: number;
|
|
8391
9145
|
}
|
|
8392
9146
|
|
|
9147
|
+
/**
|
|
9148
|
+
* @license
|
|
9149
|
+
* Copyright 2026 Google LLC
|
|
9150
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
9151
|
+
*
|
|
9152
|
+
* g3-prettier-ignore-file
|
|
9153
|
+
*/
|
|
9154
|
+
declare type ListAgentsGlobals = {
|
|
9155
|
+
/**
|
|
9156
|
+
* Which version of the API to use.
|
|
9157
|
+
*/
|
|
9158
|
+
api_version?: string | undefined;
|
|
9159
|
+
};
|
|
9160
|
+
|
|
8393
9161
|
declare type ListAgentsParams = {
|
|
8394
9162
|
api_version?: string;
|
|
8395
9163
|
pageSize?: number;
|
|
@@ -8501,12 +9269,57 @@ export declare class ListDocumentsResponse {
|
|
|
8501
9269
|
documents?: Document_2[];
|
|
8502
9270
|
}
|
|
8503
9271
|
|
|
8504
|
-
declare type
|
|
9272
|
+
declare type ListEnvironmentFilesParams = {
|
|
9273
|
+
environment: string;
|
|
9274
|
+
path: string;
|
|
9275
|
+
page_size?: number;
|
|
9276
|
+
page_token?: string;
|
|
9277
|
+
recursive?: boolean;
|
|
9278
|
+
api_version?: string;
|
|
9279
|
+
};
|
|
9280
|
+
|
|
9281
|
+
/**
|
|
9282
|
+
* Alias for GetEnvironmentFilesResponse when listing files.
|
|
9283
|
+
*/
|
|
9284
|
+
declare type ListEnvironmentFilesResponse = GetEnvironmentFilesResponse_2;
|
|
9285
|
+
|
|
9286
|
+
/**
|
|
9287
|
+
* @license
|
|
9288
|
+
* Copyright 2026 Google LLC
|
|
9289
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
9290
|
+
*
|
|
9291
|
+
* g3-prettier-ignore-file
|
|
9292
|
+
*/
|
|
9293
|
+
declare type ListEnvironmentsGlobals = {
|
|
9294
|
+
/**
|
|
9295
|
+
* Which version of the API to use.
|
|
9296
|
+
*/
|
|
9297
|
+
api_version?: string | undefined;
|
|
9298
|
+
};
|
|
9299
|
+
|
|
9300
|
+
declare type ListEnvironmentsParams = ListEnvironmentsRequest;
|
|
9301
|
+
|
|
9302
|
+
declare type ListEnvironmentsParams_2 = {
|
|
8505
9303
|
api_version?: string;
|
|
8506
9304
|
page_size?: number;
|
|
8507
9305
|
page_token?: string;
|
|
8508
9306
|
};
|
|
8509
9307
|
|
|
9308
|
+
declare type ListEnvironmentsRequest = {
|
|
9309
|
+
/**
|
|
9310
|
+
* Which version of the API to use.
|
|
9311
|
+
*/
|
|
9312
|
+
api_version?: string | undefined;
|
|
9313
|
+
/**
|
|
9314
|
+
* Optional. Maximum number of environments to return.\nIf unspecified, defaults to 50. Maximum is 1000.
|
|
9315
|
+
*/
|
|
9316
|
+
page_size?: number | undefined;
|
|
9317
|
+
/**
|
|
9318
|
+
* Optional. Pagination token.
|
|
9319
|
+
*/
|
|
9320
|
+
page_token?: string | undefined;
|
|
9321
|
+
};
|
|
9322
|
+
|
|
8510
9323
|
/**
|
|
8511
9324
|
* Response for `ListEnvironments`.
|
|
8512
9325
|
*/
|
|
@@ -8610,6 +9423,20 @@ export declare class ListModelsResponse {
|
|
|
8610
9423
|
models?: Model[];
|
|
8611
9424
|
}
|
|
8612
9425
|
|
|
9426
|
+
/**
|
|
9427
|
+
* @license
|
|
9428
|
+
* Copyright 2026 Google LLC
|
|
9429
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
9430
|
+
*
|
|
9431
|
+
* g3-prettier-ignore-file
|
|
9432
|
+
*/
|
|
9433
|
+
declare type ListTriggerExecutionsGlobals = {
|
|
9434
|
+
/**
|
|
9435
|
+
* Which version of the API to use.
|
|
9436
|
+
*/
|
|
9437
|
+
api_version?: string | undefined;
|
|
9438
|
+
};
|
|
9439
|
+
|
|
8613
9440
|
declare type ListTriggerExecutionsParams = {
|
|
8614
9441
|
api_version?: string;
|
|
8615
9442
|
pageSize?: number;
|
|
@@ -8656,6 +9483,20 @@ declare type ListTriggerExecutionsResponse = {
|
|
|
8656
9483
|
trigger_executions?: Array<TriggerExecution> | undefined;
|
|
8657
9484
|
};
|
|
8658
9485
|
|
|
9486
|
+
/**
|
|
9487
|
+
* @license
|
|
9488
|
+
* Copyright 2026 Google LLC
|
|
9489
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
9490
|
+
*
|
|
9491
|
+
* g3-prettier-ignore-file
|
|
9492
|
+
*/
|
|
9493
|
+
declare type ListTriggersGlobals = {
|
|
9494
|
+
/**
|
|
9495
|
+
* Which version of the API to use.
|
|
9496
|
+
*/
|
|
9497
|
+
api_version?: string | undefined;
|
|
9498
|
+
};
|
|
9499
|
+
|
|
8659
9500
|
declare type ListTriggersParams = {
|
|
8660
9501
|
api_version?: string;
|
|
8661
9502
|
filter?: string;
|
|
@@ -8734,6 +9575,20 @@ export declare class ListTuningJobsResponse {
|
|
|
8734
9575
|
tuningJobs?: TuningJob[];
|
|
8735
9576
|
}
|
|
8736
9577
|
|
|
9578
|
+
/**
|
|
9579
|
+
* @license
|
|
9580
|
+
* Copyright 2026 Google LLC
|
|
9581
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
9582
|
+
*
|
|
9583
|
+
* g3-prettier-ignore-file
|
|
9584
|
+
*/
|
|
9585
|
+
declare type ListWebhooksGlobals = {
|
|
9586
|
+
/**
|
|
9587
|
+
* Which version of the API to use.
|
|
9588
|
+
*/
|
|
9589
|
+
api_version?: string | undefined;
|
|
9590
|
+
};
|
|
9591
|
+
|
|
8737
9592
|
declare type ListWebhooksParams = ListWebhooksRequest;
|
|
8738
9593
|
|
|
8739
9594
|
declare type ListWebhooksRequest = {
|
|
@@ -9554,6 +10409,19 @@ export declare interface LiveServerToolCallCancellation {
|
|
|
9554
10409
|
ids?: string[];
|
|
9555
10410
|
}
|
|
9556
10411
|
|
|
10412
|
+
/**
|
|
10413
|
+
* @license
|
|
10414
|
+
* Copyright 2026 Google LLC
|
|
10415
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
10416
|
+
*
|
|
10417
|
+
* g3-prettier-ignore-file
|
|
10418
|
+
*/
|
|
10419
|
+
declare interface Logger {
|
|
10420
|
+
group(label?: string): void;
|
|
10421
|
+
groupEnd(): void;
|
|
10422
|
+
log(message: any, ...args: any[]): void;
|
|
10423
|
+
}
|
|
10424
|
+
|
|
9557
10425
|
/** 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. */
|
|
9558
10426
|
export declare interface LogprobsResult {
|
|
9559
10427
|
/** 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`. */
|
|
@@ -9738,14 +10606,14 @@ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
|
|
|
9738
10606
|
|
|
9739
10607
|
declare type MCPServerToolResultDelta = {
|
|
9740
10608
|
name?: string | undefined;
|
|
9741
|
-
result:
|
|
10609
|
+
result: Array<FunctionResultSubcontent> | MCPServerToolResultDeltaResult | string;
|
|
9742
10610
|
server_name?: string | undefined;
|
|
9743
10611
|
type: "mcp_server_tool_result";
|
|
9744
10612
|
};
|
|
9745
10613
|
|
|
9746
10614
|
declare type MCPServerToolResultDeltaResult = {};
|
|
9747
10615
|
|
|
9748
|
-
declare type MCPServerToolResultDeltaResultUnion =
|
|
10616
|
+
declare type MCPServerToolResultDeltaResultUnion = Array<FunctionResultSubcontent> | MCPServerToolResultDeltaResult | string;
|
|
9749
10617
|
|
|
9750
10618
|
declare type MCPServerToolResultStep$ = MCPServerToolResultStep;
|
|
9751
10619
|
|
|
@@ -9764,7 +10632,7 @@ declare type MCPServerToolResultStep = {
|
|
|
9764
10632
|
/**
|
|
9765
10633
|
* Required. The output from the MCP server call. Can be simple text or rich content.
|
|
9766
10634
|
*/
|
|
9767
|
-
result:
|
|
10635
|
+
result: Array<FunctionResultSubcontent> | MCPServerToolResultStepResult | string;
|
|
9768
10636
|
/**
|
|
9769
10637
|
* The name of the used MCP server.
|
|
9770
10638
|
*/
|
|
@@ -9777,7 +10645,7 @@ declare type MCPServerToolResultStepResult = {};
|
|
|
9777
10645
|
/**
|
|
9778
10646
|
* Required. The output from the MCP server call. Can be simple text or rich content.
|
|
9779
10647
|
*/
|
|
9780
|
-
declare type MCPServerToolResultStepResultUnion =
|
|
10648
|
+
declare type MCPServerToolResultStepResultUnion = Array<FunctionResultSubcontent> | MCPServerToolResultStepResult | string;
|
|
9781
10649
|
|
|
9782
10650
|
/**
|
|
9783
10651
|
* Creates a McpCallableTool from MCP clients and an optional config.
|
|
@@ -9819,7 +10687,23 @@ export declare enum MediaModality {
|
|
|
9819
10687
|
DOCUMENT = "DOCUMENT"
|
|
9820
10688
|
}
|
|
9821
10689
|
|
|
9822
|
-
|
|
10690
|
+
/** How the model processes input media for understanding. */
|
|
10691
|
+
export declare enum MediaProcessing {
|
|
10692
|
+
/**
|
|
10693
|
+
* Default. Uses model-specific processing
|
|
10694
|
+
*/
|
|
10695
|
+
MEDIA_PROCESSING_UNSPECIFIED = "MEDIA_PROCESSING_UNSPECIFIED",
|
|
10696
|
+
/**
|
|
10697
|
+
* Fixed-rate frame extraction. All frames placed in context.
|
|
10698
|
+
*/
|
|
10699
|
+
STATIC = "STATIC",
|
|
10700
|
+
/**
|
|
10701
|
+
* Model-driven dynamic navigation. Recommended for most use cases.
|
|
10702
|
+
*/
|
|
10703
|
+
AGENTIC = "AGENTIC"
|
|
10704
|
+
}
|
|
10705
|
+
|
|
10706
|
+
declare type MediaProcessing_2 = StaticMediaProcessing;
|
|
9823
10707
|
|
|
9824
10708
|
/** The media resolution to use. */
|
|
9825
10709
|
export declare enum MediaResolution {
|
|
@@ -9975,7 +10859,7 @@ export declare interface Model {
|
|
|
9975
10859
|
/**
|
|
9976
10860
|
* The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
|
|
9977
10861
|
*/
|
|
9978
|
-
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 & {});
|
|
10862
|
+
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 & {});
|
|
9979
10863
|
|
|
9980
10864
|
/** 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. */
|
|
9981
10865
|
export declare interface ModelArmorConfig {
|
|
@@ -10386,6 +11270,12 @@ export declare class Models extends BaseModule {
|
|
|
10386
11270
|
private generateVideosInternal;
|
|
10387
11271
|
}
|
|
10388
11272
|
|
|
11273
|
+
declare namespace models {
|
|
11274
|
+
export {
|
|
11275
|
+
Security
|
|
11276
|
+
}
|
|
11277
|
+
}
|
|
11278
|
+
|
|
10389
11279
|
/** Config for model selection. */
|
|
10390
11280
|
export declare interface ModelSelectionConfig {
|
|
10391
11281
|
/** Options for feature selection preference. */
|
|
@@ -10474,6 +11364,14 @@ declare type Network = EnvironmentNetworkEgressAllowlist | NetworkEnum;
|
|
|
10474
11364
|
|
|
10475
11365
|
declare type NetworkEnum = "disabled";
|
|
10476
11366
|
|
|
11367
|
+
declare type OAuth2PasswordFlow = {
|
|
11368
|
+
username: string;
|
|
11369
|
+
password: string;
|
|
11370
|
+
client_id?: string | undefined;
|
|
11371
|
+
client_secret?: string | undefined;
|
|
11372
|
+
token_url: string;
|
|
11373
|
+
};
|
|
11374
|
+
|
|
10477
11375
|
/** A long-running operation. */
|
|
10478
11376
|
export declare interface Operation<T> {
|
|
10479
11377
|
/** 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}`. */
|
|
@@ -10529,6 +11427,102 @@ export declare class Operations extends BaseModule {
|
|
|
10529
11427
|
private fetchPredictVideosOperationInternal;
|
|
10530
11428
|
}
|
|
10531
11429
|
|
|
11430
|
+
declare namespace operations {
|
|
11431
|
+
export {
|
|
11432
|
+
CancelInteractionByIdGlobals,
|
|
11433
|
+
CancelInteractionByIdRequest,
|
|
11434
|
+
CreateAgentGlobals,
|
|
11435
|
+
CreateAgentRequest,
|
|
11436
|
+
CreateEnvironmentGlobals,
|
|
11437
|
+
CreateEnvironmentRequest_2 as CreateEnvironmentRequest,
|
|
11438
|
+
CreateInteractionGlobals,
|
|
11439
|
+
CreateInteractionRequestBody,
|
|
11440
|
+
CreateInteractionRequest,
|
|
11441
|
+
CreateInteractionResponse,
|
|
11442
|
+
CreateTriggerGlobals,
|
|
11443
|
+
CreateTriggerRequest,
|
|
11444
|
+
CreateWebhookGlobals,
|
|
11445
|
+
CreateWebhookRequest,
|
|
11446
|
+
DeleteAgentGlobals,
|
|
11447
|
+
DeleteAgentRequest,
|
|
11448
|
+
DeleteEnvironmentGlobals,
|
|
11449
|
+
DeleteEnvironmentRequest,
|
|
11450
|
+
DeleteInteractionGlobals,
|
|
11451
|
+
DeleteInteractionRequest,
|
|
11452
|
+
DeleteTriggerGlobals,
|
|
11453
|
+
DeleteTriggerRequest,
|
|
11454
|
+
DeleteWebhookGlobals,
|
|
11455
|
+
DeleteWebhookRequest,
|
|
11456
|
+
GetAgentGlobals,
|
|
11457
|
+
GetAgentRequest,
|
|
11458
|
+
GetEnvironmentFilesGlobals,
|
|
11459
|
+
GetEnvironmentFilesRequest,
|
|
11460
|
+
GetEnvironmentGlobals,
|
|
11461
|
+
GetEnvironmentRequest,
|
|
11462
|
+
GetInteractionByIdGlobals,
|
|
11463
|
+
GetInteractionByIdRequest,
|
|
11464
|
+
GetInteractionByIdResponse,
|
|
11465
|
+
GetTriggerGlobals,
|
|
11466
|
+
GetTriggerRequest,
|
|
11467
|
+
GetWebhookGlobals,
|
|
11468
|
+
GetWebhookRequest,
|
|
11469
|
+
ListAgentsGlobals,
|
|
11470
|
+
ListAgentsRequest,
|
|
11471
|
+
ListEnvironmentsGlobals,
|
|
11472
|
+
ListEnvironmentsRequest,
|
|
11473
|
+
ListTriggerExecutionsGlobals,
|
|
11474
|
+
ListTriggerExecutionsRequest,
|
|
11475
|
+
ListTriggersGlobals,
|
|
11476
|
+
ListTriggersRequest,
|
|
11477
|
+
ListWebhooksGlobals,
|
|
11478
|
+
ListWebhooksRequest,
|
|
11479
|
+
CancelInteractionByIdParams,
|
|
11480
|
+
CreateAgentParams,
|
|
11481
|
+
CreateInteractionParams,
|
|
11482
|
+
CreateInteractionParamsNonStreaming,
|
|
11483
|
+
CreateInteractionParamsStreaming,
|
|
11484
|
+
CreateAgentInteractionParams,
|
|
11485
|
+
CreateAgentInteractionParamsNonStreaming,
|
|
11486
|
+
CreateAgentInteractionParamsStreaming,
|
|
11487
|
+
CreateModelInteractionParams,
|
|
11488
|
+
CreateModelInteractionParamsNonStreaming,
|
|
11489
|
+
CreateModelInteractionParamsStreaming,
|
|
11490
|
+
CreateTriggerParams,
|
|
11491
|
+
CreateWebhookParams,
|
|
11492
|
+
DeleteAgentParams,
|
|
11493
|
+
DeleteEnvironmentParams,
|
|
11494
|
+
DeleteInteractionParams,
|
|
11495
|
+
DeleteTriggerParams,
|
|
11496
|
+
DeleteWebhookParams,
|
|
11497
|
+
GetAgentParams,
|
|
11498
|
+
GetEnvironmentFilesParams,
|
|
11499
|
+
GetEnvironmentParams,
|
|
11500
|
+
GetInteractionByIdParams,
|
|
11501
|
+
GetInteractionByIdParamsNonStreaming,
|
|
11502
|
+
GetInteractionByIdParamsStreaming,
|
|
11503
|
+
GetTriggerParams,
|
|
11504
|
+
GetWebhookParams,
|
|
11505
|
+
ListAgentsParams_2 as ListAgentsParams,
|
|
11506
|
+
ListEnvironmentsParams,
|
|
11507
|
+
ListTriggerExecutionsParams_2 as ListTriggerExecutionsParams,
|
|
11508
|
+
ListTriggersParams_2 as ListTriggersParams,
|
|
11509
|
+
ListWebhooksParams,
|
|
11510
|
+
RunTriggerParams,
|
|
11511
|
+
UpdateTriggerParams,
|
|
11512
|
+
UpdateWebhookParams,
|
|
11513
|
+
PingWebhookGlobals,
|
|
11514
|
+
PingWebhookRequest_2 as PingWebhookRequest,
|
|
11515
|
+
RotateSigningSecretGlobals,
|
|
11516
|
+
RotateSigningSecretRequest_2 as RotateSigningSecretRequest,
|
|
11517
|
+
RunTriggerGlobals,
|
|
11518
|
+
RunTriggerRequest,
|
|
11519
|
+
UpdateTriggerGlobals,
|
|
11520
|
+
UpdateTriggerRequest,
|
|
11521
|
+
UpdateWebhookGlobals,
|
|
11522
|
+
UpdateWebhookRequest
|
|
11523
|
+
}
|
|
11524
|
+
}
|
|
11525
|
+
|
|
10532
11526
|
/** Outcome of the code execution. */
|
|
10533
11527
|
export declare enum Outcome {
|
|
10534
11528
|
/**
|
|
@@ -10780,6 +11774,8 @@ export declare interface Part {
|
|
|
10780
11774
|
videoMetadata?: VideoMetadata;
|
|
10781
11775
|
/** 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. */
|
|
10782
11776
|
partMetadata?: Record<string, unknown>;
|
|
11777
|
+
/** How the model processes this part's media for understanding. */
|
|
11778
|
+
mediaProcessing?: MediaProcessing;
|
|
10783
11779
|
}
|
|
10784
11780
|
|
|
10785
11781
|
/** Partial argument value of the function call. This data type is not supported in Gemini API. */
|
|
@@ -10894,6 +11890,13 @@ export declare enum PhishBlockThreshold {
|
|
|
10894
11890
|
BLOCK_ONLY_EXTREMELY_HIGH = "BLOCK_ONLY_EXTREMELY_HIGH"
|
|
10895
11891
|
}
|
|
10896
11892
|
|
|
11893
|
+
declare type PingWebhookGlobals = {
|
|
11894
|
+
/**
|
|
11895
|
+
* Which version of the API to use.
|
|
11896
|
+
*/
|
|
11897
|
+
api_version?: string | undefined;
|
|
11898
|
+
};
|
|
11899
|
+
|
|
10897
11900
|
declare type PingWebhookRequest$ = PingWebhookRequest;
|
|
10898
11901
|
|
|
10899
11902
|
/**
|
|
@@ -10908,6 +11911,24 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
|
|
|
10908
11911
|
*/
|
|
10909
11912
|
declare type PingWebhookRequest = {};
|
|
10910
11913
|
|
|
11914
|
+
declare type PingWebhookRequest_2 = {
|
|
11915
|
+
/**
|
|
11916
|
+
* Which version of the API to use.
|
|
11917
|
+
*/
|
|
11918
|
+
api_version?: string | undefined;
|
|
11919
|
+
/**
|
|
11920
|
+
* Required. The ID of the webhook to ping.
|
|
11921
|
+
*
|
|
11922
|
+
* @remarks
|
|
11923
|
+
* Format: `{webhook_id}`
|
|
11924
|
+
*/
|
|
11925
|
+
id: string;
|
|
11926
|
+
/**
|
|
11927
|
+
* The request body.
|
|
11928
|
+
*/
|
|
11929
|
+
body?: webhooks.PingWebhookRequest | undefined;
|
|
11930
|
+
};
|
|
11931
|
+
|
|
10911
11932
|
declare type Place$ = GoogleMapsResultPlaces;
|
|
10912
11933
|
|
|
10913
11934
|
declare type Place$2 = GoogleMapsResultPlaces;
|
|
@@ -11037,10 +12058,101 @@ export declare interface ProactivityConfig {
|
|
|
11037
12058
|
/**
|
|
11038
12059
|
* How the model processes this video for understanding.
|
|
11039
12060
|
*/
|
|
11040
|
-
declare type Processing =
|
|
12061
|
+
declare type Processing = MediaProcessing_2 | ProcessingEnum;
|
|
12062
|
+
|
|
12063
|
+
declare type ProcessingCall$ = ProcessingCallDelta;
|
|
12064
|
+
|
|
12065
|
+
/**
|
|
12066
|
+
* @license
|
|
12067
|
+
* Copyright 2026 Google LLC
|
|
12068
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
12069
|
+
*
|
|
12070
|
+
* g3-prettier-ignore-file
|
|
12071
|
+
*/
|
|
12072
|
+
/**
|
|
12073
|
+
* Streaming delta for a server-initiated media processing step.
|
|
12074
|
+
*/
|
|
12075
|
+
declare type ProcessingCallDelta = {
|
|
12076
|
+
/**
|
|
12077
|
+
* A signature hash for backend validation.
|
|
12078
|
+
*/
|
|
12079
|
+
signature?: string | undefined;
|
|
12080
|
+
type: "processing_call";
|
|
12081
|
+
};
|
|
12082
|
+
|
|
12083
|
+
declare type ProcessingCallStep$ = ProcessingCallStep;
|
|
12084
|
+
|
|
12085
|
+
/**
|
|
12086
|
+
* @license
|
|
12087
|
+
* Copyright 2026 Google LLC
|
|
12088
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
12089
|
+
*
|
|
12090
|
+
* g3-prettier-ignore-file
|
|
12091
|
+
*/
|
|
12092
|
+
/**
|
|
12093
|
+
* A server-initiated processing step for media analysis (e.g. video
|
|
12094
|
+
*
|
|
12095
|
+
* @remarks
|
|
12096
|
+
* understanding).
|
|
12097
|
+
*/
|
|
12098
|
+
declare type ProcessingCallStep = {
|
|
12099
|
+
/**
|
|
12100
|
+
* Required. A unique ID for this specific tool call.
|
|
12101
|
+
*/
|
|
12102
|
+
id: string;
|
|
12103
|
+
/**
|
|
12104
|
+
* A signature hash for backend validation.
|
|
12105
|
+
*/
|
|
12106
|
+
signature?: string | undefined;
|
|
12107
|
+
type: "processing_call";
|
|
12108
|
+
};
|
|
11041
12109
|
|
|
11042
12110
|
declare type ProcessingEnum = "static" | "agentic" | (string & {});
|
|
11043
12111
|
|
|
12112
|
+
declare type ProcessingResult$ = ProcessingResultDelta;
|
|
12113
|
+
|
|
12114
|
+
/**
|
|
12115
|
+
* @license
|
|
12116
|
+
* Copyright 2026 Google LLC
|
|
12117
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
12118
|
+
*
|
|
12119
|
+
* g3-prettier-ignore-file
|
|
12120
|
+
*/
|
|
12121
|
+
/**
|
|
12122
|
+
* Streaming delta for the result of a server-initiated media processing step.
|
|
12123
|
+
*/
|
|
12124
|
+
declare type ProcessingResultDelta = {
|
|
12125
|
+
/**
|
|
12126
|
+
* A signature hash for backend validation.
|
|
12127
|
+
*/
|
|
12128
|
+
signature?: string | undefined;
|
|
12129
|
+
type: "processing_result";
|
|
12130
|
+
};
|
|
12131
|
+
|
|
12132
|
+
declare type ProcessingResultStep$ = ProcessingResultStep;
|
|
12133
|
+
|
|
12134
|
+
/**
|
|
12135
|
+
* @license
|
|
12136
|
+
* Copyright 2026 Google LLC
|
|
12137
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
12138
|
+
*
|
|
12139
|
+
* g3-prettier-ignore-file
|
|
12140
|
+
*/
|
|
12141
|
+
/**
|
|
12142
|
+
* The result of a server-initiated media processing step.
|
|
12143
|
+
*/
|
|
12144
|
+
declare type ProcessingResultStep = {
|
|
12145
|
+
/**
|
|
12146
|
+
* Required. ID to match the ID from the function call block.
|
|
12147
|
+
*/
|
|
12148
|
+
call_id: string;
|
|
12149
|
+
/**
|
|
12150
|
+
* A signature hash for backend validation.
|
|
12151
|
+
*/
|
|
12152
|
+
signature?: string | undefined;
|
|
12153
|
+
type: "processing_result";
|
|
12154
|
+
};
|
|
12155
|
+
|
|
11044
12156
|
/** An image of the product. */
|
|
11045
12157
|
export declare interface ProductImage {
|
|
11046
12158
|
/** An image of the product to be recontextualized. */
|
|
@@ -11586,6 +12698,39 @@ export declare interface ReplicatedVoiceConfig {
|
|
|
11586
12698
|
voiceConsentSignature?: VoiceConsentSignature;
|
|
11587
12699
|
}
|
|
11588
12700
|
|
|
12701
|
+
/**
|
|
12702
|
+
* An error that is raised when a HTTP request was aborted by the client error.
|
|
12703
|
+
*/
|
|
12704
|
+
declare class RequestAbortedError extends HTTPClientError {
|
|
12705
|
+
readonly name = "RequestAbortedError";
|
|
12706
|
+
}
|
|
12707
|
+
|
|
12708
|
+
declare type RequestConfig = {
|
|
12709
|
+
method: string;
|
|
12710
|
+
path: string;
|
|
12711
|
+
baseURL?: string | URL | undefined;
|
|
12712
|
+
query?: string;
|
|
12713
|
+
body?: RequestInit["body"];
|
|
12714
|
+
headers?: HeadersInit;
|
|
12715
|
+
security?: SecurityState | null;
|
|
12716
|
+
uaHeader?: string;
|
|
12717
|
+
userAgent?: string | undefined;
|
|
12718
|
+
timeout_ms?: number;
|
|
12719
|
+
};
|
|
12720
|
+
|
|
12721
|
+
declare type RequestErrorHook = (err: unknown, req: Request) => Awaitable<void>;
|
|
12722
|
+
|
|
12723
|
+
declare type RequestInput = {
|
|
12724
|
+
/**
|
|
12725
|
+
* The URL the request will use.
|
|
12726
|
+
*/
|
|
12727
|
+
url: URL;
|
|
12728
|
+
/**
|
|
12729
|
+
* Options used to create a [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request).
|
|
12730
|
+
*/
|
|
12731
|
+
options?: RequestInit | undefined;
|
|
12732
|
+
};
|
|
12733
|
+
|
|
11589
12734
|
declare type RequestOptions = {
|
|
11590
12735
|
/**
|
|
11591
12736
|
* Sets a timeout, in milliseconds, on HTTP requests made by an SDK method. If
|
|
@@ -11628,6 +12773,14 @@ declare type RequestOptions = {
|
|
|
11628
12773
|
extra_body?: Record<string, unknown>;
|
|
11629
12774
|
} & Omit<RequestInit, "method" | "body">;
|
|
11630
12775
|
|
|
12776
|
+
/**
|
|
12777
|
+
* An error that is raised when a HTTP request timed out due to an AbortSignal
|
|
12778
|
+
* signal timeout.
|
|
12779
|
+
*/
|
|
12780
|
+
declare class RequestTimeoutError extends HTTPClientError {
|
|
12781
|
+
readonly name = "RequestTimeoutError";
|
|
12782
|
+
}
|
|
12783
|
+
|
|
11631
12784
|
/**
|
|
11632
12785
|
* The video output resolution. Defaults to 720p.
|
|
11633
12786
|
*/
|
|
@@ -11661,6 +12814,8 @@ declare type ResponseFormat_2 = AudioResponseFormat_2 | ImageResponseFormat_2 |
|
|
|
11661
12814
|
[k: string]: any;
|
|
11662
12815
|
};
|
|
11663
12816
|
|
|
12817
|
+
declare type ResponseHook = (res: Response, req: Request) => Awaitable<void>;
|
|
12818
|
+
|
|
11664
12819
|
/**
|
|
11665
12820
|
* @license
|
|
11666
12821
|
* Copyright 2026 Google LLC
|
|
@@ -11692,6 +12847,32 @@ declare type Result$2 = GoogleSearchResult;
|
|
|
11692
12847
|
|
|
11693
12848
|
declare type Result$3 = URLContextResult;
|
|
11694
12849
|
|
|
12850
|
+
/**
|
|
12851
|
+
* @license
|
|
12852
|
+
* Copyright 2026 Google LLC
|
|
12853
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
12854
|
+
*
|
|
12855
|
+
* g3-prettier-ignore-file
|
|
12856
|
+
*/
|
|
12857
|
+
/**
|
|
12858
|
+
* A monad that captures the result of a function call or an error if it was not
|
|
12859
|
+
* successful. Railway programming, enabled by this type, can be a nicer
|
|
12860
|
+
* alternative to traditional exception throwing because it allows functions to
|
|
12861
|
+
* declare all _known_ errors with static types and then check for them
|
|
12862
|
+
* exhaustively in application code. Thrown exception have a type of `unknown`
|
|
12863
|
+
* and break out of regular control flow of programs making them harder to
|
|
12864
|
+
* inspect and more verbose work with due to try-catch blocks.
|
|
12865
|
+
*/
|
|
12866
|
+
declare type Result<T, E = unknown> = {
|
|
12867
|
+
ok: true;
|
|
12868
|
+
value: T;
|
|
12869
|
+
error?: never;
|
|
12870
|
+
} | {
|
|
12871
|
+
ok: false;
|
|
12872
|
+
value?: never;
|
|
12873
|
+
error: E;
|
|
12874
|
+
};
|
|
12875
|
+
|
|
11695
12876
|
declare type Retrieval$ = Retrieval_2;
|
|
11696
12877
|
|
|
11697
12878
|
/** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
|
|
@@ -11889,6 +13070,13 @@ declare type ReviewSnippet = {
|
|
|
11889
13070
|
*/
|
|
11890
13071
|
declare type RevocationBehavior = "revoke_previous_secrets_after_h24" | "revoke_previous_secrets_immediately";
|
|
11891
13072
|
|
|
13073
|
+
declare type RotateSigningSecretGlobals = {
|
|
13074
|
+
/**
|
|
13075
|
+
* Which version of the API to use.
|
|
13076
|
+
*/
|
|
13077
|
+
api_version?: string | undefined;
|
|
13078
|
+
};
|
|
13079
|
+
|
|
11892
13080
|
declare type RotateSigningSecretRequest$ = RotateSigningSecretRequest;
|
|
11893
13081
|
|
|
11894
13082
|
/**
|
|
@@ -11901,12 +13089,44 @@ declare type RotateSigningSecretRequest = {
|
|
|
11901
13089
|
revocation_behavior?: RevocationBehavior | undefined;
|
|
11902
13090
|
};
|
|
11903
13091
|
|
|
13092
|
+
declare type RotateSigningSecretRequest_2 = {
|
|
13093
|
+
/**
|
|
13094
|
+
* Which version of the API to use.
|
|
13095
|
+
*/
|
|
13096
|
+
api_version?: string | undefined;
|
|
13097
|
+
/**
|
|
13098
|
+
* Required. The ID of the webhook for which to generate a signing secret.
|
|
13099
|
+
*
|
|
13100
|
+
* @remarks
|
|
13101
|
+
* Format: `{webhook_id}`
|
|
13102
|
+
*/
|
|
13103
|
+
id: string;
|
|
13104
|
+
/**
|
|
13105
|
+
* The request body.
|
|
13106
|
+
*/
|
|
13107
|
+
body?: webhooks.RotateSigningSecretRequest | undefined;
|
|
13108
|
+
};
|
|
13109
|
+
|
|
11904
13110
|
/** Rouge metric value for an instance. This data type is not supported in Gemini API. */
|
|
11905
13111
|
export declare interface RougeMetricValue {
|
|
11906
13112
|
/** Output only. Rouge score. */
|
|
11907
13113
|
score?: number;
|
|
11908
13114
|
}
|
|
11909
13115
|
|
|
13116
|
+
/**
|
|
13117
|
+
* @license
|
|
13118
|
+
* Copyright 2026 Google LLC
|
|
13119
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
13120
|
+
*
|
|
13121
|
+
* g3-prettier-ignore-file
|
|
13122
|
+
*/
|
|
13123
|
+
declare type RunTriggerGlobals = {
|
|
13124
|
+
/**
|
|
13125
|
+
* Which version of the API to use.
|
|
13126
|
+
*/
|
|
13127
|
+
api_version?: string | undefined;
|
|
13128
|
+
};
|
|
13129
|
+
|
|
11910
13130
|
declare type RunTriggerParams = Omit<RunTriggerRequest, "trigger_id">;
|
|
11911
13131
|
|
|
11912
13132
|
declare type RunTriggerRequest = {
|
|
@@ -12148,6 +13368,70 @@ export declare interface ScribbleImage {
|
|
|
12148
13368
|
image?: Image_2;
|
|
12149
13369
|
}
|
|
12150
13370
|
|
|
13371
|
+
declare class SDKHooks implements Hooks {
|
|
13372
|
+
sdkInitHooks: SDKInitHook[];
|
|
13373
|
+
beforeCreateRequestHooks: BeforeCreateRequestHook[];
|
|
13374
|
+
beforeRequestHooks: BeforeRequestHook_2[];
|
|
13375
|
+
afterSuccessHooks: AfterSuccessHook[];
|
|
13376
|
+
afterErrorHooks: AfterErrorHook[];
|
|
13377
|
+
constructor();
|
|
13378
|
+
registerSDKInitHook(hook: SDKInitHook): void;
|
|
13379
|
+
registerBeforeCreateRequestHook(hook: BeforeCreateRequestHook): void;
|
|
13380
|
+
registerBeforeRequestHook(hook: BeforeRequestHook_2): void;
|
|
13381
|
+
registerAfterSuccessHook(hook: AfterSuccessHook): void;
|
|
13382
|
+
registerAfterErrorHook(hook: AfterErrorHook): void;
|
|
13383
|
+
sdkInit(opts: SDKOptions): SDKOptions;
|
|
13384
|
+
beforeCreateRequest(hookCtx: BeforeCreateRequestContext, input: RequestInput): RequestInput;
|
|
13385
|
+
beforeRequest(hookCtx: BeforeRequestContext, request: Request): Promise<Request>;
|
|
13386
|
+
afterSuccess(hookCtx: AfterSuccessContext, response: Response): Promise<Response>;
|
|
13387
|
+
afterError(hookCtx: AfterErrorContext, response: Response | null, error: unknown): Promise<{
|
|
13388
|
+
response: Response | null;
|
|
13389
|
+
error: unknown;
|
|
13390
|
+
}>;
|
|
13391
|
+
}
|
|
13392
|
+
|
|
13393
|
+
/**
|
|
13394
|
+
* SDKInitHook is called when the SDK is initializing. The
|
|
13395
|
+
* hook can return a new baseURL and HTTP client to be used by the SDK.
|
|
13396
|
+
*/
|
|
13397
|
+
declare interface SDKInitHook {
|
|
13398
|
+
sdkInit: (opts: SDKOptions) => SDKOptions;
|
|
13399
|
+
}
|
|
13400
|
+
|
|
13401
|
+
declare type SDKOptions = {
|
|
13402
|
+
/**
|
|
13403
|
+
* The security details required to authenticate the SDK
|
|
13404
|
+
*/
|
|
13405
|
+
security?: models.Security | (() => Promise<models.Security>) | undefined;
|
|
13406
|
+
/**
|
|
13407
|
+
* Allows setting the api_version parameter for all supported operations
|
|
13408
|
+
*/
|
|
13409
|
+
api_version?: string | undefined;
|
|
13410
|
+
/**
|
|
13411
|
+
* Allows setting the user_project parameter for all supported operations
|
|
13412
|
+
*/
|
|
13413
|
+
user_project?: string | undefined;
|
|
13414
|
+
http_client?: HTTPClient;
|
|
13415
|
+
/**
|
|
13416
|
+
* Allows overriding the default server used by the SDK
|
|
13417
|
+
*/
|
|
13418
|
+
server_idx?: number | undefined;
|
|
13419
|
+
/**
|
|
13420
|
+
* Allows overriding the default server URL used by the SDK
|
|
13421
|
+
*/
|
|
13422
|
+
server_url?: string | undefined;
|
|
13423
|
+
/**
|
|
13424
|
+
* Allows overriding the default user agent used by the SDK
|
|
13425
|
+
*/
|
|
13426
|
+
user_agent?: string | undefined;
|
|
13427
|
+
/**
|
|
13428
|
+
* Allows overriding the default retry config used by the SDK
|
|
13429
|
+
*/
|
|
13430
|
+
retry_config?: RetryConfig;
|
|
13431
|
+
timeout_ms?: number;
|
|
13432
|
+
debug_logger?: Logger;
|
|
13433
|
+
};
|
|
13434
|
+
|
|
12151
13435
|
/** The entry point used to search for grounding sources. */
|
|
12152
13436
|
export declare interface SearchEntryPoint {
|
|
12153
13437
|
/** Optional. Web content snippet that can be embedded in a web page
|
|
@@ -12166,6 +13450,45 @@ export declare interface SearchTypes {
|
|
|
12166
13450
|
webSearch?: WebSearch;
|
|
12167
13451
|
}
|
|
12168
13452
|
|
|
13453
|
+
/**
|
|
13454
|
+
* @license
|
|
13455
|
+
* Copyright 2026 Google LLC
|
|
13456
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
13457
|
+
*
|
|
13458
|
+
* g3-prettier-ignore-file
|
|
13459
|
+
*/
|
|
13460
|
+
declare type Security = {
|
|
13461
|
+
/**
|
|
13462
|
+
* OAuth access token sent as a bearer Authorization header.
|
|
13463
|
+
*/
|
|
13464
|
+
access_token?: string | undefined;
|
|
13465
|
+
/**
|
|
13466
|
+
* Gemini API key sent as x-goog-api-key.
|
|
13467
|
+
*/
|
|
13468
|
+
api_key?: string | undefined;
|
|
13469
|
+
/**
|
|
13470
|
+
* Additional default headers to apply before request-specific headers and auth.
|
|
13471
|
+
*/
|
|
13472
|
+
default_headers?: {
|
|
13473
|
+
[k: string]: string;
|
|
13474
|
+
} | undefined;
|
|
13475
|
+
};
|
|
13476
|
+
|
|
13477
|
+
declare type SecurityState = {
|
|
13478
|
+
basic: {
|
|
13479
|
+
username?: string | undefined;
|
|
13480
|
+
password?: string | undefined;
|
|
13481
|
+
};
|
|
13482
|
+
headers: Record<string, string>;
|
|
13483
|
+
queryParams: Record<string, string>;
|
|
13484
|
+
cookies: Record<string, string>;
|
|
13485
|
+
oauth2: ({
|
|
13486
|
+
type: "password";
|
|
13487
|
+
} & OAuth2PasswordFlow) | {
|
|
13488
|
+
type: "none";
|
|
13489
|
+
};
|
|
13490
|
+
};
|
|
13491
|
+
|
|
12169
13492
|
/** Segment of the content this support belongs to. */
|
|
12170
13493
|
export declare interface Segment {
|
|
12171
13494
|
/** Output only. Start index in the given Part, measured in bytes.
|
|
@@ -12547,6 +13870,22 @@ export declare interface SlidingWindow {
|
|
|
12547
13870
|
targetTokens?: string;
|
|
12548
13871
|
}
|
|
12549
13872
|
|
|
13873
|
+
declare type Smart$ = SmartTranscriptionMode;
|
|
13874
|
+
|
|
13875
|
+
/**
|
|
13876
|
+
* @license
|
|
13877
|
+
* Copyright 2026 Google LLC
|
|
13878
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
13879
|
+
*
|
|
13880
|
+
* g3-prettier-ignore-file
|
|
13881
|
+
*/
|
|
13882
|
+
/**
|
|
13883
|
+
* Configuration for smart transcription mode.
|
|
13884
|
+
*/
|
|
13885
|
+
declare type SmartTranscriptionMode = {
|
|
13886
|
+
type: "smart";
|
|
13887
|
+
};
|
|
13888
|
+
|
|
12550
13889
|
declare type Source$ = Source;
|
|
12551
13890
|
|
|
12552
13891
|
/**
|
|
@@ -12758,7 +14097,7 @@ declare type Step$ = Step;
|
|
|
12758
14097
|
/**
|
|
12759
14098
|
* A step in the interaction.
|
|
12760
14099
|
*/
|
|
12761
|
-
declare type Step =
|
|
14100
|
+
declare type Step = CodeExecutionCallStep | CodeExecutionResultStep | FileSearchCallStep | FileSearchResultStep | FunctionCallStep | FunctionResultStep | GoogleMapsCallStep | GoogleMapsResultStep | GoogleSearchCallStep | GoogleSearchResultStep | MCPServerToolCallStep | MCPServerToolResultStep | ModelOutputStep | ProcessingCallStep | ProcessingResultStep | ThoughtStep | URLContextCallStep | URLContextResultStep | UserInputStep;
|
|
12762
14101
|
|
|
12763
14102
|
declare type StepDelta$ = StepDelta;
|
|
12764
14103
|
|
|
@@ -12779,7 +14118,7 @@ declare type StepDelta = {
|
|
|
12779
14118
|
metadata?: StepDeltaMetadata | undefined;
|
|
12780
14119
|
};
|
|
12781
14120
|
|
|
12782
|
-
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;
|
|
14121
|
+
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;
|
|
12783
14122
|
|
|
12784
14123
|
/**
|
|
12785
14124
|
* Optional metadata accompanying ANY streamed event.
|
|
@@ -13518,7 +14857,11 @@ export declare enum ToolType {
|
|
|
13518
14857
|
/**
|
|
13519
14858
|
* File search tool, maps to Tool.file_search.
|
|
13520
14859
|
*/
|
|
13521
|
-
FILE_SEARCH = "FILE_SEARCH"
|
|
14860
|
+
FILE_SEARCH = "FILE_SEARCH",
|
|
14861
|
+
/**
|
|
14862
|
+
* Media processing tool.
|
|
14863
|
+
*/
|
|
14864
|
+
MEDIA_PROCESSING = "MEDIA_PROCESSING"
|
|
13522
14865
|
}
|
|
13523
14866
|
|
|
13524
14867
|
export declare type ToolUnion = Tool | CallableTool;
|
|
@@ -13567,13 +14910,6 @@ export declare interface Transcription {
|
|
|
13567
14910
|
|
|
13568
14911
|
declare type TranscriptionConfig$ = TranscriptionConfig;
|
|
13569
14912
|
|
|
13570
|
-
/**
|
|
13571
|
-
* @license
|
|
13572
|
-
* Copyright 2026 Google LLC
|
|
13573
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
13574
|
-
*
|
|
13575
|
-
* g3-prettier-ignore-file
|
|
13576
|
-
*/
|
|
13577
14913
|
/**
|
|
13578
14914
|
* Configuration for speech recognition (transcription).
|
|
13579
14915
|
*/
|
|
@@ -13593,6 +14929,8 @@ declare type TranscriptionConfig = {
|
|
|
13593
14929
|
custom_vocabulary?: Array<string> | undefined;
|
|
13594
14930
|
/**
|
|
13595
14931
|
* Optional. Configures speaker diarization. Supported values: "speaker".
|
|
14932
|
+
*
|
|
14933
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13596
14934
|
*/
|
|
13597
14935
|
diarization_mode?: string | undefined;
|
|
13598
14936
|
/**
|
|
@@ -13602,15 +14940,35 @@ declare type TranscriptionConfig = {
|
|
|
13602
14940
|
* audio. If omitted or empty, defaults to automatic language detection.
|
|
13603
14941
|
*/
|
|
13604
14942
|
language_codes?: Array<string> | undefined;
|
|
14943
|
+
/**
|
|
14944
|
+
* Discriminated transcription mode options or enum.
|
|
14945
|
+
*/
|
|
14946
|
+
mode?: TranscriptionMode | TranscriptionConfigModeEnum | undefined;
|
|
13605
14947
|
/**
|
|
13606
14948
|
* Optional. The granularity of timestamps to include in the transcription output.
|
|
13607
14949
|
*
|
|
13608
14950
|
* @remarks
|
|
13609
14951
|
* Supported values: "word". If empty, no timestamps are generated.
|
|
14952
|
+
*
|
|
14953
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
13610
14954
|
*/
|
|
13611
14955
|
timestamp_granularities?: Array<string> | undefined;
|
|
13612
14956
|
};
|
|
13613
14957
|
|
|
14958
|
+
/**
|
|
14959
|
+
* Discriminated transcription mode options or enum.
|
|
14960
|
+
*/
|
|
14961
|
+
declare type TranscriptionConfigMode = TranscriptionMode | TranscriptionConfigModeEnum;
|
|
14962
|
+
|
|
14963
|
+
declare type TranscriptionConfigModeEnum = "verbatim" | "smart" | (string & {});
|
|
14964
|
+
|
|
14965
|
+
declare type TranscriptionMode$ = TranscriptionMode;
|
|
14966
|
+
|
|
14967
|
+
/**
|
|
14968
|
+
* Configuration for transcription mode.
|
|
14969
|
+
*/
|
|
14970
|
+
declare type TranscriptionMode = SmartTranscriptionMode | VerbatimTranscriptionMode;
|
|
14971
|
+
|
|
13614
14972
|
/**
|
|
13615
14973
|
* @license
|
|
13616
14974
|
* Copyright 2026 Google LLC
|
|
@@ -13621,17 +14979,17 @@ declare type TranscriptionConfig = {
|
|
|
13621
14979
|
/**
|
|
13622
14980
|
* 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.
|
|
13623
14981
|
*/
|
|
13624
|
-
declare type Transform = {
|
|
14982
|
+
declare type Transform = Array<{
|
|
13625
14983
|
[k: string]: string;
|
|
13626
|
-
} |
|
|
14984
|
+
}> | {
|
|
13627
14985
|
[k: string]: string;
|
|
13628
|
-
}
|
|
14986
|
+
};
|
|
13629
14987
|
|
|
13630
14988
|
/** Config for stream translation. */
|
|
13631
14989
|
export declare interface TranslationConfig {
|
|
13632
|
-
/**
|
|
14990
|
+
/** 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. */
|
|
13633
14991
|
echoTargetLanguage?: boolean;
|
|
13634
|
-
/**
|
|
14992
|
+
/** The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr"). */
|
|
13635
14993
|
targetLanguageCode?: string;
|
|
13636
14994
|
}
|
|
13637
14995
|
|
|
@@ -13726,14 +15084,6 @@ declare type TriggerCreateParams$ = TriggerCreateParams;
|
|
|
13726
15084
|
* Parameters for creating a trigger.
|
|
13727
15085
|
*/
|
|
13728
15086
|
declare type TriggerCreateParams = {
|
|
13729
|
-
/**
|
|
13730
|
-
* Required. The cron schedule on which the trigger should run. Standard cron format.
|
|
13731
|
-
*/
|
|
13732
|
-
schedule: string;
|
|
13733
|
-
/**
|
|
13734
|
-
* Required. Time zone in which the schedule should be interpreted.
|
|
13735
|
-
*/
|
|
13736
|
-
time_zone: string;
|
|
13737
15087
|
/**
|
|
13738
15088
|
* Optional. The display name of the trigger.
|
|
13739
15089
|
*/
|
|
@@ -13742,10 +15092,6 @@ declare type TriggerCreateParams = {
|
|
|
13742
15092
|
* Optional. The environment ID for the trigger execution.
|
|
13743
15093
|
*/
|
|
13744
15094
|
environment_id?: string | undefined;
|
|
13745
|
-
/**
|
|
13746
|
-
* Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
|
|
13747
|
-
*/
|
|
13748
|
-
max_consecutive_failures?: number | undefined;
|
|
13749
15095
|
/**
|
|
13750
15096
|
* Optional. The execution timeout for the triggered interaction.
|
|
13751
15097
|
*/
|
|
@@ -13754,6 +15100,18 @@ declare type TriggerCreateParams = {
|
|
|
13754
15100
|
* Required. The interaction request template to be executed.
|
|
13755
15101
|
*/
|
|
13756
15102
|
interaction: interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
|
|
15103
|
+
/**
|
|
15104
|
+
* Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
|
|
15105
|
+
*/
|
|
15106
|
+
max_consecutive_failures?: number | undefined;
|
|
15107
|
+
/**
|
|
15108
|
+
* Required. The cron schedule on which the trigger should run. Standard cron format.
|
|
15109
|
+
*/
|
|
15110
|
+
schedule: string;
|
|
15111
|
+
/**
|
|
15112
|
+
* Required. Time zone in which the schedule should be interpreted.
|
|
15113
|
+
*/
|
|
15114
|
+
time_zone: string;
|
|
13757
15115
|
};
|
|
13758
15116
|
|
|
13759
15117
|
declare type TriggerDeleteParams$ = DeleteTriggerParams;
|
|
@@ -13861,6 +15219,37 @@ declare namespace triggers {
|
|
|
13861
15219
|
}
|
|
13862
15220
|
}
|
|
13863
15221
|
|
|
15222
|
+
declare class Triggers_2 extends ClientSDK {
|
|
15223
|
+
/**
|
|
15224
|
+
* Lists triggers for a project.
|
|
15225
|
+
*/
|
|
15226
|
+
list(params?: ListTriggersParams_2, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.ListTriggersResponse>;
|
|
15227
|
+
/**
|
|
15228
|
+
* Creates a new trigger that will invoke the specified agent on the given cron schedule.
|
|
15229
|
+
*/
|
|
15230
|
+
create(params: CreateTriggerParams, options?: RequestOptions): APIPromise<triggers.Trigger>;
|
|
15231
|
+
/**
|
|
15232
|
+
* Deletes a trigger.
|
|
15233
|
+
*/
|
|
15234
|
+
delete(id: string, params?: DeleteTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
|
|
15235
|
+
/**
|
|
15236
|
+
* Gets details of a single trigger.
|
|
15237
|
+
*/
|
|
15238
|
+
get(id: string, params?: GetTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.Trigger>;
|
|
15239
|
+
/**
|
|
15240
|
+
* Updates a trigger.
|
|
15241
|
+
*/
|
|
15242
|
+
update(id: string, params: UpdateTriggerParams, options?: RequestOptions): APIPromise<triggers.Trigger>;
|
|
15243
|
+
/**
|
|
15244
|
+
* Lists executions for a trigger.
|
|
15245
|
+
*/
|
|
15246
|
+
listExecutions(trigger_id: string, params?: ListTriggerExecutionsParams_2, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.ListTriggerExecutionsResponse>;
|
|
15247
|
+
/**
|
|
15248
|
+
* Runs a trigger immediately.
|
|
15249
|
+
*/
|
|
15250
|
+
run(trigger_id: string, params?: RunTriggerParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<triggers.TriggerExecution>;
|
|
15251
|
+
}
|
|
15252
|
+
|
|
13864
15253
|
/**
|
|
13865
15254
|
* Output only. The current status of the trigger.
|
|
13866
15255
|
*/
|
|
@@ -14399,6 +15788,18 @@ export declare enum Type {
|
|
|
14399
15788
|
NULL = "NULL"
|
|
14400
15789
|
}
|
|
14401
15790
|
|
|
15791
|
+
/**
|
|
15792
|
+
* @license
|
|
15793
|
+
* Copyright 2026 Google LLC
|
|
15794
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
15795
|
+
*
|
|
15796
|
+
* g3-prettier-ignore-file
|
|
15797
|
+
*/
|
|
15798
|
+
/**
|
|
15799
|
+
* Output only. The type of the entry.
|
|
15800
|
+
*/
|
|
15801
|
+
declare type Type_2 = "file" | "directory" | (string & {});
|
|
15802
|
+
|
|
14402
15803
|
declare namespace types {
|
|
14403
15804
|
export {
|
|
14404
15805
|
createFunctionResponsePartFromBase64,
|
|
@@ -14458,6 +15859,7 @@ declare namespace types {
|
|
|
14458
15859
|
TuningTask,
|
|
14459
15860
|
DocumentState,
|
|
14460
15861
|
ServiceTier,
|
|
15862
|
+
MediaProcessing,
|
|
14461
15863
|
PartMediaResolutionLevel,
|
|
14462
15864
|
ToolType,
|
|
14463
15865
|
ResourceScope,
|
|
@@ -14485,6 +15887,7 @@ declare namespace types {
|
|
|
14485
15887
|
EndSensitivity,
|
|
14486
15888
|
ActivityHandling,
|
|
14487
15889
|
TurnCoverage,
|
|
15890
|
+
AudioTranscriptionConfigMode,
|
|
14488
15891
|
Scale,
|
|
14489
15892
|
MusicGenerationMode,
|
|
14490
15893
|
LiveMusicPlaybackControl,
|
|
@@ -14956,6 +16359,13 @@ declare namespace types {
|
|
|
14956
16359
|
}
|
|
14957
16360
|
}
|
|
14958
16361
|
|
|
16362
|
+
/**
|
|
16363
|
+
* An error to capture unrecognised or unexpected errors when making HTTP calls.
|
|
16364
|
+
*/
|
|
16365
|
+
declare class UnexpectedClientError extends HTTPClientError {
|
|
16366
|
+
name: string;
|
|
16367
|
+
}
|
|
16368
|
+
|
|
14959
16369
|
/** Optional parameters for caches.update method. */
|
|
14960
16370
|
export declare interface UpdateCachedContentConfig {
|
|
14961
16371
|
/** Used to override HTTP request options. */
|
|
@@ -15004,6 +16414,13 @@ export declare interface UpdateModelParameters {
|
|
|
15004
16414
|
config?: UpdateModelConfig;
|
|
15005
16415
|
}
|
|
15006
16416
|
|
|
16417
|
+
declare type UpdateTriggerGlobals = {
|
|
16418
|
+
/**
|
|
16419
|
+
* Which version of the API to use.
|
|
16420
|
+
*/
|
|
16421
|
+
api_version?: string | undefined;
|
|
16422
|
+
};
|
|
16423
|
+
|
|
15007
16424
|
declare type UpdateTriggerParams = Omit<UpdateTriggerRequest, "id" | "body"> & UpdateTriggerRequest["body"];
|
|
15008
16425
|
|
|
15009
16426
|
declare type UpdateTriggerRequest = {
|
|
@@ -15018,6 +16435,34 @@ declare type UpdateTriggerRequest = {
|
|
|
15018
16435
|
body: triggers.TriggerUpdate;
|
|
15019
16436
|
};
|
|
15020
16437
|
|
|
16438
|
+
declare type UpdateWebhookGlobals = {
|
|
16439
|
+
/**
|
|
16440
|
+
* Which version of the API to use.
|
|
16441
|
+
*/
|
|
16442
|
+
api_version?: string | undefined;
|
|
16443
|
+
};
|
|
16444
|
+
|
|
16445
|
+
declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
|
|
16446
|
+
|
|
16447
|
+
declare type UpdateWebhookRequest = {
|
|
16448
|
+
/**
|
|
16449
|
+
* Which version of the API to use.
|
|
16450
|
+
*/
|
|
16451
|
+
api_version?: string | undefined;
|
|
16452
|
+
/**
|
|
16453
|
+
* Required. The ID of the webhook to update.
|
|
16454
|
+
*/
|
|
16455
|
+
id: string;
|
|
16456
|
+
/**
|
|
16457
|
+
* Optional. The list of fields to update.
|
|
16458
|
+
*/
|
|
16459
|
+
update_mask?: string | undefined;
|
|
16460
|
+
/**
|
|
16461
|
+
* Required. The webhook to update.
|
|
16462
|
+
*/
|
|
16463
|
+
body?: webhooks.WebhookUpdate | undefined;
|
|
16464
|
+
};
|
|
16465
|
+
|
|
15021
16466
|
declare interface Uploader {
|
|
15022
16467
|
/**
|
|
15023
16468
|
* Uploads a file to the given upload url.
|
|
@@ -15623,6 +17068,33 @@ export declare interface VeoTuningSpec {
|
|
|
15623
17068
|
validationDatasetUri?: string;
|
|
15624
17069
|
}
|
|
15625
17070
|
|
|
17071
|
+
declare type Verbatim$ = VerbatimTranscriptionMode;
|
|
17072
|
+
|
|
17073
|
+
/**
|
|
17074
|
+
* @license
|
|
17075
|
+
* Copyright 2026 Google LLC
|
|
17076
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
17077
|
+
*
|
|
17078
|
+
* g3-prettier-ignore-file
|
|
17079
|
+
*/
|
|
17080
|
+
/**
|
|
17081
|
+
* Configuration for verbatim transcription mode.
|
|
17082
|
+
*/
|
|
17083
|
+
declare type VerbatimTranscriptionMode = {
|
|
17084
|
+
/**
|
|
17085
|
+
* Optional. Configures speaker diarization. Supported values: "speaker".
|
|
17086
|
+
*/
|
|
17087
|
+
diarization_mode?: string | undefined;
|
|
17088
|
+
/**
|
|
17089
|
+
* Optional. The granularity of timestamps to include in the transcription output.
|
|
17090
|
+
*
|
|
17091
|
+
* @remarks
|
|
17092
|
+
* Supported values: "word". If empty, no timestamps are generated.
|
|
17093
|
+
*/
|
|
17094
|
+
timestamp_granularities?: Array<string> | undefined;
|
|
17095
|
+
type: "verbatim";
|
|
17096
|
+
};
|
|
17097
|
+
|
|
15626
17098
|
/** 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. */
|
|
15627
17099
|
export declare interface VertexAISearch {
|
|
15628
17100
|
/** 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. */
|
|
@@ -15755,20 +17227,27 @@ declare type VideoContent = {
|
|
|
15755
17227
|
* The video content.
|
|
15756
17228
|
*/
|
|
15757
17229
|
data?: string | undefined;
|
|
17230
|
+
/**
|
|
17231
|
+
* The mime type of the video.
|
|
17232
|
+
*/
|
|
17233
|
+
mime_type?: VideoContentMimeType | undefined;
|
|
17234
|
+
/**
|
|
17235
|
+
* A user-defined name for this content block. Can be referenced by the model
|
|
17236
|
+
*
|
|
17237
|
+
* @remarks
|
|
17238
|
+
* in the final response.
|
|
17239
|
+
*/
|
|
17240
|
+
name?: string | undefined;
|
|
15758
17241
|
/**
|
|
15759
17242
|
* How the model processes this video for understanding.
|
|
15760
17243
|
*/
|
|
15761
|
-
processing?:
|
|
17244
|
+
processing?: MediaProcessing_2 | ProcessingEnum | undefined;
|
|
15762
17245
|
resolution?: MediaResolution_2 | undefined;
|
|
15763
17246
|
type: "video";
|
|
15764
17247
|
/**
|
|
15765
17248
|
* The URI of the video.
|
|
15766
17249
|
*/
|
|
15767
17250
|
uri?: string | undefined;
|
|
15768
|
-
/**
|
|
15769
|
-
* The mime type of the video.
|
|
15770
|
-
*/
|
|
15771
|
-
mime_type?: VideoContentMimeType | undefined;
|
|
15772
17251
|
};
|
|
15773
17252
|
|
|
15774
17253
|
/**
|
|
@@ -15784,7 +17263,7 @@ declare type VideoDelta = {
|
|
|
15784
17263
|
uri?: string | undefined;
|
|
15785
17264
|
};
|
|
15786
17265
|
|
|
15787
|
-
declare type VideoDeltaMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
|
|
17266
|
+
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 & {});
|
|
15788
17267
|
|
|
15789
17268
|
/** A mask for video generation. */
|
|
15790
17269
|
export declare interface VideoGenerationMask {
|
|
@@ -16234,6 +17713,37 @@ declare namespace webhooks {
|
|
|
16234
17713
|
}
|
|
16235
17714
|
}
|
|
16236
17715
|
|
|
17716
|
+
declare class Webhooks_2 extends ClientSDK {
|
|
17717
|
+
/**
|
|
17718
|
+
* Lists all Webhooks.
|
|
17719
|
+
*/
|
|
17720
|
+
list(params?: ListWebhooksParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<webhooks.WebhookListResponse>;
|
|
17721
|
+
/**
|
|
17722
|
+
* Creates a new Webhook.
|
|
17723
|
+
*/
|
|
17724
|
+
create(params: CreateWebhookParams, options?: RequestOptions): APIPromise<webhooks.Webhook>;
|
|
17725
|
+
/**
|
|
17726
|
+
* Deletes a Webhook.
|
|
17727
|
+
*/
|
|
17728
|
+
delete(id: string, params?: DeleteWebhookParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<interactions.Empty>;
|
|
17729
|
+
/**
|
|
17730
|
+
* Gets a specific Webhook.
|
|
17731
|
+
*/
|
|
17732
|
+
get(id: string, params?: GetWebhookParams, options?: Omit<RequestOptions, "extra_body">): APIPromise<webhooks.Webhook>;
|
|
17733
|
+
/**
|
|
17734
|
+
* Updates an existing Webhook.
|
|
17735
|
+
*/
|
|
17736
|
+
update(id: string, params?: UpdateWebhookParams, options?: RequestOptions): APIPromise<webhooks.Webhook>;
|
|
17737
|
+
/**
|
|
17738
|
+
* Sends a ping event to a Webhook.
|
|
17739
|
+
*/
|
|
17740
|
+
ping(id: string, api_version?: string | undefined, body?: webhooks.PingWebhookRequest | undefined, options?: RequestOptions): APIPromise<webhooks.WebhookPingResponse>;
|
|
17741
|
+
/**
|
|
17742
|
+
* Generates a new signing secret for a Webhook.
|
|
17743
|
+
*/
|
|
17744
|
+
rotateSigningSecret(id: string, api_version?: string | undefined, body?: webhooks.RotateSigningSecretRequest | undefined, options?: RequestOptions): APIPromise<webhooks.WebhookRotateSigningSecretResponse>;
|
|
17745
|
+
}
|
|
17746
|
+
|
|
16237
17747
|
/**
|
|
16238
17748
|
* Output only. The state of the webhook.
|
|
16239
17749
|
*/
|