Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a481e39
Rename CLI command from cli-code-agent to cli-code while keeping pack…
ipv1337 Apr 15, 2025
487bb01
Fix whitespace and EOF issues, remove pr_body.txt
ipv1337 Apr 15, 2025
9216280
Implement Step 1: Core MCP Protocol Client - Add client, message, and…
ipv1337 Apr 15, 2025
2038084
Implement Step 2: Gemini Model Adapter - Add model adapter interface …
ipv1337 Apr 15, 2025
6c66c9a
Add GitHub tool for MCP protocol with testing and documentation
ipv1337 Apr 15, 2025
877a39d
Add GitHub tools registration to CLI
ipv1337 Apr 15, 2025
1f5d20d
Fix import paths for demo compatibility
ipv1337 Apr 15, 2025
072cb24
Fix import paths and test issues for proper tool execution
ipv1337 Apr 15, 2025
6dc71a8
Fix linting issues and ensure consistent formatting
ipv1337 Apr 15, 2025
d6cdd8a
Update MCP integration plan to reflect Tool Execution Framework compl…
ipv1337 Apr 15, 2025
fd1e143
Add MCP protocol integration examples to README
ipv1337 Apr 15, 2025
20c6d90
Merge branch 'main' into feature/mcp-integration
ipv1337 Apr 15, 2025
2322841
Fix missing description parameter in ToolParameter constructor
ipv1337 Apr 15, 2025
a0c71e4
Update import paths and fix ToolParameter implementation
ipv1337 Apr 15, 2025
d140c0e
Implement tool executor module and fix tests
ipv1337 Apr 15, 2025
c222413
Add comprehensive tests for tools module (executor, formatter, models…
ipv1337 Apr 16, 2025
3e9aab5
[WIP] Add tests for MCP tools framework (executor, registry, models)
ipv1337 Apr 16, 2025
be30467
[WIP] Add improved MCP client and Gemini adapter tests
ipv1337 Apr 16, 2025
31ea6f7
Clean up test files for MCP tool framework components
ipv1337 Apr 16, 2025
3c3d433
Fix various test failures and update Ollama list_models
ipv1337 Apr 16, 2025
0542018
feat(github): Add REST API tests and helpers for issues
ipv1337 Apr 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Configure API credentials for your desired LLM provider. See the [Installation G

**Example (Gemini):**
```bash
cli-code-agent setup --provider=gemini YOUR_GOOGLE_API_KEY
cli-code setup --provider=gemini YOUR_GOOGLE_API_KEY
```

Configuration is typically stored in `~/.config/cli-code/config.yaml`, but can be overridden by environment variables or a custom file path.
Expand All @@ -62,13 +62,13 @@ Configuration is typically stored in `~/.config/cli-code/config.yaml`, but can b
Start an interactive chat session:
```bash
# Use default provider/model
cli-code-agent
cli-code

# Specify provider (uses provider's default model)
cli-code-agent --provider=ollama
cli-code --provider=ollama

# Specify provider and model
cli-code-agent --provider=ollama --model llama3
cli-code --provider=ollama --model llama3
```

**Interactive Commands:**
Expand All @@ -93,4 +93,4 @@ Contributions are welcome! Please see the [Contributing Guide](docs/contributing

## License

MIT
MIT
17 changes: 17 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Documentation

This directory contains documentation for the CLI project.

## Contents

- [Architecture](architecture.md) - Overview of the system architecture
- [Brainstorm](brainstorm.md) - Ideas and feature brainstorming
- [Changelog](changelog.md) - Detailed changelog of project updates
- [Code Coverage](CODE_COVERAGE.md) - Information about code test coverage
- [Context](context.md) - Context management documentation
- [Context Rules](context_rules.md) - Rules for managing context
- [Contributing](contributing.md) - Guidelines for contributing to the project
- [Installation](install.md) - Installation instructions
- [MCP Integration](mcp-integration.md) - Plan for integrating Model Context Provider protocol
- [Releases](releases.md) - Release information and history
- [Testing](TESTING.md) - Testing guidelines and procedures
28 changes: 14 additions & 14 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Before using CLI-Code, you need to set up credentials for your chosen provider:
### For Gemini:

```bash
cli-code-agent setup --provider=gemini YOUR_GOOGLE_API_KEY
cli-code setup --provider=gemini YOUR_GOOGLE_API_KEY
```

To get a Google API key for Gemini:
Expand All @@ -36,7 +36,7 @@ To get a Google API key for Gemini:
### For Ollama:

```bash
cli-code-agent setup --provider=ollama http://localhost:11434/v1
cli-code setup --provider=ollama http://localhost:11434/v1
```

Make sure your Ollama server is running and accessible at the specified URL.
Expand All @@ -47,35 +47,35 @@ Make sure your Ollama server is running and accessible at the specified URL.

```bash
# Start with default provider and model
cli-code-agent
cli-code

# Start with a specific provider
cli-code-agent --provider=ollama
cli-code --provider=ollama

# Start with a specific provider and model
cli-code-agent --provider=gemini --model models/gemini-2.5-pro-exp-03-25
cli-code-agent --provider=ollama --model llama3
cli-code --provider=gemini --model models/gemini-2.5-pro-exp-03-25
cli-code --provider=ollama --model llama3
```

### Setting Default Preferences

```bash
# Set default provider
cli-code-agent set-default-provider gemini
cli-code set-default-provider gemini

# Set default model for a provider
cli-code-agent set-default-model --provider=gemini models/gemini-2.5-pro-exp-03-25
cli-code-agent set-default-model --provider=ollama llama3
cli-code set-default-model --provider=gemini models/gemini-2.5-pro-exp-03-25
cli-code set-default-model --provider=ollama llama3
```

### Listing Available Models

```bash
# List models for Gemini
cli-code-agent list-models --provider=gemini
cli-code list-models --provider=gemini

# List models for Ollama
cli-code-agent list-models --provider=ollama
cli-code list-models --provider=ollama
```

### Available Commands
Expand All @@ -89,7 +89,7 @@ During an interactive session, you can use these commands:

### Config File

Configuration is stored in `~/.config/cli-code-agent/config.yaml` with this structure:
Configuration is stored in `~/.config/cli-code/config.yaml` with this structure:

```yaml
google_api_key: YOUR_GEMINI_API_KEY_HERE
Expand Down Expand Up @@ -121,9 +121,9 @@ CLI_CODE_OLLAMA_DEFAULT_MODEL=llama3.2:latest

If you encounter issues:

1. Verify your API credentials are correct: `cat ~/.config/cli-code-agent/config.yaml`
1. Verify your API credentials are correct: `cat ~/.config/cli-code/config.yaml`
2. Ensure you have a working internet connection
3. Check that you have Python 3.9+ installed: `python --version`
4. For Ollama, ensure the Ollama server is running: `curl http://localhost:11434/v1/models`

For more help, visit: https://github.com/BlueCentre/cli-code
For more help, visit: https://github.com/BlueCentre/cli-code
Loading
Loading