Skip to content

Commit 57029fa

Browse files
authored
Merge pull request #472 from dwash96/v0.98.0
V0.98.0
2 parents f6a3bba + f23240d commit 57029fa

132 files changed

Lines changed: 2343 additions & 5101 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ The project's documentation is built using Jekyll and hosted on GitHub Pages. To
159159
bundle exec jekyll serve
160160
```
161161

162-
The built documentation will be available in the `aider/website/_site` directory.
162+
The built documentation will be available in the `cecli/website/_site` directory.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ The current priorities are to improve core capabilities and user experience of t
165165

166166
7. **Sub Agents**
167167
* [ ] Add `/fork` and `/rejoin` commands to manually manage parts of the conversation history
168-
* [ ] Add an instance-able view of the conversation system so sub agents get their own context and workspaces
169-
* [ ] Modify coder classes to have discrete identifiers for themselves/management utilities for them to have their own slices of the world
170-
* [ ] Refactor global files like todo lists to live inside instance folders to avoid state conflicts
168+
* [x] Add an instance-able view of the conversation system so sub agents get their own context and workspaces
169+
* [x] Modify coder classes to have discrete identifiers for themselves/management utilities for them to have their own slices of the world
170+
* [x] Refactor global files like todo lists to live inside instance folders to avoid state conflicts
171171
* [ ] Add a `spawn` tool that launches a sub agent as a background command that the parent model waits for to finish
172172
* [ ] Add visibility into active sub agent calls in TUI
173173

benchmark/benchmark.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ async def run_test_real(
990990

991991
from cecli import models
992992
from cecli.coders import Coder
993-
from cecli.helpers.conversation import ConversationFiles, ConversationManager
993+
from cecli.helpers.conversation import ConversationService
994994
from cecli.io import InputOutput
995995
from cecli.main import SwitchCoderSignal
996996

@@ -1211,13 +1211,12 @@ async def run_test_real(
12111211
dur = 0
12121212
test_outcomes = []
12131213

1214-
ConversationManager.initialize(
1215-
coder,
1214+
ConversationService.get_manager(coder).initialize(
12161215
reset=True,
12171216
reformat=True,
12181217
)
12191218

1220-
ConversationFiles.reset()
1219+
ConversationService.get_files(coder).reset()
12211220

12221221
for i in range(tries):
12231222
start = time.time()

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.97.4.dev"
3+
__version__ = "0.98.0.dev"
44
safe_version = __version__
55

66
try:

cecli/args.py

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
MarkdownHelpFormatter,
1515
YamlHelpFormatter,
1616
)
17-
from cecli.deprecated_args import add_deprecated_model_args
17+
from cecli.deprecated_args import add_deprecated_mcp_args, add_deprecated_model_args
1818

1919
from .dump import dump # noqa: F401
2020

@@ -364,10 +364,11 @@ def get_parser(default_config_files, git_root):
364364
default=None,
365365
)
366366
group.add_argument(
367-
"--mcp-servers-file",
368-
metavar="MCP_CONFIG_FILE",
369-
help="Specify a file path with MCP server configurations",
370-
default=None,
367+
"--mcp-servers-files",
368+
metavar="MCP_CONFIG_FILES",
369+
help="Specify a file path with MCP server configurations (can be specified multiple times)",
370+
action="append",
371+
default=[],
371372
)
372373
group.add_argument(
373374
"--mcp-transport",
@@ -961,6 +962,12 @@ def get_parser(default_config_files, git_root):
961962
metavar="FILE",
962963
help="specify a read-only file (can be used multiple times, glob patterns supported)",
963964
).complete = shtab.FILE
965+
group.add_argument(
966+
"--rules",
967+
action="append",
968+
metavar="FILE",
969+
help="specify a rules file (can be used multiple times, glob patterns supported)",
970+
).complete = shtab.FILE
964971
group.add_argument(
965972
"--vim",
966973
action="store_true",
@@ -1089,6 +1096,9 @@ def get_parser(default_config_files, git_root):
10891096
# Add deprecated model shortcut arguments
10901097
add_deprecated_model_args(parser, group)
10911098

1099+
group = parser.add_argument_group("Deprecated agent settings")
1100+
add_deprecated_mcp_args(parser, group)
1101+
10921102
return parser
10931103

10941104

0 commit comments

Comments
 (0)