Rename ResumeSessionPicker to StandaloneSessionPicker and add documentation

This commit is contained in:
Alexander Farber
2025-12-13 13:33:44 +01:00
parent 56a62bcb2a
commit 4504c7a0ac
6 changed files with 87 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ import { getUserStartupWarnings } from './utils/userStartupWarnings.js';
import { getCliVersion } from './utils/version.js';
import { computeWindowTitle } from './utils/windowTitle.js';
import { validateNonInteractiveAuth } from './validateNonInterActiveAuth.js';
import { showResumeSessionPicker } from './ui/components/ResumeSessionPicker.js';
import { showResumeSessionPicker } from './ui/components/StandaloneSessionPicker.js';
export function validateDnsResolutionOrder(
order: string | undefined,

View File

@@ -6,7 +6,7 @@
import { render } from 'ink-testing-library';
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import { SessionPicker } from './ResumeSessionPicker.js';
import { SessionPicker } from './StandaloneSessionPicker.js';
import type {
SessionListItem,
ListSessionsResult,

View File

@@ -8,7 +8,7 @@ import { useState, useEffect } from 'react';
import { render, Box, Text, useApp } from 'ink';
import { SessionService, getGitBranch } from '@qwen-code/qwen-code-core';
import { theme } from '../semantic-colors.js';
import { useSessionPicker } from '../hooks/useSessionPicker.js';
import { useSessionPicker } from '../hooks/useStandaloneSessionPicker.js';
import { SessionListItemView } from './SessionListItem.js';
// Exported for testing