Skip to content

Commit 30fd4fa

Browse files
dblab0claude
andcommitted
Initial commit: Add novel-cli project structure
- Add project configuration files (.env.example, .gitignore, pyproject.toml, uv.lock) - Add documentation (README, CHANGELOG, LICENSE, NOTICE) - Add source code structure (src/, agents/, packages/, skills/) - Add test directories (tests/, tests_e2e/, eval_cases/) - Add GitHub workflows, docker configs, and viewer app Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 parents  commit 30fd4fa

831 files changed

Lines changed: 240097 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
EVAL_API_KEY=
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 检查空函数体
2+
3+
on:
4+
push:
5+
branches: [master]
6+
paths:
7+
- '**/*.py'
8+
pull_request:
9+
paths:
10+
- '**/*.py'
11+
12+
jobs:
13+
check:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 2 # 需要 2 个提交用于 diff 对比
19+
20+
- uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.11"
23+
24+
- name: 扫描空函数体
25+
run: python scripts/check_empty_body.py --diff HEAD~1 src packages

.gitignore

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
23+
# Virtual environments
24+
.venv/
25+
venv/
26+
ENV/
27+
env/
28+
29+
# IDE
30+
.idea/
31+
.vscode/
32+
*.swp
33+
*.swo
34+
*~
35+
36+
# Testing
37+
.pytest_cache/
38+
.coverage
39+
htmlcov/
40+
.tox/
41+
.nox/
42+
43+
# Type checking
44+
.mypy_cache/
45+
.pytype/
46+
47+
# Ruff
48+
.ruff_cache/
49+
50+
# uv
51+
# uv.lock 通常需要提交到版本控制,但如果项目需要可以取消注释
52+
# uv.lock
53+
54+
# OS
55+
.DS_Store
56+
Thumbs.db
57+
58+
# Logs
59+
*.log
60+
logs/
61+
62+
# Local config
63+
.env
64+
.env.local
65+
*.local
66+
67+
# Jupyter
68+
.ipynb_checkpoints/
69+
70+
# Temporary files
71+
*.tmp
72+
*.temp
73+
tmp/
74+
temp/
75+
76+
# Claude Code
77+
.claude/*
78+
!.claude/rules/
79+
80+
# Frontend build artifacts
81+
src/novel_cli/web/static/
82+
web/dist/
83+
vis/dist/
84+
viewer-app/dist/
85+
packages/novel_eval/src/novel_eval/viewer/static/
86+
87+
skills-lock.json
88+
89+
# Node modules
90+
node_modules/
91+
92+
# data(保留示例小说数据)
93+
data/*
94+
!data/input_data/
95+
data/input_data/*
96+
!data/input_data/三国演义/
97+
!data/input_data/西游记/
98+
99+
# issue文件
100+
issue.md
101+
记录.txt
102+
.env
103+
104+
# 测试report.json
105+
tests_ai/report.json
106+
107+
# 评估结果
108+
eval_results/
109+
110+
# 人工工具调用trace
111+
sessions/

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.14

0 commit comments

Comments
 (0)