mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
Move the CLI application from packages/server/ to apps/cli/ to align with the monorepo convention (apps/ for deployable applications, packages/ for shared libraries). Rename package to @openchatlab/chatlab. Also fix a bug in ensureToken() that used raw string manipulation to write config.toml, causing duplicate token fields that corrupted the TOML file. This led to config parse failures and user_data_dir being overwritten with defaults. Now uses writeConfigField() for safe writes.
40 lines
434 B
Plaintext
40 lines
434 B
Plaintext
# OSX
|
|
.DS_Store
|
|
|
|
# Node.js
|
|
node_modules
|
|
|
|
# local env files
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Log files
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
*.log
|
|
error-log-*.txt
|
|
|
|
# Project
|
|
dist/
|
|
dist-web/
|
|
apps/cli/native/
|
|
.history/
|
|
out
|
|
.obskey
|
|
release-config.json
|
|
src/auto-imports.d.ts
|
|
src/components.d.ts
|
|
*.tsbuildinfo
|
|
|
|
# 使用npm作为包管理器
|
|
yarn.lock
|
|
|
|
# AI
|
|
.cursor
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/snippets.code-snippets
|
|
.docs
|
|
|