| 95 | # ============================================================ |
| 96 | |
| 97 | class RuntimeFeatureConfig(BaseModel): |
| 98 | hooks_pre_tool_use: list[str] = Field(default_factory=list) |
| 99 | hooks_post_tool_use: list[str] = Field(default_factory=list) |
| 100 | model: Optional[str] = None |
| 101 | permission_mode: Optional[str] = None |
| 102 | timeout: int = 30 |
| 103 | max_iterations: int = 10 |
| 104 | token_budget: int = 200_000 |
| 105 | |
| 106 | |
| 107 | def parse_feature_config(merged: dict) -> RuntimeFeatureConfig: |
no outgoing calls
no test coverage detected