feat(shipping-notice): 新增通用解析能力,优化性能并清理遗留废弃代码

This commit is contained in:
hugo committed 2026-08-23 00:27:18 +08:00
1 parent 935bf26fa6
commit 7cfd5d167e
230 files changed
+9337 -10989

No files matched your search

@@ -33,7 +33,6 @@ export interface ShippingSendHandlerContext {
attachments: Ref<PendingAttachment[]>;
shippingAutoFlowRequested: Ref<boolean>;
resolvedShippingTaskId: Ref<string>;
getActiveShippingBatchNo: () => string;
currentAgentId: ComputedRef<number>;
selectedKb: Ref<string>;
attachmentPolicy: ComputedRef<{ anyEnabled: boolean }>;
@@ -45,7 +44,7 @@ export interface ShippingSendHandlerContext {
agentId: number,
kb: string,
files: ChatUploadFileSpec[],
context?: { task_id?: string; batch_no?: string; shipping_temporary_inventory_asset_no?: string; shipping_temporary_inventory_session_no?: string; display_query?: string },
context?: { task_id?: string; shipping_temporary_inventory_asset_no?: string; shipping_temporary_inventory_session_no?: string; display_query?: string },
hooks?: SendMessageLifecycleHooks,
) => Promise<ChatMessageSendResult>;
buildFileSpecsForSend: () => Promise<ChatUploadFileSpec[]>;
@@ -72,8 +71,6 @@ export interface ShippingSendHandlerContext {
uploadBatchId?: string,
) => Promise<boolean>;
applyShippingMessageRecovery?: (message: ChatMessage) => Promise<boolean>;
applyShippingBatchSnapshot?: (message: ChatMessage) => boolean;
syncShippingConversationWorkspace: (options?: { preferLatest?: boolean }) => Promise<boolean>;
refreshShippingActions: () => Promise<void>;
shippingSuggestedPrompt: ComputedRef<string>;
isShippingShortageQueryIntent: (text: string) => boolean;