补齐平台壳宿主消费门禁
新增平台壳草稿通知和角标 HostBridge 同步层 补充真实 Tauri transport 单测和跳一跳完成集成测试 扩展原生壳门禁覆盖 H5 宿主消费链路 更新宿主壳协议、方案和共享决策记录
This commit is contained in:
@@ -58,6 +58,7 @@ const h5HostBridgeCallChainWrapperFiles = [
|
||||
'src/hooks/useHostLifecycleActive.ts',
|
||||
'src/hooks/useHostNetworkOnline.ts',
|
||||
'src/components/platform-entry/platformProfileHostClipboard.ts',
|
||||
'src/components/platform-entry/platformHostBridgeSync.ts',
|
||||
];
|
||||
const h5HostBridgeRequiredCallChainFiles = [
|
||||
'src/App.tsx',
|
||||
@@ -223,11 +224,18 @@ const h5HostBridgeTests = [
|
||||
'src/services/host-bridge/hostBridge.test.ts',
|
||||
'src/services/host-bridge/nativeAppHostBridge.test.ts',
|
||||
'src/App.test.tsx',
|
||||
'src/components/common/CreativeAudioInputPanel.test.tsx',
|
||||
'src/components/common/PublishShareModal.test.tsx',
|
||||
'src/components/creation-agent/CreationAgentWorkspace.test.tsx',
|
||||
'src/components/platform-entry/platformDraftGenerationShelfModel.test.ts',
|
||||
'src/components/platform-entry/platformHostBridgeSync.test.ts',
|
||||
'src/components/platform-entry/platformHostNotificationModel.test.ts',
|
||||
'src/services/runtimeAudioFeedback.test.ts',
|
||||
'src/services/clipboard.test.ts',
|
||||
'src/services/appTitle.test.ts',
|
||||
];
|
||||
const h5PlatformHostBridgeIntegrationTest =
|
||||
'native app jump hop draft completion sends host notification and badge from platform shell';
|
||||
|
||||
const wechatShellTests = [
|
||||
'miniprogram/host-bridge/protocol.test.js',
|
||||
@@ -249,6 +257,18 @@ const steps = [
|
||||
command: npmCommand,
|
||||
args: ['run', 'test', '--', ...h5HostBridgeTests],
|
||||
},
|
||||
{
|
||||
label: 'h5-platform-host-bridge-integration',
|
||||
command: npmCommand,
|
||||
args: [
|
||||
'run',
|
||||
'test',
|
||||
'--',
|
||||
'src/components/rpg-entry/RpgEntryFlowShell.agent.interaction.test.tsx',
|
||||
'-t',
|
||||
h5PlatformHostBridgeIntegrationTest,
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'wechat-shell-tests',
|
||||
command: npmCommand,
|
||||
|
||||
Reference in New Issue
Block a user