-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@cortexkit/opencode-antigravity-auth",
"version": "2.1.0",
"description": "Google Antigravity OAuth auth plugin for OpenCode - access Gemini 3 and Claude 4.6 using Google credentials",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"license": "MIT",
"author": "CortexKit",
"repository": {
"type": "git",
"url": "git+https://github.com/cortexkit/antigravity-auth.git",
"directory": "packages/opencode"
},
"homepage": "https://github.com/cortexkit/antigravity-auth#readme",
"bugs": {
"url": "https://github.com/cortexkit/antigravity-auth/issues"
},
"keywords": [
"opencode",
"google",
"antigravity",
"gemini",
"oauth",
"plugin",
"auth",
"claude"
],
"engines": {
"node": ">=20.0.0",
"opencode": ">=1.17.13 <2"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./tui": {
"import": "./src/tui/entry.mjs",
"types": "./dist/src/tui.d.ts"
}
},
"files": [
"dist/",
"src/tui.tsx",
"src/tui/entry.mjs",
"src/tui/command-dialogs.tsx",
"src/tui/file-logger.ts",
"src/tui-preferences.ts",
"src/sidebar-state.ts",
"src/rpc/rpc-client.ts",
"src/rpc/rpc-dir.ts",
"src/rpc/port-file.ts",
"src/rpc/protocol.ts",
"src/plugin/command-data.ts",
"src/tui-compiled/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.build.json && esbuild index.ts --bundle --platform=node --format=esm --external:@openauthjs/* --external:zod --external:@opencode-ai/plugin --external:@opencode-ai/plugin/* --outfile=dist/index.js --sourcemap && esbuild src/cli.ts --bundle --platform=node --format=esm --external:@openauthjs/* --external:zod --banner:js=\"#!/usr/bin/env node\" --outfile=dist/cli.js --sourcemap && chmod 0755 dist/cli.js && bun run build:tui",
"build:tui": "bunx tsx scripts/build-tui.ts",
"build:schema": "bunx tsx script/build-schema.ts",
"smoke:tui": "bun scripts/smoke-tui-pack-install.ts",
"typecheck": "tsc --noEmit",
"test": "bun test --isolate ./src",
"prepublishOnly": "bun run build && bun run build:tui",
"test:e2e:models": "bunx tsx script/test-models.ts",
"test:e2e:regression": "bunx tsx script/test-regression.ts"
},
"peerDependencies": {
"@opencode-ai/plugin": "*",
"typescript": "^5 || ^6"
},
"devDependencies": {
"esbuild": "^0.27.7",
"zod-to-json-schema": "^3.25.1",
"@opencode-ai/sdk": "1.17.13"
},
"dependencies": {
"@cortexkit/antigravity-auth-core": "2.1.0",
"@openauthjs/openauth": "^0.4.3",
"@opentui/core": ">=0.4.5",
"@opentui/keymap": ">=0.4.5",
"@opentui/solid": ">=0.4.5",
"jsonc-parser": "^3.3.1",
"solid-js": "1.9.12",
"xdg-basedir": "^5.1.0",
"zod": "^4.0.0"
},
"bin": {
"antigravity-auth": "./dist/cli.js"
}
}