import { Hono } from "npm:hono";
export function githubExtension({
token: string,
}) {
const app = new Hono();
app.get("/", (c) => {
return c.json({
type: "list",
list: {
items: [
{
"title": "Search Repositories"
}
]
}
})
});
app.get("/repos/search", (c) => {
return {
type: "list",
list: {
items: []
}
}
})
return app.fetch
}