mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Rename ResumeSessionPicker to StandaloneSessionPicker and add documentation
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user