chore: Update formatting.

This commit is contained in:
cpojer
2026-02-17 08:53:59 +09:00
parent 1e13a3933c
commit 90ef2d6bdf
1107 changed files with 2155 additions and 2075 deletions

View File

@@ -1,10 +1,3 @@
import type {
OpenClawHookMetadata,
HookEntry,
HookInstallSpec,
HookInvocationPolicy,
ParsedHookFrontmatter,
} from "./types.js";
import { parseFrontmatterBlock } from "../markdown/frontmatter.js";
import {
getFrontmatterString,
@@ -16,6 +9,13 @@ import {
resolveOpenClawManifestOs,
resolveOpenClawManifestRequires,
} from "../shared/frontmatter.js";
import type {
OpenClawHookMetadata,
HookEntry,
HookInstallSpec,
HookInvocationPolicy,
ParsedHookFrontmatter,
} from "./types.js";
export function parseFrontmatter(content: string): ParsedHookFrontmatter {
return parseFrontmatterBlock(content);