mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-25 05:21:03 -07:00
docs(teleporter): append productionization roadmap to TELEPORTATION.md
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
import * as fsPromises from 'node:fs/promises';
|
||||
import React from 'react';
|
||||
import { Text } from 'ink';
|
||||
import { pathToFileURL } from 'node:url';
|
||||
import { theme } from '../semantic-colors.js';
|
||||
import type { Content, Part } from '@google/genai';
|
||||
import type {
|
||||
@@ -69,8 +70,9 @@ const getSavedChatTags = async (
|
||||
: a.mtime.localeCompare(b.mtime),
|
||||
);
|
||||
|
||||
// Also look for Antigravity sessions
|
||||
const agySessions = await listAgySessions();
|
||||
// Also look for Antigravity sessions matching the current workspace
|
||||
const workspaceUri = pathToFileURL(process.cwd()).toString();
|
||||
const agySessions = await listAgySessions(workspaceUri);
|
||||
for (const agy of agySessions) {
|
||||
chatDetails.push({
|
||||
name: `agy:${agy.id}`,
|
||||
|
||||
@@ -12,6 +12,7 @@ import { Colors } from '../colors.js';
|
||||
import { useTerminalSize } from '../hooks/useTerminalSize.js';
|
||||
import { useKeypress } from '../hooks/useKeypress.js';
|
||||
import path from 'node:path';
|
||||
import { pathToFileURL } from 'node:url';
|
||||
import {
|
||||
listAgySessions,
|
||||
type Config,
|
||||
@@ -482,9 +483,11 @@ const useLoadSessions = (config: Config, state: SessionBrowserState) => {
|
||||
const loadSessions = async () => {
|
||||
try {
|
||||
const chatsDir = path.join(config.storage.getProjectTempDir(), 'chats');
|
||||
const workspaceUri = pathToFileURL(process.cwd()).toString();
|
||||
|
||||
const [sessionData, agyData] = await Promise.all([
|
||||
getSessionFiles(chatsDir, config.getSessionId()),
|
||||
listAgySessions(),
|
||||
listAgySessions(workspaceUri),
|
||||
]);
|
||||
|
||||
setSessions(sessionData);
|
||||
|
||||
Reference in New Issue
Block a user