From 918d648b1ca8bd47df87a600517ecb746a4103c4 Mon Sep 17 00:00:00 2001 From: Duoasa Date: Mon, 19 Oct 2026 18:36:18 +0800 Subject: [PATCH] Prepare DeepViewer 0.7.1 arm64 release (DV-0035) --- README.md | 31 ++++++++--------- README.zh-CN.md | 31 ++++++++--------- apps/deepviewer-adapter/client/build-info.ts | 2 +- apps/deepviewer-adapter/package.json | 2 +- apps/deepviewer-desktop/package.json | 6 ++-- .../scripts/package-native.mjs | 2 +- .../test/development-workflow.test.ts | 2 +- docs/sdd/integrations/dsh-plugins.md | 2 +- docs/sdd/releases/v0.7.1.md | 33 +++++++++++++++++++ docs/sdd/specs/DV-0035-dsh-021-rc2/design.md | 4 +++ docs/sdd/specs/DV-0035-dsh-021-rc2/spec.md | 6 ++-- docs/sdd/specs/DV-0035-dsh-021-rc2/tasks.md | 5 ++- .../specs/DV-0035-dsh-021-rc2/verification.md | 11 ++++--- package.json | 2 +- 14 files changed, 92 insertions(+), 47 deletions(-) create mode 100644 docs/sdd/releases/v0.7.1.md diff --git a/README.md b/README.md index 0b05bba..fbfbf30 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@

- Download 0.5.1 (ARM64) + Download 0.7.1 (ARM64) · - What's new + What's new · Privacy & data · @@ -36,7 +36,7 @@ DeepViewer is an independent, open-source desktop agent workspace built on the pinned runtime into a macOS application with the native Electron DesktopHost, Work and Chat spaces, file delivery, a sidebar workbench, and a session map. The 0.5.0 source derives from Scoder 0.7.0 Build 43, restored to -DeepViewer's identity and independent data directories. Version 0.5.1 restores the earlier new-session animation and fixes the native macOS icon. +DeepViewer's identity and independent data directories. Version 0.7.1 upgrades the kernel and compatibility adapter while preserving the DeepViewer interface, including the idle animation and native icon restored in 0.5.1.

