(frontmatter map[string]any)
| 40 | } |
| 41 | |
| 42 | func hasLegacyCliProxyFeatureEnabled(frontmatter map[string]any) bool { |
| 43 | featuresAny, ok := frontmatter["features"] |
| 44 | if !ok { |
| 45 | return false |
| 46 | } |
| 47 | featuresMap, ok := featuresAny.(map[string]any) |
| 48 | if !ok { |
| 49 | return false |
| 50 | } |
| 51 | value, has := featuresMap["cli-proxy"] |
| 52 | if !has { |
| 53 | return false |
| 54 | } |
| 55 | enabled, ok := value.(bool) |
| 56 | return ok && enabled |
| 57 | } |
| 58 | |
| 59 | func hasToolsGitHubMode(frontmatter map[string]any) bool { |
| 60 | toolsAny, hasTools := frontmatter["tools"] |
no outgoing calls
no test coverage detected