Skip to content

chore(release): publish v0.5.0 - #167

Merged
Grivn merged 2 commits into
mainfrom
codex/release-v0.5.0
Sep 4, 2026
Merged

chore(release): publish v0.5.0#167
Grivn merged 2 commits into
mainfrom
codex/release-v0.5.0

Conversation

@Grivn

@Grivn Grivn commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

摘要 / Summary

将已验证的 v0.5.0-rc.1 提升为正式 v0.5.0:统一 Starter 与十六个官方插件的稳定版本和 npm latest 通道,并让冻结发布流水线同时支持稳定版与预发布版。运行时、UI、配置和持久化格式相对 RC 不变。

关联 Issue 或背景 / Related Issue or Context

维护者直接发起的正式版发布准备,无需新增 Issue。Follow-up to #164 and #165. Refs #110, #40, and #77; this PR intentionally does not close the still-open incremental-injection scope in #40.

涉及区域 / Affected Areas

  • Host 激活、Headless 或 bundle / Host activation, Headless, or bundle
  • 运行时记忆 / Runtime Memory
  • 项目档案 / Project Documents
  • 记忆体或 Provider / Memory Spaces or Providers
  • 子 Agent 或 Agent 工作流 / Subagent or Agent workflow
  • Web UI 或对话交互 / Web UI or conversation interaction
  • 设置、存储或安全 / Settings, storage, or security
  • CLI、RPC、命令或工具 / CLI, RPC, commands, or tools
  • 安装、更新或发布 / Installation, update, or release
  • 测试、构建或文档 / Tests, build, or documentation
  • 其他(请说明)/ Other (explain below)

PR 类型 / PR Type

  • 面向用户的功能或行为变更 / User-facing feature or behavior change
  • Bug 修复 / Bug fix
  • 增强或优化 / Enhancement or optimization
  • 兼容性适配 / Compatibility change
  • 维护或重构 / Maintenance or refactor
  • 测试或构建 / Tests or build

最新代码确认 / Latest Codebase Confirmation

  • 我已基于最新 main 分支开发,或在提交前已 rebase 或合并最新 main。 / I developed from the latest main, or rebased or merged the latest main before submitting.

同步命令 / Sync command:

git fetch origin main && test "$(git merge-base HEAD origin/main)" = "$(git rev-parse origin/main)"

AI 编码披露 / AI Coding Disclosure

  • 完全 AI 编码:全部编程改动由 AI 产出,并由贡献者接受和审查。 / Fully AI-coded: AI produced all programming changes, which the contributor accepted and reviewed.
  • 部分 AI 辅助:AI 帮助编写或修改了部分内容。 / Partially AI-assisted: AI helped write or modify part of the change.
  • 未使用 AI 编码辅助。 / No AI coding assistance was used.

使用的 AI 模型 / AI model used:

OpenAI GPT-5 (Codex)

使用的编码 Agent 工具 / Coding Agent tool used:

Codex

仓库规范检查 / Repository Rules

  • 未修改 DSH 官方源码,未让 tsconfig 指向 DSH 源码 checkout,仅使用正式的 @deepseek-ai/* NPM 契约。 / I did not modify DSH source or point tsconfig at a DSH source checkout, and used only published @deepseek-ai/* NPM contracts.
  • Client 与 Host 边界仍以 src/shared/contracts.ts 为准,没有在两侧重复定义 wire DTO。 / The Client and Host boundary still uses src/shared/contracts.ts as the single source for wire DTOs.
  • 持久化格式、RPC 权限、路径或凭据处理的变更包含兼容或拒绝路径、安全分析和相应测试。 / Changes to persistence formats, RPC authority, paths, or credentials include compatibility or rejection paths, security analysis, and tests.
  • 没有提交 token、密钥、私有记忆、未脱敏日志或生成的 lib/ 文件。 / I did not commit tokens, credentials, private memory, unredacted logs, or generated lib/ files.
  • 用户可见文案和长期文档已同步维护中文与英文版本,命令、配置键和路径保持一致。 / User-facing copy and long-lived documentation are synchronized in Chinese and English, with matching commands, configuration keys, and paths.
  • 新增和修改的代码、注释、文档、提交信息不含 emoji。 / New and modified code, comments, documentation, and commits contain no emoji.

兼容性与数据安全 / Compatibility and Data Safety

不改变 DSH/Mnemon/Provider 运行契约、配置、RPC 权限、存储路径或数据格式,不执行数据迁移。正式版与 RC 使用同一运行时代码;Starter 精确锁定同版本插件。升级前仍要求备份有效记忆根、Documents、DSH profile 与外部 Provider 数据;可恢复到原 profile 与配套备份。发布流水线继续先发布插件、Registry 回读,再发布 Starter,并拒绝复用同版本但不同 integrity 的制品。

本地验证 / Local Validation

执行的命令 / Commands run:

pnpm install --frozen-lockfile
RELEASE_TAG=v0.5.0 RELEASE_PRERELEASE=false pnpm release:check
pnpm vitest run tests/release.spec.mjs tests/version-updates.spec.ts
pnpm verify
pnpm verify:plugins
git diff --check

结果摘要 / Result summary:

全部通过。pnpm verify 完成 39 文件确定性构建、全部 workspace build/typecheck/test、115 个根测试文件与 1009 项测试通过;Native opt-in 与 Windows-only 各跳过 1 项;Headless 38 个工具/7 个代表性 Mnemon 工具、包内容、11 个 Node 入口、publint 与 attw 均通过。verify:plugins 验证 16 个独立插件仓库、17 个 packed artifacts、真实 DSH Starter 激活、三个 Strategy 扩展并行激活及外部消费者公共 SDK 测试。

用户可见变更证据 / Local Feature Evidence

证据 / Evidence:

N/A。此 PR 只准备稳定版本、发行文档与发布流水线,不改变运行时或 WebUI。合并后将由受保护的 npm-release Environment 完成 Registry 回读、真实 v0.4.7 → v0.5.0 升级 smoke,并最后创建 GitHub stable Release。

@Grivn
Grivn merged commit ab5b691 into main Sep 4, 2026
6 checks passed
@Grivn
Grivn deleted the codex/release-v0.5.0 branch September 4, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant