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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ test.txt
TODO*.md
todo*.md
CLAUDE.md
AGENTS.md
NEXT_SESSION.md
AI_HANDOFF.md
result.json
Expand Down
132 changes: 0 additions & 132 deletions AGENTS.md

This file was deleted.

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ It is built around DeepSeek V4 (`deepseek-v4-pro` / `deepseek-v4-flash`), includ
- **HTTP/SSE runtime API** — `codewhale serve --http` for headless agent workflows
- **MCP protocol** — connect to Model Context Protocol servers for extended tooling; please see [docs/MCP.md](docs/MCP.md)
- **Fin-powered seams** — cheap `deepseek-v4-flash` with thinking off handles routing, RLM child calls, summaries, and other fast coordination work
- **Native RLM** (`rlm_open`/`rlm_eval`) — persistent REPL sessions for batched analysis with bounded helpers like `peek`, `search`, `chunk`, and `sub_query_batch`
- **Native RLM** (`rlm_session_objects`/`rlm_open`/`rlm_eval`) — persistent REPL sessions for batched analysis with bounded helpers like `peek`, `search`, `chunk`, and `sub_query_batch`; active prompt/history objects are opened by symbolic refs instead of pasted into the parent transcript
- **LSP diagnostics** — inline error/warning surfacing after every edit via rust-analyzer, pyright, typescript-language-server, gopls, clangd
- **User memory** — optional persistent note file injected into the system prompt for cross-session preferences
- **Localized UI** — `en`, `ja`, `zh-Hans`, `pt-BR` with auto-detection
Expand Down Expand Up @@ -429,6 +429,11 @@ ACP workflows outside the built-in Zed slice.
| `@path` | Attach file/directory context in composer |
| `↑` (at composer start) | Select attachment row for removal |

Voice input is available from the command palette (`Ctrl+K`, then search
`Voice input`) after configuring `voice_input_command`; the helper
records/transcribes audio, CodeWhale shows a listening status while it runs, and
the final transcript is inserted into the composer for editing.

Full shortcut catalog: [docs/KEYBINDINGS.md](docs/KEYBINDINGS.md).

---
Expand Down
7 changes: 7 additions & 0 deletions crates/tui/src/core/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,13 @@ impl Engine {
.with_features(self.config.features.clone())
.with_shell_manager(self.shell_manager.clone())
.with_runtime_services(self.config.runtime_services.clone())
.with_session_objects(crate::rlm::session::SessionObjectSnapshot::new(
self.session.id.clone(),
self.session.model.clone(),
self.session.workspace.clone(),
self.session.system_prompt.clone(),
self.session.messages.clone(),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Cloning the entire message history on every turn can become a significant performance bottleneck as the session grows, especially since auto-compaction is disabled by default. Since SessionObjectSnapshot is only used by RLM tools, consider making this lazy or using an Arc to share the message history between the engine and the tool context to avoid expensive allocations on every turn.

))
Comment on lines +1419 to +1425
.with_cancel_token(self.cancel_token.clone())
.with_trusted_external_paths(trusted_external_paths);

Expand Down
1 change: 1 addition & 0 deletions crates/tui/src/core/engine/tool_catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub(super) fn should_default_defer_tool(name: &str, mode: AppMode) -> bool {
| "rlm_eval"
| "rlm_configure"
| "rlm_close"
| "rlm_session_objects"
| "handle_read"
| "recall_archive"
| "notify"
Expand Down
Loading
Loading