dsh-antigravity-auth 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/LICENSE +21 -0
  3. package/README.md +168 -0
  4. package/README.zh.md +159 -0
  5. package/cordis.patch.yml +12 -0
  6. package/lib/capability-lifecycle--tgGKajs.js +1896 -0
  7. package/lib/client.cjs +2123 -0
  8. package/lib/client.cjs.map +1 -0
  9. package/lib/image.js +564 -0
  10. package/lib/index.js +176 -0
  11. package/lib/invariant.js +2 -0
  12. package/lib/live-gate-runner.js +542 -0
  13. package/lib/live-gates.js +97 -0
  14. package/lib/llm-adapter.js +916 -0
  15. package/lib/media-admission.js +206 -0
  16. package/lib/private-failure-B9vzUkQ7.js +23 -0
  17. package/lib/private-transport-urF138qW.js +641 -0
  18. package/lib/private-transport.js +2 -0
  19. package/lib/project-context.js +133 -0
  20. package/lib/quota.js +283 -0
  21. package/lib/replay.js +156 -0
  22. package/lib/rpc-contract-BFWfdKKs.js +491 -0
  23. package/lib/rpc-contract.js +2 -0
  24. package/lib/safe-text-AlEyN8q_.js +12 -0
  25. package/lib/search.js +259 -0
  26. package/lib/status-D0-em3Ru.js +125 -0
  27. package/lib/types/auth-service.d.ts +64 -0
  28. package/lib/types/auth-service.d.ts.map +1 -0
  29. package/lib/types/auth-store.d.ts +45 -0
  30. package/lib/types/auth-store.d.ts.map +1 -0
  31. package/lib/types/bootstrap-service.d.ts +6 -0
  32. package/lib/types/bootstrap-service.d.ts.map +1 -0
  33. package/lib/types/capability-gates.d.ts +19 -0
  34. package/lib/types/capability-gates.d.ts.map +1 -0
  35. package/lib/types/capability-lifecycle.d.ts +26 -0
  36. package/lib/types/capability-lifecycle.d.ts.map +1 -0
  37. package/lib/types/client/AntigravityAuthSettings.d.ts +19 -0
  38. package/lib/types/client/AntigravityAuthSettings.d.ts.map +1 -0
  39. package/lib/types/client/index.d.ts +18 -0
  40. package/lib/types/client/index.d.ts.map +1 -0
  41. package/lib/types/client/locales.d.ts +121 -0
  42. package/lib/types/client/locales.d.ts.map +1 -0
  43. package/lib/types/client/styles.d.ts +4 -0
  44. package/lib/types/client/styles.d.ts.map +1 -0
  45. package/lib/types/credential-coordinator.d.ts +84 -0
  46. package/lib/types/credential-coordinator.d.ts.map +1 -0
  47. package/lib/types/image.d.ts +39 -0
  48. package/lib/types/image.d.ts.map +1 -0
  49. package/lib/types/index.d.ts +21 -0
  50. package/lib/types/index.d.ts.map +1 -0
  51. package/lib/types/invariant.d.ts +3 -0
  52. package/lib/types/invariant.d.ts.map +1 -0
  53. package/lib/types/live-gate-attachments.d.ts +6 -0
  54. package/lib/types/live-gate-attachments.d.ts.map +1 -0
  55. package/lib/types/live-gate-auth.d.ts +5 -0
  56. package/lib/types/live-gate-auth.d.ts.map +1 -0
  57. package/lib/types/live-gate-image.d.ts +5 -0
  58. package/lib/types/live-gate-image.d.ts.map +1 -0
  59. package/lib/types/live-gate-llm.d.ts +10 -0
  60. package/lib/types/live-gate-llm.d.ts.map +1 -0
  61. package/lib/types/live-gate-outcome.d.ts +8 -0
  62. package/lib/types/live-gate-outcome.d.ts.map +1 -0
  63. package/lib/types/live-gate-runner.d.ts +15 -0
  64. package/lib/types/live-gate-runner.d.ts.map +1 -0
  65. package/lib/types/live-gate-search.d.ts +5 -0
  66. package/lib/types/live-gate-search.d.ts.map +1 -0
  67. package/lib/types/live-gate-video.d.ts +8 -0
  68. package/lib/types/live-gate-video.d.ts.map +1 -0
  69. package/lib/types/live-gates.d.ts +25 -0
  70. package/lib/types/live-gates.d.ts.map +1 -0
  71. package/lib/types/llm-adapter.d.ts +65 -0
  72. package/lib/types/llm-adapter.d.ts.map +1 -0
  73. package/lib/types/login-types.d.ts +36 -0
  74. package/lib/types/login-types.d.ts.map +1 -0
  75. package/lib/types/media-admission.d.ts +54 -0
  76. package/lib/types/media-admission.d.ts.map +1 -0
  77. package/lib/types/model-catalog.d.ts +19 -0
  78. package/lib/types/model-catalog.d.ts.map +1 -0
  79. package/lib/types/oauth-flow.d.ts +87 -0
  80. package/lib/types/oauth-flow.d.ts.map +1 -0
  81. package/lib/types/private-failure.d.ts +6 -0
  82. package/lib/types/private-failure.d.ts.map +1 -0
  83. package/lib/types/private-transport-error.d.ts +13 -0
  84. package/lib/types/private-transport-error.d.ts.map +1 -0
  85. package/lib/types/private-transport.d.ts +48 -0
  86. package/lib/types/private-transport.d.ts.map +1 -0
  87. package/lib/types/project-context.d.ts +30 -0
  88. package/lib/types/project-context.d.ts.map +1 -0
  89. package/lib/types/quota.d.ts +43 -0
  90. package/lib/types/quota.d.ts.map +1 -0
  91. package/lib/types/raw-http.d.ts +11 -0
  92. package/lib/types/raw-http.d.ts.map +1 -0
  93. package/lib/types/replay.d.ts +30 -0
  94. package/lib/types/replay.d.ts.map +1 -0
  95. package/lib/types/rpc-contract.d.ts +33 -0
  96. package/lib/types/rpc-contract.d.ts.map +1 -0
  97. package/lib/types/rpc-vocabulary.d.ts +7 -0
  98. package/lib/types/rpc-vocabulary.d.ts.map +1 -0
  99. package/lib/types/rpc.d.ts +11 -0
  100. package/lib/types/rpc.d.ts.map +1 -0
  101. package/lib/types/safe-text.d.ts +3 -0
  102. package/lib/types/safe-text.d.ts.map +1 -0
  103. package/lib/types/search.d.ts +42 -0
  104. package/lib/types/search.d.ts.map +1 -0
  105. package/lib/types/status.d.ts +62 -0
  106. package/lib/types/status.d.ts.map +1 -0
  107. package/lib/types/video.d.ts +42 -0
  108. package/lib/types/video.d.ts.map +1 -0
  109. package/lib/types/wire-identity.d.ts +49 -0
  110. package/lib/types/wire-identity.d.ts.map +1 -0
  111. package/lib/video.js +320 -0
  112. package/lib/wire-identity.js +162 -0
  113. package/package.json +189 -0
  114. package/scripts/live-gates.mjs +4 -0
