* feat(device-link): request remote control through local consent
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(device-link): gate consent requests in group tasks and use relative lifetime
request_remote_control joins the task-action tools so group-chat guests cannot
trigger a consent dialog on the owner's computers. The request carries a relative
ttlMs that the target counts on its own clock, so clock skew cannot drop it.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(device-link): drop consent requests when the peer goes offline
A requester that disconnects while its dialog is open no longer keeps the single
incoming slot, and a quick reconnect cannot revive the stale request.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* docs(device-link): align consent request wire field with ttlMs
The protocol ledger and the relay interop fixture still described the absolute
expiresAt timestamp; the implementation sends a relative ttlMs.
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>
Register the extracted sharing domain and ordinary Agent-Net unit suites in the workspace manifest. Match native CI to the existing exclusive integration worker policy. Send signed LAN beacons on joined interfaces and respect an explicit transport bind address, allowing serverless discovery to be tested over actual loopback multicast. Wait for approval dialog dismissal before inspecting background accessibility rows.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Lizi <jiali@magiclizi.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>
Keep the V1 routine engine removed: main's built-in routine save check and
follow-up title localization apply to the V1 engine only (the built-in follow-up
is retired in the V2 upgrade).
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Integrate the local diagnostic UI from 5aa5cf5d36, preserving transient token handling and developer-only placement. Add a real-process supervisor control handoff regression and document acceptance boundaries.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Keep the reviewed monitor initialization ahead of normal startup. Desktop, Mobile and Host typechecks pass on the merged tree; test-hygiene now passes against the current main baseline.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Merge the reviewed reliability work and keep its documentation under advanced developer tools. Validated 163 script tests, 15 Desktop tests, Desktop typecheck, docs and the native input helper build.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
main split the scheduler host into a shared core and a desktop runtime and
moved Electron-bound modules to *.desktop.ts. The teammate home guard and the
own-teammate-project check now come in through the runtime hooks (wrapRunner,
isOwnTeammateProject) from index.desktop.ts; routine engine start/stop stays
removed. Files deleted here (V1 delegation, learning, routines, task delivery)
stay deleted; branch imports moved to the .desktop modules. main's
start_session_task changes stay out (tool removed); its working_dir project
placement is kept in the parity doc for send_to_session. main's async-question
pause test depends on the removed holdInput adapter and is not carried.
Signed-off-by: Chris <4436110+zqchris@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>
An explicit null passed the config check but failed Python identity
verification after the native build. Only an omitted field now keeps
the legacy development default.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Support optional manual export profiles, verify production signing before delivery, and clarify app-signing versus APNs-provider authorization.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Conflicts: bot-import/host.ts and localDb/ipc/bots.ts kept main's new imports
without the removed V1 routine/todo ones; MessageStream.tsx keeps both imports.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
The speed panel counted streamed text with a word estimate that was only
replaced by real usage when a Claude Code turn ended, so a running turn showed
20-50% of its real output and average, and the curve dropped to zero after
every stretch of thinking. Codex divided each response by its model time
including the wait for the first byte and produced one reading per response;
Pi started its clock when the request was sent and showed a reply in flight at
about 45% of its output.
All three now share one meter:
- the clock runs from a request's first byte; waits, tools and approvals are
not generation time
- each request's reported usage (with its thinking/reasoning count) replaces
the stream estimate and calibrates the next one
- thinking is counted from its summary, from provider token estimates, or by
its learned pace when it streams nothing
- output generated before the first byte is credited time at the measured
speed instead of inflating it
Recorded Claude Code and Codex turns, reduced to timing and sizes, are kept as
fixtures; scripts/token-speed-capture.ts records new ones and
scripts/token-speed-replay.ts compares what the panel shows with real usage.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Preserve upstream behavior while sharing platform-independent runtime services.
Repair eager desktop port capture and settle silent startup owner boundaries.
Keep the ongoing headless work local; full confirmation is recorded separately.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>