Remove the ask_owner dispatcher, expose window and screenshot handoff directly across harnesses, and retain native question flows and standalone Grok sign-in.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Keep the original UTF-16 parameter limit for stored releases in protocol and Desktop validators while preserving strict UTF-8 validation for new packages. Cover delivery parsing and real install, update and receipt reload, and document the compatibility boundary.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Zhao Dengfeng <2370187+zhaodengfeng@users.noreply.github.com>
Open the shared model selector beside plugin page buttons and return the full
validated model route. Bind requests to the approved page and original host,
support detached windows and native tab views, and preserve legacy dialogs.
Remove the inherited three-second picker cooldown so closing and reopening a
selector works normally. Include an interactive demo plugin and regression
coverage for page ownership, cancellation, remote sources and catalog leases.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: MagicLizi <jiali@magiclizi.com>
Review fixes for the companions API:
- Allow from a plugin only when Cindy's own dialog shows the whole request.
Details carry allowHere; answer() refuses anything else with
ALLOW_IN_CINDY, and the confirmation no longer cuts the body at 1200
characters.
- reply and history walk the conversation back a page at a time
(readMirrorRowsBefore) instead of a fixed 400-row window, so a long run
of hidden tool rows no longer leaves them empty.
- view lists the requests of every live task of a teammate, not only the
task the roster picks to show.
Signed-off-by: xd-bobo <caojianbo@xd.com>
history({companionId, limit?}) returns the latest messages of the teammate's
main conversation, oldest first: the owner's messages and the teammate's
replies exactly as the chat shows them (the companion mirror's
mirrorMessageText projection), without tool steps, progress commentary,
thinking, sub-agent output or hidden inputs; nothing before the conversation
was cleared. Default 20, at most 50 messages, 2000 characters each; `more`
says older ones exist (open the conversation in Cindy for the rest).
Teammates on another computer are read from there through
COMPANION_LIVE_CHANNEL kind 'history'; a home that does not know it answers
INVALID_PARAMS and the viewer reports null.
The agent.companions permission text (12 locales), the author manual
§4.11.9 and the plugin rules now say it covers the recent conversation;
skills bundle 64.
Signed-off-by: xd-bobo <caojianbo@xd.com>
A plugin that shows the owner's teammates can now let the owner answer what
a teammate is waiting for in the plugin's own page, instead of only opening
the conversation in Cindy.
- interaction({companionId, interactionRef}) returns one pending request the
way its card shows it: a question with its options, the command / paths a
tool wants (redacted like on a phone), or the plan.
- answer(...) needs agent.targets as well. Answers, declines and plan
feedback take effect directly (they are the owner's words, like a
message). Allowing a tool or a plan opens Cindy's own native dialog with
the real request; the request is snapshotted before and re-read after, and
only that exact request is allowed. One dialog at a time.
- Cindy's own confirmations (host-owned, owner-only tools, desktop-only
confirmations, input handoff) are listed as kind "other" and stay in Cindy.
- Teammates on another computer are answered through that computer's
existing maker:get-pending-interactions / maker:resolve-interaction, so its
own origin gate applies; no new device-link channel.
- interactions[].kind is normalized to question / permission / plan / other.
- Docs: author manual §4.11.9, plugin security rule (product decision
2026-11-03), implementation and compatibility notes; permission text in
12 locales; skills bundle 63.
Signed-off-by: xd-bobo <caojianbo@xd.com>
Adds agent.companions, one independent plugin permission for reading the
owner's teammates from a desktop logic page:
- list: every teammate of the account, including those whose home is another
computer (read from that computer over device-link), with the sidebar's
status, the public working phase, the titles of requests waiting for the
owner and the time of the latest reply; offline homes show as offline
- reply: the text of the latest visible reply (the end of a run)
- open: show the conversation, or the task holding a request, in Cindy;
requests are always handled in Cindy's own cards
- watch/unwatch: content-free change notices, at most once a second
The home computer answers maker:companion-live:read with the same view;
older homes fall back to the released teammate list. Approval follows the
observe capability (install consent, first-use prompt, detail page retry),
with 12-locale wording, author reference 4.11.9 and rule docs updated.
Signed-off-by: xd-bobo <caojianbo@xd.com>
Also: the task page stops offering live screens when the computer goes
offline, instead of keeping the last list until it is back.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Live screen keeps its own settings and floating panel beside main's fold
desktop skin and keyboard deck; built-in Skills bundle 63 for the
plugin-creator liveScreen references.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
ghost_forge_guide({section:"pages"}) now returns the built-in PAGE-GENERATION.md in full, so the page manual always matches the running client. The loader example drops its bundled copy and its show_page description points at the host entry instead.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Replace the hard-coded "let a plugin choose" row with a generic wire. A plugin
declares models in its manifest and publishes the list at runtime; the picker lists
what was published, with the plugin's own text, and never calls the plugin to open.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Address review feedback on #8261:
- plugin-security-and-authoring, browser-use: the "my browser" notes said
password, payment and one-time-code fields are readable and fillable, which
read as contradicting the input-handoff boundary. State that the extension
does not block by field type, but values the owner enters through ask_owner
still go only to the host and never into the model, and that task
permission tiers and automatic review do not replace that boundary.
- simulator-debugging: the side-by-side test build recipe omitted
CINDY_USE_LOCAL_REGION_CONFIG=1, without which app.config.js ignores the
temporary self-host-regions.json and silently keeps the built-in bundle ID.
Add the switch, say which variables only change the display name, require
checking the built bundle ID before install, and name the two entitlements
to remove.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Decisions and debugging knowledge that only lived in one person's agent
memory now live where every contributor and agent reads them:
- environment-setup: keep git auto-maintenance in the foreground for
multi-worktree partial clones (git 2.54 loses the maintenance lock)
- simulator-debugging: evidence-first physical-iPhone debugging and the
side-by-side test build parameters
- remote-desktop: zero frames from ScreenCaptureKit means check replayd
- model-catalog-maintenance: Cindy AI name suffixes, AI Gateway repos
- design-decision-log: extra model cost display (10-30), remote desktop
resolution tiers with effect words (10-06)
- core-product-principles: transient failures recover automatically,
background status hints stay light and never reflow lists
- engineering-conventions: name Chinese variants by script, not region
- REVIEW.md: do not demand mechanisms for rare benign edges
- configuration-and-overrides: four tiers for settings visibility
- protocol-compatibility: manual continuation of interrupted scheduled
runs; X delete keeps the mention requirement
- plugin-security-and-authoring: "my browser" capability parity, user
non-interference baseline, on-demand debugger permission, page badge
- new docs/dev-rules/browser-use.md: shared-layer optimizations, no
capability limits with risk handled by approval, external link handoff,
recipe catalog maintenance
- new docs/product-rules/mail-card.md: mail card editing, sending,
reading, read marks, avatars and Google contacts scope
- system-skills README: bundled Skills stay repo-agnostic; pr triggers
only on explicit PR intent
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Copies used to expire a fixed 7 days after they were handed over, so a
page used every day broke on day 7. Expiry now slides: issuing a page
link, a page read and a successful upload.handoff renew the copy to
last use + 7 days. Renewal rewrites the metadata atomically at most once
an hour per copy and is skipped silently during a delete or a source
change or once the copy is gone. Listing in settings, opening the folder,
sweeps and relocation do not count as use.
The settings description and the Ask card now say copies are deleted
after 7 days without use; the author guide and plugin-security note that
cindy_handoff_files[].expiresAt moves on use.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Adds the will-start-task control point and a "Let a plugin choose" row in
the new-task model picker. Before the first message of a local new task,
Cindy asks the chosen plugin once and creates the task on the returned
agent, model and effort. Later messages and teammate tasks are never asked,
so a running task keeps its model and its prompt cache.
- only this point accepts the route verdict; the gateway keeps agentKind,
model, providerId and effort, and Main checks them against connected models
- an invalid effort is dropped; a timeout, error or unusable model keeps the
user's selection and never stops the send
- the choice is remembered for new tasks and cleared by picking a model
manually; the routed model does not change the draft default
- a one-line note under the first message says what was chosen, on Desktop
and Mobile; history projection does not count it as a reply
- not offered for remote computers, SSH hosts or collaboration drafts
Also adds the new schedule columns to the storage test schema and refreshes
the design inventory.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
A source change checked for handoff holds once and then awaited plugin
disposal, so a call could still hold the instance and store copies
before the move. The relocation now blocks new holds before the idle
check and until it finishes; a call arriving then fails without storing
anything.
upload.handoff read the copy to EOF. With the copy folder now visible in
Finder / Explorer, a file grown after opening could make main allocate
past the upload limits. The store reads at most the stored size with the
existing bounded read helper and refuses a copy that grew or shrank.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>
Plugin control points no longer screen every automation and routine once a
plugin is installed. A task now opts in from its pre-run check (Script or
Plugin) and stores preRunPlugin { pluginId, onFailure }. Only that plugin is
asked; an unavailable, silent or fused plugin follows the task's failure
setting (default: stop and mark as failed, like script checks).
- schedules gain pre_run_plugin_id / pre_run_plugin_on_failure (0140,
idempotent companion); routines and companion sync carry the field, and
routines from another computer arrive turned off
- saving resolves a newly chosen plugin to its instance id and rejects
unusable ones; unchanged choices are not re-validated
- automation and routine editors get the Script / Plugin choice; the plugin
detail page now only lists supported checks
- cindy_scheduler create/update and routine_save accept preRunPlugin
(local computer only)
- removes the per-plugin global failure preference
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Plugins can declare will-schedule-run / will-routine-run in subscribe.hooks.
Cindy asks them before an automation or teammate routine starts (no Agent
turn); plugins may allow, skip, or block but never approve on the user's
behalf. Failure handling is chosen by the user per plugin and point.
Points only take effect after the user saw them in install/update consent
(receipt approvedControlPoints). Plugins query the catalog at runtime via
host-request control-points, so new plugins need no Cindy release.
Also strips bypassGhostHooks from device-link queued input.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Copies used to sit as <uuid>/blob next to meta.json, which nobody can
recognize in Finder or Explorer. Each copy is now stored under its
cleaned original name (64 characters at most with the extension kept,
no reserved characters, trailing dots or Windows device names), with the
metadata in a hidden .cindy-handoff.json. The plugin detail section gets
an "Open in Finder / File Explorer" button next to refresh; main returns
the instance folder through a local read-only IPC, and the button stays
disabled until a copy exists.
Signed-off-by: fmfsaisai <fmfsaisai@gmail.com>