mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-04-09 03:02:26 -04:00
f4cf486fa929299fef076cf71689776e5dec19c1
1017 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f4cf486fa9 |
fix(source/bigquery): allowed datasets project id issue with client oauth (#1663)
## Description --- allowed datasets default project id is from client, which may not be available if useClientOAuth=True, changed to use r.Project instead. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
94eba1fd0a |
chore(deps): update dependency google-genai to v1.42.0 (#1660)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [google-genai](https://redirect.github.com/googleapis/python-genai) | `==1.41.0` -> `==1.42.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/python-genai (google-genai)</summary> ### [`v1.42.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1420-2025-10-08) [Compare Source](https://redirect.github.com/googleapis/python-genai/compare/v1.41.0...v1.42.0) ##### Features - Add labels field to Imagen configs ([cdba4c9]( |
||
|
|
acb205ca47 |
feat(tools/bigquery-get-table-info)!: add allowed dataset support (#1093)
This introduces a breaking change. The bigquery-get-table-info tool will now enforce the allowed datasets setting from its BigQuery source configuration. Previously, this setting had no effect on the tool. Part of https://github.com/googleapis/genai-toolbox/issues/873 --------- Co-authored-by: Nikunj Badjatya <nikunj.badjatya@harness.io> |
||
|
|
86eecc356d |
docs(sources/bigquery): Add instruction for prebuilt config setting (#1653)
## Description --- This PR updates the BigQuery source documentation to explain how to configure pre-built tools with environment variables. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
63adc78bea |
feat(source/bigquery): add optional write mode config (#1157)
Summary Adds an optional write_mode configuration to the BigQuery source, enhancing security by controlling the types of SQL statements that can be executed to prevent unauthorized data modification. Key Changes Added writeMode Configuration: A new write_mode field is added to the BigQuery source, supporting three modes: allowed (Default): Permits all SQL statements. blocked: Allows only SELECT queries. protected: Enables session-based execution, restricting write operations (like CREATE TABLE) to the session's temporary dataset, thus protecting permanent datasets. Note: at the moment, this won't work with useClientOAuth, will fix this in the future. These restrictions primarily apply to the bigquery-execute-sql tool and the session may be used in other tools. |
||
|
|
2c4d73b77b |
chore(deps): update module cloud.google.com/go/firestore to v1.19.0 (#1639)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [cloud.google.com/go/firestore](https://redirect.github.com/googleapis/google-cloud-go) | `v1.18.0` -> `v1.19.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Averi Kitsch <akitsch@google.com> |
||
|
|
0f6d52a225 |
chore(docs): Move previews deployement to the versioned-gh-pages branch (#1644)
## Description --- This PR moves the deployement of the PR Previews to the newly created versioned-gh-pages branch which hosts the versioned doc site. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
43c4262f94 |
chore(deps): update dependency google-genai to v1.41.0 (#1571)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [google-genai](https://redirect.github.com/googleapis/python-genai) | `==1.38.0` -> `==1.41.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/python-genai (google-genai)</summary> ### [`v1.41.0`](https://redirect.github.com/googleapis/python-genai/blob/HEAD/CHANGELOG.md#1410-2025-10-02) [Compare Source](https://redirect.github.com/googleapis/python-genai/compare/v1.40.0...v1.41.0) ##### Features - Add `NO_IMAGE` enum value to `FinishReason` ([3877044]( |
||
|
|
94e19d87e5 |
fix(tools/mysql-list-tables): Update sql query to resolve subquery scope error (#1629)
## Description --- This change fixes the `Unknown column 'T.TABLE_SCHEMA'` error in the `mysql-list-tables` tool by refactoring a correlated subquery in the SQL query to list tables. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #1624 Co-authored-by: Averi Kitsch <akitsch@google.com> |
||
|
|
3efce3d2b4 |
chore(deps): update module github.com/go-playground/validator/v10 to v10.28.0 (#1630)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/go-playground/validator/v10](https://redirect.github.com/go-playground/validator) | `v10.27.0` -> `v10.28.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>go-playground/validator (github.com/go-playground/validator/v10)</summary> ### [`v10.28.0`](https://redirect.github.com/go-playground/validator/releases/tag/v10.28.0): Release 10.28.0 [Compare Source](https://redirect.github.com/go-playground/validator/compare/v10.27.0...v10.28.0) #### What's Changed - Update workflow\.yml to support 2 most recent major versions by [@​nodivbyzero](https://redirect.github.com/nodivbyzero) in [#​1417](https://redirect.github.com/go-playground/validator/pull/1417) - Bump actions/checkout from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1456](https://redirect.github.com/go-playground/validator/pull/1456) - Go 1.25 support by [@​nodivbyzero](https://redirect.github.com/nodivbyzero) in [#​1459](https://redirect.github.com/go-playground/validator/pull/1459) - Bump github.com/gabriel-vasile/mimetype from 1.4.8 to 1.4.10 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1463](https://redirect.github.com/go-playground/validator/pull/1463) - Bump golang.org/x/text from 0.22.0 to 0.29.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1464](https://redirect.github.com/go-playground/validator/pull/1464) - Bump actions/setup-go from 5 to 6 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1465](https://redirect.github.com/go-playground/validator/pull/1465) - Bump golang.org/x/crypto from 0.33.0 to 0.42.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​1467](https://redirect.github.com/go-playground/validator/pull/1467) - fix: should panic when define duplicate field param in `required_if` by [@​duyquang6](https://redirect.github.com/duyquang6) in [#​1468](https://redirect.github.com/go-playground/validator/pull/1468) - Fixed missing keys from returned errors in map validation by [@​gelozr](https://redirect.github.com/gelozr) in [#​1284](https://redirect.github.com/go-playground/validator/pull/1284) - Added https\_url tag by [@​ahmedkamalio](https://redirect.github.com/ahmedkamalio) in [#​1461](https://redirect.github.com/go-playground/validator/pull/1461) - docs: add description for 'port' validator by [@​nodivbyzero](https://redirect.github.com/nodivbyzero) in [#​1435](https://redirect.github.com/go-playground/validator/pull/1435) - Add alphaspace validator by [@​takaaa220](https://redirect.github.com/takaaa220) in [#​1343](https://redirect.github.com/go-playground/validator/pull/1343) #### New Contributors - [@​duyquang6](https://redirect.github.com/duyquang6) made their first contribution in [#​1468](https://redirect.github.com/go-playground/validator/pull/1468) - [@​gelozr](https://redirect.github.com/gelozr) made their first contribution in [#​1284](https://redirect.github.com/go-playground/validator/pull/1284) - [@​ahmedkamalio](https://redirect.github.com/ahmedkamalio) made their first contribution in [#​1461](https://redirect.github.com/go-playground/validator/pull/1461) - [@​takaaa220](https://redirect.github.com/takaaa220) made their first contribution in [#​1343](https://redirect.github.com/go-playground/validator/pull/1343) **Full Changelog**: <https://github.com/go-playground/validator/compare/v10.27.0...v10.28.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> |
||
|
|
21ac98bc06 |
feat: Add configs and workflows for docs versioning (#1611)
## Description --- This PR adds related configs and workflows required for document versioning. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
5ff0696706 |
chore(deps): update module github.com/neo4j/neo4j-go-driver/v5 to v5.28.4 (#1634)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/neo4j/neo4j-go-driver/v5](https://redirect.github.com/neo4j/neo4j-go-driver) | `v5.28.3` -> `v5.28.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>neo4j/neo4j-go-driver (github.com/neo4j/neo4j-go-driver/v5)</summary> ### [`v5.28.4`](https://redirect.github.com/neo4j/neo4j-go-driver/releases/tag/v5.28.4) [Compare Source](https://redirect.github.com/neo4j/neo4j-go-driver/compare/v5.28.3...v5.28.4) See <https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog> for more information. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Averi Kitsch <akitsch@google.com> |
||
|
|
cec88ec8cb |
test(looker): Expand timeout on tests (#1637)
## Description --- The timeout on the server was one minute, but the tests were sometimes running longer. Made timeout 5 minutes. > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #1635 |
||
|
|
ff8a7fe472 |
chore(deps): update dependency langgraph to v0.6.8 (#1595)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [langgraph](https://redirect.github.com/langchain-ai/langgraph) | `==0.6.7` -> `==0.6.8` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>langchain-ai/langgraph (langgraph)</summary> ### [`v0.6.8`](https://redirect.github.com/langchain-ai/langgraph/releases/tag/0.6.8) [Compare Source](https://redirect.github.com/langchain-ai/langgraph/compare/0.6.7...0.6.8) Changes since 1.0.0a3 - release(langgraph): 0.6.8 ([#​6215](https://redirect.github.com/langchain-ai/langgraph/issues/6215)) - chore(deps): upgrade dependencies with `uv lock --upgrade` ([#​6211](https://redirect.github.com/langchain-ai/langgraph/issues/6211)) - fix(langgraph): handle multiple annotations w/ `BaseChannel` detection ([#​6210](https://redirect.github.com/langchain-ai/langgraph/issues/6210)) - fix(langgraph): `CheckpointTask.state` can be a `StateSnapshot` ([#​6201](https://redirect.github.com/langchain-ai/langgraph/issues/6201)) - chore(langgraph): clean up ruff format config ([#​6188](https://redirect.github.com/langchain-ai/langgraph/issues/6188)) - style(langgraph): docstring code format pass ([#​6187](https://redirect.github.com/langchain-ai/langgraph/issues/6187)) - fix(langgraph): cleanup orphaned waiter task in AsyncPregelLoop ([#​6167](https://redirect.github.com/langchain-ai/langgraph/issues/6167)) - fix(langgraph): fix graph rendering for defer=True ([#​6130](https://redirect.github.com/langchain-ai/langgraph/issues/6130)) - chore(deps): upgrade dependencies with `uv lock --upgrade` ([#​6176](https://redirect.github.com/langchain-ai/langgraph/issues/6176)) - fix(langgraph): reuse cached writes on nested resume to prevent task re-execution ([#​6161](https://redirect.github.com/langchain-ai/langgraph/issues/6161)) - chore(sdk-py): allow UUIDs in config ([#​6151](https://redirect.github.com/langchain-ai/langgraph/issues/6151)) - revert(langgraph): restore logic to surface interrupts for stream\_mod… ([#​6141](https://redirect.github.com/langchain-ai/langgraph/issues/6141)) - chore(deps): upgrade dependencies with `uv lock --upgrade` ([#​6146](https://redirect.github.com/langchain-ai/langgraph/issues/6146)) - docs: Add missing merge parameter documentation in push\_ui\_message ([#​6145](https://redirect.github.com/langchain-ai/langgraph/issues/6145)) - chore(langgraph): Log when no values event is emitted from RemoteGraph ([#​6140](https://redirect.github.com/langchain-ai/langgraph/issues/6140)) - chore(cli): Add config schema ([#​6142](https://redirect.github.com/langchain-ai/langgraph/issues/6142)) - fix(langgraph): get\_graph generates unexpected conditional edge ([#​6122](https://redirect.github.com/langchain-ai/langgraph/issues/6122)) - fix(langgraph): type checking for async w/ functional API ([#​6126](https://redirect.github.com/langchain-ai/langgraph/issues/6126)) - feat(langgraph): prevent arbitrary resumes w/ multiple pending interrupts ([#​6108](https://redirect.github.com/langchain-ai/langgraph/issues/6108)) - fix(langgraph): key error on runtime for config w/o configurable ([#​6106](https://redirect.github.com/langchain-ai/langgraph/issues/6106)) - chore: minor CI/link fixes ([#​6116](https://redirect.github.com/langchain-ai/langgraph/issues/6116)) - docs(langgraph): correct typo "runtie" to "runtime" in StateGraph ([#​6060](https://redirect.github.com/langchain-ai/langgraph/issues/6060)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Harsh Jha <83023263+rapid-killer-9@users.noreply.github.com> Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> |
||
|
|
63c54d0453 |
chore(deps): update module google.golang.org/genai to v1.28.0 (#1572)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [google.golang.org/genai](https://redirect.github.com/googleapis/go-genai) | `v1.25.0` -> `v1.28.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/go-genai (google.golang.org/genai)</summary> ### [`v1.28.0`](https://redirect.github.com/googleapis/go-genai/releases/tag/v1.28.0) [Compare Source](https://redirect.github.com/googleapis/go-genai/compare/v1.27.0...v1.28.0) ##### Features - Add `NO_IMAGE` enum value to `FinishReason` ([4f65f45]( |
||
|
|
4e7b8a01b5 |
chore: Update model in Go Quickstart tests (#1631)
## Description --- Updating the Gemini model from 1.5-flash to 2.0-flash in the Go Quickstart tests for LangChain and Genkit samples. This PR fixes the failing tests in https://github.com/googleapis/genai-toolbox/pull/1572 ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
1a44c671ec |
feat(tool/bigquery-list-dataset-ids)!: add allowed datasets support (#1573)
## Description This introduces a breaking change. The bigquery-list-dataset-ids tool will now enforce the allowed datasets setting from its BigQuery source configuration. Previously, this setting had no effect on the tool. The tool's behavior regarding this parameter is influenced by the `allowedDatasets` restriction on the `bigquery` source: - **Without `allowedDatasets` restriction:** The tool can list datasets from any project specified by the `project` parameter. - **With `allowedDatasets` restriction:** The tool directly returns the pre-configured list of dataset IDs from the source, and the `project` parameter is ignored. --- > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Part of https://github.com/googleapis/genai-toolbox/issues/873 --------- Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> |
||
|
|
1536d1fdab |
feat(sources/mssql): add app name to MSSQL (#1620)
## Description --- Add auditable application name to mssql sources. Query the db with: ``` SELECT session_id, program_name FROM sys.dm_exec_sessions; ``` ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
36c658472c |
fix: fix broken links (#1625)
Fixed broken links --------- Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> |
||
|
|
fca879ad5b |
chore(deps): update module github.com/valkey-io/valkey-go to v1.0.66 (#1525)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/valkey-io/valkey-go](https://redirect.github.com/valkey-io/valkey-go) | `v1.0.64` -> `v1.0.66` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>valkey-io/valkey-go (github.com/valkey-io/valkey-go)</summary> ### [`v1.0.66`](https://redirect.github.com/valkey-io/valkey-go/releases/tag/v1.0.66): 1.0.66 [Compare Source](https://redirect.github.com/valkey-io/valkey-go/compare/v1.0.65...v1.0.66) ##### Changes - fix panics that happen on `MOVED` redirections for commands without a slot ([#​80](https://redirect.github.com/valkey-io/valkey-go/issues/80)) ##### Contributors We'd like to thank all the contributors who worked on this release! [@​rueian](https://redirect.github.com/rueian) and [@​skif48](https://redirect.github.com/skif48) ### [`v1.0.65`](https://redirect.github.com/valkey-io/valkey-go/releases/tag/v1.0.65): 1.0.65 [Compare Source](https://redirect.github.com/valkey-io/valkey-go/compare/v1.0.64...v1.0.65) ### Changes - feat: new `ReadNodeSelector` option allowing more fine-grained control over load balancing among nodes and deprecating the old `ReplicaSelector`. - feat: new `BYPOLYGON` option in `GEOSEARCH` command. - feat: new `SAFE` option in `SHUTDOWN` command. - feat: new `DELIFEQ` command. - fix: correctly handle early exit in `Scanner` iterators. ### Experimental - feat: new experimental pipelining queue implementation, which is context aware and can be enabled by setting the `RUEIDIS_QUEUE_TYPE` environment variable to `flowbuffer`. #### Contributors We'd like to thank all the contributors who worked on this release! [@​Krish8955](https://redirect.github.com/Krish8955), [@​ash2k](https://redirect.github.com/ash2k), [@​ayush-sarda](https://redirect.github.com/ayush-sarda), [@​bbangert](https://redirect.github.com/bbangert), [@​proost](https://redirect.github.com/proost), [@​rueian](https://redirect.github.com/rueian) and [@​wandering-salesman](https://redirect.github.com/wandering-salesman) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjEzMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Averi Kitsch <akitsch@google.com> |
||
|
|
c4a22b8d3b |
feat: add program name to MySQL connections (#1617)
## Description
---
Audit your applications by using the following sql to track program name
```
SELECT
session_connect_attrs.ATTR_VALUE AS program_name,
processlist.*
FROM
information_schema.processlist
LEFT JOIN
performance_schema.session_connect_attrs
ON
(processlist.ID = session_connect_attrs.PROCESSLIST_ID AND session_connect_attrs.ATTR_NAME = "program_name");
```
## PR Checklist
---
> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:
- [ ] Make sure you reviewed
[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change
🛠️ Fixes #<issue_number_goes_here>
|
||
|
|
af72637009 |
chore(deps): update module google.golang.org/api to v0.251.0 (#1563)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [google.golang.org/api](https://redirect.github.com/googleapis/google-api-go-client) | `v0.250.0` -> `v0.251.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-api-go-client (google.golang.org/api)</summary> ### [`v0.251.0`](https://redirect.github.com/googleapis/google-api-go-client/releases/tag/v0.251.0) [Compare Source](https://redirect.github.com/googleapis/google-api-go-client/compare/v0.250.0...v0.251.0) ##### Features - **all:** Auto-regenerate discovery clients ([#​3319](https://redirect.github.com/googleapis/google-api-go-client/issues/3319)) ([7ef0f9b]( |
||
|
|
dcc3dabdea |
ci: Update go test version (#1615)
## Description --- > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
564adbef27 |
chore(deps): update github actions (major) (#1329)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://redirect.github.com/actions/github-script) | action | major | `v7.1.0` -> `v8.0.0` | | [actions/github-script](https://redirect.github.com/actions/github-script) | action | major | `v7` -> `v8` | | [actions/setup-go](https://redirect.github.com/actions/setup-go) | action | major | `v5.5.0` -> `v6.0.0` | | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | major | `v4` -> `v5` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v8.0.0`](https://redirect.github.com/actions/github-script/compare/v7.1.0...v8.0.0) [Compare Source](https://redirect.github.com/actions/github-script/compare/v7.1.0...v8.0.0) </details> <details> <summary>actions/setup-go (actions/setup-go)</summary> ### [`v6.0.0`](https://redirect.github.com/actions/setup-go/releases/tag/v6.0.0) [Compare Source](https://redirect.github.com/actions/setup-go/compare/v5.5.0...v6.0.0) #### What's Changed ##### Breaking Changes - Improve toolchain handling to ensure more reliable and consistent toolchain selection and management by [@​matthewhughes934](https://redirect.github.com/matthewhughes934) in [#​460](https://redirect.github.com/actions/setup-go/pull/460) - Upgrade Nodejs runtime from node20 to node 24 by [@​salmanmkc](https://redirect.github.com/salmanmkc) in [#​624](https://redirect.github.com/actions/setup-go/pull/624) Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://redirect.github.com/actions/runner/releases/tag/v2.327.1) ##### Dependency Upgrades - Upgrade [@​types/jest](https://redirect.github.com/types/jest) from 29.5.12 to 29.5.14 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​589](https://redirect.github.com/actions/setup-go/pull/589) - Upgrade [@​actions/tool-cache](https://redirect.github.com/actions/tool-cache) from 2.0.1 to 2.0.2 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​591](https://redirect.github.com/actions/setup-go/pull/591) - Upgrade [@​typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser) from 8.31.1 to 8.35.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​590](https://redirect.github.com/actions/setup-go/pull/590) - Upgrade undici from 5.28.5 to 5.29.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​594](https://redirect.github.com/actions/setup-go/pull/594) - Upgrade typescript from 5.4.2 to 5.8.3 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​538](https://redirect.github.com/actions/setup-go/pull/538) - Upgrade eslint-plugin-jest from 28.11.0 to 29.0.1 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​603](https://redirect.github.com/actions/setup-go/pull/603) - Upgrade `form-data` to bring in fix for critical vulnerability by [@​matthewhughes934](https://redirect.github.com/matthewhughes934) in [#​618](https://redirect.github.com/actions/setup-go/pull/618) - Upgrade actions/checkout from 4 to 5 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​631](https://redirect.github.com/actions/setup-go/pull/631) #### New Contributors - [@​matthewhughes934](https://redirect.github.com/matthewhughes934) made their first contribution in [#​618](https://redirect.github.com/actions/setup-go/pull/618) - [@​salmanmkc](https://redirect.github.com/salmanmkc) made their first contribution in [#​624](https://redirect.github.com/actions/setup-go/pull/624) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v6.0.0> </details> <details> <summary>actions/setup-node (actions/setup-node)</summary> ### [`v5`](https://redirect.github.com/actions/setup-node/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: Averi Kitsch <akitsch@google.com> |
||
|
|
2d5a93e312 |
feat(tools/looker): Enable access to the Conversational Analytics API for Looker (#1596)
## Description This enables the Conversational Analytics API for Looker. The prebuilt config is separate since it is not a good idea to use the Looker prebuilt config with CA. Agents get confused as to whether they should query the data directly or use the CA tool. |
||
|
|
5aed4e136d |
feat(tools/looker): add support for pulse, vacuum and analyze audit and performance functions on a Looker instance (#1581)
This pull request adds 3 new tools, looker-health-pulse, looker-health-vacuum, and looker-health-analyze, as capabilities to the Looker MCP Toolbox. These tools are designed to provide health checks and auditing analytical insights for a Looker instance (they come from the popular [Looker CLI tool Henry](https://github.com/looker-open-source/henry)). **looker-health-pulse** This tool performs various health checks on a Looker instance. It can be used to: - Check database connection status. - Identify dashboards with slow-running or erroring queries. - List slow explores and failed schedules. - Find enabled legacy features. **looker-health-analyze** This tool performs analytical tasks on Looker projects, models, and explores. It can be used to: - Analyze projects to check Git status and validation. - Analyze models to count explores and identify unused ones. - Analyze explores to find unused joins and fields. *Unused is defined as not being queried in the last 90 days.* **looker-health-vacuum** This tool finds unnused explores, joins, and fields based on user defined search conditions (namely, timeframe and min query #): - Identify unnused explores for specific or all models - Identify unnused fields or joins for specific explores or all explores within a model This update targets Looker administrators, as it provides new capabilities to monitor the health and efficiency of their Looker instances and connect those capabilities to MCP Clients. 🛠️ Fixes #1415 --------- Co-authored-by: Luka Fontanilla <maluka@google.com> |
||
|
|
3be9b7b3bd |
feat(tools/dataform): add dataform compile tool (#1470)
## Description
This change introduces a new tool for compiling local Dataform projects.
The new tool, `dataform-compile`, allows users to programmatically run
the `dataform compile` command against a project on the local
filesystem. This tool does not require a `source` and instead relies on
the `dataform` CLI being available in the server's `PATH`.
### Changes:
* Added the new tool definition in
`internal/tools/dataformcompile/dataformcompile.go`.
* The tool requires the following parameter:
* `project_dir`: The local Dataform project directory to compile.
* The tool uses `os/exec` to run the `dataform compile --json` command
and parses the resulting JSON output.
* Added a new integration test in
`internal/tools/dataformcompile/dataformcompile_test.go` which:
* Skips the test if the `dataform` CLI is not found in the `PATH`.
* Uses `dataform init` to create a temporary, minimal project for
testing.
* Verifies success, missing parameter errors, and errors from a
non-existent directory.
---
> Should include a concise description of the changes (bug or feature),
it's
> impact, along with a summary of the solution
## PR Checklist
---
> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:
- [x] Make sure you reviewed
[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [x] Make sure to add `!` if this involve a breaking change
🛠️ Fixes #1469
---------
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
|
||
|
|
4dff01f98a |
chore(deps): update module github.com/spf13/cobra to v1.10.1 (#1303)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/spf13/cobra](https://redirect.github.com/spf13/cobra) | `v1.9.1` -> `v1.10.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spf13/cobra (github.com/spf13/cobra)</summary> ### [`v1.10.1`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.1) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.10.0...v1.10.1) ##### 🐛 Fix - chore: upgrade pflags v1.0.9 by [@​jpmcb](https://redirect.github.com/jpmcb) in [#​2305](https://redirect.github.com/spf13/cobra/pull/2305) v1.0.9 of pflags brought back `ParseErrorsWhitelist` and marked it as deprecated **Full Changelog**: <https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1> ### [`v1.10.0`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.0) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.9.1...v1.10.0) #### What's Changed ##### 🚨 Attention! - Bump pflag to 1.0.8 by [@​tomasaschan](https://redirect.github.com/tomasaschan) in [#​2303](https://redirect.github.com/spf13/cobra/pull/2303) This version of `pflag` carried a breaking change: it renamed `ParseErrorsWhitelist` to `ParseErrorsAllowlist` which can break builds if both `pflag` and `cobra` are dependencies in your project. - If you use both `pflag and `cobra`, upgrade `pflag`to 1.0.8 and`cobra`to`1.10.0\` - ***or*** use the newer, fixed version of `pflag` v1.0.9 which keeps the deprecated `ParseErrorsWhitelist` More details can be found here: [#​2303 (comment)](https://redirect.github.com/spf13/cobra/pull/2303#issuecomment-3242333515) ##### ✨ Features - Flow context to command in SetHelpFunc by [@​Frassle](https://redirect.github.com/Frassle) in [#​2241](https://redirect.github.com/spf13/cobra/pull/2241) - The default ShellCompDirective can be customized for a command and its subcommands by [@​albers](https://redirect.github.com/albers) in [#​2238](https://redirect.github.com/spf13/cobra/pull/2238) ##### 🐛 Fix - Upgrade golangci-lint to v2, address findings by [@​scop](https://redirect.github.com/scop) in [#​2279](https://redirect.github.com/spf13/cobra/pull/2279) ##### 🪠 Testing - Test with Go 1.24 by [@​harryzcy](https://redirect.github.com/harryzcy) in [#​2236](https://redirect.github.com/spf13/cobra/pull/2236) - chore: Rm GitHub Action PR size labeler by [@​jpmcb](https://redirect.github.com/jpmcb) in [#​2256](https://redirect.github.com/spf13/cobra/pull/2256) ##### 📝 Docs - Remove traling curlybrace by [@​yedayak](https://redirect.github.com/yedayak) in [#​2237](https://redirect.github.com/spf13/cobra/pull/2237) - Update command.go by [@​styee](https://redirect.github.com/styee) in [#​2248](https://redirect.github.com/spf13/cobra/pull/2248) - feat: Add security policy by [@​jpmcb](https://redirect.github.com/jpmcb) in [#​2253](https://redirect.github.com/spf13/cobra/pull/2253) - Update Readme (Warp) by [@​ericdachen](https://redirect.github.com/ericdachen) in [#​2267](https://redirect.github.com/spf13/cobra/pull/2267) - Add Periscope to the list of projects using Cobra by [@​anishathalye](https://redirect.github.com/anishathalye) in [#​2299](https://redirect.github.com/spf13/cobra/pull/2299) #### New Contributors - [@​harryzcy](https://redirect.github.com/harryzcy) made their first contribution in [#​2236](https://redirect.github.com/spf13/cobra/pull/2236) - [@​yedayak](https://redirect.github.com/yedayak) made their first contribution in [#​2237](https://redirect.github.com/spf13/cobra/pull/2237) - [@​Frassle](https://redirect.github.com/Frassle) made their first contribution in [#​2241](https://redirect.github.com/spf13/cobra/pull/2241) - [@​styee](https://redirect.github.com/styee) made their first contribution in [#​2248](https://redirect.github.com/spf13/cobra/pull/2248) - [@​ericdachen](https://redirect.github.com/ericdachen) made their first contribution in [#​2267](https://redirect.github.com/spf13/cobra/pull/2267) - [@​albers](https://redirect.github.com/albers) made their first contribution in [#​2238](https://redirect.github.com/spf13/cobra/pull/2238) - [@​anishathalye](https://redirect.github.com/anishathalye) made their first contribution in [#​2299](https://redirect.github.com/spf13/cobra/pull/2299) - [@​tomasaschan](https://redirect.github.com/tomasaschan) made their first contribution in [#​2303](https://redirect.github.com/spf13/cobra/pull/2303) **Full Changelog**: <https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTMwLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Co-authored-by: Averi Kitsch <akitsch@google.com> |
||
|
|
0e04381ed7 |
docs(prebuilt): Update prebuilt tools document with newly added tools for MySQL and Cloud SQL for MySQL (#1580)
## Description --- Update the prebuilt tools documentation with added tools for MySQL & Cloud SQL for MySQL ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #1516 |
||
|
|
1afd9a95da |
docs(sources/looker): Fix typos in Looker tools (#1608) (#1610)
Fix descriptions in Looker tools docs Co-authored-by: David Szajngarten <davidszajngarten@gmail.com> |
||
|
|
95efdc847f |
chore: Update list tables test cases and cleanup test database (#1600)
## Description --- This change updates the list tables(`postgres`, `mysql` and `mssql`) tests with test cases for listing all tables. The test schemas are cleaned at the beginning of the test run to ensure deterministic output for the list_tables tool. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
73a96b1b63 |
chore(deps): update module cloud.google.com/go/spanner to v1.86.0 (#1587)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [cloud.google.com/go/spanner](https://redirect.github.com/googleapis/google-cloud-go) | `v1.85.1` -> `v1.86.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> |
||
|
|
3553bf0ccf |
chore(deps): update google.golang.org/genproto digest to 57b25ae (#1599)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [google.golang.org/genproto](https://redirect.github.com/googleapis/go-genproto) | require | digest | `9219d12` -> `57b25ae` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> |
||
|
|
cbd72c2ea1 |
chore: update logger out stream to errStream in stdio transport (#1466)
## Description --- Update out stream in `stdio` transport protocol. **Before:** When `stdio=true`, log levels will automatically get set to WARN (even if user explicitly set it as DEBUG or INFO). This is because the DEBUG and INFO logger send logs to outStream. In `stdio`, server MUST NOT write anything to `stdout` that is not a valid MCP message. MCP specifications mentioned that "The server MAY write UTF-8 strings to its standard error (stderr) for logging purposes. Client MAY capture, forward, or ignore this logging." **After:** When `stdio=true`, logger's DEBUG and INFO logger send logs to outStream. This will still respect the `log-levels` set by user (default as INFO). |
||
|
|
d64b4812c3 |
chore(deps): update module cloud.google.com/go/bigquery to v1.71.0 (#1604)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [cloud.google.com/go/bigquery](https://redirect.github.com/googleapis/google-cloud-go) | `v1.70.0` -> `v1.71.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> |
||
|
|
dbc477ab0f |
fix: added google_ml_integration extension to use alloydb ai-nl support api (#1445)
Including the google_ml_integration extension made the add_template function work because it enabled the AI Query Engine features within the Cloud SQL for PostgreSQL database. http://github.com/googleapis/genai-toolbox/blob/test-genai/docs/en/samples/alloydb/ai-nl/alloydb_ai_nl.ipynb --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Manu Paliwal <paliwalmanu99@gmail.com> Co-authored-by: Pete Hampton <pjhampton@protonmail.com> Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com> Co-authored-by: Averi Kitsch <akitsch@google.com> Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com> Co-authored-by: Sri Varshitha <96117854+Myst9@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Co-authored-by: Mend Renovate <bot@renovateapp.com> Co-authored-by: prernakakkar-google <158031829+prernakakkar-google@users.noreply.github.com> Co-authored-by: Huan Chen <142538604+Genesis929@users.noreply.github.com> Co-authored-by: Ajaykumar Yadav <akryadav@google.com> Co-authored-by: trehanshakuntG <trehanshakunt@google.com> Co-authored-by: Dr. Strangelove <drstrangelove@google.com> Co-authored-by: nester-neo4j <nester.marchenko@neo4j.com> Co-authored-by: Haoming Chen <hmchen@google.com> Co-authored-by: isaurabhuttam <118341467+isaurabhuttam@users.noreply.github.com> Co-authored-by: Harsh Jha <83023263+rapid-killer-9@users.noreply.github.com> Co-authored-by: shuzhou-gc <zhoushu@google.com> Co-authored-by: Divyansh <dvbelieve.nitk@gmail.com> Co-authored-by: Jo Alex <17249308+johanesalxd@users.noreply.github.com> Co-authored-by: Anmol Shukla <shuklaanmol@google.com> Co-authored-by: dishaprakash <57954147+dishaprakash@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Harsh Jha <harshrjha@google.com> Co-authored-by: Pranava B <pranava018@gmail.com> Co-authored-by: duwenxin <duwenxin@google.com> Co-authored-by: Anubhav Dhawan <anubhavdhawan@google.com> |
||
|
|
918753d396 |
chore(tests): Add database cleanup functions (#1528)
## Description --- This change adds helper functions to cleanup the test databases (PostgreSQL, MySQL, and MSSQL) by dropping any orphan tables from previous test runs. These functions can be called at the beginning of each test run. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #1304 --------- Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com> |
||
|
|
b43c94575d |
fix: remove duplicated build type in Dockerfile (#1598)
## Description --- Removing duplication of `container.`. ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [x] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #1550 |
||
|
|
87b385b2b5 |
docs: Remove obsolete Homebrew entry in README TOC (#1594)
Fixes https://github.com/googleapis/genai-toolbox/issues/1590 Removes the unused link for Homebrew users from the TOC in README.md. |
||
|
|
d154370cef |
docs: Improve binary installation instructions for multiple platforms (#1576)
# Overview The previous installation instructions for the Toolbox binary only provided a curl command for Linux AMD64 systems. This was confusing for users on other platforms like macOS and Windows, who had to manually figure out the correct download URL from the releases page. This PR overhauls the installation process in both the `README.md` and the official documentation site. It provides dedicated, copy-pasteable commands for all major platforms and makes the download commands more reliable. # Changes * Replaced the single, Linux-only installation command with a multi-level tabbed/collapsible interface in both the `README.md` and the official documentation. * Added dedicated installation commands for multiple platforms, including Windows (AMD64) that now using the native `Invoke-WebRequest` in PowerShell. * Updated all `curl` commands to include the `-L` flag. * This makes the download more robust by automatically following any HTTP redirects. # Before ## `README.md` <img width="1870" height="868" alt="image" src="https://github.com/user-attachments/assets/28b714b5-1938-42cb-904b-3a4d61f1c56a" /> ## Docsite <img width="1728" height="788" alt="image" src="https://github.com/user-attachments/assets/b63d579d-ce8f-4974-9860-1fee5a8d0dc7" /> # After ## `README.md` <img width="1814" height="1082" alt="image" src="https://github.com/user-attachments/assets/54985eaf-c721-4f11-86d2-cc027aeea0ad" /> ## Docsite <img width="2066" height="1112" alt="image" src="https://github.com/user-attachments/assets/a07380b7-3b38-4b99-a95e-f942356f2200" /> |
||
|
|
0b3dac4132 |
feat: add metadata in MCP Manifest for Toolbox auth (#1395)
Add `_meta` for `tools/list` method in MCP Toolbox.
If there are authorized invocation, the following will be return in
`_meta`:
```
{
"name":"my-tool-name",
"description":"my tool description",
"inputSchema":{
"type":"object",
"properties":{
"user_id":{"type":"string","description":"user's name from google login"}
},
"required":["user_id"]
},
"_meta":{
"toolbox/authParam":{"user_id":["my_auth"]}
}
}
```
If there are authenticated parameter, the following will be return in
`_meta`:
```
{
"name":"my-tool-name",
"description":"my tool description",
"inputSchema":{
"type":"object",
"properties":{
"sql":{"type":"string","description":"The sql to execute."}
},
"required":["sql"]
},
"_meta":{
"toolbox/authInvoke":["my_auth"]
}
}
```
If there are no authorized invocation or authenticated prameter, the
`_meta` field will be omitted.
With this feature, the following were updated in the source code:
* In each `func(p CommonParameter) McpManifest()`, we will return a
`[]string` for the list of authenticated parameters. This is similar to
how Manifest() return the list of authNames in non-MCP Toolbox's
manifest.
* The `func(ps Parameters) McpManifest()` will return a
`map[string][]string` that with key as param's name, and value as the
param's auth.
* Added a new function `GetMcpManifest()` in `tools.go`. This function
will consctruct the McpManifest, and add the `Metadata` field.
* Associated tests were added or updated.
|
||
|
|
62af39d751 |
fix(tools/looker): Refactor run-inline-query logic to helper function (#1497)
Inline queries are directed to an undocumented endpoint so that they can be tracked in Looker System Activity separately. The logic is to try the undocumented endpoint first, and if there is any error, fall back to the documented endpoint. This was done in multiple places. This PR combines that logic into one helper function, reducing the duplication of code. |
||
|
|
67d8221a2e |
fix(sources/looker): Allow Looker to be configured without setting a Client Id or Secret (#1496)
Fixed a minor oversight from previous work on oauth. |
||
|
|
ab7d313f7f |
chore(deps): update dependency google-adk to v1.15.0 (#1575)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [google-adk](https://redirect.github.com/google/adk-python) ([changelog](https://redirect.github.com/google/adk-python/blob/main/CHANGELOG.md)) | `==1.14.1` -> `==1.15.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>google/adk-python (google-adk)</summary> ### [`v1.15.0`](https://redirect.github.com/google/adk-python/blob/HEAD/CHANGELOG.md#1150-2025-09-24) [Compare Source](https://redirect.github.com/google/adk-python/compare/v1.14.1...v1.15.0) ##### Features - \[Core] - Adding the ContextFilterPlugin ([a06bf27]( |
||
|
|
964a82eb08 |
chore(main): release 0.16.0 (#1530)
🤖 I have created a release *beep* *boop* --- ## [0.16.0](https://github.com/googleapis/genai-toolbox/compare/v0.15.0...v0.16.0) (2025-09-25) ### ⚠ BREAKING CHANGES * **tool/bigquery-execute-sql:** add allowed datasets support ([#1443](https://github.com/googleapis/genai-toolbox/issues/1443)) * **tool/bigquery-forecast:** add allowed datasets support ([#1412](https://github.com/googleapis/genai-toolbox/issues/1412)) ### Features * **cassandra:** Add Cassandra Source and Tool ([#1012](https://github.com/googleapis/genai-toolbox/issues/1012)) ([v0.16.0 |
||
|
|
cb692b5883 |
tests: add mssql prebuilt tests to cloud sql mssql integration (#1501)
## Description --- Add mssql's prebuilt tools tests to cloud-sql-mssql integration tests. Cloud sql mssql's integration test coverage check against the mssql package since those tools are compatible. Hence, when we add new tools to mssql, we will have to add those integration tests against cloud sql mssql as well. |
||
|
|
4166bf7ab8 |
fix(tool/mongodb-find): fix find tool limit field (#1570)
The projection checking block in `getOptions` exists early previously, resulting in the limit not being set. 🛠️ Fixes https://github.com/googleapis/genai-toolbox/issues/1491 |
||
|
|
8dfcbfd5b3 |
chore: release 0.16.0 (#1569)
Release-As: 0.16.0 |
||
|
|
72a2366b28 |
feat(sources/postgres): add application_name (#1504)
## Description --- > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> |
||
|
|
9501ebbdbc |
feat(tool/bigquery-execute-sql)!: add allowed datasets support (#1443)
## Description This introduces a breaking change. The bigquery-execute-sql tool will now enforce the allowed datasets setting from its BigQuery source configuration. Previously, this setting had no effect on the tool. --- > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist --- > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes https://github.com/googleapis/genai-toolbox/issues/873 --------- Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> |