实现了基于 Web 的 Claude Code 实例管理功能: ## 功能特性 - 🔐 用户认证:JWT 登录验证 - 🚀 实例管理:创建、启动、停止、删除 Claude Code 实例 - 📊 实时监控:CPU、内存、运行时间统计 - 📝 日志管理:Winston 日志系统 - 🔌 PM2 集成:稳定的进程管理 - 🌐 Web 界面:Vue 3 + Element Plus ## 技术栈 - 后端:Node.js + Express + TypeScript + PM2 - 前端:Vue 3 + TypeScript + Vite + Element Plus - 认证:JWT - 存储:文件系统(JSON) ## 项目结构 - Monorepo 结构,前后端分离 - 完整的类型定义 - 模块化设计 - 详细的开发文档 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
23 lines
539 B
JavaScript
23 lines
539 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
],
|
|
plugins: ['@typescript-eslint'],
|
|
env: {
|
|
node: true,
|
|
es6: true,
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2022,
|
|
sourceType: 'module',
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
'no-console': 'off',
|
|
},
|
|
};
|