主要修复: - 恢复Agent真实头像显示(替换emoji为实际图片) - 删除自动跳转到ResultPageV2的逻辑 - 修改ResultModal支持动态内容显示 - 根据不同订单班显示对应的方案信息 优化内容: - 重构Agent系统,每个订单班独立管理Agent配置 - 删除不需要的ResultPageV2组件 - handleViewDetails改为在新标签页打开 影响模块: - web_frontend/exhibition-demo/src/components/ResultModal.tsx - web_frontend/exhibition-demo/src/pages/WorkflowPageV4.tsx - web_frontend/exhibition-demo/src/App.tsx - web_frontend/exhibition-demo/src/data/terminalSimulations/*.ts 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
44 lines
1018 B
TypeScript
44 lines
1018 B
TypeScript
// TypeScript Version: 3.2
|
|
|
|
/// <reference types="node" lib="esnext" />
|
|
|
|
import * as fs from 'fs';
|
|
import { Readable } from 'stream';
|
|
|
|
declare namespace readdir {
|
|
interface EntryInfo {
|
|
path: string;
|
|
fullPath: string;
|
|
basename: string;
|
|
stats?: fs.Stats;
|
|
dirent?: fs.Dirent;
|
|
}
|
|
|
|
interface ReaddirpOptions {
|
|
root?: string;
|
|
fileFilter?: string | string[] | ((entry: EntryInfo) => boolean);
|
|
directoryFilter?: string | string[] | ((entry: EntryInfo) => boolean);
|
|
type?: 'files' | 'directories' | 'files_directories' | 'all';
|
|
lstat?: boolean;
|
|
depth?: number;
|
|
alwaysStat?: boolean;
|
|
}
|
|
|
|
interface ReaddirpStream extends Readable, AsyncIterable<EntryInfo> {
|
|
read(): EntryInfo;
|
|
[Symbol.asyncIterator](): AsyncIterableIterator<EntryInfo>;
|
|
}
|
|
|
|
function promise(
|
|
root: string,
|
|
options?: ReaddirpOptions
|
|
): Promise<EntryInfo[]>;
|
|
}
|
|
|
|
declare function readdir(
|
|
root: string,
|
|
options?: readdir.ReaddirpOptions
|
|
): readdir.ReaddirpStream;
|
|
|
|
export = readdir;
|