Feat(JSSDK + FE + Harmony): 增加 getAppBaseInfo,过滤缓存结果#237
Merged
dos1in merged 26 commits intoMay 31, 2026
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…> header on macOS On case-insensitive filesystems (macOS), QuickJS's plain-text VERSION file shadows the C++17/20 standard <version> header when quickjs_SOURCE_DIR is in the include path, causing "expected unqualified-id" compilation errors. Delete the VERSION file at both configure time and after git updates in the build-time update_quickjs_latest target. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…-header-conflict # Conflicts: # fe/packages/service/src/api/common/index.js
…field filtering - Add getAppBaseInfo bridge method on Harmony with filtered fields (SDKVersion, enableDebug, host, language, version, theme, fontSizeScaleFactor, fontSizeSetting) - Add missing systemInfo fields on Harmony: enableDebug, language, theme, host, fontSizeScaleFactor, fontSizeSetting - Add DMPHostEnvBuilder to build and cache hostEnv snapshot for loadResource message - Add pick() function in service layer to filter hostEnv-resolved API responses - Add missing fields to H5 getSystemInfoSync (theme, fontSizeScaleFactor, fontSizeSetting, language) - Regenerate JSSDK to v1.0.15 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…-header-conflict Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use toEqual instead of toBe for APIs that now return filtered subsets via pick(), and expand test data to cover all API field groups. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dos1in
reviewed
May 27, 2026
| { | ||
| "versionCode": 12, | ||
| "versionName": "1.0.11" | ||
| "versionCode": 16, |
dos1in
reviewed
May 27, 2026
Contributor
Author
There was a problem hiding this comment.
鸿蒙之前的修改,在 macOS 跑不起来。生成的文件格式,不被 macOS 识别。让 CC 修复了一下。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.