@openclaw/anthropic-vertex-provider 2026.5.28 → 2026.5.30-beta.1

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/dist/api.js CHANGED
@@ -1,6 +1,11 @@
1
1
  import { hasAnthropicVertexAvailableAuth, hasAnthropicVertexCredentials, resolveAnthropicVertexClientRegion, resolveAnthropicVertexConfigApiKey, resolveAnthropicVertexProjectId, resolveAnthropicVertexRegion, resolveAnthropicVertexRegionFromBaseUrl } from "./region.js";
2
2
  import { ANTHROPIC_VERTEX_DEFAULT_MODEL_ID, buildAnthropicVertexProvider } from "./provider-catalog.js";
3
3
  //#region extensions/anthropic-vertex/api.ts
4
+ let streamRuntimeModulePromise = null;
5
+ const loadStreamRuntimeModule = async () => {
6
+ streamRuntimeModulePromise ??= import("./stream-runtime.js");
7
+ return await streamRuntimeModulePromise;
8
+ };
4
9
  function mergeImplicitAnthropicVertexProvider(params) {
5
10
  const { existing, implicit } = params;
6
11
  if (!existing) return implicit;
@@ -16,13 +21,13 @@ function resolveImplicitAnthropicVertexProvider(params) {
16
21
  return buildAnthropicVertexProvider({ env });
17
22
  }
18
23
  function createAnthropicVertexStreamFn(projectId, region, baseURL, deps) {
19
- const streamFnPromise = import("./stream-runtime.js").then((runtime) => runtime.createAnthropicVertexStreamFn(projectId, region, baseURL, deps));
24
+ const streamFnPromise = loadStreamRuntimeModule().then((runtime) => runtime.createAnthropicVertexStreamFn(projectId, region, baseURL, deps));
20
25
  return async (model, context, options) => {
21
26
  return (await streamFnPromise)(model, context, options);
22
27
  };
23
28
  }
24
29
  function createAnthropicVertexStreamFnForModel(model, env = process.env, deps) {
25
- const streamFnPromise = import("./stream-runtime.js").then((runtime) => runtime.createAnthropicVertexStreamFnForModel(model, env, deps));
30
+ const streamFnPromise = loadStreamRuntimeModule().then((runtime) => runtime.createAnthropicVertexStreamFnForModel(model, env, deps));
26
31
  return async (...args) => {
27
32
  return (await streamFnPromise)(...args);
28
33
  };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/anthropic-vertex-provider",
3
- "version": "2026.5.28",
3
+ "version": "2026.5.30-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/anthropic-vertex-provider",
9
- "version": "2026.5.28",
9
+ "version": "2026.5.30-beta.1",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/vertex-sdk": "0.16.1"
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/anthropic-vertex-provider",
3
- "version": "2026.5.28",
3
+ "version": "2026.5.30-beta.1",
4
4
  "description": "OpenClaw Anthropic Vertex provider plugin for Claude models on Google Vertex AI.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,10 +20,10 @@
20
20
  "minHostVersion": ">=2026.5.12-beta.1"
21
21
  },
22
22
  "compat": {
23
- "pluginApi": ">=2026.5.28"
23
+ "pluginApi": ">=2026.5.30-beta.1"
24
24
  },
25
25
  "build": {
26
- "openclawVersion": "2026.5.28",
26
+ "openclawVersion": "2026.5.30-beta.1",
27
27
  "bundledDist": false
28
28
  },
29
29
  "release": {
@@ -40,7 +40,7 @@
40
40
  "npm-shrinkwrap.json"
41
41
  ],
42
42
  "peerDependencies": {
43
- "openclaw": ">=2026.5.28"
43
+ "openclaw": ">=2026.5.30-beta.1"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {