修 CI 的 import 顺序门禁:三个改动文件的 import 排序
Project CI / Backend tests (pull_request) Failing after 29s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m55s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m9s
Project CI / Repository checks (pull_request) Failing after 21s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 4m6s
Project CI / Frontend tests (pull_request) Successful in 3m9s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m56s
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Failing after 29s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 5m55s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 3m9s
Project CI / Repository checks (pull_request) Failing after 21s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 4m6s
Project CI / Frontend tests (pull_request) Successful in 3m9s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m56s
Project CI / Native shell tests (pull_request) Has been cancelled
- Repository checks 的 eslint 报 simple-import-sort/imports 三处(ComposerControls.tsx、DirectProjectComposer.tsx、chat-composer.suite.ts),全部是 import 排序,没有逻辑改动 - 用 npx eslint --fix 自动修(+4/−5),随后 prettier --check、npm run agc:typecheck、appSurface 用例复跑全部通过
This commit is contained in:
+1
-2
@@ -5,6 +5,7 @@
|
||||
* 这些组件只承载表现与交互;回合附件由宿主导入后插成正文芯片(正文是唯一事实源),
|
||||
* 待发消息队列由宿主持有(这里只是一份事件投影,文案派生见 `pendingTurnChipLabel.ts`)。
|
||||
*/
|
||||
import { PlatformRuntimeStatusToast } from '@genarrative/shared/components';
|
||||
import {
|
||||
Check,
|
||||
ChevronDown,
|
||||
@@ -20,8 +21,6 @@ import type { RefObject } from 'react';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
|
||||
import { PlatformRuntimeStatusToast } from '@genarrative/shared/components';
|
||||
|
||||
import type { GameCreationAppAssetManifestEntry } from '../../../../../../../../packages/shared/src/contracts/gameCreationApp';
|
||||
import { resolveTauriInvoke } from '../../../../../app/tauri';
|
||||
import type {
|
||||
|
||||
+1
-1
@@ -38,12 +38,12 @@ import type { DirectPendingTurn } from '../../conversation/directPendingTurns';
|
||||
import type { UserContentPart } from '../../generated/UserContentPart';
|
||||
import {
|
||||
ComposerAttachmentMenu,
|
||||
type ComposerModelNotice,
|
||||
ComposerModelNoticeToast,
|
||||
ComposerReasoningEffortSelect,
|
||||
ComposerStopButton,
|
||||
ComposerTurnQueue,
|
||||
ComposerVoiceButton,
|
||||
type ComposerModelNotice,
|
||||
} from './ComposerControls';
|
||||
|
||||
/** 草稿里已有的附件芯片数:附件上限按它算,不再另存一份待发列表。 */
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { userItemFromContent } from '../../src/features/project-workspace/resourceReferences';
|
||||
import { ConversationModelSelect } from '../../src/features/project-workspace/ConversationModelSelect';
|
||||
import * as platformSession from '../../src/services/platformSession';
|
||||
import { userItemFromContent } from '../../src/features/project-workspace/resourceReferences';
|
||||
import {
|
||||
LlmModelCatalogConfigError,
|
||||
resetLlmModelCatalogCacheForTest,
|
||||
} from '../../src/services/llmModelCatalog';
|
||||
import * as platformSession from '../../src/services/platformSession';
|
||||
import {
|
||||
appendDictationText,
|
||||
resolveSpeechRecognitionCtor,
|
||||
|
||||
Reference in New Issue
Block a user