getDefaultGhAWRuntimeVersion returns the default gh-aw runtime version to inject. Release builds use the released compiler version; dev builds use the current build version.
()
| 183 | // getDefaultGhAWRuntimeVersion returns the default gh-aw runtime version to inject. |
| 184 | // Release builds use the released compiler version; dev builds use the current build version. |
| 185 | func getDefaultGhAWRuntimeVersion() string { |
| 186 | version := GetVersion() |
| 187 | if version == "" { |
| 188 | return "dev" |
| 189 | } |
| 190 | return version |
| 191 | } |
| 192 | |
| 193 | // detectFromMCPConfigs scans MCP server configurations for runtime commands |
| 194 | func detectFromMCPConfigs(tools *ToolsConfig, requirements map[string]*RuntimeRequirement) { |
no test coverage detected