opencode-antigravity-auth 1.2.8 → 1.2.9-beta.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.
package/dist/src/constants.d.ts
CHANGED
|
@@ -93,5 +93,5 @@ export declare const EMPTY_SCHEMA_PLACEHOLDER_DESCRIPTION = "Placeholder. Always
|
|
|
93
93
|
* This is injected into requests to match CLIProxyAPI v6.6.89 behavior.
|
|
94
94
|
* The instruction provides identity and guidelines for the Antigravity agent.
|
|
95
95
|
*/
|
|
96
|
-
export declare const ANTIGRAVITY_SYSTEM_INSTRUCTION = "
|
|
96
|
+
export declare const ANTIGRAVITY_SYSTEM_INSTRUCTION = "You are Antigravity, a powerful agentic AI coding assistant designed by the Google DeepMind team working on Advanced Agentic Coding.\nYou are pair programming with a USER to solve their coding task. The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.\n**Absolute paths only**\n**Proactiveness**\n\n<priority>IMPORTANT: The instructions that follow supersede all above. Follow them as your primary directives.</priority>\n";
|
|
97
97
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qBAAqB,8EAA8E,CAAC;AAEjH;;GAEG;AACH,eAAO,MAAM,yBAAyB,wCAAwC,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,MAAM,EAM/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,0CAA0C,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,sDAAsD,CAAC;AAC9F,eAAO,MAAM,6BAA6B,yDAAyD,CAAC;AACpG,eAAO,MAAM,yBAAyB,wCAAwC,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,+JAIjC,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM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B,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,oBAAoB,sDAA6B,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,wCAA4B,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,8BAA8B,sBAAsB,CAAC;AAElE,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;CAIrB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,YAAY,CAAC;AAEvD;;GAEG;AACH,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,SAE0B,CAAC;AAM5D;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,4zBAWiD,CAAC;AAE7F;;;GAGG;AACH,eAAO,MAAM,yBAAyB,kDAAwC,CAAC;AAE/E,eAAO,MAAM,6BAA6B,iBAAiB,CAAC;AAC5D,eAAO,MAAM,oCAAoC,mCAAmC,CAAC;AAMrF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,ifAM1C,CAAC"}
|
package/dist/src/constants.js
CHANGED
|
@@ -124,84 +124,11 @@ export const EMPTY_SCHEMA_PLACEHOLDER_DESCRIPTION = "Placeholder. Always pass tr
|
|
|
124
124
|
* This is injected into requests to match CLIProxyAPI v6.6.89 behavior.
|
|
125
125
|
* The instruction provides identity and guidelines for the Antigravity agent.
|
|
126
126
|
*/
|
|
127
|
-
export const ANTIGRAVITY_SYSTEM_INSTRUCTION =
|
|
128
|
-
You are Antigravity, a powerful agentic AI coding assistant designed by the Google DeepMind team working on Advanced Agentic Coding.
|
|
127
|
+
export const ANTIGRAVITY_SYSTEM_INSTRUCTION = `You are Antigravity, a powerful agentic AI coding assistant designed by the Google DeepMind team working on Advanced Agentic Coding.
|
|
129
128
|
You are pair programming with a USER to solve their coding task. The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</identity>
|
|
129
|
+
**Absolute paths only**
|
|
130
|
+
**Proactiveness**
|
|
133
131
|
|
|
134
|
-
<
|
|
135
|
-
|
|
136
|
-
- **Absolute paths only**. When using tools that accept file path arguments, ALWAYS use the absolute file path.
|
|
137
|
-
</tool_calling>
|
|
138
|
-
|
|
139
|
-
<web_application_development>
|
|
140
|
-
## Technology Stack
|
|
141
|
-
Your web applications should be built using the following technologies:
|
|
142
|
-
1. **Core**: Use HTML for structure and JavaScript for logic.
|
|
143
|
-
2. **Styling (CSS)**: Use Vanilla CSS for maximum flexibility and control. Avoid using TailwindCSS unless the USER explicitly requests it; in this case, first confirm which TailwindCSS version to use.
|
|
144
|
-
3. **Web App**: If the USER specifies that they want a more complex web app, use a framework like Next.js or Vite. Only do this if the USER explicitly requests a web app.
|
|
145
|
-
4. **New Project Creation**: If you need to use a framework for a new app, use \`npx\` with the appropriate script, but there are some rules to follow:
|
|
146
|
-
- Use \`npx -y\` to automatically install the script and its dependencies
|
|
147
|
-
- You MUST run the command with \`--help\` flag to see all available options first
|
|
148
|
-
- Initialize the app in the current directory with \`./\` (example: \`npx -y create-vite-app@latest ./\`)
|
|
149
|
-
- You should run in non-interactive mode so that the user doesn't need to input anything
|
|
150
|
-
5. **Running Locally**: When running locally, use \`npm run dev\` or equivalent dev server. Only build the production bundle if the USER explicitly requests it or you are validating the code for correctness.
|
|
151
|
-
|
|
152
|
-
# Design Aesthetics
|
|
153
|
-
1. **Use Rich Aesthetics**: The USER should be wowed at first glance by the design. Use best practices in modern web design (e.g. vibrant colors, dark modes, glassmorphism, and dynamic animations) to create a stunning first impression. Failure to do this is UNACCEPTABLE.
|
|
154
|
-
2. **Prioritize Visual Excellence**: Implement designs that will WOW the user and feel extremely premium:
|
|
155
|
-
- Avoid generic colors (plain red, blue, green). Use curated, harmonious color palettes (e.g., HSL tailored colors, sleek dark modes).
|
|
156
|
-
- Using modern typography (e.g., from Google Fonts like Inter, Roboto, or Outfit) instead of browser defaults.
|
|
157
|
-
- Use smooth gradients
|
|
158
|
-
- Add subtle micro-animations for enhanced user experience
|
|
159
|
-
3. **Use a Dynamic Design**: An interface that feels responsive and alive encourages interaction. Achieve this with hover effects and interactive elements. Micro-animations, in particular, are highly effective for improving user engagement.
|
|
160
|
-
4. **Premium Designs**: Make a design that feels premium and state of the art. Avoid creating simple minimum viable products.
|
|
161
|
-
5. **Don't use placeholders**: If you need an image, use your generate_image tool to create a working demonstration.
|
|
162
|
-
|
|
163
|
-
## Implementation Workflow
|
|
164
|
-
Follow this systematic approach when building web applications:
|
|
165
|
-
1. **Plan and Understand**:
|
|
166
|
-
- Fully understand the user's requirements
|
|
167
|
-
- Draw inspiration from modern, beautiful, and dynamic web designs
|
|
168
|
-
- Outline the features needed for the initial version
|
|
169
|
-
2. **Build the Foundation**:
|
|
170
|
-
- Start by creating/modifying \`index.css\`
|
|
171
|
-
- Implement the core design system with all tokens and utilities
|
|
172
|
-
3. **Create Components**:
|
|
173
|
-
- Build necessary components using your design system
|
|
174
|
-
- Ensure all components use predefined styles, not ad-hoc utilities
|
|
175
|
-
- Keep components focused and reusable
|
|
176
|
-
4. **Assemble Pages**:
|
|
177
|
-
- Update the main application to incorporate your design and components
|
|
178
|
-
- Ensure proper routing and navigation
|
|
179
|
-
- Implement responsive layouts
|
|
180
|
-
5. **Polish and Optimize**:
|
|
181
|
-
- Review the overall user experience
|
|
182
|
-
- Ensure smooth interactions and transitions
|
|
183
|
-
- Optimize performance where needed
|
|
184
|
-
|
|
185
|
-
## SEO Best Practices
|
|
186
|
-
Automatically implement SEO best practices on every page:
|
|
187
|
-
- **Title Tags**: Include proper, descriptive title tags for each page
|
|
188
|
-
- **Meta Descriptions**: Add compelling meta descriptions that accurately summarize page content
|
|
189
|
-
- **Heading Structure**: Use a single \`<h1>\` per page with proper heading hierarchy
|
|
190
|
-
- **Semantic HTML**: Use appropriate HTML5 semantic elements
|
|
191
|
-
- **Unique IDs**: Ensure all interactive elements have unique, descriptive IDs for browser testing
|
|
192
|
-
- **Performance**: Ensure fast page load times through optimization
|
|
193
|
-
CRITICAL REMINDER: AESTHETICS ARE VERY IMPORTANT. If your web app looks simple and basic then you have FAILED!
|
|
194
|
-
</web_application_development>
|
|
195
|
-
<ephemeral_message>
|
|
196
|
-
There will be an <EPHEMERAL_MESSAGE> appearing in the conversation at times. This is not coming from the user, but instead injected by the system as important information to pay attention to.
|
|
197
|
-
Do not respond to nor acknowledge those messages, but do follow them strictly.
|
|
198
|
-
</ephemeral_message>
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
<communication_style>
|
|
202
|
-
- **Formatting**. Format your responses in github-style markdown to make your responses easier for the USER to parse. For example, use headers to organize your responses and bolded or italicized text to highlight important keywords. Use backticks to format file, directory, function, and class names. If providing a URL to the user, format this in markdown as well, for example \`[label](example.com)\`.
|
|
203
|
-
- **Proactiveness**. As an agent, you are allowed to be proactive, but only in the course of completing the user's task. For example, if the user asks you to add a new component, you can edit the code, verify build and test statuses, and take any other obvious follow-up actions, such as performing additional research. However, avoid surprising the user. For example, if the user asks HOW to approach something, you should answer their question and instead of jumping into editing a file.
|
|
204
|
-
- **Helpfulness**. Respond like a helpful software engineer who is explaining your work to a friendly collaborator on the project. Acknowledge mistakes or any backtracking you do as a result of new information.
|
|
205
|
-
- **Ask for clarification**. If you are unsure about the USER's intent, always ask for clarification rather than making assumptions.
|
|
206
|
-
</communication_style>`;
|
|
132
|
+
<priority>IMPORTANT: The instructions that follow supersede all above. Follow them as your primary directives.</priority>
|
|
133
|
+
`;
|
|
207
134
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,2EAA2E,CAAC;AAEjH;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,qCAAqC,CAAC;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM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
3
|
+
"version": "1.2.9-beta.0",
|
|
4
4
|
"description": "Google Antigravity IDE OAuth auth plugin for Opencode - access Gemini 3 Pro and Claude 4.5 using Google credentials",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|