docs(teleporter): append productionization roadmap to TELEPORTATION.md

This commit is contained in:
Sehoon Shon
2026-02-24 17:07:52 -05:00
parent f79a34a81a
commit b0b6ebf574
8 changed files with 66036 additions and 32815 deletions

View File

@@ -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}`,

View File

@@ -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);