Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions web/app/api/sample/[id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ interface SamplePayload {
files: SampleFile[];
entryFile: string;
rootName: string;
packagePath: string;
}

async function walk(dir: string, base: string): Promise<SampleFile[]> {
Expand Down Expand Up @@ -86,6 +87,7 @@ export async function GET(_req: NextRequest, { params }: { params: Promise<{ id:
files,
entryFile: "SKILL.md",
rootName: id,
packagePath: "",
};
return NextResponse.json(payload, {
headers: { "Cache-Control": "public, max-age=300" },
Expand Down
281 changes: 175 additions & 106 deletions web/app/page.tsx

Large diffs are not rendered by default.

Loading