mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Introduce openclaw adapter package with server execution, CLI stream formatting, and UI config fields. Register the adapter across CLI, server, and UI registries. Add adapter label in all relevant pages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
471 B
TypeScript
12 lines
471 B
TypeScript
import type { UIAdapterModule } from "../types";
|
|
import { parseOpenClawStdoutLine } from "@paperclip/adapter-openclaw/ui";
|
|
import { buildOpenClawConfig } from "@paperclip/adapter-openclaw/ui";
|
|
import { OpenClawConfigFields } from "./config-fields";
|
|
|
|
export const openClawUIAdapter: UIAdapterModule = {
|
|
type: "openclaw",
|
|
label: "OpenClaw",
|
|
parseStdoutLine: parseOpenClawStdoutLine,
|
|
ConfigFields: OpenClawConfigFields,
|
|
buildAdapterConfig: buildOpenClawConfig,
|
|
};
|