Introduce token-based author authentication (register/verify API), skill forking with EditGate protection, tag metadata on skills, and download/push stats. Enhanced push scripts with token auth and per-skill filtering. Updated UI with stats, tags, and author info on skill cards.
20 lines
665 B
JavaScript
20 lines
665 B
JavaScript
import { i as isPowerShell, d as buildPushScriptPS, c as buildPushScript } from '../chunks/sync_BEq_wzpT.mjs';
|
|
export { renderers } from '../renderers.mjs';
|
|
|
|
const GET = async ({ url, request }) => {
|
|
const ps = isPowerShell(request);
|
|
const script = ps ? await buildPushScriptPS(url.origin, ".claude\\skills") : await buildPushScript(url.origin, ".claude/skills");
|
|
return new Response(script, {
|
|
headers: { "Content-Type": "text/plain; charset=utf-8" }
|
|
});
|
|
};
|
|
|
|
const _page = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
__proto__: null,
|
|
GET
|
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
|
|
const page = () => _page;
|
|
|
|
export { page };
|