Limit workspace selectors to the packages block and read license targets from pnpm-workspace.yaml with a declared YAML dependency. Give each unverified fetch or install a private empty temporary global config with one shared cleanup owner, independent of tracked content and links.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: yan <yan233@xd.com>
Pin pnpm 11.28.9 with the upstream hoisted-copy fix, migrate configuration without changing application dependency resolutions, and keep the existing build-script allowlist. Align managed Make tools and diagnostics, preserve Intel Mac support with the official Node package, and retain configuration and credential isolation for unverified installs and cache warming.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: yan <yan233@xd.com>
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>
Reject outbox restoration while dictation owns the draft and prevent
cancelled recordings from dispatching new refinement requests.
Merge main c3235656b6 and keep memory
initialization serialized without recursively entering its mutation queue.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
Resolve dependency manifest, lockfile and documentation conflicts while preserving the Terrazzo parser and Expo image patches.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
One command (pnpm transfer:baseline) replays a fixed remote session for the
phone and desktop controller profiles through the self-hosted relay on
127.0.0.1 and counts every WebSocket frame on the controller socket: wire
bytes, TCP bytes, decoded bytes, frames and logical messages per stage,
channel and direction. It writes JSON (report schema 5) and a Markdown
table outside the repo.
- Scenario 4: cold open of a 10-turn task, a live turn with a 1.05 MiB tool
result, reconnect with catch-up, a cold sidebar refresh with read-ahead,
ordinary visible tool results, expanding folded and large work groups,
a live turn with a group kept expanded, repeated sidebar list reads
(phone back from background, desktop reconcile; 30 and 200 tasks), and a
fourth host for reconnects after read-ahead and after a long turn and
for expanding a running group. Watched live turns advance one step at a
time after the controller's debounced reads settle, so results are
deterministic: each stage records a signature (history/detail reads and
304s, work patches, history notices) that repeats across runs.
- dataTotals exclude transport ACKs and relay control frames; ACK and TCP
bytes are reported separately. Channels break decoded bytes down by
maker event type, message role, body reuse and target task. Gzipped
results and list delta patches, and pushes compressed with the product's
push dictionary, are inflated and counted; undecodable ones are reported,
not guessed.
- The run fails when a self-check fails (48 for both profiles, 16 for
TRANSFER_BASELINE_SCOPE=lists): every stage carries traffic and the
stages read what they are named after.
- Capability switches add or drop declared capabilities and per-request
transfer fields without code changes; harness switches cover the phone
stop keeping its result cache, permessage-deflate and realistic task
rows. profiles.ts mirrors the controller capability lists of the base
product and cites where they come from.
The controlled side runs the Desktop dispatcher, the real SQLite schema
from the migration chain and the real history/session IPC handlers;
controllers run DeviceLinkClient and the shared HistoryViewController, and
phone recovery uses the Mobile recovery core. A few small reads are stubbed
and marked in the report. Not part of any test tier; it only runs on
demand.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Sync main at 3249e9507a. Preserve the reply
composer and its checks alongside main's account and rich-media fixtures,
and retain the shared Desktop Terra assembly imports. Move the recording
lease compatibility note into main's split protocol records.
Keep current-run refinement and failure checks after stop IPC; block voice
input while a reply is sending and complete cancellation after IPC rejection.
Close the cached overlay independently of queued provider cleanup, scope its
audio leases to each recording, and reject stale stop/show/close callbacks.
Reattach the Pi package watcher before observing a replaced directory token.
Synchronize cache and checkout fixtures on real completion boundaries, drain
their pending writers, and load the real preview once before keyboard tests.
Keep the behavioral assertions and file-level test timeouts.
Wait for agent startup before measuring failed-start slot cleanup. Serialize
memory store initialization with the existing directory mutation queue to
prevent concurrent Windows metadata/index replacement without changing data
formats, ownership checks or cleanup of redundant database handles.
Refs: #6656
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
Revoke dictation event admission before asynchronous cancellation and bind
system audio leases to an optional sender-scoped recording identity, including
pending starts. Preserve legacy IPC callers and cleanup on errors/window exit.
Add real-handler/controller/queue/guard and renderer-hook regressions for
cancel-during-flush and replacement-during-dispose. Stabilize existing test
fixtures without changing assertions or timeouts, and patch Terrazzo parent
lookup to preserve inheritance while avoiding repeated global sorting.
Merge origin/main at 6cb02f6c8d.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Alan Z <3347202+A1aZ@users.noreply.github.com>
Merge origin/main at 00f65f30db. Move the remote connection settings onto the shared settings components, read the APNs environment through the signed profile, keep the communication entitlement on the app target only while the notification extension retains its keychain group, and regenerate the glossary and help knowledge from the merged source.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.com>
Address the open review findings on the Host web client without changing how
the desktop starts: the desktop no longer auto-discovers and joins a running
Host (only an explicit CINDY_HOST_API does).
- pairing: one-time pairing exchanges for a session cookie; the home page no
longer issues credentials or embeds the API token; Host/Origin checks,
session expiry closes event streams, logout clears cookies.
- credentials/accounts: provider keys are scoped by account/provider/engine and
never fall back to the gateway key; model catalog cache is isolated per
account; logout reuses the desktop saved-account tombstone policy; macOS and
Windows credentials go through a private Electron safeStorage helper.
- execution: input queue claims its slot before async preparation, keeps input on
failure, stops cleanly while preserving streamed output, pauses on save
failure, and deleting a task stops and clears it; SDK session context is
restored after refresh and Host restart.
- web shim: unsupported actions fail instead of reporting success.
- desktop explicit Host mode: auth, interaction and input-queue events reach the
existing channels; shared storage cores (project aliases, recent workdirs,
ghost snapshot worker) are used by both desktop and Host.
- CI: Host regression matrix on macOS, Windows and Linux; fix the task tag
migration test to use the new migration config.
Out of scope here: a windowless Electron helper and custom MCP storage
extraction. Simulated OS tests do not replace real keychain/DPAPI or
three-platform validation; see docs/host/pr-9246-completion.md.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
The host now adopts the only account database in a profile instead of requiring
CINDY_HOST_OWNER (multiple accounts are refused rather than guessed). pnpm
dev:host reuses a running host or starts one before launching the desktop, so the
default dev path never falls back to the embedded runtime.
Verified: pnpm dev:host reused the running host and the desktop entered client
mode with the host serving every runtime channel.
Signed-off-by: CHEYAN <me@iamcheyan.com>
Make the database entry Electron-free (host UI, copy and slimming are injected),
add a Node loader for maker-core's `?raw` prompt assets, build the real
Maker/ClaudeCodeAgent graph over the shared storage, and expose POST /chat that
forwards Session events as SSE.
Verified: host /health reports the claude-code agent; authenticated /chat
streams the real runtime refusal (claude-code not authenticated: not_connected)
while an unauthenticated call is 401. Desktop typecheck passes.
Signed-off-by: CHEYAN <me@iamcheyan.com>
Extract host facts (logger paths, drizzle dir, sqlite-vec path) out of the
Electron imports so cindy-host can reuse the production storage stack instead
of growing a second one. Storage startup now shares the schema lease, the
migration runner, CJK trigger installation and vector loading, and both hosts
wrap the same handle-bound DbClient and OwnerSessionStorage mapping.
Verified on a temporary profile: 145 migrations applied, 87 tables, one task
created through the shared adapter and still listed after a host restart.
Signed-off-by: CHEYAN <me@iamcheyan.com>
Agents had to chain boot, Metro, rebuild and whoami themselves, and after
one step failed they kept reporting the phone app as unbuildable. The new
command picks a device without disturbing other tasks (several candidates
make it ask instead of guessing), boots it, reuses or starts this
worktree's Metro (on a free port when 8081 belongs to another task),
installs the matching native app, launches it, waits for the bundle,
brings it back to the foreground when the system pushed it behind after
boot, and checks identity. It reads the Metro log sim-start records and
keeps its own output in the system temp directory, never in the worktree.
It can be rerun after the device idles off, and always ends with one JSON
line giving a code and the next step.
The root AGENTS.md module table now routes "seeing changes on the phone"
to the Mobile docs; the command and the rule that only a fresh run's code
counts as evidence live in docs/dev-rules/mobile-development.md.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Keep the upstream callback fixture and its CI regression note; both branches contain the same updateJumpDown fix.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
sim:start now writes Metro output to apps/mobile/logs/metro-<port>.log, and
mobile:sim:logcheck reports what happened after the latest entry bundle: ERROR
and failed bundles fail, unlisted warnings must be reported, and an unknown
state is not a pass. Add the check to the simulator verification rules.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Add scripts/publish-page-manual.mjs to upload the bundled
PAGE-GENERATION.md to {cdnBaseUrl}/plugin-pages/manual/{version}/ with a
manifest.json. Version, region and commit come from build-info.json; the
manual bytes come from the build commit, and builds without the manual
are skipped. Versioned objects are never overwritten.
The shared path helper lives in apps/desktop/src/shared/pluginPageManual.mjs
so the client runtime can build the same URL later.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
This reverts commit 56e2fdf2aa, reversing
changes made to 206b24ccc8.
Conflict resolution:
- apps/mobile/src/session/BotGroupChatScreen.tsx: restore the pre-#7123
timeline and offline note, and keep 5fd7c38ec1 (pending sends with
retry/cancel, delayed offline notice, queue-aware composer) ported onto
the pre-#7123 structure without AnimatedContentHeight or
useMessageEntrances. Pending rows keep the stable `local:<clientId>` key
for CompanionEntering so a confirmed send does not animate twice.
- docs/design-rules/design-inventory.md: regenerated from sources.
Signed-off-by: MagicLizi <jiali@magiclizi.com>