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>
Decided 2026-10-28 after a paired run on a real install: the same deepseek
passages reasoned three to five times longer through Codex than through
Pi, whose tool surface stays small however many plugins are installed.
Each auxiliary-chain candidate is tried on Pi first, then on the harness
the chain named; light efforts before defaults as before.
Skills bundle bumped past main (22 -> 23) for the reference doc change.
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* feat(plugins): single plugin model field and hidden background tasks
Merge the per-ability "Cindy abilities" pickers and the separate task
settings card on the plugin detail page into one "Model & tasks" card
with a single model field. The field defaults to the system auxiliary
model for quick answers (new tasks keep following the originating task)
and, once set explicitly, drives both quick answers and the tasks the
plugin creates. Legacy per-ability quick-answer catalog pins are migrated
once into the plugin task config; media/embedding overrides are dropped
in favour of the system defaults. The stray model tooltip over the row
label is fixed by giving the label its own column.
Add plugin background tasks: plugins declaring `agent.hiddenTasks`
(with `agent.tasks`) can create tasks with `hidden: true` and toggle
them with `tasks.setHidden`. Hidden tasks get `sessions.hidden_at`
(migration 0126) and are excluded from the task list, search, unfinished
hints, notifications and the Agent Island on Desktop and phone; the
plugin detail page lists them under "Background Tasks" where the user
can open them or show them in the task list, and uninstalling reveals
them first.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>
* fix(plugins): pin explicit provider, reveal all hidden tasks on uninstall, filter stale list responses
Review follow-ups for #6073:
- Quick answers never switch to another provider's same-named model when
the user pinned a provider; only a route on that provider is accepted.
- Uninstall reveals every background task in batches instead of only the
first display page, and fails loudly if a reveal does not take effect.
- The renderer remembers hidden task ids so an in-flight task-list
response (or a local prepend) cannot re-add a task hidden moments ago.
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>
---------
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com>