feat(download-center): 落地全系统下载中心并收编配置中心/子应用跳转
- 新增 packages/download-center 主壳内统一下载网关(队列/轮询/通知/顶部面板/历史), 子应用只经 @uj/platform-sdk 的 downloadCenter 登记任务,禁止各自落地文件(check-boundaries 加 download-direct 红线)。 - platform-sdk 新增 downloadCenter / remoteConfig / goTo 出口; 配置中心收编为 loadRemoteConfig / invalidateRemoteConfig,usedcar config-center 精简为仅留类型视图与默认 moduleUrl。 - 子应用内部跳转 goTo() 收敛到 platform-sdk,替换 points / usedcar 散落的 navigate 实现。 - 登录会话新增 D+(嘀加)sessionId,供 gsc-vcp-web-facade 网关签名。 - api-core:facade 支持 messageMap(code→文案三级回退); gscPreset 修正 msg 信封键;fetch 发送器按 content-type 表单编码,修复 ROP 网关「缺少appKey」。 - @uj/contracts 补下载中心类型与 bus 事件名;@uj/biz 补 error.errorDetail 通用工具。 - points / store / usedcar 接入下载中心与收编后能力;storeDownload 大幅瘦身,FailDetailCard / ImportDialog 改用新事件。 - docs/PORT_CONVERSION.md 增补 §14 下载中心、§15 通用工具收编与新增包链接说明。
Showing
51 changed files
with
2245 additions
and
329 deletions
This diff is collapsed.
Click to expand it.
packages/biz/src/utils/error.ts
0 → 100644
packages/contracts/src/download-center.ts
0 → 100644
packages/download-center/package.json
0 → 100644
packages/download-center/src/deliver.ts
0 → 100644
packages/download-center/src/engine.ts
0 → 100644
packages/download-center/src/index.ts
0 → 100644
packages/download-center/src/register.ts
0 → 100644
packages/download-center/src/store.ts
0 → 100644
packages/download-center/src/types.ts
0 → 100644
packages/download-center/tsconfig.json
0 → 100644
packages/platform-sdk/src/downloadCenter.ts
0 → 100644
packages/platform-sdk/src/remoteConfig.ts
0 → 100644
-
Please register or sign in to post a comment