Release v0.9.1: Add native HTTP REST API server, interactive /docs, and CLI endpoints
Binaries / Build & Release Binaries (push) Has been cancelled

This commit is contained in:
gitea committed 2026-08-25 19:03:23 +08:00
1 parent b3792ac3ff
commit 3c085456b0
15 files changed
+1173 -51

No files matched your search

+8
View File
@@ -12,6 +12,7 @@ import { handleContextCommand } from "./commands/context.js";
import { handleCorpsCommand } from "./commands/corps.js";
import { handleDelegationCommand } from "./commands/delegation.js";
import { handleDeployCommand } from "./commands/deploy.js";
import { handleHttpCommand } from "./commands/http.js";
import { handleLlmCommand } from "./commands/llm.js";
import { handleMcpCommand, printMcpConfig } from "./commands/mcp.js";
import { handleOpenApiCommand } from "./commands/openapi.js";
@@ -43,6 +44,8 @@ const DEFAULT_APP_ROOT = dirname(dirname(dirname(fileURLToPath(import.meta.url))
const KNOWN_AREAS = new Set([
"config",
"service",
"http",
"serve",
"update",
"tools",
"corps",
@@ -187,6 +190,11 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
return;
}
if (area === "http" || area === "serve") {
await handleHttpCommand(args);
return;
}
if (area === "update" || area === "changelog") {
const isChangelog =
area === "changelog" ||