Skip to content

v1.0.0

Latest

Choose a tag to compare

@lifeopsgo lifeopsgo released this 25 Aug 12:02
· 2 commits to main since this release
1c4b88f

v1.0.0 — CI and compatibility release

This maintenance release makes the plugin’s runtime requirements explicit and makes its GitHub CI reproducible on a clean runner.

Highlights

  • Reliable clean-environment CI

  • Declares all DSH Host SDK packages used by the plugin as runtime peer dependencies.

  • Pins matching development dependencies for reproducible type checking and builds in CI.

  • Adds peer contracts for the WebUI client modules injected by the plugin.

  • Declares React as an external runtime peer, matching the generated client bundle.

  • Improved DSH compatibility metadata

  • Supports the verified 0.1.0-rc.8 DSH baseline.

  • Accepts the subsequent 1.0.0-* prerelease compatibility line.

  • Avoids silently accepting older unsupported RC builds.

  • CI and tooling updates

  • GitHub Actions upgraded:

    • pnpm/action-setup 4 →6
    • actions/checkout 4 →7
    • actions/setup-node 4 →7
  • TypeScript upgraded from5.9.3 to7.0.2.

  • CI validates frozen dependency installation, type checking, tests, and production builds.

  • Repository maintenance

  • Added contribution, security, support, and code-of-conduct documentation.

  • Added Issue forms, PR template, Dependabot configuration, and editor settings.

  • Refined bilingual README documentation and installation guidance.

Validation

  • pnpm install --frozen-lockfile
  • Type checking
  • 87/87 tests passing
  • Production build
  • GitHub Actions CI passing on main

Install

dsh plugin --profile web add github:lifeopsgo/dsh-capability-toggle-plugin#v1.0.0
dsh --profile web
``

Refresh the Web UI, then open the capability control beside the composer’s ➕ button while the agent is idle.

## Notes

- This is a compatibility and maintenance release; capability-control behavior is unchanged.
- The existing `v0.1.0` tag remains immutable. Use `v1.0.0` for the current validated release.
- TypeScript 7 currently reports its upstream experimental-API warning during builds, but this plugin’s typecheck, tests, and build pass successfully.
``

中文 Release 内容:

```markdown
# v1.0.0 — CI 与兼容性维护版本

这是一个维护版本,重点是让插件的运行时依赖声明更准确,并让 GitHub CI 能在干净环境中稳定复现。

## 重点更新

- **CI 可在干净环境稳定运行**
 - 为插件实际使用的 DSH Host SDK 补齐运行时 peer dependency 声明。
 - 为 CI 补齐对应的精确开发依赖,保证类型检查和构建可复现。
 - 补齐 WebUI Client 注入模块的运行时 peer 契约。
 - 补齐 React runtime peer 声明,与生成的 Client bundle 保持一致。

- **改进 DSH 兼容性元数据**
 - 支持已经验证的 `0.1.0-rc.8` DSH 基线。
 - 支持后续 `1.0.0-*` 预发布兼容线。
 - 不再错误接受未经验证的旧 RC版本。

- **CI 与工具链更新**
 - GitHub Actions:
   - `pnpm/action-setup` 4 →6
   - `actions/checkout` 4 →7
   - `actions/setup-node` 4 →7
 - TypeScript 从5.9.3 升级至 7.0.2。
 - CI 会验证冻结依赖安装、类型检查、测试和生产构建。

- **仓库维护**
 - 增加贡献指南、安全策略、支持说明和行为准则。
 - 增加 Issue 表单、PR 模板、Dependabot 配置和编辑器规范。
 - 精简并完善中英文 README 与安装说明。

## 验证结果

- `pnpm install --frozen-lockfile`
- 类型检查通过
- **87/87 测试通过**
- 生产构建通过
- `main` 分支 GitHub Actions CI通过

## 安装

```bash
dsh plugin --profile web add github:lifeopsgo/dsh-capability-toggle-plugin#v1.0.0
dsh --profile web
``

刷新 Web UI 后,在 agent 空闲时点击输入栏 ➕旁边的能力开关即可。

## 说明

- 这是兼容性与维护版本,能力开关的核心行为没有变化。
- 现有 `v0.1.0` tag 保持不变;请使用 `v1.0.0` 获取当前已验证版本。
- TypeScript 7 在构建时会显示其上游“实验性 API”提示,但本插件的类型检查、测试和构建均已通过。
``