The Node Host builds its Claude, Codex and Pi engines from the same
modules as the desktop, with its own ports: model context and efforts,
disabled and managed Skills, the plugin roster and capability routing,
engine model lists, turn change sets and git savepoints, worktree
runtime leases, the loopback compatibility proxy and subscription
bridges, Codex native login reconciliation and invalidation, Pi native
providers and packages, the Pi persistent subagent runner, auto-review
and the auxiliary model chain, the vision bridge, the /learn capture,
and the event and tool input redaction before events leave the Host.
Parity tests run the desktop and Host code on the same inputs; Host
end-to-end scripts run the bundled engines against a local mock
upstream with an isolated HOME.
docs/host/personal-migration-release-table.md records, item by item,
what is aligned, the known differences and what remains before the
personal edition can move to the Host.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): preserve menu bar placement and support desktop pointer targets
Embed a stable AppKit preference identity in native menu bar helpers,
with isolated development profile identities and metadata-aware caching.
Expose explicit capture-bound desktop click and drag through Computer Use
while preserving window targeting, input serialization and user protection.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>
* fix(desktop): invalidate desktop captures after local input
Record the start of each desktop capture and verify system idle time before
queueing and dispatch. Reject local HID input after capture even once the
user is no longer active, including input during capture and unknown timing.
Add production-dispatch regression coverage for stale click and drag,
slow captures, and unknown idle state.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>
* fix(desktop): clean up generated desktop captures
Release host-owned desktop screenshots on replacement, failure, cancellation and session cleanup while preserving explicit exports and concurrent reads.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: David <david@DaviddeMacBook-Air.local>
---------
Signed-off-by: David <david@DaviddeMacBook-Air.local>
Co-authored-by: David <david@DaviddeMacBook-Air.local>
Restore updater production behavior and its documentation to main so the
browser-to-elevated-client fix ships independently of updater changes.
Keep permission setup in an explicit integration-only fixture and retain
bounded real Node/Electron delivery assertions and sender diagnostics.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Yuewei-LL <308228674+Yuewei-LL@users.noreply.github.com>
Preserve the upstream Dwm and deep-link native/startup changes while
integrating main. Create the updated app with the verified same-user,
same-session ordinary desktop shell as parent, retaining the original
detached fallback only before a child has been created.
Keep the created process handle for Windows launch verification, prevent
overwrite rollback while a child may still be active, and serialize Close
and Retry while Close runs off the UI thread. Add real Windows launch and
isolated installer transaction regression coverage.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Yuewei-LL <308228674+Yuewei-LL@users.noreply.github.com>
Include relay sharing dialogs, global approvals, same-account discovery and joins, V2 tenant isolation, and guest sharing recovery and error fixes. Verify Agent-Net remains disabled by default for new installations and upgrades without an explicit preference.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
Filter card-owned answers from desktop and mobile pending rendering, including settling and outbox states. Keep delivery intact and retain normal messages and withdrawn-question supplements.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Use the existing durable scheduler queue for GitHub App events, preserve busy PR follow wakeups, separate GitHub recovery from ordinary webhooks, and bind new connections to the initiating Desktop. Remove implicit personal-build loopback endpoints.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): preserve standalone window bounds across sidebar resizing
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): keep Snap detection and off-screen restore correct with sidebar open
Address review: persistence view keeps real window for Snap/work-area fill
detection (own expansion is not a fill); closing the sidebar places the
saved rectangle back inside the work area if its display went away; sync
desktop-development rules with the restore behaviour.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): restore sidebar baseline on its own display
Judge the saved rectangle against the display it belongs to, so a window
moved to another connected display still returns to where it was; only a
removed or shrunk display relocates it.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* feat(desktop): align queued message bubbles and actions with mobile
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): fold queued plugin message pasted text once
The queued bubble passed an already-folded displayText together with the
original pastedTextRanges, so ranges past the shortened body were skipped
and the reference could not be opened. Pass the unfolded source text with
its ranges and let UserMessage fold it once.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): pass owning task id to queued message bubbles
Queued bubbles rendered without a sessionId, so images cached on the
execution computer of a device-linked task could not be resolved remotely.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Restore the existing CI workflow and matching contract tests; retain the native macOS regression tests and document the manual entry point.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
Connect repository events through the existing authenticated webhook channel and wake existing PR follow-up gates after refreshing current facts. Add account controls and a loopback-only development endpoint override.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
An upload from an Apple silicon Mac showed the darwin-x64 build running
under Rosetta: module evaluation before crashReporter took ~15.7 s per
launch versus 0.5-2.2 s on other macOS devices, and nothing in the app or
its logs said why. Log the translation state at startup and show a
sidebar notice (macOS only) pointing to the Apple silicon download.
The same upload ended in an uncaughtException: after the main renderer
was killed, the microphone permission broadcast and the shutdown
disposer read webContents.mainFrame, whose getter throws once the frame
is disposed. The trusted-renderer checks now fail closed instead of
throwing.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Hand off browser launches through a bounded, same-user native channel and
reuse the existing deep-link routing with per-launch deduplication.
Launch Cindy through the verified unelevated desktop shell after updates,
retaining the existing detached-launch fallback.
Add real Electron cross-privilege and pipe-ownership regression coverage.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Yuewei-LL <308228674+Yuewei-LL@users.noreply.github.com>
Pi (and remote Claude Code) reach the local MCP bridge through `?session=`
routes, and their processes exit without sending DELETE, so the
streamable-http transport never closes and every session keeps a full
McpServer with all tool schemas alive. On the personal build the Pi bridge
opened 77 sessions in 40 minutes and closed none while only one Pi process
was still running; the sampled main-process heap was ~200 MB of zod schema
objects built for these servers, growing ~500 MB/hour.
Each new bridge session now records the Session that opened it. When that
Session's registration is really removed (not a late dispose after a
reattach re-registered it), its sessions are closed. Local Codex children
do not use `?session=` and are unaffected; they already close their
sessions. The memory-usage line gains `mcpBridgeSessions` so a future
build-up shows directly.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
The memory-usage log shows the main process growing with use but not what
is growing, and a full heap snapshot of a multi-GB main process freezes it
for a minute or more, so it cannot be taken on an instance in use.
Dev builds now start V8's sampling heap profiler when the logs directory's
log-config.json sets "mainHeapSampling": true. Every 30 minutes it writes
the raw .heapprofile (loadable in DevTools) and a summary ranking live
sampled memory by nearest main-bundle frame and by allocation frame under
logs/heap-sampling/, keeping the latest 48. Files stay local; the scope is
not in the upload allowlist. Packaged builds ignore the flag.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Personal-build logs show the main process growing steadily with use since
mid-October (40 MB to 1.2 GB per hour, up to 8.5 GB) until restart, but the
only per-process memory sampling was a dev-only console.log, so packaged
logs cannot show which process grows or whether it is JS heap or buffers.
Replace it with a `memory-usage` logger that samples every 10 minutes in
packaged builds (30 s in dev): main-process memoryUsage() breakdown plus
app.getAppMetrics() grouped by process type. The line carries only process
types and numbers, so the scope is added to the log upload allowlist as an
exact match.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Statically link the MSVC CRT for Windows remote desktop helpers and addon.
Validate native loading and production NSIS hooks with isolated fixtures.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
Pin PingFang fallback weights to their public local faces, verify the real group composer menu, and document isolated component preview acceptance.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: nana <823073145@qq.com>