diff --git a/package.json b/package.json index fc3532f..6c72f46 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,6 @@ "types": "./dist/index.d.ts", "import": "./dist/index.js" }, - "./auth": { - "types": "./dist/auth.d.ts", - "import": "./dist/auth.js" - }, "./google-auth": { "types": "./dist/google-auth.d.ts", "import": "./dist/google-auth.js" @@ -24,7 +20,7 @@ "./schema.json": "./dist/oh-my-opencode.schema.json" }, "scripts": { - "build": "bun build src/index.ts src/auth.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema", + "build": "bun build src/index.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema", "build:schema": "bun run script/build-schema.ts", "clean": "rm -rf dist", "prepublishOnly": "bun run clean && bun run build", @@ -54,7 +50,7 @@ "@ast-grep/napi": "^0.40.0", "@code-yeongyu/comment-checker": "^0.5.0", "@opencode-ai/plugin": "^1.0.150", - "opencode-openai-codex-auth": "^4.1.0", + "picomatch": "^4.0.2", "xdg-basedir": "^5.1.0", "zod": "^4.1.8" diff --git a/src/auth.ts b/src/auth.ts deleted file mode 100644 index 74b8b56..0000000 --- a/src/auth.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * OpenAI Codex Auth Plugin re-export - * - * This module re-exports the OpenAI Codex OAuth authentication plugin, - * enabling users to authenticate with their ChatGPT Plus/Pro subscription. - * - * For Google Antigravity auth, use `oh-my-opencode/google-auth` instead. - * - * @see https://github.com/numman-ali/opencode-openai-codex-auth - */ -export { OpenAIAuthPlugin as default } from "opencode-openai-codex-auth"