chore: release v0.3.5

This commit is contained in:
chrishuan
2026-05-20 22:58:05 +08:00
parent f81b79e4ac
commit 0d462e0b63
19 changed files with 3140 additions and 7 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env node
// 薄启动器:加载预编译好的 VDB 导出脚本。
// 构建:npm run build:export-vdb
// 使用:npm run export:vdb -- [参数] 或 node ./bin/export-tencent-vdb.mjs [参数]
import path from "node:path";
import { fileURLToPath } from "node:url";
import fs from "node:fs";
const thisDir = path.dirname(fileURLToPath(import.meta.url));
const entryScript = path.resolve(thisDir, "../scripts/export-tencent-vdb/dist/export-tencent-vdb.js");
if (!fs.existsSync(entryScript)) {
console.error("❌ 预编译产物不存在: " + entryScript);
console.error(" 请先执行: npm run build:export-tencent-vdb");
process.exit(1);
}
import(entryScript);
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env node
// Thin wrapper: runs the pre-compiled migration CLI entry.
// Build first: npm run build:migrate-sqlite-to-vdb (or pnpm build:migrate-sqlite-to-vdb)
import path from "node:path";
import { fileURLToPath } from "node:url";
const thisDir = path.dirname(fileURLToPath(import.meta.url));
const entryScript = path.resolve(thisDir, "../scripts/migrate-sqlite-to-tcvdb/dist/scripts/migrate-sqlite-to-tcvdb/cli-entry.js");
import(entryScript);
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env node
// 薄启动器:加载预编译好的本地 Memory 数据查询脚本。
// 构建:npm run build:read-local-memory
// 使用:npm run read-local-memory -- [参数] 或 node ./bin/read-local-memory.mjs [参数]
import path from "node:path";
import { fileURLToPath } from "node:url";
import fs from "node:fs";
const thisDir = path.dirname(fileURLToPath(import.meta.url));
const entryScript = path.resolve(thisDir, "../scripts/read-local-memory/dist/read-local-memory.js");
if (!fs.existsSync(entryScript)) {
console.error("❌ 预编译产物不存在: " + entryScript);
console.error(" 请先执行: npm run build:read-local-memory");
process.exit(1);
}
import(entryScript);