LegGasai
f0bc702c5a
Merge branch 'feat/session-workspace-root' into feat/session-workspace-root-consumers
...
# Conflicts:
# apps/desktop-host/tests/file-drag.spec.ts
# docs/capability-seams.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/module-graph.md
# docs/module-graph.zh.md
# docs/persistence-catalog.i18n.yaml
# docs/persistence-catalog.md
# docs/persistence-catalog.zh.md
# docs/persistence-schema.json
# docs/subsystems/worktrees.i18n.yaml
# packages/api/session-controller/tests/session-skills.host.spec.ts
# packages/api/workspace-files/tests/scope.spec.ts
# packages/client/tsdown.client.ts
# packages/deliverables/workspace-changes/tests/git.spec.ts
# packages/experimental/client-ui-forge/README.i18n.yaml
# packages/experimental/worktree/README.i18n.yaml
# packages/experimental/worktree/src/index.ts
# packages/sandbox/sandbox-policy/package.json
# packages/session/working-directory/package.json
# packages/test-support/agent-loop-testkit/tests/agent-loop-testkit.spec.ts
# pnpm-lock.yaml
2026-11-13 13:30:22 +08:00
imccyu
71753fdf91
refactor(connection): add connection auth provider for remote connection ( #8266 )
...
* refactor(connection): extract peer authentication providers
* test(connection): cover provider lifecycle and satisfy package gates
* fix(packaging): publish authentication provider locale resources
* test(auth): use runtime login output and cover gateway admission
* fix(auth): preserve Worker requests and migrate Desktop fixtures
* refactor(auth): centralize route admission with required policy
* fix(release): align authentication providers with rc.2
* refactor(connection): keep peer lookup and source policy private
* test(gateway): cover centralized upgrade rejections
* fix(ci): authenticate homepage compression probe
* refactor(auth): let Token own API socket lifecycle
* fix(auth): prevent caching admission refusals and clarify ownership
* refactor(web): collect provider entry URLs after readiness
* refactor(webserver): name the shared entry URL event
* refactor(connection): provide authentication as a nested service
* fix(web-app): restore startup publication defaults
* fix(auth): scope web events and preserve callback flows
* docs(auth): record the implemented provider architecture
* fix(auth): require owner access for administrative routes
2026-11-12 23:14:32 +08:00
LegGasai
e7a1c26e04
Merge branch 'feat/session-workspace-root' into feat/session-workspace-root-consumers
...
# Conflicts:
# apps/desktop-host/package.json
# docs/capability-seams.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/subsystems/sandbox.md
# docs/subsystems/sandbox.zh.md
# packages/api/terminal-controller/README.i18n.yaml
# packages/api/terminal-controller/README.md
# packages/api/terminal-controller/README.zh.md
# packages/api/terminal-controller/src/index.ts
# packages/client/tsdown.client.ts
# packages/client/ui-open-in-app/src/client/index.ts
# packages/client/ui-open-in-app/src/client/session-reveal.tsx
# packages/experimental/client-ui-forge/README.i18n.yaml
# packages/experimental/client-ui-forge/README.md
# packages/experimental/client-ui-forge/README.zh.md
# packages/experimental/worktree/src/index.ts
# packages/extensions/tool-cordis/src/api-catalog.ts
# packages/sandbox/sandbox-local/README.i18n.yaml
# packages/sandbox/sandbox-local/README.md
# packages/sandbox/sandbox-local/README.zh.md
# packages/sandbox/sandbox-local/src/index.ts
# packages/sandbox/sandbox-local/tests/local.spec.ts
# packages/sandbox/sandbox-policy/README.i18n.yaml
# packages/sandbox/sandbox-policy/README.md
# packages/sandbox/sandbox-policy/README.zh.md
# packages/sandbox/sandbox-policy/src/index.ts
# packages/sandbox/sandbox/README.i18n.yaml
# packages/sandbox/sandbox/README.md
# packages/sandbox/sandbox/README.zh.md
# packages/sandbox/sandbox/tests/roots.spec.ts
# pnpm-lock.yaml
2026-11-05 20:34:00 +08:00
yudshj
ca3ad0cc85
fix(office): 按 review 意见同步文档事实、Office 行兜底、拒绝用例结构与主运行时默认值归属
...
- Native Office 工具 Agent Note:移除已删除的 `/locate` 子路径、把「PDF 页数」改为转换器报告的页数、补全输出文件删除条件、把「工具不可用」统一为「不在工具列表中」,中英文与配对哈希同步。
- skill-office / tool-office README:Progressive loading 与 unavailable 提示摘要按实际行为描述,重录 i18n 哈希。
- Office 行:结果只含图片块时不再回退到扁平化输出(避免向用户显示附件引用 JSON),用例随之改为断言没有输出区。
- tool-office 用例:参数拒绝与路径拒绝拆成两组,用 resolve 调用次数显式表达「是否碰文件系统」。
- office-docx / office-xlsx:去掉引导语会让模型把「只做内容检查」误读成「需要渲染」,并刷新内嵌技能正文的 office 快照。
- visual-intent 夹具:用具名 intent 常量代替下标引用。
- Desktop:主运行时「运行时目录旁」的布局假设只保留在 Host 侧,壳传空参数表示使用默认,行为不变。
2026-11-04 18:18:03 +08:00
yudshj
e90954631e
refactor(desktop): primaryRuntime 保持 Host argv 传入,由 desktop-host 写入 DSH_PRIMARY_RUNTIME,不再升级 Host 协议版本
...
- main.ts / host-process.ts / host-protocol.ts 恢复 master 的 argv 布局与协议版本 4
- desktop-host 在环境快照和 profile 求值前把 argv[4] 写入 DSH_PRIMARY_RUNTIME
- 相关测试、smoke 脚本与 fixture 恢复按构造参数传入 primaryRuntime
- 删除 README 与升级指南中「内置终端继承 DSH_PRIMARY_RUNTIME」的不实说明(子进程会清除 DSH_* 变量)
2026-11-04 18:18:02 +08:00
yudshj
498d436db5
fix(office): 技能文件缺失时不再阻止 Desktop Host 启动,Office 改由 Desktop profile 挂载
...
- skill-office 在技能文件缺失或元数据解析失败时降级为持久失败,不再阻止 Desktop Host 启动
- Office 改由 Desktop profile 的 yaml 挂载,载体路径由 Desktop 壳通过 Host 环境传入
- 升级 LibreOffice Kit 到 rc.4,移除 Desktop Host 的引擎钩子,runtimeArchivePath 内联到 cli.ts 并删除 office-engine.ts
- 按平台原生路径和当前 Host 参数布局更新 web-app 与 desktop-host 测试夹具
2026-11-04 18:17:57 +08:00
LegGasai
bb078f4e2b
fix(workspace-files): expose the Session scope as a service method and repair the consumer gates
...
ui-deliverables and the desktop host resolve a Session's workspace file
scope through workspaceFiles.scopeOf instead of a cross-package value
import, which the dependency policy refuses for a client-host package; the
two type-only peers of workspace-files become devDependencies. The
sidebar-files fixture builds a complete SessionListState instead of an
unknown assertion, and the testkit directory fixture reports no anchor for
a Session without a recorded directory, so the sandbox policy falls back to
its configured root as the real service does.
2026-11-04 15:59:59 +08:00
LegGasai
b6aa7b437c
feat(working-directory): route sandbox, file views, and discovery through the Session workspace root
...
Every consumer that describes the project to the user or draws the write
boundary reads rootOf(session) instead of the header directory: the sandbox
workspace-write policy, the workspace file service and desktop file drag, the
change recorder, the client Files tree, deliverables, open-in-app actions and
Session rows, new sidebar terminals, @ file candidates, the skill catalog,
project-instruction discovery, and the LSP workspace. The model's relative
paths keep resolving from the current directory.
The sandbox policy derives a linked checkout's Git administration directory
and common directory from its .git pointer and grants them as extra writable
roots; tool executions wait for that derivation through prepare(), and
Session creation and directory changes start it early. Windows ACL
confinement grants each extra root a standing ACE through a repeatable
--writable runner argument instead of refusing the policy.
Refs #2658
2026-11-03 18:49:34 +08:00
winewill
36dce6b596
fix(desktop): preserve operation identity and bound diagnostic shutdown
2026-10-23 14:36:04 +08:00
winewill
0c828117f8
fix(desktop): prioritize startup evidence in bounded reports
2026-10-23 13:39:57 +08:00
winewill
77ee0be32d
fix(desktop): align diagnostic limits and recovery copy
2026-10-23 13:26:09 +08:00
winewill
cda5c51b4f
merge: reconcile desktop diagnostics with master
2026-10-22 18:47:16 +08:00
zhc
a0b45086da
Merge master into fix/image-drag-plugin-ownership
...
保留文本交互和文件拖放注入,合并依赖及生成目录。
2026-10-21 21:22:17 +08:00
imccyu
09899f3a0f
feat(remote-access): 插件注册跟随访问状态(whenAccess),index 按 Peer 注入访问快照
...
- remote-access 新增 whenAccess / whenResourceAccess,ui-session、ui-workspace 各自提供 whenAccess
- schedule、plugin-manager、settings-general、settings-account、directory-picker-native 的入口包进 global whenAccess;消息反馈按钮按会话 useAccess 渲染
- webserver/index-inject 带 Peer,renderIndex / collectIndexInjections 需要 Peer,remote-access 注入 snapshotFor(peer.principal)
- client-test-runtime 新增 StaticRemoteAccess、staticAccessPlugin 与 TestClientOptions.access
- implemented Agent Note 2026-10-21-when-access 与升级指南 webserver-index-peer
Refs #2940
2026-10-21 17:57:51 +08:00
zhc
7c27a4aaf9
fix(file-drag): 补齐准备取消与文件名保真处理
2026-10-20 18:25:11 +08:00
zhc
9676ff7724
fix(file-drag): generalize transfers and address lifecycle review
2026-10-20 17:45:09 +08:00
winewill
0596c66fbe
fix(desktop): correlate Host failures with operation run identities
2026-10-19 17:47:54 +08:00
winewill
dfbe5d8da3
feat(desktop): retain bounded plugin operation diagnostics
2026-10-19 17:35:18 +08:00
Turtle
23fb3eadd1
test(desktop): cover a handle left open after Host teardown
...
Drive the built Host through the update handoff with a handle opened on
shutdown, and state why the exit skips startup failures.
2026-10-18 14:58:17 +08:00
Turtle
6252a29a20
fix(desktop-host): exit after acknowledged teardown
...
A handle left open after the application tree disposed kept the Host alive
until the shell's SIGTERM at the 10 s graceful deadline, so the update
handoff refused installation even though teardown had completed.
Refs #5492
2026-10-18 14:42:36 +08:00
winewill
c6d01dcac0
feat(desktop): enrich startup crash diagnostics and reveal reports
...
Refs #4540 . Capture startup state before disposal and make crash reports retrievable from native recovery.
2026-10-16 15:49:24 +08:00
yudshj
dc9119c00b
Merge remote-tracking branch 'origin/master' into pr6096-merge
...
# Conflicts:
# packages/skill/skill-office/package.json
2026-10-15 12:04:01 +08:00
lsdsjy
6514255930
Merge origin/master into fix/bonus-notice-onboarding
2026-10-14 11:20:42 +08:00
yudshj
f12fa3bad1
fix(office): keep render replies and PDF checks within available files
...
- office-render: report inspection results in text and never link or embed
removed previews. Desktop and Web replies otherwise embed deleted preview
images, because their file-reference guidance encourages inline images.
- office-export-pdf: validate with the command result, nonempty output, and
%PDF- signature; do not search for PDF readers unless the user requests
deeper checks. The bundled runtime has none, so the old conditional made
the model probe system Python and command-line tools.
- Assert that the PDF export e2e does not probe PDF reader tools.
- Replace stale "structural checks" wording in the Desktop Office plugin
JSDoc and the skill package description.
2026-10-13 13:55:17 +08:00
kingwl
db5c4aaab9
Merge master and resolve integration conflicts for #5523
2026-10-09 16:12:44 +08:00
Yichen Yan
ac080346f0
Support native HTTPS Web listeners
2026-10-08 19:49:01 +08:00
Yichen Yan and liukx0205
cb9a590c86
Support concrete Web listener bind addresses
...
Co-authored-by: liukx0205 <[email protected] >
2026-10-08 18:25:43 +08:00
kingwl
e2e3211303
Merge master and resolve integration conflicts for #5523
2026-10-08 11:42:09 +08:00
imccyu
a59beb8ae3
fix(hmr): preserve manifest refresh with Office resolution
2026-10-02 13:55:54 +08:00
Turtle
ecd9bf9273
fix(desktop): listen on an OS-assigned port by default
...
The fixed 19387 listener fails when Windows (Hyper-V/WinNAT) reserves a dynamic
port range covering it, even though no process uses the port. Electron already
reads the bound port from the Host's ready message.
2026-09-30 21:04:32 +08:00
kingwl
18f00612c6
fix(desktop): use shared pnpm in the installed CLI
2026-09-30 19:39:54 +08:00
lsdsjy
9e1df327ae
fix(account): 延后赠金通知并隔离身份补齐通知
2026-09-30 14:54:05 +08:00
Tianyi Cui
0e5ab65758
fix(desktop): simplify bundled CLI and manage Desktop plugins
2026-09-29 13:15:00 +08:00
Tianyi Cui
e21ed97f29
fix(desktop): deliver Windows console signals to CLI handlers
2026-09-29 12:54:53 +08:00
Tianyi Cui
d1e05324ea
fix(desktop): bind CLI admission to the current installation
2026-09-29 12:54:53 +08:00
Tianyi Cui
5f99386fa8
feat(desktop): add bundled CLI launch and installation guards
2026-09-29 12:54:52 +08:00
turtle1999
0a1d102ef0
Merge remote-tracking branch 'origin/master' into fix/profile-bundle-skip-once
...
# Conflicts:
# packages/boot/app-boot/README.i18n.yaml
2026-09-24 18:44:35 +08:00
turtle1999
c8b10a16be
fix(boot): report skipped profile bundles once per start
...
loadProfileDirectory printed each skipped bundle on every call, and startup,
runtime resolution, the config editor, the plugin manager, and HMR all load
the profile, so one incompatible bundle printed the same warning six times at
startup and again on each Web page load. Loading now returns the skips in
Profile.skippedBundles, and the CLI and Desktop launchers print them once per
start with reportSkippedBundles.
2026-09-24 18:32:48 +08:00
winewill
4745934683
feat(desktop): hide the window on close and confirm interruptible quits
...
Closing the main window hides it on macOS and Windows; the page and the
Host keep running and the next show resumes the same document. Windows
gets a permanent tray icon (open / quit) and a one-time notification the
first time the window is hidden after installation.
Every ordinary quit entry asks the Host over a new quit-inspection IPC
request for active tasks (same rule as the update restart check) and
armed scheduled reminders (schedule family of workspace/session-activity
for loaded sessions). Nothing to interrupt quits silently; otherwise a
native message box explains what stops, with Quit as the default and
Cancel on Esc. Inspection failure or a missed two-second deadline counts
as running tasks. The installer restart, fatal recovery, the development
restart command, and OS session end skip the confirmation.
Also: defer the downloaded-update confirmation while the window is hidden,
render the tray ICO from the vector icon, and point the installer's
running-application message at the tray.
Closes #4013
2026-09-24 14:24:39 +08:00
Yudong Han
5e25475857
fix(office): use bundled LibreOffice Kit 0.1.0 CLI across deployments ( #4902 )
...
* chore(office): upgrade libreoffice kit to 0.0.1-2
* fix(office): guide bounded CLI rendering and preview reuse
* chore(office): consume published LibreOffice Kit 0.0.3
* test(office): mock the complete LibreOffice converter interface
* chore(office): upgrade LibreOffice Kit to 0.0.4
* fix(office): expose bundled LibreOffice Kit 0.1.0 CLI across deployments
* fix(office): inspect Excel visuals only for layout tasks
* fix(office): allow compatible LibreOffice Kit 0.1 updates
* fix(office): stop Excel QA on blank previews and run regressions in CI
* fix(office): end workbook visual QA after an empty preview
2026-09-23 08:32:15 +00:00
winewill
7b2094d04d
fix(desktop): keep the Host's original diagnostic in startup crash reports
...
A Host startup failure reached the crash report as a fresh Error built from
a message string three hops away from the original: the Host sent only
error.message over the fatal IPC event, DesktopHostProcess wrapped it in a
new Error, desktopErrorState flattened it to text, and main.ts wrapped that
text again. Stack, cause, code, and path were gone, and the Host's stderr
tail arriving with the later exit was blocked by the first-failure latch.
The Host now sends its complete inspected error alongside the message
(bounded to 64 KiB; carried over IPC rather than stderr because the two
race and the shell reports the first failure it sees). DesktopHostProcess
keeps it on DesktopHostFatalError.diagnostic, the backend error state
carries the original failure object, main.ts reports that object, and the
crash report prints the Host diagnostic verbatim in its own section.
2026-09-22 17:31:17 +08:00
lsdsjy
d5db0ff0c4
merge: sync master into desktop welcome branch
2026-09-21 19:53:28 +08:00
lsdsjy
44b15a3377
fix(desktop,credentials): address sign-in review regressions
2026-09-21 19:39:42 +08:00
07akioni
e0b5ab5ebd
Merge master into PR #4553 and resolve runtime helper import
2026-09-21 13:39:09 +08:00
Yichen Jiang
61719629fc
Merge remote-tracking branch 'origin/master' into worktree/process-plugin-streaming-72f9b3
...
# Conflicts:
# apps/web/tests/expected/agent-preset-selection/header.expected.md
# docs/architecture.i18n.yaml
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/event-producer-consumer.i18n.yaml
# docs/event-producer-consumer.md
# docs/event-producer-consumer.zh.md
# docs/module-graph.i18n.yaml
# docs/module-graph.md
# docs/module-graph.zh.md
# docs/persistence-catalog.i18n.yaml
# docs/persistence-catalog.md
# docs/persistence-catalog.zh.md
# docs/persistence-schema.json
# docs/subsystems/web-client.i18n.yaml
# packages/api/README.i18n.yaml
# packages/api/README.md
# packages/api/README.zh.md
# packages/api/session-controller/README.i18n.yaml
# packages/api/session-controller/README.md
# packages/api/session-controller/README.zh.md
# packages/api/session-controller/src/client/sessions/manager.ts
# packages/api/session-controller/src/client/sessions/service.ts
# packages/api/session-controller/tests/manager.client.spec.ts
# packages/client/locale/tests/language-row.client.spec.tsx
# packages/client/ui-chat/tests/chat-view.client.spec.tsx
# packages/client/ui-chat/tests/transcript-view-row.client.spec.tsx
# packages/client/ui-conversation/tests/conversation-registry.client.spec.ts
# packages/client/ui-conversation/tests/enter-behavior-row.client.spec.tsx
# packages/client/ui-conversation/tests/input-bar.client.spec.tsx
# packages/client/ui-conversation/tests/input-matrix.client.spec.tsx
# packages/client/ui-conversation/tests/input-scenarios.client.spec.tsx
# packages/client/ui-conversation/tests/skeleton.client.spec.tsx
# packages/client/ui-deliverables/tests/deliverables.client.spec.tsx
# packages/client/ui-jobs/tests/job-list-action.client.spec.tsx
# packages/client/ui-layout/tests/app-frame.client.spec.tsx
# packages/client/ui-layout/tests/document-title.client.spec.tsx
# packages/client/ui-open-in-app/tests/open-in-app-action.client.spec.tsx
# packages/client/ui-primitives/README.i18n.yaml
# packages/client/ui-session/tests/ui-session.client.spec.ts
# packages/client/ui-settings-general/tests/settings-root.client.spec.tsx
# packages/client/ui-settings-unarchive-sessions/tests/components.client.spec.tsx
# packages/client/ui-subagent/README.i18n.yaml
# packages/client/ui-subagent/README.md
# packages/client/ui-subagent/README.zh.md
# packages/client/ui-subagent/src/client/SubagentHeaderLineage.tsx
# packages/client/ui-subagent/tests/conversation-ui.client.spec.tsx
# packages/client/ui-theme/tests/appearance-row.client.spec.tsx
# packages/client/ui-theme/tests/font-size-row.client.spec.tsx
# packages/client/ui-tool/tests/coverage-tails.client.spec.tsx
# packages/client/ui-tool/tests/diff-card.client.spec.tsx
# packages/client/ui-tool/tests/image-card.client.spec.tsx
# packages/client/ui-tool/tests/read-card.client.spec.tsx
# packages/client/ui-tool/tests/terminal-card.client.spec.tsx
# packages/client/ui-trajectory/tests/views.client.spec.tsx
# packages/client/ui-user-questions/tests/plan-review-panel.client.spec.tsx
# packages/client/ui-user-questions/tests/user-questions-composer.client.spec.tsx
# packages/client/ui-workflow-run/tests/workflow-run.client.spec.tsx
# packages/client/ui-workspace/tests/apply.client.spec.ts
# packages/client/ui-workspace/tests/tree.client.spec.ts
# packages/client/ui-workspace/tests/workspace-browser.client.spec.tsx
# packages/client/ui-workspace/tests/workspace-picker.client.spec.tsx
# packages/client/ui-workspace/tests/workspaces-service.client.spec.ts
# packages/extensions/cordis-client-runner/src/client/slot-catalog.ts
# packages/jobs/tool-jobs/src/index.ts
# packages/shell/tool-bash/README.i18n.yaml
# packages/test-support/client-runtime/src/sessions.ts
2026-09-21 11:34:20 +08:00
fz
f25957d442
Merge remote-tracking branch 'origin/master' into feat/workspace-dependencies-package
2026-09-20 14:50:54 +08:00
07akioni
552bf8a869
Merge master into desktop Office ASAR fix
2026-09-20 14:00:04 +08:00
lsdsjy
c74c8bc471
Merge origin/master into feat/desktop-welcome-and-window-controls
2026-09-20 11:37:38 +08:00
lsdsjy
048297321a
feat(desktop,credentials,client): integrate DeepSeek account sign-in and Platform pages
2026-09-20 11:31:40 +08:00
imccyu
9fd0a5ad52
refactor(boot): keep runtime-only profile resolution
2026-09-19 13:29:13 +08:00