{ "scripts": { "dev": "tsx watch src/index.ts" } } AG-UI リクエストを解析する まずは、AG-UI リクエストを解析して返すだけのエンドポイントを作成します。src/index.ts ファイルを作成し、以下のコードを追加します。 import express from "express"; import { RunAgentInputSchema, RunAgentInput } from "@ag-ui/core"; const app = express(); app.use(express.json()); app.post("/awp", async (req, res) => { try { // Zod スキーマでリクエストボディを検証 const input: RunAgentInput = RunAgentInputS

