1
0

fix config

This commit is contained in:
2025-06-02 00:32:00 +09:00
parent 0f3776e75e
commit 81ae0037d9
12 changed files with 57 additions and 52 deletions

View File

@ -4,7 +4,7 @@
```
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ User Input │ │ ai-shell CLI │ │ MCP Server │
│ User Input │ │ aishell CLI │ │ MCP Server │
│ (Terminal) │────▶│ (Rust) │────▶│ (Python) │
└─────────────────┘ └─────────────────┘ └─────────────────┘
│ │

View File

@ -16,15 +16,15 @@
- HTTP REST API通信
2. **環境構築**
- `~/.config/ai-shell/` にPython venv環境
- `~/.config/syui/ai/shell/` にPython venv環境
- セットアップスクリプト (`make setup`)
- 起動スクリプト
3. **CLI機能**
- インタラクティブモード
- ワンショット実行 (`ai-shell exec "prompt"`)
- ファイル分析 (`ai-shell analyze file`)
- ヘルスチェック (`ai-shell health`)
- ワンショット実行 (`aishell exec "prompt"`)
- ファイル分析 (`aishell analyze file`)
- ヘルスチェック (`aishell health`)
4. **コマンド**
- `/help` - ヘルプ表示
@ -96,12 +96,12 @@
├── setup.sh # セットアップスクリプト
└── start.sh # 起動スクリプト
~/.config/ai-shell/ # ユーザー設定ディレクトリ
~/.config/syui/ai/shell/ # ユーザー設定ディレクトリ
├── venv/ # Python仮想環境
├── config.toml # ユーザー設定
├── mcp_server.py # MCPサーバーコピー
└── bin/
├── ai-shell # CLIラッパー
├── aishell # CLIラッパー
└── mcp-server # サーバーラッパー
```
@ -123,10 +123,10 @@ git status
make run-server
# CLIを起動Terminal 2
./target/debug/ai-shell
./target/debug/aishell
# または、セットアップ済みなら
ai-shell
aishell
```
## 重要な設計思想