mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 10:28:13 +00:00
17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
/**
|
|
* Lightweight Anthropic setup entry. It registers Claude CLI backend metadata
|
|
* without loading full provider runtime code.
|
|
*/
|
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
import { buildAnthropicCliBackend } from "./cli-backend.js";
|
|
|
|
/** Setup entry for Claude CLI backend registration. */
|
|
export default definePluginEntry({
|
|
id: "anthropic",
|
|
name: "Anthropic Setup",
|
|
description: "Lightweight Anthropic setup hooks",
|
|
register(api) {
|
|
api.registerCliBackend(buildAnthropicCliBackend());
|
|
},
|
|
});
|