Skip to content

Commit 332cd2c

Browse files
authored
Update agent-format.md
1 parent 12f5b35 commit 332cd2c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/agent-format.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,11 @@ The `hooks` field defines commands to run at specific trigger points. The output
207207
"agentSpawn": [
208208
{
209209
"command": "git status",
210-
"timeout_ms": 30000,
211-
"max_output_size": 10240,
212-
"cache_ttl_seconds": 0
213210
}
214211
],
215212
"userPromptSubmit": [
216213
{
217214
"command": "ls -la",
218-
"timeout_ms": 5000
219215
}
220216
]
221217
}
@@ -224,9 +220,6 @@ The `hooks` field defines commands to run at specific trigger points. The output
224220

225221
Each hook is defined with:
226222
- `command` (required): The command to execute
227-
- `timeout_ms` (optional): Maximum execution time in milliseconds (default: 30000)
228-
- `max_output_size` (optional): Maximum output size in bytes (default: 10240)
229-
- `cache_ttl_seconds` (optional): How long to cache the output (default: 0)
230223

231224
Available hook triggers:
232225
- `agentSpawn`: Triggered when the agent is initialized
@@ -294,13 +287,11 @@ Here's a complete example of an agent configuration file:
294287
"agentSpawn": [
295288
{
296289
"command": "git status",
297-
"timeout_ms": 30000
298290
}
299291
],
300292
"userPromptSubmit": [
301293
{
302294
"command": "ls -la",
303-
"timeout_ms": 5000
304295
}
305296
]
306297
},

0 commit comments

Comments
 (0)