Commit Graph

9 Commits

Author SHA1 Message Date
liugaowei
374bfeca5d merge: 同步插件公共入口与主干宿主装配
合入 209212431e,保留凭证复用和现有风险守卫;Node 平台 provider 与插件共用,Skill 迁移到记录制版本 113。

Signed-off-by: liugaowei <liugaowei@xd.com>
2026-11-12 10:29:34 +08:00
Dash
dc32b12ade fix(host): preserve desktop startup and close handoff review gaps
Keep platform imports and Electron monitor access at the original desktop lifecycle points. Preserve extension wake failures and settle stale-owner relays. Keep sidebar operations at their canonical source path.

Bind native session cleanup to its executing client, close platform transports before runtime shutdown, and route trusted browser settings to the Host executor.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:49:47 +13:00
Dash
6e11d2dc35 feat(host): separate background lifecycle and desktop platform execution
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:14:03 +13:00
liugaowei
a7f5289e84 feat(host): 接入插件公共宿主工具与客户端确认
Node Host 复用同一 helper registry、终端服务和调用授权,首次能力批准保存在既有 receipt。确认按客户端协商并绑定真实控制窗口,取消与断线不进入任务事件回放。

Signed-off-by: liugaowei <liugaowei@xd.com>
2026-11-11 18:23:29 +08:00
Dash
3eb486ea64 feat(host): normalize local attachments through shared queue services
Bind media ingestion and rollback to the originating account. Reuse queued attachment ownership for edits, persistence, and cancellation; keep shared blob bytes until the Host recycler is connected. Separate owner-runtime temporary roots with a shared process liveness identity.

Validate queue and native Codex image/file delivery with isolated files and SQLite. Remote attachment transport remains explicitly unsupported; desktop production code is unchanged.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 21:51:02 +13:00
Dash
b75adc4b38 refactor(host): route task sends through the shared transaction
Preserve desktop dispatch behavior, input settings and the existing authorization boundary. Bind refreshed runtimes to the current input and durably mark Host turns before provider startup.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 15:30:11 +13:00
Dash
0494c9235d fix(host): embed raw package assets and expose startup readiness
Validate the standalone artifact outside the checkout and record isolated trial limits.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 13:36:05 +13:00
Dash
b465adf684 refactor(host): share scheduler services without changing desktop ownership
Keep scheduler business modules at their original paths and inject desktop
services through explicit assemblies. Reuse scheduler queue admission and
accepted callback handling in the Host durable queue, including Stop races.
Exercise script execution, capability denial and restart persistence with
an isolated SQLite integration fixture. Preserve the six remaining shared
module paths so upstream changes continue to land in the common bodies.

Full Host startup wiring, companion/IM ownership and Linux credential
deployment remain pending and are recorded in the implementation plan.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 12:38:03 +13:00
Dash
2c230ea21f WIP: share headless runtime services with desktop adapters
Preserve the implemented task, Device Link, plugin and model runtime work locally before integrating main. Full multi-client, automation and platform acceptance remains incomplete.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 11:11:41 +13:00