Skip to content

chore(release): integrate composer fixes and skill nodes for v0.24.0-beta.5 - #2593

Merged
Tioit-Wang merged 6 commits into
mainfrom
release/beta5-composer
Nov 25, 2026
Merged

Tioit-Wang merged 6 commits into
mainfrom
release/beta5-composer

Conversation

@Tioit-Wang

Copy link
Copy Markdown
Collaborator

Prepare v0.24.0-beta.5 with both Composer changes. This branch includes the original commits from #2589 (including the author's native-undo follow-up), not a replacement implementation. Merge with a merge commit to preserve the contributor's history.

  • Fix extra trailing lines and phantom characters; retain the native undo anchor when Backspace merges an empty last line. Multiline-mode Enter in the middle uses a native LF instead of an uncounted block wrapper.
  • Render selected slash Skills as atomic editor chips; arguments, history recall and send-time validation still use canonical /skill:<id> text, never an attachment.
  • Align workspace/Cargo/protocol versions and localized highlights. The freshly fetched models.dev catalog is byte-identical to the tagged beta.4 snapshot.

Windows candidate: 3083e6a78fbb, base 69e52eec02a0, tree e581a3064ae3. Desktop build/typecheck, lint, architecture (existing hook growth warning), release-docs preflight and diff check passed. Composer/transcript tests: 307 pass, 1 macOS-only skip. Shared source: 744 pass. Real Electron 43.6.0/Chromium 150: mouse, native selection, insert/delete undo/redo, IME, isolated native clipboard, paste and restart flows passed. The Skill test drives accept, delete/undo, submit and history restore. Push the new prerelease tag only after merge and CI verification. Beta.4 is unchanged.

Closes #2588.

Keep the catalog identity in an atomic editor chip so users can edit arguments without breaking the invocation. Serialize the original slash token and revalidate it at send time, including after history recall.
Keep a terminal layout break attached so Chromium can undo a Backspace at the end of a multiline draft. Normalize native paragraph commands to line breaks without losing their undo step.

Cover mouse placement, composition, isolated clipboard copy and native history with a real selection, including typing after undoing deletion.
Exercise both changes on the same editor before cutting the prerelease.
Ship the composer caret and skill-node changes together with aligned workspace versions and localized release highlights.
Check the undoable line-break conversion rather than relying on explanatory prose in the guard.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Deploying pi-desktop with  Cloudflare Pages  Cloudflare Pages

Latest commit: 04d5108
Status: ✅  Deploy successful!
Preview URL: https://4569ad06.pi-desktop.pages.dev
Branch Preview URL: https://release-beta5-composer.pi-desktop.pages.dev

View logs

Validate the release candidate on the actual main revision that landed the upstream tail-line fix, preserving both histories.
@Tioit-Wang
Tioit-Wang merged commit 720bbe1 into main Nov 25, 2026
7 checks passed
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.

[Bug] composer 空末行仍异常:一次换行多渲染一行,尾部输入/删除时光标跳到开头(#2437 回归)

1 participant