fix: ship prebuilt lib and drop prepare for one-click git install

Avoids pnpm allowBuilds block on dsh plugin add; README install steps expanded for first-time users.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
owo
2026-08-14 17:16:25 +08:00
co-authored by Cursor
parent c2c0db7597
commit 8ef1622822
15 changed files with 869 additions and 62 deletions
+7
View File
@@ -0,0 +1,7 @@
export function isAuthorized(opts) {
if (opts.allowAllUsers)
return true;
if (opts.userId === undefined)
return false;
return opts.allowedUserIds.includes(opts.userId);
}