qwen-code/packages
yao 77458ad21f
feat(input): move physical cursor to visual cursor for IME input (#4652)
* feat(input): add useCursor hook for IME physical cursor tracking

* refactor(input): optimize cursor positioning effect

* feat(input): move setCursorPosition to render phase for immediate cursor positioning

* fix(input): calculate absolute cursor position by walking yoga tree

* fix(input): use addLayoutListener instead of useCursor for zero-jitter cursor positioning

* perf(input): stable addLayoutListener subscription and skip redundant cursor updates

* fix(input): revert lastPos dedup that broke cursorDirty one-shot flag

* feat(input): use patch-package to expose Ink internals for IME cursor positioning

* fix(input): address review feedback — prefixWidth, remove useBoxMetrics, pin ink version

Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>

---------

Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com>
2026-06-03 09:45:59 +08:00
..
acp-bridge chore(release): v0.17.0 [skip ci] 2026-05-29 18:02:11 +08:00
channels chore(release): v0.17.0 [skip ci] 2026-05-29 18:02:11 +08:00
cli feat(input): move physical cursor to visual cursor for IME input (#4652) 2026-06-03 09:45:59 +08:00
core feat(core,cli): auto-compact follow-up — /compress instructions, PreCompact hook plumb, plan/subagent attachments (#4688) 2026-06-03 09:23:00 +08:00
sdk-java feat(core): add NotebookEdit tool for Jupyter notebooks 2026-05-21 00:06:15 +08:00
sdk-python doc[sdk-python] Expand Python SDK usage documentation (#3995) 2026-05-12 15:27:00 +08:00
sdk-typescript fix(sdk): Include CLI chunks in SDK package (#4541) 2026-05-26 16:40:49 +08:00
vscode-ide-companion feat(cli): background housekeeping for stale file-history dirs (#4414) 2026-06-02 14:36:41 +08:00
web-templates fix(insight): Harden insight facet normalization and empty qualitative handling (#3557) 2026-06-02 10:51:15 +08:00
webui chore(release): v0.17.0 [skip ci] 2026-05-29 18:02:11 +08:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00