| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: rename hippy/Hippy files and symbols to flexui/FlexUI Phase 2 of rebrand: - Rename files/directories with hippy/Hippy in name - Replace all Hippy→FlexUI and hippy→flexui text references - Includes import/include paths, class names, function names, comments Co-Authored-By: Claude <noreply@anthropic.com> | 1 个月前 | |
fix(agent): card JSON leak in chat + card width/height sizing on OHOS Problem 1 — tool result JSON leaked into chat bubble: - AgentChatView.onToolCallEnd appended raw tool result JSON to visible text. Now only shows ✓/✗ status; card renders the data (per systemPrompt §5.1). Problem 2 — card width/height wrong (3-layer root cause): - ROOT-DIM-FIX (NativeBackendElement) forced card root to full-screen width+height (from 1139eb7's Android fix). Now falls back WIDTH only; height stays wrap-content. - Card CSS height:100vh resolved to full screen height. Card root now marked _isCardRoot and its height/minHeight stripped in resolveNativeProps. - First-card width race: NativeBackendContext constructed before container width propagated → root built at screen width. FlexView now pushes the container width via updateDimension() before loadCard; getWindowWidth reads live dimensions with an explicit override. - FlexView.queryLayoutSize polls for the growing content height until stable instead of latching the first value. Also: rename bundleName to com.enjoy.now.hmos in build scripts + docs. Co-Authored-By: Claude <noreply@anthropic.com> | 1 个月前 |