Invitees saw "couldn't read the models (DEVICE_LINK_DEVICE_OFFLINE)" on
an active share whose owner was online. The relay enrolls an invitee's
computer into the share only on link-open; the settings detail and the
model picker read the owner's catalog with a bare invoke, so a computer
that had never opened the link (a fresh install, or a dev build with
its own device id) was refused with "providerShare peer unavailable".
Renderer share reads now take the same path as the remote Agent and the
phone's proxied read: open the background link to the owner's computer
if it isn't ready, then invoke.
Signed-off-by: MagicLizi <jiali@magiclizi.com>
The new-task model sheet on the phone now lists the providers that the
user's other computers open for remote use and the providers shared
with the controlled computer, in the same sections as the in-task
model sheet. Picking one creates the task with agentDeviceId (the same
create-session parameter Desktop uses), so the Agent runs there while
the task and files stay on the controlled computer.
- The pick is kept apart from the draft: the draft's model and source
keep following the controlled computer's catalog, and the pick is
folded in at creation (ordinary and goal) for that computer and Agent
only. Saved drafts restored for editing split it back out.
- The controlled computer's catalog guard and sign-in gate don't apply
to a remote pick; the computer that runs the Agent checks it on the
first message.
- Offered only when the controlled computer's provider list carries the
remoteInvocationEnabled flag (added with remote Agent support), not
for shared-task guests, and not together with a collaboration draft
(its first Worker model comes from the controlled computer).
- The model pill shows the remote catalog's model name with the remote
badge; the accessible name includes the computer name. The optimistic
session row carries agentDeviceId.
JS only; no native fingerprint inputs change.
Signed-off-by: MagicLizi <jiali@magiclizi.com>
Remote provider rows now use the same single-line layout as local providers (name, model count, status dot) with the remote badge; the computer name appears only in the hover tip and the accessible name.
Signed-off-by: MagicLizi <jiali@magiclizi.com>
Settings → Providers, following hands-on feedback:
- "Enter Share Link…" moves to the top right of the page and opens the
link dialog; the paste row and empty-state note at the end of the
shared group are gone.
- "Providers shared with me" stays its own group and is hidden when
nothing is shared.
- Providers usable on my other computers (online, remote control on,
"allow remote use" on, connected) are listed after my own providers
with the remote badge and the computer name; selecting one shows a
read-only detail with the models it offers. The share detail and this
detail share one read-only model list.
- Model picker: when the sharer's Cindy is too old to answer the agent
capability read, say so ("ask them to update Cindy") instead of a
generic load failure, which left invitees with no models and no reason.
useControllableDevices now tolerates a window without the device-link
bridge instead of throwing.
The join page's fallback hint (server) still names the old "Paste Share
Link" entry and needs the new name.
Signed-off-by: MagicLizi <jiali@magiclizi.com>
Invitees could see a shared provider but not select it: their model
picker and send gate also read the owner's agent capabilities, available
agents and agent readiness, and the owner's computer refused everything
but the provider list.
- Owner: provider-share guests may now read maker:get-capabilities,
maker:list-available-agents and maker:agent:status. Each answer is
narrowed to the shared provider: capabilities keep only its models,
available agents only the agents it serves, readiness only
binaryReady/authReady (no local path or login identity).
- Invitee: the renderer's share:<id> reads pass these channels through.
- Settings: "Providers shared with me" moves from the bottom of the page
into the provider list as its own group; selecting one shows its
source, status, the models it offers (read-only) and Leave. "Paste
share link" sits at the end of the group. The manage-sharing entry
uses a share icon.
Signed-off-by: Lizi <jiali@magiclizi.com>
A user can share any provider that already allows remote use with
users of other Cindy accounts. The Agent keeps running on the sharer's
computer with the sharer's login; the invitee's files and commands stay
on the invitee's computer. Product rules: docs/product-rules/
provider-sharing.md; cross-repo contract: docs/provider-sharing-
contract.md (server side lands in cindy-server).
Sharer (Desktop main):
- one-time 5-minute links, approval with a 4-digit pairing code,
pause/resume/remove, notifications without the pairing code;
- invitees (provider-share peers) may only use maker:remote-agent:v1
and a provider list filtered to the shared provider; subscriptions
and every other channel are refused, late results after revocation
are rewritten to ACCESS_REVOKED;
- guest isolation for Claude Code, Codex and Pi: open payloads are
allowlisted (no hooks/env/apiKeyHelper, neutralized out-of-tree @
imports and ! commands), no host personal config, managed skills,
roster or contacts rules, guest-only resume, Codex in a separate
CODEX_HOME with read-only token access, Pi without host context;
- per-invitee, per-model usage in userData/remote-agent (no schema
change); pausing ends tasks at once, removal also deletes the
invitee's shadow workspace, attachments and Agent transcripts.
Invitee (Desktop):
- apply dialog from deep links or a pasted link, waiting state with
the pairing code, withdraw, leave;
- shared providers appear in the model list as
"{provider} · {device} · 来自 {owner} 的分享"; tasks bind with
agent_device_id = share:<shareId>;
- cross-region shares (server switch, default off) use identity cards
and an in-memory share credential on a second relay connection.
Mobile: reads the controlled computer's received shares for the model
list, localizes the new errors, and only says "open on a computer" for
share links (JS only, runtime fingerprint unchanged).
Protocol: Envelope.providerShare scope with capability
provider-share-v1 (append-only; old relays and clients keep same-account
routing), new same-account channel
maker:provider-share:received-catalogs.
Signed-off-by: Lizi <jiali@magiclizi.com>