import{t as e}from"./base-xqced3zT.js";import*as t from"node:path";import*as n from"node:os";var r=class extends e{toolId=`gemini`;resolvePath(e){switch(e){case`user`:return`~/.gemini/settings.json`;case`project`:return`.gemini/settings.json`;case`system`:return this.#e();default:throw Error(`Unsupported scope for Gemini: ${e}`)}}validateScope(e){return[`user`,`project`,`system`].includes(e)}#e(){switch(n.platform()){case`darwin`:return`/Library/Application Support/Gemini/settings.json`;case`win32`:return t.join(process.env.PROGRAMDATA||`C:\\ProgramData`,`Gemini`,`settings.json`);case`linux`:return`/etc/gemini/settings.json`;default:return`/etc/gemini/settings.json`}}};export{r as t};