mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
12 lines
386 B
TypeScript
12 lines
386 B
TypeScript
import { readFile } from "node:fs/promises";
|
|
import { join } from "node:path";
|
|
|
|
export const agentSetupSlug = ["agents-setup"] as const;
|
|
|
|
export function isAgentSetupSlug(slug: string[] | undefined) {
|
|
return slug?.length === 1 && slug[0] === agentSetupSlug[0];
|
|
}
|
|
|
|
export function readAgentSetupMarkdown() {
|
|
return readFile(join(process.cwd(), "content/agents-setup.md"), "utf8");
|
|
}
|