@ssweens/pi-vertex 1.1.9 → 1.1.10

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 CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.1.10] - 2026-05-28
6
+ ### Fixed
7
+ - Switched `registerProvider("vertex")` `apiKey` from legacy env-var shorthand (`"GOOGLE_CLOUD_PROJECT"`) to explicit env syntax (`"$GOOGLE_CLOUD_PROJECT"`). This removes deprecation warnings and future-proofs provider registration against upcoming removal of implicit env-var detection.
8
+
5
9
  ## [1.1.9] - 2026-05-19
6
10
  ### Fixed
7
11
  - **Gemini 3/3.5 default thinking preserved** — previously, if no reasoning effort level was specified, we silently overrode Gemini 3/3.5 models to use their lowest thinking level (`MINIMAL`). This severely degraded the intelligence of Gemini 3.5 Flash (defaulting it to no real reasoning/thinking) and Gemini 3 Pro/Flash. We now completely omit `thinkingConfig` when `options.reasoning` is undefined, allowing Gemini 3/3.5 models to use their native GA defaults (`MEDIUM` for 3.5 Flash, `HIGH` for others).
package/index.ts CHANGED
@@ -90,8 +90,8 @@ export default function (pi: ExtensionAPI) {
90
90
  // Use a placeholder baseUrl (actual URLs built per-request based on model region)
91
91
  baseUrl: "https://aiplatform.googleapis.com",
92
92
 
93
- // Use env var name for detection
94
- apiKey: "GOOGLE_CLOUD_PROJECT",
93
+ // Use explicit env var reference
94
+ apiKey: "$GOOGLE_CLOUD_PROJECT",
95
95
 
96
96
  // API type varies by model
97
97
  api: "vertex-unified",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssweens/pi-vertex",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Google Vertex AI provider for Pi coding agent - supports Gemini, Claude, and all MaaS models",
5
5
  "type": "module",
6
6
  "main": "index.ts",