Commit Graph

48 Commits

Author SHA1 Message Date
Chris
d7c0187cd6 docs(plugins): document plugin-default model negotiation
Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-15 21:03:24 +08:00
Chris Zhang
97cf41273d fix(pi): preserve per-message plan mode through dispatch (#6074)
* fix(pi): preserve per-message plan mode through dispatch

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(pi): retain plan intent until prompt acceptance

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(pi): prepare plan mode before managed package mutations

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(pi): keep startup usable without plan extension

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(pi): enforce live execution plan state for Forge writes

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(pi): recover unknown plan state before dispatch

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Signed-off-by: Lizi <jiali@magiclizi.com>

* fix(pi): guard plugin dispatch with live plan state

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.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>
2026-10-15 20:30:11 +08:00
Chris Zhang
226c83d31a feat(plugins): 插件单一模型字段与后台隐藏任务 (#6073)
* 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>
2026-10-15 19:44:08 +08:00
Chris Zhang
44f78204d5 fix(desktop): unify ordinary session opening and plugin model controls (#5333)
* fix(desktop): unify ordinary session creation for plugins and teammates

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(desktop): preserve accepted plugin route across model changes

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* fix(desktop): preserve pending task selections and optional effort

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

* test(desktop): align plugin authority fixtures with shared preferences

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>

---------

Signed-off-by: Chris <4436110+zqchris@users.noreply.github.com>
Co-authored-by: Chris <4436110+zqchris@users.noreply.github.com>
2026-10-01 19:40:55 +08:00
Dash
9127feef4b merge: sync parent Plan and Memory permission fixes
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 15:58:52 +13:00
Dash
63319e8337 fix(plugins): guard memory access and Plan permission commits
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 15:50:43 +13:00
Dash
8013b27c1d fix(plugins): sync permission commits and bound native Auto contract
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 15:14:57 +13:00
Dash
59af390ce9 fix(plugins): serialize complete task permission changes
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 15:09:46 +13:00
Dash
2f7215b807 Merge published parent account data access fixes
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 09:08:43 +13:00
Dash
0a774f10bb fix(plugins): restrict account data and reject worker full access
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 08:59:39 +13:00
Dash
caea0d02e6 fix(plugins): resolve delegated directories before final authorization
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 07:25:35 +13:00
Dash
d7769dd5ac merge: sync final Worker authority checks from plugin runtime
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 06:50:29 +13:00
Dash
68be7616ba fix: retain plugin authority through Worker acceptance and controls
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 06:41:14 +13:00
Dash
5ac3fd7e37 merge: 同步插件派发前失败结算修复
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 06:06:15 +13:00
Dash
dd90bed2c6 fix(plugin): 将派发前拒绝结算为确定失败
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 05:47:17 +13:00
Dash
f30fa8ca53 merge: 同步父任务运行时的撤权历史边界修复
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 05:21:48 +13:00
Dash
dbb9a4317e fix(plugin): 保持撤权后在途任务的历史读取边界
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 05:12:59 +13:00
Dash
66b726e51c merge: sync plugin Worker input and completion fixes
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 04:35:33 +13:00
Dash
5226c61f62 fix(plugins): validate Worker input authority and completion evidence
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 04:24:43 +13:00
Dash
5d5c21c625 Merge published task acceptance fix into delegated Auto
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 03:20:42 +13:00
Dash
58f3c08988 fix(plugin-tasks): recheck Worker provenance at input acceptance
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 03:11:24 +13:00
Dash
4e8d933699 Merge plugin runtime creation provenance fix into delegated Auto
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 02:47:58 +13:00
Dash
a93b5881b6 fix(plugins): preserve worker creation ownership across waits
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 02:33:17 +13:00
Dash
c0488f4097 fix(plugins): 同步任务恢复边界并拒绝缺失委派范围的自动授权
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 01:31:12 +13:00
Dash
62117f4179 fix(plugins): restrict task access to account history
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 01:13:38 +13:00
Dash
14c48a8a1d fix(plugins): recheck admission through team activation
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 00:54:51 +13:00
Dash
aa02a2f781 fix(plugins): allow retry after unstarted task creation
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-10-01 00:22:46 +13:00
Dash
38c54351f4 fix: 核验非 Auto 可信 MCP 快捷授权
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-30 23:54:37 +13:00
Dash
d6e1d3cb4c fix(plugins): review delegated scope before trusted MCP shortcuts
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-30 21:11:02 +13:00
Dash
1b473c06f1 fix(plugins): 复核委派授权投影的当前修订
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-30 17:44:28 +13:00
Dash
afe808e662 fix(plugin-auto): recheck authorization after projection reads
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-29 23:44:26 +13:00
Dash
29f26c1dfa fix(plugin-tasks): respect Plan Mode and order completion evidence
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-29 23:36:38 +13:00
Dash
2e96c90534 merge: sync published plugin task snapshot fixes
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-29 00:42:46 +13:00
Dash
62f515ce05 fix(plugins): stabilize task plan and runtime snapshots
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-29 00:07:14 +13:00
Dash
1163d34f17 merge: sync approved plugin uninstall ownership and preserve Auto gates
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-28 23:55:02 +13:00
Dash
7880566e77 fix(plugin): revoke task ownership on uninstall and refresh run receipts
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-28 23:46:02 +13:00
Dash
df8c0c4542 fix(auto): 标记旧触发文本恢复来源未验证
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-28 08:35:14 +13:00
Dash
2e75d83fd6 fix: preserve revocations across synthetic history and bound task plans
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:30:31 +13:00
Dash
d6891acc15 fix(plugins): preserve human resource boundaries in delegated review
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:30:30 +13:00
Dash
90e7639989 fix(plugins): freeze delegated scopes and retain input authorship
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:30:29 +13:00
Dash
3c57eaec7a fix(plugins): 传递宿主核验的委派 Auto 授权上下文
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:30:29 +13:00
Dash
068405c56b fix(plugins): validate durable state before permission commits
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:36 +13:00
Dash
d056ec7071 fix(plugins): fence initial plans and remember task write consent refusals
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:22 +13:00
Dash
2addd2af22 fix(plugins): verify configured directory before ordinary task creation
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:21 +13:00
Dash
c32063dd0c fix(plugins): preserve legacy task declarations and order receipt pages
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:21 +13:00
Dash
a66b0b1bd6 fix: suppress repeated task consent and reject archived team starts
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:21 +13:00
Dash
860b0809e7 fix(plugins): 统一任务终态凭据与协同准入复核
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:19 +13:00
Dash
e9c277c558 feat(plugins): 复用普通任务与协同生命周期接口
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-09-27 21:20:19 +13:00