-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoder_agent.toml
More file actions
52 lines (43 loc) · 1.2 KB
/
Copy pathcoder_agent.toml
File metadata and controls
52 lines (43 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# A coding agent with git and command execution capabilities.
# Agents are TOML files with an associated .md prompt file (the `prompt`
# key in [agent] is a path relative to this file).
# Each [[tools.define]] entry defines one purpose-built command tool;
# the "custom.*" wildcard in the allow list gates them.
format_version = 1
[agent]
name = "coder"
description = "Agent that writes code, runs tests, and commits changes."
prompt = "coder_agent.md"
category = "default"
[tools]
allow = ["read", "write", "edit", "git", "custom.*", "start_task", "end_task"]
[[tools.define]]
name = "pytest"
description = "Run the test suite"
namespace = "custom.exec"
deferred = false
[tools.define.execution]
type = "command"
executable = "pytest"
arg_validation = true
timeout_ceiling = 120
[[tools.define]]
name = "ruff"
description = "Run the ruff linter"
namespace = "custom.exec"
deferred = false
[tools.define.execution]
type = "command"
executable = "ruff"
arg_validation = true
timeout_ceiling = 120
[[tools.define]]
name = "mypy"
description = "Run the mypy type checker"
namespace = "custom.exec"
deferred = false
[tools.define.execution]
type = "command"
executable = "mypy"
arg_validation = true
timeout_ceiling = 120