DeepViewer 0.3.3 delivering a generated image with an attachment card and sidebar preview @@ -46,20 +46,21 @@ DeepViewer's identity and independent data directories. Version 0.5.1 restores t > DeepViewer is a community project. It is not affiliated with or endorsed by DeepSeek. > [!IMPORTANT] -> The current release is **DeepViewer 0.5.1 / Build 91**, based on DeepSeek Harness `0.2.0-rc.2`, for **Apple Silicon arm64 only**. The freshly built DMG is Developer ID signed and Apple-notarized. Visual acceptance, real-account flows, and migrated sessions/settings/attachments remain separate manual checks. +> The current release is **DeepViewer 0.7.1 / Build 92**, based on DeepSeek Harness `0.2.1-rc.2`, for **Apple Silicon arm64 only**. The freshly built DMG is Developer ID signed and Apple-notarized. The maintainer has accepted the upgraded development interface; real-account flows, other interactions, and migrated sessions/settings/attachments retain separate manual checks. > [!TIP] -> The [0.5.1 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.1) provides a [SHA-256 checksum list](https://github.com/Duoasa/DeepViewer/releases/download/v0.5.1/SHA256SUMS.txt). Installed and development data use separate, version-independent directories; back up existing data before a major upgrade. The previous [0.5.0 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.0), historical [0.3.3 / Build 75 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.3.3), with its SHA-256 checksum, and [0.2.5 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.2.5-preview.1) remain available. +> The [0.7.1 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.7.1) provides a [SHA-256 checksum list](https://github.com/Duoasa/DeepViewer/releases/download/v0.7.1/SHA256SUMS.txt). Installed and development data use separate, version-independent directories; back up existing data before a major upgrade. The previous [0.5.1 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.1), historical [0.3.3 / Build 75 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.3.3), with its SHA-256 checksum, and [0.2.5 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.2.5-preview.1) remain available. > [!NOTE] -> All screenshots in this README are historical **0.3.3 / Build 75** references. They have not been replaced or used as evidence of the 0.5.1 interface or visual acceptance. +> All screenshots in this README are historical **0.3.3 / Build 75** references. They have not been replaced or used as evidence of the 0.7.1 interface or visual acceptance. -## What's new in 0.5.1 +## What's new in 0.7.1 -- Restore the previous release's new-session whale mark, cursor blink, spacing, text style, and centered idle layout while keeping the bottom composer resident and respecting reduced motion. -- Replace the full-bleed PNG Dock override with a native macOS icon compiled from the original whale vector. System-generated appearances, masks, transparent margins, and the legacy ICNS share one bundle identity. +- Upgrade DeepSeek Harness from `0.2.0-rc.2` to `0.2.1-rc.2` and Electron to `44.7.0`. +- Update the compatibility adapter to native session, draft persistence, plugin build, and update-channel interfaces. Preserve Work/Chat isolation, session history and search, Synapse, and the existing DeepViewer layout, fonts, icon, and idle animation. +- Fix bundled Python symlinks and pnpm layout so the packaged runtime works after relocation. Native dependencies, plugin installation, and Office conversion are covered by isolated runtime smoke checks. -See the [0.5.1 release record](docs/sdd/releases/v0.5.1.md) for build and package evidence. Actual new-session and Dock visual acceptance remains a manual check. +See the [0.7.1 release record](docs/sdd/releases/v0.7.1.md) for package verification and remaining manual checks. The maintainer accepted the upgraded development interface. Real-account and full interaction acceptance remain separate. ## The 0.5.0 migration from 0.3.3 @@ -108,13 +109,13 @@ Settings follow the desktop appearance, and the About page shows the app build a ## Install and data -1. Download [DeepViewer-0.5.1-arm64.dmg](https://github.com/Duoasa/DeepViewer/releases/download/v0.5.1/DeepViewer-0.5.1-arm64.dmg) and verify it against [SHA256SUMS.txt](https://github.com/Duoasa/DeepViewer/releases/download/v0.5.1/SHA256SUMS.txt) from the [0.5.1 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.1). +1. Download [DeepViewer-0.7.1-arm64.dmg](https://github.com/Duoasa/DeepViewer/releases/download/v0.7.1/DeepViewer-0.7.1-arm64.dmg) and verify it against [SHA256SUMS.txt](https://github.com/Duoasa/DeepViewer/releases/download/v0.7.1/SHA256SUMS.txt) from the [0.7.1 release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.7.1). 2. Open the DMG and copy `DeepViewer.app` to Applications. 3. Open the app and configure a provider or subscription. No global Node.js or Harness installation is needed. DeepViewer binds its local service to a random loopback port. Installed app data lives in `~/Library/Application Support/DeepViewer`; development app data lives in `~/Library/Application Support/DeepViewer Dev`. Replacing the application does not replace these directories. Legacy data is copied and verified before first-use cutover; migration backups are retained. Keep your own backup before a major upgrade. -The 0.5.1 Build 91 installer is freshly built, Developer ID signed, and Apple-notarized. The bounded smoke suite passed 121 tests; package audit, integrity, and runtime evidence are recorded in the [0.5.1 release record](docs/sdd/releases/v0.5.1.md). +The 0.7.1 Build 92 installer is freshly built, Developer ID signed, and Apple-notarized. The bounded smoke suite passed 121 tests; package audit, integrity, and runtime evidence are recorded in the [0.7.1 release record](docs/sdd/releases/v0.7.1.md). Office conversion may wait while scanning protected font directories in a real user profile; font permissions remain a manual check. This installer release does not publish the automatic-update feed. @@ -122,9 +123,9 @@ Office conversion may wait while scanning protected font directories in a real u | Component | Source and license | What DeepViewer changes | | --- | --- | --- | -| Core agent and native shell | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness), MIT, pinned to `639ed015397290b3745d163aafe02ffee4aa3f84` (`0.2.0-rc.2`) | Official Electron/DesktopHost with the [DeepViewer adapter](apps/deepviewer-adapter) and checked compatibility contracts. The agent loop remains upstream-owned. | +| Core agent and native shell | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness), MIT, pinned to `687f282e8625c6b8d11ff58211a90524be2e4317` (`0.2.1-rc.2`) | Official Electron/DesktopHost with the [DeepViewer adapter](apps/deepviewer-adapter) and checked compatibility contracts. The agent loop remains upstream-owned. | | Desktop source baseline | [Duoasa/scoder](https://github.com/Duoasa/scoder), `0.7.0 / Build 43`, pinned to `e277adc6ce512655095e6f65c63bdc72d24bae95`; original notices retained | Restore DeepViewer branding, package/update identities and data isolation, retain native features, and fix metadata-driven renderer replacement. Scoder's release history and user data are not imported. | -| Subscriptions and image tools | [V1ki/dsh-plugin-subscriptions](https://github.com/V1ki/dsh-plugin-subscriptions), MIT, `0.3.1` | Built-in DSH 0.2.0 compatibility module, scoped RPC/loopback checks, remaining-usage display, and image-generation status styling. | +| Subscriptions and image tools | [V1ki/dsh-plugin-subscriptions](https://github.com/V1ki/dsh-plugin-subscriptions), MIT, `0.3.1` | Built-in DSH 0.2.1 compatibility module, scoped RPC/loopback checks, remaining-usage display, and image-generation status styling. | | Sidebar provenance | [omdsh-dev/DSH-better-sidebar](https://github.com/omdsh-dev/DSH-better-sidebar), MIT | The standalone plugin is retired; Harness native panels take over the workbench. Attribution is retained for reused workflow code. | | Model capabilities | [DeepViewer model-capabilities module](apps/dsh-plugin-model-capabilities), MIT, `1.0.2` | Provider/model scanning and reasoning/multimodal configuration, replacing the old `dsh-plugin-reasoning` activation while preserving supported settings. | | Session map | [Vendored Synapse source](apps/deepviewer-adapter/workflows/vendor/synapse), with its original license and source record | Built-in session-map integration within the DeepViewer adapter. | @@ -146,7 +147,7 @@ pnpm desktop:dev `pnpm desktop:dev` builds and opens DeepViewer Dev using its separate profile. Use `pnpm desktop:dev:restart` to restart that project's development runner, or `pnpm desktop:build` to build without launching. Development builds increment the local build number. -Basic verification uses `pnpm typecheck` and `pnpm desktop:smoke`; native integration and adapter-contract checks are defined in the [CI workflow](.github/workflows/ci.yml). `pnpm desktop:preview` prepares a local preview. `pnpm desktop:release` prepares signed arm64 DMG/ZIP artifacts and requires `DEEPVIEWER_SIGN_IDENTITY`, `DEEPVIEWER_TEAM_ID`, and `DEEPVIEWER_NOTARY_PROFILE`; it does not publish them. Signing/notary credentials remain local, with the notary profile in the Keychain. +Basic verification uses `pnpm typecheck` and `pnpm desktop:smoke`; native integration and adapter-contract checks are defined in the [CI workflow](.github/workflows/ci.yml). `pnpm desktop:preview` prepares a local preview. `pnpm desktop:release` prepares signed arm64 DMG/ZIP artifacts and requires `DEEPVIEWER_SIGN_IDENTITY`, `DEEPVIEWER_TEAM_ID`, and `DEEPVIEWER_NOTARY_PROFILE`, and `CSC_KEYCHAIN`; it does not publish them. Signing/notary credentials remain local, with the notary profile in the Keychain. The [0.3.3 snapshot instructions](upstream/snapshots/v0.3.3/README.md) remain a historical reproduction guide for Build 75, not the build procedure for 0.5.0 or later. diff --git a/README.zh-CN.md b/README.zh-CN.md index 940a7d3..a305b26 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -18,9 +18,9 @@

