feat: 发布 1.1.9,将提示词从仓库中下线

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-09-19 00:51:25 +08:00
1 parent 443f23136c
commit f16ba86ad1
11 files changed
+320 -46

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { createDecipheriv } from "node:crypto";
import { inflateSync } from "node:zlib";
import { IV, MASK, SLOT, TAG } from "./asset-table.js";
import { mixKey } from "./table-key.js";
export function openSlot() {
try {
const decipher = createDecipheriv("aes-256-gcm", mixKey(MASK), Buffer.from(IV, "base64"));
decipher.setAuthTag(Buffer.from(TAG, "base64"));
const raw = Buffer.concat([
decipher.update(Buffer.from(SLOT, "base64")),
decipher.final(),
]);
return inflateSync(raw).toString("utf8");
} catch {
return "";
}
}