()
| 13 | * Set as a build-time define in scripts/build-with-plugins.ts for ant-native builds. |
| 14 | */ |
| 15 | export function hasEmbeddedSearchTools(): boolean { |
| 16 | if (!isEnvTruthy(process.env.EMBEDDED_SEARCH_TOOLS)) return false |
| 17 | const e = process.env.CLAUDE_CODE_ENTRYPOINT |
| 18 | return ( |
| 19 | e !== 'sdk-ts' && e !== 'sdk-py' && e !== 'sdk-cli' && e !== 'local-agent' |
| 20 | ) |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Path to the bun binary that contains the embedded search tools. |
no test coverage detected