- 下载 0.5.1(ARM64) + 下载 0.7.1(ARM64) · - 本版更新 + 本版更新 · 隐私与数据 · @@ -35,7 +35,7 @@ DeepViewer 是建立在 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 之上的独立开源桌面 Agent 工作台。它通过原生 Electron/DesktopHost 将固定版本的 Runtime 封装进 macOS 应用,提供 Work / Chat 空间、文件交付、侧栏工作台和会话图谱。0.5.0 源码承接 -Scoder 0.7.0 Build 43,恢复 DeepViewer 品牌和独立的数据目录。0.5.1 在此基础上恢复旧版新会话待机动画,并修复 macOS 原生图标适配。 +Scoder 0.7.0 Build 43,恢复 DeepViewer 品牌和独立的数据目录。0.7.1 升级内核与兼容适配层,保留 DeepViewer 前端,以及 0.5.1 恢复的待机动画与原生图标。

DeepViewer 0.3.3 将生成图片作为附件交付并在侧栏预览 @@ -45,20 +45,21 @@ Scoder 0.7.0 Build 43,恢复 DeepViewer 品牌和独立的数据目录。0.5.1 > DeepViewer 是独立社区项目,与 DeepSeek 没有从属或官方背书关系。 > [!IMPORTANT] -> 当前正式版本为 **DeepViewer 0.5.1 / Build 91**,内置 DeepSeek Harness `0.2.0-rc.2`,**仅支持 Apple Silicon arm64**。DMG 已从源码全新构建,完成 Developer ID 签名和 Apple 公证。界面、真实账户及迁移会话/设置/附件仍保留独立的人工验收边界。 +> 当前正式版本为 **DeepViewer 0.7.1 / Build 92**,内置 DeepSeek Harness `0.2.1-rc.2`,**仅支持 Apple Silicon arm64**。DMG 已从源码全新构建,完成 Developer ID 签名和 Apple 公证。维护者已确认升级开发版界面正常;真实账户、其余交互及迁移会话/设置/附件仍保留独立的人工验收边界。 > [!TIP] -> [0.5.1 Release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.1) 提供 [SHA-256 校验清单](https://github.com/Duoasa/DeepViewer/releases/download/v0.5.1/SHA256SUMS.txt)。安装版和开发版使用相互独立、与版本号无关的数据目录;重大升级前请备份。上一版本 [0.5.0](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.0)、历史 [0.3.3 / Build 75](https://github.com/Duoasa/DeepViewer/releases/tag/v0.3.3) 及其 SHA-256 清单、历史 [0.2.5 版本](https://github.com/Duoasa/DeepViewer/releases/tag/v0.2.5-preview.1) 仍可下载。 +> [0.7.1 Release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.7.1) 提供 [SHA-256 校验清单](https://github.com/Duoasa/DeepViewer/releases/download/v0.7.1/SHA256SUMS.txt)。安装版和开发版使用相互独立、与版本号无关的数据目录;重大升级前请备份。上一版本 [0.5.1](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.1)、历史 [0.3.3 / Build 75](https://github.com/Duoasa/DeepViewer/releases/tag/v0.3.3) 及其 SHA-256 清单、历史 [0.2.5 版本](https://github.com/Duoasa/DeepViewer/releases/tag/v0.2.5-preview.1) 仍可下载。 > [!NOTE] -> 本 README 的全部截图均为 **0.3.3 / Build 75 历史参考**,本次没有替换截图,不代表 0.5.1 当前界面或视觉验收结果。 +> 本 README 的全部截图均为 **0.3.3 / Build 75 历史参考**,本次没有替换截图,不代表 0.7.1 当前界面或视觉验收结果。 -## 0.5.1 修复 +## 0.7.1 更新 -- 新会话恢复旧版鱼标的大小、淡色样式、光标闪烁、图文间距、文本样式和居中待机位置;保留底部常驻输入框与减少动态效果设置。 -- 移除铺满画布的 PNG Dock 覆盖,以原鲸鱼向量编译 macOS 原生图标,让系统生成外观、遮罩、透明边界及完整 ICNS,并统一 bundle 图标身份。 +- DeepSeek Harness 从 `0.2.0-rc.2` 升级到 `0.2.1-rc.2`,Electron 升级到 `44.7.0`。 +- 适配新版原生会话、草稿持久化、插件构建与更新通道接口;保留 Work/Chat 隔离、历史与搜索、Synapse,以及 DeepViewer 现有布局、字体、图标和待机动画。 +- 修复包内 Python 符号链接和 pnpm 布局,确保搬迁安装包后运行时仍可用;原生依赖、插件安装和 Office 转换已有隔离运行时验证。 -构建与安装包证据见 [0.5.1 发布记录](docs/sdd/releases/v0.5.1.md)。实际新会话及 Dock 视觉仍需维护者人工验收。 +安装包证据和人工验收边界见 [0.7.1 发布记录](docs/sdd/releases/v0.7.1.md)。维护者已确认升级开发版界面正常,真实账户与完整交互仍单独验收。 ## 0.5.0 从 0.3.3 迁移的功能变化 @@ -107,13 +108,13 @@ Work 按项目组织会话,Chat 可以脱离工作区保存对话。两种模 ## 安装与数据 -1. 下载 [DeepViewer-0.5.1-arm64.dmg](https://github.com/Duoasa/DeepViewer/releases/download/v0.5.1/DeepViewer-0.5.1-arm64.dmg),并用 [0.5.1 Release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.5.1) 中的 [SHA256SUMS.txt](https://github.com/Duoasa/DeepViewer/releases/download/v0.5.1/SHA256SUMS.txt) 校验。 +1. 下载 [DeepViewer-0.7.1-arm64.dmg](https://github.com/Duoasa/DeepViewer/releases/download/v0.7.1/DeepViewer-0.7.1-arm64.dmg),并用 [0.7.1 Release](https://github.com/Duoasa/DeepViewer/releases/tag/v0.7.1) 中的 [SHA256SUMS.txt](https://github.com/Duoasa/DeepViewer/releases/download/v0.7.1/SHA256SUMS.txt) 校验。 2. 打开 DMG,将 `DeepViewer.app` 复制到“应用程序”。 3. 打开应用并配置模型提供方或订阅账户。无需全局安装 Node.js 或 Harness。 本地服务仅监听随机 loopback 端口。安装版数据固定存放于 `~/Library/Application Support/DeepViewer`,开发版固定存放于 `~/Library/Application Support/DeepViewer Dev`。覆盖安装应用不会替换这些目录;首次迁移会先复制、校验并保留备份。重大升级前仍建议自行备份。 -0.5.1 Build 91 安装包已全新构建,完成 Developer ID 签名和 Apple 公证。bounded smoke 共 121 项通过;包体净化、完整性和运行时验证证据见 [0.5.1 发布记录](docs/sdd/releases/v0.5.1.md)。 +0.7.1 Build 92 安装包已全新构建,完成 Developer ID 签名和 Apple 公证。bounded smoke 共 121 项通过;包体净化、完整性和运行时验证证据见 [0.7.1 发布记录](docs/sdd/releases/v0.7.1.md)。 真实用户环境扫描受保护的 Office 字体目录可能等待,字体权限仍需人工验收。本次仅发布安装包,不发布自动更新 feed。 @@ -121,9 +122,9 @@ Work 按项目组织会话,Chat 可以脱离工作区保存对话。两种模 | 组件 | 来源与许可证 | DeepViewer 的修改 | | --- | --- | --- | -| Agent 内核与原生壳 | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness),MIT,固定在 `639ed015397290b3745d163aafe02ffee4aa3f84`(`0.2.0-rc.2`) | 官方 Electron/DesktopHost 加 [DeepViewer adapter](apps/deepviewer-adapter) 与经过检查的兼容契约;Agent Loop 仍由上游维护。 | +| Agent 内核与原生壳 | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness),MIT,固定在 `687f282e8625c6b8d11ff58211a90524be2e4317`(`0.2.1-rc.2`) | 官方 Electron/DesktopHost 加 [DeepViewer adapter](apps/deepviewer-adapter) 与经过检查的兼容契约;Agent Loop 仍由上游维护。 | | 桌面源码基线 | [Duoasa/scoder](https://github.com/Duoasa/scoder),`0.7.0 / Build 43`,固定在 `e277adc6ce512655095e6f65c63bdc72d24bae95`;保留原始版权说明 | 恢复 DeepViewer 品牌、包名/更新目标和数据隔离,保留原生功能,修复元数据变化引发的界面热卸载;不导入 Scoder 发布记录与用户数据。 | -| 订阅与图片工具 | [V1ki/dsh-plugin-subscriptions](https://github.com/V1ki/dsh-plugin-subscriptions),MIT,`0.3.1` | 内置 DSH 0.2.0 兼容模块,限定范围 RPC/loopback 检查、剩余额度显示及图片生成状态样式。 | +| 订阅与图片工具 | [V1ki/dsh-plugin-subscriptions](https://github.com/V1ki/dsh-plugin-subscriptions),MIT,`0.3.1` | 内置 DSH 0.2.1 兼容模块,限定范围 RPC/loopback 检查、剩余额度显示及图片生成状态样式。 | | 侧栏来源 | [omdsh-dev/DSH-better-sidebar](https://github.com/omdsh-dev/DSH-better-sidebar),MIT | 独立插件退出挂载,工作台由 Harness 原生面板承接;复用工作流代码保留来源与版权。 | | 模型能力 | [DeepViewer model-capabilities 模块](apps/dsh-plugin-model-capabilities),MIT,`1.0.2` | 提供方/模型扫描和推理/多模态配置,替代旧 `dsh-plugin-reasoning` 挂载并承接支持的设置。 | | 会话图谱 | [Vendored Synapse 源码](apps/deepviewer-adapter/workflows/vendor/synapse),保留原始许可证和来源记录 | 在 DeepViewer adapter 中内置会话图谱集成。 | @@ -145,7 +146,7 @@ pnpm desktop:dev `pnpm desktop:dev` 会构建并启动使用独立数据目录的 DeepViewer Dev;`pnpm desktop:dev:restart` 重启本项目开发进程,`pnpm desktop:build` 仅构建、不启动。开发构建会递增本地 Build 号。 -基础验证使用 `pnpm typecheck` 和 `pnpm desktop:smoke`,原生集成及适配契约检查见 [CI 流程](.github/workflows/ci.yml)。`pnpm desktop:preview` 制作本地预览包;`pnpm desktop:release` 准备签名 arm64 DMG/ZIP,需要设置 `DEEPVIEWER_SIGN_IDENTITY`、`DEEPVIEWER_TEAM_ID` 和 `DEEPVIEWER_NOTARY_PROFILE`,不会自动发布。签名/公证凭据留在本机,notary profile 保存在钥匙串。 +基础验证使用 `pnpm typecheck` 和 `pnpm desktop:smoke`,原生集成及适配契约检查见 [CI 流程](.github/workflows/ci.yml)。`pnpm desktop:preview` 制作本地预览包;`pnpm desktop:release` 准备签名 arm64 DMG/ZIP,需要设置 `DEEPVIEWER_SIGN_IDENTITY`、`DEEPVIEWER_TEAM_ID` 、`DEEPVIEWER_NOTARY_PROFILE` 和 `CSC_KEYCHAIN`,不会自动发布。签名/公证凭据留在本机,notary profile 保存在钥匙串。 [0.3.3 源码快照说明](upstream/snapshots/v0.3.3/README.md)保留为 Build 75 的历史复现指南,不用于 0.5.0 及之后版本的构建。 diff --git a/apps/deepviewer-adapter/client/build-info.ts b/apps/deepviewer-adapter/client/build-info.ts index 08b5920..496663a 100644 --- a/apps/deepviewer-adapter/client/build-info.ts +++ b/apps/deepviewer-adapter/client/build-info.ts @@ -1,2 +1,2 @@ // The staging pipeline stamps its copy from the product manifest for each build. -export const buildInfo = { version: '0.5.1', build: 'development', kernel: '0.2.1-rc.2' } +export const buildInfo = { version: '0.7.1', build: 'development', kernel: '0.2.1-rc.2' } diff --git a/apps/deepviewer-adapter/package.json b/apps/deepviewer-adapter/package.json index 8dd626d..dd5415b 100644 --- a/apps/deepviewer-adapter/package.json +++ b/apps/deepviewer-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@deepviewer/adapter", - "version": "0.5.1", + "version": "0.7.1", "private": true, "type": "module", "license": "MIT", diff --git a/apps/deepviewer-desktop/package.json b/apps/deepviewer-desktop/package.json index 2f3f9e7..69e3c8b 100644 --- a/apps/deepviewer-desktop/package.json +++ b/apps/deepviewer-desktop/package.json @@ -1,9 +1,9 @@ { "name": "@deepviewer/desktop", "productName": "DeepViewer", - "version": "0.5.1", - "buildNumber": 91, - "previewRelease": "0.5.1-preview.1", + "version": "0.7.1", + "buildNumber": 92, + "previewRelease": "0.7.1-preview.1", "private": true, "description": "DeepViewer agent workspace for DeepSeek Harness", "license": "MIT", diff --git a/apps/deepviewer-desktop/scripts/package-native.mjs b/apps/deepviewer-desktop/scripts/package-native.mjs index 64fac73..b462d18 100644 --- a/apps/deepviewer-desktop/scripts/package-native.mjs +++ b/apps/deepviewer-desktop/scripts/package-native.mjs @@ -81,7 +81,7 @@ export async function packagePreparedNative(stage,{output,signed,channel='latest publish:signed?[feed]:null, afterPack:async context=>{const app=join(context.appOutDir,`${context.packager.appInfo.productFilename}.app`);const resources=join(app,'Contents/Resources');execFileSync('/usr/bin/xattr',['-cr',app]);await auditNativePackagedApp({appPath:app,projectRoot:root});if(signed)writeFileSync(join(resources,'app-update.yml'),dump(feed));const {verifyRuntimeArchive}=await import(join(upstream,'apps/desktop/scripts/verify-runtime-archive.ts'));await verifyRuntimeArchive(join(resources,'app.asar'),JSON.parse(readFileSync(join(stage,'app/dsh/desktop-runtime.json'),'utf8')))}, afterSign:signed?async context=>{const app=join(context.appOutDir,`${context.packager.appInfo.productFilename}.app`);await desktopRequire('@electron/notarize').notarize({tool:'notarytool',appPath:app,keychainProfile:process.env.DEEPVIEWER_NOTARY_PROFILE});const {verifyMacOSNotarizedApplication}=await import(join(upstream,'apps/desktop/scripts/verify-macos-signature.mjs'));verifyMacOSNotarizedApplication(app,identity)}:undefined, - artifactBuildCompleted:signed?async artifact=>{if(!artifact.file.endsWith('.dmg'))return;execFileSync('/usr/bin/xcrun',['notarytool','submit',artifact.file,'--keychain-profile',process.env.DEEPVIEWER_NOTARY_PROFILE,'--wait'],{stdio:'inherit'});execFileSync('/usr/bin/xcrun',['stapler','staple',artifact.file],{stdio:'inherit'});const {verifyMacOSDiskImage}=await import(join(upstream,'apps/desktop/scripts/verify-macos-signature.mjs'));verifyMacOSDiskImage(artifact.file,identity)}:undefined, + artifactBuildCompleted:signed?async artifact=>{if(!artifact.file.endsWith('.dmg'))return;execFileSync('/usr/bin/xcrun',['notarytool','submit',artifact.file,'--keychain-profile',process.env.DEEPVIEWER_NOTARY_PROFILE,'--wait','--output-format','json'],{stdio:'inherit'});execFileSync('/usr/bin/xcrun',['stapler','staple',artifact.file],{stdio:'inherit'});const {verifyMacOSDiskImage}=await import(join(upstream,'apps/desktop/scripts/verify-macos-signature.mjs'));verifyMacOSDiskImage(artifact.file,identity)}:undefined, }}) await auditNativePackagedApp({appPath:join(output,'mac-arm64',`${signed?'DeepViewer':'DeepViewer Preview'}.app`),projectRoot:root}) if(signed && !artifacts.some(file=>file.endsWith('.zip.blockmap'))) throw new Error('Signed release is missing a ZIP blockmap; do not publish') diff --git a/apps/deepviewer-desktop/test/development-workflow.test.ts b/apps/deepviewer-desktop/test/development-workflow.test.ts index 3c83b73..554dec3 100644 --- a/apps/deepviewer-desktop/test/development-workflow.test.ts +++ b/apps/deepviewer-desktop/test/development-workflow.test.ts @@ -90,7 +90,7 @@ describe('DeepViewer development workflow (DV-0038)', () => { }) it('pins DeepViewer identity and RC2 without reviving retired preview plugins', () => { - expect(appManifest.version).toBe('0.5.1') + expect(appManifest.version).toBe('0.7.1') expect(Number.isSafeInteger(appManifest.buildNumber)).toBe(true) expect(appManifest.buildNumber).toBeGreaterThan(0) expect(appManifest.productName).toBe('DeepViewer') diff --git a/docs/sdd/integrations/dsh-plugins.md b/docs/sdd/integrations/dsh-plugins.md index 18bcea5..54d8802 100644 --- a/docs/sdd/integrations/dsh-plugins.md +++ b/docs/sdd/integrations/dsh-plugins.md @@ -25,7 +25,7 @@ Active 模块由应用构建与原生组合负责,仍按 PC 检查,不列为 | `DVP-0004` | [`dsh-better-sidebar`](https://github.com/omdsh-dev/DSH-better-sidebar) | `0.19.1` | `Removed` | DSH `0.1.5-rc.2` | 旧挂载退休,使用 DSH 原生右侧工作台;保留派生代码许可证 | [DV-0033](../specs/DV-0033-scoder-native-rebase/spec.md) | | `DVP-0005` | [`dsh-codex-taskboard`](https://github.com/chuspeeism/dashi-taskboard) | Taskboard `1.1.24` / bridge `1.0.0`, commit `1528a8eb31466829ca5a9fd436f4dfd285694a74` | `Removed` | DSH `0.1.5-rc.2` | 不再参与构建或内核升级检查 | [DV-0026](../specs/DV-0026-native-taskboard/spec.md) | | `DVP-0006` | `@deepviewer/dsh-plugin-model-capabilities` | `1.0.2` | `Active` | DSH `0.2.1-rc.2` | 应用内置;模型扫描/兼容修复/配置恢复与 v2 报告迁移自动检查通过,真实 API Pending Manual | [DV-0035](../specs/DV-0035-dsh-021-rc2/verification.md) | -| `DVP-0007` | `@deepviewer/adapter` | `0.5.1` | `Active` | DSH `0.2.1-rc.2` | 应用内置;167 项可校验契约与原生/Synapse 自动回归通过,视觉交互 Pending Manual | [DV-0035](../specs/DV-0035-dsh-021-rc2/verification.md) | +| `DVP-0007` | `@deepviewer/adapter` | `0.7.1` | `Active` | DSH `0.2.1-rc.2` | 应用内置;167 项可校验契约与原生/Synapse 自动回归通过,维护者已确认升级界面正常;其余交互 Pending Manual | [DV-0035](../specs/DV-0035-dsh-021-rc2/verification.md) | ### 当前原生组合与恢复边界 diff --git a/docs/sdd/releases/v0.7.1.md b/docs/sdd/releases/v0.7.1.md new file mode 100644 index 0000000..c2abf0a --- /dev/null +++ b/docs/sdd/releases/v0.7.1.md @@ -0,0 +1,33 @@ +--- +version: 0.7.1 +build: 92 +tag: null +release_type: Public signed installer / macOS arm64 +status: Preparing +date: 2026-10-19 +source_ref: codex/release-071 +upgraded_base_commit: 6fada4f34da444232469008497e64965131ee201 +github_release: null +specs: [DV-0035] +--- + +# DeepViewer 0.7.1 + +维护者于 2026-10-19 确认升级开发版“界面没问题”,并授权 0.7.1 arm64 安装包、GitHub Release、源码 main 合并及双语 README 更新。当前正在准备,尚未发布。 + +## 内容与来源 + +- DSH `0.2.1-rc.2` / `687f282e8625c6b8d11ff58211a90524be2e4317`,Electron `44.7.0`,Cordis `4.0.5`,随包 pnpm `11.28.5`。 +- 保留 DeepViewer 前端、字体、图标、待机动画与 Work/Chat 产品行为;适配新版会话、草稿、Synapse、插件构建与更新策略。Agent loop 未修改。 +- 修复 Python 相对符号链接与 pnpm 运行时布局,沿用版本无关的安装/开发数据目录。 +- 内置 subscriptions 0.3.1、model-capabilities 1.0.2、adapter 0.7.1;版权和许可证保留。 + +## 验证 + +升级源代码的 PR #10 与最终 main CI 已通过。167 契约、121 bounded smoke、202 前端组件回归、76 适配测试以及 Host、模型扫描、隔离 ASAR payload 均有证据,见 [DV-0035 verification](../specs/DV-0035-dsh-021-rc2/verification.md)。发布产物需重新构建,并补充最终实际签名包、公证、挂载与公开下载证据。 + +## 人工验收和发布边界 + +维护者已确认升级开发版界面正常。旧完整 UI 自动化遇到空 DOM 引用,不计为通过;真实账户、未明确覆盖的交互、迁移的真实会话/设置/附件与 Office 用户字体权限仍保留独立人工验收。规格保持 Implementing,公开发布授权不将这些项自动标记为 Pass。 + +公开资产仅为 DMG 与本版本新生成的 SHA256SUMS.txt。ZIP、blockmap 和自动更新 feed 不公开,已有历史版本保留。README 截图继续明确标为 0.3.3 历史参考,不用历史截图代表本版本。 diff --git a/docs/sdd/specs/DV-0035-dsh-021-rc2/design.md b/docs/sdd/specs/DV-0035-dsh-021-rc2/design.md index 6cd87ff..4ad367a 100644 --- a/docs/sdd/specs/DV-0035-dsh-021-rc2/design.md +++ b/docs/sdd/specs/DV-0035-dsh-021-rc2/design.md @@ -6,3 +6,7 @@ Status: Implementing - D-002 (R-002): 原生随机回环端口与 manifest 更新 channel 替代旧补丁;DeepViewer preview 仅映射现有 feed 文件名,稳定版不可被环境变量切换;clientBundle 使用 packageDir;源码适配先校验全部锚点再写入,已上游实现的字段扩展退休。 - D-003 (R-003): 按新版 Session create/reuse 与导航入口重接 Chat 策略;保留取消、并发、归档、子代理归属和 cwd 校验。样式基线吸收必要的新结构,自有前端设计不改。 - D-004 (R-004, NFR-001): 隔离 profile 运行 Host/模块测试;建立构建、源码、DOM、API 分层证据;真实账户与视觉 Pending Manual。 + +## D-005 — 0.7.1 发布 (R-005, AC-006) + +沿用 package-native 的全新 runtime/staging、Developer ID 和双公证流程。保持数据根目录和自动更新 feed;公开 DMG 与本次校验清单。tag 指向通过 CI 的合并源码;包内源码与 tag 只允许发布证据文档差异。界面验收引用维护者直接反馈,账户验收不推定完成。 diff --git a/docs/sdd/specs/DV-0035-dsh-021-rc2/spec.md b/docs/sdd/specs/DV-0035-dsh-021-rc2/spec.md index 16dd696..8bc89e5 100644 --- a/docs/sdd/specs/DV-0035-dsh-021-rc2/spec.md +++ b/docs/sdd/specs/DV-0035-dsh-021-rc2/spec.md @@ -7,7 +7,7 @@ Approval: 维护者明确批准“升级内核,适配层升级,前端保留 ## Scope -从 0.5.1 Build 91 / DSH 0.2.0-rc.2 升至 DSH 0.2.1-rc.2,固定提交 687f282e8625c6b8d11ff58211a90524be2e4317。保留 DeepViewer 前端产品行为、布局、品牌与资源。Active 模块为 DVP-0001 subscriptions 0.3.1、DVP-0006 model-capabilities 1.0.2、DVP-0007 adapter;逐项执行 PC-001 至 PC-009。维护者于同日追加授权推送 GitHub 并合并 main;范围仍不含安装包或公开 Release。 +从 0.5.1 Build 91 / DSH 0.2.0-rc.2 升至 DSH 0.2.1-rc.2,固定提交 687f282e8625c6b8d11ff58211a90524be2e4317。保留 DeepViewer 前端产品行为、布局、品牌与资源。Active 模块为 DVP-0001 subscriptions 0.3.1、DVP-0006 model-capabilities 1.0.2、DVP-0007 adapter;逐项执行 PC-001 至 PC-009。维护者于同日追加授权推送 GitHub 并合并 main;维护者随后确认“界面没问题”,并授权 0.7.1 arm64 签名公证安装包、GitHub Release、main 合并和双语 README 更新。真实账户与未明确覆盖的交互仍保留人工验收;安装包发布沿用既有机制,不发布自动更新 feed。 ## Requirements @@ -15,6 +15,7 @@ Approval: 维护者明确批准“升级内核,适配层升级,前端保留 - R-002: 使用上游原生端口、更新通道和构建接口;仅保留必要的局部适配,不修改 Agent loop。 - R-003: 保留 Work/Chat 隔离、无工作区 Chat、历史/附件、Synapse、顶部统计与 0.5.1 品牌视觉;不覆盖新内核的数据语义。 - R-004: 全部 Active 模块满足 PC-001 至 PC-008 自动验证,PC-009 真实账户人工验证保留。 +- R-005: 以 0.7.1 / Build 92 全新构建 arm64 签名公证 DMG,发布 SHA-256 清单,更新双语 README,推送并合并 main;核验公开资产与最终 CI。 - NFR-001: 不写真实用户 profile,不复用已签名包;隔离测试数据,保留许可和更新来源隔离。 ## Acceptance @@ -23,7 +24,8 @@ Approval: 维护者明确批准“升级内核,适配层升级,前端保留 - AC-002: 类型检查、生产构建与适配/模块 smoke 通过;验证新版客户端构建接口。 - AC-003: 会话创建/复用、冷历史、Work/Chat 搜索、Synapse 与底部输入框回归通过,前端品牌资源不变。 - AC-004: 三个 Active 模块逐项登记 PC 证据,禁用可退回核心,桌面端口/更新渠道隔离通过。 -- AC-005: 真实视觉、交互与账户由维护者验收(Pending Manual)。 +- AC-005: 界面由维护者于 2026-10-19 确认通过;真实账户及未明确覆盖的交互保留 Pending Manual。 +- AC-006: 0.7.1 / Build 92 DMG 的签名、公证、净化、搬迁 payload、只读挂载、SHA-256 与公开资产验证通过;README、源码、main CI 和 Release 同步。 ## Rollback diff --git a/docs/sdd/specs/DV-0035-dsh-021-rc2/tasks.md b/docs/sdd/specs/DV-0035-dsh-021-rc2/tasks.md index f7d2744..dee1427 100644 --- a/docs/sdd/specs/DV-0035-dsh-021-rc2/tasks.md +++ b/docs/sdd/specs/DV-0035-dsh-021-rc2/tasks.md @@ -8,4 +8,7 @@ Status: Implementing - [x] T-004 (R-004, NFR-001, AC-002/004; D-004): 全新构建、类型与内置模块验证、PC 证据。 - [ ] T-005 (AC-005; D-004): 维护者真实视觉与账户验收。 -- [ ] T-006 (R-001, AC-001/002): 推送升级分支,GitHub CI 通过后合并 main 并验证最终主线。 +- [x] T-006 (R-001, AC-001/002): 推送升级分支,GitHub CI 通过后合并 main 并验证最终主线。 + +- [x] T-007 (R-003, AC-005): 记录维护者“界面没问题”的视觉验收;账户与其余交互仍待确认。 +- [ ] T-008 (R-005, AC-006; D-005): 0.7.1 arm64 全新签名公证、实际包验证、README、公开资产与 main CI。 diff --git a/docs/sdd/specs/DV-0035-dsh-021-rc2/verification.md b/docs/sdd/specs/DV-0035-dsh-021-rc2/verification.md index 54436c5..04f79cf 100644 --- a/docs/sdd/specs/DV-0035-dsh-021-rc2/verification.md +++ b/docs/sdd/specs/DV-0035-dsh-021-rc2/verification.md @@ -3,7 +3,7 @@ Status: Implementing Date: 2026-10-19 -基线为 DeepViewer 0.5.1 Build 91;固定 DSH 0.2.1-rc.2 / `687f282e8625c6b8d11ff58211a90524be2e4317`、Cordis 4.0.5、Electron 44.7.0。产品版本与 Build 未变。本轮追加授权推送 GitHub 并合并 main,不制作或发布安装包。 +基线为 DeepViewer 0.5.1 Build 91;固定 DSH 0.2.1-rc.2 / `687f282e8625c6b8d11ff58211a90524be2e4317`、Cordis 4.0.5、Electron 44.7.0。升级阶段产品版本与 Build 未变,已通过 PR #10 合并 main(6fada4f;主线 CI 39233976404 success)。维护者随后确认“界面没问题”并授权 0.7.1 / Build 92 arm64 签名公证安装包、GitHub Release 和 README 更新。 ## 基础证据 @@ -15,7 +15,8 @@ Date: 2026-10-19 | AC-002 | Pass | `pnpm typecheck`;`node apps/deepviewer-desktop/scripts/build-native-desktop.mjs --core-only`:9/9 内核构建门禁,adapter/model-capabilities 类型与客户端构建通过;`node apps/deepviewer-desktop/scripts/build-native-desktop.mjs --skip-core-build`:桌面构建通过 | | AC-003 | Pass(自动部分) | `pnpm desktop:smoke`:121;`pnpm --filter @deepviewer/desktop smoke:ui-regression`:202;`node apps/deepviewer-desktop/scripts/smoke-native-header-placement.mjs`:3;`pnpm --filter @deepviewer/desktop smoke:synapse`:Host、Client、native seams、独立 canvas fixture 通过;`node apps/deepviewer-desktop/scripts/smoke-native-host.mjs`:空会话复用、已开始会话另建、Work/Chat 隔离、重启冷历史/搜索、文件边界与恢复通过 | | AC-004 | Pass(自动部分) | 下表 PC-001 至 PC-008;隔离 Host、更新通道、生产 runtime/ASAR 审计通过 | -| AC-005 | Pending Manual | 实际视觉、交互与真实账户未由维护者验收;规格保持 Implementing | +| AC-005 | Partial Pass / Pending Manual | 维护者于 2026-10-19 确认升级开发版“界面没问题”;真实账户及未明确覆盖的完整交互仍待验收,规格保持 Implementing | +| AC-006 | Preparing | 0.7.1 / Build 92 发布验证见 [版本记录](../../releases/v0.7.1.md),发布后同步证据 | 附加验证: @@ -39,7 +40,7 @@ Date: 2026-10-19 原生构建从固定 DSH workspace 链接 peers;不使用独立候选包的历史 npm-shrinkwrap 安装内核。独立插件发行不在本轮范围。 -| 检查 | DVP-0001 subscriptions 0.3.1 | DVP-0006 model-capabilities 1.0.2 | DVP-0007 adapter 0.5.1 | +| 检查 | DVP-0001 subscriptions 0.3.1 | DVP-0006 model-capabilities 1.0.2 | DVP-0007 adapter 0.7.1 | | --- | --- | --- | --- | | PC-001 | Pass:根 frozen lock、固定 0.3.1 源包及许可 | Pass:项目固定源码/许可,原生构建使用上游 frozen lock | Pass:项目源码、UPSTREAM/LICENSE 与依赖许可 staging | | PC-002 | Pass:staged peer 0.2.1-rc.2 | Pass:DSH peers 0.2.1-rc.2、Cordis 4.0.5,类型与 Host 解析 | Pass:Cordis 4.0.5、固定 workspace 解析 | @@ -49,11 +50,11 @@ Date: 2026-10-19 | PC-006 | Pass(自动边界):存储/脱敏测试及未授权 RPC 拒绝;真实 OAuth 见 PC-009 | Pass:凭据引用、私有扫描文件、日志脱敏及未授权拒绝 | Pass:回环鉴权、目录边界、网络桥接测试;测试均用临时 profile | | PC-007 | Pass:原生恢复与全模块关闭纯核心启动 | Pass:原生恢复与全模块关闭纯核心启动 | Pass:`DEEPVIEWER_DISABLE_BUILTINS=1` 纯核心会话创建 | | PC-008 | Pass:固定源码生成闭包、manifest/许可、原生 ASAR 与路径净化 | Pass:同左 | Pass:同左;签名/公证不在范围 | -| PC-009 | Pending Manual:真实登录/用量/调用/登出 | Pending Manual:真实模型 API 验收 | Pending Manual:维护者真实交互验收 | +| PC-009 | Pending Manual:真实登录/用量/调用/登出 | Pending Manual:真实模型 API 验收 | 界面 Pass(维护者确认);其余真实交互 Pending Manual | ## 边界与未完成验收 - 升级在独立 checkout 实施,原目录、旧上游改动及真实用户 profile 未迁移。 - 旧的完整 renderer 脚本默认包含界面点击;本轮曾运行到空 DOM 引用失败,未计为通过。已将默认切成只读启动,完整交互仅 `--interaction` 显式运行;该旧流程需维护者复核,不能替代人工验收。 - 稳定包使用原生 `latest` 策略;预览包使用原生 `nightly` 的预发布策略,仅将 feed 文件名映射回已有 `preview`。未配置官方 mandatory-update 服务。 -- 不生成 DMG,不签名/公证,不触发真实账户、公开更新或安装测试。 +- 初始升级阶段不生成安装包;追加发布阶段允许全新签名公证 DMG。真实账户与自动更新安装 qualification 不在本次授权的验证范围。 diff --git a/package.json b/package.json index d10587b..9aba219 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@deepviewer/root", - "version": "0.5.1", + "version": "0.7.1", "private": true, "type": "module", "packageManager": "pnpm@11.19.0",