修复了一些错误 更新了AI.md(给ai看的)

This commit is contained in:
Falck
2026-05-02 19:21:50 +08:00
parent 0783428f80
commit 70c531860b
240 changed files with 5626 additions and 10790 deletions

View File

@@ -1,13 +1,7 @@
#!/usr/bin/env python3
"""NebulaShell 主入口 - 兼容旧版启动方式
此文件用于兼容 README 中描述的 `python main.py` 启动方式。
推荐使用 `oss serve` 命令启动。
"""
import sys
from pathlib import Path
# 确保 workspace 在 Python 路径中
workspace_dir = Path(__file__).parent.resolve()
if str(workspace_dir) not in sys.path:
sys.path.insert(0, str(workspace_dir))