Release v0.1.0: 小程序使用建议跳转腾讯文档 + 配置导入导出功能

This commit is contained in:
权益小助手开发
2026-05-04 17:09:07 +08:00
commit 7d90523164
89 changed files with 18289 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env node
import { fileURLToPath, pathToFileURL } from 'url'
import path from 'path'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
if (process.argv.includes('--mcp')) {
await import(pathToFileURL(path.join(__dirname, '../dist/mcp/index.js')).href)
} else {
// Default port 3456 for production
if (!process.env.PORT) process.env.PORT = '3456'
await import(pathToFileURL(path.join(__dirname, '../dist/server/index.js')).href)
}