Files
2026-06-04 07:13:17 -04:00

22 lines
719 B
TypeScript

/**
* Lightweight Anthropic Vertex setup entry. It exposes provider auth detection
* without importing the stream runtime or Vertex SDK.
*/
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
import { resolveAnthropicVertexConfigApiKey } from "./region.js";
/** Setup entry for Anthropic Vertex provider auth probing. */
export default definePluginEntry({
id: "anthropic-vertex",
name: "Anthropic Vertex Setup",
description: "Lightweight Anthropic Vertex setup hooks",
register(api) {
api.registerProvider({
id: "anthropic-vertex",
label: "Anthropic Vertex",
auth: [],
resolveConfigApiKey: ({ env }) => resolveAnthropicVertexConfigApiKey(env),
});
},
});