Initial commit: AI Shell v0.1.0

- AI-powered shell command generator using DeepSeek V3
- Support for natural language to shell command conversion
- Secure configuration management with .env files
- Package structure with uv tool installation support
- Chinese and English language support
- Configuration validation and error handling
This commit is contained in:
2025-07-12 22:06:15 +08:00
commit 644071850a
21 changed files with 3252 additions and 0 deletions

13
ai_shell/models.py Normal file
View File

@ -0,0 +1,13 @@
"""
Data models for AI Shell
"""
from dataclasses import dataclass
from typing import Optional
@dataclass
class Answer:
"""Response model for AI-generated shell commands"""
success: bool
cmd: Optional[str]
failure: Optional[str]