Files
ChatLab/packages/core/package.json
T
diguaandCursor 0ba9ae04a6 chore: migrate workspace packages to ESM
- Add "type": "module" to all workspace package.json files
- Replace __dirname with import.meta.url-based resolveCliPath() helper
- Convert stream-json/stream-chain CJS named imports to default + destructure
  for ESM compatibility
- Use createRequire() for @node-rs/jieba native module loading in ESM context

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 23:19:47 +08:00

10 lines
253 B
JSON

{
"name": "@openchatlab/core",
"version": "0.0.0",
"private": true,
"description": "ChatLab 平台无关的共享核心:抽象接口、查询逻辑、分析算法",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts"
}