Skip to content

Commit 930eeb2

Browse files
authored
Merge pull request #376 from dwash96/v0.95.8
v0.95.8
2 parents c8f1f83 + b8a1da6 commit 930eeb2

13 files changed

Lines changed: 429 additions & 42 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Contributing to the Project
32

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

2524
```bash
2625
# Clone the repository
27-
git clone https://github.com/dwash96/aider-ce.git
28-
cd aider-ce
26+
git clone https://github.com/dwash96/cecli.git
27+
cd cecli
2928

3029
# Make a venv
3130
python3 -m venv venv
3231
source venv/bin/activate
3332

34-
# Install UV because it's superior
33+
# Install UV because it's superior (skip if you already have it installed globally)
3534
pip install uv
3635

3736
# Build Project
3837
uv pip install --native-tls -e .
3938

4039
# Add tool chain
41-
uv install --native-tls pre-commit
40+
uv pip install --native-tls pre-commit
4241
pre-commit install
4342

4443
# Run Program
45-
aider-ce
46-
47-
# OR!
48-
4944
cecli
5045

46+
# OR! (legacy)
47+
aider-ce
48+
5149
```
5250

5351
### Building the Docker Image

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ LLMs are a part of our lives from here on out so join us in learning about and c
1616

1717
## Documentation/Other Notes:
1818

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

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

102102
### Run Program
103103

104-
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:
104+
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:
105+
106+
```bash
107+
cecli --terminal-setup
108+
```
109+
110+
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.
111+
112+
If you want additional sandboxing, we publish a docker container that can be ran as follows:
105113

106114
```bash
107115
docker pull dustinwashington/aider-ce
@@ -464,4 +472,4 @@ The current priorities are to improve core capabilities and user experience of t
464472
<td></td>
465473
</tr>
466474
</tbody>
467-
</table>
475+
</table>

cecli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from packaging import version
22

3-
__version__ = "0.95.7.dev"
3+
__version__ = "0.95.8.dev"
44
safe_version = __version__
55

66
try:

cecli/args.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,17 @@ def get_parser(default_config_files, git_root):
456456
default=False,
457457
help="Restore the previous chat history messages (default: False)",
458458
)
459+
#########
460+
group = parser.add_argument_group("Input settings")
461+
group.add_argument(
462+
"--terminal-setup",
463+
action=argparse.BooleanOptionalAction,
464+
default=False,
465+
help=(
466+
"Auto-configure terminal emulator for shift+enter support for new lines (default:"
467+
" False)"
468+
),
469+
)
459470
##########
460471
group = parser.add_argument_group("Output settings")
461472
group.add_argument(

cecli/commands/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
from .save import SaveCommand
5252
from .save_session import SaveSessionCommand
5353
from .settings import SettingsCommand
54+
from .terminal_setup import TerminalSetupCommand
5455
from .test import TestCommand
5556
from .think_tokens import ThinkTokensCommand
5657
from .tokens import TokensCommand
@@ -123,6 +124,7 @@
123124
CommandRegistry.register(CommandPrefixCommand)
124125
CommandRegistry.register(LoadSkillCommand)
125126
CommandRegistry.register(RemoveSkillCommand)
127+
CommandRegistry.register(TerminalSetupCommand)
126128

127129

128130
__all__ = [
@@ -187,6 +189,7 @@
187189
"CommandPrefixCommand",
188190
"LoadSkillCommand",
189191
"RemoveSkillCommand",
192+
"TerminalSetupCommand",
190193
"SwitchCoderSignal",
191194
"Commands",
192195
]

0 commit comments

Comments
 (0)