openclaw/extensions/policy/cli-metadata.ts
Peter Steinberger 269bc5c89e
fix(cli): preserve machine-readable stdout (#113654)
Co-authored-by: 1052326311 <65798732+1052326311@users.noreply.github.com>
2026-07-27 05:44:16 -04:00

11 lines
344 B
TypeScript

import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
import { POLICY_CLI_DESCRIPTOR } from "./src/cli-output-mode.js";
export default definePluginEntry({
id: "policy",
name: "Policy",
description: "Policy CLI metadata",
register(api) {
api.registerCli(() => {}, { descriptors: [POLICY_CLI_DESCRIPTOR] });
},
});