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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ just your terminal, an OpenAI-compatible model, and a sharp set of tools.
│ – skills none │
│ ✓ agents primaries: build, plan · custom: researcher │
│ ✓ memory long-term 2.4 KB injected │
│ ✓ tools 19 tools │
│ ✓ tools 20 tools │
│ ✓ permissions mode yolo · custom rules │
│ – hooks none configured │
│ – pierre off │
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ kind = "glob" # "glob" (default) or "regex"
```

Last match wins within a table; deny rules are unbypassable (even in `yolo`),
and `ask` rules still prompt. Read-class tools (`read`, `grep`, `find_files`,
`list_dir`, `lsp_diagnostics`, `memory_read`, `memory_search`,
and `ask` rules still prompt. Read-class tools (`read`, `index`, `grep`,
`find_files`, `list_dir`, `lsp_diagnostics`, `memory_read`, `memory_search`,
`task`, and Exa/context7/grep.app MCP tools) are the only tools allowed in
`readonly`. A 3rd identical consecutive call escalates Allow → Ask, the 4th
is denied (doom-loop guard).
Expand Down
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ dependencies = [
"pydantic==2.14.3",
"PyYAML==6.0.3",
"mcp==2.3.0",
"tree-sitter==0.26.1",
"tree-sitter-bash==0.25.1",
"tree-sitter-c==0.24.2",
"tree-sitter-cpp==0.23.4",
"tree-sitter-elixir==0.3.5",
"tree-sitter-go==0.25.0",
"tree-sitter-java==0.23.5",
"tree-sitter-javascript==0.25.0",
"tree-sitter-python==0.25.0",
"tree-sitter-ruby==0.23.1",
"tree-sitter-rust==0.24.2",
"tree-sitter-typescript==0.23.2",
"tree-sitter-zig==1.1.2",
"typer==0.29.1",
]

Expand Down
4 changes: 3 additions & 1 deletion src/lecode/agent/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@


def core_tools() -> list[Tool]:
"""The thirteen core tools."""
"""The core tools: file ops, shell, search, planning, background tasks."""
from lecode.agent.tools import (
ask_user,
background,
bash,
edit,
find_files,
grep,
index,
list_dir,
read,
todo_write,
write,
)

return [
index.make_tool(),
read.make_tool(),
write.make_tool(),
edit.make_tool(),
Expand Down
Loading
Loading