Skip to content

Commit e97609a

Browse files
authored
Merge branch 'main' into renovate/github-actions
2 parents 25d2534 + a3d3a96 commit e97609a

7 files changed

Lines changed: 74 additions & 6 deletions

File tree

.licenserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ header:
1616
license:
1717
spdx-id: "Apache-2.0"
1818
copyright-owner: "Google LLC"
19+
copyright-year: "2025"
1920
paths:
2021
- "**/*.yaml"
2122
- "**/*.yml"

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.3"
2+
".": "0.1.6"
33
}

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## [0.1.6](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/compare/0.1.5...0.1.6) (2026-01-30)
4+
5+
6+
### Features
7+
8+
* Support custom scopes and maxQueryResultRows ([#77](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/issues/77)) ([c38438e](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/commit/c38438e8d4296d98ab2fa52e3b61cfe518fec3a4))
9+
10+
## [0.1.5](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/compare/0.1.4...0.1.5) (2026-01-28)
11+
12+
13+
### Features
14+
15+
* add Configuration settings ([#72](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/issues/72)) ([27a9100](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/commit/27a9100b91b45d2dc49b48b29b7565551de21d80))
16+
* **deps:** update dependency googleapis/genai-toolbox to v0.26.0 ([#74](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/issues/74)) ([124a489](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/commit/124a4898581b220e2e0dd9772484a7808d161c84))
17+
18+
## [0.1.4](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/compare/0.1.3...0.1.4) (2026-01-22)
19+
20+
21+
### Features
22+
23+
* **deps:** update dependency googleapis/genai-toolbox to v0.25.0 ([#69](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/issues/69)) ([bc0ac06](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/commit/bc0ac06dd17f1bb81f47fa116ec31b67677322e6))
24+
325
## [0.1.3](https://github.com/gemini-cli-extensions/bigquery-conversational-analytics/compare/0.1.2...0.1.3) (2025-12-30)
426

527

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,35 @@ gemini extensions install https://github.com/gemini-cli-extensions/bigquery-conv
4343

4444
### Configuration
4545

46-
Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a `.env` file.
46+
You will be prompted to configure the following settings during installation. These settings are saved in an `.env` file within the extension's directory.
47+
48+
* `BIGQUERY_PROJECT`: The GCP project ID.
49+
* `BIGQUERY_LOCATION`: (Optional) The dataset location.
50+
51+
To view or update your configuration:
52+
53+
**List Settings:**
54+
* Terminal: `gemini extensions list`
55+
* Gemini CLI: `/extensions list`
56+
57+
**Update Settings:**
58+
* Terminal: `gemini extensions config bigquery-conversational-analytics [setting name] [--scope <scope>]`
59+
* `setting name`: (Optional) The single setting to configure.
60+
* `scope`: (Optional) The scope of the setting in (`user` or `workspace`). Defaults to `user`.
61+
* Currently, you must restart the Gemini CLI for changes to take effect. We recommend using `gemini --resume` to resume your session.
62+
63+
Alternatively, you can manually set these environment variables before starting the Gemini CLI:
4764

4865
```bash
4966
export BIGQUERY_PROJECT="<your-gcp-project-id>"
5067
export BIGQUERY_LOCATION="<your-dataset-location>" # Optional
68+
export BIGQUERY_SCOPES="https://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/drive" # Optional
69+
export BIGQUERY_MAX_QUERY_RESULT_ROWS=50 # Optional
5170
```
5271

53-
Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
72+
> [!NOTE]
73+
> * Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
74+
> * See [Troubleshooting](#troubleshooting) for debugging your configuration.
5475
5576
### Start Gemini CLI
5677

gemini-extension.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bigquery-conversational-analytics",
3-
"version": "0.1.3",
3+
"version": "0.1.6",
44
"description": "Connect, query, and generate data insights for BigQuery datasets and data.",
55
"mcpServers": {
66
"bigquery_conversational_analytics": {
@@ -12,5 +12,27 @@
1212
]
1313
}
1414
},
15-
"contextFileName": "BIGQUERY_CONVERSATIONAL_ANALYTICS.md"
15+
"contextFileName": "BIGQUERY_CONVERSATIONAL_ANALYTICS.md",
16+
"settings": [
17+
{
18+
"name": "Project ID",
19+
"description": "ID of the Google Cloud project",
20+
"envVar": "BIGQUERY_PROJECT"
21+
},
22+
{
23+
"name": "Location",
24+
"description": "(Optional) Location of the BigQuery resources",
25+
"envVar": "BIGQUERY_LOCATION"
26+
},
27+
{
28+
"name": "Authorization Scopes",
29+
"description": "(Optional) Authorization scopes for Google APIs (Dataplex, Conversational API, BigQuery), comma-separated",
30+
"envVar": "BIGQUERY_SCOPES"
31+
},
32+
{
33+
"name": "Maximum Query Result Rows",
34+
"description": "(Optional) Maximum number of rows to return from BigQuery query results",
35+
"envVar": "BIGQUERY_MAX_QUERY_RESULT_ROWS"
36+
}
37+
]
1638
}

toolbox_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.25.0
1+
0.26.0

tools.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ sources:
1818
project: ${BIGQUERY_PROJECT}
1919
location: ${BIGQUERY_LOCATION:}
2020
useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
21+
scopes: ${BIGQUERY_SCOPES:}
22+
maxQueryResultRows: ${BIGQUERY_MAX_QUERY_RESULT_ROWS:50}
2123

2224
tools:
2325
ask_data_insights:

0 commit comments

Comments
 (0)