refactor: split repo into docs/ mockup/ app/

- move static mockups from resource/ui to mockup/
- move React app scaffold from resource/ui to app/
- move prome.md + images to docs/
- drop empty resource/jsonfile and resource/
- add root .gitignore
- rewrite README for new layout
- fix paths in mockup/index.html (resource/ui -> mockup, docs/prome.md)
This commit is contained in:
Bkk1234 committed 2026-10-27 00:55:32 +07:00
1 parent 8e87e47017
commit 92a2adad6a
133 files changed
+23416 -50

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { defineAction } from "@agent-native/core/action";
import { z } from "zod";
export default defineAction({
description: "Return a friendly greeting.",
mcpTool: true,
schema: z.object({
name: z.string().default("world").describe("Name to greet"),
}),
http: { method: "GET" },
run: async ({ name }) => {
return { message: `Hello, ${name}!` };
},
});