This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is now basically redundant because Amp will adjust mode model avaliability based on if the subscription is added | |
| // which negates all usefulness this plugin has or would ever have, still handy for gemini via ai studio though | |
| import type { PluginAPI } from '@ampcode/plugin' | |
| import { spawn } from 'node:child_process' | |
| import { mkdtemp, readdir, readFile, rm, stat } from 'node:fs/promises' | |
| import { homedir, tmpdir } from 'node:os' | |
| import { basename, extname, join } from 'node:path' | |
| // @amp-agent-mode {"key":"openai-low","label":"OpenAI Low"} |