refactor(agent-runtime, shipping-notice, frontend): 重构上下文体系,修复重试RPA无响应问题
- 替换原有的hxops_context模块为全新的代理运行时上下文平台协议,统一跨业务上下文注入逻辑 - 新增多语言操作繁忙提示文案(覆盖中、繁、英、泰四语),前端绑定页面繁忙状态实现操作阻断 - 调整RPA库存导出重试策略:移除可配置的最大自动重试次数,改为固定单次自动重试,手动重试需用户显式触发 - 优化任务用户态状态展示逻辑,优先展示具体的pending原因而非通用状态文案 - 重构任务焦点切换逻辑,统一事件日志与处理流程,复用switch_batch_focus工具函数 - 修复clearAllHistory函数残留UI问题,确保清空会话后完全复位发货通知相关视图 - 更新OpenAPI文档与静态快照,补充工具使用约束说明 - 新增调试打点日志与问题排查文档,完善全套单元测试与快照校验用例 - 更新RPA脚本的README文档,调整登录方式说明与浏览器 profile 路径配置 - 删除废弃的hxops_context模块,迁移所有相关调用到新的上下文体系
This commit is contained in:
1 parent
60dd0c0f58
commit
8846ce159f
102 files changed
+18289
-9072
No files matched your search
+21
-1
@@ -35,13 +35,32 @@
|
||||
|
||||
## 2. 详细功能拆分
|
||||
|
||||
### 货代发货通知(shipping-notice)
|
||||
|
||||
| 功能项 | 状态 | 说明 |
|
||||
| --- | --- | --- |
|
||||
| 发货通知技术手册 | 已文档化 | 见 [docs/features/shipping-notice/technical.md](features/shipping-notice/technical.md) |
|
||||
| 发货通知业务说明 | 已文档化 | 见 [docs/features/shipping-notice/business.md](features/shipping-notice/business.md) |
|
||||
| 产品原型 | 已文档化 | 见 [docs/prototype/shipping_notice_agent_prototype.md](prototype/shipping_notice_agent_prototype.md) |
|
||||
|
||||
### Agent 应用管理(platform)
|
||||
|
||||
| 功能项 | 状态 | 说明 |
|
||||
| --- | --- | --- |
|
||||
| 设计方案 | 已文档化 | [docs/platform/agent_application_management.md](platform/agent_application_management.md) |
|
||||
| 实现手册 | 已文档化 | [docs/platform/agent_application_management_implementation.md](platform/agent_application_management_implementation.md) |
|
||||
| 产品原型 | 已文档化 | [docs/prototype/agent_application_management_prototype.md](prototype/agent_application_management_prototype.md) |
|
||||
| 结构化 agents 列 + Catalog | 待建设 | 实现手册 §3 迭代 1 |
|
||||
| Context Adapter Registry | 部分完成 | `dify_inputs` 已统一入口,仍 if/elif;迭代 2 |
|
||||
| Admin 类型下拉 + capabilities 列 | 待建设 | 实现手册 §5 迭代 3 |
|
||||
|
||||
### 文件检核(通用域)
|
||||
|
||||
| 功能项 | 状态 | 说明 |
|
||||
| --- | --- | --- |
|
||||
| FileCheckService 判定入口 | 已实现 | 检核执行链路统一调用 Dify Workflow(RoHS / MSDS 等按排程绑定不同 Workflow) |
|
||||
| 文件检核 Chatflow Tool API | 已实现 | `/api/file-check/tools/*`:启动检核、查批次、Excel 报告链接 |
|
||||
| 文件检核完整文档(原型 + Chatflow 编排) | 已文档化 | 见 [docs/file_check.md](file_check.md) |
|
||||
| 文件检核完整文档(原型 + Chatflow 编排) | 已文档化 | 见 [docs/features/file-check/technical.md](features/file-check/technical.md) |
|
||||
| 检核报告同步知识库 | 已实现 | 检核 success / partial_failed 且生成 Excel 后同步到所选知识库分组 |
|
||||
| 多 Agent 共用 Chatflow | 已实现 | RoHS / MSDS 等 Agent 共用同一 Dify Chatflow,`task_id` 由 Agent extra_config 注入 |
|
||||
|
||||
@@ -61,6 +80,7 @@
|
||||
| 固资备注模糊检索 | 已实现 | 同步时生成 `备注` 与标准化备注,查询时作为结构化条件兜底 |
|
||||
| 固资本地快照查询 | 已实现 | `固资管理` Agent 优先查询 SQLite 最新快照,减少实时 ERP 压力 |
|
||||
| 固资导出文件 | 已实现 | 同步成功后生成 `FixedAssets_latest.xlsx`,供人工核查与留档 |
|
||||
| 固资快照技术方案 | 已文档化 | 见 [docs/features/fixed-assets/technical.md](features/fixed-assets/technical.md) |
|
||||
|
||||
### F-01 本人假期查询
|
||||
|
||||
|
||||
Reference in new issue
Block a user