Skip to content

fix(harmony): sync playable GenUI games and repair turns - #7

Merged
wgqqqqq merged 10 commits into
mainfrom
wgq/harmony-genui-model-setup
Nov 23, 2026
Merged

wgqqqqq merged 10 commits into
mainfrom
wgq/harmony-genui-model-setup

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Sync the playable Neon Invaders HtmlView example and Harmony game-generation guidance into the mobile GenUI contract.
  • Prefer complete offline games with touch controls and an HtmlView game loop for game requests.
  • Keep automatic repair inside the original assistant app card instead of adding a repair chat message or temporary assistant bubble.
  • Allow three repair rounds and switch strategy when the same diagnostics repeat.
  • Preserve the Harmony model-storage migration and import fix already present on this branch.

Verification

  • pnpm run check
  • pnpm run harmony:genui-runtime:check
  • pnpm run mobile:architecture
  • node --test src/apps/mobile/harmonyos/tools/tests/local-genui-owner.test.cjs src/apps/mobile/harmonyos/tools/tests/session-navigation.test.cjs
  • HarmonyOS HAP built, signed, installed, and launched on device 5ZU0226202001116.
  • Real-device GenUI game generation reached a playable game card and completed repair without a second repair chat message.

Include the local GenUI model storage fallback and cross-platform session parity work.
…el-setup

# Conflicts:
#	src/apps/mobile/harmonyos/entry/src/main/ets/services/CloudAccountSessionStore.ets
#	src/apps/mobile/harmonyos/genui-runtime/src/local-runtime/LocalRuntimeApp.tsx
#	tests/browser/harmony-local-genui-browser.test.mjs
…el-setup

# Conflicts:
#	src/apps/mobile/harmonyos/entry/src/main/ets/pages/viewmodel/LocalGenUIViewModel.ets
#	src/apps/mobile/harmonyos/entry/src/main/ets/services/local-genui/LocalGenUISessionController.ets
#	src/apps/mobile/harmonyos/entry/src/main/resources/rawfile/genui/runtime-manifest.json
@wgqqqqq
wgqqqqq merged commit 031f70b into main Nov 23, 2026
3 checks passed
@wgqqqqq
wgqqqqq deleted the wgq/harmony-genui-model-setup branch November 23, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant