()
| 4 | import type { CursorModelsResponse } from '@hapi/protocol/apiTypes'; |
| 5 | |
| 6 | function getHapiHomeDir(): string { |
| 7 | return process.env.HAPI_HOME?.trim() || join(tmpdir(), 'hapi'); |
| 8 | } |
| 9 | |
| 10 | function getSharedCachePath(): string { |
| 11 | return join(getHapiHomeDir(), 'cache', 'cursor-models.json'); |
no outgoing calls
no test coverage detected