mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-24 04:52:43 -07:00
aliasing name to resolve conflict
This commit is contained in:
@@ -4,12 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { createRequire } from 'node:module';
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
// Import the bundled teleporter which contains the protobuf definitions and decryption logic
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
const teleporter = require('./trajectory_teleporter.min.js');
|
||||
import * as teleporter from './trajectory_teleporter.min.js';
|
||||
|
||||
/**
|
||||
* Decrypts and parses an Antigravity trajectory file (.pb) into JSON.
|
||||
|
||||
10
packages/core/src/teleportation/trajectory_teleporter.min.d.ts
vendored
Normal file
10
packages/core/src/teleportation/trajectory_teleporter.min.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2026 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
export function trajectoryToJson(data: Buffer): unknown;
|
||||
export function jsonToTrajectory(json: unknown): Buffer;
|
||||
export function decrypt(data: Buffer): unknown;
|
||||
export function encrypt(data: Buffer): Buffer;
|
||||
Reference in New Issue
Block a user