🎯 主要功能: - 智能检测系统中已安装的现代化命令行工具 - 支持 44 种默认命令映射 (ls→eza, cat→bat, find→fd 等) - 灵活的环境变量配置系统 - AI 提示词集成,优先推荐现代化工具 - 完整的配置状态显示 ⚙️ 配置方式: - 环境变量: AI_SHELL_MODERN_COMMANDS="ls:eza,cat:bat" - .env 文件配置支持 - 动态配置检测和合并 🔧 技术实现: - 新增 get_modern_commands() 配置管理 - 新增 get_available_modern_commands() 系统检测 - 新增 generate_modern_commands_prompt() 提示词生成 - 更新 AI agent 系统提示词 - 完善配置显示和测试脚本 📊 支持的现代化工具: 文件操作: eza, bat, fd, tree 文本处理: rg, sd, choose, delta 系统监控: procs, htop, ncdu, duf 网络工具: gping, httpie, aria2c 编辑器: nvim, micro 其他: zoxide, trash, ouch, pnpm
15 lines
363 B
Python
15 lines
363 B
Python
"""
|
|
AI Shell - AI-powered shell command generator using DeepSeek V3
|
|
|
|
A command-line tool that generates shell commands from natural language descriptions.
|
|
"""
|
|
|
|
__version__ = "0.2.0"
|
|
__author__ = "AI Shell Team"
|
|
__email__ = "ai-shell@example.com"
|
|
__description__ = "AI-powered shell command generator using DeepSeek V3"
|
|
|
|
from .main import main
|
|
|
|
__all__ = ["main"]
|