feat(help): #687 status help JSON schema

This commit is contained in:
YeonGyu-Kim
2026-05-25 11:08:15 +09:00
parent a73e4db1a8
commit 36e394a53d
3 changed files with 354 additions and 1 deletions
+8 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bun
import { z } from "zod"
import { DoctorResultSchema as DoctorSchema } from "../src/help/schema/doctor"
import { StatusResultSchema as StatusSchema } from "../src/help/schema/status"
const SCHEMA_OUTPUT_DIR = "assets/help"
interface SchemaEntry {
@@ -39,6 +39,13 @@ const SCHEMAS: SchemaEntry[] = [
description: "JSON schema for oh-my-openagent doctor diagnostic output",
id: "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/help/doctor.schema.json",
},
{
name: "status",
schema: StatusSchema,
title: "System Status",
description: "JSON schema for oh-my-openagent system status output",
id: "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/help/status.schema.json",
},
]
async function main() {