package/package.json ADDED
@@ -0,0 +1,189 @@
1
+ {
2
+ "name": "dsh-antigravity-auth",
3
+ "version": "0.1.0",
4
+ "description": "Private, single-account, unofficial Antigravity OAuth capability bundle for DeepSeek Harness",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": "^22.19.0 || >=24.0.0"
8
+ },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/suntianc/dsh-antigravity-auth.git"
15
+ },
16
+ "homepage": "https://github.com/suntianc/dsh-antigravity-auth#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/suntianc/dsh-antigravity-auth/issues"
19
+ },
20
+ "main": "lib/index.js",
21
+ "types": "lib/types/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "types": "./lib/types/index.d.ts",
25
+ "default": "./lib/index.js"
26
+ },
27
+ "./client": {
28
+ "types": "./lib/types/client/index.d.ts",
29
+ "default": "./lib/client.cjs"
30
+ },
31
+ "./search": {
32
+ "types": "./lib/types/search.d.ts",
33
+ "default": "./lib/search.js"
34
+ },
35
+ "./image": {
36
+ "types": "./lib/types/image.d.ts",
37
+ "default": "./lib/image.js"
38
+ },
39
+ "./video": {
40
+ "types": "./lib/types/video.d.ts",
41
+ "default": "./lib/video.js"
42
+ },
43
+ "./rpc-contract": {
44
+ "types": "./lib/types/rpc-contract.d.ts",
45
+ "default": "./lib/rpc-contract.js"
46
+ },
47
+ "./project-context": {
48
+ "types": "./lib/types/project-context.d.ts",
49
+ "default": "./lib/project-context.js"
50
+ },
51
+ "./wire-identity": {
52
+ "types": "./lib/types/wire-identity.d.ts",
53
+ "default": "./lib/wire-identity.js"
54
+ },
55
+ "./invariant": {
56
+ "types": "./lib/types/invariant.d.ts",
57
+ "default": "./lib/invariant.js"
58
+ },
59
+ "./llm-adapter": {
60
+ "types": "./lib/types/llm-adapter.d.ts",
61
+ "default": "./lib/llm-adapter.js"
62
+ },
63
+ "./private-transport": {
64
+ "types": "./lib/types/private-transport.d.ts",
65
+ "default": "./lib/private-transport.js"
66
+ },
67
+ "./replay": {
68
+ "types": "./lib/types/replay.d.ts",
69
+ "default": "./lib/replay.js"
70
+ },
71
+ "./quota": {
72
+ "types": "./lib/types/quota.d.ts",
73
+ "default": "./lib/quota.js"
74
+ },
75
+ "./media-admission": {
76
+ "types": "./lib/types/media-admission.d.ts",
77
+ "default": "./lib/media-admission.js"
78
+ },
79
+ "./live-gates": {
80
+ "types": "./lib/types/live-gates.d.ts",
81
+ "default": "./lib/live-gates.js"
82
+ },
83
+ "./cordis.patch.yml": "./cordis.patch.yml",
84
+ "./package.json": "./package.json"
85
+ },
86
+ "files": [
87
+ "lib/*.js",
88
+ "lib/*.js.map",
89
+ "lib/*.cjs",
90
+ "lib/*.cjs.map",
91
+ "lib/types/**/*.d.ts",
92
+ "lib/types/**/*.d.ts.map",
93
+ "cordis.patch.yml",
94
+ "scripts/live-gates.mjs",
95
+ "CHANGELOG.md",
96
+ "README.md",
97
+ "README.zh.md",
98
+ "LICENSE"
99
+ ],
100
+ "dsh": {
101
+ "bundle": {
102
+ "patch": "./cordis.patch.yml"
103
+ },
104
+ "client": {
105
+ "inject": [
106
+ "@deepseek-ai/dsh-api-remotes",
107
+ "@deepseek-ai/dsh-client-runtime",
108
+ "@deepseek-ai/dsh-client-connection",
109
+ "@deepseek-ai/dsh-client-ui-settings",
110
+ "@deepseek-ai/dsh-client-ui-slots",
111
+ "@deepseek-ai/dsh-client-locale"
112
+ ],
113
+ "platform": "web"
114
+ }
115
+ },
116
+ "license": "MIT",
117
+ "dependencies": {
118
+ "@cortexkit/antigravity-auth-core": "2.1.0"
119
+ },
120
+ "peerDependencies": {
121
+ "@deepseek-ai/cordis": "^4.0.1",
122
+ "@deepseek-ai/dsh-agent": "^0.1.1-rc.1",
123
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.1",
124
+ "@deepseek-ai/dsh-attachment": "^0.1.1-rc.1",
125
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.1",
126
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.1",
127
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
128
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.1",
129
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.1",
130
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.1",
131
+ "@deepseek-ai/dsh-fs": "^0.1.1-rc.1",
132
+ "@deepseek-ai/dsh-host-apiproxy": "^0.1.1-rc.1",
133
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.1",
134
+ "@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
135
+ "@deepseek-ai/dsh-session": "^0.1.1-rc.1",
136
+ "@deepseek-ai/dsh-settings": "^0.1.1-rc.1",
137
+ "@deepseek-ai/dsh-tools": "^0.1.1-rc.1",
138
+ "@deepseek-ai/dsh-web": "^0.1.1-rc.1",
139
+ "@deepseek-ai/schemastery": "^3.18.1",
140
+ "react": "^18.2.0"
141
+ },
142
+ "devDependencies": {
143
+ "@cortexkit/antigravity-auth-core": "2.1.0",
144
+ "@deepseek-ai/cordis": "4.0.1",
145
+ "@deepseek-ai/dsh-agent": "0.1.1-rc.1",
146
+ "@deepseek-ai/dsh-api-remotes": "0.1.1-rc.1",
147
+ "@deepseek-ai/dsh-attachment": "0.1.1-rc.1",
148
+ "@deepseek-ai/dsh-client-connection": "0.1.1-rc.1",
149
+ "@deepseek-ai/dsh-client-locale": "0.1.1-rc.1",
150
+ "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.1",
151
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.1",
152
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.1",
153
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.1",
154
+ "@deepseek-ai/dsh-fs": "0.1.1-rc.1",
155
+ "@deepseek-ai/dsh-host-apiproxy": "0.1.1-rc.1",
156
+ "@deepseek-ai/dsh-invariants": "0.1.1-rc.1",
157
+ "@deepseek-ai/dsh-llm": "0.1.1-rc.1",
158
+ "@deepseek-ai/dsh-session": "0.1.1-rc.1",
159
+ "@deepseek-ai/dsh-settings": "0.1.1-rc.1",
160
+ "@deepseek-ai/dsh-tools": "0.1.1-rc.1",
161
+ "@deepseek-ai/dsh-web": "0.1.1-rc.1",
162
+ "@deepseek-ai/schemastery": "3.18.1",
163
+ "@testing-library/react": "^16.3.2",
164
+ "@types/node": "^22.20.0",
165
+ "@types/react": "~18.3.31",
166
+ "@types/react-dom": "~18.3.7",
167
+ "jsdom": "29.1.1",
168
+ "lightningcss": "^1.33.0",
169
+ "oxlint": "1.76.0",
170
+ "publint": "^0.3.24",
171
+ "react": "18.3.1",
172
+ "react-dom": "18.3.1",
173
+ "semver": "^7.8.5",
174
+ "tsdown": "^0.22.14",
175
+ "typescript": "^6.0.3",
176
+ "vitest": "^4.1.11"
177
+ },
178
+ "scripts": {
179
+ "build": "node scripts/clean.mjs && tsc -p tsconfig.build.host.json && tsc -p tsconfig.build.client.json && tsdown",
180
+ "bundle": "tsdown",
181
+ "check": "pnpm peers check && pnpm run lint && pnpm run typecheck && pnpm test && pnpm run build && pnpm run package:smoke && pnpm run publint",
182
+ "lint": "oxlint src tests build scripts tsdown.config.ts vitest.config.ts",
183
+ "live:gates": "pnpm run build && node scripts/live-gates.mjs",
184
+ "package:smoke": "node scripts/package-smoke.mjs",
185
+ "publint": "publint",
186
+ "test": "vitest run",
187
+ "typecheck": "tsc -p tsconfig.host.json --noEmit && tsc -p tsconfig.client.json --noEmit"
188
+ }
189
+ }
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { runLiveGateCli } = await import('../lib/live-gates.js')
4
+ process.exitCode = await runLiveGateCli(process.argv.slice(2), process.env)