antigravity-autopilot 1.4.9 → 1.4.10

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 (3) hide show
  1. package/cli.js +1 -1
  2. package/package.json +1 -1
  3. package/patcher.js +1 -1
package/cli.js CHANGED
@@ -240,7 +240,7 @@ function analyzeTerminal(content) {
240
240
  const patchCode = `_aep=${useEffectAlias}(()=>{${policyVar}===${enumAlias}.EAGER&&!${secureVar}&&${confirmFn}(!0)},[]),`;
241
241
  return {
242
242
  target: fullMatch,
243
- replacement: patchCode + fullMatch,
243
+ replacement: fullMatch + ',' + patchCode,
244
244
  patchMarker: `_aep=${useEffectAlias}(()=>{${policyVar}===${enumAlias}.EAGER`,
245
245
  };
246
246
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "antigravity-autopilot",
3
3
  "displayName": "Antigravity AutoPilot",
4
4
  "description": "Enables autopilot mode for Antigravity: automatically executes all tool calls and terminal commands without manual confirmation. Patches the runtime JS bundle to inject auto-accept logic whenever the 'Always Proceed' policy is active — regex-based and version-agnostic.",
5
- "version": "1.4.9",
5
+ "version": "1.4.10",
6
6
  "license": "MIT",
7
7
  "publisher": "nguyenhx2",
8
8
  "bin": {
package/patcher.js CHANGED
@@ -183,7 +183,7 @@ function analyzeFile(content, label) {
183
183
 
184
184
  return {
185
185
  target: fullMatch,
186
- replacement: patchCode + fullMatch,
186
+ replacement: fullMatch + ',' + patchCode,
187
187
  patchMarker: `_aep=${useEffectAlias}(()=>{${policyVar}===${enumAlias}.EAGER`,
188
188
  label
189
189
  };