Teammate Idle
Teammate Idle
Section titled “Teammate Idle”Configuration for teammate idle hooks with pattern-based command execution.
Commands run when a teammate agent becomes idle. Exit code 2 blocks the idle.
Configuration Properties
Section titled “Configuration Properties”commands
Section titled “commands”Map of teammate name patterns to command configurations. Keys are glob patterns matching teammate names.
| Attribute | Value |
|---|---|
| Type | object |
| Default | {} |
Nested Types
Section titled “Nested Types”This section uses the following nested type definitions:
TeammateIdleCommand Type
Section titled “TeammateIdleCommand Type”Configuration for individual teammate idle commands with optional messages
Properties:
| Property | Type | Default | Description |
|---|---|---|---|
maxOutputLines | `integer | null` | null |
message | `string | null` | null |
notifyPerCommand | `boolean | null` | null |
run | string | - | The shell command to execute |
showCommand | `boolean | null` | true |
showStderr | `boolean | null` | null |
showStdout | `boolean | null` | null |
timeout | `integer | null` | null |
See Also
Section titled “See Also”- Configuration Overview - Complete reference for all configuration options