Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 7 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Contributing to the Project

We welcome contributions in the form of bug reports, feature requests,
Expand All @@ -24,30 +23,29 @@ ensure that your contributions can be integrated smoothly.

```bash
# Clone the repository
git clone https://github.com/dwash96/aider-ce.git
cd aider-ce
git clone https://github.com/dwash96/cecli.git
cd cecli

# Make a venv
python3 -m venv venv
source venv/bin/activate

# Install UV because it's superior
# Install UV because it's superior (skip if you already have it installed globally)
pip install uv

# Build Project
uv pip install --native-tls -e .

# Add tool chain
uv install --native-tls pre-commit
uv pip install --native-tls pre-commit
pre-commit install

# Run Program
aider-ce

# OR!

cecli

# OR! (legacy)
aider-ce

```

### Building the Docker Image
Expand Down
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ LLMs are a part of our lives from here on out so join us in learning about and c

## Documentation/Other Notes:

* [Agent Mode](https://github.com/dwash96/cecli/blob/main/aider/website/docs/config/agent-mode.md)
* [MCP Configuration](https://github.com/dwash96/cecli/blob/main/aider/website/docs/config/mcp.md)
* [TUI Configuration](https://github.com/dwash96/cecli/blob/main/aider/website/docs/config/tui.md)
* [Skills](https://github.com/dwash96/cecli/blob/main/aider/website/docs/config/skills.md)
* [Session Management](https://github.com/dwash96/cecli/blob/main/aider/website/docs/sessions.md)
* [Agent Mode](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/agent-mode.md)
* [MCP Configuration](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/mcp.md)
* [TUI Configuration](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/tui.md)
* [Skills](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/skills.md)
* [Session Management](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/sessions.md)
* [Custom Commands](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/custom-commands.md)
* [Custom System Prompts](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/custom-system-prompts.md)
* [Custom Tools](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/agent-mode.md#creating-custom-tools)
* [Advanced Model Configuration](https://github.com/dwash96/cecli/blob/main/aider/website/docs/config/model-aliases.md#advanced-model-settings)
* [Advanced Model Configuration](https://github.com/dwash96/cecli/blob/main/cecli/website/docs/config/model-aliases.md#advanced-model-settings)
* [Aider Original Documentation (still mostly applies)](https://aider.chat/)

You can see a selection of the enhancements and updates by comparing the help output:
Expand Down Expand Up @@ -101,7 +101,15 @@ DEEPSEEK_API_KEY="..."

### Run Program

If you are in the directory with your .aider.conf.yml file, then simply running `cecli` or `aider-ce` will start the agent with your configuration. If you want additional sandboxing, we publish a docker container that can be ran as follows:
If you are in the directory with your .aider.conf.yml file, then simply running `cecli` or `aider-ce` will start the agent with your configuration. For best results, since terminal emulators can be finicky, we highly suggest running:

```bash
cecli --terminal-setup
```

On first run to configure keybindings for the program (notably `shift+enter`). Support for terminals is ongoing so feel free to make a github issue or chat in the discord for us to figure out what's needed to support automatically setting up a given terminal.

If you want additional sandboxing, we publish a docker container that can be ran as follows:

```bash
docker pull dustinwashington/aider-ce
Expand Down Expand Up @@ -464,4 +472,4 @@ The current priorities are to improve core capabilities and user experience of t
<td></td>
</tr>
</tbody>
</table>
</table>
2 changes: 1 addition & 1 deletion cecli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from packaging import version

__version__ = "0.95.7.dev"
__version__ = "0.95.8.dev"
safe_version = __version__

try:
Expand Down
11 changes: 11 additions & 0 deletions cecli/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,17 @@ def get_parser(default_config_files, git_root):
default=False,
help="Restore the previous chat history messages (default: False)",
)
#########
group = parser.add_argument_group("Input settings")
group.add_argument(
"--terminal-setup",
action=argparse.BooleanOptionalAction,
default=False,
help=(
"Auto-configure terminal emulator for shift+enter support for new lines (default:"
" False)"
),
)
##########
group = parser.add_argument_group("Output settings")
group.add_argument(
Expand Down
3 changes: 3 additions & 0 deletions cecli/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
from .save import SaveCommand
from .save_session import SaveSessionCommand
from .settings import SettingsCommand
from .terminal_setup import TerminalSetupCommand
from .test import TestCommand
from .think_tokens import ThinkTokensCommand
from .tokens import TokensCommand
Expand Down Expand Up @@ -123,6 +124,7 @@
CommandRegistry.register(CommandPrefixCommand)
CommandRegistry.register(LoadSkillCommand)
CommandRegistry.register(RemoveSkillCommand)
CommandRegistry.register(TerminalSetupCommand)


__all__ = [
Expand Down Expand Up @@ -187,6 +189,7 @@
"CommandPrefixCommand",
"LoadSkillCommand",
"RemoveSkillCommand",
"TerminalSetupCommand",
"SwitchCoderSignal",
"Commands",
]
Loading
Loading